/* ─────────────────────────────────────────────────────────────
   Zackgo Reports — Live Demo Workspace
   Shared styles for demo-executive.html and demo-report.html
────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-navy: #06231B;
  --brand-navy-deep: #04140F;
  --accent: #E0B44C;
  --accent-2: #C9992F;
  --accent-soft: rgba(224, 180, 76, .14);
  --accent-strong: rgba(224, 180, 76, .30);
  --success: #10B981;
  --success-soft: rgba(16, 185, 129, .14);
  --danger: #F87171;
  --danger-soft: rgba(248, 113, 113, .14);
  --info: #60A5FA;
  --info-soft: rgba(96, 165, 250, .14);
  --violet: #A78BFA;
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 16px;
  --sidebar: 264px;
  --demo-banner-h: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #04140F;
  --bg-grad-1: rgba(96, 165, 250, .10);
  --bg-grad-2: rgba(224, 180, 76, .09);
  --bg-grad-3: rgba(167, 139, 250, .07);
  --bg-solid: #06231B;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --surface-3: rgba(255, 255, 255, .10);
  --surface-solid: #0A2A20;
  --surface-elev: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .14);
  --text: #E6ECF7;
  --text-strong: #FFFFFF;
  --text-dim: rgba(230, 236, 247, .68);
  --text-mute: rgba(230, 236, 247, .46);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-md: 0 12px 32px -14px rgba(0, 0, 0, .55);
  --shadow-lg: 0 32px 80px -30px rgba(0, 0, 0, .7);
  --navy: #04140F;
  --grey-100: var(--border);
  --grey-300: var(--text-mute);
  --grey-500: var(--text-dim);
  --grey-700: var(--text);
  --green: var(--success);
  --amber: var(--accent);
  --red: var(--danger);
  --off-white: var(--surface-2);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F1F6F3;
  --bg-grad-1: rgba(59, 130, 246, .06);
  --bg-grad-2: rgba(224, 180, 76, .07);
  --bg-grad-3: rgba(124, 58, 237, .05);
  --bg-solid: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F5F9;
  --surface-3: #E9EDF3;
  --surface-solid: #FFFFFF;
  --surface-elev: linear-gradient(180deg, #FFFFFF, #FBFCFE);
  --border: rgba(15, 23, 42, .08);
  --border-strong: rgba(15, 23, 42, .14);
  --text: #071A14;
  --text-strong: #04140F;
  --text-dim: rgba(11, 18, 32, .66);
  --text-mute: rgba(11, 18, 32, .46);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px -10px rgba(15, 23, 42, .14);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .18);
  --navy: #06231B;
  --grey-100: #EEF1F6;
  --grey-300: #CBD3DF;
  --grey-500: var(--text-dim);
  --grey-700: var(--text);
  --off-white: var(--surface-2);
}

html, body { height: 100%; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 700px at -10% -20%, var(--bg-grad-1), transparent 60%),
    radial-gradient(900px 640px at 110% 10%, var(--bg-grad-2), transparent 55%),
    radial-gradient(900px 600px at 50% 120%, var(--bg-grad-3), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

body.has-demo-banner { padding-top: var(--demo-banner-h); }

/* ── DEMO BANNER ── */
.demo-mode-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--demo-banner-h);
  background: linear-gradient(90deg, #06231B 0%, #0C4636 50%, #06231B 100%);
  border-bottom: 1px solid rgba(224, 180, 76, .35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}

.demo-banner-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.demo-banner-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  padding: 3px 8px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #071A14;
}

.demo-banner-text {
  flex: 1;
  font-size: 12px;
  color: rgba(230, 236, 247, .85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.demo-banner-text strong { color: #fff; font-weight: 600; }

.demo-banner-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-banner-cta {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--accent);
  color: #071A14;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}

.demo-banner-cta:hover { opacity: .9; }

.demo-banner-link {
  font-size: 11px;
  font-weight: 600;
  color: rgba(230, 236, 247, .6);
  text-decoration: none;
  white-space: nowrap;
}

.demo-banner-link:hover { color: #fff; }

/* ── LOCK TOAST ── */
.demo-lock-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  max-width: min(520px, calc(100vw - 32px));
}

.demo-lock-toast svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

.demo-lock-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.demo-lock-cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

/* ── LAYOUT ── */
.demo-app {
  display: flex;
  min-height: calc(100vh - var(--demo-banner-h));
}

.demo-sidebar {
  width: var(--sidebar);
  flex-shrink: 0;
  position: fixed;
  top: var(--demo-banner-h);
  left: 0;
  height: calc(100vh - var(--demo-banner-h));
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: var(--surface-elev), var(--bg-solid);
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: transform .35s var(--ease);
}

:root[data-theme="dark"] .demo-sidebar {
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(224, 180, 76, .08), transparent 55%),
    radial-gradient(500px 320px at 100% 100%, rgba(16, 185, 129, .08), transparent 60%),
    linear-gradient(180deg, rgba(4, 20, 15, .94), rgba(6, 35, 27, .96));
}

:root[data-theme="light"] .demo-sidebar { background: #fff; }

.demo-main {
  flex: 1;
  margin-left: var(--sidebar);
  min-width: 0;
}

.demo-topbar {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg-solid) 85%, transparent);
  backdrop-filter: blur(12px);
  position: sticky;
  top: var(--demo-banner-h);
  z-index: 40;
}

.demo-content { padding: 24px; max-width: 1200px; }

.demo-sidebar-logo {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.demo-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #071A14;
  font-weight: 800;
  font-size: 13px;
}

.demo-logo-text { font-size: 15px; font-weight: 700; color: var(--text-strong); }
.demo-logo-text em { font-style: normal; color: var(--accent); }

.demo-company-block {
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--border);
}

.demo-company-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-mute);
  margin-bottom: 4px;
}

.demo-company-name { font-size: 13px; font-weight: 700; color: var(--text-strong); }

.demo-company-plan {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #071A14;
}

.demo-nav { flex: 1; padding: 12px 10px; overflow-y: auto; }

.demo-nav-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-mute);
  padding: 8px 10px 6px;
}

.demo-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .15s, color .15s;
}

.demo-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .75; }

.demo-nav-item:hover { background: var(--surface-2); color: var(--text-strong); }

.demo-nav-item.active {
  background: var(--accent-soft);
  color: var(--text-strong);
  box-shadow: inset 0 0 0 1px rgba(224, 180, 76, .25);
}

.demo-nav-item.active svg { opacity: 1; color: var(--accent); }

.demo-nav-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 100px;
  background: var(--surface-3);
  color: var(--text-mute);
}

.demo-nav-item.active .demo-nav-badge {
  background: var(--accent);
  color: #071A14;
}

.demo-nav-lock {
  margin-left: auto;
  font-size: 11px;
  opacity: .5;
}

.demo-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-mute);
}

/* ── TOPBAR ── */
.demo-topbar-title { font-size: 18px; font-weight: 700; color: var(--text-strong); }
.demo-topbar-sub { font-size: 12px; color: var(--text-mute); margin-top: 2px; }

.demo-topbar-right { display: flex; align-items: center; gap: 10px; }

.demo-theme-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-theme-btn svg { width: 18px; height: 18px; }
:root[data-theme="dark"] .demo-theme-btn .icon-sun { display: block; }
:root[data-theme="dark"] .demo-theme-btn .icon-moon { display: none; }
:root[data-theme="light"] .demo-theme-btn .icon-sun { display: none; }
:root[data-theme="light"] .demo-theme-btn .icon-moon { display: block; }

/* ── TABS ── */
.demo-tab { display: none; }
.demo-tab.active { display: block; }

/* ── SECTIONS ── */
.demo-section-head { margin-bottom: 20px; }

.demo-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .9px;
  color: var(--accent);
  margin-bottom: 6px;
}

.demo-section-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -.3px;
}

.demo-section-sub { font-size: 13px; color: var(--text-mute); margin-top: 4px; }

/* ── KPI GRID ── */
.demo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.demo-kpi-card {
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.demo-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.demo-kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-mute);
  margin-bottom: 8px;
}

.demo-kpi-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}

.demo-kpi-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}

.demo-kpi-change.up-good { color: #059669; }
.demo-kpi-change.down-bad { color: #DC2626; }
.demo-kpi-change.up-bad { color: #DC2626; }
.demo-kpi-change.down-good { color: #059669; }
.demo-kpi-change.neutral { color: var(--text-mute); }

:root[data-theme="dark"] .demo-kpi-change.up-good { color: #6EE7B7; }
:root[data-theme="dark"] .demo-kpi-change.down-bad { color: #FCA5A5; }

/* ── CARDS ── */
.demo-card {
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}

.demo-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-card-title { font-size: 15px; font-weight: 700; color: var(--text-strong); }
.demo-card-sub { font-size: 12px; color: var(--text-mute); margin-top: 2px; }
.demo-card-body { padding: 18px 22px; }

.demo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* ── REPORT ROWS ── */
.demo-report-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
}

.demo-report-row:last-child { border-bottom: none; }
.demo-report-row:hover { background: var(--surface-2); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: var(--radius-sm); }

.demo-report-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

.demo-report-badge.weekly { background: var(--info-soft); color: #2563EB; }
.demo-report-badge.monthly { background: rgba(109, 40, 217, .14); color: #7C3AED; }

.demo-report-name { font-size: 14px; font-weight: 600; color: var(--text-strong); }
.demo-report-meta { font-size: 12px; color: var(--text-mute); margin-top: 2px; }

.demo-btn {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-strong);
  font-family: inherit;
  transition: background .15s, border-color .15s;
}

.demo-btn:hover { border-color: var(--border-strong); background: var(--surface-3); }

.demo-btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #071A14;
  border: none;
}

.demo-btn-primary:hover { opacity: .92; }

.demo-btn-sm { padding: 5px 10px; font-size: 11px; }

.demo-btn:disabled, .demo-btn-locked {
  opacity: .55;
  cursor: not-allowed;
}

/* ── BLIND SPOT ── */
.demo-blind-spot {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--danger-soft);
  border: 1px solid rgba(248, 113, 113, .25);
}

.demo-bs-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--danger);
  margin-bottom: 8px;
}

.demo-bs-title { font-size: 15px; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.demo-bs-text { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ── TREND CHART ── */
.demo-trend-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding: 16px 0;
}

.demo-tbar {
  flex: 1;
  min-width: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transition: height .6s var(--ease);
}

.demo-tbar-label {
  text-align: center;
  font-size: 10px;
  color: var(--text-mute);
  margin-top: 6px;
}

/* ── COPILOT ── */
.demo-copilot-log {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  padding: 4px 0;
}

.demo-copilot-msg {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.55;
  max-width: 92%;
}

.demo-copilot-msg.user {
  align-self: flex-end;
  background: var(--accent-soft);
  border: 1px solid rgba(224, 180, 76, .25);
  color: var(--text-strong);
}

.demo-copilot-msg.bot {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.demo-copilot-input-row {
  display: flex;
  gap: 8px;
}

.demo-copilot-input-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.demo-copilot-input-row input:focus { border-color: var(--accent); }

/* ── UPLOAD DISABLED ── */
.demo-upload-zone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  background: var(--surface-2);
  position: relative;
}

.demo-upload-zone-locked {
  pointer-events: none;
  opacity: .7;
}

.demo-upload-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-3);
  color: var(--text-mute);
  font-size: 24px;
}

.demo-upload-cta {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(224, 180, 76, .3);
}

.demo-upload-cta p {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

/* ── FILTER CHIPS ── */
.demo-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.demo-filter-btn {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-dim);
  cursor: pointer;
  font-family: inherit;
}

.demo-filter-btn.active {
  background: var(--accent-soft);
  border-color: rgba(224, 180, 76, .4);
  color: var(--text-strong);
}

/* ── STATS PILLS ── */
.demo-stats-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }

.demo-stat-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-stat-val { font-size: 18px; font-weight: 800; color: var(--text-strong); }
.demo-stat-label { font-size: 11px; color: var(--text-mute); font-weight: 500; }

/* ── GENERATE LOCKED ── */
.demo-gen-card {
  position: relative;
  overflow: hidden;
}

.demo-gen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 24, .55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: inherit;
}

:root[data-theme="light"] .demo-gen-overlay { background: rgba(247, 248, 251, .75); }

.demo-gen-lock-msg {
  text-align: center;
  padding: 20px;
  max-width: 360px;
}

.demo-gen-lock-msg svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: 10px; }
.demo-gen-lock-msg p { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }

/* ── DEPT COMPARE ── */
.demo-dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.demo-dept-card {
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.demo-dept-name { font-size: 14px; font-weight: 700; color: var(--text-strong); }
.demo-dept-score { font-size: 26px; font-weight: 800; margin: 8px 0; font-variant-numeric: tabular-nums; }
.demo-dept-bar-bg { height: 8px; background: var(--surface-2); border-radius: 100px; overflow: hidden; margin-bottom: 8px; }
.demo-dept-bar { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ── MOBILE ── */
.demo-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  cursor: pointer;
  font-size: 18px;
}

.demo-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--demo-banner-h);
  background: rgba(2, 6, 15, .55);
  z-index: 49;
}

@media (max-width: 1024px) {
  .demo-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .demo-sidebar { transform: translateX(-100%); }
  .demo-sidebar.open { transform: translateX(0); }
  .demo-sidebar-overlay.open { display: block; }
  .demo-main { margin-left: 0; }
  .demo-hamburger { display: flex; align-items: center; justify-content: center; }
  .demo-content { padding: 16px; }
  .demo-banner-text { display: none; }
  .demo-kpi-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  .demo-kpi-grid { grid-template-columns: 1fr; }
  .demo-kpi-val { font-size: 24px; }
}

/* Demo report page toolbar offset */
body.has-demo-banner .rv-toolbar { top: var(--demo-banner-h); }

@media print {
  .demo-mode-banner,
  .demo-lock-toast { display: none !important; }
  body.has-demo-banner { padding-top: 0 !important; }
}
