/* Shared NGIT partner portal styles */
:root {
  --bg: #0b002e;
  --bg-card: #14063f;
  --bg-hub: #9eaf8e;
  --bg-hub-deep: #8fa07f;
  --surface: #f4f1ea;
  --ink: #121212;
  --muted: rgba(18, 18, 18, 0.62);
  --white: #ffffff;
  --brand: #6344e3;
  --brand-soft: #8b6cf0;
  --danger: #ff8a8a;
  --ok: #2ecc71;
  --radius: 20px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--white);
  background: var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.logo-mark {
  width: 36px;
  height: 36px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: var(--brand-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-light { background: var(--white); color: #111; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-dark {
  background: #1c1c1c;
  color: var(--white);
}
.btn-block { width: 100%; }

.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13px; color: rgba(255,255,255,0.7); }
.field input, .field select, .field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  padding: 14px 16px;
  outline: none;
}
.field textarea { min-height: 100px; resize: vertical; }
.err { color: var(--danger); font-size: 13px; margin: 0 0 12px; display: none; }
.err.show { display: block; }

.kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--brand-soft);
  font-weight: 700;
  text-transform: uppercase;
}

/* Login */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-brand {
  background: #000;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-brand .crosshair {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  background:
    linear-gradient(var(--brand-soft), var(--brand-soft)) center/2px 100% no-repeat,
    linear-gradient(var(--brand-soft), var(--brand-soft)) center/100% 2px no-repeat;
  opacity: 0.55;
  filter: drop-shadow(0 0 40px rgba(99,68,227,0.55));
}
.login-brand .crosshair::after {
  content: "";
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), transparent 70%);
}
.brand-top { display: flex; align-items: center; gap: 12px; z-index: 1; }
.brand-top strong { letter-spacing: 0.04em; }
.brand-foot {
  z-index: 1;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.login-form-wrap {
  background: #030308;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid rgba(139,108,240,0.35);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.login-card h1 { margin: 8px 0 8px; font-size: 36px; }
.login-card .sub { margin: 0 0 24px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.mfa-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(99,68,227,0.18);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin-bottom: 18px;
}
.mfa-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: inline-block;
}
.login-meta {
  margin-top: 18px;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}
.demo-hint {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* Hub — Security Dynamics (medical-dashboard inspired) */
:root {
  --hub-bg: #c8d0b8;
  --hub-bg-deep: #b8c2a6;
  --hub-surface: #f3f1ec;
  --hub-card: #ffffff;
  --hub-ink: #141414;
  --hub-muted: rgba(20, 20, 20, 0.55);
  --hub-accent: #d4f000;
  --hub-dark: #1c1c1c;
  --hub-radius: 28px;
  --hub-font: "Manrope", "Segoe UI", system-ui, sans-serif;
}

.hub-body {
  background:
    radial-gradient(1400px 700px at 85% -15%, rgba(255,255,255,.4), transparent 55%),
    linear-gradient(165deg, var(--hub-bg) 0%, var(--hub-bg-deep) 100%);
  color: var(--hub-ink);
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: var(--hub-font);
}

.dash {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  border-radius: 0;
  padding: 16px 22px 14px;
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.dash-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.dash-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  color: var(--hub-muted);
}
.dash-title-tab {
  margin: 0;
  background: var(--hub-card);
  border-radius: 18px 18px 4px 18px;
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.dash-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}
.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hub-card);
  color: var(--hub-ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  transition: transform .15s ease, background .15s ease;
}
.dash-pill span { opacity: .7; }
.dash-pill.active {
  background: var(--hub-accent);
  box-shadow: 0 6px 18px rgba(212,240,0,.35);
}
.dash-pill:hover { transform: translateY(-1px); }
.dash-pill.admin-link { background: var(--hub-dark); color: #fff; }
.dash-logout {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--hub-dark);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.dash-overview {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 14px;
  align-items: stretch;
  width: 100%;
  flex-shrink: 0;
}
.profile-card {
  background: var(--hub-card);
  border-radius: var(--hub-radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #6344e3, #2a1a6e);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.profile-meta { display: grid; gap: 4px; min-width: 0; }
.profile-meta strong {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}
.profile-meta span {
  font-size: 13px;
  color: var(--hub-muted);
}

.vitals-block { display: grid; gap: 10px; }
.diagnosis {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 4px 0;
}
.diag-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--hub-muted);
  font-weight: 700;
}
.diagnosis strong { font-size: 28px; font-weight: 800; }

.vitals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.vital {
  background: rgba(255,255,255,.72);
  border-radius: 18px;
  padding: 12px 14px;
}
.vital span {
  display: block;
  font-size: 12px;
  color: var(--hub-muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.vital strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }

.dash-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(0,0,0,.04);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--hub-ink);
  font-weight: 600;
  font-size: 13px;
}
.filter-pill.active {
  background: var(--hub-card);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.catalog-panel {
  height: 100%;
  overflow: auto;
  padding: 8px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.catalog-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}
.catalog-head p {
  margin: 4px 0 0;
  color: var(--hub-muted);
  font-size: 13px;
}
.catalog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.catalog-card {
  background: var(--hub-card);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  display: grid;
  gap: 8px;
}
.catalog-card.compact { gap: 6px; }
.catalog-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.catalog-card-top strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.catalog-card p {
  margin: 0;
  font-size: 13px;
  color: var(--hub-muted);
  line-height: 1.4;
}
.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--hub-muted);
}
.catalog-empty {
  grid-column: 1 / -1;
  background: rgba(255,255,255,.55);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  color: var(--hub-muted);
}
.pill, .tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}
.pill { background: #1c1c1c; color: #fff; }
.tag { background: rgba(0,0,0,.06); color: var(--hub-ink); }
.tag.ok { background: rgba(26,122,61,.12); color: #1a7a3d; }
.tag.warn { background: rgba(180,100,0,.14); color: #9a5500; }
.sev-critical { background: #ff4d4d; color: #fff; }
.sev-high { background: #ff8a3d; color: #fff; }
.sev-med { background: var(--hub-accent); color: #111; }
.sev-low { background: #d8d8d8; color: #333; }

.dash-canvas {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: rgba(255,255,255,.28);
  border-radius: 28px;
  padding: 14px 10px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tl-scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 16px 8px;
  scrollbar-width: thin;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tl-months {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0 0 4px;
  color: var(--hub-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 0 6%;
}
.tl-weeks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
  text-align: center;
  color: var(--hub-muted);
  font-size: 11px;
  font-weight: 600;
}
.tl-weeks em {
  display: block;
  font-style: normal;
  color: var(--hub-ink);
  font-weight: 800;
  margin-bottom: 2px;
}

.tl-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 8px 0 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tl-branches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  min-height: 110px;
  align-items: end;
  padding: 0 4%;
}
.tl-branches.down {
  align-items: start;
  margin-top: 8px;
}
.branch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.branch.col-1 { grid-column: 1; }
.branch.col-2 { grid-column: 2; }
.branch.col-3 { grid-column: 3; }
.branch.col-4 { grid-column: 4; }
.tl-branches.up .branch { justify-content: flex-end; }
.tl-branches.down .branch { justify-content: flex-start; }
.tl-branches.up .stem {
  order: 2;
  width: 2px;
  height: 28px;
  background: rgba(0,0,0,.18);
}
.tl-branches.down .stem {
  order: -1;
  width: 2px;
  height: 28px;
  background: rgba(0,0,0,.18);
}

.branch-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.branch-tags span {
  background: var(--hub-dark);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.branch-card {
  background: var(--hub-card);
  border-radius: 22px;
  padding: 12px 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  width: 100%;
  max-width: 260px;
}
.chart-card .chart-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-vals {
  display: grid;
  line-height: 1.1;
}
.chart-vals strong { font-size: 18px; font-weight: 800; }
.chart-vals em {
  font-style: normal;
  font-size: 11px;
  color: var(--hub-muted);
}
.chart-vals .delta, .wave-meta .delta, .delta {
  color: #1a7a3d;
  font-weight: 800;
  font-size: 12px;
}
.chart-card small {
  display: block;
  margin-top: 6px;
  color: var(--hub-muted);
  font-size: 11px;
  font-weight: 600;
}

.finding-card {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 280px;
}
.finding-card strong { display: block; font-size: 13px; font-weight: 800; line-height: 1.25; }
.finding-card span { font-size: 12px; color: var(--hub-muted); }

.wave-card {
  display: grid;
  gap: 6px;
  max-width: 280px;
}
.wave-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.wave-meta strong { font-size: 18px; font-weight: 800; }
.wave-meta span { font-size: 11px; color: var(--hub-muted); width: 100%; }

.report-card p {
  margin: 6px 0 10px;
  font-size: 12px;
  color: var(--hub-muted);
  line-height: 1.35;
}
.report-card a {
  display: inline-flex;
  background: var(--hub-dark);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.branch-event {
  background: rgba(255,255,255,.75);
  border-radius: 16px;
  padding: 10px 12px;
  max-width: 180px;
  text-align: center;
}
.branch-event strong { display: block; font-size: 12px; }
.branch-event small { color: var(--hub-muted); font-size: 11px; }

.incident-stack { max-width: 280px; display: grid; gap: 8px; }
.mini-inc b { display: block; font-size: 12px; font-weight: 750; line-height: 1.25; }
.mini-inc small { color: var(--hub-muted); font-size: 11px; }

.tl-axis {
  position: relative;
  height: 44px;
  margin: 0 4%;
}
.tl-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: rgba(0,0,0,.18);
  border-radius: 999px;
  transform: translateY(-50%);
}
.tl-node, .tl-add {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: none;
  background: var(--hub-dark);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  z-index: 2;
}
.tl-node.accent {
  background: var(--hub-accent);
  color: var(--hub-ink);
  width: 40px;
  height: 40px;
  border-radius: 14px;
}
.tl-node-icon { font-size: 14px; line-height: 1; }
.tl-add {
  background: rgba(255,255,255,.9);
  color: var(--hub-ink);
  font-size: 20px;
  font-weight: 700;
}

.dash-macro {
  background: rgba(255,255,255,.45);
  border-radius: 22px;
  padding: 10px 14px 12px;
  flex-shrink: 0;
}
.macro-bar { display: grid; gap: 8px; }
.macro-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hub-muted);
  padding: 0 4px;
}
.nav-crumb {
  border: none;
  background: transparent;
  color: var(--hub-ink);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
}
.nav-crumb.current { color: var(--hub-muted); cursor: default; }
.nav-sep { opacity: .45; }
.macro-track {
  position: relative;
  display: grid;
  gap: 4px;
  text-align: center;
}
.macro-month {
  position: relative;
  z-index: 1;
  padding: 6px 2px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--hub-muted);
}
.macro-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 14px;
  transition: color .15s ease;
}
.macro-btn:hover { color: var(--hub-ink); }
.macro-month.focus { color: #fff; }
.macro-icons {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 2px;
  position: relative;
}
.macro-icons .dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--hub-dark);
  display: inline-block;
}
.macro-icons .badge {
  position: absolute;
  top: -4px;
  right: calc(50% - 16px);
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--hub-accent);
  color: var(--hub-ink);
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  padding: 0 3px;
}
.macro-focus-window {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  background: var(--hub-dark);
  border-radius: 16px;
  opacity: .92;
  pointer-events: none;
  transition: left .2s ease, width .2s ease;
}

.tl-empty {
  height: 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 24px;
}
.tl-empty-card {
  background: rgba(255,255,255,.72);
  border-radius: 28px;
  padding: 28px 36px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  max-width: 420px;
}
.tl-empty-card strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.tl-empty-card p {
  margin: 0;
  color: var(--hub-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Reports */
.reports-page {
  background: #080418;
  min-height: 100vh;
  color: var(--white);
  padding: 28px 20px 60px;
}
.reports-shell { max-width: 980px; margin: 0 auto; }
.reports-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.report-card {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 18px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.report-card.active {
  border-color: var(--ok);
  background: rgba(46,204,113,0.18);
}
.report-card .cat { font-size: 12px; color: rgba(255,255,255,0.55); }
.report-card h3 { margin: 0; font-size: 18px; }
.report-card .meta { font-size: 13px; color: rgba(255,255,255,0.7); }

/* Admin */
.admin-page {
  background: #070316;
  min-height: 100vh;
  color: var(--white);
  padding: 24px;
}
.admin-shell { max-width: 1100px; margin: 0 auto; }
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}
.panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 16px;
}
.partner-list { display: grid; gap: 8px; }
.partner-list button {
  text-align: left;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--white);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
}
.partner-list button.active {
  border-color: var(--brand-soft);
  background: rgba(99,68,227,0.2);
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button {
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.tabs button.active { background: var(--brand); border-color: var(--brand); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 8px;
  text-align: left;
}
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #122;
  border: 1px solid rgba(139,108,240,0.4);
  padding: 12px 16px;
  border-radius: 12px;
  display: none;
}
.toast.show { display: block; }

@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-brand { min-height: 220px; }
  .hub-body { height: auto; min-height: 100vh; max-height: none; overflow: auto; }
  .dash { height: auto; min-height: 100vh; padding: 12px; overflow: visible; }
  .dash-overview { grid-template-columns: 1fr; }
  .vitals { grid-template-columns: repeat(2, 1fr); }
  .dash-nav { justify-content: flex-start; }
  .dash-canvas { min-height: 420px; }
  .tl-stage { min-width: 720px; }
  .macro-track { grid-template-columns: repeat(5, 1fr); }
  .macro-focus-window { display: none; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
}
