/* The approved handoff's application frame. Screen content remains live. */
@media (min-width: 901px) {
  html[data-ui-style="executive"][data-theme] #app .sidebar {
    width: 238px !important;
    padding: 0 14px 16px;
    border-right: 1px solid var(--border) !important;
  }
  html[data-ui-style="executive"][data-theme] #app .main {
    margin-left: 238px !important;
  }
}
html[data-ui-style="executive"][data-theme] #app .main {
  min-width: 0;
  padding: 0 !important;
  background: var(--bg) !important;
}
html[data-ui-style="executive"][data-theme] #app .sidebar {
  background: var(--surface) !important;
  color: var(--text) !important;
}
html[data-ui-style="executive"][data-theme] #app .brand {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 80px;
  margin: 0 -14px 9px;
  padding: 20px 12px 27px 66px !important;
  font-size: 16px !important;
  line-height: 1.15;
  color: var(--text) !important;
  white-space: nowrap;
}
html[data-ui-style="executive"][data-theme] #app .brand::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 17px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  box-shadow: inset 0 0 0 8px color-mix(in srgb, var(--surface) 80%, transparent);
}
html[data-ui-style="executive"][data-theme] #app .brand::after {
  content: "AI-платформа для бизнеса и жизни";
  position: absolute;
  left: 66px;
  top: 41px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}
html[data-ui-style="executive"][data-theme] #app .nav-group-title {
  padding: 15px 10px 5px !important;
  font-size: 10px !important;
  font-weight: 650;
  letter-spacing: .09em !important;
  color: var(--muted) !important;
}
html[data-ui-style="executive"][data-theme] #app .nav a {
  gap: 10px;
  min-height: 37px;
  margin: 2px 0 !important;
  padding: 9px 11px !important;
  border-radius: 9px;
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.2;
}
html[data-ui-style="executive"][data-theme] #app .nav a.active {
  font-weight: 700;
}
html[data-ui-style="executive"][data-theme] #app .nav a.active::before {
  display: none;
}
html[data-ui-style="executive"][data-theme] #app .premium-side-icon-150 {
  flex: 0 0 18px;
  color: currentColor;
}
html[data-ui-style="executive"][data-theme] #app .sidebar-footer {
  margin-top: auto;
  padding: 13px 9px 4px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  line-height: 1.35;
}
html[data-ui-style="executive"][data-theme] #app .sidebar-product-meta {
  font-weight: 650;
}
html[data-ui-style="executive"][data-theme] #app .sidebar-creator {
  margin-top: 6px;
  font-size: 10px;
}
html[data-ui-style="executive"][data-theme] #app .topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px !important;
  margin: 0 0 24px;
  padding: 12px 24px !important;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface) !important;
  box-shadow: none;
}
html[data-ui-style="executive"][data-theme] #app .topbar h1 {
  margin: 0 0 2px;
  font-size: 20px !important;
  font-weight: 750;
  letter-spacing: -.02em;
}
html[data-ui-style="executive"][data-theme] #app .topbar #pageSubtitle {
  font-size: 12px;
  line-height: 1.3;
}
html[data-ui-style="executive"][data-theme] #app .topbar > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
html[data-ui-style="executive"][data-theme] #app .topbar #usernameTop {
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}
html[data-ui-style="executive"][data-theme] #app .topbar :is(button, .top-avatar) {
  flex: 0 0 auto;
}
html[data-ui-style="executive"][data-theme] #app .main > .page.active {
  padding: 0 24px 28px;
}
html[data-ui-style="executive"][data-theme] #app :is(.panel, .metric-card, .integration-card-058, .agent-v2-card) {
  box-shadow: var(--shadow) !important;
}
html[data-ui-style="executive"][data-theme] #page-home.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
html[data-ui-style="executive"][data-theme] #page-home .page-hero {order:0;min-height:170px;margin:0 !important;padding:24px !important;background:linear-gradient(100deg,var(--surface) 0%,var(--surface) 72%,color-mix(in srgb,var(--accent) 12%,var(--surface)) 100%);}
html[data-ui-style="executive"][data-theme] #page-home .page-hero .eyebrow {display:none}
html[data-ui-style="executive"][data-theme] #page-home .page-hero h2 {margin:0 0 8px;font-size:clamp(23px,2.3vw,29px) !important}
html[data-ui-style="executive"][data-theme] #page-home .page-hero p {max-width:680px;margin:0;font-size:13px;line-height:1.4}
html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid {order:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:12px !important;margin:0 !important}
html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid .metric-card {min-width:0;min-height:98px !important;padding:17px !important}
html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid .metric-value {margin-top:8px;font-size:26px;font-weight:750}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-workspace-163 {order:2;gap:14px;margin:0}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-workspace-163 > section {min-height:210px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-expenses-head-173 {order:3;display:flex;justify-content:space-between;align-items:end;gap:12px;margin-top:4px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-expenses-head-173 h3 {margin:2px 0 3px;font-size:17px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-expenses-head-173 p {margin:0;font-size:12px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-expenses-head-173 select {width:auto;min-width:110px}
html[data-ui-style="executive"][data-theme] #page-home .finance-grid {order:4;gap:12px !important;margin:0}
html[data-ui-style="executive"][data-theme] #page-home .dashboard-two {order:5;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}
html[data-ui-style="executive"][data-theme] #page-home .dashboard-two > .panel {min-width:0;margin:0;padding:19px !important}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-more-metrics-173 .metric-card {min-height:0;margin:8px 0;padding:11px !important;box-shadow:none !important}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-more-metrics-173 .metric-value {font-size:21px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-next-162 {display:none}
@media (max-width: 1250px) {
  html[data-ui-style="executive"][data-theme] #page-home .dashboard-two {grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-ui-style="executive"][data-theme] #page-home .dt-home-more-metrics-173 {grid-column:1/-1}
}
@media (max-width: 900px) {
  html[data-ui-style="executive"][data-theme] #app .main {margin-left: 0 !important;}
  html[data-ui-style="executive"][data-theme] #app .sidebar {padding: 0 14px 18px;}
  html[data-ui-style="executive"][data-theme] #app .topbar {min-height: 66px !important;margin-bottom: 16px;padding: 10px 16px !important;}
  html[data-ui-style="executive"][data-theme] #app .main > .page.active {padding: 0 16px 90px;}
  html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media (max-width: 620px) {
  html[data-ui-style="executive"][data-theme] #app .topbar h1 {font-size: 17px !important;}
  html[data-ui-style="executive"][data-theme] #app .topbar #pageSubtitle {font-size: 11px;}
  html[data-ui-style="executive"][data-theme] #app .topbar #usernameTop {display: none;}
  html[data-ui-style="executive"][data-theme] #app .main > .page.active {padding: 0 12px 90px;}
  html[data-ui-style="executive"][data-theme] #page-home .page-hero {min-height:0;padding:18px !important}
  html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid {grid-template-columns:1fr !important}
  html[data-ui-style="executive"][data-theme] #page-home .dashboard-two {grid-template-columns:1fr}
  html[data-ui-style="executive"][data-theme] #page-home .dt-home-more-metrics-173 {grid-column:auto}
  html[data-ui-style="executive"][data-theme] #page-home .dt-home-expenses-head-173 {align-items:stretch;flex-direction:column}
}

/* Full approved frame and Home composition. Legacy screen content stays functional. */
html[data-ui-style="executive"][data-theme] #app .sidebar {padding:0 14px 14px !important;}
html[data-ui-style="executive"][data-theme] #app .brand {margin:0 -14px 10px;padding:26px 12px 22px 66px !important;min-height:74px;white-space:normal;line-height:1.12;}
html[data-ui-style="executive"][data-theme] #app .brand::before {top:25px;left:22px;background:var(--accent);box-shadow:none;}
html[data-ui-style="executive"][data-theme] #app .brand::after {top:48px;left:66px;font-size:11px;content:"AI-сотрудники для бизнеса";white-space:nowrap;}
html[data-ui-style="executive"][data-theme] #app .nav {overflow:auto;}
html[data-ui-style="executive"][data-theme] #app .nav-group-title {margin-top:4px;padding:13px 10px 5px !important;font-weight:500;}
html[data-ui-style="executive"][data-theme] #app .nav a {margin:2px 0 !important;min-height:38px;padding:9px 11px !important;font-weight:450;color:var(--muted) !important;}
html[data-ui-style="executive"][data-theme] #app .nav a.active {background:color-mix(in srgb,var(--accent) 12%,var(--surface)) !important;color:var(--accent) !important;font-weight:700;}
html[data-ui-style="executive"][data-theme] #app .sidebar-footer {padding:12px 8px 0;font-size:10px;line-height:1.35;}
html[data-ui-style="executive"][data-theme] #app .sidebar-product-meta {font-weight:400;}
.dt-frame-sidebar-profile-175 {display:flex;align-items:center;gap:8px;margin-top:10px;color:var(--text)}
.dt-frame-sidebar-profile-175 > span:last-child {display:grid;gap:1px;min-width:0}
.dt-frame-sidebar-profile-175 strong {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.dt-frame-sidebar-profile-175 small {color:var(--muted)}
html[data-ui-style="executive"][data-theme] #app .topbar.dt-frame-175 {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px !important;margin:0 0 24px;padding:9px 24px !important;border:0;border-bottom:1px solid var(--border);border-radius:0;box-shadow:none;}
html[data-ui-style="executive"][data-theme] #app .dt-frame-title-175 {display:flex;align-items:center;gap:16px;min-width:0}
html[data-ui-style="executive"][data-theme] #app .dt-frame-title-175 > :not(#mobileNavButton) {min-width:0}
html[data-ui-style="executive"][data-theme] #app .dt-frame-actions-175 {display:flex;align-items:center;gap:8px;min-width:0}
html[data-ui-style="executive"][data-theme] #app .dt-frame-175 #mobileNavButton {position:static;display:grid !important;place-items:center;flex:0 0 38px;width:38px;height:38px;margin:0;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);font-size:16px;box-shadow:none;}
html[data-ui-style="executive"][data-theme] #app .dt-frame-actions-175 :is(#help058Button,#dtThemeButton082,.dt-frame-icon-175) {position:static;display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;margin:0;padding:0;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);text-decoration:none;font-size:16px;box-shadow:none;}
.dt-frame-profile-175 {position:relative;margin-left:7px}
.dt-frame-profile-175 > summary {display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;white-space:nowrap}
.dt-frame-profile-175 > summary::-webkit-details-marker {display:none}
.dt-frame-profile-175:has(#topAvatar) > summary > .dt-frame-avatar-175 {display:none}
.dt-frame-avatar-175 {display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:color-mix(in srgb,var(--accent) 78%,var(--surface));color:#fff;font-size:11px;font-weight:700}
.dt-frame-profile-copy-175 {display:grid;gap:1px}
html[data-ui-style="executive"][data-theme] #app .topbar .dt-frame-profile-copy-175 #usernameTop {font-size:12px;font-weight:700}
.dt-frame-profile-copy-175 small {color:var(--muted);font-size:10px}
.dt-frame-profile-menu-175 {position:absolute;z-index:50;top:42px;right:0;min-width:140px;padding:8px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}
.dt-frame-profile-menu-175 #logout {width:100%;text-align:left}
html[data-ui-style="executive"][data-theme] #page-home.active {gap:16px}
html[data-ui-style="executive"][data-theme] #page-home .page-hero {display:flex;align-items:center;min-height:170px;padding:24px !important;border-radius:22px;background:linear-gradient(100deg,var(--surface) 0%,var(--surface) 75%,color-mix(in srgb,var(--accent) 10%,var(--surface)) 75%,var(--surface) 100%)}
html[data-ui-style="executive"][data-theme] #page-home .page-hero h2 {font-size:27px !important}
html[data-ui-style="executive"][data-theme] #page-home .page-hero p {max-width:650px;font-size:13px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-actions-150 {margin-top:16px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-actions-150 a {min-height:36px;padding:8px 13px;border-radius:10px;font-size:12px}
html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid {grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:14px !important}
html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid .metric-card {min-height:104px !important;padding:16px !important}
html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid .metric-label {font-size:11px}
html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid .metric-value {font-size:24px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-workspace-163 {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-workspace-163 > section {min-height:246px;padding:17px !important;border-radius:16px}
.dt-home-section-title-175 h3 {margin:0 0 2px !important;font-size:15px !important}
.dt-home-section-title-175 p {margin:0 0 13px !important;font-size:11px !important}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-attention-row-163 {min-height:58px;justify-content:space-between;background:var(--surface);}
.dt-home-attention-row-163 > span {display:grid;gap:3px}
.dt-home-attention-row-163 > span > strong {display:block;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:none;color:var(--text);font-size:12px}
.dt-home-attention-row-163 small {font-size:10px;color:var(--muted)}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-attention-row-163 .dt-home-count-175 {min-width:30px;min-height:25px;border-radius:20px;font-size:11px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-setup-row-163 {min-height:32px;margin-top:2px;padding:4px 8px;border:0;font-size:11px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-lower-175 {order:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-lower-175 > .panel {min-width:0;min-height:280px;margin:0;padding:17px !important;border-radius:16px}
.dt-home-lower-175 h3 {margin:0 0 3px;font-size:15px}
.dt-home-lower-175 p {margin:0 0 13px;font-size:11px}
.dt-home-status-row-175,.dt-home-quick-row-175 {display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:47px;margin-top:7px;padding:9px 11px;border:1px solid var(--border);border-radius:10px;color:var(--text);text-decoration:none}
.dt-home-status-row-175 strong,.dt-home-quick-row-175 strong {font-size:11px}
.dt-home-status-row-175 span {font-size:11px;color:var(--accent)}
.dt-home-quick-row-175 {display:grid;justify-content:stretch;gap:2px}
.dt-home-quick-row-175 small {color:var(--muted);font-size:10px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-cost-head-175 {display:flex;align-items:start;justify-content:space-between;gap:8px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-cost-head-175 select {width:auto;max-width:125px;min-width:90px;padding:7px 8px;font-size:11px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-cost-175 .finance-grid {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:7px !important}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-cost-175 .finance-grid .metric-card {min-height:0 !important;margin:0;padding:9px !important;border-radius:10px;box-shadow:none !important}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-cost-175 .finance-grid .metric-card:first-child {grid-column:1/-1;border:0;padding:7px 2px !important}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-cost-175 .finance-grid .money-big {font-size:22px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-cost-175 .finance-grid .metric-card:not(:first-child) .money-big {font-size:14px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-cost-175 .finance-grid .money-small {font-size:9px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-server-177 {order:4;min-width:0;margin:0;padding:18px !important;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
#page-home .dt-home-server-177 .eyebrow {margin-bottom:5px;font-size:10px;letter-spacing:.08em}
#page-home .dt-home-server-177 h2 {margin:0 0 4px;font-size:16px}
#page-home .dt-home-server-description-177 {margin:0 0 15px;font-size:11px}
#page-home .dt-home-server-177 .server-readable-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#page-home .dt-home-server-177 .server-readable-item {min-width:0;min-height:79px;padding:11px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2)}
#page-home .dt-home-server-177 .server-readable-item .muted {font-size:11px}
#page-home .dt-home-server-177 .server-readable-item b {display:block;margin-top:7px;font-size:16px;line-height:1.2;overflow-wrap:anywhere}
#page-home .dt-home-server-177 .server-readable-item .money-small {margin-top:4px;font-size:10px}
.server-usage-meter-218 {display:block;width:100%;height:7px;margin:10px 0 4px;overflow:hidden;border:0;border-radius:999px;background:var(--border);accent-color:var(--success)}
.server-usage-meter-218::-webkit-progress-bar {border-radius:999px;background:var(--border)}
.server-usage-meter-218::-webkit-progress-value {border-radius:999px;background:var(--success)}
.server-usage-meter-218::-moz-progress-bar {border-radius:999px;background:var(--success)}
.server-usage-meter-218.warning {accent-color:var(--warning)}
.server-usage-meter-218.warning::-webkit-progress-value,.server-usage-meter-218.warning::-moz-progress-bar {background:var(--warning)}
.server-usage-meter-218.critical {accent-color:var(--danger)}
.server-usage-meter-218.critical::-webkit-progress-value,.server-usage-meter-218.critical::-moz-progress-bar {background:var(--danger)}
.server-usage-caption-218,.server-usage-unavailable-218 {display:block;color:var(--muted);font-size:10px;line-height:1.35}
.server-usage-unavailable-218 {margin-top:8px}
.dt-dashboard-stale-218 {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--warning) 42%,var(--border));border-radius:11px;background:color-mix(in srgb,var(--warning) 8%,var(--surface));color:var(--text);font-size:12px;line-height:1.45}
.dt-dashboard-stale-218 .secondary {flex:0 0 auto;min-height:34px;padding:6px 10px}
@media(max-width:620px) {.dt-dashboard-stale-218 {align-items:stretch;flex-direction:column}.dt-dashboard-stale-218 .secondary {width:100%}}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-technical-175 {order:5;margin:0 0 30px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.dt-home-technical-175 > summary {padding:13px 17px;cursor:pointer;color:var(--muted);font-size:12px}
.dt-home-technical-metrics-175 {display:flex;gap:10px;padding:0 16px}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-technical-metrics-175 .metric-card {min-width:120px;min-height:0 !important;padding:11px !important;box-shadow:none !important}
html[data-ui-style="executive"][data-theme] #page-home .dt-home-technical-175 .dashboard-two {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}
@media (max-width:1100px) {html[data-ui-style="executive"][data-theme] #page-home .dt-home-lower-175 {grid-template-columns:1fr 1fr}html[data-ui-style="executive"][data-theme] #page-home .dt-home-quick-175 {grid-column:1/-1}}
@media (max-width:900px) {html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important}html[data-ui-style="executive"][data-theme] #page-home .dt-home-workspace-163 {grid-template-columns:1fr}}
@media (max-width:900px) {#page-home .dt-home-server-177 .server-readable-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px) {html[data-ui-style="executive"][data-theme] #app .dt-frame-175 {padding:9px 12px !important}html[data-ui-style="executive"][data-theme] #app .dt-frame-title-175 {gap:9px}html[data-ui-style="executive"][data-theme] #app .dt-frame-actions-175 {gap:5px}html[data-ui-style="executive"][data-theme] #app .dt-frame-175 #mobileNavButton {width:33px;height:33px;flex-basis:33px}html[data-ui-style="executive"][data-theme] #app .dt-frame-actions-175 :is(#help058Button,#dtThemeButton082,.dt-frame-icon-175) {width:33px;height:33px;flex-basis:33px}html[data-ui-style="executive"][data-theme] #app .dt-frame-actions-175 :is(#dtThemeButton082,.dt-frame-profile-175) {display:none !important}html[data-ui-style="executive"][data-theme] #page-home .dashboard-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important}html[data-ui-style="executive"][data-theme] #page-home .dt-home-lower-175 {grid-template-columns:1fr !important}html[data-ui-style="executive"][data-theme] #page-home .dt-home-quick-175 {grid-column:auto}html[data-ui-style="executive"][data-theme] #page-home .dt-home-technical-175 .dashboard-two {grid-template-columns:1fr}}
