/* Swiss Monochrome Minimal — Life Progress Bar v1 */
:root {
  --bg: #FFFFFF;
  --surface: #FAFAFA;
  --ink: #0A0A0A;
  --ink-muted: #595959;
  --ink-soft: #737373;
  --rule: #E4E4E4;
  --rule-strong: #0A0A0A;
  --accent: #C52B30;
  --accent-oklch: oklch(0.54 0.19 25);

  --font-sans: "Geist", "IBM Plex Sans", "Noto Sans CJK SC", "Noto Sans CJK JP", "PingFang SC", "Hiragino Sans", sans-serif;
  --font-mono: "Geist Mono", "IBM Plex Mono", "Noto Sans Mono CJK SC", ui-monospace, monospace;

  --rail-w: 68px;
  --topbar-h: 52px;
}

@supports (color: oklch(0.54 0.19 25)) {
  :root {
    --accent: oklch(0.54 0.19 25);
  }
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

button, select, input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 1px solid var(--rule);
  padding: 0;
}

button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

/* App Shell */
.app-shell {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  min-height: 100vh;
}

/* Left Vertical Caliper */
.caliper-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--rule-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
}

.caliper-head {
  height: var(--topbar-h);
  border-bottom: 1px solid var(--rule-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.caliper-kicker {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

.caliper-age {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}

.caliper-track {
  flex: 1;
  min-height: 0;
  padding: 12px 0;
}

.caliper-track svg {
  width: 100%;
  height: 100%;
  display: block;
}

.caliper-foot {
  border-top: 1px solid var(--rule);
  padding: 8px 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

/* Main Column */
.main-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Top Bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--topbar-h);
  background: var(--bg);
  border-bottom: 1px solid var(--rule-strong);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  text-align: left;
}

.brand-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.topbar-mid {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

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

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--rule-strong);
}

.lang-btn {
  border: 0;
  border-right: 1px solid var(--rule);
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  background: var(--bg);
  color: var(--ink);
  transition: background 120ms ease, color 120ms ease;
}

.lang-btn:last-child {
  border-right: 0;
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--bg);
}

.mobile-caliper {
  display: none;
}

/* Common Typography Helpers */
.mono-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.mono-xs {
  font-family: var(--font-mono);
  font-size: 12px;
}

.mono-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.accent-text {
  color: var(--accent);
}

.muted-text {
  color: var(--ink-muted);
}

/* Buttons */
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  min-height: 48px;
  transition: background 120ms ease;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-outline {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
  min-height: 48px;
  transition: background 120ms ease, color 120ms ease;
}

.btn-outline:hover {
  background: var(--surface);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--rule);
  padding: 11px 18px;
  font-size: 14px;
  min-height: 44px;
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Stage Containers */
.stage {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 36px 40px 44px;
}

/* ================= STAGE 1: OPENING ================= */
.open-wrap {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.hero-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-pct-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-pct {
  font-family: var(--font-mono);
  font-size: clamp(3.4rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-pct-sub {
  font-size: 15px;
  color: var(--ink-muted);
}

.hero-ruler-wrap {
  width: 100%;
  height: 44px;
}

.hero-ruler-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-ruler-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* 3 Concrete Anchors */
.anchors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.anchor-cell {
  padding: 22px 24px 24px 0;
  border-right: 1px solid var(--rule);
}

.anchor-cell:not(:first-child) {
  padding-left: 24px;
}

.anchor-cell:last-child {
  border-right: 0;
  padding-right: 0;
}

.anchor-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.anchor-value {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.anchor-unit {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-muted);
}

/* Compact 3-Column Calibration Bar */
.calib-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--rule);
}

.calib-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calib-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--ink-muted);
}

.stepper-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-btn {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--rule-strong);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-btn:hover {
  background: var(--ink);
  color: var(--bg);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--ink);
  margin: 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 22px;
  background: var(--ink);
  border: 2px solid var(--bg);
  outline: 1px solid var(--ink);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 22px;
  background: var(--ink);
  border: 2px solid var(--bg);
  border-radius: 0;
  cursor: pointer;
}

.swiss-select {
  width: 100%;
  height: 32px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--rule-strong);
  background: var(--bg);
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #0A0A0A 50%), linear-gradient(135deg, #0A0A0A 50%, transparent 50%);
  background-position: calc(100% - 14px) 13px, calc(100% - 9px) 13px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.start-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 4px;
}

.start-lead {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  text-wrap: pretty;
}

.open-foot {
  font-size: 12px;
  color: var(--ink-soft);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

/* ================= STAGE 2: FOCUSED FORKS ================= */
.fork-wrap {
  width: 100%;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.fork-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.fork-step-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.fork-age-badge {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.fork-live-anchors {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.live-chip {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}

.live-chip .delta-pos {
  color: var(--ink);
  font-weight: 600;
}

.live-chip .delta-neg {
  color: var(--accent);
  font-weight: 600;
}

.step-dots {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.step-seg {
  height: 4px;
  background: var(--rule);
  border: 0;
  padding: 0;
}

.step-seg.is-done {
  background: var(--ink);
}

.step-seg.is-current {
  background: var(--accent);
}

.fork-scene {
  padding: 6px 0 2px;
}

.fork-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.7vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.fork-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 38em;
  text-wrap: pretty;
}

.choices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.choice-card {
  text-align: left;
  padding: 20px 22px;
  border: 1px solid var(--rule-strong);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 146px;
  transition: background 120ms ease, border-color 120ms ease;
}

.choice-card:hover {
  background: var(--surface);
}

.choice-card.is-selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.choice-card.is-selected .choice-sub,
.choice-card.is-selected .choice-tag {
  color: #D4D4D4;
}

.choice-card.is-selected .choice-key {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.choice-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.choice-key {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  width: 24px;
  height: 24px;
  border: 1px solid var(--rule-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.choice-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.choice-main {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty;
}

.choice-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-top: auto;
}

.consequence-box {
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.consequence-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.consequence-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.fork-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  padding: 10px 0;
}

/* Single Quiet Sparkline */
.mini-spark-bar {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-spark-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-spark-svg {
  width: 100%;
  height: 52px;
}

.mini-spark-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ================= STAGE 3: FINALE ================= */
.finale-grid {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.finale-grid > *,
.card-column,
.chart-column,
.share-card,
.chart-panel,
.ledger-details {
  min-width: 0;
  max-width: 100%;
}

.card-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 9:16 Archival Share Card */
.share-card {
  border: 1.5px solid var(--ink);
  background: var(--bg);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
}

.sc-brand {
  font-weight: 600;
}

.sc-code {
  font-family: var(--font-mono);
  color: var(--ink-muted);
}

.sc-pct-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.sc-pct-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.sc-pct {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

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

.sc-ruler {
  height: 22px;
}

.sc-ruler svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sc-submetrics {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.sc-archetype-block {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.sc-kicker {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.sc-archetype {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.sc-pivot-block {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.sc-pivot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sc-pivot-head .sc-kicker {
  margin-bottom: 0;
}

.sc-pivot-age {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  background: var(--accent);
  color: #FFFFFF;
  padding: 2px 8px;
}

.sc-pivot-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.sc-peers-block {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-peers-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sc-peers-head .sc-kicker {
  margin-bottom: 0;
}

.sc-legend {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.sc-peer-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-peer-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.sc-peer-bar {
  position: relative;
  height: 14px;
  display: flex;
  align-items: center;
}

.sc-peer-line {
  width: 100%;
  height: 1px;
  background: #D4D4D4;
}

.sc-peer-band {
  position: absolute;
  height: 5px;
  background: #EBEBEB;
}

.sc-peer-med {
  position: absolute;
  width: 1.5px;
  height: 12px;
  background: var(--ink);
  transform: translateX(-50%);
}

.sc-peer-you {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: translateX(-50%);
}

.sc-peer-verdict {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  text-align: right;
  white-space: nowrap;
}

.sc-quote-block {
  padding: 2px 0;
}

.sc-quote {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.sc-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card-actions .btn-primary,
.card-actions .btn-outline {
  padding: 12px 10px;
  font-size: 14px;
  text-align: center;
}

.save-status {
  min-height: 18px;
}

/* Right Chart Column */
.chart-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chart-panel {
  border: 1px solid var(--rule);
  padding: 24px 26px 22px;
  background: var(--bg);
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.chart-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.chart-sub {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.chart-legend {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  align-items: center;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 16px;
  height: 2px;
  display: inline-block;
}

.chart-svg-wrap {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  min-height: 260px;
}

.chart-svg-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.run-compare-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink);
}

/* Collapsible Ledger */
.ledger-details {
  border: 1px solid var(--rule);
  background: var(--surface);
}

.ledger-summary {
  list-style: none;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.ledger-summary::-webkit-details-marker {
  display: none;
}

.ledger-details[open] .ledger-summary {
  border-bottom: 1px solid var(--rule);
}

.ledger-list {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.ledger-row {
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 13px 20px;
  display: grid;
  grid-template-columns: 56px 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 14px;
  background: var(--bg);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row:hover {
  background: var(--surface);
}

.ledger-age {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.ledger-choice {
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid var(--rule-strong);
  width: 24px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ledger-row.is-pivot .ledger-choice {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.ledger-pivot-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

/* ================= RESPONSIVE (MOBILE <= 860px) ================= */
@media (max-width: 860px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .caliper-rail {
    display: none;
  }

  .topbar {
    height: 46px;
    padding: 0 14px;
  }

  .topbar-mid {
    display: none;
  }

  .mobile-caliper {
    display: block;
    border-bottom: 1px solid var(--rule-strong);
    background: var(--surface);
    padding: 6px 14px 4px;
  }

  .mobile-caliper svg {
    width: 100%;
    height: 32px;
    display: block;
  }

  .stage {
    padding: 14px 14px 28px;
  }

  .open-wrap {
    gap: 14px;
  }

  .meta-row {
    padding-bottom: 8px;
  }

  .hero-block {
    gap: 8px;
  }

  .hero-pct {
    font-size: 2.75rem;
  }

  .hero-ruler-wrap {
    height: 32px;
  }

  .anchors-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .anchor-cell {
    padding: 9px 0 !important;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .anchor-cell:last-child {
    border-bottom: 0;
  }

  .anchor-label {
    margin-bottom: 0;
  }

  .anchor-value {
    font-size: 1.6rem;
  }

  .calib-bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px 14px;
  }

  .calib-item {
    gap: 6px;
  }

  .start-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .start-lead {
    font-size: 14px;
  }

  .choices-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .choice-card {
    min-height: 0;
    padding: 16px;
  }

  .finale-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .share-card {
    padding: 18px 16px 14px;
    gap: 14px;
  }

  .sc-pct {
    font-size: 34px;
  }

  .sc-archetype {
    font-size: 21px;
  }

  .sc-peer-row {
    grid-template-columns: 56px minmax(0, 1fr) 62px;
    gap: 8px;
    font-size: 12px;
  }

  .card-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .chart-panel {
    padding: 16px 14px;
  }

  .chart-svg-wrap {
    min-height: 200px;
  }

  .ledger-summary {
    padding: 12px 14px;
    flex-wrap: wrap;
  }

  .ledger-row {
    padding: 11px 14px;
    grid-template-columns: 48px 24px minmax(0, 1fr) auto;
    gap: 8px;
    font-size: 13px;
  }
}
