:root{--support-primary:#5b4be7;--support-primary-dark:#4435c6;--support-teal:#0f9d83;--support-text:#152238;--support-muted:#627086;--support-border:#dfe5ef;--support-surface:#fff;--support-soft:#f6f8fc;--support-danger:#d93b50;--support-shadow:0 18px 45px rgba(23,34,58,.18)}
.web-support-widget{position:fixed;right:22px;bottom:22px;z-index:10040;font-family:inherit}.web-support-launcher{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 18px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--support-primary),#745ff1);color:#fff;font-weight:800;box-shadow:var(--support-shadow);cursor:pointer}.web-support-launcher-icon{display:grid;place-items:center;width:24px;height:24px;border:2px solid currentColor;border-radius:50%}.web-support-launcher b{width:9px;height:9px;border-radius:50%;background:#aab3c2;box-shadow:0 0 0 3px rgba(255,255,255,.18)}.web-support-launcher b.online{background:#38c98c}.web-support-panel{position:absolute;right:0;bottom:60px;width:min(370px,calc(100vw - 24px));height:min(690px,calc(100dvh - 90px));max-height:min(690px,calc(100dvh - 90px));overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--support-border);border-radius:18px;background:var(--support-surface);box-shadow:var(--support-shadow)}.web-support-panel>header{position:relative;top:auto;z-index:2;display:flex;flex:0 0 auto;justify-content:space-between;align-items:center;padding:15px 17px;background:linear-gradient(135deg,var(--support-primary),#735dee);color:#fff}.web-support-panel>header div{display:grid;gap:2px}.web-support-panel>header small{opacity:.9}.web-support-panel>header button{border:0;background:transparent;color:#fff;font-size:25px;cursor:pointer}.web-support-welcome{display:flex;flex:0 0 auto;gap:12px;margin:16px;padding:13px;border:1px solid #e6e2ff;border-radius:13px;background:#f8f6ff}.web-support-welcome p{margin:4px 0 0;color:var(--support-muted);font-size:13px}.web-support-ai-mark{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:11px;background:var(--support-primary);color:#fff;font-weight:900}.web-support-panel form{display:grid;gap:11px;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:0 16px 17px}.web-support-panel form::-webkit-scrollbar{width:0;height:0}.web-support-panel label,.support-start-card label{display:grid;gap:5px;color:var(--support-text);font-size:13px;font-weight:700}.web-support-panel input,.web-support-panel select,.web-support-panel textarea,.support-start-card input,.support-start-card select,.support-start-card textarea,.support-reply-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--support-border);border-radius:10px;background:#fff;color:var(--support-text);padding:10px 11px;font:inherit;outline:none}.web-support-panel input:focus,.web-support-panel select:focus,.web-support-panel textarea:focus,.support-start-card input:focus,.support-start-card select:focus,.support-start-card textarea:focus,.support-reply-form textarea:focus{border-color:var(--support-primary);box-shadow:0 0 0 3px rgba(91,75,231,.13)}.web-support-primary,.support-submit,.support-reply-form button,.support-ticket-sidebar form button{min-height:42px;border:0;border-radius:10px;background:var(--support-primary);color:#fff;font-weight:800;cursor:pointer}.web-support-primary:hover,.support-submit:hover,.support-reply-form button:hover,.support-ticket-sidebar form button:hover{background:var(--support-primary-dark)}.web-support-secondary{display:grid;place-items:center;min-height:40px;border:1px solid var(--support-border);border-radius:10px;color:var(--support-text);font-weight:700;text-decoration:none}.web-support-form-error,.support-validation{padding:9px 10px;border-radius:9px;background:#fff0f2;color:#a91f35;font-size:13px}.web-support-panel>footer{flex:0 0 auto;padding:11px 16px;border-top:1px solid var(--support-border);background:var(--support-soft);color:var(--support-muted);font-size:11px}
.support-public-page,.support-ticket-page{max-width:1240px;margin:0 auto;padding:34px 22px 60px;color:var(--support-text)}.support-public-hero,.support-ticket-header{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:24px;padding:26px;border:1px solid var(--support-border);border-radius:20px;background:linear-gradient(135deg,#fff 0%,#f4f1ff 100%)}.support-kicker{display:block;margin-bottom:7px;color:var(--support-primary);font-size:12px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.support-public-hero h1,.support-ticket-header h1,.support-ticket-header h4{margin:0;font-size:clamp(30px,4vw,48px)}.support-public-hero p,.support-ticket-header p{margin:8px 0 0;color:var(--support-muted)}.support-public-status{display:grid;grid-template-columns:12px 1fr;gap:3px 9px;min-width:270px;padding:15px;border-radius:14px;background:#fff;border:1px solid var(--support-border)}.support-public-status>span{grid-row:1/3;width:11px;height:11px;margin-top:4px;border-radius:50%;background:#aab3c2}.support-public-status.online>span{background:#25bd7d}.support-public-status small{color:var(--support-muted)}.support-public-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr);gap:22px}.support-public-card,.support-conversation-card{border:1px solid var(--support-border);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(30,45,74,.06)}.support-start-card{display:grid;gap:15px;padding:24px}.support-start-card h2,.support-explainer h2,.support-ticket-sidebar h2{margin:0 0 8px}.support-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.support-checkbox{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.support-checkbox input{width:auto!important}.support-explainer{padding:24px}.support-explainer ol{display:grid;gap:18px;padding-left:22px}.support-explainer li{padding-left:5px}.support-explainer li b,.support-explainer li span{display:block}.support-explainer li span{margin-top:3px;color:var(--support-muted);font-size:14px}.support-channel-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.support-channel-list span{padding:8px 10px;border-radius:999px;background:#f0edff;color:var(--support-primary);font-size:12px;font-weight:800}
.support-ticket-header-meta{display:grid;gap:7px;min-width:220px}.support-status{display:inline-flex;justify-self:start;padding:7px 11px;border-radius:999px;background:#eef1f6;color:#48566c;font-weight:800}.status-open,.status-queued,.status-waitingforagent{background:#e7f3ff;color:#1769aa}.status-waitingforcustomer{background:#fff1cf;color:#966300}.status-resolved{background:#ddf7ea;color:#14764e}.status-closed{background:#e8eaf0;color:#555f70}.support-notice{margin-bottom:14px;padding:12px 14px;border-radius:12px;background:#e4f8ef;color:#176d4d}.support-ticket-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.support-conversation-card{overflow:hidden}.support-conversation{display:grid;gap:14px;align-content:start;height:auto;min-height:0;max-height:620px;overflow:auto;padding:22px;background:#f8f9fc}.support-message{display:flex;gap:10px;max-width:82%}.support-message>div:last-child{min-width:0;padding:11px 13px;border-radius:4px 14px 14px 14px;background:#fff;border:1px solid var(--support-border)}.support-message.message-customer,.support-message.message-guest{justify-self:end;flex-direction:row-reverse}.support-message.message-customer>div:last-child,.support-message.message-guest>div:last-child{border-radius:14px 4px 14px 14px;background:#ede9ff;border-color:#d9d1ff}.support-message.is-ai>div:last-child{background:#f2f0ff}.support-message-avatar{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:var(--support-primary);color:#fff;font-size:12px;font-weight:900}.support-message header{display:flex;gap:10px;justify-content:space-between;align-items:center}.support-message time{color:var(--support-muted);font-size:11px}.support-message p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.support-reply-form{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border-top:1px solid var(--support-border)}.support-reply-form button{padding:0 22px}.support-ticket-sidebar{display:grid;gap:15px;align-content:start}.support-ticket-sidebar section{padding:18px}.support-ticket-sidebar dl{display:grid;grid-template-columns:auto 1fr;gap:8px 12px}.support-ticket-sidebar dt{color:var(--support-muted)}.support-ticket-sidebar dd{margin:0;text-align:right;font-weight:700}.support-attachment-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center;padding:9px 0;border-bottom:1px solid var(--support-border);font-size:13px}.support-attachment-row span{overflow:hidden;text-overflow:ellipsis}.support-attachment-row b{padding:4px 7px;border-radius:999px;background:#fff2d6;color:#91640b;font-size:10px}.support-attachment-row b.scan-clean,.support-attachment-row b.scan-released{background:#dcf7e9;color:#16774f}.support-attachment-row b.scan-blocked{background:#ffe2e6;color:#a81f34}.support-ticket-sidebar form{display:grid;gap:8px;margin-top:14px}.support-ticket-sidebar form input[type=file]{width:100%;font-size:12px}.support-ticket-sidebar small{display:block;margin-top:8px;color:var(--support-muted)}
@media(max-width:850px){.support-public-grid,.support-ticket-layout{grid-template-columns:1fr}.support-public-hero,.support-ticket-header{align-items:flex-start;flex-direction:column}.support-public-status{min-width:0;width:100%;box-sizing:border-box}.support-ticket-sidebar{grid-template-columns:1fr 1fr}}@media(max-width:600px){.web-support-widget{right:12px;bottom:12px}.web-support-launcher{min-height:46px}.support-public-page,.support-ticket-page{padding:20px 12px 45px}.support-public-hero,.support-ticket-header{padding:19px}.support-two-columns,.support-ticket-sidebar{grid-template-columns:1fr}.support-message{max-width:94%}.support-reply-form{grid-template-columns:1fr}.support-reply-form button{min-height:40px}}

/* Support history and silent anti-spam field */
.support-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.support-history-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid var(--store-border,#dbe3ef);border-radius:12px;background:var(--store-surface,#fff);color:var(--store-primary,#4f46e5);font-weight:800;text-decoration:none}
.support-history-card{padding:0;overflow:hidden}.support-history-list{display:grid}.support-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:18px 20px;border-bottom:1px solid var(--store-border,#e5e7eb);color:inherit;text-decoration:none}.support-history-row:last-child{border-bottom:0}.support-history-row:hover{background:color-mix(in srgb,var(--store-primary,#4f46e5) 5%,white)}.support-history-row>div{display:grid;gap:5px}.support-history-row>div:last-child{justify-items:end}.support-history-row span,.support-history-row small,.support-history-row time{color:#64748b}.support-history-row strong{font-size:1rem}.support-empty-state{text-align:center;padding:54px 20px}.support-empty-state strong{font-size:1.1rem}.support-empty-state p{color:#64748b}
@media(max-width:640px){.support-history-row{grid-template-columns:1fr}.support-history-row>div:last-child{justify-items:start}.support-public-hero .support-history-link{width:100%}}
.support-rating-form{display:grid;gap:12px}.support-rating-stars{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:3px}.support-rating-stars input{position:absolute;opacity:0;pointer-events:none}.support-rating-stars label{font-size:28px;color:#cbd5e1;cursor:pointer}.support-rating-stars input:checked~label,.support-rating-stars label:hover,.support-rating-stars label:hover~label{color:#f59e0b}.support-rating-form textarea{width:100%;border:1px solid var(--store-border,#dbe3ef);border-radius:10px;padding:10px}.support-rating-form button{min-height:40px;border:0;border-radius:10px;background:var(--store-primary,#4f46e5);color:#fff;font-weight:800}

/* Help Desk cross-application real-time, close/reopen and typing states */
.support-realtime-state{display:inline-flex;align-items:center;gap:7px;color:var(--support-muted);font-size:11px;font-weight:800}.support-realtime-state>i{width:8px;height:8px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.18)}.support-realtime-state.is-live{color:#14764e}.support-realtime-state.is-live>i{background:#25bd7d;box-shadow:0 0 0 3px rgba(37,189,125,.16)}.support-realtime-state.is-reconnecting{color:#996300}.support-realtime-state.is-reconnecting>i{background:#f2ad2e;animation:support-live-pulse 1.2s infinite}.support-realtime-state.is-offline{color:#a82a3f}.support-realtime-state.is-offline>i{background:#d95d70}@keyframes support-live-pulse{50%{opacity:.35;transform:scale(.78)}}
.support-live-toast{position:fixed;right:20px;top:20px;z-index:2500;max-width:min(420px,calc(100vw - 28px));padding:13px 16px;border:1px solid var(--support-border);border-radius:13px;background:#fff;color:var(--support-text);box-shadow:0 18px 44px rgba(24,39,70,.2);font-weight:800}.support-live-toast.is-success{border-color:#a8e3c8;background:#edfbf5;color:#146e4a}.support-live-toast.is-error{border-color:#f0b8c1;background:#fff1f3;color:#a51e34}.support-live-toast.is-info{border-color:#c9d7fb;background:#f1f5ff;color:#315a9f}
.support-conversation-closed{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;margin:0 0 16px;padding:16px 18px;border:1px solid color-mix(in srgb,var(--support-primary) 28%,var(--support-border));border-radius:16px;background:color-mix(in srgb,var(--support-primary) 6%,#fff);box-shadow:0 8px 22px rgba(30,45,74,.05)}.support-conversation-closed-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--support-primary);color:#fff;font-weight:900}.support-conversation-closed strong{display:block;margin-bottom:4px}.support-conversation-closed p{margin:0;color:var(--support-muted);font-size:13px;line-height:1.5}.support-conversation-closed-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.support-reopen-button,.support-close-window-button{min-height:38px;padding:0 14px;border-radius:10px;font:inherit;font-size:13px;font-weight:850;cursor:pointer}.support-reopen-button{border:1px solid var(--support-primary);background:var(--support-primary);color:#fff}.support-reopen-button:hover{background:var(--support-primary-dark)}.support-close-window-button{border:1px solid var(--support-border);background:#fff;color:var(--support-text)}.support-close-window-button:hover{border-color:var(--support-primary);color:var(--support-primary)}.support-reopen-button:disabled{opacity:.55;cursor:wait}
.support-typing-indicator{display:flex;align-items:center;gap:9px;min-height:31px;padding:7px 18px;border-top:1px solid var(--support-border);background:#fbfcff;color:var(--support-muted);font-size:12px;font-weight:750}.support-typing-dots{display:inline-flex;gap:3px}.support-typing-dots i{display:block;width:6px;height:6px;border-radius:50%;background:var(--support-primary);animation:support-typing-bounce 1.15s infinite ease-in-out}.support-typing-dots i:nth-child(2){animation-delay:.16s}.support-typing-dots i:nth-child(3){animation-delay:.32s}@keyframes support-typing-bounce{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}
.support-conversation-card [hidden],.support-ticket-page [hidden]{display:none!important}
@media(max-width:760px){.support-conversation-closed{grid-template-columns:auto 1fr}.support-conversation-closed-actions{grid-column:1/-1;justify-content:stretch}.support-conversation-closed-actions button{flex:1 1 150px}.support-live-toast{right:12px;top:12px}.support-ticket-header-meta{width:100%}}


/* Logged-in customer support identity: account data is trusted from authentication and is not re-entered. */
.support-account-summary{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--support-border);border-radius:13px;background:var(--support-soft)}
.support-account-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--support-primary);color:#fff;font-size:17px;font-weight:900}
.support-account-summary>div{display:grid;gap:2px;min-width:0}.support-account-summary small{color:var(--support-muted);font-size:11px;font-weight:700}.support-account-summary strong,.support-account-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-account-summary span{color:var(--support-muted);font-size:12px}.support-account-summary a{padding:8px 10px;border:1px solid var(--support-border);border-radius:9px;color:var(--support-primary);font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.web-support-account-summary{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:10px 11px;border:1px solid var(--support-border);border-radius:11px;background:var(--support-soft)}
.web-support-account-summary>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--support-primary);color:#fff;font-weight:900}.web-support-account-summary>div{display:grid;gap:1px;min-width:0}.web-support-account-summary small{color:var(--support-muted);font-size:10px}.web-support-account-summary strong,.web-support-account-summary em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.web-support-account-summary em{color:var(--support-muted);font-size:11px;font-style:normal;font-weight:500}
@media(max-width:600px){.support-account-summary{grid-template-columns:42px minmax(0,1fr)}.support-account-summary a{grid-column:1/-1;text-align:center}}

/* Help Desk live-presence modes */
.web-support-launcher b.ai-online{background:#f0b429}.web-support-widget[data-support-mode="AiOnly"] .web-support-launcher{background:linear-gradient(135deg,#5b4be7,#8a66f3)}.web-support-widget[data-support-mode="Offline"] .web-support-launcher{background:#596579}.support-public-status.humanonline span{background:#24b47e}.support-public-status.aionly span{background:#f0b429}.support-public-status.offline span{background:#8a94a6}

/* Help Desk compact chat and content-height conversation */
.support-message-avatar,.staff-message-avatar{background:var(--profile-color,var(--support-primary));overflow:hidden}.support-message-avatar img,.staff-message-avatar img{width:100%;height:100%;object-fit:cover;display:block}.support-ticket-header h4{margin:0;font-size:clamp(20px,2.3vw,28px);letter-spacing:.02em}.support-leave-chat-button{justify-self:start;min-height:34px;padding:0 12px;border:1px solid var(--support-border);border-radius:9px;background:#fff;color:var(--support-text);font-weight:800;cursor:pointer}.web-support-chat-shell{display:grid;grid-template-rows:auto minmax(0,1fr);height:min(650px,calc(100vh - 120px))}.web-support-chat-actions{display:flex;gap:8px;padding:9px 12px;border-bottom:1px solid var(--support-border);background:#fff}.web-support-chat-actions a,.web-support-chat-actions button{flex:1;min-height:34px;border:1px solid var(--support-border);border-radius:8px;background:#fff;color:var(--support-text);font:inherit;font-size:12px;font-weight:800;text-decoration:none;display:grid;place-items:center;cursor:pointer}.web-support-chat-shell iframe{width:100%;height:100%;border:0;background:#fff}.support-compact-body>.announcement,.support-compact-body>.store-header,.support-compact-body>.category-nav,.support-compact-body>footer,.support-compact-body>[data-web-support-widget]{display:none!important}.support-compact-body>main{min-height:0}.support-compact-body .support-ticket-page{max-width:none;margin:0;padding:8px}.support-compact-body .support-ticket-header,.support-compact-body .support-ticket-sidebar{display:none}.support-compact-body .support-ticket-layout{display:block}.support-compact-body .support-conversation-card{border:0;border-radius:0;box-shadow:none}.support-compact-body .support-conversation{max-height:none;padding:12px;overflow:visible}.support-compact-body .support-reply-form{position:sticky;bottom:0;background:#fff}.support-compact-body .support-conversation-closed{margin:0 0 8px}.support-profile-editor{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.support-profile-preview{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--profile-color,#5b4be7);color:#fff;font-weight:900;overflow:hidden}.support-profile-preview img{width:100%;height:100%;object-fit:cover}

/* The widget uses the HTML hidden state to replace the startup form with the active chat.
   Explicit component display rules must never override that state. */
.web-support-widget[hidden],
.web-support-panel[hidden],
.web-support-panel [hidden]{display:none!important}

.web-support-panel>[data-support-start-form]{flex:1 1 auto;min-height:0}

/* Active support session: fixed controls with scrolling limited to the conversation. */
.web-support-widget[data-support-active="true"] .web-support-panel{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  height:min(690px,calc(100dvh - 90px));
  max-height:min(690px,calc(100dvh - 90px));
  overflow:hidden;
}
.web-support-widget[data-support-active="true"] .web-support-panel>header{
  position:relative;
  top:auto;
  flex:0 0 auto;
}
.web-support-widget[data-support-active="true"] .web-support-chat-shell{
  height:auto;
  min-height:0;
  overflow:hidden;
}
.web-support-widget[data-support-active="true"] .web-support-chat-actions{
  position:relative;
  z-index:1;
  flex:0 0 auto;
}
.web-support-widget[data-support-active="true"] .web-support-chat-shell iframe{
  display:block;
  min-height:0;
  overflow:hidden;
}

/* The compact iframe is a fixed chat viewport. Its document never scrolls. */
body.support-compact-body{
  height:100dvh;
  min-height:0;
  overflow:hidden;
}
.support-compact-body>main{
  height:100dvh;
  min-height:0;
  overflow:hidden;
}
.support-compact-body .support-ticket-page{
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  min-height:0;
  max-width:none;
  margin:0;
  padding:0;
  overflow:hidden;
}
.support-compact-body .support-conversation-closed{
  flex:0 0 auto;
  margin:0;
}
.support-compact-body .support-ticket-layout{
  display:block;
  flex:1 1 auto;
  width:100%;
  height:auto;
  min-height:0;
  overflow:hidden;
}
.support-compact-body .support-conversation-card{
  display:grid;
  grid-template-rows:minmax(0,1fr) auto auto;
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.support-compact-body .support-conversation{
  height:auto;
  min-height:0;
  max-height:none;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:12px;
}
.support-compact-body .support-typing-indicator,
.support-compact-body .support-reply-form{
  position:relative;
  inset:auto;
  flex:0 0 auto;
  background:#fff;
}
.support-compact-body .support-reply-form{
  grid-template-columns:1fr;
  margin:0;
  padding:14px 12px 12px;
}
.support-compact-body .support-reply-form textarea{
  min-height:86px;
  max-height:130px;
  resize:vertical;
}
.support-compact-body .support-reply-form button{
  min-height:41px;
}

/* A full support ticket is a dedicated fixed session page, not another start form. */
body.support-session-body{
  height:100dvh;
  min-height:0;
  overflow:hidden;
}
.support-session-body>.announcement,
.support-session-body>.store-header,
.support-session-body>.category-nav,
.support-session-body>footer,
.support-session-body>[data-web-support-widget]{
  display:none!important;
}
.support-session-body>main{
  width:100%;
  height:100dvh;
  min-height:0;
  overflow:hidden;
}
.support-session-body .support-ticket-page{
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  min-height:0;
  max-width:1440px;
  margin:0 auto;
  padding:16px 18px;
  overflow:hidden;
}
.support-session-body .support-ticket-header{
  flex:0 0 auto;
  margin-bottom:12px;
  padding:17px 20px;
}
.support-session-body .support-notice,
.support-session-body .support-conversation-closed{
  flex:0 0 auto;
  margin-bottom:12px;
}
.support-session-body .support-ticket-layout{
  flex:1 1 auto;
  min-height:0;
  height:auto;
  overflow:hidden;
}
.support-session-body .support-conversation-card{
  display:grid;
  grid-template-rows:minmax(0,1fr) auto auto;
  height:100%;
  min-height:0;
  overflow:hidden;
}
.support-session-body .support-conversation{
  height:auto;
  min-height:0;
  max-height:none;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.support-session-body .support-typing-indicator,
.support-session-body .support-reply-form{
  position:relative;
  inset:auto;
  flex:0 0 auto;
  background:#fff;
}
.support-session-body .support-ticket-sidebar{
  min-height:0;
  overflow:hidden;
}

@media(max-width:850px){
  .support-session-body .support-ticket-page{padding:10px}
  .support-session-body .support-ticket-header{margin-bottom:8px;padding:14px 16px}
  .support-session-body .support-ticket-layout{grid-template-columns:1fr}
  .support-session-body .support-ticket-sidebar{display:none}
}
@media(max-width:600px){
  .web-support-widget[data-support-active="true"] .web-support-panel{
    height:calc(100dvh - 76px);
    max-height:calc(100dvh - 76px);
  }
  .support-session-body .support-ticket-header{gap:10px}
  .support-session-body .support-ticket-header-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
  .support-session-body .support-reply-form{grid-template-columns:1fr}
}

/* Customer confirmation before ending an active support conversation. */
.support-end-confirm-overlay[hidden]{display:none!important}
.support-end-confirm-overlay{position:fixed;inset:0;z-index:10090;display:grid;place-items:center;padding:18px;background:rgba(15,24,40,.52)}
.web-support-panel>.support-end-confirm-overlay{position:absolute;border-radius:inherit}
.support-end-confirm-card{display:grid;gap:10px;width:min(360px,calc(100% - 24px));box-sizing:border-box;padding:20px;border:1px solid var(--support-border);border-radius:14px;background:var(--support-surface);color:var(--support-text);box-shadow:0 18px 45px rgba(23,34,58,.25)}
.support-end-confirm-card strong{font-size:18px}.support-end-confirm-card p{margin:0;color:var(--support-muted);line-height:1.45}
.support-end-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.support-end-confirm-actions button{min-height:42px;border-radius:10px;font:inherit;font-weight:800;cursor:pointer}
.support-end-confirm-no{border:1px solid var(--support-border);background:var(--support-surface);color:var(--support-text)}
.support-end-confirm-yes{border:1px solid var(--support-danger);background:var(--support-danger);color:#fff}
.support-end-confirm-actions button:focus-visible{outline:3px solid rgba(91,75,231,.24);outline-offset:2px}

/* Dedicated compact-route failure state. It can never render the storefront in the chat iframe. */
.support-compact-unavailable{min-height:100dvh;box-sizing:border-box;display:grid;place-content:center;justify-items:center;gap:10px;padding:28px;text-align:center;background:var(--support-soft);color:var(--support-text)}
.support-compact-unavailable-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fff0f2;color:#a91f35;font-size:26px;font-weight:900}
.support-compact-unavailable strong{font-size:18px}.support-compact-unavailable p{max-width:290px;margin:0;color:var(--support-muted);line-height:1.5}
