/* Public chat is scoped so opening it cannot restyle the event guide or staff UI. */
.qa-chat{--chat-ink:#1c3247;--chat-muted:#61758a;--chat-line:#dae4ed;--chat-gold:#f6b04e;display:flex;flex-direction:column;min-height:0;height:100%;position:relative;isolation:isolate;background:#f4f7fa;color:var(--chat-ink);font:16px/1.5 Pretendard,Ember,sans-serif;word-break:normal;text-align:left}
.qa-chat *{box-sizing:border-box}.qa-chat [hidden]{display:none!important}.qa-chat button,.qa-chat input,.qa-chat textarea,.qa-chat select{font:inherit;color:inherit}.qa-chat button{cursor:pointer;border:0;background:none;touch-action:manipulation}.qa-chat button:disabled{opacity:.45;cursor:default}.qa-chat :focus-visible{outline:3px solid #20799a;outline-offset:2px}.qa-chat h2,.qa-chat h3,.qa-chat p{margin:0}.qa-chat a{color:inherit;text-decoration:none}.qa-chat .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.qa-chat .is-error{color:#ad352a!important}
.qa-chat .chat-header{flex:none;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#13243a;color:#fff;padding:15px 18px}.qa-chat .chat-header>div{display:flex;align-items:center;gap:8px}.qa-chat .chat-header h2{font-size:22px;font-weight:750;letter-spacing:-.5px}.qa-chat .chat-public{color:#b6c6d8;font-size:14px}.qa-chat .chat-live-dot{width:7px;height:7px;background:#79d7bb;border-radius:50%}.qa-chat .chat-header-actions button{min-height:38px;color:#dbe6f2;font-size:14px;padding:7px}.qa-chat #qa-close{font-size:27px;line-height:1;min-width:32px}.qa-chat #wall-session{flex:1;width:0}.qa-chat #wall-status{width:100px}.qa-chat .chat-summary{display:flex;align-items:center;gap:10px;padding:0 16px 10px;background:#fff;color:var(--chat-muted);border-bottom:1px solid var(--chat-line);font-size:13px}.qa-chat #wall-scope{display:none}.qa-chat .wall-stats{display:flex;gap:10px}.qa-chat .wall-stats b{margin-left:3px}.qa-chat .auto-label{margin-left:auto;display:flex;gap:4px;align-items:center}.qa-chat .auto-label input{accent-color:#20796d}
.qa-chat .chat-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 18px 14px;scroll-behavior:auto;overflow-anchor:none;scrollbar-width:thin}.qa-chat .wall-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;align-items:center;padding:6px 0 14px;color:var(--chat-muted);font-size:13px}.qa-chat .wall-pagination button{padding:7px 10px;border:1px solid #d5e0e9;border-radius:18px;background:#fff;font-size:14px}.qa-chat .wall-pagination button:disabled{display:none}.qa-chat #wall-page{display:none}.qa-chat .chat-feed{display:flex;flex-direction:column;gap:22px}.qa-chat .wall-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;width:100%;position:relative}.qa-chat .card-meta{display:flex;gap:7px;align-items:center;margin-bottom:6px;color:var(--chat-muted);font-size:13px;max-width:100%;flex-wrap:wrap}.qa-chat .card-avatar{width:24px;height:24px;display:grid;place-items:center;border-radius:9px;background:#dce8f1;color:#3a6580;font-size:14px;font-weight:700}.qa-chat .card-author{font-size:14px;color:#3d566f}.qa-chat .card-status{font-size:12px;white-space:nowrap;padding:2px 5px;border-radius:4px}.qa-chat .card-status.pending{background:#fff0d3;color:#865408}.qa-chat .card-status.answered{background:#e0eef8;color:#275777}.qa-chat .card-status.resolved{background:#dcf2e8;color:#296550}
.qa-chat .chat-bubble{max-width:90%;padding:11px 14px;background:#fff;border:1px solid #e0e7ee;border-radius:3px 15px 15px 15px;box-shadow:0 1px 2px #15334b04;overflow-wrap:anywhere}.qa-chat .card-session{display:block;color:#42728b;font-size:13px;font-weight:650;margin-bottom:6px;line-height:1.5}.qa-chat .card-question{font-size:18px;line-height:1.75;white-space:pre-wrap}.qa-chat .card-thread-actions{display:flex;gap:9px;align-items:center;margin-top:3px}.qa-chat .card-thread-actions button{min-height:34px;padding:5px 3px;font-size:14px;color:#2c7188}.qa-chat .card-thread-actions .card-ask-button{color:#7a8997;font-size:13px}.qa-chat .wall-card.is-self{align-items:flex-end}.qa-chat .wall-card.is-self .chat-bubble{background:#fff0d4;border-color:#f4dfb5;border-radius:15px 3px 15px 15px}.qa-chat .wall-card.is-self .card-avatar{background:#f4d49c;color:#765321}.qa-chat .card-answer{font-size:14px;max-width:90%;margin-top:8px;background:#e8f4f0;padding:9px 12px;border-radius:3px 12px 12px;border-left:2px solid #308978}.qa-chat .card-answer strong{font-size:13px;color:#267769}.qa-chat .card-answer p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px;line-height:1.65}.qa-chat .wall-empty{text-align:center;align-self:center;color:var(--chat-muted);padding:50px 15px}.qa-chat .wall-empty h3{font-size:20px;color:#304d64;margin-bottom:8px}.qa-chat .wall-empty p{font-size:15px;line-height:1.8}.qa-chat .wall-empty button{margin-top:16px;padding:10px 17px;background:#fff;border:1px solid #cddbe7;border-radius:8px}.qa-chat #wall-message{font-size:13px;text-align:center;color:#5e7182;margin:16px 0 0;line-height:1.6}
.qa-chat .wall-thread{width:100%;padding:12px 0 0 15px;margin-top:5px;border-left:2px solid #d2e0eb;align-self:stretch}.qa-chat .thread-tools{display:flex;gap:8px;justify-content:space-between;margin-bottom:9px}.qa-chat .thread-tools button{min-height:32px;font-size:13px;color:#60798f;padding:4px}.qa-chat .thread-messages{display:flex;flex-direction:column;gap:12px}.qa-chat .thread-message{align-self:flex-start;max-width:94%;padding:10px 12px;background:#fff;border:1px solid #e0e7ee;border-radius:3px 13px 13px;overflow-wrap:anywhere}.qa-chat .thread-message.is-self{align-self:flex-end;background:#fff0d4;border-color:#f4dfb5;border-radius:13px 3px 13px 13px}.qa-chat .thread-message.from-staff{background:#e8f4f0;border-color:#c4dfd5}.qa-chat .thread-message strong{font-size:13px;color:#496579}.qa-chat .thread-message.from-staff strong{color:#237265}.qa-chat .thread-message p{font-size:17px;line-height:1.75;white-space:pre-wrap;margin:4px 0}.qa-chat .thread-message time{font-size:12px;color:#5e7182}.qa-chat .thread-notice{font-size:13px;color:#5e7182;margin-top:8px}.qa-chat .thread-reply{font-size:14px;color:#246d85;margin-top:4px;min-height:34px}.qa-chat .is-replying>.chat-bubble{outline:2px solid #84b3c4;outline-offset:2px}
.qa-chat .chat-jump{position:relative;height:0;flex:none;z-index:2}.qa-chat #wall-new{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);padding:9px 17px;border-radius:24px;background:#244d6a;color:#fff;box-shadow:0 3px 12px #15334b26;font-size:14px;white-space:nowrap}.qa-chat .chat-composer{position:relative;flex:none;padding:10px 14px calc(9px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--chat-line)}.qa-chat .compose-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.qa-chat #wall-profile{position:relative;min-width:0;font-size:14px;color:var(--chat-muted)}.qa-chat #wall-profile summary{cursor:pointer;list-style:none;white-space:nowrap}.qa-chat #wall-profile summary strong{color:#3a5971}.qa-chat .compose-target{display:flex;min-width:0;max-width:57%}.qa-chat .compose-target select{min-width:0;max-width:100%;padding:6px 7px;background:#edf4f8;color:#396a83;border:1px solid #d5e3eb;border-radius:6px;font-size:14px;text-overflow:ellipsis}.qa-chat .compose-input{display:flex;gap:8px;border:1px solid #c3d3df;border-radius:11px;padding:8px;background:#fff}.qa-chat .compose-input:focus-within{border-color:#4c8ca4;box-shadow:0 0 0 2px #4c8ca410}.qa-chat .compose-input textarea{flex:1;resize:none;min-width:0;max-height:20dvh;border:0;outline:none;padding:3px 2px;background:transparent;font-size:18px;line-height:1.5;min-height:46px}.qa-chat #wall-send{width:36px;height:36px;min-height:36px;align-self:flex-end;flex:none;border-radius:9px;background:var(--chat-gold);color:#1d3445;font-size:23px;font-weight:600}.qa-chat .compose-bottom{display:flex;justify-content:space-between;gap:6px;margin-top:6px;font-size:13px;color:#6c8193}.qa-chat #wall-compose-notice{line-height:1.4}.qa-chat #wall-counter{white-space:nowrap;font-size:12px}.qa-chat .chat-footer{display:flex;justify-content:space-between;gap:10px;color:#5e7182;font-size:12px;margin-top:7px}.qa-chat .chat-footer a{color:#627b91;padding:2px}.qa-chat .chat-reply-context{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#edf4f8;border-left:3px solid #4d8a9f;padding:8px 10px;margin-bottom:9px;border-radius:3px 7px 7px 3px}.qa-chat .chat-reply-context>div{min-width:0}.qa-chat .chat-reply-context strong{font-size:14px;color:#316a80}.qa-chat .chat-reply-context p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;color:#718393}.qa-chat #wall-new-question{font-size:23px;min-width:30px;min-height:32px}
.qa-chat #wall-profile-form{position:absolute;bottom:28px;left:0;width:260px;z-index:5;background:#fff;border:1px solid #c6d7e3;border-radius:10px;padding:14px;box-shadow:0 4px 20px #12314a22;display:grid;gap:8px}.qa-chat #wall-profile-form input{padding:9px;border:1px solid #bdcdd9;border-radius:6px;width:100%;font-size:18px}.qa-chat #wall-profile-form button{padding:8px 14px;background:#e9f1f6;border-radius:5px;margin-right:5px;min-height:36px}.qa-chat #wall-profile-notice{color:#ad352a;font-size:14px}.qa-chat .wall-mentions{position:absolute;bottom:calc(100% + 6px);left:10px;right:10px;z-index:4;max-height:30dvh;overflow:auto;background:#fff;border:1px solid #b8ccda;border-radius:10px;box-shadow:0 4px 20px #12314a20;padding:7px}.qa-chat .wall-mentions strong{display:block;padding:7px;color:#607b91;font-size:14px}.qa-chat .wall-mentions button{display:block;width:100%;text-align:left;padding:10px;border-radius:6px;font-size:14px;line-height:1.5}.qa-chat .wall-mentions button:hover,.qa-chat .wall-mentions button:focus{background:#eaf2f7}.qa-chat .wall-mentions p{padding:9px;font-size:14px}
.qa-chat-dialog{position:fixed;inset:auto 20px 20px auto;width:min(620px,calc(100vw - 40px));height:min(850px,calc(100dvh - 40px));max-width:none;max-height:none;margin:0;padding:0;border:1px solid #c8d7e2;border-radius:17px;overflow:hidden;box-shadow:0 15px 65px #0b1b3440;background:#f4f7fa}.qa-chat-dialog::backdrop{background:#08172b24}.qa-chat-dialog:not([open]){display:none}.qa-chat-dialog .qa-chat{border-radius:16px;overflow:hidden}
.desktop-nav button[data-qa-open]{height:100%;display:flex;align-items:center;white-space:nowrap;color:inherit;padding:0;font:inherit}.desktop-nav button[data-qa-open]:hover{color:#fff}.mobile-nav button[data-qa-open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:1;font-size:13px;color:inherit;padding:0}.mobile-nav button[data-qa-open] svg{width:20px;height:20px}
@media(max-width:600px){.qa-chat-dialog{inset:auto 6px 6px;width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:13px}.qa-chat-dialog .qa-chat{border-radius:12px}.qa-chat .chat-header{padding:10px 12px}.qa-chat .chat-header h2{font-size:20px}.qa-chat .chat-public{display:none}.qa-chat .chat-summary{padding:0 10px 7px;font-size:12px}.qa-chat .wall-stats{gap:8px}.qa-chat .chat-scroll{padding:5px 12px 10px}.qa-chat .chat-bubble{max-width:94%}.qa-chat .chat-composer{padding:9px 10px calc(8px + env(safe-area-inset-bottom))}.qa-chat #wall-profile summary span{font-size:12px}.qa-chat .compose-target{max-width:52%}.qa-chat .card-question{font-size:18px}.qa-chat .chat-footer{font-size:12px}.qa-chat .wall-thread{padding-left:10px}.qa-chat .thread-message{max-width:96%}}
@media(prefers-reduced-motion:reduce){.qa-chat *{scroll-behavior:auto!important}}

/* Keep the larger type focused on conversation rather than repeated guidance. */
.qa-chat #wall-message:empty,.qa-chat .thread-notice:empty,.qa-chat #wall-counter:empty{display:none}
.qa-chat .compose-bottom:has(#wall-compose-notice:empty):has(#wall-counter:empty){display:none}
.qa-chat .chat-summary{padding-bottom:9px}.qa-chat .wall-stats{gap:0}
.qa-chat .chat-header-actions button,.qa-chat .card-thread-actions button{min-height:40px}

.qa-chat .card-meta{gap:8px}.qa-chat .card-avatar{width:28px;height:28px}
.qa-chat .chat-bubble{padding:13px 16px}.qa-chat .card-answer p{font-size:17px}
.qa-chat .card-answer strong{font-size:13px}.qa-chat .thread-tools{flex-wrap:wrap;align-items:center;gap:4px}
.qa-chat .thread-tools button{min-height:36px}.qa-chat .thread-tools button[aria-label]{font-size:22px;min-width:36px}
.qa-chat #wall-send{width:44px;height:44px;min-height:44px}
.qa-chat .chat-footer{font-size:13px;align-items:center;color:#536c81}
.qa-chat .chat-footer a{padding:5px 2px}.qa-chat textarea::placeholder{color:#65768a;opacity:1}
.qa-chat .compose-target select{min-height:36px}.qa-chat .chat-reply-context{padding:10px 12px}
@media(max-width:600px){
 .qa-chat .chat-header{padding:10px 12px}.qa-chat .chat-header h2{font-size:21px}
 .qa-chat .chat-header-actions{gap:4px}.qa-chat .chat-header-actions button{padding:5px}
 .qa-chat .chat-summary{font-size:13px}
 .qa-chat .chat-scroll{padding-inline:12px}.qa-chat .chat-feed{gap:20px}
 .qa-chat .card-author{font-size:14px}.qa-chat .card-question{font-size:18px}
 .qa-chat .card-session{font-size:13px}.qa-chat .thread-message p{font-size:17px}
 .qa-chat .compose-top{flex-wrap:wrap;gap:7px}.qa-chat .compose-target{max-width:100%;width:100%}
 .qa-chat .compose-target select{width:100%}.qa-chat #wall-profile{font-size:14px}
 .qa-chat .compose-input textarea{font-size:18px}.qa-chat .chat-footer{font-size:12px}
}

.mobile-nav button[data-qa-open]{font-size:14px}

/* Match the chat action to the adjacent section links in the floating navigation. */
.mobile-nav button[data-qa-open]{flex:0 0 auto;flex-direction:row;gap:8px;min-width:72px;min-height:44px;padding:10px 14px;border-radius:10px;color:#9bafca;font-size:14px;line-height:inherit}
.mobile-nav button[data-qa-open] svg{width:16px;height:16px}
.mobile-nav button[data-qa-open]:hover{background:#ffffff08;color:#d9fff6}
@media(max-width:760px){
 .mobile-nav button[data-qa-open]{flex:1;flex-direction:column;gap:4px;min-width:0;padding:10px 14px;border-radius:9px}
 .mobile-nav button[data-qa-open] svg{width:18px;height:18px}
}
@media(max-width:760px){
 .mobile-nav :is(a,button[data-qa-open]){flex:1 1 0;min-width:0;padding:8px 2px;gap:4px;font-size:14px}
 .mobile-nav :is(a,button[data-qa-open]) svg{width:19px;height:19px}
}

/* Readability floor for the chat panel and Wall: darker muted text, no labels under 13px. */
.qa-chat{--chat-muted:#4f6276}
.qa-chat .chat-summary,.qa-chat .wall-pagination,.qa-chat .card-meta,.qa-chat .card-session,.qa-chat .card-thread-actions .card-ask-button,.qa-chat .card-answer strong,.qa-chat #wall-message,.qa-chat .thread-tools button:not([aria-label]),.qa-chat .thread-message strong,.qa-chat .thread-notice,.qa-chat .compose-bottom{font-size:14px}
.qa-chat .card-status,.qa-chat .thread-message time,.qa-chat #wall-counter,.qa-chat .chat-footer,.qa-chat #wall-profile summary span{font-size:13px}
/* Staff identity is trusted account data, separate from participant nicknames. */
.qa-chat .chat-staff-profile{font-size:16px;color:#216e68;line-height:1.5}
.qa-chat .wall-card.is-staff .chat-bubble{background:#e5f4f0;border-color:#8bbdaf;border-radius:3px 15px 15px}
.qa-chat .wall-card.is-staff .card-author{color:#216e68}
.qa-chat .wall-card.is-staff .card-avatar{background:#cee8df;color:#216e68}
.qa-chat .thread-message.from-staff,.qa-chat .thread-message.from-staff.is-self{background:#e5f4f0;border-color:#8bbdaf}
.qa-chat .card-author,.qa-chat .chat-staff-profile{min-width:0;max-width:100%;overflow-wrap:anywhere}

/* One chronological chat stream; replies carry a compact parent reference. */
.qa-chat .chat-message{align-items:flex-start}
.qa-chat .chat-message.is-self{align-items:flex-end}
.qa-chat .chat-message .chat-bubble{max-width:94%}
.qa-chat .chat-message.is-reply .card-question{font-size:17px}
.qa-chat .chat-reply-reference{margin:0 0 9px;padding:8px 10px;background:#ecf2f6;border:0;border-radius:7px;color:#516b7e;text-align:left;overflow-wrap:anywhere}
.qa-chat .is-self .chat-reply-reference{background:#eedfbc66}
.qa-chat .is-staff .chat-reply-reference{background:#cee6dc88}
.qa-chat .reply-reference-label{display:block;font-size:13px;font-weight:650;margin-bottom:3px}
.qa-chat .reply-reference-body{font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}
.qa-chat .card-reply-button{min-height:36px;padding:4px 0;font-size:14px;color:#426b83}
.qa-chat .chat-reply-context{border:0}
.qa-chat .is-replying>.chat-bubble{outline:0}

/* Adjacent messages share context; the reply action sits beside the bubble. */
.qa-chat .chat-feed,.qa-chat .thread-messages:has(>.chat-message){gap:0}
.qa-chat .chat-message{display:grid;grid-template-columns:minmax(0,1fr) 32px;column-gap:4px;width:fit-content;max-width:100%;align-self:flex-start;align-items:end;margin-top:24px}
.qa-chat .chat-message:first-child{margin-top:0}
.qa-chat .chat-message.is-continuation{margin-top:12px}
.qa-chat .chat-message.is-same-sender{margin-top:6px}
.qa-chat .chat-message>.card-meta{grid-column:1/-1}
.qa-chat .chat-message>.chat-bubble{grid-column:1;grid-row:2;max-width:100%;min-width:0}
.qa-chat .chat-message>.card-thread-actions{grid-column:2;grid-row:2;margin:0;align-self:center}
.qa-chat .chat-message .card-reply-button{display:grid;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;border-radius:8px;color:#607c8e}
.qa-chat .chat-message .card-reply-button:hover,.qa-chat .chat-message .card-reply-button:focus-visible{background:#dfebf2;color:#285a73}
.qa-chat .chat-message.is-self{align-self:flex-end}
.qa-chat .chat-message.is-self>.card-meta{justify-content:flex-end}
.qa-chat .chat-message.admin-question-card{display:flex;width:100%}
.qa-chat .admin-question-card>.card-thread-actions{align-self:flex-start}
.qa-chat .admin-question-card .card-thread-button{display:inline-flex;width:auto;height:auto;min-height:40px;padding:6px 9px}
.qa-chat .chat-message.is-same-sender>.chat-bubble{border-radius:12px}
.qa-chat .chat-reply-context{padding:0;margin-bottom:6px;background:none;gap:6px;min-height:44px}
.qa-chat #wall-new-question{width:44px;height:44px;min-height:44px;flex:none;padding:0;line-height:1}
.qa-chat .chat-reply-context>div{display:flex;align-items:center;gap:7px;flex:1;overflow:hidden}
.qa-chat .chat-reply-context strong{flex:0 1 auto;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qa-chat .chat-reply-context p{flex:1;min-width:0}
.qa-chat .chat-reply-context p::before{content:"· ";color:#718393}

.qa-chat button.chat-reply-reference{display:block;width:100%;font:inherit;text-align:left;color:#516b7e;cursor:pointer}
.qa-chat button.chat-reply-reference:hover{background:#dfeaf1}
.qa-chat .conversation-more{align-self:flex-start;margin:5px 0 0;padding:5px 8px;min-height:32px;font-size:13px;color:#426b83;border-radius:6px}
.qa-chat .conversation-more:hover{background:#e4edf3}
.qa-chat #wall-reply-link{display:flex;align-items:center;gap:7px;flex:1;min-width:0;text-align:left;overflow:hidden;padding:0}
.qa-chat #wall-reply-preview{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;color:#718393}
.qa-chat #wall-reply-preview::before{content:'· '}
.qa-chat .is-linked-target>.chat-bubble{animation:linked-question 1.8s ease-out}
@keyframes linked-question{0%,35%{box-shadow:0 0 0 3px #68aaba66}100%{box-shadow:0 0 0 0 #68aaba00}}
@media(prefers-reduced-motion:reduce){.qa-chat .is-linked-target>.chat-bubble{animation:none;outline:2px solid #68aaba;outline-offset:2px}}

.qa-chat .compose-private{display:flex;align-items:center;gap:5px;flex:none;margin-left:auto;font-size:14px;color:#5b4a1e;cursor:pointer;white-space:nowrap;padding:5px 8px;border:1px solid #e3d7b4;border-radius:6px;background:#fbf6e8}.qa-chat .compose-private input{width:17px;height:17px;margin:0;accent-color:#8a6a12}.qa-chat .compose-private[hidden]{display:none}
.qa-chat .chat-composer.is-private .compose-input{border-color:#c9a94b;background:#fffbef}
.qa-chat .card-private{font-size:12px;white-space:nowrap;padding:2px 6px;border-radius:4px;background:#f6edd2;color:#6d5310}.qa-chat .card-private[hidden]{display:none}
/* Nickname and the staff-only toggle share one row; the long nickname truncates instead of wrapping the toggle. */
.qa-chat .compose-top>#wall-profile{flex:1 1 0;min-width:0}.qa-chat #wall-profile summary{display:block;overflow:hidden;text-overflow:ellipsis}
/* Composer reply target: only the quoted message, styled like the in-bubble quote (author text is screen-reader only); one line keeps the mobile composer compact. */
.qa-chat #wall-reply-link,.qa-chat #staff-chat-context>div{display:block;flex:1;min-width:0;padding:8px 10px;background:#ecf2f6;border-radius:7px;color:#516b7e;text-align:left}
.qa-chat #wall-reply-link:hover{background:#dfeaf1}
.qa-chat #wall-reply-preview,.qa-chat #staff-chat-preview{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;line-height:1.5;color:#516b7e}
.qa-chat #wall-reply-preview::before,.qa-chat #staff-chat-preview::before{content:none}
.qa-chat .chat-composer.is-private #wall-reply-link{background:#f6edd2;color:#6d5310}.qa-chat .chat-composer.is-private #wall-reply-preview{color:#6d5310}
/* Desktop-only resize grip at the panel's free (top-left) corner. */
.qa-chat-resize{position:absolute;top:0;left:0;width:22px;height:22px;z-index:5;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,#ffffffb0 0 2px,transparent 2px 5px,#ffffffb0 5px 7px,transparent 7px 10px,#ffffff70 10px 12px,transparent 12px);border-top-left-radius:17px}
.qa-chat-dialog.is-resizing{user-select:none}
@media(max-width:600px),(pointer:coarse){.qa-chat-resize{display:none}}
/* Mobile: the chat panel fills the whole screen to use every pixel (close with the header × button). */
@media(max-width:600px){.qa-chat-dialog{inset:0;width:100vw;height:100dvh;border:0;border-radius:0;box-shadow:none}.qa-chat-dialog .qa-chat{border-radius:0}.qa-chat-dialog .chat-header{padding-top:calc(10px + env(safe-area-inset-top))}}
/* Compact bubbles: tighter spacing and padding; question 18px / reply 17px font sizes are kept. */
.qa-chat .chat-message{margin-top:16px}.qa-chat .chat-message:first-child{margin-top:0}
.qa-chat .chat-message.is-continuation{margin-top:8px}.qa-chat .chat-message.is-same-sender{margin-top:5px}
.qa-chat .chat-message .chat-bubble,.qa-chat .chat-bubble{padding:9px 12px}
.qa-chat .card-question{line-height:1.55}
.qa-chat .card-meta{margin-bottom:4px}.qa-chat .card-session{margin-bottom:3px;line-height:1.4}
.qa-chat .chat-reply-reference{margin:0 0 6px;padding:6px 9px}.qa-chat .reply-reference-label{margin-bottom:1px}
