/* Assistant panel visual system. Native visibility, permissions and routing stay authoritative. */
@media screen {
html body.product-support.style1.assistant-admin {
  --bg:#f3f5f7; --surface:#fff; --soft:#f7f9fa; --surface-2:var(--soft);
  --text:#1c2a35; --muted:#5d6b77; --line:#e5eaf0;
  --accent:#087e78; --accent-strong:#087e78; --accent-bright:#087e78; --tint:#e9f6f3;
  --sidebar:#141e28; --sidebar-soft:#243c43; --sidebar-text:#e7edf3; --sidebar-muted:#aebdca;
  --polish-blue:var(--accent); --polish-blue-hover:var(--accent-strong); --polish-field:var(--line);
  --polish-success:var(--accent); --shadow:0 3px 18px #1b2b4010;
  --r-s:8px; --r-m:12px; --r-l:16px;
  --sh-1:0 1px 2px color-mix(in srgb,var(--text) 5%,transparent),0 6px 20px color-mix(in srgb,var(--text) 6%,transparent);
  --sh-2:0 2px 4px color-mix(in srgb,var(--text) 6%,transparent),0 12px 32px color-mix(in srgb,var(--text) 10%,transparent);
  --color-bg:var(--bg); --color-background:var(--bg); --color-surface:var(--surface);
  --color-surface-2:var(--soft); --color-surface-offset:var(--soft); --color-border:var(--line);
  --color-text:var(--text); --color-text-strong:var(--text); --color-text-muted:var(--muted);
  --color-primary:var(--accent); --color-primary-hover:var(--accent-strong); --color-primary-soft:var(--tint);
  --color-accent:var(--accent); --color-success:var(--polish-success);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:14px!important; line-height:1.5!important;
}
html body.product-support.style1.assistant-admin.theme-dark,
html.theme-dark-pending body.product-support.style1.assistant-admin:not(.theme-light) {
  --bg:#11181f; --surface:#1a232d; --soft:#202c37; --text:#eaf1f6; --muted:#9cabb9;
  --line:#2d3a47; --accent:#57cbbb; --accent-strong:#57cbbb; --accent-bright:#57cbbb; --tint:#213d3d;
  --polish-field:var(--line); --polish-success:var(--accent); --shadow:0 3px 18px #0001;
  --sh-1:0 1px 2px #0004,0 8px 24px #0003; --sh-2:0 2px 6px #0005,0 14px 36px #0004;
}
html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) {
  --ov-accent:var(--accent)!important; --support-a:var(--accent);
  --ov-surface:var(--surface); --ov-text:var(--text); --ov-muted:var(--muted); --ov-line:var(--line);
  --ov-ok:var(--polish-success); --ov-green:var(--polish-success); --ov-blue:#4678d3;
  --r-l:16px;
}
/* Shell and navy navigation. Scroll stays on the sidebar, including its footer. */
html body.product-support.style1.assistant-admin .main-content-wrap {
  padding:0 20px 28px!important; background:var(--bg)!important;
}
html body.product-support.style1.assistant-admin .style1-topline {
  min-height:54px; padding:8px 0!important; border-color:var(--line)!important;
  font-size:13px!important; gap:12px; color:var(--muted)!important;
  background:transparent!important; margin-inline:0; padding-inline:0!important;
}
/* Status timestamps stay readable beside the menu at 320px. */
html body.product-support.style1.assistant-admin .style1-top-actions {
  min-width:0; max-width:100%; gap:10px;
}
html body.product-support.style1.assistant-admin #supportTopStatus {
  min-width:0; max-width:100%; white-space:normal; overflow-wrap:anywhere; line-height:1.4;
}
html body.product-support.style1.assistant-admin .style1-topline>b {
  font-size:14px; font-weight:600; color:var(--text)!important;
}
html body.product-support.style1.assistant-admin #operatorsTabs {
  --ov-accent:#71d8c7; --ov-active:#243c43; --ov-muted:#aebdca; --ov-text:#e7edf3;
  --ov-surface:#141e28; --ov-line:#32404c; --ov-hover:#25333f; --ov-focus:#55bfb4;
  padding-top:16px!important; padding-bottom:16px!important;
  background:#141e28!important; scrollbar-width:thin; scrollbar-color:#32404c #141e28;
  overflow-y:auto!important; overscroll-behavior:contain; scroll-padding-block:16px;
}
html body.product-support.style1.assistant-admin #operatorsTabs>:is(.nav-group,#s2ExtBrand,#s2ExtActions) { flex-shrink:0; }
html body.product-support.style1.assistant-admin #s2ExtBrand { margin-bottom:16px!important; }
html body.product-support.style1.assistant-admin #s2ExtBrand .logo {
  border-radius:9px!important; background:#44c4b4!important; color:#102c31!important; box-shadow:none!important;
}
html body.product-support.style1.assistant-admin #operatorsTabs .nav-group-title {
  color:#a9bad4!important; letter-spacing:.07em!important; font-size:11px!important; font-weight:600!important;
  margin:19px 10px 7px!important;
}
html body.product-support.style1.assistant-admin #operatorsTabs .nav-group[data-product="support"] .seg-tab.seg-tab {
  min-height:38px!important; height:auto!important; padding:8px 10px!important; border-radius:8px!important;
  color:#c8d4e8!important; transition:background-color .15s,color .15s;
}
html body.product-support.style1.assistant-admin #operatorsTabs .nav-group[data-product="support"] .seg-tab.seg-tab:is(.active,.layout-parent-active) {
  background:#243c43!important; color:#71d8c7!important; box-shadow:none!important;
}
html body.product-support.style1.assistant-admin #operatorsTabs .nav-group[data-product="support"] .seg-tab.seg-tab:is(.active,.layout-parent-active) :is(.tab-icon,.tab-sub) { color:#71d8c7!important; }
html body.product-support.style1.assistant-admin #operatorsTabs .tab-text { font-size:13px!important; line-height:1.45!important; }
html body.product-support.style1.assistant-admin #operatorsTabs .tab-icon { color:inherit!important; flex:0 0 22px!important; width:22px!important; height:22px!important; }
html body.product-support.style1.assistant-admin #operatorsTabs .tab-icon svg { width:18px!important; height:18px!important; }
html body.product-support.style1.assistant-admin #s2ExtActions.wsf-ready { order:10; margin-top:auto!important; padding-top:16px!important; }
html body.product-support.style1.assistant-admin #s2ExtActions .wsf-profile { background:transparent; border-radius:9px; }
html body.product-support.style1.assistant-admin #s2ExtActions .wsf-avatar { background:#dceee8; color:#33756a; }
html body.product-support.style1.assistant-admin #s2ExtActions .wsf-role { font-size:12px; }
html body.product-support.style1.assistant-admin #s2ExtActions .wsf-actions .wsf-btn {
  min-height:40px!important; min-width:40px!important; border-radius:8px!important;
}
/* Consistent page hierarchy across operator, knowledge and management sections. */
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.section-head,.wm-heading) {
  margin-top:16px!important; margin-bottom:14px!important; gap:12px!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.section-head,.wm-heading) h2 {
  font-family:inherit!important; font-size:18px!important; line-height:1.25!important;
  font-weight:700!important; letter-spacing:-.25px!important; color:var(--text)!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.section-head,.wm-heading) p {
  font-size:13px!important; line-height:1.6!important; margin-top:6px!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(h3,.wn-title h3,.wov2-title h3) {
  font-family:inherit!important; font-size:15px!important; line-height:1.45; font-weight:650; letter-spacing:-.15px;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wn-help,.wn-muted,.wov2-muted,.c-foot,.wm-def,.wm-muted,.ws-note,.ws-field-note,small,label) {
  font-size:13px!important; line-height:1.55!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.c-card,.wm-panel,.wo-panel,.sm-panel,.support-settings-card,.wc-card,.wci-card,.support-card,.support-pane) {
  border:1px solid var(--line)!important; border-radius:10px!important;
  background:var(--surface)!important; box-shadow:var(--shadow)!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wn-box,.wov2-box,.wm-panel,.wo-panel,.sm-panel,.support-settings-card) {
  padding:14px!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wn-kpi,.wov2-kpi) {
  padding:14px!important; border-top-width:1px!important;
  background:var(--surface)!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.c-value,.wm-metric strong) {
  font-size:24px!important; line-height:1.15!important; letter-spacing:-.8px; font-variant-numeric:tabular-nums;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell .c-ico {
  border-radius:9px!important; background:color-mix(in srgb,var(--tone,var(--accent)) 10%,var(--surface))!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wn-help,.wm-note,.ws-mode-op) {
  border-color:color-mix(in srgb,var(--accent) 20%,var(--line))!important;
  background:color-mix(in srgb,var(--accent) 4%,var(--surface))!important; border-radius:10px!important;
}
/* Buttons and fields: long action names wrap instead of losing their controls. */
html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(.support-btn,.wci-btn,.btn) {
  min-height:34px!important; max-width:100%; min-width:0; height:auto!important;
  padding:6px 12px!important; border-radius:8px!important; border-color:var(--polish-field)!important;
  font-size:13px!important; font-weight:600!important; line-height:1.45!important;
  white-space:normal!important; overflow-wrap:anywhere; text-align:center;
  transition:background-color .15s,border-color .15s;
}
html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(.support-btn.primary,.wci-btn.primary):not(:disabled):not([aria-disabled=true]) {
  background:var(--accent)!important; border-color:var(--accent)!important; color:#fff!important;
  box-shadow:none!important;
}
html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(.support-btn.primary,.wci-btn.primary):hover:not(:disabled):not([aria-disabled=true]) {
  background:var(--accent-strong)!important; border-color:var(--accent-strong)!important;
}
html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(.support-btn,.wci-btn,.btn):is(:disabled,[aria-disabled=true]) {
  background:color-mix(in srgb,var(--muted) 7%,var(--surface))!important;
  color:var(--muted)!important; border-color:var(--line)!important; box-shadow:none!important;
}
html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) {
  min-height:34px!important; max-width:100%; min-width:0; border:1px solid var(--polish-field)!important;
  border-radius:8px!important; padding:6px 10px!important; background:var(--surface)!important;
  color:var(--text)!important; font-size:14px!important; line-height:1.45!important;
}
html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) textarea { resize:vertical; }
html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) ::placeholder { color:var(--muted); }
html body.product-support.style1.assistant-admin :is(button,a,input,select,textarea,summary):focus-visible {
  outline:3px solid color-mix(in srgb,var(--accent) 65%,transparent)!important; outline-offset:3px;
}
/* Native file buttons need their full intrinsic height, including the field padding. */
html body.product-support.style1.assistant-admin #dashboard :is(#wi-file,#ragBulkFile) {
  height:auto!important; min-height:54px!important; padding:6px!important;
}
/* Navigation inside pages, filters, period controls and tables. No display rules override hidden states. */
html body.product-support.style1.assistant-admin .support-shell :is(.layout-tabs,.wbk-tabs,.wan-tabs,.wci-tabs,.smx-tabs) {
  padding:5px; gap:6px; border:1px solid var(--line); border-radius:10px;
  background:var(--surface); margin-bottom:18px;
}
html body.product-support.style1.assistant-admin .support-shell :is(.layout-tabs,.wbk-tabs,.wan-tabs,.wci-tabs,.smx-tabs,.wn-seg,.wov2-seg) button {
  min-height:32px!important; height:auto!important; padding:6px 10px!important;
  border-radius:7px!important; font-size:13px!important; line-height:1.4!important;
  white-space:normal!important; color:var(--muted)!important;
}
html body.product-support.style1.assistant-admin .support-shell :is(.layout-tabs,.wbk-tabs,.wan-tabs,.wci-tabs,.smx-tabs,.wn-seg,.wov2-seg) button:is(.active,.selected,[aria-selected=true],[aria-pressed=true]) {
  background:var(--tint)!important; color:var(--accent)!important; box-shadow:inset 0 -2px var(--accent)!important; font-weight:650!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.panel-dialog-filters,.wa-filters,.wm-toolbar) {
  gap:12px; row-gap:12px; flex-wrap:wrap; align-items:end;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.panel-dialog-filters,.wa-filters) {
  padding:12px!important; background:var(--surface)!important; border:1px solid var(--line)!important;
  border-radius:12px!important; margin-bottom:18px!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wn-actions,.support-actions,.ws-actions,.ws-draftbar-actions,.wm-toolbar) { flex-wrap:wrap; }
html body.product-support.style1.assistant-admin #dashboard .support-shell table {
  border-collapse:collapse!important; font-size:13px!important; font-variant-numeric:tabular-nums;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell th {
  background:var(--soft)!important; color:var(--muted)!important; border-color:var(--line)!important;
  padding:10px!important; font-size:12px!important; font-weight:600!important; line-height:1.5;
  letter-spacing:0!important; text-transform:none!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell td {
  padding:10px!important; border-color:var(--line)!important; font-size:13px!important; line-height:1.55;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell tbody tr:hover>td { background:color-mix(in srgb,var(--accent) 3%,var(--surface))!important; }
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wn-row,.wm-row,.wo-material,.smx-hist-row) { border-color:var(--line)!important; }
/* Conversations, search results and review editors share a quiet blue reading surface. */
html body.product-support.style1.assistant-admin #dashboard :is(#section-support-dialogs,#section-support-handoff) .support-pane-list { padding:8px!important; }
html body.product-support.style1.assistant-admin #dashboard :is(#section-support-dialogs,#section-support-handoff) .support-row {
  border-radius:8px!important; padding:14px!important; margin-bottom:3px;
}
html body.product-support.style1.assistant-admin #dashboard :is(#section-support-dialogs,#section-support-handoff) .support-row.active {
  background:var(--tint)!important; box-shadow:inset 3px 0 var(--accent)!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell .support-chat { background:var(--soft)!important; }
html body.product-support.style1.assistant-admin #dashboard .support-shell .support-bubble {
  border-radius:12px!important; box-shadow:0 1px 3px #17263e08!important; font-size:14px!important; line-height:1.65!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell .support-bubble.out { background:var(--tint)!important; color:var(--text)!important; }
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wr-comparison>section,.smx-kpi,.wm-metric,.wk-act,.wci-summary>div) {
  border-radius:9px!important; border-color:var(--line)!important; background:var(--soft)!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wm-badge,.support-pill,.wci-tag) { font-size:12px!important; line-height:1.4!important; }
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wov2-legend,.wa-delta,.support-bubble-meta) { flex-wrap:wrap; white-space:normal!important; }
/* Draft approval actions move as complete buttons onto the next row on narrow screens. */
html body.product-support.style1.assistant-admin #dashboard .support-shell .support-message-actions { flex-wrap:wrap; }
html body.product-support.style1.assistant-admin #dashboard .support-shell .support-message-actions .support-btn {
  flex-shrink:0; white-space:nowrap!important; overflow-wrap:normal;
}
/* Source badges stay inside their table cell at every viewport width. */
html body.product-support.style1.assistant-admin #section-support-rag :is(.rag-src-wrap,.rag-src) { min-width:0; max-width:100%; }
html body.product-support.style1.assistant-admin #section-support-rag .rag-src { white-space:normal; overflow-wrap:anywhere; }
html body.product-support.style1.assistant-admin #section-support-rag .rag-src svg { flex-shrink:0; }
/* Short material actions stay on one line within the existing wrapping action group. */
html body.product-support.style1.assistant-admin #section-support-rag :is([data-rag-toggle],[data-rag-edit],.delete-chunk-btn,#ragPrevPageBtn,#ragNextPageBtn) {
  flex-shrink:0; white-space:nowrap!important; overflow-wrap:normal; min-width:max-content; padding-inline:10px!important;
}
/* Test results keep long verdicts and grades inside their own grid cell. */
html body.product-support.style1.assistant-admin #section-support-testlab :is(.wtl-row-main,.wtl-res-head)>* { min-width:0; max-width:100%; }
html body.product-support.style1.assistant-admin #section-support-testlab :is(.wtl-verdict,.wtl-row-main .c-badge,.wtl-res-head .c-badge) {
  white-space:normal!important; overflow-wrap:anywhere; min-width:0; max-width:100%; box-sizing:border-box;
}
/* Live status labels stay inside the verdict column, leaving delivery and timing readable. */
html body.product-support.style1.assistant-admin #section-support-live .wn-row>div:nth-child(3) { min-width:0; max-width:100%; }
html body.product-support.style1.assistant-admin #section-support-live .wlv-verdict { flex-wrap:wrap; min-width:0; max-width:100%; box-sizing:border-box; }
html body.product-support.style1.assistant-admin #section-support-live .wlv-verdict .c-badge { white-space:normal; overflow-wrap:anywhere; min-width:0; max-width:100%; box-sizing:border-box; }
/* Shared dialogs outside page sections use the same visual language. */
html body.product-support.style1.assistant-admin :is(dialog.wc-layer,.wm-dialog,.wo-dialog,.wsx-dialog,.wc-confirm) {
  color:var(--text); background:var(--surface); border:1px solid var(--line)!important;
  border-radius:16px!important; box-shadow:0 20px 70px #07183240!important;
  max-width:calc(100vw - 32px); font-size:14px; line-height:1.6;
}
html body.product-support.style1.assistant-admin :is(dialog.wc-layer,.wm-dialog,.wo-dialog,.wsx-dialog) h3 { font-size:18px; letter-spacing:-.3px; }
html body.product-support.style1.assistant-admin :is(.wc-confirm-actions,.wo-modal-actions,.wm-dialog-actions) { gap:10px; flex-wrap:wrap; }
/* Dialog containers scroll naturally; drawer structure and native open states are unchanged. */
html body.product-support.style1.assistant-admin :is(#wsb-pass,#wx-dialog,#wtl-dialog,#wm-dialog,#wo-modal,#wcf-dialog,#wsx-dialog,#wa-dialog,#wr-dialog,#wci-connect,#wci-ask) {
  max-height:calc(100dvh - 32px); overflow:auto; overscroll-behavior:contain;
  border-color:var(--line)!important; border-radius:14px!important;
  background:var(--surface)!important; color:var(--text)!important;
}
html body.product-support.style1.assistant-admin #wci-drawer { background:var(--surface); color:var(--text); }
html body.product-support.style1.assistant-admin #changeCredsModal { overflow-y:auto; padding:16px; }
html body.product-support.style1.assistant-admin #changeCredsModal .modal {
  max-width:min(520px,100%); max-height:calc(100dvh - 32px); overflow-y:auto;
  padding:24px; border:1px solid var(--line); border-radius:14px;
  background:var(--surface); color:var(--text); box-shadow:0 20px 70px #07183240;
}
html body.product-support.style1.assistant-admin #changeCredsModal .modal-actions { flex-wrap:wrap; gap:10px; }
html body.product-support.style1.assistant-admin #changeCredsModal .btn-primary { background:var(--accent); color:var(--surface); }
/* Keep short close labels intact; long publishing and import actions still wrap. */
html body.product-support.style1.assistant-admin :is(#wo-modal,#wm-dialog,#wx-dialog,#wtl-dialog) :is([data-wo="close"],[data-wm="close"],[data-wx="close"],[data-wtl="close"]) {
  flex-shrink:0; white-space:nowrap!important; overflow-wrap:normal;
}
/* The Assistant keeps the same graphite navigation in both themes. */
html body.product-support.style1.assistant-admin.theme-dark #operatorsTabs { background:#141e28!important; }
html body.product-support.style1.assistant-admin.theme-dark :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) { background:var(--surface)!important; }
html body.product-support.style1.assistant-admin.theme-dark :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(.support-btn.primary,.wci-btn.primary):not(:disabled):not([aria-disabled=true]) { background:var(--accent)!important; border-color:var(--accent)!important; color:var(--surface)!important; box-shadow:none!important; }
/* Responsive: preserve desktop geometry and existing mobile menu mechanics. */
@media(min-width:901px) {
  html body.product-support.style1.assistant-admin #dashboard#dashboard#dashboard .support-shell :is(.support-btn,.wci-btn,.btn) { font-size:12px!important; }
  html body.product-support.style1.assistant-admin #operatorsTabs { width:218px!important; min-width:218px!important; max-width:218px!important; }
  html body.product-support.style1.assistant-admin .main-content-wrap { margin-left:218px!important; }
}
/* On short laptops, reserve the composer and scroll the message area inside the conversation. */
@media(min-width:1250px) and (max-height:800px) {
  html body.product-support.style1.assistant-admin #dashboard :is(#section-support-dialogs,#section-support-handoff)>.section-head {
    margin-top:10px!important; margin-bottom:12px!important;
  }
  html body.product-support.style1.assistant-admin #dashboard :is(#section-support-dialogs,#section-support-handoff) .panel-dialog-filters {
    padding:10px 14px!important; gap:8px 12px; margin-bottom:12px!important;
  }
  html body.product-support.style1.assistant-admin #dashboard :is(#section-support-dialogs,#section-support-handoff) .support-workspace {
    min-height:330px!important; height:calc(100dvh - 290px)!important;
  }
  html body.product-support.style1.assistant-admin #dashboard :is(#section-support-dialogs,#section-support-handoff) .support-conversation { min-height:0!important; }
  html body.product-support.style1.assistant-admin #dashboard #section-support-test>.section-head { margin-top:10px!important; margin-bottom:12px!important; }
  html body.product-support.style1.assistant-admin #dashboard #section-support-test .wt-messages {
    min-height:120px; height:clamp(120px,calc(100dvh - 560px),260px);
  }
}
@media(min-width:1600px) {
  html body.product-support.style1.assistant-admin .main-content-wrap { padding-inline:24px!important; }
}
@media(max-width:1100px) {
  html body.product-support.style1.assistant-admin .main-content-wrap { padding-inline:20px!important; }
  html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wn-box,.wov2-box,.wm-panel,.wo-panel,.sm-panel,.support-settings-card) { padding:14px!important; }
}
@media(max-width:900px) {
  html body.product-support.style1.assistant-admin .style1-topline { margin-inline:-16px; padding-inline:16px!important; }
  /* The mobile drawer must scroll vertically instead of wrapping groups into clipped columns. */
  html body.product-support.style1.assistant-admin #operatorsTabs { flex-flow:column nowrap!important; align-items:stretch!important; }
  html body.product-support.style1.assistant-admin .main-content-wrap { margin-left:0!important; padding-inline:16px!important; }
  html body.product-support.style1.assistant-admin #operatorsTabs { padding-bottom:20px!important; }
  html body.product-support.style1.assistant-admin .style1-topline { min-height:52px; }
  html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.section-head,.wm-heading) { margin-top:20px!important; }
}
/* A selected conversation still leaves room for one complete list card above its pagination. */
@media(max-width:760px) {
  html body.product-support.style1.assistant-admin #section-support-testlab .wtl-run-row>.wtl-row-main { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html body.product-support.style1.assistant-admin #section-support-testlab .wtl-run-row>.wtl-row-main>[data-label="Итог"] { grid-column:1 / -1; }
  /* Review titles keep the full card width; their status follows the title and context. */
  html body.product-support.style1.assistant-admin #wr-list .wr-row { display:grid; grid-template-columns:8px minmax(0,1fr); align-items:start; gap:10px; }
  html body.product-support.style1.assistant-admin #wr-list .wr-row-main { grid-column:2; }
  html body.product-support.style1.assistant-admin #wr-list .wr-row-main b { white-space:normal; overflow-wrap:anywhere; }
  html body.product-support.style1.assistant-admin #wr-list .wr-row>.c-badge { grid-column:2; justify-self:start; max-width:100%; white-space:normal; }
  html body.product-support.style1.assistant-admin #wr-list .wr-row::before { grid-column:1; grid-row:1; margin-top:6px; }
  html body.product-support.style1.assistant-admin #ragPagination>div:last-child { flex-wrap:wrap; min-width:0; max-width:100%; }
  html body.product-support.style1.assistant-admin #dashboard :is(#section-support-dialogs,#section-support-handoff) .support-workspace:has(.support-row.active) .support-pane-list { max-height:min(70dvh,380px)!important; }
}
@media(max-width:620px) {
  html body.product-support.style1.assistant-admin .style1-topline { margin-inline:-12px; padding-inline:12px!important; }
  html body.product-support.style1.assistant-admin #dashboard .support-shell .support-message-actions .support-btn { min-height:44px!important; }
  html body.product-support.style1.assistant-admin .main-content-wrap { padding-inline:12px!important; }
  html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.section-head,.wm-heading) { gap:12px!important; margin-bottom:16px!important; }
  html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.section-head,.wm-heading) h2 { font-size:18px!important; }
  html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wn-box,.wov2-box,.wm-panel,.wo-panel,.sm-panel,.support-settings-card,.wn-kpi,.wov2-kpi) { padding:12px!important; }
  html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(.support-btn,.wci-btn,.btn) { min-height:44px!important; padding:10px 12px!important; }
  html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) { min-height:44px!important; font-size:16px!important; }
  html body.product-support.style1.assistant-admin .support-shell :is(.layout-tabs,.wbk-tabs,.wan-tabs,.wci-tabs,.smx-tabs,.wn-seg,.wov2-seg) button { min-height:44px!important; }
  html body.product-support.style1.assistant-admin #operatorsTabs .nav-group[data-product="support"] .seg-tab.seg-tab { min-height:44px!important; }
  html body.product-support.style1.assistant-admin #s2ExtActions .wsf-actions .wsf-btn { min-height:44px!important; min-width:44px!important; }
  html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.panel-dialog-filters,.wa-filters) { padding:12px!important; }
  html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wn-help,.support-note) { gap:8px; padding:12px!important; }
  html body.product-support.style1.assistant-admin #dashboard .support-shell .wr-comparison { grid-template-columns:minmax(0,1fr); }
  html body.product-support.style1.assistant-admin .style1-menu-toggle { min-height:44px; min-width:44px; }
}
@media(prefers-reduced-motion:reduce) {
  html body.product-support.style1.assistant-admin :is(.support-btn,.wci-btn,.btn),
  html body.product-support.style1.assistant-admin #operatorsTabs .seg-tab.seg-tab { transition:none!important; }
}

/* Three real connection groups share the desktop row; their own controls and card lists stay native. */
@media(min-width:1200px) {
  html body.product-support.style1.assistant-admin #dashboard #section-support-channels #wci-pane[aria-labelledby="wci-tab-list"] {
    display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:start;
  }
  html body.product-support.style1.assistant-admin #dashboard #section-support-channels #wci-pane[aria-labelledby="wci-tab-list"]>* { grid-column:1/-1; }
  html body.product-support.style1.assistant-admin #dashboard #section-support-channels #wci-pane[aria-labelledby="wci-tab-list"]>.wci-group {
    grid-column:auto; grid-row:span 2; grid-template-rows:subgrid; min-width:0;
  }
  html body.product-support.style1.assistant-admin #dashboard #section-support-channels .wci-group>.wci-cards {
    grid-template-columns:minmax(0,1fr)!important; align-content:start; gap:12px;
  }
  html body.product-support.style1.assistant-admin #dashboard #section-support-channels .wci-group-head { align-content:start; }
  html body.product-support.style1.assistant-admin #dashboard #section-support-channels .wci-group-head>p { flex-basis:100%; }
  html body.product-support.style1.assistant-admin #dashboard #section-support-channels .wci-add-tile { min-height:96px; padding:12px; }
}

/* Use the available workspace once: sidebar, gutter, full-width content. */
html body.product-support.style1.assistant-admin .main-content-wrap {
  --wcv-gutter:24px;
  width:auto!important; max-width:none!important; margin-right:0!important;
  padding-inline:var(--wcv-gutter)!important; box-sizing:border-box;
}
html body.product-support.style1.assistant-admin #dashboard#dashboard#dashboard>section.support-shell.support-shell {
  width:100%!important; max-width:none!important; margin-inline:0!important; box-sizing:border-box;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell>:is(.section-head,.wm-heading) :is(h1,h2) {
  font-size:27px!important; line-height:1.2!important; letter-spacing:-1px!important; margin:0 0 2px!important;
}
html body.product-support.style1.assistant-admin #supportTopStatus { display:block; font-size:12px!important; line-height:1.5; margin-top:6px; }
/* Actions and descriptions stay in their native section and normal document flow. */
html body.product-support.style1.assistant-admin #dashboard .support-shell>:is(.section-head,.wm-heading) {
  min-height:0!important; margin:12px 0 8px!important; gap:9px!important; flex-wrap:wrap;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell>:is(.section-head,.wm-heading)>* { min-width:0!important; }
html body.product-support.style1.assistant-admin #dashboard .support-shell>:is(.section-head,.wm-heading)>div:first-child { flex:1 1 260px; }
html body.product-support.style1.assistant-admin #dashboard .support-shell>:is(.section-head,.wm-heading) p {
  font-size:14px!important; line-height:1.55!important; margin:0!important; max-width:90ch!important;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell>:is(.section-head,.wm-heading) .c-ico {
  width:32px; height:32px; flex:0 0 32px;
}
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(h3,.wn-title h3,.wov2-title h3,.wm-panel-head>h3) { font-size:17px!important; }
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.wn-help,.wn-muted,.wov2-muted,.c-foot,.wm-def,.wm-muted,.ws-note,.ws-field-note,label,p,td) { font-size:14px!important; }
html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(.support-btn,.wci-btn,.btn) { font-size:14px!important; min-height:38px!important; }
html body.product-support.style1.assistant-admin #operatorsTabs .nav-group-title { font-size:12px!important; }
html body.product-support.style1.assistant-admin #operatorsTabs .tab-text { font-size:14px!important; }
html body.product-support.style1.assistant-admin #dashboard .support-shell :is(.layout-tabs,.wbk-tabs,.wan-tabs,.wci-tabs,.smx-tabs,.wn-seg,.wov2-seg,.wtl-tabs) button { font-size:14px!important; }
@media(max-width:1100px) {
  html body.product-support.style1.assistant-admin .main-content-wrap { --wcv-gutter:20px; }
}
@media(max-width:900px) {
  html body.product-support.style1.assistant-admin .main-content-wrap { --wcv-gutter:16px; }
}
@media(max-width:620px) {
  html body.product-support.style1.assistant-admin .main-content-wrap { --wcv-gutter:12px; }
  html body.product-support.style1.assistant-admin :is(.support-shell,.wc-layer,dialog,#changeCredsModal) :is(.support-btn,.wci-btn,.btn) { min-height:44px!important; }
}



/* Source: ai.fb-team.site/panel style.css, workspace.css and components.css. */
html body.product-support.style1.assistant-admin #operatorsTabs.wcv-reference-nav .wcv-native-destination.layout-nested:not(.layout-viewer-hidden):not([hidden]):not([style*="display: none"]):not([style*="display:none"]) { display:flex!important; }
html body.product-support.style1.assistant-admin #operatorsTabs.wcv-reference-nav .nav-group[data-product="support"] .seg-tab.seg-tab.layout-parent-active:not(.active) { background:transparent!important; color:#aebdca!important; box-shadow:none!important; }
html body.product-support.style1.assistant-admin #operatorsTabs.wcv-reference-nav .nav-group[data-product="support"] .seg-tab.seg-tab.active { background:#243c43!important; color:#71d8c7!important; box-shadow:none!important; }
html body.product-support.style1.assistant-admin #operatorsTabs { padding-top:28px!important; }
html body.product-support.style1.assistant-admin #operatorsTabs .nav-group-title { color:#708493!important; font-size:12px!important; font-weight:500!important; letter-spacing:1.7px!important; margin:21px 10px 8px!important; }
html body.product-support.style1.assistant-admin #operatorsTabs .nav-group[data-product="support"] .seg-tab.seg-tab { color:#aebdca!important; padding:9px 10px!important; }
html body.product-support.style1.assistant-admin #operatorsTabs .tab-text { font-size:14px!important; font-weight:500!important; }
html body.product-support.style1.assistant-admin #s2ExtActions .wsf-actions .wsf-btn { border-color:#32404c!important; background:transparent!important; color:#aebdca!important; min-height:34px!important; min-width:34px!important; }
html body.product-support.style1.assistant-admin #dashboard#dashboard>section.support-shell.support-shell>:is(.section-head,.wm-heading) { margin:12px 0 8px!important; padding:0!important; min-height:0!important; background:transparent!important; border:0!important; gap:9px!important; }
html body.product-support.style1.assistant-admin #dashboard#dashboard>section.support-shell.support-shell>:is(.section-head,.wm-heading) :is(h1,h2) { font-size:27px!important; line-height:1.2!important; letter-spacing:-1px!important; margin:0 0 2px!important; }
html body.product-support.style1.assistant-admin #dashboard#dashboard>section.support-shell.support-shell>:is(.section-head,.wm-heading) p { font-size:12px!important; line-height:1.5!important; margin:0!important; color:var(--muted)!important; }
html body.product-support.style1.assistant-admin #dashboard#dashboard>section.support-shell.support-shell>:is(.section-head,.wm-heading) .c-ico { display:none!important; }
html body.product-support.style1.assistant-admin #dashboard#dashboard .support-shell :is(.c-card,.wm-panel,.wo-panel,.sm-panel,.support-settings-card,.wc-card,.wci-card,.support-card,.support-pane,.wn-kpi,.wov2-kpi) { border-radius:16px!important; border-color:var(--line)!important; background:var(--surface)!important; box-shadow:var(--sh-1)!important; }
html body.product-support.style1.assistant-admin .main-content-wrap.main-content-wrap.main-content-wrap>.style1-topline.style1-topline { width:100%!important; max-width:none!important; margin-left:0!important; margin-right:0!important; min-height:54px!important; background:transparent!important; margin-inline:0!important; padding-inline:0!important; border-color:var(--line)!important; font-size:12px!important; }
html body.product-support.style1.assistant-admin .style1-topline>b { font-size:12px!important; font-weight:500!important; }
html body.product-support.style1.assistant-admin #supportTopStatus { color:var(--accent)!important; padding:0!important; margin:0!important; font-size:12px!important; }
@media(min-width:901px) {
  html body.product-support.style1.assistant-admin #operatorsTabs { width:218px!important; min-width:218px!important; max-width:218px!important; }
  html body.product-support.style1.assistant-admin .main-content-wrap { margin-left:218px!important; --wcv-gutter:32px; }
  html body.product-support.style1.assistant-admin #operatorsTabs .tab-text { white-space:normal!important; overflow-wrap:normal; }
  html body.product-support.style1.assistant-admin #dashboard#dashboard .support-shell :is(.support-btn,.wci-btn,.btn) { min-height:32px!important; height:auto!important; border-radius:7px!important; padding:7px 11px!important; font-size:12px!important; font-weight:550!important; line-height:1.4!important; }
  html body.product-support.style1.assistant-admin #dashboard#dashboard .support-shell :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) { min-height:32px!important; border-radius:7px!important; font-size:12px!important; }
}
@media(min-width:1700px) {
  html body.product-support.style1.assistant-admin .main-content-wrap { --wcv-gutter:44px; }
}
@media(max-width:900px) {
  html body.product-support.style1.assistant-admin #dashboard#dashboard>section.support-shell.support-shell>:is(.section-head,.wm-heading) :is(h1,h2) { font-size:25px!important; }
}

html body.product-support.style1.assistant-admin #dashboard#dashboard #section-support-learning .wan-funnel li { border-radius:var(--r-l)!important; box-shadow:var(--sh-1)!important; }

} /* screen: retain the existing print stylesheet unchanged. */
