/* Unified screen finishing pass for the approved Digital Team UI.
   Scoped to the executive theme; all existing IDs, actions and data bindings remain untouched. */
html[data-ui-style="executive"][data-theme] #app .main > .page.active {
  display:flex;flex-direction:column;gap:16px;min-width:0
}
html[data-ui-style="executive"][data-theme] #app .page :is(.page-hero,.toolbar) {
  min-width:0;gap:16px
}
html[data-ui-style="executive"][data-theme] #app .page .page-hero {
  align-items:center;padding:20px 22px;border:1px solid var(--border);border-radius:18px;
  background:linear-gradient(105deg,var(--surface),color-mix(in srgb,var(--accent) 5%,var(--surface)));
  box-shadow:var(--shadow)
}
html[data-ui-style="executive"][data-theme] #app .page .page-hero h2 {
  margin:2px 0 6px;color:var(--text);font-size:clamp(21px,2vw,27px);letter-spacing:-.025em
}
html[data-ui-style="executive"][data-theme] #app .page .page-hero p {max-width:760px;margin:0;line-height:1.5}
html[data-ui-style="executive"][data-theme] #app .page .toolbar {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px 16px;
  border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)
}
html[data-ui-style="executive"][data-theme] #app .page :is(.panel,.settings-box,.knowledge-doc-panel,.knowledge-memory-panel) {
  min-width:0;padding:18px;border:1px solid var(--border);border-radius:16px;
  background:var(--surface);box-shadow:var(--shadow)
}
html[data-ui-style="executive"][data-theme] #app .page :is(h2,h3,h4) {color:var(--text);letter-spacing:-.015em}
html[data-ui-style="executive"][data-theme] #app .page :is(p,.muted) {line-height:1.5}
html[data-ui-style="executive"][data-theme] #app .page :is(input,select,textarea) {
  min-height:40px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);color:var(--text)
}
html[data-ui-style="executive"][data-theme] #app .page textarea {min-height:100px;resize:vertical}
html[data-ui-style="executive"][data-theme] #app .page :is(button,.primary,.secondary,.danger) {
  min-height:37px;border-radius:9px;font-weight:650;transition:background-color .15s,border-color .15s,transform .15s
}
html[data-ui-style="executive"][data-theme] #app .page :is(button,.primary,.secondary,.danger):active {transform:translateY(1px)}
html[data-ui-style="executive"][data-theme] #app .page :is(.empty,.placeholder) {
  display:grid;gap:7px;align-content:center;min-height:120px;padding:22px;border:1px dashed var(--border);
  border-radius:14px;background:color-mix(in srgb,var(--surface-2) 72%,transparent);color:var(--muted)
}
html[data-ui-style="executive"][data-theme] #app .page :is(.grid,.cards,.integration-grid-058,.dt-connector-grid-070) {gap:12px}
html[data-ui-style="executive"][data-theme] #page-channels .channel-platform-tabs,
html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 {
  position:sticky;top:0;z-index:4;backdrop-filter:blur(12px)
}
html[data-ui-style="executive"][data-theme] #page-channels .channel-platform-tab {
  min-height:48px;padding:9px 13px;font-weight:700
}
html[data-ui-style="executive"][data-theme] #page-channels :is(.channel-card,.telegram-bot-card) {
  padding:16px;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:var(--shadow)
}
html[data-ui-style="executive"][data-theme] #page-knowledge .knowledge-layout {gap:14px;align-items:start}
html[data-ui-style="executive"][data-theme] #page-knowledge .knowledge-memory-panel {margin-top:14px}
html[data-ui-style="executive"][data-theme] #page-integrations .integration-card-058,
html[data-ui-style="executive"][data-theme] #page-integrations .dt-connector-card-070 {
  min-height:190px;padding:17px;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:var(--shadow)
}
html[data-ui-style="executive"][data-theme] #page-settings .settings-box {scroll-margin-top:86px}
html[data-ui-style="executive"][data-theme] #page-settings .settings-box > .eyebrow {margin-bottom:7px;color:var(--accent);font-weight:750}
html[data-ui-style="executive"][data-theme] #page-api .api-grid-126 > .panel {scroll-margin-top:90px}
html[data-ui-style="executive"][data-theme] #page-work .dt-work-tabs-070 {position:sticky;top:0;z-index:3;backdrop-filter:blur(12px)}
html[data-ui-style="executive"][data-theme] #page-work .dt-task-kpi-150 > * {min-width:0}
html[data-ui-style="executive"][data-theme] #page-audit .dt-alert-list-169 {overflow:hidden}
html[data-ui-style="executive"][data-theme] #page-audit .dt-alert-list-169 .alert-card-058 {transition:background-color .15s}
html[data-ui-style="executive"][data-theme] #page-audit .dt-alert-list-169 .alert-card-058:hover {background:color-mix(in srgb,var(--accent) 4%,var(--surface))}
html[data-ui-style="executive"][data-theme] #page-help .help-card-058 {text-decoration:none;color:var(--text)}
html[data-ui-style="executive"][data-theme] #page-help .help-card-058 strong {font-size:15px}
@media(max-width:900px) {
  html[data-ui-style="executive"][data-theme] #app .main > .page.active {gap:12px}
  html[data-ui-style="executive"][data-theme] #app .page .page-hero {align-items:flex-start;padding:17px}
  html[data-ui-style="executive"][data-theme] #app .page :is(.panel,.settings-box,.knowledge-doc-panel,.knowledge-memory-panel) {padding:15px}
  html[data-ui-style="executive"][data-theme] #page-channels .channel-platform-tabs {position:static;overflow:auto}
  html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 {position:static}
  html[data-ui-style="executive"][data-theme] #page-work .dt-work-tabs-070 {position:static}
}
@media(max-width:620px) {
  html[data-ui-style="executive"][data-theme] #app .main > .page.active {gap:10px}
  html[data-ui-style="executive"][data-theme] #app .page .toolbar {align-items:stretch;padding:11px}
  html[data-ui-style="executive"][data-theme] #app .page .toolbar > :is(button,a) {width:100%}
  html[data-ui-style="executive"][data-theme] #page-integrations .integration-card-058,
  html[data-ui-style="executive"][data-theme] #page-integrations .dt-connector-card-070 {min-height:0;padding:14px}
}
@media(prefers-reduced-motion:reduce) {
  html[data-ui-style="executive"][data-theme] #app .page * {scroll-behavior:auto!important;transition:none!important}
}
