.msg-thread{flex-direction:column;gap:12px;display:flex}.msg-list{border:1px solid var(--border,#00000014);background:var(--surface-2,#f7f7fb);border-radius:12px;min-height:200px;max-height:min(60vh,560px);padding:12px;overflow-y:auto}.msg-list:focus-visible{outline:2px solid var(--text,#1a1a1a);outline-offset:2px}.msg-items{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.msg-empty{color:var(--text-muted,#5b5b6b);margin:0}.msg{background:var(--surface,#fff);max-width:min(80%,560px);color:var(--text,#1a1a1a);border:1px solid var(--border,#00000014);overflow-wrap:anywhere;border-radius:14px;padding:8px 12px}.msg-mine{background:var(--text,#1a1a1a);color:var(--bg,#fff);border-color:#0000;align-self:flex-end}.msg-support:not(.msg-mine){border-left:4px solid #1d4ed8}.msg-blocked{color:#5c3b00;background:#fff4e5;border:1px dashed #b45309}.msg-meta{opacity:.85;margin-bottom:2px;font-size:.75rem}.msg-sender{font-weight:600}.msg-body{white-space:pre-wrap;font-size:.95rem}.msg-flag{margin-top:4px;font-size:.75rem;font-weight:600}.msg-composer textarea{resize:vertical;border:1px solid var(--border,#0003);background:var(--surface,#fff);width:100%;min-height:80px;color:var(--text,#1a1a1a);font:inherit;border-radius:10px;padding:10px 12px}.msg-composer-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:6px;display:flex}.msg-count,.msg-disabled{color:var(--text-muted,#5b5b6b);font-size:.8rem}.msg-error{color:#b42318;margin:6px 0 0;font-size:.85rem}.msg-error:empty{margin:0}.msg-header{align-items:center;gap:12px;margin-bottom:12px;display:flex}.msg-header img{object-fit:cover;border-radius:8px;flex:none;width:72px;height:56px}.msg-header h2,.msg-header h1{margin:0;font-size:1.05rem}.msg-header p{color:var(--text-muted,#5b5b6b);margin:2px 0 0;font-size:.85rem}.msg-inbox{margin:0;padding:0;list-style:none}.msg-inbox li+li{border-top:1px solid var(--border,#00000014)}.msg-inbox a{color:inherit;align-items:center;gap:12px;padding:12px 4px;text-decoration:none;display:flex}.msg-inbox a:hover .msg-inbox-title,.msg-inbox a:focus-visible .msg-inbox-title{text-decoration:underline}.msg-inbox img{object-fit:cover;border-radius:6px;flex:none;width:56px;height:44px}.msg-inbox-text{flex:1;min-width:0}.msg-inbox-title{align-items:center;gap:8px;font-weight:600;display:flex}.msg-inbox-preview{color:var(--text-muted,#5b5b6b);white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;overflow:hidden}.msg-inbox-time{color:var(--text-muted,#5b5b6b);flex:none;font-size:.75rem}.msg-unread .msg-inbox-title{font-weight:800}.msg-dot{background:#1d4ed8;border-radius:50%;flex:none;width:10px;height:10px}.msg-badge{color:#fff;text-align:center;background:#1d4ed8;border-radius:999px;min-width:20px;margin-left:6px;padding:1px 6px;font-size:.72rem;font-weight:700;line-height:1.5;display:inline-block}.msg-dialog{background:var(--surface,#fff);width:min(520px,100vw - 32px);color:var(--text,#1a1a1a);border:none;border-radius:16px;padding:20px}.msg-dialog::backdrop{background:#00000080}.msg-dialog label{margin-bottom:4px;font-size:.85rem;font-weight:600;display:block}.msg-dialog input,.msg-dialog textarea{border:1px solid var(--border,#0003);background:var(--surface,#fff);width:100%;color:var(--text,#1a1a1a);font:inherit;border-radius:8px;padding:8px 10px}.msg-dialog-grid{grid-template-columns:1fr 1fr 90px;gap:10px;margin-bottom:12px;display:grid}@media (max-width:480px){.msg-dialog-grid{grid-template-columns:1fr 1fr}.msg{max-width:92%}}.msg-dialog-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.vd-message-host{width:100%;margin-top:10px}body.dark .msg-error{color:#ff8a80}body.dark .msg-support:not(.msg-mine){border-left-color:#93c5fd}body.dark .msg-dot{background:#93c5fd}
