/*
 * Site stylesheet: the "Concourse" look (docs/design-t29.md). Airport wayfinding: black signs with signal yellow,
 * flight lists as dark departure boards. Reading text stays calm on a light page.
 * Mobile first, no framework, no image files, no external requests. The typeface is two small font files of our own
 * (public/assets/fonts/).
 *
 * Three rules carry the look:
 *   1. Yellow is a sign you can follow (menu, quick links, the board switch, a button) or a time on a board.
 *      Nothing else is yellow: no heading mark, no decoration, never a partner box, never an ad.
 *   2. The fixed-width face and capitals belong to the board: times, flight numbers, airport codes, status words.
 *      Signs and headings are heavy and mixed case, as airport signs are; labels are plain small text.
 *   3. Black is a sign or a board; the page a visitor reads is light.
 *
 * Colours are tokens on :root. Black bands and boards look the same in both colour schemes; the page around them
 * follows the visitor's system setting. Every text/background pair is at least 4.5:1 (3:1 for large text).
 * Status never relies on colour alone: each status carries its words and a small shape, and a cancelled flight is
 * also struck through.
 */
:root {
    color-scheme: light dark;
    --page: 80rem;
    /* The widest a block of text gets: the width of a guide's main column beside "On this page" (80 - 3 padding - 17
       - 3 gap). Text, tables and ads in that column are all this wide (owner's decision, 21 November 2026). */
    --measure: 57rem;
    /* the black parts: header, title band, boards, footer */
    --ink: #111315; --panel: #181b1f; --panel-2: #23272c; --line-d: #363c43; --on-dark: #f2f4f6; --quiet: #bfc7ce;
    --yellow: #ffcc00;
    --ok: #6fe39a; --late: #ffbd59; --bad: #ff9c9c; --info: #a8d1ff;
    /* the page */
    --bg: #f3f2ee; --surface: #ffffff; --text: #111315; --muted: #50585f; --border: #d3d0c7; --strong: #111315;
    --head-bg: #111315; --head-fg: #ffffff; --btn-bg: #111315; --btn-fg: #ffffff; --btn-hover: #33383e;
    --ok-t: #17602c; --late-t: #7d4300; --bad-t: #a3181d;
    --warn-bg: #fff6d6; --warn-border: #a37f0e; --warn-fg: #4d3b00; --info-bg: #e6eef8; --info-fg: #17406e;
    --focus: #111315;
    --mono: "Overpass Mono", ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace;
    --sans: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Overpass and Overpass Mono, drawn from the road-sign alphabet (SIL Open Font License 1.1: public/assets/fonts/OFL.txt).
   One variable file per family, Latin characters only; anything else falls back to the system font. Text shows at once
   in the system font and changes when the file has arrived (swap). A file name carries its version, because /assets/
   is cached for a year: a changed file gets a new name here and in the preload line of templates/layout.php. */
@font-face {
    font-family: "Overpass"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url(../fonts/overpass-latin-v19.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Overpass Mono"; font-style: normal; font-weight: 300 700; font-display: swap;
    src: url(../fonts/overpass-mono-latin-v21.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c0d0f; --surface: #17191d; --text: #eceff1; --muted: #a9b2ba; --border: #2c3238; --strong: #eceff1;
        --head-bg: #23272c; --head-fg: #ffffff; --btn-bg: #eceff1; --btn-fg: #111315; --btn-hover: #ffffff;
        --ok-t: #6fe39a; --late-t: #ffbd59; --bad-t: #ff9c9c;
        --warn-bg: #2f2808; --warn-border: #8a7216; --warn-fg: #f1dc8a; --info-bg: #14283f; --info-fg: #a9cdf5;
        --focus: #ffcc00;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0; font: 16px/1.6 var(--sans); color: var(--text); background: var(--bg);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word;
}

/* Type scale (rem): .8 labels, .875 small, 1 text, 1.125 h3, 1.3125 h2, 1.75 to 2.25 h1 (to 3 on the home page).
   Headings are 800 and mixed case, tightened a little. */
h1, h2, h3 { font-weight: 800; letter-spacing: -.015em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); margin: 0 0 .75rem; }
h2 { font-size: 1.3125rem; margin: 2.25rem 0 .7rem; }
h3 { font-size: 1.125rem; margin: 1.4rem 0 .4rem; }
p, ul, ol, dl { margin: 0 0 1rem; }
a { color: inherit; text-decoration-thickness: .09em; text-underline-offset: .2em; }
/* Links in the text are the text colour, underlined and a little heavier; yellow marks the one under the pointer.
   :where() keeps these rules weak, so every component below can set its own links. */
:where(.page-body) a:where(:not([class])) { font-weight: 600; }
:where(.page-body) a:where(:not([class])):hover { background: var(--yellow); color: #111315; text-decoration: none; }
img, figure { max-width: 100%; height: auto; }
time, .tabular { font-variant-numeric: tabular-nums; }
button, input, select { font: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.site-header :focus-visible, .page-top :focus-visible, .board-wrap :focus-visible, .board-preview :focus-visible,
.home-board :focus-visible, .live :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
.quick :focus-visible, .board-switch a[aria-current]:focus-visible, .site-nav a[aria-current]:focus-visible { outline-color: #ffffff; }
.page-body .quick :focus-visible { outline-color: var(--focus); }
main:focus { outline: none; }

.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: absolute; left: .5rem; top: -4rem; z-index: 10;
    background: #ffffff; color: #111315; padding: .6rem .9rem; border: 3px solid var(--yellow);
}
.skip-link:focus { top: .5rem; }
.wrap, .header-inner, .footer-inner { max-width: var(--page); margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.icon { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.plane { fill: currentColor; }
@media (min-width: 48rem) {
    .wrap, .header-inner, .footer-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Header: a black sign with a yellow rule under it. No script: the menu is one row, beside the name when there is
   room, else its own row that scrolls sideways (the fade at the right edge says there is more); on a phone it is a grid of four to a row. */
.site-header { background: var(--ink); color: #ffffff; border-bottom: 4px solid var(--yellow); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; padding-top: .4rem; }
.site-name { display: flex; align-items: center; gap: .55rem; min-height: 44px; color: #ffffff; text-decoration: none; }
.logo { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; background: var(--yellow); color: var(--ink); border-radius: 3px; }
.logo .plane { width: 1.5rem; height: 1.5rem; }
.name-main { font-weight: 900; font-size: 1.4rem; letter-spacing: .03em; line-height: 1; }
.name-sub { font-size: 1rem; font-weight: 600; color: #dfe3e7; }
.site-nav { flex: 1 1 100%; min-width: 0; margin: 0 -1rem; }
.site-nav ul {
    list-style: none; margin: 0; padding: 0 2.5rem 0 .3rem; display: flex; flex-wrap: nowrap;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
}
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav li { flex: none; }
.site-nav a {
    display: flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .7rem; color: #ffffff; text-decoration: none;
    font-size: .95rem; font-weight: 700; white-space: nowrap;
}
.site-nav a:hover { background: var(--panel-2); }
.site-nav a[aria-current="page"] { background: var(--yellow); color: var(--ink); }
.site-nav a:focus-visible { outline-offset: -3px; }
.nav-tag { font-size: .7rem; font-weight: 600; border: 1px solid currentColor; border-radius: 2px; padding: 0 .3em; }
/* On a phone the whole menu shows, four to a row, so no item is hidden off the side (T34 F6). */
@media (max-width: 39.99rem) {
    .site-nav ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
    .site-nav a { justify-content: center; padding: 0 .15rem; font-size: .8rem; gap: .2rem; }
    .nav-tag { font-size: .6rem; }
}
@media (min-width: 48rem) {
    .site-nav { margin: 0 -1.5rem; }
    .site-nav ul { padding-left: .8rem; }
}
@media (min-width: 68rem) {
    .site-name { margin-bottom: .4rem; }
    .site-nav { flex: 0 1 auto; margin: 0 0 0 auto; }
    .site-nav ul { padding: 0; -webkit-mask-image: none; mask-image: none; }
}

main { min-height: 50vh; }

/* Notices: a left rule, not a box. The staging and draft notices are a strip across the top of the page. */
.staging-notice, .draft-notice, .notice {
    margin: 0 0 1rem; padding: .6rem .8rem; border-left: 4px solid var(--warn-border);
    background: var(--warn-bg); color: var(--warn-fg); font-size: .9rem; max-width: var(--measure);
}
.notice-info { border-left-color: var(--info-fg); background: var(--info-bg); color: var(--info-fg); }
main > .staging-notice, main > .draft-notice {
    margin: 0; max-width: none; border-left: 0; border-bottom: 1px solid var(--warn-border);
    padding: .5rem max(1rem, calc((100% - var(--page)) / 2 + 1.5rem));
}

/* The band under the header: breadcrumbs and the page title, on black */
.page-top { background: var(--ink); color: #ffffff; padding: 1.1rem 0 1.4rem; }
.page-top h1 { max-width: 48rem; }
.page-top .meta, .updated { margin: 0; max-width: none; color: var(--quiet); font-size: .9rem; }
.page-top .summary { margin: 0; max-width: var(--measure); color: #dfe3e7; }
.crumbs { margin: 0 0 .6rem; color: var(--quiet); font-size: .875rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.crumbs li + li::before { content: "\203A"; margin: 0 .45em; }
.crumbs a { display: inline-block; padding: 1rem 0; margin: -1rem 0; color: #ffffff; }
.updated time { color: var(--ok); font: 700 .95rem var(--mono); }
.updated::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .5rem; border-radius: 50%; background: var(--ok); }
.page-body { padding-top: 1.5rem; padding-bottom: 3rem; }
.page-body > :first-child { margin-top: 0; }
.plain-page .page-body > p { max-width: var(--measure); }
@media (prefers-color-scheme: dark) {
    .page-top { border-bottom: 1px solid var(--line-d); }
}

/* Quick links: yellow wayfinding signs (home page, "not found" page) */
.hero { padding-top: 1.5rem; padding-bottom: 1.75rem; }
.hero h1 { font-size: clamp(1.9rem, 5.6vw, 3rem); max-width: 22ch; margin-bottom: 1.25rem; }
.quick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.quick a {
    display: flex; align-items: center; gap: .6rem; min-height: 3.25rem; padding: .4rem .7rem; background: var(--yellow); color: var(--ink);
    border-radius: 3px; text-decoration: none; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em;
}
.quick a:hover { background: #ffffff; }
.page-body .quick a:hover { background: var(--yellow); box-shadow: inset 0 0 0 3px var(--ink); }
.quick .icon { width: 1.6rem; height: 1.6rem; stroke-width: 2.4; }
.page-body .quick { max-width: 56rem; }
@media (min-width: 46rem) { .quick ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Boards: a dark panel, yellow times in a fixed-width face. A flight is a stacked row; from 56rem the full board is
   a table. The small boards (home page, board_preview shortcode) stay stacked at every width, because two of them
   stand side by side on desktop. */
.board-wrap, .board-preview, .home-board { background: var(--panel); color: var(--on-dark); border-radius: 6px; overflow: hidden; }
.board-wrap, .board-preview { margin: 0 0 1rem; }
.board-preview .board-wrap, .home-board .board-preview { margin: 0; border-radius: 0; }
.board-preview > p:first-child { margin: 0; padding: .9rem; }
.board-preview a, .board-wrap a { color: #ffffff; font-weight: inherit; }
.board-preview a:hover, .board-wrap a:hover { background: none; color: #ffffff; text-decoration: underline; text-decoration-thickness: .15em; }
.board { display: block; width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board tbody { display: block; }
.board thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.board th, .board td { text-align: left; vertical-align: top; font-weight: inherit; }
.board tr.flight {
    display: grid; grid-template-columns: 5.9rem minmax(0, 1fr) auto; grid-template-areas: "time city term" "time flight flight" "time status status";
    column-gap: .7rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line-d);
}
.board-compact tr.flight { grid-template-areas: "time city city" "time flight flight" "time status status"; }
.board tr.flight td { display: block; padding: 0; }
.board tr.flight td.c-airline, .board tr.flight td.c-term.none { display: none; }
.board .c-time { grid-area: time; white-space: nowrap; }
.board td.c-city { grid-area: city; line-height: 1.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.board td.c-flight { grid-area: flight; line-height: 1.75rem; }
.board td.c-term { grid-area: term; }
.board td.c-status { grid-area: status; }
.board .c-time time { color: var(--yellow); font: 700 1.02rem/1.4 var(--mono); }
.board .est { display: block; color: var(--quiet); font: .74rem/1.3 var(--mono); white-space: nowrap; }
.board .est-late { color: var(--late); }
.board .fn { font: 600 .95rem/1.6 var(--mono); white-space: nowrap; }
.board .airline, .board .al { margin-left: .4rem; color: var(--quiet); font-size: .88rem; }
.board td.c-airline { color: var(--quiet); font-size: .88rem; }
.board .code { color: var(--quiet); font: 400 .8rem var(--mono); letter-spacing: 0; }
.board .none { color: var(--quiet); }
.board .c-term a, .board .term {
    position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 2.1rem; height: 1.7rem; padding: 0 .35rem;
    border: 1.5px solid #ffffff; border-radius: 3px; color: #ffffff; font: 700 .82rem var(--mono); text-decoration: none; white-space: nowrap;
}
.board .c-term.t-short a::before, .board .c-term.t-short .term::before { content: "T"; }
.board .c-term a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.status { color: var(--quiet); font: 700 .8rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
/* A small shape in front of the words (silent for screen readers where the alt syntax is supported). */
.status::before { content: "\2022\00a0"; content: "\2022\00a0" / ""; }
.s-on-time::before { content: "\2713\00a0"; content: "\2713\00a0" / ""; }
.s-delayed::before { content: "\25B2\00a0"; content: "\25B2\00a0" / ""; }
.s-cancelled::before { content: "\2715\00a0"; content: "\2715\00a0" / ""; }
.s-diverted::before { content: "\25C6\00a0"; content: "\25C6\00a0" / ""; }
.s-departed::before, .s-landed::before { content: "\25CF\00a0"; content: "\25CF\00a0" / ""; }
.s-en-route::before { content: "\25CB\00a0"; content: "\25CB\00a0" / ""; }
.s-expected::before, .s-no-update::before, .s-unconfirmed::before { content: "\2013\00a0"; content: "\2013\00a0" / ""; }
.s-on-time { color: var(--ok); }
.s-delayed { color: var(--late); }
.s-cancelled, .s-diverted { color: var(--bad); }
.s-departed, .s-landed, .s-en-route { color: var(--info); }
.s-no-update, .s-unconfirmed { font-style: italic; }
/* Tomorrow's usual schedule: the status column holds the usual days, in the board's quiet grey (not a live status). */
.s-usual { color: var(--on-dark); }
.s-usual::before { content: "\25F7\00a0"; content: "\25F7\00a0" / ""; color: var(--quiet); }
.board .status, .live .status { margin-right: .5rem; }
.board .note, .live .note { display: inline-block; color: var(--quiet); font: .75rem/1.4 var(--mono); white-space: nowrap; }
/* Row states: a rule at the left edge as well as the status, so a delayed or cancelled flight stands out without colour alone */
.board tr.is-delayed { box-shadow: inset 4px 0 0 var(--late); }
.board tr.is-cancelled, .board tr.is-diverted { box-shadow: inset 4px 0 0 var(--bad); }
.board tr.is-cancelled .c-time time { text-decoration: line-through; }
.board tr.is-cancelled td.c-city, .board tr.is-cancelled td.c-flight { color: var(--quiet); }
.board tr.board-now, .board tr.board-day, .board tr.board-now td, .board tr.board-day th { display: block; }
.board tr.board-now td { padding: 0; }
.board tr.board-now span { display: block; padding: .2rem .9rem; background: var(--yellow); color: var(--ink); font: 800 .72rem/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.board tr.board-day th { padding: .35rem .9rem; background: var(--panel-2); color: var(--quiet); font: 600 .75rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
/* Links in a flight row get a 44 px tall touch area without changing the row's height. */
.board td a { position: relative; }
.board td a::after { content: ""; position: absolute; left: -.35rem; right: -.35rem; top: -1rem; bottom: -1rem; }
.board td.c-city a::after { top: -1.75rem; bottom: 0; }
.board .fn a::after { top: 0; bottom: -1.75rem; }
.board .c-term a::after { left: -.6rem; right: -.6rem; top: -.85rem; bottom: -.85rem; }
@media (min-width: 56rem) {
    .board:not(.board-compact) { display: table; }
    .board:not(.board-compact) tbody { display: table-row-group; }
    .board:not(.board-compact) thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; }
    .board:not(.board-compact) thead th {
        padding: .5rem .8rem; background: var(--ink); color: var(--quiet); border-bottom: 1px solid var(--line-d);
        font: 700 .68rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
    }
    .board:not(.board-compact) tr.flight, .board:not(.board-compact) tr.board-now, .board:not(.board-compact) tr.board-day { display: table-row; padding: 0; border: 0; box-shadow: none; }
    .board:not(.board-compact) tr.flight td, .board:not(.board-compact) tr.board-now td, .board:not(.board-compact) tr.board-day th { display: table-cell; }
    .board:not(.board-compact) tr.flight td.c-airline, .board:not(.board-compact) tr.flight td.c-term.none { display: table-cell; }
    .board:not(.board-compact) tr.flight td { padding: .6rem .8rem; border-bottom: 1px solid var(--line-d); line-height: 1.6; }
    .board:not(.board-compact) tr.board-day th { padding: .35rem .8rem; }
    .board:not(.board-compact) tr.board-now span { padding: .2rem .8rem; }
    .board:not(.board-compact) .al { display: none; }
    .board:not(.board-compact) tr.is-delayed td:first-child { box-shadow: inset 4px 0 0 var(--late); }
    .board:not(.board-compact) tr.is-cancelled td:first-child, .board:not(.board-compact) tr.is-diverted td:first-child { box-shadow: inset 4px 0 0 var(--bad); }
    .board:not(.board-compact) tbody tr.flight:hover { background: var(--panel-2); }
    .board:not(.board-compact) td a::after, .board:not(.board-compact) td.c-city a::after, .board:not(.board-compact) .fn a::after { top: -.9rem; bottom: -.9rem; }
    /* A long board is printed as two tables with an ad between them (and the earlier flights are a third): fixed
       widths for every column but the city keep their columns in line. */
    .board th.c-time { width: 7.5rem; }
    .board th.c-flight { width: 7rem; }
    .board th.c-airline { width: 14rem; }
    .board th.c-term { width: 6.5rem; }
    .board th.c-status { width: 17rem; }
}
@media (min-width: 56rem) and (max-width: 71.99rem) {
    .board th.c-airline { width: 11rem; }
    .board th.c-status { width: 13rem; }
    .board:not(.board-compact) .note { display: block; }
}

/* Home page: the two small boards */
.home-boards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: .5rem; }
@media (min-width: 64rem) { .home-boards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
.panel-head { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; background: var(--ink); border-bottom: 1px solid var(--line-d); }
.panel-head h2 { margin: 0; font-size: 1.125rem; }
.board-more { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; padding: 0 .9rem; border-top: 1px solid var(--line-d); }
.board-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--yellow); font-weight: 800; text-decoration: none; }
.board-more a:hover { background: none; color: var(--yellow); text-decoration: underline; }
.board-more .meta { margin: 0; color: var(--quiet); font-size: .8rem; text-align: right; }
.data-credit, .board-key { margin: .75rem 0; color: var(--muted); font-size: .85rem; max-width: var(--measure); }
.data-note { margin-top: 0; }

/* Board page: the switch between the two boards, the filter, earlier flights */
.board-switch { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; }
.board-switch a {
    display: flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .9rem; border: 2px solid #ffffff; border-radius: 3px;
    color: #ffffff; text-decoration: none; font-weight: 800;
}
.board-switch a:hover { background: var(--panel-2); }
.board-switch a[aria-current] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
/* Yesterday, today, tomorrow: quieter than the board switch above it, a yellow rule under the day shown. */
.day-switch { display: flex; flex-wrap: wrap; gap: 0 .25rem; margin: .5rem 0 0; }
.day-switch a {
    display: flex; align-items: center; min-height: 44px; padding: 0 .75rem; border-bottom: 3px solid var(--line-d);
    color: #ffffff; font-weight: 700; text-decoration: none;
}
.day-switch a:hover { border-bottom-color: var(--quiet); }
.day-switch a[aria-current] { border-bottom-color: var(--yellow); }
/* Search and button on one row, the two lists under it; one row from 44rem. */
.board-filter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; margin: .6rem 0 0; --go: 6.25rem; }
.board-filter .field-q { grid-column: 1 / 3; grid-row: 1; padding-right: calc(var(--go) + .5rem); }
.board-filter .actions { grid-column: 2; grid-row: 1; justify-self: end; width: var(--go); }
.board-filter .field-airline { grid-column: 1 / 3; }
.board-filter.has-terminals .field-airline { grid-column: 1; }
.board-filter input, .board-filter select {
    width: 100%; min-height: 44px; padding: .35rem .7rem; background: #ffffff; color: #111315; border: 2px solid #ffffff; border-radius: 3px;
}
.board-filter button {
    width: 100%; min-height: 44px; padding: 0 1.2rem; background: var(--yellow); color: var(--ink); border: 0; border-radius: 3px;
    font-weight: 800; cursor: pointer;
}
.board-filter button:hover { background: #ffffff; }
@media (min-width: 44.01rem) {
    .board-filter { grid-template-columns: 2fr 1.3fr 1fr auto; max-width: 52rem; }
    .board-filter .field-q { grid-column: auto; grid-row: auto; padding-right: 0; }
    .board-filter .actions { grid-column: auto; grid-row: auto; justify-self: stretch; width: auto; }
    .board-filter .field-airline, .board-filter.has-terminals .field-airline { grid-column: auto; }
}
.result-count { margin: 0 0 .75rem; color: var(--muted); }
.empty { padding: 1rem 0; }
details.earlier { margin: 0 0 1rem; }
details.earlier > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
details.earlier[open] > summary { margin-bottom: .5rem; }
.board-intro { margin-top: 2rem; }
/* The day's summary line, then the part of the day shown: a row of start times (one scrolling line on a phone), the
   range, "Earlier" above the list and "Later" below it. */
.board-summary { margin: 0 0 .9rem; max-width: 48rem; font-size: 1.0625rem; }
.board-summary strong { font-variant-numeric: tabular-nums; font-weight: 800; }
.board-times { display: flex; gap: .35rem; margin: 0 0 .6rem; padding-bottom: .2rem; overflow-x: auto; scrollbar-width: thin; }
.board-times a {
    flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; border: 1.5px solid var(--border); border-radius: 3px;
    background: var(--surface); color: var(--text); font: 600 .82rem var(--mono); text-decoration: none; white-space: nowrap;
}
.board-times a:hover { border-color: var(--strong); }
.board-times a[aria-current] { background: var(--strong); border-color: var(--strong); color: var(--bg); }
@media (min-width: 44.01rem) { .board-times { flex-wrap: wrap; overflow-x: visible; } }
.board-range { margin: 0 0 .25rem; color: var(--muted); font-size: .9rem; }
.board-range strong { color: var(--text); font-variant-numeric: tabular-nums; }
.board-step { margin: 0 0 .5rem; }
.board-step a { display: inline-flex; align-items: center; min-height: 44px; }
.board-step .count { color: var(--muted); font-size: .85rem; }
.step-later { margin-top: -.25rem; }

/* Flight and route pages: they reuse the board and its status words */
.route-strip {
    display: grid; grid-template-columns: auto minmax(3rem, 1fr) auto; align-items: center; gap: .9rem; max-width: 34rem; margin-top: 1.1rem;
    padding: .9rem 1rem; background: var(--panel); border-radius: 6px;
}
.rs-end { display: grid; }
.rs-end:last-child { text-align: right; }
.rs-code { color: var(--yellow); font: 700 2.1rem/1 var(--mono); letter-spacing: .04em; }
.rs-city { margin-top: .3rem; font-size: .875rem; font-weight: 700; }
.rs-mid { display: grid; justify-items: center; gap: .15rem; color: var(--quiet); font: .75rem var(--mono); }
.rs-fn { color: #ffffff; font-weight: 700; white-space: nowrap; }
.rs-line { display: grid; place-items: center; width: 100%; background: linear-gradient(var(--line-d), var(--line-d)) center / 100% 2px no-repeat; }
.rs-line .plane { box-sizing: content-box; width: 1.4rem; height: 1.4rem; padding: 0 .2rem; background: var(--panel); color: #ffffff; transform: rotate(45deg); }
/* A flight's and a route's page have no column beside the text: the facts, the tables and the ad use the whole page,
   and so does the text between them (owner's decision, 21 November 2026). The texts there are short: a summary and
   notes of a line or two. */
.flight-page .page-body, .route-page .page-body, .routes-index .page-body { --measure: 100%; }
.summary { max-width: var(--measure); font-size: 1.05rem; }
.block { margin: 2rem 0; }
.block > h2 { margin-top: 0; }
.block > p, .meta { max-width: var(--measure); }
.meta { color: var(--muted); font-size: .875rem; margin: .25rem 0 .75rem; }
.live-list { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .6rem; }
@media (min-width: 46rem) { .live-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 48rem; } }
.live {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; align-items: end; padding: .85rem 1rem;
    background: var(--panel); color: #ffffff; border-radius: 6px; border-left: .4rem solid var(--quiet);
}
.live.is-on-time { border-left-color: var(--ok); }
.live.is-delayed { border-left-color: var(--late); }
.live.is-landed, .live.is-en-route, .live.is-departed { border-left-color: var(--info); }
.live.is-cancelled, .live.is-diverted { border-left-color: var(--bad); }
.live-when { grid-column: 1 / -1; font-weight: 700; }
.live-time .lbl { display: block; color: var(--quiet); font-size: .8rem; }
.live-time time { color: var(--yellow); font: 700 1.75rem/1.1 var(--mono); }
.live .est { display: block; color: var(--late); font: .85rem/1.6 var(--mono); white-space: nowrap; }
.live-status { grid-column: 1 / -1; }
.live .status { font-size: .9rem; }
.live-term { grid-column: 2; grid-row: 2; align-self: end; color: var(--quiet); font-size: .875rem; }
.live-term a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; border: 1.5px solid #ffffff; border-radius: 3px;
    color: #ffffff; text-decoration: none; font-weight: 700; white-space: nowrap;
}
.live-term a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 0 0 .9rem; background: var(--surface);
    border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}
.facts > div { margin: 0 -1px -1px 0; padding: .7rem .9rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.facts dt { color: var(--muted); font-size: .875rem; }
.facts dd { margin: .15rem 0 0; font-weight: 700; font-size: 1.05rem; }
.facts dd a { display: inline-block; padding: .75rem 0; margin: -.75rem 0; }
.activity { padding-left: 1.1rem; color: var(--muted); font-size: .9rem; max-width: var(--measure); }
/* overflow-y: the enlarged touch area of a link in the last row reaches 2px below the table; without this the box
   would get a scrollbar of its own */
.table-wrap { overflow-x: auto; overflow-y: hidden; margin: 0 0 .5rem; }
.ops { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); font-size: .95rem; font-variant-numeric: tabular-nums; }
.ops th, .ops td { padding: .55rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.ops thead th { background: var(--head-bg); color: var(--head-fg); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.ops tbody th[scope="row"] { font-weight: 700; white-space: nowrap; }
.ops tbody th[scope="row"] a { display: inline-block; padding: .75rem 0; margin: -.75rem 0; }
.ops .basis { display: block; }
.ops .basis, .ops .none { color: var(--muted); font-size: .82em; font-weight: 400; }
.ops tr.op-cancelled td, .ops tr.op-diverted td, .ops tr.not-recent th, .ops tr.not-recent td { color: var(--muted); }
.ops tr.op-cancelled .c-outcome, .ops tr.op-diverted .c-outcome { color: var(--bad-t); font-weight: 700; }
.ops .d-late { color: var(--late-t); font-weight: 700; }
.ops .d-early { color: var(--ok-t); font-weight: 700; }
.ops tr.airline-row th { background: var(--bg); font-weight: 800; }
.ops .airline-meta { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
/* Phones: a past operation is a small card of two or three short lines; a route's flight is a card of labelled fields */
@media (max-width: 44rem) {
    .table-wrap { overflow: visible; }
    .ops { display: block; border: 0; background: none; }
    .ops tbody { display: block; }
    .ops thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
    .ops tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; margin-bottom: .4rem; padding: .6rem .8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }
    .ops tbody th[scope="row"], .ops tbody td { display: block; border: 0; padding: 0; }
    .ops tbody td { color: var(--muted); font-size: .88rem; }
    .ops-recent tbody th[scope="row"] { grid-column: 1; grid-row: 1; }
    .ops-recent .c-outcome { grid-column: 2; grid-row: 1; text-align: right; font-weight: 700; }
    .ops-recent .c-sched { grid-column: 1; grid-row: 2; }
    .ops-recent .c-sched::before { content: "Scheduled "; }
    .ops-recent .c-actual { grid-column: 1; grid-row: 3; }
    .ops-recent .c-actual .basis { display: inline; }
    .ops-recent .c-diff { grid-column: 2; grid-row: 2 / span 2; text-align: right; align-self: center; font-size: .95rem; }
    .ops-recent .c-opterm { grid-column: 1; grid-row: 4; }
    .ops-recent .c-opterm::before { content: "Terminal "; }
    .ops-recent tr.op-cancelled .c-actual, .ops-recent tr.op-cancelled .c-diff { display: none; }
    .route-flights tbody tr { grid-template-columns: 1fr 1fr; gap: .2rem 1rem; }
    .route-flights tbody th[scope="row"] { grid-column: 1 / -1; }
    .route-flights td[data-label]::before { content: attr(data-label); display: block; font-size: .8rem; }
    .route-flights tr.airline-row { display: block; margin: .9rem 0 .4rem; padding: 0; background: none; border: 0; }
    .route-flights tr.airline-row th { display: block; padding: 0; background: none; }
}
.era { margin: .75rem 0; padding: .7rem 1rem; background: var(--surface); border: 1px solid var(--border); border-left: .4rem solid var(--strong); }
.era h3 { margin: 0 0 .3rem; }
.era ul { margin-bottom: 0; padding-left: 1.1rem; }
.era-break, .gap-note { margin: .75rem 0; padding: .6rem .9rem; border: 1px dashed var(--muted); color: var(--muted); font-size: .9rem; }
.also-sold { padding-left: 1.1rem; }
.related ul:not(.inline-list) { list-style: none; padding: 0; }
.related ul:not(.inline-list) a { display: inline-flex; align-items: center; min-height: 44px; }
.inline-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; }
.inline-list a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; background: var(--surface); border: 1.5px solid var(--strong);
    border-radius: 3px; text-decoration: none; font: 700 .9rem var(--mono);
}
.inline-list a:hover { background: var(--yellow); color: #111315; }
.route-list { list-style: none; margin: 0 0 1rem; padding: 0; columns: 16rem auto; column-gap: 2rem; }
.route-list li { break-inside: avoid; border-bottom: 1px solid var(--border); }
.route-list a { display: inline-flex; align-items: center; min-height: 44px; }
.route-list .meta { margin: 0 0 0 .4rem; font-size: .8rem; }

/* Content pages: one column in which text, tables and ads have the same width; "On this page" is a row that scrolls
   on a phone and a column beside it from 64rem. A page without that list keeps the same column width. Lines are long
   on a wide screen, so they get a little more room between them there. */
.no-aside > .page-main { max-width: var(--measure); }
@media (min-width: 64rem) {
    .content-body { line-height: 1.7; }
}
.content-body > p, .content-body > ul, .content-body > ol, .content-body > blockquote, .content-body > h2, .content-body > h3 { max-width: var(--measure); }
.content-body ul, .content-body ol { padding-left: 1.2rem; }
/* The text under a board has nothing beside it (a guide has "On this page" there). From 64rem it runs in two columns,
   as in a newspaper: a line keeps its readable length and the text is as wide as the board and the ad above it.
   A unit inside the text spans both columns, so the part above it and the part below it are each balanced on their
   own and short enough to read without scrolling back up. */
@media (min-width: 64rem) {
    .board-intro .content-body { columns: 2; column-gap: 3rem; }
    .board-intro .content-body > * { max-width: none; }
    .board-intro .content-body > :first-child, .board-intro .content-body > .ad-slot + * { margin-top: 0; }
    .board-intro .content-body > h2, .board-intro .content-body > h3 { break-after: avoid; }
    .board-intro .content-body > p, .board-intro .content-body > ul, .board-intro .content-body > ol { break-inside: avoid; }
    .board-intro .content-body > .ad-slot { column-span: all; }
}
.content-body li { margin-bottom: .35rem; }
.content-body > :first-child { margin-top: 0; }
.content-page .content-body > p:first-child, .content-post .content-body > p:first-child { font-size: 1.1rem; }
.content-body img, .content-body figure { max-width: 100%; height: auto; }
.content-body figure { margin: 1.5rem 0; max-width: var(--measure); }
.content-body figure img { display: block; }
.content-body figcaption { margin-top: .5rem; color: var(--muted); font-size: .875rem; }
/* A diagram of our own keeps a readable size on a phone and scrolls sideways inside its figure (T34 F11). */
@media (max-width: 39.99rem) {
    .content-body figure:has(img[src$=".svg"]) { overflow-x: auto; }
    .content-body figure img[src$=".svg"] { width: 40rem; max-width: none; }
}
.content-body table { border-collapse: collapse; display: block; width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 1.25rem; background: var(--surface); border: 1px solid var(--border); }
.content-body th, .content-body td { padding: .6rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.content-body thead th { background: var(--head-bg); color: var(--head-fg); font-size: .875rem; font-weight: 700; }
.content-body tbody tr:last-child td { border-bottom: 0; }
.content-body td:first-child { font-weight: 700; }
/* a short link in the first column ("Terminal 1") stays on one line */
.content-body td:first-child a { white-space: nowrap; }
.toc { margin: 0 -1rem 1.25rem; }
.toc-title { margin: 0 1rem .4rem; font-size: .875rem; font-weight: 700; }
.toc ol { list-style: none; margin: 0; display: flex; gap: .4rem; overflow-x: auto; padding: 0 1rem .25rem; scrollbar-width: none; }
.toc ol::-webkit-scrollbar { display: none; }
.toc li { flex: none; }
.toc a {
    display: flex; align-items: center; min-height: 44px; padding: 0 .8rem; background: var(--surface); border: 1.5px solid var(--strong); border-radius: 3px;
    text-decoration: none; font-size: .85rem; font-weight: 700; white-space: nowrap;
}
.toc a:hover { background: var(--yellow); color: #111315; }
@media (min-width: 48rem) and (max-width: 63.99rem) {
    .toc { margin-left: -1.5rem; margin-right: -1.5rem; }
    .toc-title { margin-left: 1.5rem; }
    .toc ol { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 64rem) {
    .with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 0 3rem; align-items: start; }
    .with-aside > .toc { grid-column: 2; grid-row: 1; position: sticky; top: 1rem; margin: 0; padding-top: .7rem; border-top: 4px solid var(--strong); }
    .with-aside > .page-main { grid-column: 1; grid-row: 1; min-width: 0; }
    .toc-title { margin-left: 0; }
    .toc ol { display: block; padding: 0; overflow: visible; }
    .toc a { min-height: 0; padding: .7rem 0; background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; white-space: normal; font-weight: 600; }
}
.content-home > .page-body > .with-aside, .content-home > .page-body > .no-aside { margin-top: 2rem; }
.sources { margin-top: 2.5rem; padding-top: .9rem; border-top: 4px solid var(--strong); color: var(--muted); font-size: .9rem; max-width: var(--measure); }
.last-verified { margin-bottom: .25rem; color: var(--text); font-weight: 700; }
.back { margin-top: 2rem; }
.back a { display: inline-flex; align-items: center; min-height: 44px; }
.post-list { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.post-list li { margin-bottom: 1rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--strong); }
.post-list h2 { margin: 0 0 .2rem; }
.post-list h2 a { display: inline-block; padding: .5rem 0; margin: -.5rem 0; }
.post-list p:last-child { margin-bottom: 0; }

/* The live weather block ({{ weather_now }}, docs/weather.md): a light card under the title. Alerts and FAA delays are
   notices (words first, the rule at the left as well as the colour); the forecast is six small cards, two to a row on
   a phone and three from 40rem. */
.wx { max-width: var(--measure); margin: 0 0 2rem; padding: 1rem 1.1rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--strong); }
.content-body .wx h2 { margin: 0 0 .8rem; }
.wx h3 { margin: 0 0 .4rem; font-size: 1rem; }
.wx p, .wx ul, .wx ol, .wx dl { max-width: none; }
.wx-none { margin: 0; color: var(--muted); }
.wx-alerts { margin: 0 0 1rem; padding: .6rem .8rem; border-left: 4px solid var(--bad-t); background: var(--warn-bg); color: var(--warn-fg); }
.content-body .wx-alerts ul, .content-body .wx-events, .content-body .wx-forecast { list-style: none; margin: 0; padding: 0; }
.content-body .wx-alerts li { margin: 0 0 .2rem; }
.wx-grid { display: grid; gap: 1.25rem 2rem; }
.wx-temp { margin: 0; font-size: clamp(2rem, 7vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wx-cond { margin: .25rem 0 .6rem; font-size: 1.1rem; font-weight: 700; }
.wx-facts { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; margin: 0 0 .6rem; }
.wx-facts dt { color: var(--muted); font-size: .8rem; }
.wx-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.wx-meta { margin: 0; color: var(--muted); font-size: .875rem; }
.wx-status p { margin: 0 0 .5rem; }
.wx-status .wx-meta { margin-bottom: .5rem; }
.content-body .wx-events li { margin: 0 0 .5rem; padding: .5rem .7rem; border-left: 4px solid var(--warn-border); background: var(--warn-bg); color: var(--warn-fg); }
.wx-clear { font-weight: 600; }
.wx > h3 { margin-top: 1.25rem; }
.wx-forecast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.content-body .wx-forecast li { display: flex; flex-direction: column; gap: .1rem; margin: 0; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: 3px; font-size: .9rem; line-height: 1.4; }
.content-body .wx-forecast .wx-night { background: var(--bg); }
.wx-pname { font-weight: 800; }
.wx-ptemp { font-variant-numeric: tabular-nums; }
.wx-pop { color: var(--muted); font-size: .85rem; }
/* the page's opening paragraph keeps its lead size when the block stands above it */
.content-page .content-body > .wx + p { font-size: 1.1rem; }
@media (min-width: 40rem) {
    .wx-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .wx-forecast { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Footer: the link groups (stacked rows of links on a phone, columns from 48rem), then the disclaimer */
.site-footer { background: var(--ink); color: #dfe3e7; border-top: 1px solid var(--line-d); font-size: .9rem; }
.footer-inner { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.footer-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 2rem; margin-bottom: 1.5rem; }
.footer-group h2 { margin: 0 0 .2rem; color: #ffffff; font-size: 1rem; letter-spacing: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-links a { display: inline-block; padding: .65rem 0; color: #ffffff; }
.footer-links a[aria-current="page"] { font-weight: 700; text-decoration: none; }
.disclaimer { max-width: var(--measure); margin-bottom: .25rem; }
/* The button that reopens the consent choices (shown by the page's script on the public host) */
.privacy-settings { margin: 0; }
.privacy-settings button { min-height: 44px; padding: 0; border: 0; background: none; color: #ffffff; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
@media (min-width: 48rem) {
    .footer-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .footer-links { display: block; }
    .footer-group:has(li:nth-child(7)) { grid-column: span 2; }
    .footer-group:has(li:nth-child(7)) .footer-links { columns: 2; column-gap: 2rem; }
    .footer-links li { break-inside: avoid; }
}

@media print {
    .site-nav, .board-filter, .board-switch, .day-switch, .board-times, .board-step, .skip-link, .quick, .toc { display: none; }
}
