/* DA « quai de gare » : bleu nuit, jaune signal, tableau d affichage, billet perforé. */
@font-face { font-family: "Barlow"; src: url(/fonts/barlow-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(/fonts/barlow-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(/fonts/barlow-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(/fonts/barlow-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #eef1f6; --surface: #ffffff; --surface-2: #f6f8fb; --ink: #0f1b3d; --ink-2: #44506b; --muted: #5d6882;
  --line: #d9dfea; --accent: #ffd23f; --accent-ink: #0f1b3d; --brand: #1d3a8a; --brand-ink: #fff;
  --ok: #157a4f; --ok-bg: #e3f5ec; --warn: #9a5b00; --warn-bg: #fff3d6; --bad: #b4232c; --bad-bg: #fde8e9;
  --board: #0f1b3d; --board-ink: #ffd23f; --board-dim: #9fb0d6; --board-line: #23336a;
  --radius: 14px; --shadow: 0 1px 2px rgba(15, 27, 61, .06), 0 6px 24px rgba(15, 27, 61, .07);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1022; --surface: #121b36; --surface-2: #17213f; --ink: #e9eef9; --ink-2: #c3cce0; --muted: #98a3bf;
    --line: #26325a; --accent: #ffd23f; --accent-ink: #0f1b3d; --brand: #8fb0ff; --brand-ink: #0a1022;
    --ok: #56d39a; --ok-bg: #0f3324; --warn: #ffc95c; --warn-bg: #3a2a07; --bad: #ff8a90; --bad-bg: #3d1216;
    --board: #060b19; --board-ink: #ffd23f; --board-dim: #8796bd; --board-line: #1c2852;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1022; --surface: #121b36; --surface-2: #17213f; --ink: #e9eef9; --ink-2: #c3cce0; --muted: #98a3bf;
  --line: #26325a; --accent: #ffd23f; --accent-ink: #0f1b3d; --brand: #8fb0ff; --brand-ink: #0a1022;
  --ok: #56d39a; --ok-bg: #0f3324; --warn: #ffc95c; --warn-bg: #3a2a07; --bad: #ff8a90; --bad-bg: #3d1216;
  --board: #060b19; --board-ink: #ffd23f; --board-dim: #8796bd; --board-line: #1c2852;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 "Barlow", system-ui, sans-serif; }
a { color: var(--brand); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: "Barlow Condensed", "Barlow", sans-serif; line-height: 1.08; letter-spacing: .005em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 4vw, 2rem); font-weight: 700; margin-top: 1.6em; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mono { font-variant-numeric: tabular-nums; }

/* En-tête */
.top { background: var(--board); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 700 1.45rem/1 "Barlow Condensed", sans-serif; letter-spacing: .02em; }
.logo svg { width: 44px; height: 32px; flex: none; }
.logo b { color: var(--accent); font-weight: 700; }
.nav { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.nav a { color: #dfe6f7; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; }
.theme-btn { background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 8px; width: 38px; height: 38px; display: inline-grid; place-items: center; cursor: pointer; margin-left: 4px; }
@media (max-width: 720px) { .nav .hide-m { display: none; } .nav a { padding: 8px 7px; font-size: .9rem; } }
@media (max-width: 440px) { .logo > span { display: none; } .nav .hide-xs { display: none; } .logo { font-size: 1.2rem; gap: 6px; } .logo svg { width: 36px; } .nav a { padding: 7px 5px; font-size: .86rem; } .theme-btn { width: 34px; height: 34px; } .top .wrap { gap: 6px; } }
.logo, .nav a { white-space: nowrap; }
.board .dest .m-only { display: none; }
@media (max-width: 560px) { .board .num.hide-sm, .board th.hide-sm { display: none; } .board .dest small.m-only { display: block; } .board .dest span.m-only { display: inline; } .board td, .board th { font-size: 1.02rem; } }
.rail { height: 8px; background: repeating-linear-gradient(90deg, var(--accent) 0 26px, transparent 26px 34px); opacity: .95; }

/* Héros */
.hero { padding: 34px 0 30px; }
.hero-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } .hero { padding: 56px 0 44px; } }
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 40ch; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 .85rem/1 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: 12px; }
.kicker::before { content: ""; width: 22px; height: 4px; background: var(--accent); border-radius: 2px; }

/* Formulaire principal : un seul bloc, deux champs */
.find { display: grid; grid-template-columns: 1fr; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); max-width: 520px; }
@media (min-width: 560px) { .find { grid-template-columns: 1.1fr 1fr auto; align-items: end; } }
.field label { display: block; font-weight: 600; font-size: .85rem; color: var(--ink-2); margin: 0 0 4px 2px; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; min-height: 48px; }
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 1px; border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1.05rem/1 "Barlow", sans-serif; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 10px; padding: 14px 18px; min-height: 48px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { filter: brightness(.96); }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.small { min-height: 38px; padding: 9px 12px; font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: .85rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; }
.chip:hover { border-color: var(--ink-2); }

/* Tableau d'affichage */
.board { background: var(--board); color: var(--board-ink); border-radius: var(--radius); padding: 14px 14px 10px; box-shadow: var(--shadow); font-family: "Barlow Condensed", sans-serif; overflow: hidden; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--board-dim); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; padding: 0 4px 8px; border-bottom: 1px solid var(--board-line); }
.board-head strong { color: #fff; letter-spacing: .08em; }
.board table { width: 100%; border-collapse: collapse; }
.board td, .board th { padding: 9px 4px; border-bottom: 1px solid var(--board-line); text-align: left; vertical-align: middle; font-size: 1.12rem; font-weight: 600; }
.board th { color: var(--board-dim); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.board tr:last-child td { border-bottom: 0; }
.board .t { font-variant-numeric: tabular-nums; color: #fff; width: 3.6em; }
.board .dest { color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.board .dest small { display: block; color: var(--board-dim); text-transform: none; font-size: .85rem; letter-spacing: 0; font-family: "Barlow", sans-serif; font-weight: 500; }
.board .num { color: var(--board-dim); font-size: .95rem; white-space: nowrap; }
.board .v { text-align: center; width: 2.6em; }
.board .v span { display: inline-block; min-width: 1.9em; padding: 2px 4px; border: 1.5px solid var(--board-dim); border-radius: 5px; color: #fff; }
.board a { color: inherit; text-decoration: none; }
.board a:hover .dest { text-decoration: underline; }
.board-foot { color: var(--board-dim); font: 500 .8rem/1.4 "Barlow", sans-serif; padding: 8px 4px 2px; }
.board-foot a { color: var(--board-dim); }
.tag { display: inline-block; font: 700 .9rem/1 "Barlow Condensed", sans-serif; padding: 4px 7px; border-radius: 6px; white-space: nowrap; letter-spacing: .02em; }
.board .tag.late { background: #ffd23f; color: #0f1b3d; }
.board .tag.bad { background: #ff5a63; color: #fff; }
.board .tag.ok { background: transparent; color: #7be0b0; border: 1.5px solid #2e7a5a; }
.board .tag.money { background: #fff; color: #0f1b3d; }
.tag.late { background: var(--warn-bg); color: var(--warn); }
.tag.bad { background: var(--bad-bg); color: var(--bad); }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.money { background: var(--accent); color: var(--accent-ink); }
.tag.info { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.example { display: inline-block; background: var(--accent); color: var(--accent-ink); font: 700 .75rem/1 "Barlow", sans-serif; padding: 4px 6px; border-radius: 4px; letter-spacing: .06em; text-transform: uppercase; }

/* Cartes et sections */
.section { padding: 8px 0 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
.grid2 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.links a { display: inline-block; padding: 7px 11px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.links a:hover { border-color: var(--ink-2); }
.crumbs { font-size: .9rem; color: var(--muted); margin: 18px 0 8px; }
.crumbs a { color: var(--muted); }
.page-head { padding: 6px 0 10px; }
.page-head h1 { font-size: clamp(2rem, 6vw, 3rem); }

/* Billet (résultat de l'indemnisation) */
.ticket { position: relative; display: grid; grid-template-columns: 1fr; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
@media (min-width: 640px) { .ticket { grid-template-columns: 1fr 200px; } }
.ticket-main { padding: 20px 20px 18px; }
.ticket-stub { background: var(--accent); color: var(--accent-ink); padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; border-top: 2px dashed rgba(15, 27, 61, .35); }
@media (min-width: 640px) { .ticket-stub { border-top: 0; border-left: 2px dashed rgba(15, 27, 61, .35); } }
.ticket-stub .big { font: 700 2.6rem/1 "Barlow Condensed", sans-serif; }
.ticket-stub .lbl { font: 600 .8rem/1.2 "Barlow", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.ticket.non .ticket-stub { background: var(--surface-2); color: var(--ink-2); }
.ticket.a_verifier .ticket-stub { background: var(--warn-bg); color: var(--warn); }
.ticket h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
.route { font: 600 1.1rem/1.3 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); margin-bottom: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--ink-2); }
.facts li b { color: var(--ink); }
details { border-top: 1px solid var(--line); padding: 10px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 700 1.3rem/1 "Barlow", sans-serif; color: var(--muted); }
details[open] > summary::after { content: "–"; }
.scheme { padding: 10px 0 2px; }
.scheme p { margin: .35em 0; }
.src { font-size: .85rem; color: var(--muted); }
.note { background: var(--surface-2); border-left: 4px solid var(--accent); padding: 10px 12px; border-radius: 8px; font-size: .95rem; margin: 10px 0; }
.note.warn { border-left-color: var(--warn); }
.partner { margin-top: 14px; border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--muted); font-size: .92rem; background: transparent; }
.partner b { color: var(--ink-2); }

/* Ligne du train (arrêts) */
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.status .big { font: 700 1.9rem/1 "Barlow Condensed", sans-serif; }
.status.ok .big { color: var(--ok); } .status.late .big { color: var(--warn); } .status.bad .big { color: var(--bad); }
.stops { list-style: none; margin: 14px 0 0; padding: 0; }
.stops li { position: relative; display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; padding: 9px 0 9px 26px; align-items: center; }
.stops li::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 4px; background: var(--line); }
.stops li:first-child::before { top: 50%; } .stops li:last-child::before { bottom: 50%; }
.stops li::after { content: ""; position: absolute; left: 3px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink-2); }
.stops li.passed::before { background: var(--ink-2); }
.stops li.mine::after { background: var(--accent); border-color: var(--ink); }
.stops li.cancel { color: var(--muted); } .stops li.cancel .n { text-decoration: line-through; }
.stops .h { font-variant-numeric: tabular-nums; font-weight: 700; }
.stops .h s { color: var(--muted); font-weight: 500; display: block; font-size: .85rem; }
.stops .n { font-weight: 600; } .stops .n a { color: inherit; text-decoration: none; } .stops .n a:hover { text-decoration: underline; }
.stops .voie { font-size: .8rem; color: var(--muted); display: block; font-weight: 500; }
.msg { background: var(--warn-bg); color: var(--ink); border-radius: 10px; padding: 10px 12px; margin: 10px 0; font-size: .95rem; white-space: pre-line; }
.msg b { display: block; margin-bottom: 2px; }

/* Tables de données */
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.tbl td.r, .tbl th.r { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; align-items: end; height: 140px; margin: 10px 0 4px; }
.bars div { background: var(--brand); border-radius: 4px 4px 0 0; position: relative; min-height: 2px; }
.bars div.last { background: var(--accent); }
.bars-x { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; font-size: .72rem; color: var(--muted); text-align: center; }
.meter { height: 10px; background: var(--surface-2); border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.meter span { display: block; height: 100%; background: var(--brand); }

/* Étapes de la demande */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 18px 50px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 700 1.1rem/1 "Barlow Condensed", sans-serif; }
.steps > li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: 4px 0 6px; }
.letter { white-space: pre-wrap; font: 400 .95rem/1.5 ui-monospace, "SF Mono", Menlo, monospace; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; max-height: 360px; overflow: auto; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding: 4px 0 4px 28px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }
.form-row { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 10px 0; }
@media (min-width: 600px) { .form-row.two { grid-template-columns: 1fr 1fr; } .form-row.three { grid-template-columns: 1fr 1fr 1fr; } }
.toggle { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; margin: 6px 0; }
.toggle input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; }
.ok-box { background: var(--ok-bg); color: var(--ink); border-radius: 10px; padding: 12px 14px; }
.err-box { background: var(--bad-bg); color: var(--ink); border-radius: 10px; padding: 12px 14px; }

/* FAQ et pied de page */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-size: 1.02rem; }
.foot { margin-top: 40px; background: var(--board); color: #cfd8ee; font-size: .9rem; padding: 26px 0 30px; }
.foot a { color: #fff; }
.foot .cols { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot ul { list-style: none; padding: 0; margin: 0; } .foot li { margin: 4px 0; }
.mascot-cloud { animation: puff 3.2s ease-in-out infinite; transform-origin: center; }
.mascot-cloud.c2 { animation-delay: 1.1s; }
@keyframes puff { 0%, 100% { transform: translateY(0) scale(1); opacity: .95; } 50% { transform: translateY(-2px) scale(1.08); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .mascot-cloud { animation: none; } }
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 14px; }
.letters a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; color: var(--ink); }
.cols-list { columns: 2 180px; column-gap: 20px; padding: 0; list-style: none; margin: 0; }
.cols-list li { break-inside: avoid; padding: 2px 0; }
.suggest { list-style: none; margin: 4px 0 0; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.suggest a { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.suggest a:hover, .suggest a:focus { background: var(--surface-2); }

/* ---- Refonte 24/10 : trajets, piliers, prix ---- */
.find.od { grid-template-columns: 1fr; max-width: 640px; position: relative; }
.find.od .field { position: relative; }
.find.od .suggest { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; }
.suggest a.on, .suggest a:focus { background: var(--surface-2); outline: 2px solid var(--accent); }
.swap { display: none; }
@media (min-width: 720px) {
  .find.od { grid-template-columns: 1fr auto 1fr; align-items: end; }
  .find.od .btn { grid-column: 1 / -1; }
  .swap { display: inline-grid; place-items: center; width: 40px; height: 48px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); border-radius: 10px; cursor: pointer; font-size: 1.2rem; }
}
.trip-card { display: block; background: var(--board); color: #fff; border-radius: var(--radius); padding: 16px; text-decoration: none; box-shadow: var(--shadow); }
.trip-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--board-line); padding-bottom: 8px; }
.trip-route { font: 700 1.7rem/1 "Barlow Condensed", sans-serif; color: var(--board-ink); }
.trip-when { color: var(--board-dim); text-transform: uppercase; letter-spacing: .1em; font: 600 .85rem/1 "Barlow Condensed", sans-serif; }
.trip-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--board-line); }
.trip-facts b { display: block; font: 700 1.45rem/1.05 "Barlow Condensed", sans-serif; color: #fff; }
.trip-facts span { color: var(--board-dim); font-size: .82rem; }
.mini { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: .95rem; }
.mini td { padding: 7px 4px; border-bottom: 1px solid var(--board-line); }
.mini tr:last-child td { border-bottom: 0; }
.trip-more { display: block; margin-top: 10px; color: var(--board-ink); font-weight: 600; }
.pillars { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { display: grid; gap: 4px; border-top: 5px solid var(--accent); padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.pillar .p-ico { grid-row: span 2; font-size: 1.6rem; }
.pillar b { font: 700 1.3rem/1.1 "Barlow Condensed", sans-serif; }
.pillar span:last-child { color: var(--muted); font-size: .92rem; }
.pillar:hover { border-color: var(--ink-2); }
.trip-grid { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .trip-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); } }
.trip-grid aside .card + .card { margin-top: 14px; }
.card.flush { padding: 0; overflow: hidden; }
.tbl.trips td { vertical-align: middle; }
.tbl.trips .sub { display: block; font-size: .8rem; color: var(--muted); }
.tbl.trips tr.past { opacity: .5; }
.chips.days { margin: 0 0 12px; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.price-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.price-hero div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.price-hero .lbl { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.price-hero b { font: 700 1.6rem/1.1 "Barlow Condensed", sans-serif; }
.partners { margin-top: 12px; display: grid; gap: 8px; }
.partners .btn { width: 100%; }
.links.small a { font-size: .88rem; padding: 5px 9px; }
@media (max-width: 380px) { .nav .hide-xxs { display: none; } }
.board-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }

@media (max-width: 560px) { .tbl.trips th:nth-child(3), .tbl.trips td:nth-child(3) { display: none; } .tbl.trips th, .tbl.trips td { padding: 9px 6px; } }
