.hq-chat-search{display:flex;align-items:center;gap:3px}.hq-chat-search input{width:116px;min-height:32px;border:1px solid #ced9e5;border-radius:7px;padding:4px 7px;font-size:16px}.hq-chat-search button{border:1px solid #ced9e5!important;border-radius:7px!important;background:#fff!important}
.hq-chat-pinned{flex-shrink:0;display:flex;gap:5px;overflow-x:auto;padding:3px 8px;background:#fff9df;border-block:1px solid #f0dfa2}.hq-chat-pinned button{min-height:30px;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;border-radius:6px;background:#fff3bd;color:#624b00;padding:4px 8px;font-size:.68rem;text-align:left}.hq-chat-pinned-label{display:inline-block;margin:3px 4px 0 0;padding:2px 6px;border-radius:20px;background:#fff3bd;color:#624b00;font-size:.62rem;font-weight:800}
.hq-chat-reply-quote{display:flex!important;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:0!important;margin-top:5px;padding:6px 8px!important;border:0!important;border-left:3px solid #6b8fb5!important;border-radius:4px!important;background:#ffffff99!important;color:#35516d!important;text-align:left}.hq-chat-reply-quote strong{font-size:.68rem}.hq-chat-reply-quote span{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem}.hq-chat-replying{display:flex;align-items:center;gap:8px;margin-bottom:5px;padding:5px 8px;background:#eaf1fc;border-left:3px solid #245ea0;border-radius:5px;font-size:.68rem}.hq-chat-replying span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hq-chat-replying button{min-height:28px;width:28px;border:0;background:transparent;font-size:1.1rem}
.hq-chat-channel-link{display:inline!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;color:#174c90!important;font-weight:800;text-decoration:underline}.hq-chat-reactions [data-pin]{color:#624b00}.hq-chat-reactions [data-reply]{color:#245ea0}
@media(max-width:430px){.hq-chat-search input{width:96px}.hq-chat-toolbar [data-refresh]{margin-left:0}.hq-chat-pinned button{max-width:230px}}

.hq-chat-record{min-height:44px;border:1px solid #ced9e5;border-radius:10px;background:#fff;color:#315f86;padding:7px 9px;font-size:.75rem;font-weight:750}.hq-chat-record.is-recording{background:#fff0f0;border-color:#d92d20;color:#b42318;animation:hq-record-pulse 1.2s infinite}.hq-chat-recording{display:flex;align-items:center;gap:8px;margin-top:5px;padding:6px 8px;border-radius:8px;background:#fff0f0;color:#8f1d18;font-size:.72rem}.hq-chat-recording video{width:74px;height:56px;object-fit:cover;border-radius:7px;background:#000}.hq-chat-recording [data-recording-status]{flex:1}.hq-chat-recording button{min-height:34px;border:1px solid #e1a5a0;border-radius:7px;background:#fff;padding:4px 8px}.hq-chat-preview audio{max-width:230px;height:36px}.hq-chat-preview video{width:110px;max-height:82px;border-radius:8px;background:#000}.hq-chat-bubble audio{display:block;width:min(280px,100%);margin-top:7px}.hq-chat-bubble video{display:block;width:min(340px,100%);max-height:240px;margin-top:7px;border-radius:9px;background:#000}@keyframes hq-record-pulse{50%{box-shadow:0 0 0 4px #d92d2030}}
@media(max-width:430px){.hq-chat-record span{display:none}.hq-chat-record{padding-inline:9px}.hq-chat-compose-row{gap:4px}.hq-chat-send{padding-inline:12px}.hq-chat-preview audio{max-width:180px}}


.hq-chat-scheduler{margin:0;border-top:1px solid #dce6f1;border-bottom:1px solid #dce6f1;padding:14px 16px;background:#f7fbff}
.hq-chat-scheduler[hidden]{display:none}
.hq-chat-scheduler-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.hq-chat-scheduler-head h3{margin:0;color:#173c64;font-size:1rem}
.hq-chat-scheduler-head p,.hq-chat-scheduler-note{margin:4px 0 0;color:#61758b;font-size:.82rem;line-height:1.35}
.hq-chat-scheduler-head>[data-close-scheduler]{border:0;background:transparent;color:#526b84;font-size:1.35rem;padding:0 5px}
.hq-chat-scheduler-controls{display:flex;gap:10px;align-items:flex-end;margin-top:12px;flex-wrap:wrap}
.hq-chat-scheduler-controls label{display:grid;gap:4px;color:#173c64;font-weight:700;font-size:.82rem}
.hq-chat-scheduler-controls input{border:1px solid #bdcde0;border-radius:9px;padding:9px;background:#fff;color:#173c64;font:inherit}
.hq-chat-scheduler-controls button,.hq-chat-scheduled-item button{border:0;border-radius:9px;background:#1f5ca8;color:#fff;padding:10px 14px;font-weight:800}
.hq-chat-scheduled-list{display:grid;gap:8px;margin-top:12px}
.hq-chat-scheduled-empty{margin:0;color:#61758b;font-size:.86rem}
.hq-chat-scheduled-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 12px;border:1px solid #d5e1ee;border-radius:10px;background:#fff}
.hq-chat-scheduled-copy{min-width:0}
.hq-chat-scheduled-copy strong{display:block;color:#173c64;font-size:.85rem}
.hq-chat-scheduled-copy p{margin:3px 0 0;color:#334b63;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:720px}
.hq-chat-scheduled-item button{background:#fff;color:#b42318;border:1px solid #e7b8b4;padding:7px 10px;flex:none}
@media(max-width:640px){
  .hq-chat-scheduler{padding:12px}
  .hq-chat-scheduler-controls{display:grid}
  .hq-chat-scheduler-controls input,.hq-chat-scheduler-controls button{width:100%}
  .hq-chat-scheduled-item{align-items:flex-start}
  .hq-chat-scheduled-copy p{max-width:58vw}
}
