/* La Vuelta a Barca — Itinerary stylesheet */
:root {
  --accent-red: #E3001F;
  --accent-blue: #1E2C8F;
  --ink: #0C0B3B;
  --ink-deep: #161454;
  --ink-soft: #77779F;
  --line: #D9DDF0;
  --paper: #ffffff;
  --offwhite: #F5F7FF;

  /* Legacy aliases kept for existing markup and inline styles. */
  --yellow: var(--accent-red);
  --yellow-deep: var(--accent-blue);
  --ink-2: var(--ink-soft);
  --muted: var(--ink-soft);
}

.cover.front { background: linear-gradient(135deg, var(--ink) 0%, var(--accent-blue) 100%); color: var(--paper); }
.cover.back { background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-blue) 100%); color: var(--paper); }
.cover.back .brand-mark,
.cover.back .year-tag,
.cover.back .cover-main .pre,
.cover.back .cover-main h1,
.cover.back .strap,
.cover.back .route-line,
.cover.back .cover-stat .v,
.cover.back .cover-stat .k,
.cover.back .meta,
.cover.back .slash {
  color: var(--paper);
}
.cover.back .arrow { background: var(--paper); }
.cover.back .slash { background: var(--paper); }
.cover.back .cover-stat { border-color: rgba(255,255,255,.3); }

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

html, body {
  font-family: "Exo 2", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--ink-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@page { size: A4; margin: 0; }

.page {
  width: 210mm;
  background: var(--paper);
  position: relative;
  page-break-after: always;
  break-after: page;
  margin: 12mm auto;
  box-shadow: 0 8px 40px rgba(12,11,61,.25);
}
.page:last-child { page-break-after: auto; break-after: auto; }

@media print {
  body { background: var(--paper); }
  .download-bar { display: none; }
  .page { 
    height: 297mm;
    overflow: hidden;
    margin: 0 auto; 
    box-shadow: none; 
  }
}

@media screen {
  html, body { min-height: 100%; }
  .page {
    width: min(210mm, calc(100% - 24px));
    margin: 18px auto;
    overflow: visible;
    height: auto;
    min-height: 297mm;
  }
  .download-bar-inner {
    width: calc(100% - 20px);
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .page-frame {
    position: relative;
    padding: 16mm 16mm 12mm 16mm;
  }
}

@media screen and (max-width: 860px) {
  .download-bar-inner {
    gap: 12px;
  }
  .download-title {
    font-size: 10pt;
    text-align: center;
    width: 100%;
  }
  .download-pdf-button {
    width: 100%;
    max-width: 260px;
  }
  .page-header,
  .section-head,
  .cover-top,
  .cover-bottom,
  .day-hero,
  .hotel-card,
  .kit-grid,
  .team-grid,
  .link-grid,
  .stats,
  .schedule,
  .row {
    display: block;
  }
  .page-header,
  .section-head,
  .cover-top,
  .cover-bottom {
    gap: 12px;
  }
  .section-head {
    grid-template-columns: 1fr;
  }
  .section-head h2 {
    font-size: 18pt;
  }
  .section-head .num-block {
    font-size: 34pt;
    padding: 2.5mm 4mm;
  }
  .brand-mark,
  .cover-stats,
  .page-footer,
  .hotel-card,
  .kit-grid,
  .team-grid,
  .link-grid,
  .stats {
    width: 100%;
  }
  .cover-stats,
  .kit-grid,
  .team-grid,
  .link-grid,
  .hotel-grid,
  .stats {
    grid-template-columns: 1fr;
  }
  .cover-stat {
    width: 100%;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(227,0,31,.2);
  }
  .cover-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .tbl {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tbl th,
  .tbl td {
    white-space: nowrap;
  }
  .tbl th {
    font-size: 8.5pt;
  }
  .tbl td {
    font-size: 8.5pt;
    padding: 6px 8px;
  }
  .body p {
    font-size: 9.5pt;
  }
  .callout {
    padding: 3.5mm 4mm;
    font-size: 9pt;
  }
}

@media screen and (max-width: 640px) {
  .page {
    width: calc(100% - 16px);
    margin: 12px auto;
  }
  .download-pdf-button {
    font-size: 9pt;
    padding: 0 12px;
  }
  .section-head h2 {
    font-size: 16pt;
  }
  .page-header {
    border-bottom-width: 1px;
    padding-bottom: 5mm;
  }
  .section-head .num-block {
    font-size: 28pt;
  }
  .day-hero {
    grid-template-columns: 1fr;
  }
  .hotel-card,
  .kit-grid,
  .team-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }
  .route-line,
  .day-hero .info .route {
    flex-direction: column;
    align-items: flex-start;
  }
  .cover-main h1 {
    font-size: clamp(38pt, 10vw, 64pt);
  }
  .cover-main .strap,
  .cover-main .pre {
    max-width: 100%;
  }
}

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  font-size: 9pt;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow.on-yellow { color: var(--ink-deep); }
.eyebrow.on-ink { color: var(--paper); }

h1, h2, h3, h4 {
  font-family: "Exo 2", sans-serif;
  font-style: italic;
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.body p { font-size: 10.5pt; line-height: 1.55; }
.body p + p { margin-top: 8pt; }

a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent-blue); text-decoration-thickness: 2px; text-underline-offset: 2px; word-break: break-word; }
a:hover { color: var(--accent-blue); }

.download-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 11, 59, .96);
  border-bottom: 3px solid var(--accent-red);
  color: var(--paper);
  box-shadow: 0 8px 26px rgba(12, 11, 59, .28);
}
.download-bar-inner {
  width: min(210mm, calc(100% - 24px));
  min-height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.download-title {
  font-style: italic;
  font-weight: 900;
  font-size: 11pt;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.download-pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  background: var(--accent-red);
  color: var(--paper);
  border: 2px solid var(--accent-red);
  border-radius: 4px;
  font-size: 10pt;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.download-pdf-button:hover,
.download-pdf-button:focus-visible {
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

/* ============ PAGE CHROME ============ */
.page-frame {
  position: absolute; inset: 0;
  padding: 18mm 16mm 14mm 16mm;
  display: flex; flex-direction: column;
}
.page-frame.tight { padding: 14mm 14mm 12mm 14mm; }

.page-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-bottom: 6mm;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 8mm;
  gap: 8mm;
}
.brand-mark {
  display: flex; align-items: center; gap: 8px;
  font-style: italic; font-weight: 900;
  font-size: 11pt; text-transform: uppercase; letter-spacing: .04em;
}
.brand-mark .slash {
  width: 10px; height: 22px; background: var(--accent-red);
  transform: skewX(-18deg);
}
.section-tag {
  font-style: italic; font-weight: 900;
  font-size: 10pt; letter-spacing: .05em; text-transform: uppercase;
}
.section-tag .num {
  background: var(--accent-red); color: var(--paper); padding: 2px 8px; margin-right: 6px;
}

.page-footer {
  margin-top: auto;
  padding-top: 6mm;
  border-top: 1px solid var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 8pt; letter-spacing: .15em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-soft);
}
.page-footer .pn { color: var(--ink); font-weight: 900; font-style: italic; font-size: 11pt; letter-spacing: 0; }

/* ============ SECTION HEADER ============ */
.section-head {
  display: grid; grid-template-columns: auto 1fr; gap: 6mm; align-items: center;
  margin-bottom: 6mm;
}
.section-head .num-block {
  background: var(--accent-red);
  color: var(--paper);
  font-style: italic; font-weight: 900;
  font-size: 48pt; line-height: 1;
  padding: 3mm 5mm 3mm 5mm;
  letter-spacing: -.02em;
}
.section-head h2 {
  font-size: 24pt;
  color: var(--ink);
}
.section-head.sm .num-block { font-size: 32pt; padding: 2mm 4mm; }
.section-head.sm h2 { font-size: 16pt; }
.section-head.sm { margin-bottom: 4mm; }
.section-head .sub {
  font-size: 9.5pt; font-style: normal; font-weight: 600;
  text-transform: uppercase; letter-spacing: .15em; color: var(--ink-soft);
  margin-top: 3mm;
}

/* ============ COVER ============ */
.cover {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-rows: auto 1fr auto;
}
.cover .stripes {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.cover .stripes::before, .cover .stripes::after {
  content: "";
  position: absolute;
  transform: skewX(-18deg);
}
.cover.front .stripes::before {
  width: 18mm; height: 200mm; top: -10mm; left: 70mm;
  background: rgba(255,255,255,.16);
}
.cover.front .stripes::after {
  width: 6mm; height: 180mm; top: 60mm; right: 28mm;
  background: rgba(255,255,255,.3);
}

.brand-logo {
  display: inline-block;
  height: 24px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}
.brand-logo-long {
  display: inline-block;
  height: 24px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}
.cover-vuelta-logo {
  display: inline-block;
  height: 28px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}
.wmoa-logo {
  display: inline-block;
  height: 18px;
  width: auto;
  vertical-align: middle;
}
.wmoa-logo-solo {
  height: 22px;
}
.cover-top {
  position: relative; z-index: 2;
  padding: 18mm 16mm 0 16mm;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.cover-top .brand-mark { color: var(--paper); }
.cover-top .brand-mark .slash { background: var(--accent-red); }
.cover-top .year-tag {
  font-style: italic; font-weight: 900;
  font-size: 14pt; letter-spacing: .1em;
  color: var(--paper);
}
.cover-main {
  position: relative; z-index: 2;
  padding: 0 16mm;
  align-self: center;
  text-align: left;
  display: grid;
  gap: 10mm;
}
.cover-main-logo {
  display: block;
  max-width: 520px;
  width: 100%;
  height: auto;
  margin: 0 0 10mm 0;
}
.cover-main .pre {
  font-size: 11pt; letter-spacing: .35em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 6mm; color: #D9DDF0;
}
.cover-main h1 {
  font-size: 96pt;
  color: var(--paper);
  line-height: .88;
  margin-bottom: 8mm;
}
.cover-main h1 .yellow { color: var(--paper); }
.cover-main .strap {
  font-size: 14pt; font-weight: 600; font-style: italic;
  letter-spacing: .02em;
  max-width: 140mm;
  color: #EEF1FF;
  margin-top: 2mm;
}
.cover-main .route-line {
  margin-top: 12mm;
  display: flex; align-items: center; gap: 8mm;
  font-style: italic; font-weight: 900; font-size: 20pt; letter-spacing: .04em;
}
.cover-main .route-line .arrow {
  flex: 1; height: 2px; background: var(--accent-red);
  position: relative;
}
.cover-main .route-line .arrow::after {
  content: ""; position: absolute; right: -2px; top: -6px;
  border-left: 12px solid var(--accent-red); border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.cover-bottom {
  position: relative; z-index: 2;
  padding: 0 16mm 18mm 16mm;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 6mm;
}
.cover-stats { display: flex; gap: 8mm; }
.cover-stat { border-left: 3px solid var(--accent-red); padding-left: 6mm; }
.cover-stat .v {
  font-style: italic; font-weight: 900; font-size: 32pt; line-height: 1;
  color: var(--paper);
}
.cover-stat .k {
  font-size: 8pt; letter-spacing: .25em; text-transform: uppercase; font-weight: 600;
  color: #D9DDF0; margin-top: 4px;
}
.cover-bottom .meta {
  text-align: right;
  font-size: 9pt; letter-spacing: .15em; text-transform: uppercase; font-weight: 600;
  color: #D9DDF0;
  line-height: 1.7;
}

/* ============ TABLES ============ */
.tbl { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
.tbl th {
  background: var(--ink); color: var(--paper);
  font-style: italic; font-weight: 900;
  text-align: left; padding: 6px 8px;
  text-transform: uppercase; letter-spacing: .05em; font-size: 9pt;
  border-bottom: 2px solid var(--accent-red);
}
.tbl td {
  padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.tbl tbody tr:nth-child(odd):not(.mtn) td { background: var(--paper); }
.tbl tbody tr:nth-child(even):not(.mtn) td { background: var(--offwhite); }
.tbl .day-cell {
  font-style: italic; font-weight: 900; font-size: 11pt; color: var(--ink);
  width: 26pt;
}
.tbl .num-cell { font-variant-numeric: tabular-nums; font-weight: 600; }

/* Route table emphasis on mountain stages */
.tbl tbody tr.mtn:nth-child(odd) td { background: var(--paper); }
.tbl tbody tr.mtn:nth-child(even) td { background: #FCECEF; }
.tbl tr.mtn td.day-cell {
  background: transparent;
  color: var(--accent-red);
  font-weight: 900;
}

/* ============ STAT STRIP (day pages) ============ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin: 3mm 0 4mm 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.stats .s {
  padding: 3mm 4mm;
  border-right: 1px solid var(--line);
}
.stats .s:last-child { border-right: 0; }
.stats .s .k {
  font-size: 8pt; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft);
}
.stats .s .v {
  font-style: italic; font-weight: 900; font-size: 24pt; line-height: 1; margin-top: 3mm;
}
.stats .s .v small { font-size: 11pt; font-weight: 700; }

/* ============ SCHEDULE LIST ============ */
.schedule {
  display: grid; grid-template-columns: 26mm 1fr;
  border-left: 4px solid var(--accent-red);
  padding-left: 4mm;
  font-size: 10pt;
  row-gap: 3px;
  margin-top: 3mm;
}
.schedule .t { font-style: italic; font-weight: 900; font-variant-numeric: tabular-nums; }
.schedule .e { font-weight: 500; }
.schedule .row-note {
  grid-column: 2 / -1;
  font-size: 9pt; color: var(--ink-soft); font-style: italic;
  margin-top: 4px;
}
.schedule .tz {
  grid-column: 1 / -1;
  background: var(--accent-red); color: var(--paper);
  padding: 4px 8px;
  font-size: 8.5pt; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
  margin: 4px 0;
}

/* ============ DAY HERO ============ */
.day-hero {
  display: grid; grid-template-columns: 55mm 1fr; gap: 5mm;
  margin-bottom: 3mm;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 3mm;
}
.day-hero .badge {
  background: var(--ink); color: var(--paper);
  padding: 3mm 4mm 3mm 4mm;
  position: relative; overflow: hidden;
}
.day-hero .badge .label {
  font-size: 8.5pt; letter-spacing: .3em; text-transform: uppercase; font-weight: 700;
  color: #D9DDF0;
}
.day-hero .badge .big {
  font-style: italic; font-weight: 900;
  font-size: 54pt; line-height: .9; color: var(--paper);
  margin-top: 1mm;
}
.day-hero .badge .v {
  font-size: 8.5pt; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
  color: var(--paper); margin-top: 1mm;
}
.day-hero .info { display: flex; flex-direction: column; gap: 3mm; }
.day-hero .info .date {
  font-size: 9pt; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft);
}
.day-hero .info h2 {
  font-size: 22pt;
}
.day-hero .info .route {
  display: flex; align-items: center; gap: 6mm; font-weight: 700; font-size: 11pt;
}
.day-hero .info .route .from, .day-hero .info .route .to {
  font-style: italic; font-weight: 900; font-size: 14pt; text-transform: uppercase;
}
.day-hero .info .route .arr {
  flex: 1; height: 2px; background: var(--ink); position: relative;
}
.day-hero .info .route .arr::after {
  content: ""; position: absolute; right: -1px; top: -5px;
  border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}

/* ============ CALLOUT ============ */
.callout {
  background: var(--accent-red); color: var(--paper);
  padding: 4mm 5mm; font-weight: 600; font-size: 10pt; line-height: 1.5;
  border-left: 6px solid var(--ink);
  margin: 4mm 0;
}
.callout strong { font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }

.note {
  background: var(--offwhite);
  padding: 3mm 4mm;
  font-size: 9.5pt; color: var(--ink-soft);
  border-left: 3px solid var(--ink);
  margin: 3mm 0;
}

/* ============ IMAGE PLACEHOLDER ============ */
.imgph {
  background:
    repeating-linear-gradient(135deg, #E8ECFA 0 10px, #F3F5FF 10px 20px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 8.5pt; color: var(--ink-soft);
  text-align: center;
  letter-spacing: .05em;
  overflow: hidden;
}
.imgph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.imgph .lbl { display: none; }

.map-figure {
  border: 0;
  background: transparent;
  display: block;
  width: 100%;
  overflow: hidden;
}
.map-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* ============ KIT GRID ============ */
.kit-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4mm;
  margin-top: 4mm;
}
.kit-col h4 {
  font-size: 10pt; padding: 4px 6px;
  background: var(--ink); color: var(--paper);
  margin-bottom: 4mm;
  text-transform: uppercase; letter-spacing: .05em;
}
.kit-col ul { list-style: none; }
.kit-col li {
  font-size: 9pt; padding: 5px 0; border-bottom: 1px dotted var(--line);
  line-height: 1.35;
}
.kit-col li::before {
  content: "▮"; color: var(--accent-red); margin-right: 6px; font-size: 7pt;
}

/* ============ TEAM GRID ============ */
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4mm;
}
.team-block { border: 1px solid var(--ink); }
.team-block h4 {
  background: var(--ink); color: var(--paper);
  padding: 4px 8px; font-size: 10pt;
  display: flex; justify-content: space-between; align-items: baseline;
}
.team-block h4 .count {
  font-size: 9pt; font-style: normal; color: #D9DDF0; font-weight: 600; letter-spacing: .1em;
}
.team-block ul { list-style: none; padding: 3mm 4mm; }
.team-block li {
  display: grid; grid-template-columns: 1fr auto;
  font-size: 8.5pt; padding: 2.5px 0; border-bottom: 1px dotted var(--line);
  align-items: baseline;
}
.team-block li:last-child { border-bottom: 0; }
.team-block li .name { font-weight: 700; font-style: italic; }
.team-block li .role {
  display: block; font-size: 8pt; color: var(--ink-soft);
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-top: 1px;
}
.team-block li .ph { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

/* ============ TWO-COL TEXT ============ */
.two-col { columns: 2; column-gap: 8mm; }
.two-col p { break-inside: avoid; }
.two-col p + p { margin-top: 6pt; }

/* ============ LIST ============ */
.ord-list { padding-left: 0; list-style: none; counter-reset: ord; margin-top: 3mm; }
.ord-list.compact { columns: 2; column-gap: 7mm; margin-top: 2mm; }
.ord-list.compact li {
  break-inside: avoid-column;
}
.ord-list.compact li::before {
  margin-right: 4px;
}
.ord-list li {
  counter-increment: ord;
  padding: 2.5mm 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 9.5pt; line-height: 1.45;
}
.ord-list li::before {
  content: counter(ord, decimal-leading-zero) " ";
  font-style: italic; font-weight: 900;
  font-size: 12pt; color: var(--accent-red);
  letter-spacing: -.02em;
  margin-right: 6px;
  display: inline-block;
}
.ord-list.no-num li::before { content: none; }
.ord-list.no-num li { padding-left: 0; }
.ord-list.no-num li::marker { content: none; }
.ord-list.no-num li { list-style: none; }

/* ============ LINK LIST (route files) ============ */
.link-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5mm;
}
.link-grid a {
  display: flex; flex-direction: column;
  padding: 3mm; border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: background .15s;
}
.link-grid a:hover { background: var(--accent-red); }
.link-grid a .d {
  font-style: italic; font-weight: 900; font-size: 18pt; line-height: 1;
}
.link-grid a .l {
  font-size: 8pt; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-soft); margin-top: 3mm;
}
.link-grid a::after {
  content: "↗"; position: absolute; top: 3mm; right: 4mm;
  font-style: normal; color: var(--accent-red);
}

/* ============ HOTEL CARD ============ */
.hotel-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4mm;
  margin-top: 4mm;
}
.hotel-card {
  display: grid; grid-template-columns: 30mm 1fr; gap: 3mm;
  border: 1px solid var(--line);
}
.hotel-card .imgph { aspect-ratio: 1 / 1; }
.hotel-card .info { padding: 3mm 3mm 3mm 0; display:flex; flex-direction: column; justify-content: center; }
.hotel-card .loc {
  font-size: 8pt; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700;
}
.hotel-card .name { font-style: italic; font-weight: 900; font-size: 13pt; line-height: 1.1; margin-top: 1mm; }
.hotel-card .date { font-size: 9pt; font-weight: 600; margin-top: 2mm; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ============ ELEVATION CHART HINT ============ */
.elev-hint {
  height: 14mm; background: var(--offwhite);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  margin-top: 4mm;
}
.elev-hint svg { width: 100%; height: 100%; display: block; }

/* ============ UTILS ============ */
.mt-4 { margin-top: 4mm; } .mt-6 { margin-top: 6mm; } .mt-8 { margin-top: 8mm; }
.mb-4 { margin-bottom: 4mm; } .mb-6 { margin-bottom: 6mm; }
.row { display: flex; gap: 4mm; }
.row > * { flex: 1; }
.yellow-bg { background: var(--accent-red); }
.ink-bg { background: var(--ink); color: var(--paper); }
.ink-bg a { color: var(--paper); }
