/* Phase 1 of the approved UI handoff: shared tokens and existing shell only.
   Keep the live DOM, API bindings and functional screen styles intact. */
html[data-ui-style="executive"][data-theme="light"] {
  --bg: #f4f6f6;
  --surface: #ffffff;
  --surface-2: #f8faf9;
  --surface-3: #eef4f3;
  --text: #102a3b;
  --muted: #516674;
  --border: #dce5e4;
  --accent: #0c6f78;
  --accent-2: #14998e;
  --success: #1f9d6d;
  --warning: #d9952e;
  --danger: #cf4f55;
  --shadow: 0 1px 2px rgba(18,42,56,.06), 0 6px 18px rgba(18,42,56,.04);
}
html[data-ui-style="executive"][data-theme="dark"] {
  --bg: #0b1419;
  --surface: #111d23;
  --surface-2: #16242b;
  --surface-3: #1b2d34;
  --text: #eaf3f4;
  --muted: #aabdc3;
  --border: #263940;
  --accent: #5fc7c2;
  --accent-2: #43b6ad;
  --success: #55c793;
  --warning: #e7ae5e;
  --danger: #f0757c;
  --shadow: 0 1px 2px rgba(0,0,0,.25), 0 8px 24px rgba(0,0,0,.16);
}
html[data-ui-style="executive"][data-theme] body,
html[data-ui-style="executive"][data-theme] .main {
  background: var(--bg) !important;
  color: var(--text);
}
html[data-ui-style="executive"][data-theme] .sidebar {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-right: 1px solid var(--border) !important;
  box-shadow: none !important;
}
html[data-ui-style="executive"][data-theme] .brand {
  color: var(--text) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -.02em;
}
html[data-ui-style="executive"][data-theme] .brand::before {
  content: "";
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, #0c6f78, #14998e);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.16);
}
html[data-ui-style="executive"][data-theme] .nav-group-title {
  color: var(--muted) !important;
  font-size: 10px !important;
  letter-spacing: .09em !important;
}
html[data-ui-style="executive"][data-theme] .nav a {
  color: var(--muted) !important;
  border-radius: 10px;
  gap: 10px;
}
.premium-side-icon-150 { display: inline-flex; flex: 0 0 17px; align-items: center; justify-content: center; }
.premium-side-icon-150 svg { width: 17px; height: 17px; }
html[data-ui-style="executive"][data-theme] .nav a:hover,
html[data-ui-style="executive"][data-theme] .nav a.active {
  color: var(--accent) !important;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface)) !important;
}
html[data-ui-style="executive"][data-theme] .nav a.active::before {
  background: var(--accent) !important;
}
html[data-ui-style="executive"][data-theme] .sidebar-footer {
  border-color: var(--border);
  color: var(--muted);
}
html[data-ui-style="executive"][data-theme] .sidebar-footer a,
html[data-ui-style="executive"][data-theme] .sidebar-build-version {
  color: var(--muted);
}
html[data-ui-style="executive"][data-theme] .topbar {
  background: var(--surface) !important;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 18px !important;
}
html[data-ui-style="executive"][data-theme] .primary {
  background: var(--accent) !important;
  box-shadow: none;
}
html[data-ui-style="executive"][data-theme] .primary:hover {
  background: var(--accent-2) !important;
}
html[data-ui-style="executive"][data-theme] :is(
  .stat, .panel, .metric-card, .agent-card, .agent-v2-card,
  .integration-card, .integration-card-058, .feature-card,
  .channel-card, .knowledge-space, .placeholder, .empty,
  .dt-connector-card-070, .dt-work-card-070,
  .alert-card-058, .help-card-058
) {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
html[data-ui-style="executive"][data-theme] :is(
  .secondary, input, textarea, select
) {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
html[data-ui-style="executive"][data-theme] :is(
  .ai-chat-history, .ai-chat-workspace, .developer-notice,
  .knowledge-memory-panel, .telegram-bot-card,
  .channel-platform-tab, .settings-tabs-140,
  .api-examples-126, .budget-panel-126
) {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
html[data-ui-style="executive"][data-theme] :is(
  .chat-mode-switch button.active, .settings-tabs-140 button.active,
  .channel-platform-tab.active
) {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface)) !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: none !important;
}
html[data-ui-style="executive"][data-theme] :is(
  .ai-chat-modelbar, .ai-chat-compose-v58, .knowledge-doc-panel .upload-row,
  .agent-editor-v2 .editor-tabs, .settings-tabs-140
) {
  border-color: var(--border);
}
html[data-ui-style="executive"][data-theme] :is(
  .ai-chat-messages-v58, .ai-chat-history, .knowledge-memory-panel,
  .api-grid-126 .panel, .help-grid-126 details
) {
  scrollbar-color: var(--border) transparent;
}
html[data-ui-style="executive"][data-theme] :is(
  .help-grid-126 details, .scope-grid-126 label, .budget-check-126,
  .memory-graph-126 article, .telegram-topic-route
) {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}
html[data-ui-style="executive"][data-theme] #page-channels .channel-platform-tabs,
html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 {
  padding: 10px;
  gap: 6px;
}
html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 button {
  flex: 0 0 auto;
  white-space: nowrap;
}
html[data-ui-style="executive"][data-theme] #page-work .dt-task-select-070:hover,
html[data-ui-style="executive"][data-theme] #page-work .dt-task-select-070:focus-visible {
  border-color: var(--accent);
  outline-color: color-mix(in srgb, var(--accent) 35%, transparent);
}
html[data-ui-style="executive"][data-theme] #page-work .dt-timeline-dot-070 {
  border-color: color-mix(in srgb, var(--accent) 25%, var(--surface));
  background: var(--accent);
}
html[data-ui-style="executive"][data-theme] #page-agents .agent-v2-card {
  padding: 20px;
  border-radius: 16px !important;
  box-shadow: var(--shadow) !important;
}
html[data-ui-style="executive"][data-theme] #page-agents .agent-v2-card h2 {
  margin: 8px 0;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
html[data-ui-style="executive"][data-theme] #page-agents .agent-v2-card .agent-costs {
  border-color: var(--border);
}
.dt-agents-empty-150 { grid-column: 1 / -1; }
.dt-agents-empty-150 h3, .dt-agents-error-150 h2 { margin-top: 0; }
.dt-agents-empty-150 p, .dt-agents-error-150 p { color: var(--muted); }
html[data-ui-style="executive"][data-theme] :is(
  .tab.active, .channel-platform-tab.active, .settings-tabs-140 button.active
) {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}
html[data-ui-style="executive"][data-theme] .settings-tabs-140 button.active {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface)) !important;
}
html[data-ui-style="executive"][data-theme] :is(
  .dt-work-tabs-070 button.active, #page-work .dt-work-filters-070 button.active,
  .channel-platform-tab.active
) {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface)) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  box-shadow: none !important;
}
html[data-ui-style="executive"][data-theme] .badge {
  background: color-mix(in srgb, var(--success) 12%, var(--surface));
  color: var(--success);
}
html[data-ui-style="executive"][data-theme] .eyebrow {
  color: var(--accent);
}
html[data-ui-style="executive"][data-theme] .ok { color: var(--success); }
html[data-ui-style="executive"][data-theme] .page-hero h2 {
  color: var(--text);
  letter-spacing: -.025em;
}
html[data-ui-style="executive"][data-theme] #page-home .metric-card {
  min-width: 0;
  padding: 18px !important;
}
html[data-ui-style="executive"][data-theme] #page-home .metric-card .metric-value,
html[data-ui-style="executive"][data-theme] #page-home .metric-card .money-big {
  color: var(--text);
  letter-spacing: -.025em;
}
.dt-home-actions-150 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dt-home-actions-150 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  text-decoration: none;
  white-space: nowrap;
}
.dt-dashboard-loading-150,
.dt-dashboard-error-150 { max-width: 760px; padding: 24px; }
.dt-dashboard-error-150 h2 { margin-top: 0; }
.dt-dashboard-error-150 p { color: var(--muted); }
.dt-help-search-155 { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:14px; margin:18px 0 20px; padding:18px; border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:var(--shadow); }
.dt-help-search-field-155 { display:grid; gap:6px; flex:1 1 280px; max-width:560px; }
.dt-help-search-field-155 label { font-weight:700; color:var(--text); }
.dt-help-search-field-155 input { min-height:42px; width:100%; }
.dt-help-search-field-155 span { font-size:12px; }
.dt-help-search-155 nav { display:flex; flex-wrap:wrap; gap:8px; }
.dt-help-search-155 nav a { display:inline-flex; align-items:center; min-height:38px; padding:8px 12px; border:1px solid var(--border); border-radius:10px; text-decoration:none; color:var(--accent); }
.dt-help-search-155 nav a:hover { border-color:var(--accent); background:var(--surface-2); }
.dt-help-empty-155 { padding:24px; border:1px dashed var(--border); border-radius:14px; text-align:center; }
.help-card-058[hidden], .dt-help-empty-155[hidden] { display:none !important; }
.dt-alert-summary-157 { display:flex; flex-wrap:wrap; gap:9px; margin:16px 0; }
.dt-alert-filter-157 { min-height:42px; padding:9px 14px; border:1px solid var(--border); border-radius:11px; background:var(--surface); color:var(--text); font-weight:700; box-shadow:var(--shadow); }
.dt-alert-filter-157[aria-pressed="true"] { color:var(--accent); border-color:var(--accent); background:color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.alert-card-058[hidden], .log-row-058[hidden], .dt-alert-empty-157[hidden] { display:none !important; }
.dt-alert-empty-157 { padding:18px; border:1px dashed var(--border); border-radius:12px; text-align:center; }
.dt-alert-log-search-157 { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 14px; align-items:end; margin:12px 0 18px; }
.dt-alert-log-search-157 label { grid-column:1/-1; font-weight:700; color:var(--text); }
.dt-alert-log-search-157 input { min-height:40px; width:100%; }
.dt-alert-log-search-157 span { font-size:12px; }
.dt-api-path-157 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:16px 0 18px; }
.dt-api-path-157 button { display:grid; grid-template-columns:34px 1fr; gap:3px 10px; align-content:start; min-height:92px; padding:14px; text-align:left; border:1px solid var(--border); border-radius:14px; background:var(--surface); color:var(--text); box-shadow:var(--shadow); }
.dt-api-path-157 button:hover { border-color:var(--accent); }
.dt-api-path-157 button > span { grid-row:1/3; display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:color-mix(in srgb, var(--accent) 14%, var(--surface)); color:var(--accent); font-weight:800; }
.dt-api-path-157 strong { font-size:14px; }
.dt-api-path-157 small { color:var(--muted); line-height:1.4; }
#page-api .api-grid-126 > .panel, #page-api .api-examples-126 { scroll-margin-top:24px; }
.dt-integration-jump-157 { display:flex; gap:8px; overflow-x:auto; scrollbar-width:thin; margin:16px 0 18px; padding:3px 1px 7px; }
.dt-integration-jump-157 button { flex:0 0 auto; min-height:38px; padding:8px 13px; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--text); }
.dt-integration-jump-157 button:hover { border-color:var(--accent); color:var(--accent); }
#page-integrations > section.product-section { scroll-margin-top:24px; }
.dt-knowledge-intro-157 { margin:0 0 20px; }
.dt-knowledge-intro-157 h2 { margin:5px 0 6px; font-size:clamp(23px,2.4vw,30px); letter-spacing:-.025em; }
.dt-knowledge-intro-157 p { margin:0; }
.dt-knowledge-search-157 { display:grid; gap:6px; margin:0 0 12px; }
.dt-knowledge-search-157 label { font-weight:700; color:var(--text); }
.dt-knowledge-search-157 input { width:100%; min-height:40px; }
.dt-knowledge-search-157 small { font-size:12px; }
.knowledge-space[hidden], .document-row[hidden] { display:none !important; }
.dt-workspace-search-158 { display:grid; gap:7px; padding:13px; border:1px solid var(--border); border-radius:12px; background:var(--surface-2); margin:8px 0 14px; }
.dt-workspace-search-158 label { color:var(--text); font-size:13px; font-weight:700; }
.dt-workspace-search-158 input { width:100%; min-height:40px; }
.dt-workspace-search-158 small { font-size:12px; }
.dt-workspace-empty-158 { margin:3px 0 0; padding:12px; border:1px dashed var(--border); border-radius:10px; }
.dt-workspace-empty-158[hidden], .chat-history-item[hidden], .agent-v2-card[hidden] { display:none !important; }
.dt-agent-search-158 { max-width:540px; margin:4px 0 18px; background:var(--surface); }
.dt-channel-hint-158 { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px 12px; padding:12px 15px; margin:12px 0 18px; border:1px solid var(--border); border-left:3px solid var(--accent); border-radius:11px; background:var(--surface); }
.dt-channel-hint-158 strong { color:var(--text); }
.dt-settings-context-158 { margin:-10px 0 20px; padding:0 4px; }
.dt-chat-hint-158 { font-size:12px; margin:0; padding:0 13px 11px; }
html[data-ui-style="executive"][data-theme] #page-askai .ai-chat-layout { grid-template-columns:minmax(200px,240px) minmax(0,1fr) minmax(240px,280px); gap:14px; }
html[data-ui-style="executive"][data-theme] #page-askai .ai-chat-history,
html[data-ui-style="executive"][data-theme] #page-askai .ai-chat-workspace,
html[data-ui-style="executive"][data-theme] #page-askai .dt-chat-rail-158 { border-radius:16px; box-shadow:var(--shadow); }
.dt-chat-rail-158 { min-width:0; padding:16px; border:1px solid var(--border); background:var(--surface); }
.dt-chat-rail-head-158 h3 { margin:7px 0; color:var(--text); }
.dt-chat-rail-head-158 p { line-height:1.5; }
.dt-chat-rail-head-158[hidden] { display:none !important; }
html[data-ui-style="executive"][data-theme] #page-askai .dt-chat-rail-158 .developer-notice { display:grid; gap:11px; margin:0; padding:0; border:0; background:transparent; }
html[data-ui-style="executive"][data-theme] #page-askai .dt-chat-rail-158 .developer-notice.hidden { display:none; }
html[data-ui-style="executive"][data-theme] #page-askai .dt-chat-rail-158 .developer-actions { display:grid; gap:8px; }
html[data-ui-style="executive"][data-theme] #page-askai .dt-chat-rail-158 .developer-actions button { width:100%; white-space:normal; }
html[data-ui-style="executive"][data-theme] #page-askai .chat-history-item { border-radius:10px; }
html[data-ui-style="executive"][data-theme] #page-askai .chat-history-item:hover,
html[data-ui-style="executive"][data-theme] #page-askai .chat-history-item:focus-visible { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 8%,var(--surface)); }
html[data-ui-style="executive"][data-theme] #page-askai .ai-chat-modelbar { background:var(--surface-2); }
html[data-ui-style="executive"][data-theme] #page-askai .ai-chat-compose-v58 textarea { min-height:76px; resize:vertical; }
@media(max-width:1300px) { html[data-ui-style="executive"][data-theme] #page-askai .ai-chat-layout { grid-template-columns:minmax(200px,240px) minmax(0,1fr); } .dt-chat-rail-158 { grid-column:1/-1; } }
@media(max-width:900px) { html[data-ui-style="executive"][data-theme] #page-askai .ai-chat-layout { grid-template-columns:1fr; } }
.dt-agent-workspace-159 { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr); gap:16px; align-items:start; }
.dt-agent-list-159, .dt-agent-detail-159 { min-width:0; padding:16px; border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:var(--shadow); }
.dt-agent-list-159 .dt-agent-search-158 { max-width:none; margin:0 0 12px; padding:0; border:0; box-shadow:none; }
html[data-ui-style="executive"][data-theme] #page-agents .dt-agent-workspace-159 .agent-v2-grid { display:grid; grid-template-columns:1fr; gap:8px; }
html[data-ui-style="executive"][data-theme] #page-agents .dt-agent-workspace-159 .agent-v2-card { position:relative; min-height:0; padding:13px 125px 13px 58px; border-radius:12px; display:block; cursor:pointer; box-shadow:none !important; }
.dt-agent-workspace-159 .agent-v2-card::before { content:"AI"; position:absolute; top:50%; left:12px; transform:translateY(-50%); display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:var(--accent); color:var(--surface); font-size:12px; font-weight:800; }
.dt-agent-workspace-159 .agent-v2-card .eyebrow { font-size:11px; }
html[data-ui-style="executive"][data-theme] #page-agents .dt-agent-workspace-159 .agent-v2-card h2 { margin:3px 0; font-size:15px; }
.dt-agent-workspace-159 .agent-v2-card p.muted { margin:2px 0 0; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dt-agent-workspace-159 .agent-v2-card .runtime-pill { position:absolute; right:12px; top:50%; transform:translateY(-50%); font-size:11px; max-width:106px; line-height:1.25; }
.dt-agent-workspace-159 .agent-v2-card .agent-costs, .dt-agent-workspace-159 .agent-v2-card > .money-small, .dt-agent-workspace-159 .agent-v2-card > .actions { display:none !important; }
.dt-agent-workspace-159 .agent-v2-card.dt-selected-159, .dt-agent-workspace-159 .agent-v2-card:hover, .dt-agent-workspace-159 .agent-v2-card:focus-visible { border-color:var(--accent) !important; background:color-mix(in srgb,var(--accent) 9%,var(--surface)); }
.dt-agent-chief-row-159 { display:flex; align-items:center; gap:12px; width:100%; padding:13px; margin-bottom:8px; text-align:left; border:1px solid var(--border); border-radius:12px; background:var(--surface); color:var(--text); }
.dt-agent-chief-row-159.active, .dt-agent-chief-row-159:hover { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 10%,var(--surface)); }
.dt-agent-chief-row-159 span:nth-child(2) { display:grid; gap:3px; }
.dt-agent-chief-row-159 small { color:var(--muted); }
.dt-agent-avatar-159 { display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; border-radius:10px; background:var(--accent); color:var(--surface); }
.dt-agent-detail-159 > .panel { margin:0 !important; padding:0; border:0; box-shadow:none; }
.dt-agent-detail-159 > .panel[hidden], .dt-agent-selected-159[hidden] { display:none !important; }
.dt-agent-selected-159 h3 { margin:9px 0 4px; font-size:20px; color:var(--text); }
.dt-agent-description-159 { line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; }
.dt-agent-detail-meta-159 { display:grid; gap:5px; padding:12px; margin:16px 0; border:1px solid var(--border); border-radius:12px; background:var(--surface-2); }
.dt-agent-detail-meta-159 span { color:var(--muted); font-size:12px; }
.dt-agent-detail-meta-159 strong { color:var(--text); }
.dt-agent-detail-tabs-165 {display:flex;gap:6px;overflow-x:auto;margin:15px 0 10px;border-bottom:1px solid var(--border)}
.dt-agent-detail-tabs-165 button {flex:0 0 auto;min-height:36px;padding:7px 11px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-weight:650}
.dt-agent-detail-tabs-165 button[aria-pressed="true"] {border-bottom-color:var(--accent);color:var(--accent)}
.dt-agent-selected-159 [data-agent-panel][hidden] {display:none !important}
.dt-agent-cost-row-165 {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:9px 0;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}
.dt-agent-cost-row-165 span {color:var(--muted);font-size:13px}
.dt-agent-cost-row-165 strong {color:var(--text);white-space:nowrap}
.dt-agent-selected-159 .actions { display:flex; flex-wrap:wrap; gap:8px; }
@media(max-width:1000px) { .dt-agent-workspace-159 { grid-template-columns:1fr; } }
@media(max-width:620px) { html[data-ui-style="executive"][data-theme] #page-agents .dt-agent-workspace-159 .agent-v2-card { padding-right:12px; } .dt-agent-workspace-159 .agent-v2-card .runtime-pill { position:static; transform:none; margin-top:7px; max-width:none; } }
html[data-ui-style="executive"][data-theme] #page-agents .page-hero {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px;padding:22px 24px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}
html[data-ui-style="executive"][data-theme] #page-agents .page-hero h2 {margin:5px 0;font-size:clamp(24px,2.5vw,32px)}
html[data-ui-style="executive"][data-theme] #page-agents .page-hero p {margin:0;max-width:620px;font-size:13px;line-height:1.5}
.dt-agent-summary-177 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 14px}
.dt-agent-summary-177 > div {display:grid;gap:8px;min-width:0;padding:15px 17px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}
.dt-agent-summary-177 span {color:var(--muted);font-size:12px}
.dt-agent-summary-177 strong {color:var(--text);font-size:23px;line-height:1.1}
html[data-ui-style="executive"][data-theme] #page-agents .dt-agent-workspace-159 {grid-template-columns:minmax(0,1.55fr) minmax(310px,.9fr);gap:14px}
html[data-ui-style="executive"][data-theme] #page-agents .dt-agent-list-159,
html[data-ui-style="executive"][data-theme] #page-agents .dt-agent-detail-159 {padding:18px;border-radius:16px}
html[data-ui-style="executive"][data-theme] #page-agents .dt-agent-detail-159 > .panel {padding:15px !important;border:1px solid var(--border);border-radius:13px;background:var(--surface-2)}
html[data-ui-style="executive"][data-theme] #page-agents .dt-agent-chief-row-159 {min-height:64px}
@media(max-width:1000px) {html[data-ui-style="executive"][data-theme] #page-agents .dt-agent-workspace-159 {grid-template-columns:1fr}}
@media(max-width:620px) {html[data-ui-style="executive"][data-theme] #page-agents .page-hero {align-items:stretch;flex-direction:column;padding:17px}html[data-ui-style="executive"][data-theme] #page-agents .page-hero button {width:100%}.dt-agent-summary-177 {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dt-agent-summary-177 > div {padding:12px}.dt-agent-summary-177 > div:last-child {grid-column:1/-1}}
.dt-theme-native-160 { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.dt-theme-choices-160 { margin-top:18px; }
.dt-theme-choices-head-160 { display:grid; gap:3px; margin-bottom:12px; }
.dt-theme-choices-head-160 strong { color:var(--text); }
.dt-theme-choices-grid-160 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.dt-theme-choices-grid-160 button { display:grid; justify-items:start; gap:5px; min-width:0; padding:12px; border:1px solid var(--border); border-radius:14px; text-align:left; background:var(--surface); color:var(--text); }
.dt-theme-choices-grid-160 button.active { border-color:var(--accent); box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 15%,transparent); }
.dt-theme-choices-grid-160 small { color:var(--muted); }
.dt-theme-preview-160 { display:block; width:100%; height:82px; border:1px solid var(--border); border-radius:10px; }
.dt-theme-preview-160.light { background:linear-gradient(90deg,#edf2f1 0 18%,#fff 18% 100%); }
.dt-theme-preview-160.dark { background:linear-gradient(90deg,#0b1419 0 18%,#1b2d34 18% 100%); }
.dt-theme-preview-160.system { background:linear-gradient(90deg,#edf2f1 0 18%,#fff 18% 50%,#0b1419 50% 68%,#1b2d34 68% 100%); }
@media(max-width:620px) { .dt-theme-choices-grid-160 { grid-template-columns:1fr; } .dt-theme-preview-160 { height:56px; } }
.dt-assignee-tabs-150,
.dt-task-view-head-150,
.dt-task-view-head-150 > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dt-assignee-tabs-150 {
  overflow-x: auto;
  padding: 3px 0 12px;
  scrollbar-width: thin;
}
.dt-assignee-tabs-150 button,
.dt-task-view-head-150 button {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
}
.dt-assignee-tabs-150 button.active,
.dt-task-view-head-150 button.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent);
  font-weight: 700;
}
.dt-task-kpi-150 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.dt-task-kpi-150 > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.dt-task-kpi-150 span { display: block; color: var(--muted); font-size: 12px; }
.dt-task-kpi-150 strong { display: block; margin-top: 5px; color: var(--text); font-size: 20px; }
.dt-task-query-150 { display:flex; justify-content:space-between; align-items:end; gap:12px; flex-wrap:wrap; margin:0 0 14px; }
.dt-task-query-150 form, .dt-task-query-150 > div { display:flex; align-items:end; flex-wrap:wrap; gap:8px; }
.dt-task-query-150 label { display:block; width:100%; color:var(--muted); font-size:12px; }
.dt-task-query-150 input { width:min(320px, 100%); min-height:38px; }
.dt-task-query-150 button { min-height:38px; border:1px solid var(--border); border-radius:10px; padding:8px 12px; background:var(--surface); color:var(--text); }
.dt-task-query-150 button.active { border-color:var(--accent); color:var(--accent); background:color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.dt-task-team-150 { margin:0 0 14px; padding:16px; border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:var(--shadow); }
.dt-task-team-head-150 { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px 12px; margin-bottom:12px; }
.dt-task-team-head-150 h3 { margin:0; font-size:16px; color:var(--text); }
.dt-task-team-head-150 span { font-size:12px; }
.dt-task-team-grid-150 { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:9px; }
.dt-task-team-card-150 { display:grid; gap:6px; text-align:left; min-width:0; padding:12px; border:1px solid var(--border); border-radius:11px; background:var(--surface-2); color:var(--text); }
.dt-task-team-card-150:hover { border-color:var(--accent); }
.dt-task-team-card-150 span { color:var(--muted); font-size:12px; line-height:1.4; }
.dt-task-transfer-150 { display:grid; gap:10px; margin:18px 0; padding:16px; border:1px solid var(--border); border-radius:14px; background:var(--surface-2); }
.dt-task-move-150 { display:flex; align-items:end; flex-wrap:wrap; gap:10px; margin:16px 0; padding:14px; border:1px solid var(--border); border-radius:14px; background:var(--surface-2); }
.dt-task-move-150 label { display:grid; gap:5px; min-width:180px; }
.dt-task-move-150 button { min-height:38px; }
.dt-task-move-150 p { flex-basis:100%; margin:0; font-size:12px; }
.dt-task-transfer-150 h3, .dt-task-transfer-150 p { margin:0; }
.dt-task-transfer-150 label { display:flex; align-items:center; gap:8px; }
.dt-task-transfer-150 label:has(select) { display:grid; gap:5px; }
.dt-task-transfer-150 input[type="checkbox"] { width:auto; flex:none; }
.dt-task-transfer-150 button { justify-self:start; }
.dt-task-view-head-150 { justify-content: space-between; margin: 0 0 12px; }
.dt-task-view-head-150 p { margin: 0; font-size: 12px; }
.dt-kanban-150 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}
.dt-kanban-attention-150 {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--warning, #d99020) 55%, var(--border));
  border-radius: 16px;
  background: color-mix(in srgb, var(--warning, #d99020) 7%, var(--surface-2));
}
.dt-kanban-attention-150 h3 {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 2px 12px;
  color: var(--text);
  font-size: 14px;
}
.dt-kanban-attention-150 h3 span { color: var(--muted); }
.dt-kanban-attention-150 > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 8px;
}
.dt-kanban-attention-150 .dt-kanban-card-150 { margin: 0; }

/* Shared finishing states for all redesigned screens. */
html[data-ui-style="executive"][data-theme] #app .page :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
  select, textarea
) {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
html[data-ui-style="executive"][data-theme] #app .page :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
  select, textarea
):focus-visible {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
html[data-ui-style="executive"][data-theme] #app .page :is(input, select, textarea, button):disabled,
html[data-ui-style="executive"][data-theme] #app .page [aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .62;
}
html[data-ui-style="executive"][data-theme] #app .page :is(.product-empty, .placeholder, .empty):not(:empty) {
  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 [role="alert"],
html[data-ui-style="executive"][data-theme] #app .page .error-message {
  border-color: color-mix(in srgb, var(--danger) 48%, var(--border));
  border-radius: 10px;
  background: color-mix(in srgb, var(--danger) 8%, var(--surface));
  color: var(--text);
}
html[data-ui-style="executive"][data-theme] #app .page :is(pre, code) {
  overflow-wrap: anywhere;
}
html[data-ui-style="executive"][data-theme] #app .page pre {
  max-width: 100%;
  overflow: auto;
}
@media (prefers-reduced-motion: reduce) {
  html[data-ui-style="executive"][data-theme] #app *,
  html[data-ui-style="executive"][data-theme] #app *::before,
  html[data-ui-style="executive"][data-theme] #app *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.dt-kanban-column-150 {
  min-width: 0;
  min-height: 180px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-2);
}
.dt-kanban-column-150 h3 {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 2px 12px;
  color: var(--text);
  font-size: 14px;
}
.dt-kanban-column-150 h3 span { color: var(--muted); }
.dt-kanban-column-150 > p { margin: 14px 3px; }
.dt-kanban-card-150 {
  display: grid;
  justify-items: start;
  gap: 8px;
  width: 100%;
  margin: 0 0 8px;
  padding: 13px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.dt-kanban-card-150:hover { border-color: var(--accent); }
.dt-kanban-card-150[draggable="true"] { cursor:grab; }
.dt-kanban-card-150[draggable="true"]:active { cursor:grabbing; }
.dt-kanban-card-150 small { color: var(--muted); }
.dt-task-cost-mini-150 { display:block; margin-top:7px; color:var(--accent) !important; font-size:12px; }
.dt-kanban-card-150 .runtime-pill { max-width: 100%; overflow-wrap: anywhere; }
.dt-task-complete-150 { justify-self: start; margin-top: 8px; }
.dt-task-cost-150 { display:inline-block; margin:4px 0 15px; padding:8px 12px; border:1px solid var(--border); border-radius:10px; background:var(--surface-2); color:var(--text); font-size:13px; }
html[data-ui-style="executive"][data-theme] :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 2px;
}
@media (max-width: 900px) {
  html[data-ui-style="executive"][data-theme] .topbar { border-radius: 12px; }
  .dt-kanban-150 { grid-template-columns: 1fr; }
  .dt-task-view-head-150 { flex-wrap: wrap; }
  .dt-task-kpi-150 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-ui-style="executive"][data-theme] #page-channels .channel-platform-tabs,
  html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 {
    display: flex;
  }
}
@media (max-width: 600px) {
  .dt-api-path-157 { grid-template-columns:1fr; }
  .dt-alert-log-search-157 { grid-template-columns:1fr; }
  .dt-task-query-150 form { width:100%; }
  .dt-task-query-150 input { flex:1 1 190px; }
  .dt-task-team-grid-150 { grid-template-columns:1fr; }
}
@media (min-width: 901px) {
  html[data-ui-style="executive"][data-theme] .sidebar { width: 238px !important; }
  html[data-ui-style="executive"][data-theme] .main {
    margin-left: 238px !important;
    padding: 24px;
  }
}
.premium-bottom-nav-150 { display: none; }
@media (max-width: 600px) {
  .modal-bg.show { z-index: 11000; }
  html[data-ui-style="executive"][data-theme] .main {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }
  .premium-bottom-nav-150 {
    position: fixed;
    inset: auto 0 0;
    z-index: 9001;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 -8px 24px rgba(18,42,56,.08);
  }
  .premium-bottom-nav-150 :is(a, button) {
    min-width: 0;
    min-height: 48px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
  }
  .premium-bottom-nav-150 :is(a.active, a:hover, button:hover, button[aria-expanded="true"]) {
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    color: var(--accent);
  }
  .premium-bottom-nav-150 svg { width: 19px; height: 19px; }
  body.mobile-nav-open .premium-bottom-nav-150 { display: none; }
}
