/* Мягкая доработка текущей панели. Сетка, навигация и статусы остаются исходными. */
html body.style1.assistant-admin.product-support {
  --polish-blue:#315fb5;
  --polish-blue-hover:#264e98;
  --polish-field:#ccd6e3;
  --polish-success:#19724f;
  --accent:var(--polish-blue);--accent-strong:var(--polish-blue-hover);--accent-bright:#4d7fe0;
  --tint:color-mix(in srgb,var(--polish-blue) 10%,var(--surface));--sidebar-soft:#25395d;
  --color-accent:var(--polish-blue);--color-success:var(--polish-success);
  --wnb-pill-bg:#34588a;--wnb-pill-text:#f1f5ff;
  font-size:14.5px!important;
}
html body.style1.assistant-admin.product-support.theme-dark,
html.theme-dark-pending body.style1.assistant-admin.product-support:not(.theme-light) {
  --polish-blue:#8caee9;
  --polish-blue-hover:#aec8f4;
  --polish-field:#46566b;
  --polish-success:#8ad4b4;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.section-head p,.wm-heading p) {
  font-size:13px!important;line-height:1.6;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.wn-help,.wn-muted,.wov2-muted,.c-foot,.wm-def,.wm-muted,.wm-metric p,.wov2-period,.wn-kpi-head,.wov2-kpi-head,.wov2-sys-sum,.wov2-legend) {
  font-size:13px!important;line-height:1.5;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(label,small,.support-row p,.support-bubble-meta,.ws-note,.ws-field-note,.ws-mode-op) {
  font-size:13px!important;line-height:1.5;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.c-card,.wm-panel,.wo-panel,.sm-panel,.support-settings-card,.wc-card,.wci-card) {
  border-color:color-mix(in srgb,var(--polish-blue) 7%,var(--line))!important;
  box-shadow:0 2px 8px rgba(18,35,57,.025)!important;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) {
  min-height:38px!important;max-width:100%;min-width:0;
  border-color:var(--polish-field)!important;border-radius:9px!important;
  font-size:14px!important;background:var(--surface)!important;color:var(--text)!important;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(input,select,textarea):focus-visible {
  border-color:var(--polish-blue)!important;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.support-btn,.wci-btn) {
  min-height:38px!important;border-radius:9px!important;font-size:13px!important;
  font-weight:600!important;line-height:1.4!important;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell .support-btn.primary {
  background:#315fb5!important;border-color:#315fb5!important;color:#fff!important;
  box-shadow:0 2px 5px rgba(49,95,181,.13)!important;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell .support-btn.primary:hover:not(:disabled) {
  background:#264e98!important;border-color:#264e98!important;
}
html body.style1.assistant-admin.product-support :is(button,a,input,select,textarea,summary):focus-visible {
  outline:2px solid var(--polish-blue)!important;outline-offset:3px;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell .wa-delta {
  white-space:normal!important;overflow-wrap:anywhere;
}
html body.style1.assistant-admin.product-support #dashboard #section-support-settings #ws-restore {
  white-space:normal!important;max-width:100%;min-width:0;
}
@media(max-width:620px) {
  html body.style1.assistant-admin.product-support #dashboard .support-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) {
    font-size:16px!important;min-height:44px!important;
  }
  html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.wn-actions,.support-actions,.support-composer-foot)>.support-btn {
    min-height:44px!important;
  }
  html body.style1.assistant-admin.product-support #dashboard .support-shell .wov2-legend {
    flex-wrap:wrap;gap:8px 14px;
  }
}

/* Единый синий акцент интерфейса, отдельно от успешного состояния сервиса. */
html body.style1.assistant-admin.product-support #dashboard .support-shell {
  --ov-accent:var(--polish-blue)!important;--support-a:var(--polish-blue);
}
html body.style1.assistant-admin.product-support :is(.wsx-dialog,.wsx-banner,.ws-conn-modes) {--x-accent:var(--polish-blue)!important}
html body.style1.assistant-admin.product-support #s2ExtBrand .logo {background:#315fb5!important;color:#fff!important}
html body.style1.assistant-admin.product-support #operatorsTabs .nav-group[data-product="support"] .seg-tab.seg-tab:is(.active,.layout-parent-active) {
  background:var(--sidebar-soft)!important;color:#b4ceff!important;
}
html body.style1.assistant-admin.product-support #operatorsTabs .nav-group[data-product="support"] .seg-tab.seg-tab:is(.active,.layout-parent-active) :is(.tab-icon,.tab-sub) {color:#b4ceff!important}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(input[type=checkbox],input[type=radio],progress) {accent-color:var(--polish-blue)!important}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.wm-note,.wm-dialog blockquote) {background:var(--tint);border-color:color-mix(in srgb,var(--polish-blue) 25%,var(--line))}
html body.style1.assistant-admin.product-support #dashboard .support-shell button.wm-row:hover {background:var(--tint);border-color:var(--polish-blue)}
html body.style1.assistant-admin.product-support #dashboard .support-shell .dialog-answer-source {border-left-color:var(--polish-blue)}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.ok,.good,[data-tone=ok]) {--tone:var(--polish-success)!important}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.support-pill.good,.support-state-resolved,.wsx-chip.ok,.wm-badge[data-state=succeeded],.wm-badge[data-state=completed],.wm-badge[data-state=published],.wci-tag.live) {
  color:var(--polish-success)!important;background:color-mix(in srgb,var(--polish-success) 12%,var(--surface))!important;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.ws-strip,.ws-draftbar,.wsb-strip,.wsb-overview,.wx-strip).ok {border-left-color:var(--polish-success)!important}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.ok>.c-dot,.ok>summary>.c-dot) {background:var(--polish-success)!important}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.wci-ok b,.wsb-result[data-tone=ok]) {color:var(--polish-success)!important}
html body.style1.assistant-admin.product-support #dashboard .support-shell .wci-ok {background:color-mix(in srgb,var(--polish-success) 10%,var(--surface))}
html body.style1.assistant-admin.product-support #dashboard .support-shell .wov2-donut .d-ok {stroke:var(--polish-success);background:var(--polish-success)}

/* Недоступная кнопка выглядит недоступной: синий основной стиль выше (и мятный из style1) только у активных.
   Одно правило для всех разделов и обеих тем: с тем же весом, что .support-btn.primary выше, и позже него. */
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.support-btn,.wci-btn,.btn):is(:disabled,[aria-disabled=true]),
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.support-btn,.wci-btn,.btn):is(:disabled,[aria-disabled=true]):hover,
html body.style1.assistant-admin.product-support :is(.support-btn,.wci-btn,.btn):is(:disabled,[aria-disabled=true]),
html body.style1.assistant-admin.product-support :is(.support-btn,.wci-btn,.btn):is(:disabled,[aria-disabled=true]):hover {
  border-color:var(--line)!important;
  background:color-mix(in srgb,var(--text) 6%,var(--surface))!important;
  color:color-mix(in srgb,var(--muted) 80%,transparent)!important;
  box-shadow:none!important;opacity:1!important;cursor:not-allowed!important;
}
html body.style1.assistant-admin.product-support #dashboard .support-shell :is(.support-btn,.wci-btn,.btn)[aria-busy=true]:disabled,
html body.style1.assistant-admin.product-support :is(.support-btn,.wci-btn,.btn)[aria-busy=true]:disabled {cursor:progress!important}
