.support-filters { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.support-filters button { display: flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.support-filters button[aria-selected="true"] { background: #e9f3fa; border-color: #9bbad6; color: #254e77; }
.support-filters b { min-width: 22px; padding: 2px 6px; border-radius: 7px; background: #f0f3f7; text-align: center; font-size: 11px; font-variant-numeric: tabular-nums; }
.support-grouped { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); }
.support-grouped .support-thread-list { max-height: 740px; overflow: auto; padding: 0; }
.support-client-group { border-bottom: 1px solid var(--line); }
.support-client-group:last-child { border-bottom: 0; }
.support-client-group summary { display: flex; align-items: center; gap: 10px; padding: 17px; cursor: pointer; list-style: none; }
.support-client-group summary::-webkit-details-marker { display: none; }
.support-client-group summary:hover { background: #f6f9fc; }
.support-client-group summary > .material-symbols-rounded { flex: 0 0 18px; width: 18px; height: 18px; }
.support-client-group[open] summary > .material-symbols-rounded { transform: rotate(180deg); }
.support-client-name { min-width: 0; flex: 1; }
.support-client-name strong { display: block; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.support-client-name > small { display: block; color: #708298; font-size: 11px; margin: 3px 0 8px; overflow-wrap: anywhere; }
.support-client-total { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; color: #708298; }
.support-client-total b { color: #385a7b; }
.support-client-threads { border-top: 1px solid var(--line); background: #fafcff; }
.support-client-threads .thread-item { padding: 15px 18px 15px 24px; }
.thread-title { display: flex; gap: 10px; align-items: flex-start; }
.thread-title h3 { flex: 1; min-width: 0; }
.support-message-count { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 23px; padding: 0 6px; flex-shrink: 0; border-radius: 8px; background: #35678f; color: #fff; font-size: 11px; line-height: 1; font-variant-numeric: tabular-nums; }
.thread-unread { border-left: 3px solid #6d9ec5; }
.conversation-messages > .chat-message { flex-shrink: 0; }
.chat-delivery { display: block; margin-top: 5px; font-size: 11px; opacity: .8; }
.chat-message-sending, .chat-message-checking { opacity: .75; }
.chat-message-failed, .chat-message-unknown { outline: 1px solid #c6904b; }
.reply-compose { flex: 1; min-width: 0; }
.reply-compose textarea { width: 100%; }
.reply-file-hint { display: block; margin-top: 7px; color: #708298; font-size: 11px; line-height: 1.5; }
.reply-file-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.reply-file { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 6px 4px 10px; border-radius: 8px; background: #edf3f8; font-size: 12px; }
.reply-file > span { min-width: 0; overflow-wrap: anywhere; }
.reply-file .icon-btn { width: 28px; height: 28px; padding: 4px; flex-shrink: 0; }
.reply-form .reply-attach { position: relative; cursor: pointer; flex-shrink: 0; align-self: flex-start; }
.reply-attach input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.reply-attach:focus-within { outline: 2px solid #35678f; outline-offset: 3px; }
.reply-attach .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.chat-attachment { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 9px 0; padding: 10px; background: rgba(53,103,143,.08); border: 1px solid rgba(53,103,143,.16); border-radius: 10px; color: inherit; text-decoration: none; }
.chat-attachment > span:not(.material-symbols-rounded) { min-width: 0; flex: 1; }
.chat-attachment strong { display: block; overflow-wrap: anywhere; }
.chat-attachment small { display: block; margin-top: 4px; opacity: .75; }
.chat-message.own .chat-attachment { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
@media (max-width: 600px) { .reply-form { flex-wrap: wrap; } .reply-compose { flex-basis: 100%; } .reply-form > button[type=submit] { margin-left: auto; } }
.thread-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.thread-meta small { margin-left: 0; }
.support-filter-empty { padding: 15px; }
.support-filter-empty .empty-state { padding: 26px 8px; }
.support-filter-empty h3 { font-size: 14px; }
.support-filter-empty p { font-size: 12px; }
.notification-button > .notification-count { position: absolute; right: -8px; top: -8px; display: inline-flex; justify-content: center; align-items: center; min-width: 21px; height: 21px; padding: 0 4px; border-radius: 8px; background: #35678f; color: #fff; border: 2px solid #fff; font-size: 10px; line-height: 1; }
.support-notification { display: flex; align-items: center; gap: 12px; padding: 15px; background: #edf5fc; border-radius: 12px; margin-bottom: 15px; }
.support-notification > span { min-width: 0; flex: 1; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .support-grouped { grid-template-columns: minmax(220px, 290px) minmax(0, 1fr); gap: 16px; } }
@media (max-width: 760px) { .support-grouped { grid-template-columns: minmax(0, 1fr); } .support-grouped .support-thread-list { max-height: 340px; } .support-filters { gap: 6px; } .support-filters button { padding: 10px; font-size: 12px; } .support-client-group summary { padding: 15px; } .support-grouped .conversation { min-width: 0; } }
