/* Native chat, scoped to the existing support surface. */
.setup-help { display:grid; grid-template-columns:34px minmax(0,1fr); gap:10px 13px; align-items:start; margin-top:22px; padding:18px; border:1px solid #53e8f24d; border-radius:15px; background:linear-gradient(120deg,#12445666,#0b2038); }
.setup-help-icon { width:34px; height:34px; display:grid; place-items:center; color:#8cf4f7; border-radius:11px; background:#53e8f212; }
.setup-help-icon .icon { width:20px; height:20px; }
.setup-help-copy strong { display:block; color:#dbfbff; font-size:14px; line-height:1.5; }
.setup-help .setup-help-copy p { margin:6px 0 0; font-size:12px; line-height:1.7; color:#a7c8d8; }
.setup-help-button { grid-column:2; display:flex; align-items:center; justify-content:center; gap:12px; min-height:44px; border:1px solid #60dce5; border-radius:10px; padding:10px 16px; background:#154252; color:#bdfaff; font-size:13px; font-weight:800; cursor:pointer; transition:background .15s,border-color .15s; }
.setup-help-button .icon { width:17px; height:17px; }
.setup-help-button:hover { background:#1d5363; border-color:#c3ffff; }
.setup-help-button:focus-visible,.support-setup-return:focus-visible { outline:3px solid #b8fbff; outline-offset:4px; }
.support-setup { padding:11px 12px; margin:12px 0 0; border:1px solid #53e8f236; border-radius:10px; background:#12364a; color:#c3e8ef; font-size:12px; line-height:1.7; }
.support-setup-return { display:block; border:0; background:none; min-height:44px; padding:8px 0; color:#9df1f4; font-size:12px; text-align:left; text-decoration:underline; text-underline-offset:3px; }
.support-panel { width:390px; max-width:calc(100vw - 30px); max-height:min(720px,calc(100dvh - 105px)); display:flex; flex-direction:column; }
.support-panel .support-head { flex:none; padding:15px; }
.support-head small { max-width:275px; line-height:1.5; }
.support-panel .support-body { max-height:none; min-height:0; padding:15px; overflow-y:auto; overscroll-behavior:contain; }
.support-channel { color:#82a8bf; font-size:10px; margin-bottom:11px; }
.support-welcome { color:#c4dfec; font-size:12px; line-height:1.8; }
.support-welcome strong { color:#9ceff4; display:block; margin-bottom:4px; }
.support-log { display:flex; flex-direction:column; gap:12px; max-height:min(330px,34dvh); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#2a6076 transparent; }
.support-log:empty { display:none; }
.support-message { flex:none; max-width:94%; align-self:flex-start; padding:11px 13px; border:1px solid #386c8a33; border-radius:3px 13px 13px; background:#12304a; overflow-wrap:anywhere; }
.support-message-user { align-self:flex-end; background:#16485a; border-color:#53e8f22e; border-radius:13px 3px 13px 13px; }
.support-message-operator { background:#153b40; border-color:#6ce8ca40; }
.support-message-system { background:#112334; border-color:#4b697533; }
.support-message-author { display:block; color:#8fe7ef; font-size:9px; font-weight:700; margin-bottom:5px; }
.support-message-user .support-message-author { color:#b6e2e9; }
.support-message-text { color:#d2e5ef; font-size:12px; line-height:1.75; white-space:pre-wrap; }
.support-pending { font-size:11px; color:#9ad5df; margin:12px 0 0; line-height:1.6; }
.support-panel .support-topics { margin:14px 0; }
.support-panel .support-topics button { min-height:32px; }
.support-composer { margin-top:14px; }
.support-composer .field-label { margin-top:0; color:#bcd9e6; }
.support-panel #support-message { min-height:75px; max-height:150px; resize:vertical; line-height:1.7; font-size:16px; padding:11px 12px; }
.support-panel #support-message[readonly] { color:#c0d8e4; background:#0b2032; }
.support-composer .button { min-height:42px; font-size:12px; width:100%; margin-top:10px; }
.support-panel .support-privacy { font-size:10px; line-height:1.65; margin:8px 0 0; color:#82a3ba; }
.support-alert { color:#ffced6; font-size:11px; line-height:1.7; background:#5e2d3e40; border:1px solid #eb8d9a38; border-radius:9px; padding:10px; margin-top:11px; }
.support-retry { display:inline-flex; min-height:36px; padding:7px 0; border:0; background:none; font-size:11px; color:#85eef1; text-decoration:underline; text-underline-offset:3px; }
.support-panel .support-handoff { min-height:40px; font-size:11px; margin-top:13px; background:#0c2034; }
.support-fallback { margin-top:12px; border-top:1px solid #9dd7e41f; padding-top:10px; font-size:10px; color:#9dbdce; }
.support-fallback summary { cursor:pointer; min-height:30px; display:list-item; color:#a9cbd9; }
.support-fallback-links { display:flex; flex-wrap:wrap; gap:8px 16px; padding:4px 0 0; }
.support-fallback-links a { color:#8be2e8; font-size:11px; min-height:32px; display:inline-flex; align-items:center; }
@media(max-width:600px) {
  .setup-help { padding:15px; gap:10px; }
  .setup-help-button { grid-column:1/-1; width:100%; }
  .support-panel { bottom:69px; right:15px; max-height:calc(100dvh - 90px); border-radius:17px; }
  .support-panel .support-head { padding:12px; }
  .support-panel .support-body { padding:13px; }
  .support-log { max-height:30dvh; }
  .support-message { max-width:95%; }
}
