/* Toll Estimator design system.
   Highway guide-sign green for estimating, service-sign blue for help,
   amber for notices. Tokens come from the mockups in /design. */

:root {
  --green: #0A5C3A;
  --green-deep: #07432B;
  --blue: #1B4B8F;
  --blue-deep: #13325F;
  --amber: #F2B90F;
  --ink: #13211B;
  --ground: #F3F5F1;
  --paper: #FFFDF6;
  --white: #FFFFFF;
  --line: #D5DBD4;
  --line-strong: #C3CCC4;
  --line-soft: #E3E8E2;
  --muted: #46564E;
  --thead: #E7ECE6;
  --dash: #9AA79E;
  --on-green: #D9E6DE;
  --on-green-eyebrow: #CDE7D9;
  --on-blue: #DCE6F5;
  --on-blue-eyebrow: #D6E3F7;
  --on-ink: #D9E0DB;
  --font-head: Overpass, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Overpass Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pad: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-text); color: var(--ink); background: var(--ground); font-size: 16px; line-height: 1.55; }
a { color: var(--green); }
a:hover { color: var(--green-deep); }
img, svg { max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 800; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Independence banner (hard rule 5) and header */
.banner { background: var(--ink); color: var(--ground); font-size: 13px; padding: 8px var(--pad); text-align: center; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.wordmark { background: var(--green); color: var(--white); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--green); border-radius: 8px; padding: 8px 14px 6px; font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: 0.05em; text-decoration: none; line-height: 1.2; margin: 2px; white-space: nowrap; }
.wordmark:hover { color: var(--white); background: var(--green-deep); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav-link { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; border-top: 3px solid transparent; white-space: nowrap; }
.nav-link:hover { color: var(--green-deep); border-bottom-color: var(--line-strong); }
.nav-link.is-active { font-weight: 600; }
.nav-link.is-blue { color: var(--blue); border-bottom-color: var(--blue); }
.nav-link.is-green { color: var(--green); border-bottom-color: var(--green); }

/* Home hero and the two doors */
.hero { background: var(--green-deep); padding: 56px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "text img" "doors doors"; gap: 36px 48px; align-items: center; }
.hero-text { grid-area: text; display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; color: var(--white); text-wrap: balance; }
.hero-lede { color: var(--on-green); font-size: 19px; }
.hero-img { grid-area: img; justify-self: end; width: 100%; max-width: 580px; height: auto; aspect-ratio: 12 / 7; object-fit: cover; display: block; border-radius: 16px; border: 3px solid var(--white); background: #D7E7F0; }
.doors { grid-area: doors; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door { border: 3px solid var(--white); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.door-green { background: var(--green); }
.door-blue { background: var(--blue); }
.door-eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; }
.door-green .door-eyebrow { color: var(--on-green-eyebrow); }
.door-blue .door-eyebrow { color: var(--on-blue-eyebrow); }
.door h2 { font-size: 30px; line-height: 1.15; color: var(--white); }
.door-links { display: flex; flex-direction: column; gap: 12px; }
.door-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 18px; background: var(--white); color: var(--ink); border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1.3; }
.door-link:hover { color: var(--ink); background: var(--ground); }
.door-link .i-chev { flex: none; }
.door-green .i-chev { color: var(--green); }
.door-blue .i-chev { color: var(--blue); }
.door-note { font-size: 14px; }
.door-green .door-note { color: var(--on-green); }
.door-blue .door-note { color: var(--on-blue); }
.door-note a { color: var(--white); }

/* Sections */
.section { padding: 48px 0 40px; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.section-in { display: flex; flex-direction: column; gap: 14px; }
.h-sec { font-size: 28px; line-height: 1.2; }
.sec-lede { color: var(--muted); max-width: 720px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { min-height: 44px; display: inline-flex; align-items: center; padding: 4px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.chip:hover { border-color: var(--green); color: var(--green-deep); }
.chip-all { border-color: var(--green); background: var(--green); color: var(--white); font-weight: 600; }
.chip-all:hover { background: var(--green-deep); color: var(--white); }
.chip-soon { color: var(--muted); border-style: dashed; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 48px; align-items: start; }
.split-text { display: flex; flex-direction: column; gap: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; width: 10px; height: 10px; background: var(--green); flex: none; }
.small { font-size: 14px; color: var(--muted); }
.sample { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.sample > .strip { flex: 1 1 230px; }
.sample > .receipt { flex: 1 1 270px; }

/* Receipt and strip map */
.receipt { background: var(--paper); border-top: 2px dashed var(--dash); border-bottom: 2px dashed var(--dash); border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 22px; font-family: var(--font-mono); font-size: 14px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.rc-head { text-align: center; font-weight: 600; letter-spacing: 0.16em; }
.rc-sub { text-align: center; color: var(--muted); }
.rc-rule { border-top: 1px dashed var(--dash); }
.rc-row { display: flex; justify-content: space-between; gap: 12px; }
.rc-row span:last-child { text-align: right; min-width: 0; }
.rc-row span:first-child { flex: 0 0 auto; max-width: 62%; }
.rc-strong { font-weight: 600; }
.rc-saving { background: var(--amber); color: var(--ink); padding: 10px 12px; font-weight: 600; text-align: center; }
.rc-foot { color: var(--muted); font-size: 12px; line-height: 1.5; }
.rc-foot a { color: var(--muted); }
.strip { background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.strip-white { background: var(--white); }
.strip-title { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.strip-list { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 22px; }
.strip-list::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--green); }
.strip-list li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: center; position: relative; }
.strip-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); }
.strip-end .strip-dot { background: var(--green); }
.strip-end .strip-name { font-weight: 600; }
.strip-label { display: flex; flex-direction: column; }
.strip-sub { font-size: 13px; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card-h { font-size: 21px; line-height: 1.25; }
.card p { color: var(--muted); }
.more { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
.card-aside { padding: 22px; gap: 8px; }
.card-aside .card-h { font-size: 19px; }
.card-aside p { font-size: 15px; }
.linklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.linklist a { min-height: 44px; display: inline-flex; align-items: center; }

/* Article pages */
.page { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 28px; padding-bottom: 72px; }
.page-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.page-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page-narrow .page-main { max-width: 820px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.intro { display: flex; flex-direction: column; gap: 14px; }
.eyebrow { align-self: flex-start; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; padding: 6px 12px 4px; border-radius: 6px; text-transform: uppercase; }
.eyebrow-blue { background: var(--blue); }
.eyebrow-green { background: var(--green); }
.eyebrow-amber { background: var(--amber); color: var(--ink); }
.page h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; text-wrap: balance; }
.lede { font-size: 19px; max-width: 760px; }
.qa { display: flex; flex-direction: column; gap: 14px; }
.qa h2 { font-size: 26px; line-height: 1.2; }
.qa h3 { font-size: 19px; line-height: 1.25; }
.qa p, .qa ul, .qa ol { max-width: 760px; }
.qa ul, .qa ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.cite { font-size: 0.72em; line-height: 0; margin-left: 2px; font-family: var(--font-mono); }
.cite a { text-decoration: none; padding: 0 2px; color: var(--blue); }
.cite a:hover { text-decoration: underline; }
.ph { background: #FFF3C4; border: 1px dashed #8A6A00; color: var(--ink); padding: 0 5px; border-radius: 3px; font-family: var(--font-mono); font-size: 0.9em; }
.governs { font-size: 14px; color: var(--muted); }

.paybox { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.paybox-text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 300px; }
.paybox-h { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.paybox p { color: var(--muted); font-size: 15px; }
.btn-official { background: var(--green); color: var(--white); text-decoration: none; min-height: 56px; padding: 8px 22px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; }
.btn-official:hover { background: var(--green-deep); color: var(--white); }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-text { display: flex; flex-direction: column; line-height: 1.2; gap: 2px; }
.btn-label { font-family: var(--font-head); font-weight: 800; font-size: 17px; }
.btn-domain { font-family: var(--font-mono); font-size: 13px; }
.i-ext { flex: none; }
.paylist { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; max-width: none !important; }
.paylist li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.paylist-text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.paylist-name { font-weight: 600; }
.paylist-sub { font-size: 14px; color: var(--muted); }

.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 12px 16px; font-weight: 600; caption-side: top; }
thead tr { background: var(--thead); }
th, td { padding: 12px 16px; vertical-align: top; text-align: left; }
thead th { font-weight: 600; font-family: var(--font-text); }
tbody tr { border-top: 1px solid var(--line); }
tbody th { font-weight: 600; font-family: var(--font-text); }
.num { text-align: right; font-family: var(--font-mono); min-width: 84px; }
thead th.num { font-family: var(--font-text); }
.table-note { font-size: 14px; color: var(--muted); }

.callout { border-radius: 8px; padding: 12px 16px; font-weight: 500; }
.callout-amber { background: var(--amber); color: var(--ink); }
.callout-amber a { color: var(--ink); }
.callout-note { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue); font-weight: 400; }

.steps { list-style: none; margin: 0; padding: 0 !important; background: var(--white); border: 1px solid var(--line); border-radius: 12px; max-width: none !important; gap: 0 !important; }
.steps li { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.step-when { font-weight: 600; }

.sources { border-top: 1px solid var(--line); padding-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.sources-h { font-family: var(--font-text); font-size: 14px; font-weight: 600; color: var(--ink); }
.src-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.src-list li { display: grid; grid-template-columns: 24px 1fr; gap: 4px; overflow-wrap: anywhere; }
.src-list li:target { background: #FFF3C4; outline: 4px solid #FFF3C4; }
.src-n { font-family: var(--font-mono); }
.src-host { white-space: nowrap; }

/* Tools: calculators and the link checker */
.tool { display: flex; flex-direction: column; gap: 20px; }
.calc { background: var(--green); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; color: var(--white); }
.tool-blue .calc { background: var(--blue); }
.calc h2 { font-size: 24px; line-height: 1.2; color: var(--white); }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field select, .field input { height: 48px; border-radius: 8px; border: 1px solid var(--green-deep); padding: 0 12px; font-size: 16px; font-family: inherit; background: var(--white); color: var(--ink); width: 100%; min-width: 0; }
.tool-blue .field select, .tool-blue .field input { border-color: var(--blue-deep); }
.calc-btn { min-height: 52px; border: 0; border-radius: 8px; background: var(--white); color: var(--green-deep); font-family: var(--font-head); font-weight: 800; font-size: 17px; cursor: pointer; padding: 4px 20px; }
.tool-blue .calc-btn { color: var(--blue-deep); }
.calc-btn:hover { background: var(--ground); }
.calc-note { font-size: 14px; color: var(--on-green); }
.tool-blue .calc-note { color: var(--on-blue); }
.calc-out { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.calc-out > .strip { flex: 1 1 220px; }
.calc-out > .receipt { flex: 2 1 280px; }
.calc-out:empty { display: none; }
.result-actions { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; align-items: center; }
.result-actions button, .result-actions a { min-height: 44px; display: inline-flex; align-items: center; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--green); text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--green-deep); }
.calc-msg { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 8px; padding: 12px 16px; }
[hidden] { display: none !important; }

.lc-result { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.lc-verdict { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1.25; }
.lc-verdict svg { flex: none; margin-top: 2px; }
.lc-host { font-family: var(--font-mono); overflow-wrap: anywhere; }
.lc-result p { max-width: 720px; }
.lc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Trip builder and pass finder */
.rc-leg { font-weight: 600; }
.rc-where { color: var(--muted); }
.trip-legs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.trip-legs:empty { display: none; }
.trip-legs li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px 16px; display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; }
.trip-leg-text { flex: 1 1 220px; display: flex; flex-direction: column; padding: 6px 0; }
.trip-leg-name { font-weight: 600; }
.trip-leg-sub { font-size: 14px; color: var(--muted); }
.trip-legs a, .trip-legs button { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
.checks { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 12px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--amber); }
.table-notes { font-size: 14px; color: var(--muted); }

/* Directory lists (hubs) */
/* Long web and email addresses inside sentences must wrap on a phone. */
.page-main { overflow-wrap: anywhere; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; max-width: none !important; }
.jump a { min-height: 40px; display: inline-flex; align-items: center; padding: 2px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.jump a:hover { border-color: var(--blue); color: var(--blue-deep); }
.qa[id] { scroll-margin-top: 16px; }
.dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0 !important; max-width: none !important; }
.dir li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.dir a { font-weight: 600; }
.dir .dir-name { font-weight: 600; }
.dir .dir-sub { font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); padding: 36px 0; }
.site-footer-in { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-start; }
.site-footer p { max-width: 620px; font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer a { color: var(--white); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }

/* Tablet */
@media (max-width: 900px) {
  .hero { padding: 40px 0 48px; }
  .hero-in { grid-template-columns: 1fr; grid-template-areas: "text" "doors" "img"; gap: 28px; }
  .hero-img { justify-self: stretch; max-width: none; }
  .page { gap: 36px; }
}
@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --pad: 16px; }
  .banner { font-size: 12px; padding: 6px var(--pad); }
  .site-header-in { padding-top: 10px; padding-bottom: 0; gap: 4px; }
  .wordmark { font-size: 14px; padding: 7px 10px 5px; border-radius: 7px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; gap: 0 20px; width: calc(100% + 2 * var(--pad)); margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-link { font-size: 14px; }
  .hero { padding: 28px 0 36px; }
  .hero-lede, .lede { font-size: 17px; }
  .door { padding: 20px; gap: 14px; }
  .door h2 { font-size: 25px; }
  .door-link { font-size: 16px; min-height: 56px; padding: 8px 14px; }
  .section { padding: 36px 0 32px; }
  .section-white { padding: 40px 0; }
  .h-sec { font-size: 24px; }
  .split { gap: 28px; }
  .page { padding-top: 20px; padding-bottom: 48px; gap: 28px; }
  .page-main { gap: 24px; }
  .qa h2 { font-size: 22px; }
  .paybox { padding: 18px; }
  .btn-official { width: 100%; }
  .calc { padding: 18px; }
  .card { padding: 20px; }
  th, td { padding: 10px 12px; }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
  .t-stack table { min-width: 0 !important; }
  .t-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .t-stack tbody tr { display: block; padding: 12px 14px; }
  .t-stack tbody th, .t-stack tbody td { display: block; padding: 2px 0; text-align: left; min-width: 0; }
  .t-stack tbody th { font-size: 16px; }
  .t-stack tbody td[data-label]::before { content: attr(data-label); display: block; font-family: var(--font-text); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
  .t-stack .amt-note { display: inline; margin-left: 6px; }
  .receipt { padding: 16px; font-size: 13px; }
  .lc-verdict { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Print: the receipt, the facts and their sources. No navigation. */
@media print {
  body { background: #fff; font-size: 12pt; }
  .site-header, .site-footer nav, .page-aside, .calc, .result-actions, .skip, .crumbs, .hero-img, .doors, .chips, .jump, .trip-legs { display: none !important; }
  .banner { background: #fff; color: #000; border-bottom: 1px solid #000; }
  .site-footer { background: #fff; color: #000; padding: 12pt 0; }
  .page { padding: 0; display: block; }
  .receipt, .strip, .table-wrap, .paybox { break-inside: avoid; }
  .receipt { border-color: #000; }
  a { color: #000; }
  .btn-official { background: #fff; color: #000; border: 1px solid #000; }
}

.amt-note { display: block; font-family: var(--font-text); font-size: 12px; color: var(--muted); white-space: normal; }
.no-js .js-only { visibility: hidden; }

/* Ad slots. Each has a fixed size, reserved before the ad loads, so the page
   never shifts. A slot with no ad unit takes no space; add #adslots to the
   page address to see where it sits. */
.adslot { display: flex; flex-direction: column; align-items: center; gap: 4px; align-self: center; max-width: 100%; }
.adslot-label { font-size: 11px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.adslot ins { display: block; width: 300px; height: 250px; }
.adslot-footer ins { width: 320px; height: 100px; }
.adslot-row { display: flex; justify-content: center; padding: 0 0 40px; }
.adslot[data-empty], .adslot-row[data-empty] { display: none; }
.show-adslots .adslot-row[data-empty] { display: flex; }
.show-adslots .adslot[data-empty] { display: flex; justify-content: center; width: 300px; height: 270px; border: 2px dashed #8A6A00; background: #FFF3C4; border-radius: 6px; padding: 12px; }
.show-adslots .adslot[data-empty]::before { content: attr(data-slot); font-family: var(--font-mono); font-size: 13px; text-align: center; color: var(--ink); }
.show-adslots .adslot-footer[data-empty] { width: 320px; height: 120px; }
@media (max-width: 339px) {
  .adslot ins, .show-adslots .adslot[data-empty] { width: 250px; }
  .adslot-footer ins, .show-adslots .adslot-footer[data-empty] { width: 300px; }
  .adslot-footer ins { height: 50px; }
}
@media (min-width: 600px) {
  .adslot-tool ins, .adslot-mid ins { width: 336px; height: 280px; }
  .show-adslots .adslot-tool[data-empty], .show-adslots .adslot-mid[data-empty] { width: 336px; height: 300px; }
}
@media (min-width: 768px) {
  .adslot-footer ins { width: 728px; height: 90px; }
  .show-adslots .adslot-footer[data-empty] { width: 728px; height: 110px; }
}

/* Paid links and sponsor cards: always labelled, never styled like the
   green "official site" button. */
.offer { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.offer-tag { align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: var(--thead); border: 1px solid var(--line-strong); border-radius: 4px; padding: 3px 8px 1px; }
.offer-text { font-size: 15px; }
.offer-links { display: flex; flex-wrap: wrap; gap: 10px; }
.offer-note { font-size: 13px; color: var(--muted); }
.btn-paid { background: var(--white); color: var(--ink); border: 2px solid var(--ink); text-decoration: none; min-height: 52px; padding: 6px 18px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; }
.btn-paid:hover { background: var(--ground); color: var(--ink); }
.btn-paid .btn-label { font-size: 16px; }
.page-aside .offer { padding: 16px; }
.page-aside .btn-paid { width: 100%; }

/* The one contact form on the site (the advertise page). */
.form { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.form .field label { font-weight: 600; font-size: 15px; }
.form .field input, .form .field select, .form .field textarea { border: 1px solid var(--dash); }
.field textarea { border-radius: 8px; padding: 10px 12px; font-size: 16px; font-family: inherit; background: var(--white); color: var(--ink); width: 100%; min-width: 0; min-height: 150px; resize: vertical; line-height: 1.5; }
.form-btn { align-self: flex-start; min-height: 52px; border: 0; border-radius: 8px; background: var(--blue); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 17px; cursor: pointer; padding: 6px 28px; }
.form-btn:hover { background: var(--blue-deep); }
.form-btn[disabled] { background: var(--dash); cursor: not-allowed; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
  .form { padding: 18px; }
  .btn-paid { width: 100%; }
  .adslot-row { padding-bottom: 28px; }
}
@media print {
  .adslot, .adslot-row, .offer, .form { display: none !important; }
}

/* A very long source host must wrap on the narrowest phones. */
@media (max-width: 420px) {
  .src-host { white-space: normal; }
}
