/* Glass surfaces belong only to the signed-in workspace overview. */
.app-shell .console-main:has(.overview-page.active) {
  background: var(--glass-background,#f7f8fa);
}
.app-shell .console-main:has(.overview-page.active) > .topbar {
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255,255,255,.96);
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.app-shell .overview-page {
  --overview-ink: #171717;
  --overview-muted: #737373;
  --overview-shadow: var(--glass-shadow,0 1px 2px rgba(16,24,40,.025));
  width: 100%;
  max-width: none;
  margin-inline: 0;
  color: var(--overview-ink);
}
.app-shell .overview-page .view-heading { align-items: center; margin-bottom: 24px; }
.app-shell .overview-page .view-heading h1 { color: var(--overview-ink); font-size: 30px; font-weight: 650; letter-spacing: -.035em; }
.app-shell .overview-page .eyebrow { color: #8a8a8a; letter-spacing: .08em; }
.app-shell .overview-page .view-heading p:not(.eyebrow) { color: var(--overview-muted); font-size: 14px; }
.app-shell .overview-page .overview-refresh {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  color: #525252;
  box-shadow: none;
}
.app-shell .overview-page .overview-balance-band,
.app-shell .overview-page .metrics-grid article,
.app-shell .overview-page .data-section {
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: var(--glass-surface,#fff);
  box-shadow: var(--overview-shadow);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.app-shell .overview-page .overview-balance-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 184px;
  margin-bottom: 20px;
  padding: 28px;
  background: var(--glass-surface-accent,#fff);
}
.app-shell .overview-page .overview-balance-band::after {
  display: none;
}
.app-shell .overview-page .overview-balance-copy { gap: 12px; }
.app-shell .overview-page .overview-balance-label { display: inline-flex; align-items: center; gap: 9px; }
.app-shell .overview-page .overview-balance-label svg { width: 18px; height: 18px; color: #525252; }
.app-shell .overview-page .overview-balance-copy span { color: #737373; font-size: 13px; }
.app-shell .overview-page .overview-balance-copy strong { color: #171717; font-size: clamp(34px,3.2vw,46px); letter-spacing: -.055em; overflow-wrap: anywhere; }
.app-shell .overview-page .overview-balance-copy small { color: var(--overview-muted); font-size: 12px; line-height: 1.7; }
.app-shell .overview-page .overview-recharge { gap: 12px; }
.app-shell .overview-page .overview-recharge-label { color: #737373; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.app-shell .overview-page .recharge-amount-chip {
  min-width: 56px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  color: #525252;
  box-shadow: none;
}
.app-shell .overview-page .billing-recharge-trigger {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid #171717;
  border-radius: 9px;
  background: #171717;
  color: #fff;
  box-shadow: none;
}
.app-shell .overview-page .billing-recharge-trigger span { color: inherit; }
.app-shell .overview-page .metrics-grid { gap: 16px; margin-bottom: 20px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.app-shell .overview-page .metrics-grid article { gap: 12px; padding: 22px; min-height: 156px; transition: border-color .2s ease, box-shadow .2s ease; }
.app-shell .overview-page .overview-metric-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app-shell .overview-page .overview-metric-heading span { color: var(--overview-muted); font-size: 13px; }
.app-shell .overview-page .overview-metric-heading svg { flex-shrink: 0; width: 34px; height: 34px; padding: 7px; border: 1px solid #e5e7eb; border-radius: 10px; color: rgba(89,104,206,.92); background: rgba(238,240,255,.72); }
.app-shell .overview-page .metrics-grid article:nth-child(1) svg { border-color: #e0e7ff; color: rgba(89,104,206,.92); background: rgba(238,240,255,.72); }
.app-shell .overview-page .metrics-grid article:nth-child(2) svg { border-color: rgba(237,233,254,.8); color: #7c3aed; background: rgba(245,243,255,.72); }
.app-shell .overview-page .metrics-grid article:nth-child(3) svg { border-color: rgba(204,251,241,.8); color: #0f766e; background: rgba(240,253,250,.72); }
.app-shell .overview-page .metrics-grid article:nth-child(4) svg { border-color: rgba(254,243,199,.8); color: #b45309; background: rgba(255,251,235,.72); }
.app-shell .overview-page .metrics-grid strong { color: var(--overview-ink); font-size: clamp(25px,2.2vw,32px); letter-spacing: -.035em; overflow-wrap: anywhere; }
.app-shell .overview-page .metrics-grid small { color: var(--overview-muted); font-size: 12px; line-height: 1.6; }
.app-shell .overview-page .overview-grid { gap: 20px; margin-bottom: 20px; grid-template-columns: minmax(0,1.5fr) minmax(300px,1fr); }
.app-shell .overview-page .data-section { margin-bottom: 0; }
.app-shell .overview-page .section-title { gap: 12px; padding: 22px 24px 16px; border-bottom: 0; }
.app-shell .overview-page .section-title h2 { margin-bottom: 6px; color: var(--overview-ink); font-size: 16px; font-weight: 650; }
.app-shell .overview-page .section-title p { color: var(--overview-muted); font-size: 12px; line-height: 1.6; }
.app-shell .overview-page .overview-section-icon { width: 19px; height: 19px; flex-shrink: 0; color: #7a94b2; margin-top: 2px; }
.app-shell .overview-page .usage-chart {
  justify-content: space-around;
  align-items: flex-end;
  height: 222px;
  gap: 10px;
  margin: 0 26px 24px;
  padding: 22px 0 30px;
  background: repeating-linear-gradient(to top,transparent 0,transparent 43px,rgba(15,23,42,.05) 43px,rgba(15,23,42,.05) 44px) left top / 100% calc(100% - 30px) no-repeat;
}
.app-shell .overview-page .chart-bar { max-width: 28px; border-radius: 4px 4px 2px 2px; background: #525252; box-shadow: none; transition: opacity .2s ease; }
.app-shell .overview-page .chart-bar span { top: calc(100% + 12px); color: #737373; font-size: 9px; }
.app-shell .overview-page .usage-chart > .empty-row { align-self: center; color: var(--overview-muted); font-size: 13px; text-align: center; }
.app-shell .overview-page .quickstart-section { padding-bottom: 24px; }
.app-shell .overview-page .quickstart-section > code { margin: 2px 26px 18px; padding: 13px 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafafa; color: #404040; font-size: 12px; }
.app-shell .overview-page .quickstart-section ol { counter-reset: overview-step; list-style: none; padding: 0; margin: 0 26px 18px; gap: 10px; }
.app-shell .overview-page .quickstart-section li { display: flex; align-items: center; gap: 10px; color: var(--overview-muted); font-size: 13px; line-height: 1.6; }
.app-shell .overview-page .quickstart-section li::before { counter-increment: overview-step; content: counter(overview-step,decimal-leading-zero); display: grid; flex-shrink: 0; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #f0f0f0; color: #525252; font: 10px "Roboto Mono",monospace; }
.app-shell .overview-page .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: #525252; font-size: 13px; }
.app-shell .overview-page .text-button svg { width: 15px; height: 15px; flex-shrink: 0; }
.app-shell .overview-page .quickstart-section .text-button { margin-left: 26px; background: #f5f5f5; }
.app-shell .overview-page .overview-recent { padding-bottom: 8px; }
.app-shell .overview-page .overview-recent .section-title { align-items: center; padding-bottom: 20px; }
.app-shell .overview-page th { background: #fafafa; color: #737373; font-size: 11px; font-weight: 500; border: 0; padding-block: 13px; }
.app-shell .overview-page td { border-color: #f0f0f0; color: #525252; padding-block: 17px; }
.app-shell .overview-page :is(th,td):first-child { padding-left: 26px; }
.app-shell .overview-page :is(th,td):last-child { padding-right: 26px; }
.app-shell .overview-page .empty-row td { padding-block: 36px; color: var(--overview-muted); }
.app-shell .overview-page button { transition: background .18s ease,border-color .18s ease,color .18s ease; }
.app-shell .overview-page button:focus-visible { outline: 2px solid #525252; outline-offset: 3px; }
@media (hover:hover) and (pointer:fine) {
  .app-shell .overview-page .metrics-grid article:hover { border-color: #d4d4d4; box-shadow: var(--glass-shadow-hover,0 12px 28px -18px rgba(15,23,42,.28)); }
  .app-shell .overview-page :is(.overview-refresh,.recharge-amount-chip):hover { border-color: #d4d4d4; background: #f5f5f5; }
  .app-shell .overview-page .billing-recharge-trigger:hover { background: #262626; }
  .app-shell .overview-page .text-button:hover { background: #f0f0f0; color: #171717; }
  .app-shell .overview-page .chart-bar:hover { opacity: .75; }
  .app-shell .overview-page tbody tr:hover td { background: #fafafa; }
}
@media (max-width:1100px) {
  .app-shell .overview-page .overview-balance-band { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .app-shell .overview-page .overview-recharge { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .app-shell .overview-page .overview-recharge-label { flex-basis: 100%; }
  .app-shell .overview-page .overview-recharge-amounts { justify-content: flex-start; }
  .app-shell .overview-page .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app-shell .overview-page .overview-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:560px) {
  .app-shell .overview-page .view-heading { flex-direction: row; align-items: center; gap: 12px; margin-bottom: 22px; }
  .app-shell .overview-page .view-heading h1 { font-size: 27px; }
  .app-shell .overview-page .view-heading p:not(.eyebrow) { font-size: 12px; }
  .app-shell .overview-page .overview-refresh { padding-inline: 12px; font-size: 12px; }
  .app-shell .overview-page :is(.overview-balance-band,.metrics-grid article,.data-section) { border-radius: 20px; }
  .app-shell .overview-page .overview-balance-band { padding: 24px 20px; margin-bottom: 16px; }
  .app-shell .overview-page .overview-recharge { display: grid; grid-template-columns: minmax(0,1fr); justify-items: stretch; gap: 12px; }
  .app-shell .overview-page .overview-recharge-amounts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
  .app-shell .overview-page .recharge-amount-chip { min-width: 0; padding: 0 4px; min-height: 44px; font-size: 12px; }
  .app-shell .overview-page .billing-recharge-trigger { min-height: 44px; justify-content: center; }
  .app-shell .overview-page .metrics-grid { gap: 12px; margin-bottom: 16px; }
  .app-shell .overview-page .metrics-grid article { min-height: 152px; padding: 16px; gap: 10px; }
  .app-shell .overview-page .overview-metric-heading { align-items: flex-start; }
  .app-shell .overview-page .overview-metric-heading span { font-size: 12px; line-height: 1.6; }
  .app-shell .overview-page .overview-metric-heading svg { width: 27px; height: 27px; padding: 6px; border-radius: 9px; }
  .app-shell .overview-page .metrics-grid strong { font-size: 25px; }
  .app-shell .overview-page .metrics-grid small { font-size: 11px; }
  .app-shell .overview-page .overview-grid { gap: 16px; margin-bottom: 16px; }
  .app-shell .overview-page .section-title { padding: 22px 20px 16px; }
  .app-shell .overview-page .usage-chart { gap: 7px; margin-inline: 20px; }
  .app-shell .overview-page .chart-bar:nth-child(even) span { display: none; }
  .app-shell .overview-page .quickstart-section > code { margin-inline: 20px; }
  .app-shell .overview-page .quickstart-section ol { margin-inline: 20px; }
  .app-shell .overview-page .quickstart-section .text-button { margin-left: 20px; }
  .app-shell .overview-page :is(th,td):first-child { padding-left: 20px; }
  .app-shell .overview-page :is(th,td):last-child { padding-right: 20px; }
}
@media (prefers-reduced-motion:reduce) {
  .app-shell .overview-page :is(button,.metrics-grid article,.chart-bar) { transition: none; }
  .app-shell .overview-page :is(button,.metrics-grid article):hover { transform: none; }
}
@media (forced-colors:active) {
  .app-shell .overview-page :is(.overview-balance-band,.metrics-grid article,.data-section,button) { outline: 1px solid CanvasText; }
  .app-shell .overview-page .overview-balance-band::after { display: none; }
  .app-shell .overview-page .chart-bar { background: Highlight; forced-color-adjust: none; }
}
.app-shell .overview-page .billing-recharge-trigger { border-color: rgba(89,104,206,.92); background: rgba(89,104,206,.92); }
.app-shell .overview-page .billing-recharge-trigger:hover { border-color: #4d5bc0; background: #4d5bc0; }
.app-shell .overview-page .chart-bar { background: #5968ce; }
.app-shell .overview-page .text-button { color: rgba(89,104,206,.92); }
.app-shell .overview-page .quickstart-section .text-button { background: rgba(238,240,255,.72); }
.app-shell .overview-page .quickstart-section li::before { background: rgba(238,240,255,.72); color: rgba(89,104,206,.92); }
.app-shell .overview-page button:focus-visible { outline-color: #5968ce; }
