/* ============================================================
   KaizenCommerce — Shopify Blueprint Preview
   Stylesheet rebuilt on Design System v2
   Four-color palette · EB Garamond + Hanken Grotesk · flat bento
   Zero radius · no shadows · 1px hairline gaps · tonal hierarchy
   ============================================================ */

:root {
  /* ---- Core palette (v2 spec, no exceptions) ---- */
  --black:      #0e0e0e;   /* primary surface, 60-70% weight */
  --mid:        #181818;   /* secondary cells */
  --dim:        #222222;   /* tertiary fills */
  --white:      #F5F7F9;   /* max contrast / CTA only */
  --red:        #a8201a;   /* problem & action */
  --navy:       #0D1B2A;   /* process & trust */
  --ice:        #aaccdb;   /* text accent on navy only */

  /* ---- Hairline / structural ---- */
  --line:       rgba(245, 247, 249, 0.12);   /* the grid gap colour */
  --line-soft:  rgba(245, 247, 249, 0.07);
  --line-strong:rgba(245, 247, 249, 0.20);

  /* ---- Text ---- */
  --text-primary:   #F5F7F9;
  --text-secondary: rgba(245, 247, 249, 0.55);
  --text-tertiary:  rgba(245, 247, 249, 0.38);
  --text-faint:     rgba(245, 247, 249, 0.25);

  /* ---- Risk semantics ----
     Red = critical/problem. Navy-ice = trust/low. Amber reserved
     for the single mid "monitor" state the 4-colour system lacks. */
  --risk-low:        var(--ice);
  --risk-low-bg:     rgba(170, 204, 219, 0.07);
  --risk-moderate:   #d9a441;
  --risk-moderate-bg:rgba(217, 164, 65, 0.07);
  --risk-high:       #d4574e;
  --risk-high-bg:    rgba(168, 32, 26, 0.10);
  --risk-critical:   var(--red);
  --risk-critical-bg:rgba(168, 32, 26, 0.16);

  /* ---- Type ---- */
  --serif: 'EB Garamond', Georgia, serif;
  --sans:  'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--black);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* No rounded corners anywhere. The sharp grid is the brand. */
* { border-radius: 0 !important; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 700; color: var(--text-primary); }
em { font-style: italic; }

/* ============================================================
   SYSTEM HEADER
   ============================================================ */
.sys-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}
.brand-label .dot {
  width: 9px;
  height: 9px;
  background: var(--ice);
  display: inline-block;
}

.sys-header-status {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.sys-header-status-connected {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ice);
}
.status-indicator-dot {
  width: 7px;
  height: 7px;
  background: var(--ice);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   LAYOUT SHELL
   ============================================================ */
.main-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px;
}

#app-viewport { animation: viewIn 0.4s ease; }
@keyframes viewIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* The bento grid: wrapper colour bleeds through 1px gaps as borders. */
.grid-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.border-right { border-right: 1px solid var(--line); }
.border-bottom { border-bottom: 1px solid var(--line); }

.panel-bg { background: var(--mid); }
.locked-bg { background: var(--navy); }

.content-center-layout {
  border: 1px solid var(--line);
}

/* ============================================================
   SYSTEM LABELS & PANEL HEADERS
   ============================================================ */
.sys-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 28px;
  padding-left: 12px;
  border-left: 2px solid var(--red);
}

.sys-header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
}
.sys-panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ice);
}
.sys-panel-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-left: auto;
}
.sys-panel-header {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}
.sys-step-indicator {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-left: auto;
}

.led-indicator {
  width: 8px;
  height: 8px;
  background: var(--text-faint);
  display: inline-block;
}
.led-indicator.active {
  background: var(--red);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ============================================================
   TYPOGRAPHY PRIMITIVES
   ============================================================ */
.accent-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 22px;
}
h1.accent-title { font-size: clamp(38px, 5vw, 60px); }

.hero-sub,
.teaser-p {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 46ch;
  margin-bottom: 36px;
}

.question-title,
.gate-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.question-hint,
.gate-hint {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: 36px;
}

.muted-text { color: var(--text-tertiary); }
.text-center { text-align: center; }
.text-red { color: var(--red) !important; }
.monospace-label { font-family: var(--font-mono); }

/* ============================================================
   INTRO SCREEN
   ============================================================ */
.intro-hero { padding: 56px 60px; background: var(--black); }
.intro-checklist { padding: 0; }

.cta-box { margin-top: 8px; }
.meta-note {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.checklist-grid { padding: 8px 0; }
.checklist-grid li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.checklist-grid li:last-child { border-bottom: none; }
.chk-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: var(--red);
  opacity: 0.7;
}
.chk-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.chk-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ============================================================
   QUESTIONNAIRE / TRACK SELECTOR
   ============================================================ */
.questionnaire-screen { background: var(--mid); }

.progress-bar-container {
  height: 2px;
  background: rgba(168,32,26,0.15);
  width: 100%;
}
.progress-bar-fill {
  height: 100%;
  background: var(--ice);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.question-container { padding: 48px 60px; }

.options-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.nav-footer {
  padding: 20px 60px 36px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

/* Primary = white on dark. The single focal point per view. */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 16px 30px;
}
.btn-primary:hover { background: #bf2520; }
.btn-primary:active { opacity: 0.85; }

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--line-strong);
  padding: 15px 30px;
}
.btn-secondary:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.btn-muted {
  background: transparent;
  color: var(--text-tertiary);
  padding: 12px 0;
}
.btn-muted:hover { color: var(--text-primary); }

.btn-block {
  display: flex;
  width: 100%;
  justify-content: space-between;
  text-align: left;
}

.btn-subtext {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  opacity: 0.7;
}
.btn-block .btn-subtext { align-self: center; text-align: right; }

.chevron-right {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.btn-gate-action { margin-top: 8px; }

/* Option buttons — full-width flat cell fills */
.btn-option {
  background: var(--black);
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 500;
  font-size: 15px;
  padding: 20px 24px;
  text-align: left;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  line-height: 1.45;
}
.btn-option:hover {
  background: #0f2236;
  border-left: 2px solid var(--ice);
}
.btn-option:hover .opt-indicator { color: var(--ice); }
.btn-option:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: -2px;
}
.opt-indicator {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  margin-top: 1px;
}
.opt-text { font-family: var(--sans); }

.track-option { align-items: flex-start; }
.track-option:hover { background: var(--navy); }
.track-option-copy { display: flex; flex-direction: column; gap: 6px; }
.track-option .opt-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.track-option-sub {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ============================================================
   TEASER SCREEN
   ============================================================ */
.teaser-left { padding: 56px 60px; background: var(--mid); }
.teaser-right { padding: 0; position: relative; overflow: hidden; }

.results-preview-widget {
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.preview-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.preview-metric:last-child { border-bottom: none; }
.metric-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--text-tertiary);
}
.metric-value {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.teaser-alert-box {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  padding: 22px 24px;
  background: var(--risk-high-bg);
  border-left: 3px solid var(--red);
  margin-bottom: 32px;
}
.alert-icon {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}
.alert-text strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.alert-text ul { display: flex; flex-direction: column; gap: 6px; }
.alert-text li {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text-primary);
  padding-left: 16px;
  position: relative;
}
.alert-text li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* Locked report panel — navy = trust/process */
.lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(180deg, rgba(13,27,42,0.55) 0%, rgba(13,27,42,0.92) 70%);
}
.lock-dossier { text-align: center; max-width: 320px; }
.lock-icon {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--ice);
  display: block;
  margin-bottom: 16px;
}
.lock-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(170,204,219,0.3);
}
.lock-sub {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  color: rgba(170, 204, 219, 0.75);
}

.teaser-mock-report { filter: blur(3px); opacity: 0.5; }
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ice);
}

/* ============================================================
   GATE SCREEN
   ============================================================ */
.gate-screen { background: var(--mid); }
.gate-form-container { padding: 48px 60px; max-width: 620px; }

.form-group { margin-bottom: 28px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.required { color: var(--red); }

/* Ghost inputs — bottom border only */
.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--line-strong);
  padding: 8px 0;
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: var(--text-primary);
  transition: border-color 0.18s ease;
}
.form-input::placeholder { color: var(--text-faint); }
.form-input:focus { outline: none; border-bottom-color: var(--red); }
.form-input.input-error { border-bottom-color: var(--red); }

.error-feedback {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  margin-top: 8px;
  min-height: 14px;
}

.gate-disclaimer {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(13,27,42,0.5);
  border-left: 2px solid var(--ice);
  margin: 32px 0;
}
.disclaimer-bracket {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ice);
}
.disclaimer-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.gate-actions-row,
.action-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.action-footer-row {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ============================================================
   RESULT SCREEN — SUMMARY PANE
   ============================================================ */
.result-summary-pane { padding: 56px 60px; background: var(--mid); }

.company-badge-box { padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid rgba(168,32,26,0.3); }
.badge-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  font-size: 12px;
}
.badge-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  min-width: 130px;
}
.badge-val {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.badge-val.monospace-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
}

.overall-risk-card { padding-bottom: 28px; margin-bottom: 28px; }
.huge-risk-label {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(168,32,26,0.25);
}
.risk-description-text {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.override-notification-bar {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--risk-critical-bg);
  border-left: 3px solid var(--red);
}
.notif-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--red);
}
.notif-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Conversion block */
.conversion-block { margin-top: 4px; }
.conv-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.conv-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.conv-proof {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ice);
  padding: 22px 28px;
  background: var(--navy);
  border-left: 3px solid var(--ice);
  margin-bottom: 28px;
}
.cta-vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

/* ============================================================
   RESULT SCREEN — LEDGER PANE
   ============================================================ */
.result-ledger-pane { background: var(--black); }
.ledger-list { padding: 0; }
.ledger-section-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
  padding: 20px 24px 12px;
  background: rgba(13,27,42,0.3);
}

.ledger-card { background: var(--black); }
.ledger-card.expanded-lane { background: var(--mid); }

.ledger-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}
.header-left { display: flex; align-items: center; gap: 12px; }
.toggle-indicator {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
}
.ledger-lane-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.ledger-status-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
}

.ledger-details { overflow: hidden; }
.hidden-details { display: none; }
.details-inner { padding: 4px 24px 24px; }
.detail-row { padding: 12px 0; border-top: 1px solid var(--line-soft); }
.detail-row:first-child { border-top: none; }
.detail-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}
.detail-val {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.highlight-inspect { color: var(--ice); }

/* ============================================================
   RISK SEMANTIC CLASSES
   ============================================================ */
.status-low { color: var(--risk-low); }
.status-moderate { color: var(--risk-moderate); }
.status-high { color: var(--risk-high); }
.status-critical { color: var(--risk-critical); }

.ledger-low { background-color: var(--risk-low-bg); color: var(--risk-low); }
.ledger-moderate { background-color: var(--risk-moderate-bg); color: var(--risk-moderate); }
.ledger-high { background-color: var(--risk-high-bg); color: var(--risk-high); }
.ledger-critical { background-color: var(--risk-critical-bg); color: var(--risk-critical); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .main-container { padding: 16px; }
  .sys-header { padding: 14px 16px; }
  .sys-header-status { gap: 14px; font-size: 9px; }
  .grid-split { grid-template-columns: 1fr; }
  .border-right { border-right: none; border-bottom: 1px solid var(--line); }

  .intro-hero,
  .teaser-left,
  .result-summary-pane,
  .question-container,
  .gate-form-container,
  .nav-footer { padding-left: 28px; padding-right: 28px; }
  .intro-hero,
  .teaser-left,
  .result-summary-pane { padding-top: 40px; padding-bottom: 40px; }

  .teaser-right { min-height: 280px; }
  .gate-actions-row,
  .action-footer-row { flex-direction: column; align-items: stretch; }
  .btn-block { flex-direction: column; gap: 6px; }
  .btn-block .btn-subtext { text-align: left; }
}

@media (max-width: 480px) {
  .accent-title, h1.accent-title { font-size: 30px; }
  .question-title, .gate-title { font-size: 24px; }
  .huge-risk-label { font-size: 38px; }
  .form-input { font-size: 20px; }
  .badge-title { min-width: 0; }
  .badge-row { flex-direction: column; gap: 2px; }
}

/* ============================================================
   ACCESSIBILITY & MOTION
   ============================================================ */
:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   PRINT — high-fidelity dossier PDF (light ground)
   ============================================================ */
@media print {
  :root {
    --black: #ffffff; --mid: #ffffff; --navy: #0D1B2A;
    --text-primary: #0e0e0e;
    --text-secondary: #333; --text-tertiary: #666; --text-faint: #999;
    --line: #d8dde2; --line-soft: #e8ebee; --line-strong: #bbb;
  }
  body { background: #fff; color: #0e0e0e; }
  .sys-header, .nav-footer, .action-footer-row,
  .cta-vertical-stack, .btn, #lead-gate-form, .lock-overlay,
  .teaser-mock-report { display: none !important; }
  .main-container { max-width: 100%; padding: 0; }
  .grid-split { grid-template-columns: 1fr; border-color: #d8dde2; }
  .panel-bg, .ledger-card, .ledger-card.expanded-lane { background: #fff !important; }
  .conv-proof { background: #f0f3f6; color: #0D1B2A; }
  .hidden-details { display: block !important; }
  .highlight-inspect { color: #0D1B2A; }
  .ledger-status-tag.ledger-critical,
  .ledger-status-tag.ledger-high { color: var(--red); }
}
