.chat-seat{order:3;padding:5px 10px;min-height:36px;font-size:13px;border-color:var(--accent);color:var(--accent);background:var(--card);margin-top:2px}.chat-seat.unread{background:var(--accent);color:var(--card);font-weight:800}
.chat-footer{justify-content:space-between;flex-wrap:wrap}.chat-footer p{margin:0;flex:1;color:var(--muted);font-size:13px}.chat-footer button{flex-shrink:0}
#chat-dialog{width:min(620px,94vw);max-height:92vh;max-height:92dvh;padding:22px;border:1px solid var(--line);border-radius:24px;background:var(--card);color:var(--text);box-shadow:0 22px 100px #102f3866}#chat-dialog::backdrop{background:#09222bb3}#chat-dialog header{gap:12px}#chat-dialog h2{margin:0;font-size:24px;overflow-wrap:anywhere}#chat-dialog .chat-note{font-size:13px;color:var(--muted);margin:12px 0}#chat-log{height:32vh;min-height:90px;overflow:auto;background:var(--bg);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:10px}.chat-bubble{align-self:flex-start;max-width:88%;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:10px 14px;overflow-wrap:anywhere}.chat-bubble.outgoing{align-self:flex-end;border-color:var(--accent)}.chat-bubble strong{font-size:12px;color:var(--accent)}.chat-bubble p{margin:4px 0;font-size:18px;line-height:1.4}#chat-form{margin-top:12px;display:flex;gap:10px;align-items:end}#chat-form label{flex:1;font-size:14px}#chat-draft{display:block;width:100%;resize:vertical;min-height:62px;max-height:110px;padding:10px;border:1px solid var(--line);border-radius:12px;font:18px system-ui;background:var(--bg);color:var(--text)}#chat-send{background:var(--accent);color:var(--card);font-weight:700}#chat-message{min-height:20px;font-size:14px;margin:8px 0}#chat-block{font-size:13px}#chat-dialog button:disabled{opacity:.5;cursor:default}@media(max-height:520px){#chat-dialog{padding:12px}#chat-log{height:22vh}#chat-dialog h2{font-size:20px}.chat-seat{min-height:32px;padding:4px 8px}#chat-dialog .chat-note{margin:6px 0}}
