:root {
  --brand: #0891b2;
  --brand-text: #0e7490;
  --brand-bg: #0e7490;
  --brand-hover: #155e75;
  --bg: #f3f5f7;
  --surface: #ffffff;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --ok: #15803d;
  --caution: #b45309;
  --warn: #b91c1c;
  --warn-bg: #fef2f2;
  --warn-border: #f87171;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #0891b2;
    --brand-text: #22d3ee;
    --brand-bg: #0e7490;
    --brand-hover: #155e75;
    --bg: #111827;
    --surface: #1f2937;
    --text: #f9fafb;
    --text-muted: #9ca3af;
    --border: #374151;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.5);
    --ok: #4ade80;
    --caution: #fbbf24;
    --warn: #f87171;
    --warn-bg: #450a0a;
    --warn-border: #991b1b;
  }
}

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

body, h1, h2, h3, p, ul, li, dl, dd, figure, fieldset, margin {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

a {
  color: var(--brand-text);
  text-decoration: underline;
}

.btn, .nav-link, .dropdown-link, .menu-toggle {
  text-decoration: none;
}

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }

hr {
  border: none;
  border-top: 1px solid var(--border);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--surface);
  padding: 12px 16px;
  z-index: 100;
  font-weight: bold;
}

.skip-link:focus {
  top: 0;
}

.ok { color: var(--ok); }
.caution { color: var(--caution); }
.warn { color: var(--warn); }

.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

.main {
  padding-block: 24px;
}

.page-title {
  font-size: 1.5rem;
  margin-bottom: 4px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 1.875rem;
  }
}

.page-desc {
  color: var(--text-muted);
  margin-bottom: 16px;
}

#site-header,
.site-header {
  position: sticky;
  top: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 40;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
  color: var(--text);
  gap: 8px;
}

.brand .logo-mark {
  color: var(--brand);
}

.nav-list {
  list-style: none;
  display: flex;
}

.nav-link, .dropdown-link {
  display: block;
  padding: 10px 16px;
  min-height: 44px;
  color: var(--text);
}

.nav-link:hover, .dropdown-link:hover {
  background: var(--bg);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.dropdown-menu {
  list-style: none;
}

@media (max-width: 767.98px) {
  .nav {
    display: none;
  }
  .nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    box-shadow: var(--card-shadow);
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-list {
    flex-direction: column;
  }
  .dropdown-menu {
    display: block;
    padding-left: 16px;
  }
  .dropdown-toggle {
    font-weight: 600;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    min-height: 44px;
  }
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  .nav {
    display: block;
  }
  .nav-list {
    flex-direction: row;
    gap: 8px;
  }
  .nav-item.has-dropdown {
    position: relative;
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 13rem;
    background: var(--surface);
    box-shadow: var(--card-shadow);
    z-index: 50;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 8px 0;
  }
  .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    display: block;
  }
  .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    min-height: 44px;
  }
  .dropdown-toggle::after {
    content: "";
    display: inline-block;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.2s;
  }
  .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }
}

.grid-form-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .grid-form-results {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .grid-form-results > *:last-child {
    position: sticky;
    top: 80px;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 20px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .card {
    padding: 24px;
  }
}

.card-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.field {
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.field-hint {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.input, select {
  width: 100%;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
}

.seg-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 16px;
  min-width: 0;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--brand);
  border-radius: 10px;
  overflow: hidden;
}

.seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  flex: 1;
  background: transparent;
  color: var(--brand-text);
  border: none;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.seg-btn.is-active, .seg-btn[aria-pressed="true"] {
  background: var(--brand-bg);
  color: #ffffff;
}

.tax-year-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tax-year-toggle > div {
  display: inline-flex;
  border: 1px solid var(--brand);
  border-radius: 10px;
  overflow: hidden;
}

.stepper {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 24px;
}

.step {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 0.875rem;
  font-weight: 600;
}

.step.is-active {
  color: var(--brand-text);
  font-weight: bold;
}

.step.is-active .step-num {
  background: var(--brand-bg);
  color: #ffffff;
  border-color: var(--brand-bg);
}

.step.is-done .step-num {
  background: var(--ok);
  color: #ffffff;
  border-color: var(--ok);
}

@media (max-width: 399.98px) {
  .step:not(.is-active) .step-name {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--brand-bg);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-secondary {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand-text);
}

.btn-warn {
  background: var(--warn);
  color: #ffffff;
}

.btn[disabled], .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary.seg-btn {
  min-height: 44px;
  padding: 0 12px;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--brand);
}

.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.action-row .btn {
  flex: 1 1 10rem;
}

.alert {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.alert-warn {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn);
}

.result-block {
  margin-bottom: 16px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.result-row:last-child {
  border-bottom: none;
}

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

.result-val {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

#take-home-monthly, .card > .result-block .result-row:first-child .result-val {
  font-size: 1.5rem;
}

.table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 8px;
  text-align: right;
  border-bottom: 1px solid var(--border);
}

.table th:first-child, .table td:first-child {
  text-align: left;
}

.table th {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.table tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.02);
}

@media (prefers-color-scheme: dark) {
  .table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
  }
}

@media (max-width: 500px) {
  .table th, .table td {
    font-size: 0.875rem;
  }
}

.slider-row {
  margin-bottom: 16px;
}

.slider-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.slider {
  width: 100%;
  flex: 1 1 100%;
  accent-color: var(--brand);
  height: 44px;
}

.slider-pct {
  width: 5rem;
}

.slider-dlr {
  width: 7rem;
}

.slider-controls span {
  color: var(--text-muted);
}

#alloc-total {
  font-size: 1.125rem;
  margin-bottom: 12px;
  font-weight: bold;
}

.summary-list {
  padding-left: 1.1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.share-res input {
  width: 100%;
}

.tax-note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}

#site-footer,
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 24px 0 32px;
  margin-top: 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--brand-text);
}

.fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Claude review fixes (2026-09-28) ---- */
.header-inner { position: relative; }
.seg.tax-year-toggle { border: none; overflow: visible; border-radius: 0; margin-bottom: 12px; flex-wrap: wrap; }
.seg.tax-year-toggle .seg-label { font-weight: 600; }
.seg-fieldset .seg { display: flex; }
.slider-pct { width: 4.5rem; flex: none; }
.slider-dlr { width: auto; flex: 1 1 5rem; min-width: 0; }
.slider-controls .btn { flex: none; }
.grid-2 .result-val { text-align: left; }
@media (min-width: 640px) {
  .table { display: table; overflow: visible; }
}

/* ======================= FinHighway 7.0 (Claude, 2026-09-29) ======================= */
:root { --info: #1d4ed8; --info-bg: #eff6ff; --road: #374151; --road-line: #fde68a; --tabbar-h: 64px; }
@media (prefers-color-scheme: dark) { :root { --info: #93c5fd; --info-bg: #172554; --road: #0b1220; } }
.hidden { display: none !important; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 6px; }
.section-title { font-size: 1.25rem; font-weight: 700; margin: 28px 0 8px; }
.alert-info { background: var(--info-bg); color: var(--info); border: 1px solid currentColor; border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.btn-small { min-height: 36px; padding: 0 12px; font-size: .9rem; }
.btn-big { width: 100%; min-height: 52px; font-size: 1.1rem; }
.lesson-link { display: inline-block; margin-top: 8px; color: var(--brand-text); font-weight: 600; font-size: .95rem; }
.header-cta { min-height: 40px; padding: 0 16px; margin-left: 12px; }
.nav-link[aria-current="page"] { color: var(--brand-text); font-weight: 700; box-shadow: inset 0 -3px 0 var(--brand); }

/* Bottom tab bar (phones) */
.tabbar { display: none; }
@media (max-width: 767.98px) {
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--tabbar-h); background: var(--surface);
    border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
  .tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px;
    font-size: .72rem; color: var(--text-muted); text-decoration: none; }
  .tab[aria-current="page"] { color: var(--brand-text); font-weight: 700; }
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .header-cta { display: none; }
}

/* Home */
.hero { padding: 16px 0 8px; }
.hero-title { font-size: 1.9rem; line-height: 1.2; max-width: 22ch; }
@media (min-width: 768px) { .hero-title { font-size: 2.6rem; } }
.hero-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 60ch; margin-top: 12px; }
.hero-where { margin-top: 12px; font-weight: 600; color: var(--brand-text); }
.hero-actions { max-width: 32rem; }
.how-steps { padding-left: 1.2rem; line-height: 1.7; max-width: 60ch; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card.feature, .card.tool-card, .card.lesson-card { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.card.feature:hover, .card.tool-card:hover, .card.lesson-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.tone-note { margin-top: 20px; color: var(--text-muted); font-style: italic; }

/* Check-in */
.checkin-section .field:last-child { margin-bottom: 0; }
.checkin-footer { position: sticky; bottom: 0; background: var(--bg); padding: 12px 0 8px; z-index: 5; }
@media (max-width: 767.98px) { .checkin-footer { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); } }
.checkin-preview { font-size: .95rem; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.debt-list { display: grid; gap: 12px; margin-bottom: 12px; }
.debt-row { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; align-items: end; padding: 12px; border: 1px dashed var(--border); border-radius: 10px; }
.debt-row .field { margin-bottom: 10px; }
.debt-row .debt-remove { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) { .debt-row { grid-template-columns: 1.3fr 1fr 1fr .8fr 1fr auto; } .debt-row .debt-remove { grid-column: auto; margin-bottom: 10px; } }

/* Map */
.map-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 900px) { .map-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.miles { list-style: none; padding: 0; margin: 0; position: relative; }
.miles::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 6px; border-radius: 3px; background: var(--road);
  background-image: repeating-linear-gradient(to bottom, var(--road-line) 0 10px, transparent 10px 22px); background-size: 2px 100%; background-repeat: no-repeat; background-position: center; }
.mile { position: relative; display: flex; gap: 14px; padding: 10px 0; }
.mile-badge { position: relative; z-index: 1; flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; background: var(--surface); border: 2px solid var(--border); color: var(--text-muted); }
.mile.is-done .mile-badge { background: var(--ok); border-color: var(--ok); color: #fff; }
.mile.is-current .mile-badge { background: var(--brand-bg); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 25%, transparent); }
.mile-body { flex: 1; min-width: 0; }
.mile-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.mile-title { font-weight: 600; }
.mile.is-ahead .mile-title { color: var(--text-muted); }
.mile-status { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.mile.is-done .mile-status { color: var(--ok); }
.mile.is-current .mile-status { color: var(--brand-text); }
.bar { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; margin: 6px 0; }
.bar-fill { height: 100%; background: var(--brand); border-radius: 4px; }
.mile.is-done .bar-fill { background: var(--ok); }
.next-exit { border: 2px solid var(--brand); }
.next-exit p { margin-top: 8px; }
.destination .bar { height: 12px; }
.signs { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .signs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .signs { grid-template-columns: repeat(3, 1fr); } }
.sign { background: var(--surface); border: 1px solid var(--border); border-left: 6px solid var(--text-muted); border-radius: 10px; padding: 14px 16px; }
.sign-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.sign-label { font-weight: 600; }
.sign-word { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sign-value { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; margin: 4px 0; }
.sign-on-track { border-left-color: var(--ok); } .sign-on-track .sign-word { color: var(--ok); }
.sign-building { border-left-color: var(--caution); } .sign-building .sign-word { color: var(--caution); }
.sign-room { border-left-color: var(--info); } .sign-room .sign-word { color: var(--info); }
.sign-unknown .sign-word { color: var(--text-muted); }
.since { border-left: 6px solid var(--ok); margin-top: 12px; }

/* Learn */
.lessons, .tools { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lessons, .tools { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .lessons, .tools { grid-template-columns: repeat(3, 1fr); } }
.lesson-meta { display: flex; gap: 12px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 6px; }
.lesson { max-width: 44rem; }
.lesson-lead { font-size: 1.15rem; margin: 8px 0 16px; }
.lesson-section { margin-bottom: 18px; }
.lesson-section h2 { font-size: 1.15rem; margin-bottom: 6px; }
.lesson-section p { margin-bottom: 10px; line-height: 1.65; }
.key-points ul { padding-left: 1.2rem; line-height: 1.7; }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.lesson-nav a { color: var(--brand-text); }

/* Print: the map as a clean page */
@media print {
  #site-header, .tabbar, #site-footer, .no-print, .skip-link, .btn, .lesson-link { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .card, .sign { box-shadow: none; break-inside: avoid; }
  .fade-in { animation: none; }
}

/* ======================= FinHighway 7.1 (Claude, 2026-09-29) ======================= */
.crumbs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 12px; }
.crumb { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--brand-text); text-decoration: none; }
.crumb:hover { text-decoration: underline; }
.crumb-next { margin-left: auto; }
.crumbs + .page, .crumbs + .container { padding-top: 4px; }
/* Mile markers are now <details>: tap to open what the mile means */
.mile { display: block; padding: 6px 0; }
.mile-details > summary { display: flex; gap: 14px; list-style: none; cursor: pointer; padding: 4px 0; border-radius: 8px; }
.mile-details > summary::-webkit-details-marker { display: none; }
.mile-details > summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.mile-details .mile-body { display: block; }
.mile-details .mile-top { display: flex; }
.mile-details .mile-fact { display: block; }
.mile-details .mile-title::after { content: " ▾"; color: var(--text-muted); font-weight: 400; }
.mile-details[open] .mile-title::after { content: " ▴"; }
.mile-more { margin: 4px 0 8px 54px; padding: 10px 12px; background: var(--bg); border-radius: 8px; }
.mile-more p { margin-bottom: 4px; }
.mile-more .lesson-link { display: block; }
/* Retirement chart */
.chart-wrap { margin: 16px 0 8px; }
.chart { width: 100%; height: auto; display: block; }
.chart-grid { stroke: var(--border); stroke-width: 1; }
.chart-label { fill: var(--text-muted); font-size: 10px; font-family: inherit; }
.chart-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; }
.chart-area { fill: var(--brand); opacity: .12; }
.chart-bench { fill: var(--surface); stroke: var(--caution); stroke-width: 2.5; }
.key { display: inline-block; width: 14px; height: 10px; vertical-align: middle; margin-right: 4px; }
.key-line { border-top: 3px solid var(--brand); height: 0; }
.key-dot { width: 10px; border-radius: 50%; border: 2.5px solid var(--caution); }
/* Continue code + location */
.code-box { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; word-break: break-all; margin-top: 12px; resize: vertical; }
.location { margin-bottom: 4px; }
.lesson-nav .btn { flex: 1 1 14rem; text-align: center; }
