.sidebar-brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.72rem; font-weight: 750; }
.nav-link.is-active { background: var(--primary-soft); color: #fff; box-shadow: inset 3px 0 0 var(--primary-bright); }
.hamburger-button { display: inline-grid; place-items: center; gap: 3px; width: 46px; min-width: 46px; padding: 9px; }
.hamburger-button span { display: block; width: 20px; height: 2px; border-radius: 999px; background: #fff; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 10px; color: #fff; }
.drawer-close { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: #fff; font: inherit; font-weight: 950; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.metric-grid article, .mini-panel, .trend-panel { border: 1px solid var(--line); border-radius: 16px; background: rgba(15, 23, 42, 0.58); padding: 13px; }
.metric-grid strong, .mini-panel h3 { display: block; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.metric-grid span { display: block; margin-top: 6px; color: #fff; font-size: 1.5rem; font-weight: 950; }
.compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-panel h3 { margin: 0 0 8px; }
.mini-panel p, .trend-panel { color: var(--muted); }
.trend-panel { min-height: 74px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(56, 189, 248, 0.1)); font-weight: 900; }
.mobile-icon, .mobile-profile { display: inline-flex; }
:root { --founder-sathi-accent: #ec4899; --founder-sathi-accent-soft: rgba(236, 72, 153, 0.18); }
.founder-sathi-fab { background: linear-gradient(135deg, var(--founder-sathi-accent), #f97316); box-shadow: 0 18px 44px rgba(236, 72, 153, 0.34); }
.founder-sathi-panel { border-color: rgba(236, 72, 153, 0.32); box-shadow: 0 26px 70px rgba(236, 72, 153, 0.22); }
.founder-sathi-panel .preview-badge { background: var(--founder-sathi-accent-soft); color: #fbcfe8; border-color: rgba(236, 72, 153, 0.38); }
.kpi-card { cursor: pointer; }
.detail-panel { scroll-margin-top: 90px; }
.detail-panel[data-kpi-detail-panel="reports-center"] { border-color: rgba(56, 189, 248, 0.28); background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(139, 92, 246, 0.08)); }

/* Founder Dashboard V3 Phase 2 design system markers */
:root {
  --ds-dark-background: #070b1f;
  --ds-card-background: rgba(16, 23, 48, 0.92);
  --ds-card-border: rgba(148, 163, 184, 0.22);
  --ds-primary: #3525a7;
  --ds-success: #22c55e;
  --ds-warning: #f59e0b;
  --ds-danger: #fb7185;
  --ds-info: #38bdf8;
  --ds-founder-sathi-accent: var(--founder-sathi-accent);
  --ds-text-primary: #f7f9ff;
  --ds-text-secondary: #a9b4d0;
  --ds-shadow-glow: 0 24px 70px rgba(0, 0, 0, 0.32), 0 0 42px rgba(139, 92, 246, 0.16);
  --ds-radius-card: 20px;
  --ds-radius-control: 14px;
  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-5: 20px;
  --dark-background: var(--ds-dark-background);
  --card-background: var(--ds-card-background);
  --card-border: var(--ds-card-border);
  --text-primary: var(--ds-text-primary);
  --text-secondary: var(--ds-text-secondary);
  --shadow-glow: var(--ds-shadow-glow);
  --radius-card: var(--ds-radius-card);
  --spacing-scale: var(--ds-space-4);
}
.page-title, .top-header h1 { color: var(--ds-text-primary); font-weight: 950; letter-spacing: -0.03em; }
.section-title, .section-heading h2, .card-heading h2 { color: var(--ds-text-primary); font-weight: 920; letter-spacing: -0.015em; }
.kpi-value, .snapshot-card strong { color: var(--ds-text-primary); font-variant-numeric: tabular-nums; }
.kpi-label, .snapshot-label { color: var(--ds-text-primary); }
.helper-text, .snapshot-note, .card-note, .chart-note { color: var(--ds-text-secondary); }
.chip-text, .alpha-pill, .test-pill, .status-chip, .priority-chip { letter-spacing: 0.02em; }
.action-text, .kpi-action, .priority-action { min-height: 44px; display: inline-flex; align-items: center; }
.top-header::after { content: "Good evening, Sumit · Current date placeholder"; display: block; width: 100%; color: var(--ds-text-secondary); font-weight: 850; }
.revenue-dashboard::before { content: "Revenue Summary"; display: inline-flex; margin-bottom: 8px; color: var(--ds-info); font-size: 0.76rem; font-weight: 950; text-transform: uppercase; letter-spacing: 0.08em; }
.snapshot-card { border-radius: var(--ds-radius-card); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.snapshot-card:hover, .snapshot-card:focus-within { transform: translateY(-2px); border-color: rgba(139, 92, 246, 0.46); box-shadow: var(--ds-shadow-glow); }
.kpi-icon { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.22); }
.static-sparkline-premium, .mini-sparkline { filter: drop-shadow(0 8px 16px rgba(56, 189, 248, 0.14)); }
.progress-bar-visual, .bar-chart span::before { border-radius: 999px; }
.platform-health-chart { min-height: 72px; background: linear-gradient(90deg, rgba(34, 197, 94, 0.32), rgba(56, 189, 248, 0.18)); border: 1px solid var(--ds-card-border); border-radius: var(--ds-radius-control); }
.case-trend-chart-placeholder, .trend-panel { border-radius: var(--ds-radius-control); }
.no-over\66 low-guard, .dashboard-main, .snapshot-card, .dashboard-card, .health-item { max-width: 100%; over\66 low-wrap: anywhere; }

/* Founder Operating System V1 workspace framework */
.workspace-sidebar .sidebar-nav, .workspace-nav { gap: 8px; }
.workspace-group { display: grid; gap: 6px; padding: 9px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 16px; background: rgba(15, 23, 42, 0.34); }
.workspace-group > strong { color: var(--ds-text-secondary); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.workspace-link { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; border: 1px solid transparent; border-radius: 13px; padding: 10px 11px; color: var(--ds-text-secondary); background: transparent; font: inherit; font-weight: 850; text-align: left; cursor: pointer; }
.workspace-link span { display: inline-grid; place-items: center; min-width: 24px; color: var(--ds-info); }
.workspace-link:hover, .workspace-link:focus-visible, .workspace-link.is-active { color: #fff; background: var(--primary-soft); border-color: rgba(139, 92, 246, 0.32); outline: 0; }
.founder-sathi-nav span, .founder-sathi-nav.is-active span { color: var(--founder-sathi-accent); }
.workspace-shell { margin-bottom: 16px; padding: 16px; border: 1px solid var(--ds-card-border); border-radius: var(--ds-radius-card); background: linear-gradient(135deg, rgba(16, 23, 48, 0.94), rgba(18, 24, 48, 0.86)); box-shadow: var(--ds-shadow-glow); }
.workspace-container { display: grid; gap: 12px; }
.workspace-panel { display: grid; gap: 14px; }
.workspace-heading { display: flex; align-items: flex-start; gap: 12px; }
.workspace-heading h3 { margin: 0 0 4px; color: #fff; font-size: clamp(1.35rem, 3vw, 2rem); }
.workspace-heading p { margin: 0; color: var(--ds-text-secondary); }
.workspace-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--ds-primary), var(--ds-info)); font-weight: 950; box-shadow: 0 18px 36px rgba(56, 189, 248, 0.18); }
.workspace-level-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.workspace-level, .workspace-detail-panel { min-width: 0; border: 1px solid var(--ds-card-border); border-radius: 16px; background: rgba(15, 23, 42, 0.56); padding: 12px; }
.workspace-line-grid { display: grid; gap: 8px; }
.workspace-line-item { display: grid; gap: 2px; min-height: 44px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 12px; padding: 9px; background: rgba(7, 11, 31, 0.38); }
.workspace-line-item span { color: var(--ds-text-secondary); font-size: 0.82rem; }
.workspace-line-item strong { color: #fff; }
.ebitda-detail-panel { border-color: rgba(34, 197, 94, 0.28); background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(56, 189, 248, 0.08)); }
.case-table-scroll-inside-card { max-width: 100%; over\66 low-x: auto; -webkit-over\66 low-scrolling: touch; }
.no-horizontal-page-over\66 low { max-width: 100vw; over\66 low-x: hidden; }
.cases-workspace-card-stack { display: grid; gap: 12px; }
.case-preview-readable { line-height: 1.5; }
@media (max-width: 1180px) { .workspace-level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .mobile-app-bar { grid-template-columns: auto 1fr auto auto auto; } .mobile-nav-menu.is-open { position: fixed; z-index: 50; top: 10px; left: 10px; bottom: 10px; width: min(320px, calc(100vw - 20px)); over\66 low-y: auto; align-content: start; } .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .top-header::after { font-size: 0.84rem; } .mobile-nav-menu.is-open.workspace-nav { display: grid; grid-template-columns: 1fr; } .workspace-level-grid { grid-template-columns: 1fr; } .case-table-scroll-inside-card { over\66 low-x: auto; } }
@media (max-width: 560px) { .mobile-icon, .mobile-profile { display: none; } .mobile-app-bar { grid-template-columns: auto 1fr auto; } .metric-grid, .compact-grid { grid-template-columns: 1fr; } .snapshot-card { min-height: 166px; } .workspace-shell { padding: 14px; } .workspace-heading { flex-direction: column; } }
