/* Border Delays v60: the 5 November 2026 type and hierarchy pass, from the audit in
 * "Audit Reports/2026-11-05 typography, spacing and hierarchy audit.md" and the owner-approved
 * before/after mockups. Page titles step down so the wait figures lead (44 px at most); the
 * corridor summary takes heading size; reading text is held to 35rem (about 68 characters); the
 * "On this page" list follows the answer; phones get one trip summary button in place of two chip
 * rows; list figures sit in a fixed column, vertically centred, with every dot in one line; a
 * corridor card groups its lines in two; "5 min" keeps its space. v59 stays as shipped.
 */
@font-face{font-family:"Mona Sans";font-style:normal;font-weight:200 900;font-stretch:75% 125%;font-display:swap;src:url(fonts/mona-sans-latin-v4.woff2) format("woff2")}
/* Until Mona Sans arrives, local Arial scaled to its widths and line box, so the swap barely moves a line. */
@font-face{font-family:"Mona Sans fallback";font-weight:200 500;src:local("Arial"),local("ArialMT");size-adjust:104.6%;ascent-override:104.2%;descent-override:30.6%;line-gap-override:0%}
@font-face{font-family:"Mona Sans fallback";font-weight:501 900;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:100.5%;ascent-override:108.5%;descent-override:31.8%;line-gap-override:0%}

/* ===========================================================================
   LAYER 1 — FOUNDATIONS
   =========================================================================== */
:root{
  --page:#ffffff;--panel:#f1f5f2;--panel-2:#e4ebe6;--thumb:#ffffff;
  --ink:#112019;--ink-2:#45524b;--ink-3:#5f6b65;
  --line:#e3e8e5;--line-panel:#dae2dd;--line-2:#c6cfca;
  --brand:#166346;--brand-hi:#0e4f37;--brand-soft:#e0eee6;--on-brand:#ffffff;
  --short:#1d966d;--short-ink:#007e56;--mod:#e59d23;--mod-ink:#a25e00;--long:#da4d3b;--long-ink:#bf4535;--old:#a9b2ad;--old-ink:#5f6a64;
  --focus:#166346;--lift:0 1px 2px #11201912,0 2px 8px -3px #1120191f;--menu-shadow:0 12px 32px -12px #11201940;
  --warn-bg:#fcf3e2;--alert-bg:#fbedea;--alert-ink:#a83a2c;
  /* Charts (public/charts.js): ink is observed reports only, status colour the current claim and the newest
     strip mark only, everything else neutral. The strip's history is the lightest grey that reaches 3:1 on
     the surface it sits on (#8e9792 on the page; the panels set their own below). */
  --vz-surface:var(--page);--vz-ink:#112019;--vz-now:#45524b;--vz-pill:#112019;--vz-pill-ink:#fff;
  --vz-band:rgba(17,32,25,.075);--vz-bz:rgba(17,32,25,.038);--vz-ul:#7d8581;--vz-hist:#8e9792;--vz-hist-panel:#868f8a;
  --vz-bar:#868e8a;--vz-bar-bz:#bfc7c3;--vz-bar-hi:#4f5853;--vz-grid:#e3e8e5;--vz-base:#c6cfca;
  --vz-gap-edge:#848d88;--vz-gap-fill:rgba(17,32,25,.02);--vz-hatch:rgba(17,32,25,.24);--vz-cls-fill:rgba(17,32,25,.03);
  --gutter:20px;--sans:"Mona Sans","Mona Sans fallback",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color-scheme:light;font-family:var(--sans);font-size:16px;line-height:1.5;font-weight:420;color:var(--ink);background:var(--page);
  font-kerning:normal;font-feature-settings:"kern","liga","calt";-webkit-text-size-adjust:100%;text-size-adjust:100%
}
/* Dark is designed, not inverted: a deep green-grey page, the panel one step lighter, the same hairlines, softer status inks. */
:root[data-theme="dark"]{--page:#0d1311;--panel:#151d19;--panel-2:#1f2924;--thumb:#2a352f;--ink:#e6ede8;--ink-2:#aebab3;--ink-3:#8b978f;--line:#202a25;--line-panel:#26312b;--line-2:#36423c;--brand:#7bcba4;--brand-hi:#9edbbe;--brand-soft:#173026;--on-brand:#06170e;--short:#11af7e;--short-ink:#3cc193;--mod:#c7860a;--mod-ink:#e0a43a;--long:#cf4944;--long-ink:#e8736c;--old:#6b7771;--old-ink:#9aa59f;--focus:#7bcba4;--lift:0 1px 2px #00000073,0 2px 8px -3px #0000008c;--menu-shadow:0 12px 32px -12px #000000b3;--warn-bg:#251f12;--alert-bg:#2a1714;--alert-ink:#f08a7e;--vz-ink:#e6ede8;--vz-now:#aebab3;--vz-pill:#e6ede8;--vz-pill-ink:#0d1311;--vz-band:rgba(230,237,232,.085);--vz-bz:rgba(230,237,232,.04);--vz-ul:#7d8681;--vz-hist:#59635d;--vz-hist-panel:#5f6963;--vz-bar:#6c7570;--vz-bar-bz:#3a443f;--vz-bar-hi:#a3aca7;--vz-grid:#222c27;--vz-base:#3a4640;--vz-gap-edge:#6f7974;--vz-gap-fill:rgba(230,237,232,.025);--vz-hatch:rgba(230,237,232,.24);--vz-cls-fill:rgba(230,237,232,.03);color-scheme:dark}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--page:#0d1311;--panel:#151d19;--panel-2:#1f2924;--thumb:#2a352f;--ink:#e6ede8;--ink-2:#aebab3;--ink-3:#8b978f;--line:#202a25;--line-panel:#26312b;--line-2:#36423c;--brand:#7bcba4;--brand-hi:#9edbbe;--brand-soft:#173026;--on-brand:#06170e;--short:#11af7e;--short-ink:#3cc193;--mod:#c7860a;--mod-ink:#e0a43a;--long:#cf4944;--long-ink:#e8736c;--old:#6b7771;--old-ink:#9aa59f;--focus:#7bcba4;--lift:0 1px 2px #00000073,0 2px 8px -3px #0000008c;--menu-shadow:0 12px 32px -12px #000000b3;--warn-bg:#251f12;--alert-bg:#2a1714;--alert-ink:#f08a7e;--vz-ink:#e6ede8;--vz-now:#aebab3;--vz-pill:#e6ede8;--vz-pill-ink:#0d1311;--vz-band:rgba(230,237,232,.085);--vz-bz:rgba(230,237,232,.04);--vz-ul:#7d8681;--vz-hist:#59635d;--vz-hist-panel:#5f6963;--vz-bar:#6c7570;--vz-bar-bz:#3a443f;--vz-bar-hi:#a3aca7;--vz-grid:#222c27;--vz-base:#3a4640;--vz-gap-edge:#6f7974;--vz-gap-fill:rgba(230,237,232,.025);--vz-hatch:rgba(230,237,232,.24);--vz-cls-fill:rgba(230,237,232,.03);color-scheme:dark}}
@media(min-width:760px){:root{--gutter:40px}}
/* Spacing, in 4px steps: inside a unit, label to value, lines in a card, heading to content, component
   to component, a hairline subsection; then one section rhythm (48px on a phone, 72 from 960px) and
   the gap before the footer. Space goes between siblings; no component sets its own section margin. */
:root{--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--section:48px;--foot-gap:64px}
@media(min-width:960px){:root{--section:72px;--foot-gap:96px}}
/* Type, at Mona Sans's normal width: H2 for every section and chart title, H3 for card and panel titles,
   16px prose, 15px controls, 14px meta, 13px captions and labels, 11.5px chart ticks. Weights: 420 to
   read, 560 for values and controls, 620 for headings, 270-340 for the big figures. */
:root{--fs-h2:22px;--fs-h3:17px}
@media(min-width:960px){:root{--fs-h2:26px;--fs-h3:18px}}
/* Status, as custom properties any element with a level can read: --st is the mark, --st-ink the word. */
[data-level=good],[data-level=nodelay]{--st:var(--short);--st-ink:var(--short-ink)}
[data-level=moderate]{--st:var(--mod);--st-ink:var(--mod-ink)}
[data-level=heavy]{--st:var(--long);--st-ink:var(--long-ink)}
[data-level=stale],[data-state=stale]{--st:transparent;--st-ink:var(--old-ink);--st-ring:var(--old-ink)}
[data-level=closed]{--st:var(--old-ink);--st-ink:var(--old-ink)}

*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--page);color:var(--ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0}
ul{list-style:none}
h1,h2,h3,h4{font-weight:620;text-wrap:balance}
h1{font-size:clamp(32px,8.4vw,44px);line-height:1.06;letter-spacing:-.03em;font-weight:600}
h2{font-size:var(--fs-h2);line-height:1.22;letter-spacing:-.022em}
h3{font-size:var(--fs-h3);line-height:1.3;letter-spacing:-.012em;font-weight:620}
h4{font-size:15px;line-height:1.35;font-weight:620}
p,li,dd{text-wrap:pretty}
strong,b{font-weight:620}
small,.small{font-size:14px}
a{color:var(--brand);text-decoration-thickness:1px;text-underline-offset:.2em}
a:hover{text-decoration-thickness:2px}
img{max-width:100%;height:auto}
/* Icons. The charts are SVG too, sized by their own attributes, so they are left out (with no specificity added). */
svg:where(:not(.vz,.vz-strip,.vz svg)){width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:none}
button,input,select,textarea{font:inherit;color:inherit}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
button,select,summary,label{cursor:pointer}
button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border:1px solid var(--line-2);border-radius:999px;background:transparent;color:var(--ink);font-size:15px;font-weight:560;line-height:1.2;white-space:nowrap}
@media(hover:hover){button:hover{border-color:var(--ink-3)}}
button:disabled{cursor:default;opacity:.5}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:6px}
[hidden]{display:none!important}
.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:fixed;top:-100px;left:12px;z-index:100;padding:10px 14px;border-radius:12px;background:var(--brand);color:var(--on-brand);font-weight:600;text-decoration:none}
.skip-link:focus{top:12px}
.shell{width:min(1160px,100% - 2*var(--gutter));margin-inline:auto}
main{display:block}
.button-primary{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
@media(hover:hover){.button-primary:hover{background:var(--brand-hi);border-color:var(--brand-hi)}}
input[type=search],input[type=text],input[type=email],select{min-height:44px;max-width:100%;padding:0 14px;border:1px solid var(--line-2);border-radius:12px;background:var(--page);color:var(--ink);font-size:16px}
textarea{max-width:100%}
input::placeholder{color:var(--ink-3);opacity:1}
input:focus-visible,select:focus-visible{outline:none;border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-soft)}

/* ===========================================================================
   LAYER 2 — PRIMITIVES
   =========================================================================== */

/* ---- Masthead: the mark and name, the borders, a search field, the language pill ---- */
.masthead{position:relative}
.lang-bar{display:flex;align-items:center;gap:8px;min-height:64px;position:relative;flex-wrap:wrap}
.site-mark{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-right:auto;color:var(--ink);text-decoration:none;font-size:17px;font-weight:650;letter-spacing:-.018em;white-space:nowrap}
.site-mark svg{width:28px;height:28px;stroke:none}
.mark-panel{fill:#166346}
.mark-lane{fill:none;stroke:#ffffff;stroke-width:5.6;stroke-linecap:round;stroke-linejoin:round}
.site-nav{display:none}
.site-nav a{position:relative;display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border-radius:10px;color:var(--ink-2);text-decoration:none;font-size:15px;font-weight:560;white-space:nowrap}
.site-nav a[aria-current]{color:var(--ink)}
@media(hover:hover){.site-nav a:hover{background:var(--panel);color:var(--ink)}}
.lang-bar .site-search{display:none;position:relative;align-items:center}
.lang-bar .site-search input{width:100%;height:40px;min-height:40px;padding:0 14px 0 40px;border:0;border-radius:12px;background:var(--panel);font-size:15px}
.lang-bar .site-search input:focus-visible{box-shadow:0 0 0 2px var(--brand)}
.lang-bar .site-search button{position:absolute;left:4px;top:50%;transform:translateY(-50%);width:32px;min-height:32px;height:32px;padding:0;border:0;border-radius:8px;color:var(--ink-3)}
.lang-bar .site-search button svg{width:18px;height:18px}
.mobile-search-trigger{display:inline-flex;width:44px;min-height:44px;padding:0;border:0;border-radius:12px;color:var(--ink-2)}
.mobile-search-trigger span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mobile-search-trigger[aria-expanded=true]{background:var(--panel);color:var(--ink)}
.lang-bar.search-open .site-search{display:flex;order:9;flex:1 1 100%;margin:4px 0 12px}
.lang-bar.search-open .site-search input{height:48px;font-size:16px}
.language{position:relative}
.language>summary{display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0 10px 0 13px;border:1px solid var(--line-2);border-radius:999px;color:var(--ink-2);font-size:14px;font-weight:560;list-style:none;white-space:nowrap}
.language>summary::-webkit-details-marker{display:none}
.language>summary::after,.disclosure-chevron{content:"";width:14px;height:14px;background:currentColor;-webkit-mask:var(--chev) center/contain no-repeat;mask:var(--chev) center/contain no-repeat;flex:none}
.language[open]>summary{background:var(--panel);color:var(--ink)}
.language-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:20;display:grid;min-width:180px;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--page);box-shadow:var(--menu-shadow)}
.language-menu a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:9px;color:var(--ink);text-decoration:none;font-size:15px}
.language-menu a[aria-current]{font-weight:620;background:var(--panel)}
@media(hover:hover){.language-menu a:hover{background:var(--panel)}}
:root{--chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");--info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.6'/%3E%3Cpath d='M12 11v5.4M12 7.7v.1'/%3E%3C/svg%3E");--mark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%23166346'/%3E%3Cpath d='M22 47V19M13 28l9-9 9 9M42 17v28M33 36l9 9 9-9' fill='none' stroke='%23fff' stroke-width='5.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
/* At 320px the mark, the search button and "Français" or "Español" must share one row: the
   name takes the narrower width axis, and the pill and the gaps tighten. */
@media(max-width:359px){
  .lang-bar{gap:4px}
  .site-mark{gap:6px;font-size:16px}
  .site-mark svg{width:24px;height:24px}
  .language>summary{gap:2px;padding:0 6px 0 9px;font-size:13px}
}
/* On a phone the menu hangs from the bar's right edge, so it stays on the screen even when the
   pill has wrapped to a row of its own. */
@media(max-width:759px){
  .language{position:static}
  .language-menu{max-width:calc(100vw - 2*var(--gutter))}
}
@media(min-width:960px){
  .lang-bar{min-height:80px;gap:12px;flex-wrap:nowrap}
  .site-mark{margin-right:0}
  .site-nav{display:flex;gap:2px;margin-left:20px;margin-right:auto}
  .lang-bar .site-search{display:flex;width:280px}
  .mobile-search-trigger{display:none}
}

/* ---- The way back, and the page head ---- */
.parent-return{position:relative;display:inline-flex;align-items:center;gap:4px;min-height:44px;margin:8px 0 0 -8px;padding:0 10px 0 6px;border-radius:10px;color:var(--ink-2);text-decoration:none;font-size:15px;font-weight:560}
.parent-return>span[aria-hidden]{font-size:22px;line-height:1;margin-top:-2px}
@media(hover:hover){.parent-return:hover{background:var(--panel);color:var(--ink)}}
.crossing-breadcrumb,.directory-breadcrumb{margin:8px 0 0 -8px}
.crossing-breadcrumb ol{display:flex;flex-wrap:wrap;gap:0 4px;list-style:none;margin:0;padding:0}
:is(.crossing-breadcrumb li,.directory-breadcrumb)[aria-current],.directory-breadcrumb [aria-current]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.crossing-breadcrumb li:not(:nth-last-child(2)):not([aria-current]){display:none}
:is(.crossing-breadcrumb,.directory-breadcrumb) a{position:relative;display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 10px 0 6px;border-radius:10px;color:var(--ink-2);text-decoration:none;font-size:15px;font-weight:560}
:is(.crossing-breadcrumb,.directory-breadcrumb) a::before{content:"‹";content:"‹"/"";font-size:22px;line-height:1;margin-top:-2px}
@media(hover:hover){:is(.crossing-breadcrumb,.directory-breadcrumb) a:hover{background:var(--panel);color:var(--ink)}}
.page-title{display:grid;gap:18px;margin:12px 0 0}
.page-title h1{display:grid;gap:12px}
.page-title .subject{display:block;font-size:17px;line-height:1.5;font-weight:420;letter-spacing:0;color:var(--ink-2);text-wrap:pretty}
.crossing-page .page-title .subject{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.crossing-route-identity{order:2;display:flex;flex-wrap:wrap;align-items:center;gap:0 .3em;margin-top:-8px;font-size:17px;color:var(--ink-2)}
.crossing-route-identity svg{display:none}
.crossing-route-identity .visually-hidden{position:static!important;width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal}
.page-title h1{order:1}
.crossings-actions{order:3;display:flex;flex-wrap:wrap;gap:8px}
.page-title>.keep{order:3;justify-self:start}
.page-title>p:not(.crossing-route-identity){order:2;max-width:38em;font-size:17px;color:var(--ink-2)}
@media(min-width:760px){
  .page-title{grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:32px}
  .page-title h1,.crossing-route-identity,.page-title>p{grid-column:1}
  .crossings-actions,.page-title>.keep{grid-column:2;grid-row:1/span 2;align-self:end;justify-content:flex-end;justify-self:end}
}
@media(min-width:960px){.page-title .subject,.crossing-route-identity,.page-title>p:not(.crossing-route-identity){font-size:19px}}
.keep{gap:8px;min-width:44px;padding:0 16px 0 13px}
.keep-star{width:18px;height:18px}
.keep[aria-pressed=true]{background:var(--brand-soft);border-color:transparent;color:var(--brand)}
.keep[aria-pressed=true] .keep-star{fill:currentColor}
.page-state{display:inline-flex;align-items:center;gap:8px;margin:16px 0 0;font-size:15px;font-weight:560;color:var(--ink-2)}
.page-state::before{content:"";width:10px;height:2px;border-radius:2px;background:var(--old-ink)}

/* ---- Trip controls: a segmented direction switch, then lane chips ---- */
.trip-controls{margin-top:28px}
.control-grid{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.control-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.direction-selector{display:inline-flex;gap:2px;padding:3px;border-radius:14px;background:var(--panel)}
.direction-selector button{min-height:44px;padding:0 16px;border:0;border-radius:11px;background:transparent;color:var(--ink-2);font-size:14px;font-weight:600}
.direction-selector button[aria-pressed=true]{background:var(--thumb);color:var(--ink);box-shadow:var(--lift)}
.direction-secondary{display:none}
.travel-selector,.mode-selector{display:flex;flex-wrap:wrap;gap:8px}
.travel-selector button,.mode-selector button{min-height:40px;padding:0 15px;border:1px solid var(--line-2);font-size:14px;font-weight:560}
:is(.travel-selector,.mode-selector) button[aria-pressed=true]{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
:is(.travel-selector,.mode-selector) button:disabled{opacity:1;color:var(--ink-3);border-style:dashed}
.travel-choice,.lane-choice{display:flex;align-items:center;gap:8px}
.lane-single{font-size:14px;font-weight:560;color:var(--ink-2)}
.mobile-trip-summary,.trip-done{display:none}
/* Phones: the chosen trip reads as one button ("Passenger · Standard  Change"); its two chip rows open
   under it, with Done. Without script the rows stay open (.is-enhanced is never set). */
@media(max-width:759px){
  .trip-controls.is-enhanced:not(.is-editing) :is(.travel-choice,.lane-choice){display:none}
  .trip-controls.is-enhanced:not(.is-editing) .mobile-trip-summary{position:relative;display:inline-flex;align-items:center;justify-self:start;gap:10px;min-height:44px;padding:0 6px 0 16px;border:1px solid var(--line-2);border-radius:999px;background:var(--page);font-size:15px;font-weight:560;color:var(--ink)}
  .mobile-trip-summary button{min-height:44px;padding:0 10px;border:0;background:none;font:inherit;font-size:14px;color:var(--brand)}
  .mobile-trip-summary button::after{content:"";position:absolute;inset:0;border-radius:inherit}
  .mobile-trip-summary button:focus-visible{outline:none}
  .mobile-trip-summary:has(button:focus-visible){outline:2px solid var(--focus);outline-offset:2px}
  .trip-controls.is-enhanced.is-editing .trip-done{display:inline-flex;margin-top:12px}
}
.mode-note,.mode-availability{margin-top:12px;max-width:62ch;font-size:13px;line-height:1.45;color:var(--ink-3)}
.mode-availability{color:var(--ink-2)}
@media(max-width:759px){
  .direction-choice{flex:1 1 100%}
  .direction-selector{display:flex}
  .direction-selector button{flex:1 1 0;min-width:0;padding:0 10px}
  .travel-choice,.lane-choice{flex:1 1 100%}
}
@media(min-width:760px){.lane-choice{padding-left:16px;border-left:1px solid var(--line)}}
/* A phone's first screen holds the answer: a guide's Save sits beside the two towns under its name
   instead of on a row of its own, and the passenger lanes' note (reference copy) gives way; the
   commercial and on-foot notes, which explain what the board will not show, stay. */
@media(max-width:759px){
  .trip-controls{margin-top:20px}
  .control-grid{row-gap:10px}
  .crossing-page .page-title{margin-top:8px}
  .crossing-page .crossings{margin-top:4px}
  .mode-note[data-travel=passenger]{display:none}
  .page-title:has(>.crossing-route-identity){grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:12px}
  .page-title:has(>.crossing-route-identity)>h1{grid-column:1/-1;grid-row:1}
  .page-title>.crossing-route-identity{grid-column:1;grid-row:2;align-self:center;margin-top:0}
  .page-title:has(>.crossing-route-identity)>:is(.crossings-actions,.keep){grid-column:2;grid-row:2;align-self:center;justify-self:end}
}
.console-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin-top:14px}
/* With nothing to say (a guide hides its board clock) it takes no room either. */
.console-foot:not(:has(>:not([hidden]))){display:none}
.board-clock,.hub .source-status,.corridor-list-heading .source-status{display:inline-flex;align-items:center;gap:9px;font-size:13px;line-height:1.4;color:var(--ink-3)}
.board-clock::before,.hub .source-status::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.board-clock[data-freshness=stale]{color:var(--old-ink)}
.source-status[data-state=saved]{color:var(--mod-ink)}
.board-clock[data-freshness=stale]::before{background:transparent;box-shadow:inset 0 0 0 1.6px var(--old-ink)}

/* ---- Status: a dot and a word. The number itself stays in ink. ---- */
.severity,.corridor-level,.scale-item,.pair-status{display:inline-flex;align-items:center;gap:7px;font-size:13px;line-height:1.2;font-weight:620;color:var(--st-ink,var(--ink-2));white-space:nowrap}
.severity::before,.corridor-level::before,.scale-item::before,.pair-status::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--st,var(--old));box-shadow:inset 0 0 0 1.6px var(--st-ring,transparent)}
.wait-scale{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:14px}
.wait-scale .scale-item{font-weight:560;color:var(--ink-2)}

/* ---- Figures ---- */
.wait-display,.corridor-wait,.pair-value{display:inline-flex;align-items:baseline;white-space:nowrap;font-stretch:100%;letter-spacing:-.025em;line-height:1;color:var(--ink);font-weight:450}
.wait-unit,.corridor-wait-unit,.pair-unit{margin-left:max(4px,.24em);font-size:max(13px,.4em);font-weight:560;letter-spacing:0;font-stretch:100%;color:var(--ink-2)}
.corridor-wait{font-size:27px}
.corridor-wait:has(>.corridor-wait-unit[hidden]){font-size:17px;font-weight:560;letter-spacing:-.01em;font-stretch:100%;white-space:normal;text-wrap:balance}
.corridor-wait[data-freshness=stale],.corridor-wait[data-level=stale]{color:var(--ink-3)}
.corridor-wait[data-level=neutral]{color:var(--ink-3)}

/* ---- Disclosures ---- */
details>summary{list-style:none}
details>summary::-webkit-details-marker{display:none}
:is(.feed-details,.other-facilities,.history-reports,.alert-unavailable,.directory-index,.method-details)>summary{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--brand);font-size:15px;font-weight:560}
:is(.feed-details,.other-facilities,.history-reports,.alert-unavailable,.directory-index,.method-details)>summary::after{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:var(--chev) center/contain no-repeat;mask:var(--chev) center/contain no-repeat}
:is(.feed-details,.other-facilities,.history-reports,.alert-unavailable,.directory-index,.method-details)[open]>summary::after{transform:rotate(180deg)}
@media(prefers-reduced-motion:no-preference){details>summary::after{transition:transform .2s ease}}

/* ---- Notices: an info line, an amber note, a red alert ---- */
.notice,.agency-notice,.travel-alerts,.path-notice,.error-panel,.unreported-panel,.alert-recovery,.noscript-note{margin:20px 0 0;padding:16px 20px;border-radius:16px;background:var(--panel);color:var(--ink);font-size:15px;line-height:1.5;max-width:72ch}
.agency-notice,.travel-alerts{background:var(--warn-bg)}
/* One soft panel per page holds the answer: an information notice is outlined, not filled. Warnings
   keep their amber and alerts their red. */
:is(.notice,.path-notice,.unreported-panel,.alert-recovery,.noscript-note):not([data-tone="alert"]){padding:15px 19px;border:1px solid var(--line-2);background:transparent}
.travel-alerts h2,.error-panel h2,.unreported-panel h2,.path-notice h2{font-size:var(--fs-h3);line-height:1.35;letter-spacing:-.012em;margin-bottom:4px}
.travel-alerts ul{display:grid;gap:6px}
[data-tone="alert"],.path-notice[data-tone="alert"],.error-panel{background:var(--alert-bg);color:var(--ink)}
.path-notice[data-tone="alert"]{background:var(--alert-bg);color:var(--ink);border-radius:16px}
:is([data-tone="alert"],.error-panel) h2{color:var(--alert-ink)}
.path-notice[data-tone="alert"] .path-notice-body{font-weight:600;color:var(--alert-ink)}
.path-notice{display:grid;gap:4px}
.path-notice-meta{font-size:14px;color:var(--ink-2)}
.path-notice-link{position:relative;font-weight:560;font-size:15px}
.error-panel button{margin-top:14px}
.crossing-notice{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
/* A clock is one unbreakable unit (formatClock), and Spanish names its zone by place, which can be wider
   than a phone: as a last resort such a run may break, rather than push the page sideways. */
.primary-crossings,.crossing-notice,.card-note{overflow-wrap:anywhere}
/* A crossing's name keeps its words whole: with "anywhere" its column could shrink to one letter. */
.card-header h3,.pair-direction{overflow-wrap:break-word}
.crossing-notice li,.notice-line{position:relative;padding-left:28px;font-size:14px;line-height:1.5;color:var(--ink-2)}
.crossing-notice li::before,.notice-line::before{content:"";position:absolute;left:0;top:1px;width:18px;height:18px;background:var(--ink-3);-webkit-mask:var(--info) center/contain no-repeat;mask:var(--info) center/contain no-repeat}
.card-note{font-size:14px;line-height:1.5;color:var(--ink-2);max-width:62ch}
.crossing-card:is([data-state=closed],[data-state=reported-closed]) .card-note{color:var(--alert-ink)}
.route-link-note{font-size:13px;color:var(--ink-3)}

/* ---- Tables: hairlines; every comparison fits a phone without sideways scrolling ---- */
table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45}
caption{caption-side:top;text-align:left;padding:0 0 10px;font-size:13px;color:var(--ink-3)}
th,td{padding:14px 18px 14px 0;text-align:left;vertical-align:top;border-top:1px solid var(--line)}
thead th{padding-top:0;border-top:0;font-size:14px;font-weight:620;color:var(--ink)}
tbody th{font-weight:560;color:var(--ink-2)}
th:last-child,td:last-child{padding-right:0}
.compare-wrap,.table-wrap,.toll-table-wrap{overflow-x:auto;max-width:100%}
.compare-table tbody th{width:22%}
.cell-label{display:none}
.toll-note{color:var(--ink-2)}
.source-note{margin-top:14px;font-size:13px;line-height:1.5;color:var(--ink-3)}
.source-note a{color:var(--ink-2)}
/* Below 760px a comparison, toll or figures table is a list: each row's name, then one line per
   value with its column's name beside it. facts:sync copies that name from the table's own
   header row onto every value cell (data-label, scripts/table-labels.mjs), so French and Spanish
   tables carry their own words. The name floats in the cell's left padding, so a long name wraps
   in its own column and the value's lines stay together beside it. */
@media(max-width:759px){
  :is(.compare-table,.toll-table,.stat-table){--label-w:112px;display:block}
  :is(.compare-table,.toll-table,.stat-table) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  :is(.compare-table,.toll-table,.stat-table) :is(tbody,tr){display:block}
  :is(.compare-table,.toll-table,.stat-table) tbody tr{padding:14px 0 10px;border-top:1px solid var(--line)}
  :is(.compare-table,.toll-table,.stat-table) tbody tr:last-child{border-bottom:1px solid var(--line)}
  :is(.compare-table,.toll-table,.stat-table) :is(th,td){display:block;width:auto;padding:0;border:0}
  :is(.compare-table,.toll-table,.stat-table) tbody th{width:auto;margin:0 0 6px;font-size:15px;line-height:1.35;font-weight:620;color:var(--ink)}
  :is(.compare-table,.toll-table,.stat-table) td{padding:4px 0;font-size:15px;line-height:1.45}
  :is(.compare-table,.toll-table,.stat-table) td[data-label]{display:flow-root;padding-left:calc(var(--label-w) + 12px)}
  :is(.compare-table,.toll-table,.stat-table) td[data-label]::before{content:attr(data-label);float:left;width:var(--label-w);margin-left:calc(-1*var(--label-w) - 12px);font-size:13px;line-height:1.67;font-weight:450;color:var(--ink-3);text-wrap:balance}
}
@media(max-width:359px){:is(.compare-table,.toll-table,.stat-table){--label-w:96px}}

/* ---- Lists of key and value ---- */
.fact-list,.quick-facts,.crossing-facts{display:grid}
.fact-list>div,.quick-facts>div,.crossing-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-top:1px solid var(--line)}
.fact-list dt,.quick-facts dt,.crossing-facts dt{flex:0 1 44%;font-size:15px;color:var(--ink-2)}
.fact-list dd,.quick-facts dd,.crossing-facts dd{flex:1 1 56%;font-size:15px;font-weight:560;text-align:right;color:var(--ink)}
@media(max-width:639px){
  .fact-list>div,.quick-facts>div,.crossing-facts>div{flex-direction:column;gap:3px}
  .fact-list dd,.quick-facts dd,.crossing-facts dd{text-align:left;font-weight:560}
  .fact-list dt,.quick-facts dt,.crossing-facts dt{font-size:14px}
}

/* ---- Quick answers: questions divided by hairlines, answers always visible ---- */
.quick-answers h2{margin-bottom:8px}
.quick-answers h3{padding-top:18px;margin-top:18px;border-top:1px solid var(--line);font-size:var(--fs-h3);line-height:1.35;letter-spacing:-.012em}
.quick-answers h2+h3{margin-top:0}
.quick-answers h3+p{margin-top:8px}
.quick-answers p{line-height:1.6;max-width:64ch}

/* ---- Long-form text ---- */
.crossing-prose,.corridor-prose{color:var(--ink)}
.crossing-prose p,.corridor-prose p{line-height:1.6;max-width:35rem}
.crossing-prose>section,.guide-content>section,.corridor-prose>section,.corridor-prose>details,main>.corridor-compare{margin-top:var(--section)}
.crossing-prose section>h2,.corridor-prose section>h2,.guide-content section>h2,.corridor-compare>h2{margin-bottom:var(--s3)}
.crossing-prose section h3,.guide-content section h3{margin:28px 0 10px}
.crossing-prose p+p,.guide-content p+p,.corridor-prose p+p,.corridor-compare p+p{margin-top:var(--s4)}
/* A table never touches the sentence that introduces it, or the one after it. */
:is(.crossing-prose,.corridor-prose,.corridor-compare) :is(p,ul,ol,h2,h3)+:is(.table-wrap,.compare-wrap,.toll-table-wrap,table),
:is(.crossing-prose,.corridor-prose,.corridor-compare) :is(.table-wrap,.compare-wrap,.toll-table-wrap,table)+:is(p,ul,ol){margin-top:var(--s4)}
.crossing-prose ul:not([class]),.crossing-prose ol,.corridor-prose ul:not([class]){display:grid;gap:8px;margin:12px 0 0;padding-left:20px;list-style:disc;max-width:35rem}
.crossing-prose ol{list-style:decimal}
.crossing-prose li::marker{color:var(--ink-3)}
.guide-photo{margin:40px 0 0}
.guide-photo img{display:block;width:100%;border-radius:20px}
.guide-photo figcaption{margin-top:10px;font-size:13px;color:var(--ink-3)}


/* ---- Footer: brand, pages and contact on top; the disclaimer, sources and copyright as a quiet bar beneath ---- */
.footer{margin-top:var(--foot-gap);padding:var(--s6) 0 40px;border-top:1px solid var(--line);font-size:14px;line-height:1.55;color:var(--ink-2);display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.footer .sources{display:contents}
.footer a{color:var(--ink-2);text-decoration:none}
@media(hover:hover){.footer a:hover{color:var(--ink);text-decoration:underline}}
.footer-brand .built-by{margin:4px 0 0;display:flex;align-items:center;gap:3px;font-size:13px;color:var(--ink-2)}
.footer-brand .built-by a{min-height:44px;color:var(--ink-2)}
.footer-brand .built-by a::before{content:none}
@media(hover:hover){.footer-brand .built-by a:hover{color:var(--ink)}}
.footer .built-by svg{width:138px;height:24px;stroke:none}
.footer-brand a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-size:17px;font-weight:650;letter-spacing:-.018em}
.footer-brand a::before{content:"";width:28px;height:28px;margin-right:10px;background:var(--mark) center/contain no-repeat}
.footer-brand-us{margin-left:.26em}
.footer-connect{display:contents}
.footer-resources p,.footer-connect p,.footer-licensing p{margin:0}
.trust-links{display:block;columns:2;gap:10px 20px;font-size:0}
.trust-links a{position:relative;display:inline-block;width:100%;font-size:14px;line-height:20px}
.footer .trust-links a{padding-block:19px;margin-block:-13px}   /* 32px from link to link; a wrapped label keeps its lines together */
.footer-brand{order:1}
.trust-links{order:2}
.contact-links{order:3}
.footer-resources{order:4}
.footer-assurance{order:5;margin-top:12px;padding-top:20px;border-top:1px solid var(--line)}
.footer-licensing{order:6;display:grid;gap:4px;margin-top:-14px}
.footer-assurance p,.footer-licensing p{font-size:12.5px;line-height:1.55;font-weight:400;color:var(--ink-3)}
.footer-licensing strong{font-weight:560}
.footer-licensing a{color:var(--ink-3)}
@media(min-width:960px){
  .footer{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 1fr auto auto;column-gap:56px;row-gap:12px}
  .footer-brand{grid-column:1;grid-row:1/span 2}
  .trust-links{grid-column:2;grid-row:1/span 2;columns:1;margin-top:4px}
  .contact-links{grid-column:3;grid-row:1;padding-top:10px}
  .footer-resources{grid-column:3;grid-row:2;align-self:start}
  .footer-assurance{grid-column:1/-1;grid-row:3;margin-top:28px}
  .footer-licensing{grid-column:1/-1;grid-row:4}
}
/* Quiet links keep their look and grow a 44px target. A link inside a line takes vertical padding,
   which its line box ignores; a link that is a block or a flex item takes the same negative margin,
   so nothing moves. The chips keep their pills and an invisible margin of 2-4px. */
:is(.compare-table,.toll-table,.report-table,.fact-list,.source-note,.vz-src,.facts-issuers,.footer-licensing,.contact-links,.correction-link,.card-note,.path-marker,.travel-alerts,.trip-facts>p,.crossing-prose li,.directory-section>h2) a,.card-title-link{padding-block:14px}
:is(.trust-links,.guide-jump,.directory-index-list) a,.vz-row-name{padding-block:13px;margin-block:-13px}
/* A short word in a row with room around it ("About", "Tolls", "Tecate", "Naco") also grows sideways,
   into that room: the rows' gaps are 18-20px, so two targets never meet. Links inside a line of text
   ("Facts on this page: CBP · CBSA") keep their width, so a tap never lands on the neighbour. */
:is(.trust-links,.guide-jump,.directory-index-list) a,.vz-row-name,.card-title-link{padding-inline:8px;margin-inline:-8px}
:is(.guide-content,.corridor-compare) details:not([class])>summary{padding-block:10px;margin-block:-10px}
.directory-entry a,.crossing-guide-link,.path-notice-link,.all-crossings-link{padding-block:11px;margin-block:-11px}
.vz-tbl summary{padding-block:12px;margin-block:-12px}
:is(.search-examples button,[data-browse-crossings] a,.travel-selector button,.mode-selector button,.direction-selector button){position:relative}
:is(.search-examples button)::after{content:"";position:absolute;inset:-4px -4px}
:is([data-browse-crossings] a,.travel-selector button,.mode-selector button)::after{content:"";position:absolute;inset:-2px -4px}

/* ===========================================================================
   LAYER 3 — PAGE KINDS
   =========================================================================== */

/* ---- Home: search first, your crossings beside it, then both borders ---- */
.home-intro{padding-top:32px;max-width:640px}
.home-intro h1{font-size:clamp(40px,10vw,64px)}
.home-intro>p{margin-top:14px;font-size:17px;line-height:1.5;color:var(--ink-2);max-width:33em}
.home-intro .site-search{position:relative;display:flex;align-items:center;margin-top:26px;max-width:560px}
.home-intro .site-search input{width:100%;height:56px;padding:0 18px 0 52px;border:1px solid var(--line-2);border-radius:16px;font-size:17px}
.home-intro .site-search button{position:absolute;left:8px;top:50%;transform:translateY(-50%);width:40px;min-height:40px;height:40px;padding:0;border:0;border-radius:12px;color:var(--ink-3)}
.search-examples{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.search-examples>span{flex-basis:100%;font-size:14px;color:var(--ink-3)}
.search-examples button{min-height:36px;padding:0 14px;border:1px solid var(--line-2);font-size:14px;font-weight:560}
#home-locate::before{content:"";width:15px;height:15px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M19.5 4.5 4.8 10.6l6.4 2.2 2.2 6.4z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M19.5 4.5 4.8 10.6l6.4 2.2 2.2 6.4z'/%3E%3C/svg%3E") center/contain no-repeat}
#home-locate-status{margin-top:12px;font-size:14px;color:var(--ink-2)}
.home #search-trip{margin-top:24px}
.crossing-search-results{margin-top:28px}
#crossing-search-count{font-size:14px;color:var(--ink-3);margin-bottom:8px}
.crossing-search-list{display:grid}
.crossing-search-list>li{border-top:1px solid var(--line)}
.crossing-search-list>li:last-child{border-bottom:1px solid var(--line)}
.crossing-search-list a{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;min-height:56px;padding:12px 0;color:var(--ink);text-decoration:none}
.crossing-search-name,.search-compare{font-size:16px;font-weight:620;letter-spacing:-.012em}
.crossing-search-corridor,.search-trip{grid-column:1;font-size:14px;color:var(--ink-2)}
.search-wait{grid-column:2;grid-row:1/span 3;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.search-age{font-size:13px;color:var(--ink-3)}
.crossing-search-empty{padding:16px 0;color:var(--ink-2)}
@media(hover:hover){.crossing-search-list a:hover .crossing-search-name,.crossing-search-list a:hover.search-compare{text-decoration:underline}}
/* Your crossings: the only raised panel on the home page */
.mine,.near{margin-top:var(--section)}
.mine-h,.near-h{margin-bottom:14px}
.bento{display:grid;padding:4px 20px;border-radius:28px;background:var(--panel)}
.tile{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;padding:16px 0}
.tile+.tile{border-top:1px solid var(--line-panel)}
.tile-link{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;color:var(--ink);text-decoration:none}
.tile-name{grid-column:1;font-size:17px;font-weight:620;letter-spacing:-.014em;line-height:1.25}
.tile-where,.tile-trip{grid-column:1;font-size:14px;color:var(--ink-2)}
.tile-trip{color:var(--ink-3)}
.tile-read{display:contents}
.tile-read>.corridor-wait,.tile-read>.tile-quiet{grid-column:2;grid-row:1/span 2;justify-self:end;align-self:start}
.tile-read>.corridor-level{grid-column:2;grid-row:3;justify-self:end}
.tile-strip{grid-column:1;margin-top:10px}
.tile-age{grid-column:1/-1;margin-top:8px;font-size:13px;color:var(--ink-3)}
.tile-quiet{font-size:13px;color:var(--ink-3)}
.tile-drop{width:44px;min-width:44px;min-height:44px;margin:-8px -12px 0 4px;padding:0;border:0;color:var(--ink-3)}
.tile-drop svg{width:16px;height:16px}
@media(hover:hover){.tile-link:hover .tile-name{text-decoration:underline}}
.bento-dismiss{min-width:44px;min-height:44px}
/* Live waits: both borders, side by side from 960px */
.browse-heading{margin-top:var(--section)}
.wings{display:grid;gap:48px;margin-top:20px}
.wing-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px}
.wing-title{font-size:var(--fs-h3);line-height:1.3;letter-spacing:-.012em}
.wing-order{font-size:13px;color:var(--ink-3)}
.wing-pair{display:inline-flex;align-items:center;gap:6px}
.wing-arrow{width:22px;height:14px;color:var(--ink-3);stroke-width:7}
.wing-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:6px 0 10px;border-bottom:1px solid var(--line-2);font-size:13px;color:var(--ink-3)}
.wing-meta .wing-age{display:none}
.wing-meta .wing-age[data-shared]{display:block}
.wing-age.is-stale{color:var(--old-ink)}
.wing-rows{display:grid}
.wrow{border-bottom:1px solid var(--line)}
/* A row: the corridor and its fastest crossing, the 12-hour strip, the wait. The wait's column has one
   width on every row, so the strips line up down the list; a row's own age sits under its name. */
/* A list row: the corridor on the left; its figure and status word as one block in a fixed column,
   vertically centred in the row, every dot in one vertical line (owner's choice, 5 November 2026). */
.wrow-link{position:relative;display:flex;align-items:center;gap:16px;min-height:64px;padding:14px 0;color:var(--ink);text-decoration:none}
.wrow-main{flex:1;min-width:0;display:grid;gap:3px}
.wrow-id{display:grid;gap:3px;min-width:0}
.wrow-name{font-size:16px;font-weight:620;letter-spacing:-.012em;line-height:1.3}
.wrow-region,.wrow-best{font-size:14px;line-height:1.35;color:var(--ink-2)}
.wrow-strip:empty{display:none}
.wrow-strip .vz-strip{display:block}
.wrow-result{flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:6.5rem}
.wrow-result>.corridor-wait::before{content:"";flex:none;width:8px;height:8px;margin-right:7px;border-radius:50%;align-self:center;background:var(--st,var(--old));box-shadow:inset 0 0 0 1.6px var(--st-ring,transparent)}
.wrow-result>.corridor-level{padding-left:15px}
.wrow-result>.corridor-level::before{display:none}
.home-report-age{font-size:13px;color:var(--ink-3)}
@media(min-width:640px){.wrow-result{width:8.5rem}}
/* A word in the figure's place: "No delay" with its dot, or "No recent reports" in grey. */
.corridor-wait[data-level=good]:has(>.corridor-wait-unit[hidden])::before{content:"";flex:none;width:8px;height:8px;margin-right:7px;border-radius:50%;background:var(--short);align-self:center}
.corridor-wait:is([data-level=stale],[data-level=neutral]):has(>.corridor-wait-unit[hidden]){font-size:14px;font-weight:560;color:var(--ink-3)}
/* The strip sits under the name, so a long corridor name keeps its width. */
.wrow-strip{margin-top:2px}
.home-report-age[data-shared]{display:none}
@media(hover:hover){.wrow-link:hover .wrow-name{text-decoration:underline}}
.wing-all{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font-size:15px;font-weight:560;text-decoration:none}
.wing-all-arrow{display:none}
@media(min-width:960px){.wings{grid-template-columns:1fr 1fr;gap:64px}}
/* Popular crossings: a quiet four-column index */
.popular{margin-top:var(--section)}
.popular .crossing-search-list{grid-template-columns:1fr 1fr;column-gap:20px;margin-top:14px}
.popular .crossing-search-list>li:last-child{border-bottom:0}
.popular .crossing-search-list a{grid-template-columns:1fr;min-height:0;padding:13px 0}
.popular .crossing-search-name{font-size:15px;font-weight:600}
.popular .crossing-search-corridor{font-size:13px;color:var(--ink-3)}
@media(max-width:639px){.popular .crossing-search-list{grid-template-columns:1fr 1fr;column-gap:16px}}
@media(min-width:960px){.popular .crossing-search-list{grid-template-columns:repeat(4,1fr)}}
/* The story and the coverage note close the page */
.home .crossing-prose{display:grid;gap:14px;margin-top:var(--section);padding-top:var(--s5);border-top:1px solid var(--line)}
.home .crossing-prose p{font-size:17px;color:var(--ink-2)}
.closing{margin-top:var(--s6)}
.coverage-note{font-size:13px;line-height:1.5;color:var(--ink-3);max-width:62ch}
@media(min-width:960px){
  .home main{display:grid;grid-template-columns:minmax(0,1fr) 452px;column-gap:72px;align-items:start}
  .home main>*{grid-column:1/-1}
  .home main:has(>#mine:not([hidden]),>#near:not([hidden]))>.home-intro{grid-column:1;grid-row:1/span 4}
  .home main>#mine,.home main>#near{grid-column:2;margin-top:64px}
  .home main>.home-intro{padding-top:64px}
  .home main>.home-intro h1{font-size:64px}
  .home main>.home-intro>p{font-size:19px}
  .home .crossing-prose{grid-template-columns:5fr 7fr;column-gap:64px;align-items:start}
  .home .closing{margin-left:calc(5 / 12 * 100% + 27px)}
}

/* ---- Border hubs: the corridors as rows ---- */
.hub main{margin-top:28px}
.crossing-finder{margin-top:4px}
.crossing-finder-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.hub-locate{min-height:40px;font-size:14px}
.hub-locate svg{width:16px;height:16px}
.locate-privacy{font-size:13px;color:var(--ink-3);max-width:52ch}
.corridor-list{margin-top:28px}
.corridor-list-heading{padding-bottom:10px;border-bottom:1px solid var(--line-2)}
.corridor-board{display:block}
.corridor-card-wrap{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-bottom:1px solid var(--line);break-inside:avoid}
.corridor-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;padding:16px 0;color:var(--ink);text-decoration:none}
.corridor-badge{grid-column:1;justify-self:start;margin-bottom:4px;padding:2px 9px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:620}
.corridor-id{grid-column:1;display:grid;gap:2px;min-width:0}
.corridor-name{font-size:16px;font-weight:620;letter-spacing:-.012em;line-height:1.3}
.corridor-count,.corridor-region{font-size:14px;line-height:1.35;color:var(--ink-2)}
.corridor-count{order:3;color:var(--ink-3)}
.corridor-result{grid-column:2;grid-row:1/span 3;display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:76px;text-align:right}
.corridor-best{grid-column:1;display:flex;flex-wrap:wrap;gap:0 6px;margin-top:6px;font-size:14px;line-height:1.4;color:var(--ink-2)}
.corridor-best-label{color:var(--ink-3)}
.corridor-best-caution{flex-basis:100%;color:var(--ink-3)}
.corridor-meta{grid-column:1;font-size:13px;color:var(--ink-3)}
.corridor-strip{grid-column:1;order:4;margin-top:8px}
/* From 640px the strip has its own column and the wait's column one width, so the strips line up. */
@media(min-width:640px){
  .corridor-card{grid-template-columns:minmax(0,1fr) auto 8.5rem}
  .corridor-strip{grid-column:2;grid-row:1/span 3;align-self:center;margin-top:0}
  .corridor-result{grid-column:3}
}
.corridor-freshness[data-freshness=stale]{color:var(--old-ink)}
/* The hub rows' shared age, said once under the feed line; a row that shares it leaves its own out. */
.hub-age{margin-top:4px;padding-left:16px;font-size:13px;line-height:1.4;color:var(--ink-3)}
.hub-age[data-freshness=stale]{color:var(--old-ink)}
.corridor-freshness[data-shared]{display:none}
.favourite-button{width:44px;min-width:44px;min-height:44px;padding:0;border:0;color:var(--ink-3);font-size:20px}
.favourite-button[aria-pressed=true]{color:var(--brand)}
@media(hover:hover){.corridor-card:hover .corridor-name{text-decoration:underline}}
@media(min-width:960px){.corridor-board{columns:2;column-gap:64px}}

/* ---- Corridor pages ---- */
.travel-alerts,.agency-notice{margin-top:20px}
/* The one panel: the comparison sentence that names the fastest crossing. */
.lowest-wait{margin-top:24px;padding:20px 22px;border-radius:28px;background:var(--panel)}
.lowest-wait:has(#lowest-result[hidden]){display:none}
/* The panel's sentence is its own heading; the label above it only repeated it, so it is kept for
   screen readers (it names the region) and not shown. */
#lowest-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#lowest-result{margin-top:0;max-width:24em;font-size:clamp(19px,5vw,24px);line-height:1.3;letter-spacing:-.012em;font-weight:560;color:var(--ink);text-wrap:balance}
#lowest-result[data-outcome=stale],#lowest-result[data-outcome=none]{font-size:clamp(20px,5vw,26px);color:var(--ink-2)}
@media(min-width:960px){.lowest-wait{padding:26px 32px}}
.crossings{margin-top:16px}
.crossings:focus{outline:none}
/* A corridor's crossings: rows on a phone, columns from 960px */
/* A board's one column is the board's width: a card's long name or figure wraps inside it instead of
   widening the column past a phone's edge (an auto track grows to its content's widest line). */
.corridor-page .primary-crossings{display:grid;grid-template-columns:minmax(0,1fr)}
.corridor-page .crossing-card{padding:22px 0;border-top:1px solid var(--line)}
.corridor-page .crossing-card:first-child{border-top:0}
/* A corridor card reads in two groups: what the wait is doing (trend, toll, path) and where it came
   from (report time and booths on one line, then the map links). */
.corridor-page .crossing-card .trend-text{margin-top:10px}
.corridor-page .crossing-card :is(.crossing-access,.path-marker){margin-top:2px}
.corridor-page .crossing-card .crossing-details{margin-top:12px}
.corridor-page .crossing-card .row-expanded{display:flex;flex-wrap:wrap;align-items:baseline}
.corridor-page .crossing-card .report-details{margin:0;color:var(--ink-3)}
.corridor-page .crossing-card .report-details time{font-weight:inherit;color:inherit}
.corridor-page .crossing-card :is(.card-details,.card-context){display:contents}
.corridor-page .crossing-card .lanes{margin:0;color:var(--ink-3)}
.corridor-page .crossing-card:not(:has(.card-stamp .freshness:not([hidden]):not([data-shared]))) .lanes::before{content:"\00a0·\00a0"}
.corridor-page .crossing-card .crossing-links{flex-basis:100%;margin-top:2px}
/* A row: name and status on the left, the figure on the right, then the trend and the details. */
/* The name's column keeps at least 8.5em (or half the row), so a long status beside it wraps
   instead of squeezing the name into a column of single letters. */
.row-main{display:grid;grid-template-columns:minmax(min(8.5em,50%),1fr) auto;column-gap:16px;align-items:center}
.row-main>*{grid-column:1/-1}
.card-header{grid-column:1;grid-row:1}
.card-header h3{line-height:1.25;letter-spacing:-.015em}
.card-title-link{color:var(--ink);text-decoration:none}
@media(hover:hover){.card-title-link:hover{text-decoration:underline}}
.card-metric{display:contents}
/* The details sit open under the figure: the disclosure stays in the markup, its summary does not show. */
.crossing-details>summary,.tolls-access>summary{display:none}
.crossing-details{margin-top:6px}
.row-expanded{display:grid}
.selected-mode{display:none}
.severity{grid-column:1;grid-row:2;margin-top:6px;justify-self:start}
/* An old report's line in a board row ("Último reporte hace 1 h 19 min") wraps beside the figure
   instead of running under it, and its dot stays with the first line. */
:is(.card-metric,.direction-pair)>.severity{white-space:normal;align-items:flex-start;text-wrap:balance}
:is(.card-metric,.direction-pair)>.severity::before{margin-top:calc(.6em - 4px)}
.wait-display{grid-column:2;grid-row:1/span 2;align-self:start;justify-self:end;font-size:52px;font-weight:330;letter-spacing:-.045em}
.wait-display:has(>.wait-unit[hidden]){font-size:22px;font-weight:450;letter-spacing:-.015em;font-stretch:100%;white-space:normal;text-align:right;max-width:10em;line-height:1.2;align-self:center}
/* "No delay" in the figure's place carries its own dot; an old or missing report does not. */
.crossing-card[data-level=good]:not([data-state=stale]) .wait-display:has(>.wait-unit[hidden])>.wait-value::before{content:"";display:inline-block;width:8px;height:8px;margin:0 8px 0 0;border-radius:50%;background:var(--short);vertical-align:.2em}
.wait-unit{font-size:16px}
.wait-at{margin-left:.35em;font-size:16px;font-weight:450;letter-spacing:0;font-stretch:100%;color:var(--ink-3)}
.trend{grid-column:1;grid-row:3;margin-top:14px;display:block;width:72px;height:22px;color:var(--vz-hist)}
.trend-line{width:72px;height:22px;overflow:visible}
.trend-path{fill:none;stroke:currentColor;stroke-width:1.75;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.trend-now{fill:var(--st,var(--ink-3));stroke:var(--page);stroke-width:1.5}
.trend[data-trend=none]{opacity:.7}
/* No card draws the 12-hour strip any more, so the cue starts at the row's own edge. */
.trend-text{grid-column:1/-1;grid-row:3;margin-top:14px;font-size:14px;line-height:1.4;color:var(--ink-2)}
.usual-now{margin-top:12px;font-size:15px;line-height:1.45;color:var(--ink)}

.card-stamp{margin-top:12px;font-size:13px;color:var(--ink-3)}
.freshness[data-shared]{display:none}
.card-stamp:not(:has(.freshness:not([hidden]):not([data-shared]))){display:none}
.freshness[data-freshness=stale]{color:var(--old-ink)}
.crossing-access{margin-top:10px;font-size:14px;color:var(--ink-2)}
.crossing-access:empty{display:none}
.crossing-notice,.card-note,.path-marker{margin-top:10px}
.path-marker{font-size:14px}
.path-marker a{font-weight:560}
/* Report time, booths and the map links sit open under the figure */
.report-details{margin-top:4px;font-size:14px;color:var(--ink-2)}
.report-details>h4{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.report-details time{color:var(--ink);font-weight:560}
.lanes{margin-top:6px;font-size:14px;color:var(--ink-2)}
.history-cue{display:none}
.crossing-links{display:flex;flex-wrap:wrap;gap:0 18px;margin-top:4px}
.crossing-links a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;font-size:14px;font-weight:560;text-decoration:none}
.route-link-note{margin-top:8px}
@media(hover:hover){.crossing-links a:hover{text-decoration:underline}}
.crossing-card.is-loading .wait-display{color:var(--ink-3)}
@media(min-width:960px){
  .corridor-page .primary-crossings{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:48px}
  .corridor-page .primary-crossings:has(>.crossing-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  .corridor-page .primary-crossings:has(>.crossing-card:only-child){grid-template-columns:minmax(0,1fr)}
  .corridor-page .primary-crossings:has(>.crossing-card:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
  .corridor-page .crossing-card{padding:0 32px 32px;border-top:0;border-left:1px solid var(--line)}
  .corridor-page .primary-crossings:not(:has(>.crossing-card:nth-child(4):last-child))>.crossing-card:nth-child(3n+1),.corridor-page .primary-crossings>.crossing-card:first-child{padding-left:0;border-left:0}
  .corridor-page .primary-crossings:has(>.crossing-card:nth-child(2):last-child)>.crossing-card:nth-child(2){padding-left:32px;border-left:1px solid var(--line)}
  .corridor-page .primary-crossings>.crossing-card:nth-child(n+4){padding-top:32px;border-top:1px solid var(--line)}
  .corridor-page .primary-crossings:has(>.crossing-card:nth-child(4):last-child)>.crossing-card:nth-child(4){padding-top:0;border-top:0}
  /* A column reads down in the page's own order: no item is placed by row. */
  .corridor-page .row-main{grid-template-columns:auto minmax(0,1fr);align-items:baseline}
  .corridor-page :is(.row-main,.card-metric)>*{grid-row:auto}
  .corridor-page .card-header,.corridor-page .severity,.corridor-page .wait-display{grid-column:1/-1}
  .corridor-page .wait-display{justify-self:start;margin-top:16px;font-size:60px}
  .corridor-page .wait-display:has(>.wait-unit[hidden]){font-size:30px;text-align:left;justify-self:start;max-width:none}
  .corridor-page .trend{grid-column:1;align-self:center}
  .corridor-page .trend-text{grid-column:1/-1}
  .corridor-page .card-stamp,.corridor-page .crossing-details{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
}
.other-facilities{margin-top:24px}
.other-list{display:grid;grid-template-columns:minmax(0,1fr);margin-top:8px}
.other-list .crossing-card{padding:18px 0;border-top:1px solid var(--line)}
.feed-details{margin-top:20px}
.feed-details .source-status{font-size:13px;color:var(--ink-3)}
.data-notes{margin-top:8px;display:grid;gap:8px}
.data-notes:not(:has(*:not([hidden]))){display:none}
.compare-caveat,.compare-note{font-size:13px;line-height:1.5;color:var(--ink-3);max-width:62ch}
.corridor-compare{padding:8px 0 24px}
main>.corridor-compare{padding:0}
.corridor-compare>p{color:var(--ink-2);max-width:62ch}
.corridor-compare .compare-wrap,.corridor-compare .table-wrap{margin-top:var(--s4)}
.report-trip{font-size:15px;color:var(--ink-2)}
.corridor-compare .report-trip+.table-wrap{margin-top:var(--s2)}
/* The crossing guide's live comparison: the report's clock, then its age, each on a line of its own. */
.report-table .report-when time,.report-table .report-age{display:block}
.report-table .report-age{margin-top:2px;font-size:14px;color:var(--ink-2)}
.report-table .report-wait{white-space:nowrap}
.report-table .report-wait[data-state=stale]{color:var(--ink-3)}
/* On a phone each crossing is one row: its name and wait on top, the agency's report under them. */
@media(max-width:479px){
  .report-table,.report-table tbody{display:block}
  .report-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .report-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:4px;padding:14px 0;border-top:1px solid var(--line)}
  .report-table tbody tr:last-child{border-bottom:1px solid var(--line)}
  .report-table th,.report-table td{padding:0;border:0}
  .report-table tbody th{grid-column:1;grid-row:1;font-weight:620}
  .report-table .report-wait{grid-column:2;grid-row:1;text-align:right;font-weight:560}
  .report-table .report-wait .report-age{white-space:normal;font-weight:420}
  .report-table .report-when{grid-column:1/-1;grid-row:2;font-size:14px;color:var(--ink-2)}
  .report-table .report-when time{color:var(--ink)}
}
/* "Tolls and access" opens straight onto its comparison */
.tolls-access>summary{display:none}
/* The story sections: a heading and its paragraph, side by side from 960px */
.corridor-prose>.corridor-compare[data-locale]:not(:has(table)){display:grid;gap:12px;padding:28px 0 0;border-top:1px solid var(--line)}
@media(min-width:960px){
  .corridor-prose>.corridor-compare[data-locale]:not(:has(table)){grid-template-columns:5fr 7fr;column-gap:64px}
}
.unreported-panel{margin-top:24px}
.unreported-panel-body{color:var(--ink-2)}

/* ---- Crossing guides: the hero. Both directions side by side from 1024px; on a
   phone the switch at the top chooses one, and its segments carry both values. ---- */
.crossing-page .primary-crossings{display:grid;margin-top:20px;padding:4px 22px;border-radius:28px;background:var(--panel)}
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair){padding:24px 0 22px}
.crossing-page .primary-crossings>*+:is(.crossing-card,.direction-pair){border-top:1px solid var(--line-panel)}
.crossing-page .single-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.crossing-page .row-main,.direction-pair{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:center;align-content:start}
.crossing-page :is(.row-main,.card-metric)>*,.direction-pair>*{grid-column:1/-1;grid-row:auto;order:10;align-self:auto;justify-self:start}
.crossing-page .card-header,.direction-pair>.pair-head{order:1}
.crossing-page .selected-mode,.direction-pair>.selected-mode{order:2}
.crossing-page .wait-display,.direction-pair>.wait-display{order:3}
.crossing-page .severity,.direction-pair>.severity{order:4}
.direction-pair>.lanes{order:10}
.crossing-page .trend-text,.direction-pair>.trend-text{order:6;grid-column:1/-1}
.crossing-page .usual-now,.direction-pair>.usual-now{order:7}
.crossing-page .usual-next,.direction-pair>.usual-next{order:8}
.crossing-page .card-stamp,.direction-pair>.card-stamp{order:9}
.crossing-page .trend{display:none}
.pair-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px}
.pair-direction{font-size:16px;line-height:1.3;font-weight:620;letter-spacing:-.01em;color:var(--ink);white-space:nowrap}
/* The route mark is ink and grey; status colour belongs to the dot and the word. */
.route{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink-2);white-space:nowrap;min-width:0}
.route::before{content:attr(data-from)}
.route::after{content:attr(data-to)}
.route-line{position:relative;flex:none;width:56px;height:1.5px;border-radius:2px;background:var(--ink-3)}
.route-line::before{content:"";position:absolute;left:0;top:50%;width:7px;height:7px;border-radius:50%;background:var(--panel);box-shadow:inset 0 0 0 1.5px var(--ink-3);transform:translate(-30%,-50%)}
.route-line::after{content:"";position:absolute;right:-2px;top:50%;width:7px;height:9px;background:var(--ink-3);clip-path:polygon(0 0,100% 50%,0 100%);transform:translateY(-50%)}
.crossing-page .wait-display,.direction-pair>.wait-display{justify-self:start;align-self:end;flex-wrap:wrap;align-content:flex-end;margin-top:22px;font-size:clamp(92px,27vw,136px);font-weight:270;letter-spacing:-.055em;line-height:.86;max-width:none;text-align:left}
.crossing-page .wait-unit,.direction-pair .wait-unit{font-size:22px;margin-left:.22em}
/* A word in the figure's place ("No delay"): a narrower width so French and Spanish fit at 320px. */
.crossing-page .wait-display:has(>.wait-unit[hidden]),.direction-pair>.wait-display:has(>.wait-unit[hidden]){font-size:clamp(44px,12vw,72px);font-weight:340;letter-spacing:-.025em;line-height:1;font-stretch:100%;white-space:normal;text-wrap:balance;text-align:left;max-width:none;align-self:start}
.crossing-page .wait-display:has(>.wait-unit[hidden])>.wait-value::before,.direction-pair .wait-display:has(>.wait-unit[hidden])>.wait-value::before{display:none}
/* "No delay" in the hero: the words are the status, so its dot leads them, sized with them, in both directions. */
/* Sized with the words it leads, so beside 47-72px type it reads as a status dot, not a full stop. */
.primary-crossings>:is(.crossing-card,.direction-pair)[data-level=good]:not([data-state=stale]):not([data-hero-tier]) .wait-display:has(>.wait-unit[hidden])>.wait-value::before{content:"";display:inline-block;width:.24em;height:.24em;min-width:8px;min-height:8px;margin:0 .2em 0 .02em;border-radius:50%;background:var(--short);vertical-align:.2em}
.crossing-page .severity,.direction-pair>.severity{margin-top:16px;justify-self:start;font-size:14px}
.direction-pair[data-mode-differs]>.selected-mode,.crossing-page .crossing-card[data-mode-differs] .selected-mode{display:block;margin-top:10px;font-size:13px;font-weight:560;color:var(--ink-3)}
.crossing-page .trend-text,.direction-pair>.trend-text{margin-top:12px}
.crossing-page .usual-now,.direction-pair>.usual-now{margin-top:12px}

.crossing-page .card-stamp,.direction-pair>.card-stamp{justify-self:stretch;margin-top:18px;padding-top:14px;border-top:1px solid var(--line-panel);font-size:13px;color:var(--ink-3)}
.crossing-page .card-stamp .freshness[data-freshness=stale],.direction-pair .freshness[data-freshness=stale]{color:var(--ink-3)}
.crossing-page .crossing-details,.crossing-page .card-header,.direction-pair>.pair-head{justify-self:stretch}
.crossing-page .freshness[data-shared]{display:inline}
.crossing-page .card-stamp:not(:has(.freshness:not([hidden]))){display:none}
.crossing-page .crossing-access,.crossing-page .report-details{display:none}
.crossing-page .crossing-links{margin-top:6px}
/* Old reports: one cycle late, the figure shrinks and greys with its time; later, the words take its place. */
/* (Each rule names the panel and :has(>.wait-value), which every figure has, so it outranks the word rule above.) */
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=missed] .wait-display:has(>.wait-value){flex-wrap:wrap;row-gap:6px;font-size:clamp(56px,16vw,82px);color:var(--ink-3)}
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=missed] .wait-display:has(>.wait-unit[hidden]){font-size:clamp(34px,9.5vw,46px);letter-spacing:-.03em}
.crossing-page .wait-at,.direction-pair .wait-at{font-size:16px;white-space:normal}
/* When "at 2 p.m. Baja California time" wraps under the figure it starts at the figure's edge, not
   indented by the margin that separates it from the figure on one line. */
:is(.crossing-page,.direction-pair) .wait-display:has(>.wait-at){margin-left:-6px}
:is(.crossing-page,.direction-pair) .wait-display:has(>.wait-at)>:is(.wait-value,.wait-at){margin-left:6px}
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=old] .wait-display:has(>.wait-value){font-size:clamp(28px,8vw,40px);font-weight:420;letter-spacing:-.025em;line-height:1.1;font-stretch:100%;color:var(--ink-2);max-width:14em}
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=none] .wait-display:has(>.wait-value){color:var(--ink-2)}
/* The switch: each segment carries its direction's value. */
/* A long value ("Reported closed by CBP", "Non publié par l’ASFC") wraps inside its half of the
   switch rather than pushing the page sideways; the dot stays on its first line. */
.direction-value{display:inline-flex;align-items:flex-start;gap:6px;font-size:13px;line-height:1.2;font-weight:560;color:var(--ink-2);white-space:normal;text-wrap:balance}
.direction-selector button[aria-pressed=true] .direction-value{color:var(--ink)}
.direction-value::before{content:"";flex:none;width:8px;height:8px;margin-top:.2em;border-radius:50%;background:var(--st,var(--old));box-shadow:inset 0 0 0 1.6px var(--st-ring,transparent)}
.direction-value[data-level=neutral]::before{display:none}
.direction-value:empty{display:none}
.direction-selector button:has(.direction-value){flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-height:58px;padding:6px 14px;text-align:left;white-space:normal}
.direction-primary{text-wrap:balance}
/* At 320px "Vers les États-Unis" and its value share half the width: tighter padding, and both may wrap. */
@media(max-width:359px){
  .direction-selector button,.direction-selector button:has(.direction-value){padding-left:10px;padding-right:10px;font-size:13px;font-stretch:100%}
}
@media(max-width:1023px){
  body[data-pair] .direction-pair{display:none}
}
@media(min-width:1024px){
  body[data-pair] .direction-choice{display:none}
  .crossing-page .primary-crossings{padding:40px 0 36px}
  body[data-pair] .primary-crossings{grid-template-columns:1fr 1fr}
  .crossing-page .primary-crossings>:is(.crossing-card,.direction-pair){padding:0 48px}
  body[data-pair] .primary-crossings>*+:is(.crossing-card,.direction-pair){border-top:0;border-left:1px solid var(--line-panel)}
  .crossing-page .wait-display,.direction-pair>.wait-display{margin-top:20px;min-height:118px}
}
/* Two columns from 960px: the guide on the left, its facts on the right */
.crossing-page .data-notes:not(:has(*)){display:none}
.guide-jump{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 18px;margin-top:var(--s6);font-size:14px}
.guide-jump-label{flex-basis:100%;color:var(--ink-3)}
.guide-jump a{position:relative;color:var(--ink-2);font-weight:560;text-decoration:none}
@media(hover:hover){.guide-jump a:hover{color:var(--ink);text-decoration:underline}}
.trip-facts{margin-top:var(--section)}
.trip-facts>h2{margin-bottom:var(--s3)}
.crossing-nav{margin-top:var(--section)}
.crossing-nav h2{margin-bottom:10px}
.crossing-nav ul{display:grid}
.crossing-nav li{border-top:1px solid var(--line)}
.crossing-nav li:last-child{border-bottom:1px solid var(--line)}
.crossing-nav a{display:flex;align-items:center;min-height:52px;color:var(--ink);font-weight:560;text-decoration:none}
@media(hover:hover){.crossing-nav a:hover{text-decoration:underline}}
@media(max-width:959px){
  .crossing-page .crossing-prose{display:flex;flex-direction:column}
  .crossing-page .crossing-prose>.trip-facts:has(>.fact-list){order:9}
}
@media(min-width:960px){
  .crossing-page main{display:grid;grid-template-columns:minmax(0,1fr) 340px;column-gap:88px;align-items:start}
  /* A guide with one direction (a U.S.–Mexico crossing) keeps its hero in the main column, the facts beside it. */
  body.crossing-page:not([data-pair]) main>#crossings{grid-column:1}
  body.crossing-page:not([data-pair]) .crossing-prose>.trip-facts:has(>.fact-list){grid-row:1/span 60}
  .crossing-page main>*{grid-column:1;min-width:0}
  .crossing-page main>#crossings,.crossing-page main>.travel-alerts{grid-column:1/-1}
  .crossing-page main>.crossing-prose,.crossing-page .guide-content{display:contents}
  .crossing-page .crossing-prose>*,.crossing-page .guide-content>*{grid-column:1;min-width:0}
  .crossing-page .crossing-prose>.trip-facts:has(>.fact-list){grid-column:2;grid-row:2/span 60;margin-top:var(--section)}
  .crossing-page .crossing-prose>.trip-facts:has(>.fact-list) .fact-list>div{flex-direction:column;gap:3px}
  .crossing-page .crossing-prose>.trip-facts:has(>.fact-list) dd{text-align:left;font-weight:560}
  .crossing-page .crossing-prose>.trip-facts:has(>.fact-list) dt{font-size:14px}
}

/* ---- Charts (public/charts.js; their CSS partial, docs/direction-1/charts.css, merged here) ---- */
/* Each direction's charts sit in a .vz-dir; the page shows the direction its switch has chosen, as the
   board does, so a reader without JavaScript gets the trip the page was rendered for. */
body[data-direction=to-us] .vz-dir[data-direction=to-canada],body[data-direction=to-canada] .vz-dir[data-direction=to-us]{display:none}
body[data-direction=to-mexico] .vz-section{display:none}
.vz-dir+.vz-dir{margin-top:0}
.vz-section .vz-fig+.lrows{margin-top:40px}
.vz-src{margin-top:18px;font-size:13px;color:var(--ink-3)}
.vz-src a{color:var(--ink-2)}
/* A chart inside the one soft panel draws its rings and halos in the panel colour. */
.primary-crossings,#lowest-wait,#mine{--vz-surface:var(--panel);--vz-hist:var(--vz-hist-panel)}

/* ---------- figure, heading, sentence ---------- */
.vz-fig{margin:0;min-width:0}
.vz-hd{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 16px}
.vz-ttl{margin:0;color:var(--ink)}
.vz-clk{font-size:13px;color:var(--ink-3);white-space:nowrap}
.vz-find{margin:6px 0 0;max-width:40em;font-size:16px;line-height:1.5;color:var(--ink);text-wrap:pretty}
.vz-note{margin:6px 0 0;max-width:40em;font-size:14px;line-height:1.45;color:var(--ink-2)}
.vz-scale,.vz-cap{margin:8px 0 0;font-size:13px;line-height:1.45;color:var(--ink-3)}

/* ---------- readout: Now until the reader moves along the chart ---------- */
.vz-ro{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:12px;row-gap:2px;min-height:48px;margin-top:14px}
.vz-ro-t{flex:1 0 100%;font-size:13px;font-weight:560;color:var(--ink-3)}
.vz-ro-o{font-weight:450}
.vz-ro-v{display:inline-flex;align-items:center;gap:8px;font-size:19px;line-height:1.25;letter-spacing:-.01em;color:var(--ink)}
.vz-ro-v b{font-weight:620}
.vz-ro-v.muted{font-size:17px;color:var(--ink-2)}
.vz-ro-v.muted b{font-weight:560}
.vz-ro-u{font-size:14px;color:var(--ink-2)}
.vz-sd{display:none;flex:none;width:8px;height:8px;border-radius:50%}
.vz-sd.none,.vz-sd.short{display:block;background:var(--short)}
.vz-sd.mod{display:block;background:var(--mod)}
.vz-sd.long{display:block;background:var(--long)}

/* ---------- plot host: gutter + plot ---------- */
.vz-host{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);margin-top:4px;container-type:inline-size;touch-action:pan-y;-webkit-tap-highlight-color:transparent}
.vz{display:block;overflow:visible;font-family:inherit;-webkit-user-select:none;user-select:none}
.vz text{font-size:11px;font-weight:560;fill:var(--ink-3)}
.vz [hidden]{display:none}
.vz .w{display:none}
@container (min-width:570px){.vz .w{display:inline}.vz .n{display:none}}
.vz-yl text{text-anchor:end;font-size:11px}
.vz-yl .u{font-weight:450}
.vz-g line{stroke:var(--vz-grid);stroke-width:1}
.vz-base{stroke:var(--vz-base);stroke-width:1}
.vz-ax text{text-anchor:middle;font-size:11.5px}
.vz-ax .st{text-anchor:start}

/* ---------- hour by hour ---------- */
.vz-p path{vector-effect:non-scaling-stroke}
.vz-band{fill:var(--vz-band)}
.vz-bz{fill:var(--vz-bz)}
.vz-ul{fill:none;stroke:var(--vz-ul);stroke-width:1.5;stroke-linejoin:round}
.vz-thin{fill:none;stroke:var(--vz-ul);stroke-width:1;stroke-dasharray:1 3}
.vz-t{fill:none;stroke:var(--vz-ink);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.vz-t.held{stroke-dasharray:4 4;stroke-linecap:butt}
.vz-d circle{fill:var(--vz-ink)}
.vz-gap{fill:var(--vz-gap-fill);stroke:var(--vz-gap-edge);stroke-width:1;stroke-dasharray:2 3}
.vz-hx rect{fill:var(--vz-cls-fill)}
.vz-hx line{stroke:var(--vz-hatch);stroke-width:1.4}
.vz-mid{stroke:var(--vz-base);stroke-width:1}
.vz-dn text{font-weight:620;fill:var(--ink-2)}
.vz-dn .en{text-anchor:end}
.vz-dn .st{text-anchor:start}
.vz-now{stroke:var(--vz-now);stroke-width:1.5}
.vz-nowt{overflow:visible}
.vz-nowt rect{fill:var(--vz-pill)}
.vz .vz-nowt text{fill:var(--vz-pill-ink);font-size:11.5px;font-weight:620;text-anchor:middle}
.vz-lv{stroke:var(--vz-surface);stroke-width:2.5}
.vz-lv.none,.vz-lv.short{fill:var(--short)}
.vz-lv.mod{fill:var(--mod)}
.vz-lv.long{fill:var(--long)}
.vz-lv.old{fill:var(--vz-surface);stroke:var(--old-ink);stroke-width:1.6}
.vz-rl,.vz-ulab{text-anchor:middle;font-weight:560}
.vz-rl.cl{fill:var(--ink-2)}
.vz-pk{text-anchor:middle;font-size:12px;font-weight:620;fill:var(--ink)}
.vz-pk.st,.vz-rl.st{text-anchor:start}
.vz-pk.en,.vz-rl.en{text-anchor:end}
.vz-pk,.vz-ulab,.vz-rl{paint-order:stroke;stroke:var(--vz-surface);stroke-width:3.5px;stroke-linejoin:round}
.vz-rl.top{stroke:none}

/* legend: a backup to the direct labels, never the only key */
.vz-key{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 0;padding:0;list-style:none;font-size:13px;line-height:1.35;color:var(--ink-2)}
.vz-key li{display:inline-flex;align-items:center;gap:8px}
.vz-key i{display:inline-block;flex:none;width:18px}
.vz-key .k-t{height:0;border-top:2px solid var(--vz-ink)}
.vz-key .k-h{height:0;border-top:2px dashed var(--vz-ink)}
.vz-key .k-u{height:10px;background:var(--vz-band);box-shadow:inset 0 1.5px 0 var(--vz-ul)}
.vz-key .k-b{height:10px;background:var(--vz-bz)}
.vz-key .k-g{height:10px;border:1px dashed var(--vz-gap-edge);border-radius:2px;box-sizing:border-box}
.vz-key .k-c{height:10px;background:repeating-linear-gradient(45deg,var(--vz-hatch) 0 1.4px,transparent 1.4px 5px),var(--vz-cls-fill)}

/* tables: the data itself, for every reader and every crawler */
.vz-tbl{margin-top:14px}
.vz-tbl summary{cursor:pointer;font-size:14px;font-weight:560;color:var(--brand)}
.vz-tbl table{width:100%;max-width:560px;margin-top:10px;border-collapse:collapse;font-size:14px}
.vz-tbl th,.vz-tbl td{padding:6px 12px 6px 0;border-bottom:1px solid var(--line);text-align:left;font-weight:450}
.vz-tbl thead th{font-size:13px;font-weight:600;color:var(--ink-2)}
.vz-tbl tbody th{white-space:nowrap;color:var(--ink-2)}
.vz-tbl caption{caption-side:bottom;padding-top:8px;text-align:left;font-size:13px;color:var(--ink-3)}

/* ---------- best time ---------- */
.vz-bp path{fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-width:9px}
@container (min-width:570px){.vz-bp path{stroke-width:13px}}
.vz-bp .b{stroke:var(--vz-bar)}
.vz-bp .bz{stroke:var(--vz-bar-bz)}
.vz-bp .no{stroke:var(--vz-base);stroke-width:2px;stroke-linecap:butt}
.vz-bp .cl{stroke:var(--vz-hatch);stroke-width:4px;stroke-linecap:butt}
.vz-bp .hi{stroke:var(--vz-bar-hi)}
.vz-bnow[hidden]{display:none}
.vz-days{display:flex;gap:6px;max-width:440px;margin-top:14px}
.vz-days[hidden]{display:none}
.vz-days button{position:relative;flex:1 1 0;min-width:0;height:44px;padding:0 4px;border:1px solid var(--line-2);border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-size:14px;font-weight:560;cursor:pointer}
.vz-days button[aria-pressed="true"]{border-color:var(--brand);background:var(--brand);color:var(--on-brand)}
.vz-days .today::after{content:"";position:absolute;bottom:6px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:currentColor;opacity:.7}
.vz-days button:focus-visible{outline:2px solid var(--focus,var(--brand));outline-offset:2px}
.is-flat .vz-host{display:none}
.vz-tip rect{fill:var(--vz-pill)}
.vz .vz-tip text{fill:var(--vz-pill-ink);font-size:12px;font-weight:620;text-anchor:middle}
.vz-host.is-scrub .vz-bnow{opacity:.35}

/* ---------- corridor rows: one clock, one scale ---------- */
.vz-list{margin:10px 0 0;padding:0;list-style:none}
.vz-row{padding:12px 0 2px;border-top:1px solid var(--line)}
.vz-row.ax{padding:0;border-top:0}
.vz-row-hd{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 12px}
.vz-row-name{font-size:15px;font-weight:620;letter-spacing:-.01em;color:var(--ink);text-decoration:none}
.vz-row-name:hover{text-decoration:underline}
.vz-row-v,.vz-row-s{display:inline-flex;align-items:center;gap:8px}
.vz-row-v .v-n b{font-size:22px;font-weight:450;letter-spacing:-.02em}
.vz-row-v .v-n small{margin-left:2px;font-size:13px;color:var(--ink-2)}
.vz-row-v .v-w,.vz-row-s b{font-size:15px;font-weight:560;color:var(--ink)}
.vz-row-v .muted,.vz-row-s.muted b{font-weight:450;color:var(--ink-2)}
.vz-row-s{display:none}
.vz-row.is-scrub .vz-row-v{display:none}
.vz-row.is-scrub .vz-row-s{display:inline-flex}
.vz-axis text{font-size:11.5px}
.vz-tt rect{fill:var(--vz-pill)}
.vz .vz-tt text{fill:var(--vz-pill-ink);font-size:11.5px;font-weight:620;text-anchor:middle}
@media (min-width:960px){
  .vz-row{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:end}
  .vz-row-hd{flex-direction:column;align-items:flex-start;gap:4px;padding-bottom:8px}
  .vz-row.ax::before{content:""}
}

/* ---------- report strip: home and hub rows, saved crossings, lane rows, embed ---------- */
.vz-strip{display:block;flex:none;width:96px;height:24px;overflow:visible}
.vz-strip .h{fill:none;stroke:var(--vz-hist);stroke-width:3.6;stroke-linecap:round}
.vz-strip .z{fill:none;stroke:var(--vz-hist);stroke-width:3.4;stroke-linecap:round}
.vz-strip path.lv{fill:none;stroke-width:4;stroke-linecap:round}
.vz-strip path.lv.short{stroke:var(--short)}
.vz-strip path.lv.mod{stroke:var(--mod)}
.vz-strip path.lv.long{stroke:var(--long)}
.vz-strip circle.lv{fill:var(--short)}
.vz-strip-none{font-size:13px;line-height:1.3;color:var(--ink-3)}
@media (max-width:599px){:is(.wrow-strip,.corridor-strip,.tile-strip) .vz-strip{width:72px;height:18px}}

/* ---------- interaction (added by chart-enhance.js) ---------- */
.vz-host .vz-pl,.vz-host .vz-best{cursor:crosshair}
.vz-xh line{stroke:var(--ink-2);stroke-width:1}
.vz-xh circle{fill:var(--vz-ink);stroke:var(--vz-surface);stroke-width:2}
.vz-host.is-scrub .vz-nowt,.vz-host.is-scrub .vz-lv{opacity:.35}
.vz-range{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);border:0;white-space:nowrap}
.vz-host:has(.vz-range:focus-visible){outline:2px solid var(--focus,var(--brand));outline-offset:6px;border-radius:10px}

/* ---------- reduced motion, forced colours, print ---------- */
@media (prefers-reduced-motion:reduce){.vz-fig *{transition:none!important;animation:none!important}}
@media (forced-colors:active){
  .vz,.vz-strip{forced-color-adjust:none}
  .vz text{fill:CanvasText}
  .vz-t,.vz-strip .h,.vz-strip .z{stroke:CanvasText}
  .vz-d circle{fill:CanvasText}
  /* the current claim and the newest strip mark stay marked, in Highlight */
  .vz-lv.none,.vz-lv.short,.vz-lv.mod,.vz-lv.long{fill:Highlight;stroke:Canvas}
  .vz-lv.old{fill:Canvas;stroke:CanvasText}
  .vz-strip path.lv.short,.vz-strip path.lv.mod,.vz-strip path.lv.long{stroke:Highlight}
  .vz-strip circle.lv{fill:Highlight}
  .vz-band,.vz-bz{fill:GrayText;fill-opacity:.25}
  .vz-ul,.vz-thin{stroke:GrayText}
  .vz-g line,.vz-base,.vz-mid{stroke:GrayText}
  .vz-gap{fill:none;stroke:CanvasText}
  .vz-hx rect{fill:Canvas}
  .vz-hx line{stroke:GrayText}
  .vz-now{stroke:Highlight}
  .vz-nowt rect,.vz-tip rect,.vz-tt rect{fill:Highlight}
  .vz .vz-nowt text,.vz .vz-tip text,.vz .vz-tt text{fill:HighlightText}
  .vz-bp .b{stroke:CanvasText}
  .vz-bp .bz{stroke:GrayText}
  .vz-bp .hi{stroke:Highlight}
  .vz-pk,.vz-ulab,.vz-rl{stroke:Canvas}
  .vz-sd{forced-color-adjust:none;background:CanvasText!important}
  .vz-key i{forced-color-adjust:none;border-color:CanvasText}
}
@media print{
  .vz-ro,.vz-days,.vz-range{display:none!important}
  .vz-host .vz-pl,.vz-host .vz-best{cursor:auto}
  .vz-tbl[open] table,.vz-tbl table{display:table}
}

/* ---- The other lanes, under a guide's chart: one row each, its strip and its wait ---- */
.lrows-h{margin:0 0 6px;font-size:var(--fs-h3);line-height:1.3;letter-spacing:-.012em}
.lrow-list{margin:0;padding:0;list-style:none}
.lrow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:16px;min-height:56px;padding:8px 0;border-top:1px solid var(--line)}
.lrow:last-child{border-bottom:1px solid var(--line)}
.lrow-id{display:flex;flex-direction:column;gap:2px;min-width:0}
.lrow-name{font-size:15px;font-weight:620;color:var(--ink)}
/* A cue names its clock in words ("desde las 4 a. m. hora de Baja California"), a run longer than a
   phone's name column: it may break inside the run rather than run out of its box. */
.lrow-sub{font-size:13px;line-height:1.35;color:var(--ink-3);overflow-wrap:break-word}
.lrow-strip{display:flex;justify-content:flex-end;min-width:0}
.lrow-val{display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:7.5em;text-align:right}
.lrow-val .corridor-wait{font-size:24px}
.lrow-old{font-size:13px;line-height:1.35;color:var(--ink-3)}
/* On a phone the strip goes under the name, and the cue under both, across the whole row. */
@media(max-width:479px){
  .lrow{grid-template-columns:minmax(0,1fr) auto;row-gap:6px}
  .lrow-id{display:contents}
  .lrow-name{grid-column:1;grid-row:1}
  .lrow-sub{grid-column:1/-1;grid-row:3}
  .lrow-strip{grid-column:1;grid-row:2;justify-content:flex-start}
  .lrow-val{grid-column:2;grid-row:1/span 2}
  .lrow-strip .vz-strip{width:72px;height:18px}
}

/* ---- The hero's outlook: what usually comes next, under the "Usually…" line ---- */
.usual-next{margin-top:2px;font-size:15px;line-height:1.45;color:var(--ink-2)}

/* ---- Report strips in lists: home and hub rows, your crossings ---- */
:is(.wrow-strip,.corridor-strip,.tile-strip):empty{display:none}
:is(.wrow-strip,.corridor-strip,.tile-strip){display:flex;align-items:center}

/* ---- Before the charts: the earlier reports' step charts and the stored time-of-day table. A page still
   draws them when its charts cannot be drawn, and a guide keeps the table until the usual model has a row. ---- */
/* Earlier agency reports: a step chart per lane, the table behind it; one column per series */
#recorded-wait-history{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));column-gap:40px;align-items:start}
#recorded-wait-history>:not(.history-series){grid-column:1/-1}
/* Only the trip's direction until the switch asks for both (a checkbox, so it works without JavaScript). */
body[data-direction=to-us] .history-both-toggle:not(:checked)~.history-series[data-direction=to-canada],body[data-direction=to-canada] .history-both-toggle:not(:checked)~.history-series[data-direction=to-us]{display:none}
.history-series{margin-top:28px}
.history-label{font-size:var(--fs-h3);margin:0 0 8px}
.history-chart{max-width:420px;margin:4px 0 0}
.history-chart svg{display:block;width:100%;height:auto;overflow:visible;stroke:none}
.hc-grid{stroke:var(--vz-grid);stroke-width:1;vector-effect:non-scaling-stroke}
.hc-grid[data-at="0"]{stroke:var(--vz-base)}
.hc-grid[data-at="15"],.hc-grid[data-at="45"]{stroke:var(--vz-base);stroke-dasharray:2 4}
.hc-path{fill:none;stroke:var(--vz-ink);stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.hc-point{fill:var(--vz-ink);stroke:var(--page);stroke-width:2}
.hc-label{font:520 11px var(--sans);fill:var(--ink-3);stroke:none}
.hc-scale{font-size:10.5px}
.hc-now{fill:var(--ink);font-weight:620}
.history-chart figcaption{margin-top:8px;font-size:14px;line-height:1.45;color:var(--ink-2);max-width:60ch}
.history-reports{margin-top:6px}
.history-reports table{margin-top:8px;max-width:440px;font-size:14px;table-layout:fixed}
.history-both-toggle{position:absolute;opacity:0;width:1px;height:1px}
.history-both{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:14px;font-weight:560;color:var(--ink-2)}
.history-both::before{content:"";flex:none;width:38px;height:22px;border-radius:999px;background:var(--line-2)}
.history-both::after{content:"";position:absolute;margin-left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000002e}
.history-both{position:relative}
.history-both-toggle:checked+.history-both::before{background:var(--brand)}
.history-both-toggle:checked+.history-both::after{transform:translateX(16px)}
.history-both-toggle:focus-visible+.history-both::before{outline:3px solid var(--focus);outline-offset:3px}
@media(prefers-reduced-motion:no-preference){.history-both::after{transition:transform .18s ease}}
@media(min-width:960px){
  .corridor-page #recorded-wait-history,.crossing-page #recorded-wait-history{position:relative}
}
/* Waits by time of day: the stored weekly table, a grey bar under each usual wait, the current block marked */
#waits-by-time-of-day .table-wrap{margin-top:8px}
/* The time may wrap to a second line; a value never does ("1 h 15 min", "Aucune attente"). The two
   value columns share one width, so a bar means the same length in both. */
#waits-by-time-of-day table{table-layout:auto;max-width:560px}
#waits-by-time-of-day caption{font-size:13px}
#waits-by-time-of-day th,#waits-by-time-of-day td{padding:10px 12px 10px 0}
#waits-by-time-of-day tbody th{font-weight:450;color:var(--ink-2);text-wrap:balance}
#waits-by-time-of-day td{width:32%}
#waits-by-time-of-day td[data-level]{position:relative;color:var(--ink);font-weight:560}
#waits-by-time-of-day td:is([data-level=none],[data-level=closed]){color:var(--ink-3);font-weight:450}
/* The bar follows its value in the flow, so it sits right under the words however many lines they take
   ("Aucune / attente" at 320px) and however tall the time beside them makes the row. */
#waits-by-time-of-day td[data-bar]::after{content:"";display:block;height:3px;margin-top:5px;border-radius:2px;background:var(--vz-bar);width:0}
#waits-by-time-of-day td[data-bar="0"]::after{width:4px;height:4px;border-radius:50%}
#waits-by-time-of-day td[data-bar="1"]::after{width:calc(100%/12)}
#waits-by-time-of-day td[data-bar="2"]::after{width:calc(100%*2/12)}
#waits-by-time-of-day td[data-bar="3"]::after{width:calc(100%*3/12)}
#waits-by-time-of-day td[data-bar="4"]::after{width:calc(100%*4/12)}
#waits-by-time-of-day td[data-bar="5"]::after{width:calc(100%*5/12)}
#waits-by-time-of-day td[data-bar="6"]::after{width:calc(100%/2)}
#waits-by-time-of-day td[data-bar="7"]::after{width:calc(100%*7/12)}
#waits-by-time-of-day td[data-bar="8"]::after{width:calc(100%*8/12)}
#waits-by-time-of-day td[data-bar="9"]::after{width:calc(100%*9/12)}
#waits-by-time-of-day td[data-bar="10"]::after{width:calc(100%*10/12)}
#waits-by-time-of-day td[data-bar="11"]::after{width:calc(100%*11/12)}
#waits-by-time-of-day td[data-bar="12"]::after{width:100%}
#waits-by-time-of-day td[data-now]::after{background:var(--vz-ink)}
#waits-by-time-of-day tr[data-now] th{color:var(--ink);font-weight:620}
/* The current block wears the charts' "Now" pill after its time, in the page's language. */
#waits-by-time-of-day tr[data-now] th::after{content:"Now";content:"Now"/"";display:inline-block;margin-left:8px;padding:0 7px;border-radius:999px;background:var(--vz-pill);color:var(--vz-pill-ink);font-size:11.5px;font-weight:620;line-height:18px;letter-spacing:0;white-space:nowrap;vertical-align:1px}
#waits-by-time-of-day:lang(fr) tr[data-now] th::after{content:"Maintenant";content:"Maintenant"/""}
#waits-by-time-of-day:lang(es) tr[data-now] th::after{content:"Ahora";content:"Ahora"/""}
#waits-by-time-of-day td[data-now]{font-weight:620}

/* ---- The directory ---- */
.directory-main{margin-top:28px}
.directory-filters{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:end}
.directory-search-field{display:grid;gap:6px;flex:1 1 280px;max-width:420px;font-size:14px;color:var(--ink-2)}
/* One label style: every filter's label sits above its control. Clear filters shows only when there is
   something to clear, and the count lines up with the controls' middle. */
[data-directory-border-field]{display:grid;gap:6px;font-size:14px;color:var(--ink-2)}
[data-directory-clear]:disabled{display:none}
.directory-filters>.directory-count{display:flex;align-items:center;min-height:44px}
.directory-search-field input{width:100%}
.directory-count{font-size:14px;color:var(--ink-3)}
.directory-index{margin-top:16px}
.directory-index-list{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:8px;font-size:14px}
.directory-index-list a{color:var(--ink-2);text-decoration:none}
.directory-list{display:grid;margin-top:32px}
.directory-section{padding:28px 0;border-top:1px solid var(--line)}
.directory-section>h2{font-size:20px}
.directory-section>h2 a{color:var(--ink);text-decoration:none}
@media(hover:hover){.directory-section>h2 a:hover{text-decoration:underline}}
.directory-region{margin-top:2px;font-size:14px;color:var(--ink-3)}
.directory-crossings{display:grid;margin-top:12px}
.directory-crossings>li{display:grid;gap:8px;padding:14px 0;border-top:1px solid var(--line)}
.directory-entry a{display:grid;gap:2px;color:var(--ink);text-decoration:none}
.directory-entry a>span{font-size:16px;font-weight:620;letter-spacing:-.012em}
.directory-entry small{font-size:14px;color:var(--ink-2)}
@media(hover:hover){.directory-entry a:hover>span{text-decoration:underline}}
.directory-waits{display:grid;grid-template-columns:repeat(2,minmax(0,9.5em));grid-auto-flow:column;grid-template-rows:auto auto;justify-content:start;gap:2px 20px;font-size:13px}
.directory-wait-label{color:var(--ink-3)}
.directory-wait{font-size:20px;font-weight:450;font-stretch:100%;letter-spacing:-.02em;color:var(--ink);line-height:1.15}
.directory-wait small{display:block;font-size:12px;font-weight:450;font-stretch:100%;letter-spacing:0;color:var(--ink-3)}
.directory-wait:is([data-level=stale],[data-level=neutral],[data-level=unknown],:not([data-level])){color:var(--ink-3);font-size:15px;font-stretch:100%}
.directory-jump>summary{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--brand);font-size:15px;font-weight:560}
.directory-jump>summary::after{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:var(--chev) center/contain no-repeat;mask:var(--chev) center/contain no-repeat}
.directory-jump[open]>summary::after{transform:rotate(180deg)}
.directory-wait:is([data-level=good],[data-level=moderate],[data-level=heavy])::before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:var(--st);vertical-align:3px}
.directory-empty{padding:24px 0;color:var(--ink-2)}
.directory-breadcrumb{margin-top:8px}
@media(min-width:760px){
  .directory-crossings>li{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:24px}
}
@media(min-width:1100px){
  .directory-list{display:block;columns:2;column-gap:64px}
  .directory-section{break-inside:avoid}
}

/* ---- Information pages: a readable measure ---- */
main>.crossing-prose:only-child,main>.crossing-prose:first-child:last-child{max-width:720px}
main>.crossing-prose:first-child{margin-top:32px}
/* The lede is larger, not bolder: a whole bold paragraph reads as shouting. */
.crossing-prose>p:first-child{font-size:19px;line-height:1.55;color:var(--ink)}
.crossing-prose>p:first-child strong{font-weight:inherit}
/* On the information pages a definition is a sentence: the term above it, the sentence left-aligned. */
main>.crossing-prose:only-child .fact-list>div{flex-direction:column;align-items:stretch;gap:3px}
main>.crossing-prose:only-child .fact-list dd{text-align:left;font-size:16px;font-weight:420}
main>.crossing-prose:only-child .fact-list dt{font-weight:560;color:var(--ink)}
.status-verdict{font-size:clamp(28px,6vw,36px);line-height:1.15;letter-spacing:-.03em;font-weight:600}

/* ---- Alerts: the trigger row, the dialog, the list on /alerts ---- */
.alert-trigger-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin-top:16px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.alert-action-intro{position:relative}
.alert-action-copy h2{font-size:var(--fs-h3);line-height:1.35;letter-spacing:-.012em}
.alert-action-description{margin-top:4px;font-size:14px;color:var(--ink-2);max-width:56ch}
.alert-action-controls{display:flex;flex-wrap:wrap;gap:8px}
.alert-action{gap:8px;padding:0 16px 0 14px;font-size:15px}
.alert-open-icon{width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6.2 16.4V11a5.8 5.8 0 0 1 11.6 0v5.4l1.6 2.1H4.6z'/%3E%3Cpath d='M10 20.6a2.1 2.1 0 0 0 4 0'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6.2 16.4V11a5.8 5.8 0 0 1 11.6 0v5.4l1.6 2.1H4.6z'/%3E%3Cpath d='M10 20.6a2.1 2.1 0 0 0 4 0'/%3E%3C/svg%3E") center/contain no-repeat}
.alert-trigger-row[data-state="alert"] .alert-action-intro{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.alert-trigger-row[data-state="alert"]{justify-content:flex-start;border:0;padding:0}
.alert-unavailable{margin-top:20px}
dialog{max-width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;padding:28px 24px 24px;border:1px solid var(--line);border-radius:24px;background:var(--page);color:var(--ink);box-shadow:var(--menu-shadow)}
dialog::backdrop{background:#0d131199}
.alert-dialog h2{font-size:22px;margin-bottom:8px;padding-right:44px}
.alert-dialog :where(h2,.alert-message)[tabindex="-1"]:focus{outline:none}
.alert-dialog-close{position:absolute;right:12px;top:12px;width:44px;min-width:44px;min-height:44px;padding:0;border:0;font-size:24px;color:var(--ink-2)}
.alert-dialog{position:fixed}
.alert-body{display:grid;gap:16px}
.alert-group{display:grid;gap:8px}
.alert-group-label{font-size:14px;font-weight:600;color:var(--ink-2)}
.alert-options,.alert-group>div{display:flex;flex-wrap:wrap;gap:8px}
.alert-dialog input[type=radio]{position:absolute;opacity:0;width:1px;height:1px}
.alert-dialog input[type=radio]+label{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--line-2);border-radius:999px;font-size:15px;font-weight:560}
.alert-dialog input[type=radio]:checked+label{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.alert-dialog input[type=radio]:focus-visible+label{outline:3px solid var(--focus);outline-offset:3px}
.alert-message{font-size:15px;color:var(--ink-2)}
.alert-submit{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.alert-cancel{color:var(--ink-2)}
.alert-saved-link{font-size:14px;font-weight:560}
.alert-recovery{margin-top:16px}
.alert-manage-state{margin-top:24px}
.alert-manage-list{display:grid;margin-top:16px}
.alert-manage-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--line)}
.alert-manage-copy{display:grid;gap:2px;font-size:15px}
.alert-manage-empty{color:var(--ink-2)}
.alert-manage-all{margin-top:20px}

/* ---- The embed generator ---- */
.embed-builder{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin-top:28px}
/* A long crossing name must not push its menu past a phone's edge. */
.embed-builder>div{display:grid;gap:6px;flex:1 1 240px;min-width:0;max-width:440px}
.embed-builder label{font-size:14px;font-weight:560;color:var(--ink-2)}
.embed-builder select{width:100%}
.embed-preview{display:block;margin-top:16px;border:0;max-width:100%}
textarea.embed-code{display:block;width:100%;min-height:10.5em;margin-top:12px;padding:12px 14px;border:1px solid var(--line-2);border-radius:12px;background:var(--panel);color:var(--ink);font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical;word-break:break-all}
textarea.embed-code:focus-visible{outline:3px solid var(--focus);outline-offset:2px}

/* ---- Not found ---- */
.not-found-shell{padding:56px 0 40px;max-width:640px}
.not-found-status{font-size:14px;font-weight:560;color:var(--ink-3)}
.not-found-intro{margin-top:14px;font-size:18px;color:var(--ink-2)}
.not-found-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:28px}
.not-found-actions>label{flex:1 1 100%;font-size:14px;font-weight:560;color:var(--ink-2)}
.corridor-select{min-height:44px;min-width:min(100%,280px)}
.not-found-actions>p{flex:1 1 100%;font-size:13px;color:var(--ink-3)}
.not-found-home{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:var(--brand);color:var(--on-brand);font-weight:560;text-decoration:none}
.not-found-actions a:not(.not-found-home){display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--line-2);border-radius:999px;color:var(--ink);font-weight:560;text-decoration:none}

/* ===========================================================================
   LAYER 4 — STATES, MOTION, FORCED COLOURS, PRINT
   =========================================================================== */
/* A stale figure turns grey and keeps its last value; its status is a hollow ring and its age in words
   ("Last report 1 hr 25 min ago", or the hero's "No report for 1 hr 25 min"), so the card's own age line,
   which would say it again, steps aside. With no report for 12 hours the hero keeps it: it is all there is. */
.crossing-card[data-state=stale]:not([data-hero-tier=none]) .card-stamp,.direction-pair[data-state=stale]:not([data-hero-tier=none]) .card-stamp{display:none}
/* A list card over an hour old says its age once, in its severity line ("Last report 1 hr 8 min ago"); its reported time would say it again. */
.crossing-card[data-state=stale]:not([data-hero-tier]) .report-details{display:none}
.crossing-card[data-state=stale] .wait-display,.direction-pair[data-state=stale] .wait-display{color:var(--ink-3)}
.crossing-card[data-state=stale],.direction-pair[data-state=stale]{--st:transparent;--st-ink:var(--old-ink);--st-ring:var(--old-ink)}
.crossing-card:is([data-state=closed],[data-state=reported-closed],[data-state=path-closed]) .wait-display,.direction-pair:is([data-state=closed],[data-state=reported-closed],[data-state=path-closed]) .wait-display{color:var(--ink-2)}
.crossing-card:is([data-level=unknown],[data-level=neutral]),.direction-pair:is([data-level=unknown],[data-level=neutral]){--st:var(--old)}
.crossing-card:is([data-level=unknown],[data-level=neutral]) .wait-display,.direction-pair:is([data-level=unknown],[data-level=neutral]) .wait-display{color:var(--ink-2)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  .board-clock::before{animation:bd-pulse 2.6s ease-in-out infinite}
  @keyframes bd-pulse{50%{box-shadow:0 0 0 6px transparent}}
}
/* In dark mode the soft panel sits close to the page, so it carries a hairline edge as well. */
:root[data-theme="dark"] :is(.crossing-page .primary-crossings,.lowest-wait,.bento){outline:1px solid var(--line-2);outline-offset:-1px}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) :is(.crossing-page .primary-crossings,.lowest-wait,.bento){outline:1px solid var(--line-2);outline-offset:-1px}}
@media(forced-colors:active){
  .severity::before,.corridor-level::before,.scale-item::before,.pair-status::before,.board-clock::before{forced-color-adjust:none;background:CanvasText}
  .lowest-wait,.crossing-page .primary-crossings,.bento{border:1px solid CanvasText}
  .route-line,.route-line::after{background:CanvasText}
}
@media print{
  .masthead,.trip-controls,.alert-trigger-row,.footer .trust-links,.skip-link{display:none}
  :root{--page:#fff;--ink:#000}
}

/* ===========================================================================
   v57 — the usability audit of 29 October 2026
   =========================================================================== */
/* A phone gets the border links as well: one row under the mark, search and language. */
@media(max-width:959px){
  .site-nav{display:flex;order:10;flex:1 1 100%;flex-wrap:wrap;gap:0 2px;margin:-8px 0 4px -12px}
  .site-nav a{min-height:44px}
}
@media(max-width:359px){.site-nav a{padding:0 8px;font-size:14px}}
/* A guide's section list sits under its title, before the trip controls. */
.guide-jump[data-title-jump]{margin-top:var(--s5)}
.guide-jump[data-title-jump] .guide-jump-label{flex-basis:auto}
/* "Can I use this lane?", on its own row under the lane buttons. */
.lane-eligibility{flex:1 1 100%;max-width:62ch;margin:0;font-size:13px;line-height:1.45;color:var(--ink-2)}
.lane-eligibility strong{color:var(--ink);font-weight:620}
.lane-eligibility a{color:var(--brand)}
/* Another trip's charts and tables, folded behind a label that says whose they are. */
.trip-fold>summary{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:var(--s6);color:var(--brand);font-size:15px;font-weight:560;cursor:pointer}
.trip-fold>summary[hidden]{display:none}
.trip-fold>summary::after{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:var(--chev) center/contain no-repeat;mask:var(--chev) center/contain no-repeat}
.trip-fold[open]>summary::after{transform:rotate(180deg)}
body[data-direction=to-mexico] .trip-fold .vz-section{display:block}
/* On foot, the vehicle lanes under the chart have a heading of their own. */
.lrow-list+.lrows-h{margin-top:24px}
/* Search: the facilities that cannot serve the trip, after the ones that can. */
.crossing-search-list>li.search-group{padding:20px 0 8px;border-top:0;color:var(--ink-2);font-size:14px;font-weight:620}
.search-reason{color:var(--ink-3)}

/* ===========================================================================
   v58 — decision first (the 3 November 2026 build specification)
   =========================================================================== */
/* A guide's wait carries one line of context: a material change in the agency's reports (10 min or
   more, data-material) when there is one, otherwise the usual wait for this hour. The outlook under
   them is written only for a material change (public/usual-model.js outlookNext). */
.trend-text:not([data-material]):has(~.usual-now:not([hidden])){display:none}
.trend-text[data-material]:not([hidden])~.usual-now{display:none}
/* "Passenger" says what it covers; its definition stays the lane buttons' description for screen
   readers (aria-describedby). The commercial and on-foot notes say what the board will not show. */
.mode-note[data-travel=passenger]{display:none}
/* The front door's live preview: one corridor's board in miniature, on the panel the saved crossings
   use, beside the search from 960px. Saved crossings take its place. */
.preview{margin-top:var(--section)}
.home main:has(>#mine:not([hidden]),>#near:not([hidden]))>#preview{display:none}
.preview-h{font-size:var(--fs-h3);line-height:1.3;letter-spacing:-.012em}
.preview-trip{margin-top:2px;font-size:14px;color:var(--ink-3)}
.preview-board{margin-top:14px;padding:6px 20px;border-radius:28px;background:var(--panel)}
.preview-rows{display:grid}
.preview-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:6px;padding:14px 0}
.preview-row+.preview-row{border-top:1px solid var(--line-panel)}
.preview-name{grid-column:1/-1;display:inline-flex;align-items:center;min-height:44px;margin:-10px 0 -4px;width:fit-content;color:var(--ink);font-size:16px;font-weight:620;letter-spacing:-.012em;line-height:1.3;text-decoration:none}
.preview-cell{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;row-gap:0;min-width:0}
.preview-dir{flex:1 1 100%;font-size:13px;color:var(--ink-3)}
.preview-cell>.corridor-level{font-size:13px}
.preview-age{flex:1 1 100%;font-size:13px;color:var(--ink-3)}
.preview-quiet{font-size:14px;font-weight:520;line-height:1.35;color:var(--ink-3)}
.preview-all{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;color:var(--brand);font-size:15px;font-weight:560}
@media(hover:hover){.preview-name:hover{text-decoration:underline}}
@media(min-width:960px){
  .home main:has(>#preview:not([hidden])):not(:has(>#crossing-search-results:not([hidden])))>.home-intro{grid-column:1;grid-row:1/span 4}
  .home main>#preview{grid-column:2;margin-top:64px}
}
:root[data-theme="dark"] .preview-board{outline:1px solid var(--line-2);outline-offset:-1px}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .preview-board{outline:1px solid var(--line-2);outline-offset:-1px}}
@media(forced-colors:active){.preview-board{border:1px solid CanvasText}}
/* Both directions share one layout (owner's ruling, 3 November 2026). A report one cycle late keeps
   the full-size figure, in grey and without its status dot; its report time sits on its own line under
   the figure, and the hollow ring with "Last report … ago" follows, as a current report's status line
   does. Older reports keep their own treatment: the words take the figure's place. */
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=missed] .wait-display:has(>.wait-value){font-size:clamp(44px,12vw,72px);color:var(--ink-3)}
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=missed] .wait-display:has(>.wait-unit[hidden]){font-size:clamp(44px,12vw,72px);letter-spacing:-.025em}
/* The time hangs under the figure, out of the figure's box, so both directions' figures sit on one line. */
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=missed] .wait-display:has(>.wait-at:not([hidden])){position:relative}
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=missed] .wait-display>.wait-at{position:absolute;left:0;top:calc(100% + 8px);letter-spacing:0;line-height:1.4;white-space:nowrap;color:var(--ink-3)}
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=missed]:has(.wait-at:not([hidden])) .severity{margin-top:44px}
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=missed] .wait-display:has(>.wait-at){margin-left:0}
.crossing-page .primary-crossings>:is(.crossing-card,.direction-pair)[data-hero-tier=missed] .wait-display:has(>.wait-at)>:is(.wait-value,.wait-at){margin-left:0}
/* The other direction's route actions, after its report line, as in the trip's own column. */
.direction-pair>.pair-links{order:11;margin-top:6px}
/* Below 1024px the other direction's column is hidden, so the trip's card is the panel's only column and
   draws no divider above it (it showed as a stray line when the hidden column came first, "To Canada"). */
@media(max-width:1023px){body[data-pair].crossing-page .primary-crossings>.direction-pair+.crossing-card{border-top:0}}
/* One size for the hero's answer, a figure or words (owner's ruling, 3 November 2026: "5" beside
   "No delay" must not dwarf it). Both take the words' size and weight; the unit stays small beside the
   figure. With the two the same height, the desktop no longer reserves a taller box for figures. */
.crossing-page .wait-display,.direction-pair>.wait-display{font-size:clamp(44px,12vw,72px);font-weight:340;letter-spacing:-.03em;line-height:1}
@media(min-width:1024px){.crossing-page .wait-display,.direction-pair>.wait-display{min-height:0}}

/* ===========================================================================
   v59 — the consistency pass (4 November 2026)
   =========================================================================== */
/* An iPhone home-screen app draws the page under the status bar (viewport-fit=cover), and iOS
   frosts that strip: the header sat inside it and read as blurred. The header starts below it.
   In a browser tab the inset is 0, so nothing moves. */
.masthead{padding-top:env(safe-area-inset-top,0px)}
/* One size for a figure and its words, in every list, tile and panel (owner's ruling, 3 November
   2026: "5 min" must not dwarf "No delay"). An old or missing report stays the smaller grey line. */
.corridor-wait,.corridor-wait:has(>.corridor-wait-unit[hidden]){font-size:20px;font-weight:560;letter-spacing:-.012em}
.lrow-val .corridor-wait{font-size:20px}
/* Corridor boards: the same size for a figure and "No delay", like the guide hero. */
.corridor-page .wait-display,.corridor-page .wait-display:has(>.wait-unit[hidden]){font-size:30px;font-weight:400;letter-spacing:-.02em;line-height:1.1}
/* A board card says its report once: the age with its agency, as the guide hero does. The report
   time under it named the same report again. */
.corridor-page .crossing-card:has(.card-stamp .freshness:not([hidden]):not([data-shared])) .report-details{display:none}
@media(min-width:960px){
  .corridor-page .wait-display,.corridor-page .wait-display:has(>.wait-unit[hidden]){font-size:40px;font-weight:340;letter-spacing:-.03em;line-height:1}
  /* A board column reads like the guide hero: name, the answer, then its status or its age. An old
     report's "Last report … ago" no longer sits above its figure and pushes it below its neighbours'. */
  .corridor-page :is(.row-main,.card-metric)>*{order:10}
  .corridor-page .card-header{order:1}
  .corridor-page .wait-display{order:2}
  .corridor-page .severity{order:3;margin-top:10px}
  .corridor-page .trend-text{order:4}
}
/* A saved crossing on a border that reports both ways shows both, in the "right now" panel's cells. */
.tile-cells{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;margin-top:10px}
.tile-both .tile-trip{color:var(--ink-3)}
/* The home page's U.S.–Canada list follows the visitor's direction: the hubs' switch, under its heading. */
.wing-switch{margin-top:10px}
.wing-meta .wing-age[hidden],.wing-rows[hidden]{display:none}
/* In the switch's place on the U.S.–Mexico list, the reason it has none, at the switch's height so the two lists' rows line up. */
.wing-switch-note{display:flex;align-items:center;min-height:50px;margin-top:10px;font-size:13px;line-height:1.4;color:var(--ink-3)}
