.selection-thread{--thread-line:#dfe7f1;--thread-surface:#f7f9fd;--thread-bubble:#eef2fb;--thread-own:#d4f6f1;--thread-text:#172541;--thread-accent:#07635e;min-width:0;color:var(--thread-text)}.dark .selection-thread{--thread-line:#39465b;--thread-surface:#1b2638;--thread-bubble:#293750;--thread-own:#1f4b4d;--thread-text:#e8effb;--thread-accent:#a4f0e6}.selection-thread [hidden]{display:none!important}.selection-thread-log{overflow-anchor:none;border:1px solid var(--thread-line);background:var(--thread-surface);border-radius:10px;align-content:start;gap:12px;min-height:240px;max-height:460px;padding:16px;display:grid;overflow-y:auto}.selection-thread-empty{text-align:center;margin:auto;padding:26px 0;font-size:14px}.selection-thread-message{justify-self:start;min-width:0;max-width:min(90%,610px)}.selection-thread-message[data-own]{justify-self:end}.selection-thread-meta{flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-bottom:4px;font-size:12px;display:flex}.selection-thread-message[data-own] .selection-thread-meta{justify-content:flex-end}.selection-thread-meta time{opacity:.75}.selection-thread-message p{background:var(--thread-bubble);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:9px;margin:0;padding:9px 12px;font-size:14px;line-height:1.45}.selection-thread-message[data-own] p{background:var(--thread-own)}.selection-thread-number{background:var(--thread-bubble);width:fit-content;color:var(--thread-accent);border-radius:5px;margin:0 0 5px;padding:3px 7px;font-size:11px;font-weight:700}.selection-thread-message[data-own] .selection-thread-number{margin-left:auto}.selection-thread-photos{flex-wrap:wrap;gap:6px;margin-top:5px;display:flex}.selection-thread-photos img{object-fit:cover;border-radius:8px;width:76px;height:76px;display:block}.selection-thread-offer{border:1px solid var(--thread-line);background:var(--thread-surface);overflow-wrap:anywhere;border-radius:10px;gap:7px;min-width:0;padding:10px;display:grid}.selection-thread-offer [data-offer-status]{color:var(--thread-accent);font-size:12px;font-weight:700}.selection-thread-offer [data-offer-option]{border:1px solid var(--thread-line);border-radius:8px;gap:4px;padding:9px;font-size:13px;display:grid}.selection-thread-offer [data-offer-option][data-selected]{border-color:var(--thread-accent);background:var(--thread-own)}.selection-thread-offer button{justify-self:start;margin-top:4px}.selection-thread-payment{border:1px solid var(--thread-line);color:var(--thread-accent);border-radius:8px;margin-top:10px;padding:7px 12px;font-size:13px;font-weight:700;display:inline-block}.selection-thread-payment:hover{text-decoration:underline}.selection-thread-older{min-height:36px;color:var(--thread-accent);cursor:pointer;margin:0 auto 6px;font-size:12px;font-weight:700;text-decoration:underline;display:block}.selection-thread-form{gap:8px;margin-top:12px;display:grid}.selection-thread-compose{align-items:flex-end;gap:6px;display:flex}.selection-thread-attach{border:1px solid var(--thread-line);height:40px;color:var(--thread-accent);cursor:pointer;border-radius:8px;flex:0 0 40px;place-items:center;display:grid}.selection-thread-attach svg{width:20px;height:20px}.selection-thread-files{flex-wrap:wrap;gap:6px;display:flex}.selection-thread-files>span{background:var(--thread-bubble);overflow-wrap:anywhere;border-radius:6px;align-items:center;gap:6px;padding:3px 8px;font-size:13px;display:inline-flex}.selection-thread-files button{cursor:pointer;min-width:22px;font-size:17px}.selection-thread-privacy{align-items:flex-start;gap:6px;font-size:12px;display:flex}.selection-thread-privacy input{flex:none;margin-top:2px}.selection-thread-privacy a{color:var(--thread-accent);text-decoration:underline}.selection-thread-form textarea{border:1px solid var(--thread-line);background:var(--thread-surface);width:100%;min-width:0;min-height:62px;max-height:200px;color:var(--thread-text);resize:vertical;border-radius:8px;padding:8px 10px;font-size:16px;font-weight:400}.selection-thread-send{color:#fff;cursor:pointer;background:#006e71;border:0;border-radius:8px;flex:none;min-height:40px;padding:7px 16px;font-size:13px;font-weight:700}.selection-thread-send:disabled{opacity:.6;cursor:default}.selection-thread-error{color:#a52238;margin:6px 0 0;font-size:13px}.dark .selection-thread-error{color:#ffacb6}@media (width<=550px){.selection-thread-log{max-height:360px;padding:10px}}
