/* Glidepath Flights · Direction D, "CMT look + map" (docs: the V1 design canvas, pages A and D).
   MudBlazor draws the controls with GlidepathTheme's palette; this file draws everything else:
   the shell (rail on wide screens, tabs on phones), the navy hero, the route map, cards, pills,
   the month grid and the agenda. Every colour is a variable on .gf.light / .gf.dark (and .gf-tok, the dialogs' wrapper); keep them in
   step with Layout/GlidepathTheme.cs. Classes start gf- so none collides with MudBlazor's. */

/* ---------- fonts: self-hosted, so no page asks a third party and the phone has them offline ----------
   Variable woff2 from Fontsource 5.3.0 (@fontsource-variable/archivo, /rubik), Latin and Latin
   Extended subsets; SIL Open Font License 1.1, fonts/Archivo-OFL.txt and fonts/Rubik-OFL.txt. */
@font-face {
    font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
    src: url(fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
    src: url(fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations');
    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: 'Rubik'; font-style: normal; font-display: swap; font-weight: 300 900;
    src: url(fonts/rubik-latin-ext-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Rubik'; font-style: normal; font-display: swap; font-weight: 300 900;
    src: url(fonts/rubik-latin-wght-normal.woff2) format('woff2-variations');
    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;
}

h1:focus {
    outline: none;
}

/* A heading the page moves the focus to (an answered ask, the invited card, a month, Add's "What is it?"), as the router does an
   h1: no ring. */
h2[tabindex="-1"]:focus,
legend[tabindex="-1"]:focus {
    outline: none;
}

/* The iPhone's home indicator: the phone app's iOS web view runs under it (MainPage, index.html's viewport-fit=cover);
   0 everywhere else (Android's web view sits between the system bars, and no web page asks for cover). */
:root { --gf-sab: env(safe-area-inset-bottom, 0px); }

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 0.6rem 1.25rem calc(0.7rem + var(--gf-sab)) 1.25rem;
    background: lightyellow;
    color: #1E293B;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ---------- tokens ---------- */
/* .gf-tok (MainLayout) wraps the dialog, popover and snackbar providers: the variables reach dialogs, not .gf's rules.
   .auto: the theme not yet read by the layout, so the host page's gf-dark class on <html> (set before first paint) decides. */
.gf.light, .gf-tok.light, :root:not(.gf-dark) :is(.gf, .gf-tok).auto {
    --page: #F1F5F9; --surface: #FFFFFF; --sunken: #F8FAFC;
    --line: #E2E8F0; --line-2: #CBD5E1; --field-line: #7C8BA1;
    --ink: #1E293B; --ink-2: #475569; --ink-3: #64748B;
    --ink-3-page: #475569; /* a caption straight on --page: ink-3 there is 4.34:1, under 4.5 */
    --primary: #1B5FD9; --primary-text: #1B5FD9; --on-primary: #FFFFFF; --primary-tint: #EFF6FF; --ring: #1B5FD9; --link: #1D4ED8;
    --accent-text: #047857; --accent-bg: #ECFDF5; --accent-line: #6EE7B7;
    --amber: #B45309; --amber-bg: #FFF7ED; --amber-line: #F59E0B;
    --blue: #1D4ED8; --blue-bg: #EFF6FF; --blue-line: #3B82F6;
    --red: #B91C1C; --red-bg: #FEF2F2; --red-line: #EF4444;
    --gl-sched-bg: #CBD5E1; --gl-sched-ink: #475569;
    --now-ink: #B91C1C; /* the now line's words on the page: --now there is 3.4:1 in light (board check), this 5.9:1 */
    --t-duty: #1B5FD9; --t-reserve: #475569; --t-training: #6D4FB3; --t-vacation: #0E7F5A; --t-hotel: #64748B; --t-off: #CBD5E1; --t-other: #BE185D;
    --pd-bg: #EFF6FF; --pd-line: #93B4F0; --pd-ink: #1D4ED8;
    --pr-bg: #F1F5F9; --pr-line: #B6C2D2; --pr-ink: #475569;
    --po-bg: #FDF2F8; --po-line: #F0A6CA; --po-ink: #9D174D;
    --pt-bg: #F3EFFB; --pt-line: #BFAFE3; --pt-ink: #5B3FA0;
    --pv-bg: #ECFDF5; --pv-line: #8FD3B8; --pv-ink: #0E7F5A;
    --hero: #0F172A; --hero-line: #334155; --hero-track: #1E293B;
    --chip-sel-bg: #1E293B; --chip-sel-ink: #FFFFFF;
    --tab-shadow: 0 -5px 10px 0 rgba(0, 0, 0, .06);
    /* The real map's lines (realMap.js COLOURS, its Light style) for a key drawn off the map, on the page's own theme. */
    --map-flown: #059669; --map-next: #EA580C; --map-later: #1D4ED8; --map-moon: #B45309;
}

.gf.dark, .gf-tok.dark, :root.gf-dark :is(.gf, .gf-tok).auto {
    --page: #0B1016; --surface: #12161C; --sunken: #18212C;
    --line: #2A323D; --line-2: #3A4452; --field-line: #6B7685;
    --ink: #E6EDF3; --ink-2: #AEB9C6; --ink-3: #98A3B1;
    --ink-3-page: #98A3B1;
    --primary: #1B5FD9; --primary-text: #7FB0FF; --on-primary: #FFFFFF; --primary-tint: #16243B; --ring: #7FB0FF; --link: #7FB0FF;
    --accent-text: #34D399; --accent-bg: #10301F; --accent-line: #1F6B4A;
    --amber: #FBBF24; --amber-bg: #3A2A12; --amber-line: #B4780F;
    --blue: #93C5FD; --blue-bg: #16243B; --blue-line: #2A4A7F;
    --red: #FCA5A5; --red-bg: #3A1616; --red-line: #EF4444;
    --gl-sched-bg: #2A323D; --gl-sched-ink: #AEB9C6;
    --now-ink: #EF4444; /* --now itself, 5:1 on the dark page */
    --t-duty: #2563EB; --t-reserve: #475569; --t-training: #7558C4; --t-vacation: #0A855C; --t-hotel: #64748B; --t-off: #3A4452; --t-other: #B83280;
    --pd-bg: #16243B; --pd-line: #2A4A7F; --pd-ink: #93C5FD;
    --pr-bg: #1B2129; --pr-line: #3A4452; --pr-ink: #AEB9C6;
    --po-bg: #2E1622; --po-line: #6B2A4A; --po-ink: #F9A8D4;
    --pt-bg: #221B36; --pt-line: #4A3B7A; --pt-ink: #C4B5FD;
    --pv-bg: #10301F; --pv-line: #1F6B4A; --pv-ink: #6EE7B7;
    --hero: #111C2E; --hero-line: #2A3A52; --hero-track: #1A2740;
    --chip-sel-bg: #E6EDF3; --chip-sel-ink: #0B1016;
    --tab-shadow: 0 -5px 12px rgba(0, 0, 0, .35);
    /* The real map's lines (realMap.js COLOURS, its Dark style) for a key drawn off the map. */
    --map-flown: #34D399; --map-next: #F59E0B; --map-later: #93C5FD; --map-moon: #FDE68A;
}

/* MudBlazor's dark palette on a dark device while the layout has not read the theme (.auto): until then MudThemeProvider writes
   the light one on :root, so MudBlazor's controls would draw light on the dark page. These are GlidepathTheme.PaletteDark's
   variables exactly as MudThemeProvider writes them, every one that differs from the light palette; ThemeConformanceTests
   fails when they drift (change GlidepathTheme, then copy what the test says here). */
:root.gf-dark:has(.gf.auto) {
    --mud-palette-action-default-hover: rgba(174,185,198,0.058823529411764705); --mud-palette-action-default: rgba(174,185,198,1); --mud-palette-action-disabled-background: rgba(255,255,255,0.11764705882352941); --mud-palette-action-disabled: rgba(255,255,255,0.25882352941176473);
    --mud-palette-appbar-background: rgba(17,28,46,1);
    --mud-palette-background-gray: rgba(24,33,44,1); --mud-palette-background: rgba(11,16,22,1);
    --mud-palette-black: rgba(39,39,47,1);
    --mud-palette-dark-darken: rgb(23,23,28); --mud-palette-dark-hover: rgba(39,39,47,0.058823529411764705); --mud-palette-dark-lighten: rgb(56,56,67); --mud-palette-dark-rgb: 39,39,47; --mud-palette-dark: rgba(39,39,47,1);
    --mud-palette-divider-light: rgba(255,255,255,0.058823529411764705); --mud-palette-divider-rgb: 42,50,61; --mud-palette-divider: rgba(42,50,61,1);
    --mud-palette-drawer-background: rgba(39,39,47,1); --mud-palette-drawer-icon: rgba(255,255,255,0.4980392156862745); --mud-palette-drawer-text: rgba(255,255,255,0.4980392156862745);
    --mud-palette-error-darken: rgb(251,126,126); --mud-palette-error-hover: rgba(252,165,165,0.058823529411764705); --mud-palette-error-lighten: rgb(253,201,201); --mud-palette-error-rgb: 252,165,165; --mud-palette-error-text: rgba(11,16,22,1); --mud-palette-error: rgba(252,165,165,1);
    --mud-palette-info-darken: rgb(105,174,252); --mud-palette-info-hover: rgba(147,197,253,0.058823529411764705); --mud-palette-info-lighten: rgb(185,217,254); --mud-palette-info-rgb: 147,197,253; --mud-palette-info: rgba(147,197,253,1);
    --mud-palette-lines-default: rgba(42,50,61,1); --mud-palette-lines-inputs: rgba(107,118,133,1);
    --mud-palette-primary-darken: rgb(92,154,255); --mud-palette-primary-hover: rgba(127,176,255,0.058823529411764705); --mud-palette-primary-lighten: rgb(163,198,255); --mud-palette-primary-rgb: 127,176,255; --mud-palette-primary-text: rgba(11,16,22,1); --mud-palette-primary: rgba(127,176,255,1);
    --mud-palette-secondary-darken: rgb(245,177,5); --mud-palette-secondary-hover: rgba(251,191,36,0.058823529411764705); --mud-palette-secondary-lighten: rgb(251,201,75); --mud-palette-secondary-rgb: 251,191,36; --mud-palette-secondary: rgba(251,191,36,1);
    --mud-palette-skeleton: rgba(255,255,255,0.10980392156862745);
    --mud-palette-success-darken: rgb(40,184,131); --mud-palette-success-hover: rgba(52,211,153,0.058823529411764705); --mud-palette-success-lighten: rgb(88,218,170); --mud-palette-success-rgb: 52,211,153; --mud-palette-success: rgba(52,211,153,1);
    --mud-palette-surface-rgb: 18,22,28; --mud-palette-surface: rgba(18,22,28,1);
    --mud-palette-table-lines: rgba(42,50,61,1); --mud-palette-table-striped: rgba(255,255,255,0.2);
    --mud-palette-tertiary-darken: rgb(40,184,131); --mud-palette-tertiary-hover: rgba(52,211,153,0.058823529411764705); --mud-palette-tertiary-lighten: rgb(88,218,170); --mud-palette-tertiary-rgb: 52,211,153; --mud-palette-tertiary: rgba(52,211,153,1);
    --mud-palette-text-disabled-rgb: 125,136,150; --mud-palette-text-disabled: rgba(125,136,150,1); --mud-palette-text-primary-rgb: 230,237,243; --mud-palette-text-primary: rgba(230,237,243,1); --mud-palette-text-secondary-rgb: 174,185,198; --mud-palette-text-secondary: rgba(174,185,198,1);
    --mud-palette-warning-darken: rgb(245,177,5); --mud-palette-warning-hover: rgba(251,191,36,0.058823529411764705); --mud-palette-warning-lighten: rgb(251,201,75); --mud-palette-warning-rgb: 251,191,36; --mud-palette-warning: rgba(251,191,36,1);
}

/* The hero and the map are navy in both themes; their inks never change. */
.gf, .gf-tok {
    --hero-ink: #F8FAFC; --hero-ink-2: #CBD5E1; --hero-muted: #94A3B8;
    --hero-switch: #64748B; /* an off switch's track on navy: 3.5:1 against --hero in both themes */
    --hero-blue: #93C5FD; --hero-amber: #FCD34D; --hero-green: #6EE7B7; --hero-red: #FCA5A5;
    --now: #EF4444;
    --wide: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.gf {
    min-height: 100vh;
    background: var(--page);
    color: var(--ink);
    font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.gf h1, .gf h2, .gf h3, .gf p { margin: 0; }

/* ---------- MudBlazor, drawn as the canvas draws it ---------- */
/* A filled primary button is #1B5FD9 with white in both themes; the dark palette's pale Primary stays for links and text. */
:is(.gf.dark, :root.gf-dark .gf.auto) .mud-button-filled.mud-button-filled-primary:not(:disabled) { background-color: var(--primary); color: var(--on-primary); --mud-ripple-color: var(--on-primary); }
:is(.gf.dark, :root.gf-dark .gf.auto) .mud-button-filled.mud-button-filled-primary:focus-visible,
:is(.gf.dark, :root.gf-dark .gf.auto) .mud-button-filled.mud-button-filled-primary:active { background-color: #1A56C4; }
@media (hover: hover) and (pointer: fine) {
    :is(.gf.dark, :root.gf-dark .gf.auto) .mud-button-filled.mud-button-filled-primary:hover { background-color: #1A56C4; }
}
/* The request badge is red with white in both themes (canvas --badge); the dark palette's Error is pink.
   !important: MudBlazor's .mud-theme-error sets both with !important. */
.gf .mud-badge.mud-theme-error { background-color: #DC2626 !important; color: #FFFFFF !important; }
/* Every button reaches 44 px (MudBlazor's medium text button is 36.5 px, a small one less; its ripple clips any
   overflow, so the height itself grows rather than a pseudo-element). */
.gf .mud-button-root:not(.mud-icon-button) { min-height: 44px; }
/* A small icon button stays a circle: 20 px icon + 2 × 12 px padding = 44 px. An outlined one (the month arrows) is
   34 px by default. */
.gf .mud-icon-button.mud-icon-button-size-small { padding: 12px; }
/* Not a switch's thumb (also an icon button: its label row is the target) or a calendar day (a 7-column grid). */
.gf .mud-icon-button:not(.mud-switch-base, .mud-picker-calendar-day) { min-width: 44px; min-height: 44px; }
/* Whole-row taps: a schedule row's one link (the agenda, Trips' flights) covers the row; any other control in the row stays above it. */
.gf :is(.gf-crow, .gf-ag, .gf-fl) { position: relative; }
.gf :is(.gf-crow, .gf-ag, .gf-fl) :is(a, button) { position: relative; z-index: 1; }
.gf .gf-fl .gf-fl-plus { position: relative; z-index: 1; } /* its own rule: inside the :is() above it would outrank the static one below */
.gf :is(a.gf-crow-r, .gf-ag-title a, .gf-fl-no a) { position: static; }
.gf :is(a.gf-crow-r, .gf-ag-title a, .gf-fl-no a)::after { content: ""; position: absolute; inset: 0; }
/* A link chip (the hotel on Today) is 28 px tall; its hit area reaches 44. */
.gf a.gf-chip { position: relative; }
.gf a.gf-chip::after { content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; }
.gf a { color: var(--link); }
.gf svg.gf-ic { width: 20px; height: 20px; flex: none; }

/* condensed-wide uppercase: Archivo at width 112 */
.gf-wide, .gf-title, .gf-ct, .gf-wordmark, .gf-route, .gf-dayh-t, .gf-ag-title, .gf-state-h, .gf-si-h, .gf-mtitle, .gf-leg-route,
.gf-crow-r, .gf-fl-no, .gf-code, .gf-chap-t {
    font-family: var(--wide);
    font-stretch: 112%;
    font-variation-settings: "wdth" 112;
    text-transform: uppercase;
}

/* Text as typed inside an uppercase heading (a search query). */
.gf-asis { text-transform: none; }
.gf-eb { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); line-height: 1.3; }
/* The calendar feed (D · Calendar feed): the masked link in a sunken box, its two buttons, the stacked "Add to" buttons. */
.gf-hair { height: 1px; background: var(--line); margin: 10px 0; }
.gf-linkbox { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--sunken); color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.gf-btnrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gf-stack8 { display: flex; flex-direction: column; gap: 8px; }
/* An import address (D · Forward an email): bold, and long, so it breaks after its "@" (a <wbr>) and then anywhere rather than overflow a phone. */
.gf-addr { font-size: 15px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.gf-cap { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.gf-cap-2 { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
/* A Free lock card (the duty rules pages): the tag, the words and See plans on one line, then each paragraph apart. */
.gf-lock > p + p { margin-top: 8px; }
/* A caption, or a card head's note, straight on the page's background rather than on a card (persona check of 2 Nov: ink-3 on
   --page was 4.34:1 in light, under 4.5). The pilot logbook's notes are captions on the page below 900 px, cards from it.
   :where, so a later caption modifier still wins. */
.gf :where(.gf-page > .gf-cap, .gf-page > section:not(.gf-card) > .gf-cap, .gf-page > section:not(.gf-card) > .gf-ch > .gf-cn):not(.warn) { color: var(--ink-3-page); }
@media (max-width: 899.98px) { .gf .gf-plb-note .gf-cap { color: var(--ink-3-page); } }
/* Words that differ by width, as the canvas has them: phone below 900 px, web from 900 px. */
.gf .gf-wide-only, .gf .gf-wide-flex, .gf .gf-wide-block { display: none; }
@media (min-width: 900px) {
    .gf .gf-narrow { display: none; }
    .gf .gf-wide-only { display: inline; }
    .gf .gf-wide-flex { display: flex; }
    .gf .gf-wide-block { display: block; }
}
/* A quiet line under a hero's figures (D · Web Today: "5 people can see this day"). */
.gf-h-line { align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--hero-ink-2); }
.gf-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }

/* ---------- wordmark ---------- */
.gf-wordmark { font-weight: 800; letter-spacing: .02em; line-height: 1; font-size: 20px; white-space: nowrap; }
.gf-wordmark .g { color: var(--primary-text); }
.gf-wordmark .f { color: var(--ink); }
.gf-wordmark.on-hero .g { color: var(--hero-blue); }
.gf-wordmark.on-hero .f { color: var(--hero-ink); }

/* ---------- shell: tabs on phones, a rail on wide screens ---------- */
.gf-main { min-width: 0; }
.gf-body { display: contents; } /* the page, keyed so it is built again back online (MainLayout) */
.gf-nav + .gf-main { padding-bottom: calc(96px + var(--gf-sab)); }
.gf-page { display: flex; flex-direction: column; gap: 12px; padding: 4px 16px 16px; max-width: 1180px; }
.gf-page.gf-fpage { max-width: 880px; } /* a followed person's page (R44) */

.gf-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
    height: calc(74px + var(--gf-sab)); padding-bottom: calc(10px + var(--gf-sab)); display: flex;
    background: var(--surface); border-radius: 15px 15px 0 0; box-shadow: var(--tab-shadow);
}
.gf-nav-brand { display: none; }
.gf .gf-tab {
    flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--ink-2); text-decoration: none; font-size: 12px; font-weight: 500; line-height: 16px; min-width: 0;
}
.gf-tab svg.gf-ic { width: 24px; height: 24px; }
.gf .gf-tab.active { color: var(--primary-text); }
.gf-tab.active::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 50px; height: 4px; margin-left: -25px; border-radius: 60px; background: var(--primary-text); }

@media (min-width: 900px) {
    .gf-shell { display: flex; align-items: stretch; min-height: 100vh; }
    .gf-nav {
        position: sticky; top: 0; height: 100vh; width: 248px; flex: none; flex-direction: column; gap: 4px;
        padding: 24px 16px 20px; border-radius: 0; box-shadow: none; border-right: 1px solid var(--line);
        overflow-y: auto; /* a rail taller than the window scrolls on its own */
    }
    /* Fits the 248 px rail whole in the wide face (it overflowed at 19 px). */
    .gf-nav-brand { display: block; font-size: 17px; padding: 0 4px 20px; }
    .gf .gf-tab { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 15px; }
    .gf-tab svg.gf-ic { width: 22px; height: 22px; }
    .gf .gf-tab.active { background: var(--primary-tint); font-weight: 600; }
    .gf-tab.active::after { display: none; }
    .gf-shell .gf-main { flex: 1; }
    .gf-nav + .gf-main { padding-bottom: 32px; }
    .gf-page { padding: 4px 32px 32px; gap: 16px; }
    /* With no rail (signed out: Help, About, the notice form, the 404 page; Welcome) the column and its app bar are centred, not
       left on a wide screen (walkthrough of 9 Nov). The bar takes the width of a 720 or 560 px page under it (an invite signed out), so its title lines up. */
    .gf-shell > .gf-main:first-child > .gf-body > :is(.gf-appbar, .gf-page) { margin-inline: auto; width: 100%; box-sizing: border-box; }
    .gf-shell > .gf-main:first-child > .gf-body > .gf-appbar { max-width: 1180px; }
    .gf-shell > .gf-main:first-child > .gf-body > .gf-appbar:has(+ .gf-page[style*="max-width:720px"]) { max-width: 720px; }
    .gf-shell > .gf-main:first-child > .gf-body > .gf-appbar:has(+ .gf-page[style*="max-width:560px"]) { max-width: 560px; }
}

/* ---------- the menu: open or a slim icon strip on a wide screen, kept per device (the collapsible menu design of 2026-11-28) ----------
   The head script puts the saved choice on <html> as gf-menu-slim before first paint. In the strip each link keeps its name for
   a screen reader (visually hidden) and shows it on hover (MainLayout's title); section headings are thin lines. Never in
   Essentials, which has no ☰ to bring the menu back. */
.gf .gf-menu-btn {
    display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); cursor: pointer;
}
.gf .gf-menu-btn:hover { background: var(--primary-tint); color: var(--primary-text); }
.gf .gf-menu-btn:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 2px; }
.gf-nav-top, .gf .gf-rail-add-slim { display: none; }
@media (min-width: 900px) {
    /* The ☰ first, where it stays in the strip, then the wordmark, smaller than the drawer's 17 px to fit beside it in the 248 px rail. */
    .gf-nav-top { display: flex; align-items: center; gap: 8px; padding: 0 0 12px; margin-top: -10px; }
    .gf-nav-top .gf-nav-brand { padding: 0; font-size: 13px; }
    :root.gf-menu-slim .gf-shell:not(.gf-ess) > .gf-nav { width: 72px; padding: 14px 12px 20px; align-items: center; }
    :root.gf-menu-slim .gf-shell:not(.gf-ess) > .gf-nav > .gf-nav-top { justify-content: center; padding: 0 0 8px; margin-top: 0; }
    :root.gf-menu-slim .gf-shell:not(.gf-ess) > .gf-nav :is(.gf-nav-brand, .gf-plus-tag, .gf-rail-add) { display: none; }
    :root.gf-menu-slim .gf-shell:not(.gf-ess) > .gf-nav .gf-rail-add-slim { display: inline-flex; margin: 12px 0 4px; }
    :root.gf-menu-slim .gf-shell:not(.gf-ess) > .gf-nav .gf-tab { width: 48px; padding: 0; gap: 0; justify-content: center; }
    :root.gf-menu-slim .gf-shell:not(.gf-ess) > .gf-nav .gf-tab > span:not([class]) {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
    }
    :root.gf-menu-slim .gf-shell:not(.gf-ess) > .gf-nav .gf-nav-pro { align-self: stretch; height: 1px; margin: 10px 6px; padding: 0; overflow: hidden; font-size: 0; background: var(--line); }
}

/* The drawer: the whole menu slid out over the page by a ☰ or a swipe from the left edge, on a phone (whose tab bar stays) and over
   the slim strip on a wide screen. Closed it is hidden from sight, the keyboard and screen readers; menu.js puts gf-menu-peek on
   <html> while it is open and gf-menu-drag while a finger moves it (moving it inline). Its links take the rail's look. */
.gf-drawer {
    position: fixed; inset: 0 auto 0 0; z-index: 1260; width: min(280px, 85vw); box-sizing: border-box;
    display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
    padding: calc(24px + env(safe-area-inset-top)) 16px calc(20px + var(--gf-sab));
    background: var(--surface); box-shadow: var(--tab-shadow);
    transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s;
}
.gf-scrim {
    position: fixed; inset: 0; z-index: 1250; background: rgba(15, 23, 42, .45);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s .2s;
}
:root:is(.gf-menu-peek, .gf-menu-drag) .gf-drawer { transform: none; visibility: visible; transition: transform .2s ease; }
:root:is(.gf-menu-peek, .gf-menu-drag) .gf-scrim { opacity: 1; visibility: visible; transition: opacity .2s ease; }
:root.gf-menu-drag :is(.gf-drawer, .gf-scrim) { transition: none; }
@media (prefers-reduced-motion: reduce) { .gf-drawer, .gf-scrim, :root:is(.gf-menu-peek, .gf-menu-drag) :is(.gf-drawer, .gf-scrim) { transition: none; } }
.gf-drawer .gf-nav-brand { display: block; font-size: 17px; padding: 0 4px 20px; }
.gf .gf-drawer .gf-tab { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 15px; }
.gf-drawer .gf-tab svg.gf-ic { width: 22px; height: 22px; }
.gf .gf-drawer .gf-tab.active { background: var(--primary-tint); font-weight: 600; }
.gf-drawer .gf-tab.active::after { display: none; }
.gf .gf-drawer .gf-tab.gf-tab-rail { display: flex; padding-left: 28px; }
.gf .gf-drawer .gf-tab.gf-tab-rail:has(> .gf-plus-tag) { gap: 8px; }
.gf .gf-drawer .gf-tab.gf-tab-rail:has(> .gf-plus-tag) > span:not(.gf-plus-tag) { white-space: nowrap; }
.gf .gf-drawer .gf-tab.gf-tab-rail > .gf-plus-tag { padding: 1px 6px; letter-spacing: .03em; }
.gf .gf-drawer .gf-nav-pro { display: block; padding: 12px 0 0 28px; }
.gf .gf-drawer .gf-rail-add { display: flex; }
/* The top bars' ☰, a phone's: first, before the back arrow, out of each bar's grid so no bar's layout moves. */
@media (max-width: 899.98px) {
    .gf .gf-appbar:has(> .gf-menu-open) { position: relative; padding-left: 52px; } /* over each bar's own padding (the stack's 4 px) */
    .gf .gf-menu-open { position: absolute; left: 0; top: 8px; }
}
/* Under 400 px (a 360 px Android) the bars tuned to their width before the ☰ came get its room back: the plan chip shows its icon
   alone (its name stays its aria-label), and the Flight Deck's back its arrow alone, as every plain bar's does, and its title 16 px. */
@media (max-width: 399.98px) {
    .gf .gf-appbar:has(> .gf-menu-open) a.gf-plan-chip { padding: 0 6px; }
    .gf .gf-appbar:has(> .gf-menu-open) a.gf-plan-chip > span { display: none; }
    .gf .gf-fd-bar:has(> .gf-menu-open) > .gf-back { justify-content: center; min-width: 44px; padding: 0; font-size: 0; }
    .gf .gf-fd-bar:has(> .gf-menu-open) > .gf-back svg { width: 28px; height: 28px; }
    .gf .gf-fd-bar:has(> .gf-menu-open) .gf-title { font-size: 16px; } /* beside its share button and Live pill */
}
@media (min-width: 900px) { .gf .gf-menu-open { display: none; } }

/* ---------- the crew strip (D27): on the tab bar, crew pages other than Today; narrow screens (below 900 px), both hosts ---------- */
.gf-strip {
    position: fixed; left: 0; right: 0; bottom: calc(74px + var(--gf-sab)); z-index: 1100; height: 44px;
    display: flex; align-items: center; gap: 10px; padding: 0 16px;
    background: var(--hero); border-top: 1px solid var(--hero-line); text-decoration: none;
}
.gf a.gf-strip { color: var(--hero-ink-2); }
.gf-strip-dot { width: 8px; height: 8px; border-radius: 50%; background: #F59E0B; flex: none; }
.gf-strip-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--hero-ink-2); }
.gf-strip-v { margin-left: auto; font-size: 17px; font-weight: 700; color: var(--hero-amber); font-variant-numeric: tabular-nums; }
.gf .gf-strip svg.gf-ic { width: 18px; height: 18px; }
@media (max-width: 899.98px) {
    :where(.gf-shell):has(.gf-strip) .gf-nav + .gf-main { padding-bottom: calc(140px + var(--gf-sab)); }
}
@media (min-width: 900px) {
    .gf-strip { display: none; }
}

/* ---------- app bar (each page's header) ---------- */
.gf-appbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-height: 60px; padding: 8px 16px 4px; }
.gf-title { font-size: 24px; font-weight: 700; line-height: 1.05; letter-spacing: .01em; color: var(--primary-text); }
.gf-appbar-sub { font-size: 14px; color: var(--ink-2); }
.gf-appbar-end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
/* The flight page's one-row bar (the refresh spec §4.1): the sub shrinks and truncates first; the title and the end never wrap. */
.gf-appbar.gf-appbar-row { flex-wrap: nowrap; }
.gf-appbar-row .gf-title { white-space: nowrap; flex: none; }
.gf-appbar-row .gf-appbar-sub { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-appbar-row .gf-appbar-end { flex: none; }
/* The person's own plan (Ivan, 2026-10-24): Free outlined, a paid plan tinted; an icon for crew, passenger or Household */
.gf a.gf-plan-chip { position: relative; display: inline-flex; align-items: center; gap: 3px; min-height: 32px; padding: 0 8px 0 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.gf a.gf-plan-chip.paid { background: var(--primary-tint); color: var(--primary-text); box-shadow: none; }
.gf a.gf-plan-chip::after { content: ""; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }
/* The offline icon (offline tools spec 2026-11-25 §4): in the plan chip's place, a 44 px target; a tap shows the saved time under it. */
.gf .gf-offline-wrap { position: relative; display: inline-flex; }
.gf .gf-offline-ic { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: -6px -8px; padding: 0; border: 0; background: none; color: var(--amber); cursor: pointer; }
.gf .gf-offline-ic.saved { color: var(--ink-3); }
.gf .gf-offline-tip { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; width: max-content; max-width: min(280px, 80vw); padding: 8px 10px; border-radius: 8px; background: var(--ink); color: var(--surface); font-size: 13px; line-height: 1.35; box-shadow: 0 4px 12px rgba(0,0,0,.2); white-space: normal; }
.gf .gf-online-ic { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.gf .gf-plan-chip svg.gf-ic { width: 16px; height: 16px; }
.gf-back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 8px 0 0; font-weight: 600; text-decoration: none; }
.gf .gf-back { color: var(--primary-text); }
/* On a phone every plain bar is one row (Ivan, 2026-11-06, option C): back as its arrow alone (the word stays its name for a
   screen reader), the title cut short with "…" when it does not fit, a sub on its own line under the title, and the actions
   never wrapping. The bars with a layout of their own (the flight page's row, the trip's, Today's day, the stacked, the
   schedule's, the Flight Deck's) keep it. */
@media (max-width: 899.98px) {
    .gf-appbar:not(.gf-appbar-row, .gf-appbar-trip, .gf-appbar-day, .gf-appbar-stack, .gf-appbar-sched, .gf-fd-bar) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 4px; row-gap: 0; }
    .gf-appbar:not(.gf-appbar-row, .gf-appbar-trip, .gf-appbar-day, .gf-appbar-stack, .gf-appbar-sched, .gf-fd-bar) > .gf-back { grid-area: 1 / 1 / 3 / 2; justify-content: center; min-width: 44px; margin-left: -8px; padding: 0; font-size: 0; }
    .gf-appbar:not(.gf-appbar-row, .gf-appbar-trip, .gf-appbar-day, .gf-appbar-stack, .gf-appbar-sched, .gf-fd-bar) > .gf-back svg { width: 28px; height: 28px; }
    .gf-appbar:not(.gf-appbar-row, .gf-appbar-trip, .gf-appbar-day, .gf-appbar-stack, .gf-appbar-sched, .gf-fd-bar) > .gf-title { grid-area: 1 / 2; min-width: 0; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .gf-appbar:not(.gf-appbar-row, .gf-appbar-trip, .gf-appbar-day, .gf-appbar-stack, .gf-appbar-sched, .gf-fd-bar) > .gf-appbar-sub { grid-area: 2 / 2; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .gf-appbar:not(.gf-appbar-row, .gf-appbar-trip, .gf-appbar-day, .gf-appbar-stack, .gf-appbar-sched, .gf-fd-bar) > .gf-appbar-end { grid-area: 1 / 3 / 3 / 4; margin-left: 0; gap: 0; }
    .gf-appbar:not(.gf-appbar-row, .gf-appbar-trip, .gf-appbar-day, .gf-appbar-stack, .gf-appbar-sched, .gf-fd-bar):not(:has(> .gf-appbar-sub)) > .gf-title { grid-row: 1 / 3; align-self: center; }
    /* A worded button with an icon in the bar (Import, Export, New request) shows its icon alone; its words stay its name. One
       with no icon (a followed month's List or Month) keeps its words. */
    .gf-appbar:not(.gf-appbar-row, .gf-appbar-trip, .gf-appbar-day, .gf-appbar-stack, .gf-appbar-sched, .gf-fd-bar) > .gf-appbar-end > .mud-button:has(.mud-button-icon-start) { min-width: 44px; min-height: 44px; padding: 0 10px; font-size: 0; }
    .gf-appbar:not(.gf-appbar-row, .gf-appbar-trip, .gf-appbar-day, .gf-appbar-stack, .gf-appbar-sched, .gf-fd-bar) > .gf-appbar-end > .mud-button .mud-button-icon-start { margin: 0; }
}
@media (min-width: 900px) {
    .gf-appbar { min-height: 72px; padding: 12px 32px 4px; }
    .gf-title { font-size: 28px; }
}

/* ---------- cards ---------- */
.gf-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-width: 0; }
.gf-ch { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; min-height: 20px; }
.gf-ch > .mud-icon-root { font-size: 18px; color: var(--ink-2); }
/* overflow-wrap: a city such as GREENVILLE/GREER/SPARTANBURG in capitals has no break, and ran past a phone's edge. */
.gf-ct { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--ink); line-height: 1.2; overflow-wrap: anywhere; }
.gf-cn { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
/* A heading whose note is long (FAR 117's "Report 0700–1159 · hours"): the note drops under the title rather than breaking it. */
.gf-ch.wrap { flex-wrap: wrap; row-gap: 4px; }
.gf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) {
    .gf-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
    .gf-grid > .gf-span { grid-column: 1 / -1; }
    /* Two even columns (Today's Crew tab, TodayF-web). */
    .gf-grid.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Today's tabs (Legs, Map, Crew, Tomorrow) take their two columns only where both fit, from about 1,200 px: from 900 px to there the
   right column was a 200 px sliver (a night band's hotel over its rest, "Also today" a letter a line), so one column. The Schedule's
   Calendar and day panel too (.gf-sched-grid; the day panel's legs overran their pills on an iPad upright, 20 Nov), and schedule.js's
   reveal goes by the same width. */
@media (min-width: 900px) and (max-width: 1199.98px) {
    .gf-grid.gf-tgrid, .gf-grid.gf-sched-grid { grid-template-columns: minmax(0, 1fr); }
}
.gf-stack { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 900px) { .gf-stack { gap: 16px; } }
/* a card-style heading over a stack of agenda days (Trips' Upcoming and Past): the stack's gap spaces it */
.gf-stack > .gf-ch { margin-bottom: 0; }

/* ---------- pills, chips, coming-soon slots ---------- */
.gf-pill { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; line-height: 18px; white-space: nowrap; border: 1px solid transparent; flex: none; }
.gf-p-next { background: var(--amber-bg); color: var(--amber); border: 1.5px solid var(--amber-line); padding: 2.5px 9.5px; }
.gf-p-sched { background: var(--sunken); color: var(--ink-2); border-color: var(--line); }
.gf-p-done { background: var(--accent-bg); color: var(--accent-text); border-color: var(--accent-line); }
.gf-p-warn { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-line); }
.gf-p-err { background: var(--red-bg); color: var(--red); border-color: var(--red-line); }
.gf-hid { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.gf-hid .mud-icon-root { font-size: 15px; }
.gf-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--sunken); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.gf-soon { border: 1px dashed var(--line-2); border-radius: 12px; padding: 9px 10px; display: flex; align-items: center; gap: 8px; min-width: 0; background: var(--surface); }
.gf-soon-k { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.gf-soon-v { color: var(--ink-3); font-weight: 600; }
.gf-soon-chip { display: inline-flex; align-items: center; border-radius: 999px; background: var(--blue-bg); color: var(--blue); font-size: 11px; font-weight: 700; padding: 1px 8px; line-height: 16px; white-space: nowrap; margin-left: auto; }
/* on the navy hero (Trips): the hero's own inks, which never change with the theme */
.gf-hero .gf-soon { display: inline-flex; margin-top: 12px; background: transparent; border-color: var(--hero-line); }
.gf-hero .gf-soon-k { color: var(--hero-muted); }
.gf-hero .gf-soon-chip { background: var(--hero-track); color: var(--hero-blue); }

/* ---------- banners and states ---------- */
.gf-banner { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.gf-banner > .mud-icon-root { font-size: 20px; margin-top: 1px; }
.gf-banner.warn { background: var(--amber-bg); border: 1px solid var(--amber-line); }
.gf-banner.warn > .mud-icon-root { color: var(--amber); }
.gf-banner.err { background: var(--red-bg); border: 1px solid var(--red-line); }
.gf-banner.err > .mud-icon-root { color: var(--red); }
/* The free trip as a count (help, tour and support design, Part B): a Free account's one quiet line, a large number or a
   plane at the left. Unused green, in use blue, spent amber, on each theme's own tokens. */
.gf-ft { display: flex; gap: 12px; align-items: center; border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.4; color: var(--ink); border: 1px solid var(--line); }
.gf-ft p { margin: 0; min-width: 0; }
.gf-ft a { color: var(--link); font-weight: 600; }
.gf-ft-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; font-family: var(--wide); font-size: 28px; font-weight: 800; line-height: 1; }
.gf-ft-n .mud-icon-root { font-size: 26px; }
.gf-ft.unused { background: var(--accent-bg); border-color: var(--accent-line); }
.gf-ft.unused .gf-ft-n { color: var(--accent-text); }
.gf-ft.inuse { background: var(--blue-bg); border-color: var(--blue-line); }
.gf-ft.inuse .gf-ft-n { color: var(--blue); }
.gf-ft.spent { background: var(--amber-bg); border-color: var(--amber-line); }
.gf-ft.spent .gf-ft-n { color: var(--amber); }
.gf-page.gf-ft-top { padding-bottom: 12px; }
/* Its pill on a Free account's own flight: tracked free, a commute's live times, or not tracked; on the navy hero, the hero's tones. */
.gf-ftp.free { background: var(--accent-bg); color: var(--accent-text); border-color: var(--accent-line); }
.gf-ftp.commute { background: var(--blue-bg); color: var(--blue); border-color: var(--blue-line); }
.gf-ftp.none { background: var(--sunken); color: var(--ink-2); border-color: var(--line); }
.gf-hero .gf-ftp.free { background: rgba(110,231,183,.12); border-color: #34D399; color: var(--hero-green); }
.gf-hero .gf-ftp.commute { background: rgba(147,197,253,.12); border-color: #60A5FA; color: var(--hero-blue); }
.gf-hero .gf-ftp.none { background: transparent; border-color: var(--hero-line); color: var(--hero-ink-2); }
.gf-ftp-row { margin-top: 8px; }
.gf-h-free { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 10px 0 0; font-size: 13.5px; }
.gf .gf-h-free a { color: var(--hero-blue); }
.gf-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 28px 16px; }
.gf-tile { width: 56px; height: 56px; border-radius: 16px; background: var(--primary-tint); color: var(--primary-text); display: grid; place-items: center; flex: none; }
.gf-tile .mud-icon-root { font-size: 28px; }
.gf-tile.sm { width: 32px; height: 32px; border-radius: 10px; }
.gf-tile.sm .mud-icon-root { font-size: 18px; }
.gf-state-h { font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }

/* ---------- the route map (D): navy in both themes, flows into the hero below ---------- */
.gf-map {
    position: relative; overflow: hidden; height: 200px; flex: none; color: #F8FAFC;
    background: radial-gradient(circle, rgba(51, 65, 85, .45) .7px, transparent 1.2px) 0 0 / 9px 9px, var(--hero);
    box-shadow: inset 0 -1px 0 var(--hero-line);
}
.gf-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gf-map path { fill: none; vector-effect: non-scaling-stroke; }
.gf-map .grid { stroke: #334155; stroke-opacity: .5; stroke-width: 1; }
.gf-map .leg { stroke: #93C5FD; stroke-width: 2; stroke-linecap: round; }
.gf-map .later { stroke-dasharray: 6 5; stroke-linecap: butt; }
.gf-map .done { stroke-opacity: .45; }
.gf-map .glow { stroke: #FCD34D; stroke-opacity: .25; stroke-width: 8; stroke-linecap: round; }
.gf-map .next { stroke: #F59E0B; stroke-width: 3; stroke-linecap: round; }
.gf-apt { position: absolute; z-index: 1; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #F8FAFC; }
.gf-apt.base { box-shadow: 0 0 0 5px var(--hero), 0 0 0 6.5px #6EE7B7; }
.gf-apt-l {
    position: absolute; z-index: 1; transform: translateY(-50%); margin-left: 12px;
    font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112;
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #CBD5E1; white-space: nowrap;
    text-shadow: 0 0 3px var(--hero), 0 0 3px var(--hero);
}
.gf-apt-l.end { margin-left: -12px; transform: translate(-100%, -50%); }
.gf-map-cap { position: absolute; right: 12px; bottom: 9px; z-index: 1; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 14px; color: #94A3B8; white-space: nowrap; pointer-events: none; }
@media (min-width: 900px) {
    .gf-map { height: 270px; }
    .gf-apt-l { font-size: 13px; }
    .gf-map-cap { right: 32px; bottom: 12px; }
}

/* ---------- hero band ---------- */
.gf-hero { background: var(--hero); color: var(--hero-ink); padding: 14px 20px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.gf-daynav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gf-h-eb { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-muted); line-height: 1.3; margin-top: 8px; overflow-wrap: anywhere; }
.gf-countdown { font-size: 48px; font-weight: 700; line-height: 1.05; color: var(--hero-green); letter-spacing: -.01em; }
.gf-cd-stn { margin-left: 8px; font-size: 18px; font-weight: 600; letter-spacing: .04em; color: var(--hero-ink-2); }
.gf-countdown.text { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 30px; line-height: 1.15; color: var(--hero-ink); }
.gf-h-sub { font-size: 16px; color: var(--hero-ink-2); margin-top: 2px; }
.gf-hstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--hero-line); border-radius: 12px; margin-top: 10px; }
.gf-hstat { padding: 7px 11px 8px; min-width: 0; }
.gf-hstat + .gf-hstat { border-left: 1px solid var(--hero-line); }
/* Four tiles (Admin overview): two by two on a phone, one row from 900 px. */
.gf-hstats.gf-hs-wrap.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gf-hstats.gf-hs-wrap.four .gf-hstat:nth-child(3) { border-left: 0; }
.gf-hstats.gf-hs-wrap.four .gf-hstat:nth-child(n+3) { border-top: 1px solid var(--hero-line); }
@media (min-width: 900px) {
    .gf-hstats.gf-hs-wrap.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gf-hstats.gf-hs-wrap.four .gf-hstat:nth-child(3) { border-left: 1px solid var(--hero-line); }
    .gf-hstats.gf-hs-wrap.four .gf-hstat:nth-child(n+3) { border-top: 0; }
}
.gf-hk { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hero-muted); line-height: 1.3; }
.gf-hv { font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--hero-ink); white-space: nowrap; }
.gf-hs { font-size: 12px; color: var(--hero-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-hrule { height: 1px; background: var(--hero-line); margin: 10px 0; }
.gf-hduty { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gf-dutyval { font-size: 28px; font-weight: 700; line-height: 1.1; color: var(--hero-ink); }
.gf-dbar { position: relative; height: 6px; border-radius: 3px; background: var(--hero-track); margin-top: 10px; overflow: hidden; }
.gf-dbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--hero-green); }
.gf-dbar-l { display: flex; justify-content: space-between; font-size: 12px; color: var(--hero-muted); margin-top: 6px; }
.gf-hero .mud-button-root { margin-top: 12px; }
@media (min-width: 900px) {
    .gf-hero { padding: 20px 32px 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
    .gf-hero .gf-daynav { justify-content: flex-start; gap: 12px; }
    .gf-countdown { font-size: 60px; }
    .gf-hero .gf-hstats { margin-top: 0; }
    .gf-hero .gf-hstat { padding: 12px 14px; }
    .gf-hero .gf-hv { font-size: 26px; }
    .gf-hero.single { grid-template-columns: minmax(0, 1fr); }
    .gf-hero.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
    /* A hero drawn as a card on the page's margins, not full bleed (the boards' .gf-web .gf-hero): Today's, the flight page's and the trip page's. */
    .gf-hero.gf-hero-card { max-width: 1116px; margin: 8px 32px 0; border-radius: 16px; padding: 20px 28px 22px; }
    /* The countdown is one line at every web width. */
    .gf-hero-card .gf-h-cd { white-space: nowrap; }
    /* TodayF-web's parts side by side as today.css's tb-hero3 sizes them (.85fr, 1.3fr, 1.1fr, doubled here so a part alone on its
       line fills it): what is next, never narrower than its countdown, the route row and the duty bar. A part that doesn't fit
       beside the ones before it goes under them, so nothing is squeezed (all three from about 1,300 px), and every part keeps to
       the top (the hero's own align-items: start). */
    .gf-hero.gf-hero-card:not(.single) { display: flex; flex-wrap: wrap; }
    .gf-hero-card:not(.single) > * { flex: 2.2 1 0; min-width: 240px; }
    .gf-hero-card:not(.single) > :first-child { flex: 1.7 1 0; min-width: min-content; }
    /* Its eyebrow ("C5 4369 departs in") one line beside the pill, as the flight page's: the part widens to hold it, and a part
       that no longer fits beside it goes under (the iPad on its side left "in" alone on a second line, 14 Nov). */
    .gf-hero-card:not(.single) > :first-child > .gf-h-top .gf-h-eb { white-space: nowrap; }
    .gf-hero-card:not(.single) > .gf-flt-fh { flex: 2.6 1 0; min-width: 290px; }
    /* The FAR 117 or EASA bar keeps each mark on one line: where its column is too narrow for the bar and the "Must end by" box
       side by side, the box goes under the bar. */
    .gf-hero-card .gf-fdp { flex-wrap: wrap; }
    .gf-hero-card .gf-fdp-m { flex: 1 1 220px; }
    .gf-hero-card .gf-far-ends span { white-space: nowrap; }
    /* The limit once (R74): the box beside the bar says it ("Max FDP", "Must end by"), so the bar's own mark goes. */
    .gf-hero-card .gf-far-ends .gf-far-max { display: none; }
}
/* Today's route row: the airplane between the codes, pointing the way the leg flies (TodayF). */
.gf-flt-mid .gf-flt-plane { transform: rotate(90deg); color: var(--hero-ink-2); }


/* ---------- legs ---------- */
/* A flight's route (the commute page's options). */
.gf-leg-route { font-size: 17px; font-weight: 700; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.gf-leg-route .fn { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.gf-stn { margin-left: 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }
.gf-crow { display: flex; align-items: baseline; gap: 12px; padding: 5px 0; font-size: 14px; }
.gf-crow + .gf-crow { border-top: 1px solid var(--line); }
.gf-crow-t { min-width: 104px; flex: none; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gf-crow-r { font-weight: 600; color: var(--ink); min-width: 0; }

/* ---------- V1.1 live on Today (D · Today, live) ----------
   Live data gives times, gates and tails, never a position: flown legs go solid hero green, the next stays amber. */
.gf-map .flown { stroke: var(--hero-green); stroke-width: 1.5; stroke-opacity: .9; stroke-linecap: round; }
.gf-map-lkey { position: absolute; left: 12px; top: 10px; z-index: 1; display: flex; gap: 12px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 14px; color: #CBD5E1; pointer-events: none; white-space: nowrap; }
.gf-map-lkey span { display: inline-flex; align-items: center; gap: 5px; }
.gf-map-lkey i { display: inline-block; width: 16px; border-top: 2px dashed #93C5FD; }
.gf-map-lkey i.flown { border-top: 1.5px solid #6EE7B7; }
.gf-map-lkey i.next { border-top: 3px solid #F59E0B; }
.gf-hpill { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; line-height: 18px; white-space: nowrap; border: 1.5px solid transparent; }
.gf-hpill.warn, .gf-hpill.next { background: rgba(245,158,11,.14); border-color: #F59E0B; color: var(--hero-amber); }
.gf-hpill.ontime, .gf-hpill.done { background: rgba(110,231,183,.12); border-color: #34D399; color: var(--hero-green); }
.gf-hpill.err { background: rgba(239,68,68,.14); border-color: #EF4444; color: #FCA5A5; }
.gf-hv-s { font-size: 15px; font-weight: 600; color: var(--hero-ink-2); margin-left: 2px; }
.gf-hk-row { display: flex; align-items: center; gap: 6px; }
.gf-htag { display: inline-flex; align-items: center; border-radius: 999px; padding: 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 16px; white-space: nowrap; background: rgba(245,158,11,.16); color: var(--hero-amber); box-shadow: inset 0 0 0 1px rgba(245,158,11,.6); }
.gf-p-ontime { background: transparent; color: var(--accent-text); border: 1.5px solid var(--accent-line); padding: 2.5px 9.5px; }
.gf-was { font-size: 12px; font-weight: 400; color: var(--ink-3); white-space: nowrap; }
/* Design D fixes, chat and pilot logbook (2026-10-18). A chat thread fills the screen above the tab bar (and the crew
   strip on phones): the composer at the bottom, the log scrolling above it (D · Direct message). */
.gf-chat-shell { display: flex; flex-direction: column; height: calc(100dvh - 74px - var(--gf-sab)); }
.gf-chat-shell > * { flex: none; }
.gf-chat-shell > .gf-chat-page { flex: 1; min-height: 0; width: 100%; padding-bottom: 8px; }
.gf-nav + .gf-main:has(.gf-chat-shell) { padding-bottom: 0; }
@media (max-width: 899.98px) {
    /* Only while the strip is drawn: with nothing ahead it renders nothing, and no gap is left for it. */
    .gf-shell:has(.gf-strip) .gf-chat-shell { height: calc(100dvh - 118px - var(--gf-sab)); }
}
/* A phone on its side: too short to pin the composer, so the page scrolls as any other (after the rules above, to win). */
@media (max-width: 899.98px) and (max-height: 480px) {
    .gf-chat-shell, .gf-shell:has(.gf-strip) .gf-chat-shell { height: auto; }
    .gf-nav + .gf-main:has(.gf-chat-shell) { padding-bottom: calc(74px + var(--gf-sab)); }
    .gf-shell:has(.gf-strip) .gf-nav + .gf-main:has(.gf-chat-shell) { padding-bottom: calc(118px + var(--gf-sab)); }
}
@media (min-width: 900px) {
    .gf-chat-shell { height: 100dvh; }
}
/* Typing on a phone: the keyboard takes the bottom of the screen and the app's page gets shorter (MainPage), so the tab bar and the
   crew strip, fixed at its bottom, stood over the field being typed in and a chat's composer (the walkthrough of 9 Nov). While a
   field that brings up the keyboard has the focus they step aside, and what was set above them (a chat, an edit's Save bar) takes
   their place. A browser's keyboard covers the page instead, so this asks nothing of the web. */
@media (max-width: 899.98px) and (pointer: coarse) {
    .gf-shell:has(:is(input:not([type=checkbox], [type=radio], [type=range], [type=button], [type=submit]), textarea):focus) :is(.gf-nav, .gf-strip) { display: none; }
    .gf-shell:has(:is(input:not([type=checkbox], [type=radio], [type=range], [type=button], [type=submit]), textarea):focus) .gf-chat-shell { height: 100dvh; }
    .gf-shell:has(:is(input:not([type=checkbox], [type=radio], [type=range], [type=button], [type=submit]), textarea):focus) .gf-formbar { bottom: 0; }
}
.gf-composer .mud-input.mud-input-outlined, .gf-composer .mud-input-outlined-border { border-radius: 22px; }
.gf-composer .mud-input.mud-input-outlined { min-height: 44px; background: var(--surface); }
.gf-composer .mud-input-slot { padding-left: 16px; padding-right: 16px; }
.gf .gf-composer .gf-send { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
.gf .gf-composer .gf-send:disabled { color: var(--on-primary); opacity: .45; }
/* People: a row whose name is a link opens on a tap anywhere in it; its buttons stay on top. */
.gf-prow:has(a.gf-pname) { position: relative; }
.gf-prow a.gf-pname::after { content: ""; position: absolute; inset: 0; }
.gf-prow:has(a.gf-pname) > :not(.gf-pm):not(.gf-av) { position: relative; z-index: 1; }
/* Pilot logbook settings: carried-forward figures in an even grid (2 columns on phones, 4 from 900 px). */
.gf-plb-set { max-width: 760px; }
.gf-plb-cf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.gf-plb-cf > .gf-plb-asof { grid-column: 1 / -1; max-width: 240px; }
/* The two notes under the flights: captions on phones, two half-width cards from 900 px (D · Web pilot logbook). */
.gf-plb-note { margin: 8px 0 0; }
.gf-plb-note h2 { display: none; }
.gf-plb-note p { margin: 0; }
@media (min-width: 900px) {
    .gf-plb-cf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gf-plb-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
    .gf-plb-note { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
    .gf-plb-note h2 { display: block; margin: 0 0 8px; }
    .gf-plb-note p + p { margin-top: 6px; }
}
/* Design D fixes, crew screens (2026-10-18). Today's FDP bar sits in the navy hero in place of its duty bar (D · Today). */
.gf-fdp { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; color: inherit; text-decoration: none; }
.gf-fdp-m { flex: 1; min-width: 0; padding-top: 5px; }
.gf-fdp .gf-far-bar { height: 10px; border-radius: 5px; margin-top: 0; box-shadow: inset 0 0 0 1px var(--hero-line); }
.gf-fdp-box { flex: none; display: flex; flex-direction: column; gap: 2px; max-width: 50%; padding: 6px 10px 7px; border: 1px solid var(--hero-line); border-radius: 10px; }
.gf-fdp-box .gf-hk b { font-size: 12px; font-weight: 700; color: var(--hero-ink); white-space: nowrap; }
.gf-fdp-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; }
.gf-fdp-v b { font-size: 21px; font-weight: 700; line-height: 1.1; color: var(--hero-amber); }
.gf-fdp-v b.over { color: #FCA5A5; }
.gf-fdp-v span { font-size: 12px; color: var(--hero-ink-2); }
.gf-fdp-adv { font-size: 11.5px; line-height: 1.4; color: var(--hero-muted); margin-top: 8px; }
/* FAR 117's hero: a key-value panel whose captions wrap (D · Web FAR 117), and Table B's next FDP, dashed. */
.gf-far-hkv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; font-size: 13px; color: var(--hero-ink-2); }
.gf-far-hkv > div + div { border-top: 1px solid var(--hero-line); }
.gf-far-hkv b { font-size: 15px; color: var(--hero-ink); white-space: nowrap; }
.gf-far-tb > div span { white-space: nowrap; }
.gf-far-tb > div.next { outline: 1.5px dashed var(--ink-3); outline-offset: -1.5px; }
.gf-far-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.gf-far-key > span { display: inline-flex; align-items: center; gap: 6px; }
.gf-far-key i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; }
.gf-far-key i.today { background: var(--amber-bg); box-shadow: inset 0 0 0 1.5px var(--amber-line); }
.gf-far-key i.next { outline: 1.5px dashed var(--ink-3); outline-offset: -1.5px; }
/* The filter chips scroll without a scrollbar; the trip page's hero captions wrap. */
.gf-chips { scrollbar-width: none; }
.gf-chips::-webkit-scrollbar { display: none; }
/* Lines read whole, never cut with an ellipsis: a trip's stats, the EASA notice. */
.gf-hs-wrap .gf-hs { white-space: normal; }
/* Words in a hero value ("Overdue by 2d 1h") break at their spaces; a figure ("$123.45") has none, so it stays whole. */
.gf-hs-wrap .gf-hv { white-space: normal; }
/* Words too long for a third of a phone (Admin health's "Not answering", a version): one stat a row there, and a
   version string with no space may break anywhere rather than run past its cell. */
.gf-hs-stack .gf-hv { overflow-wrap: anywhere; }
@media (max-width: 599px) {
    .gf-hstats.gf-hs-stack { grid-template-columns: minmax(0, 1fr); }
    .gf-hs-stack .gf-hstat + .gf-hstat { border-left: 0; border-top: 1px solid var(--hero-line); }
}

/* ---------- Records in direction D (D-Passport, D-Logbook, D-ShareCards, D-Me, D-WebPassport, D-WebLogbook): the count
   and the year toggle in one row, the stats as a boxed strip, the totals strip and time in type with bars, the Passport
   card on Me, the share buttons as an equal pair; from 900 px the overview in two columns and the flights as a table ---------- */
.gf-pair { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.gf-pp-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.gf-hero .gf-pp-row .gf-seg { margin-top: 0; flex: 0 1 auto; }
.gf-pp-row .gf-seg button { padding: 0 12px; white-space: nowrap; }
.gf-pp-grid > div { padding: 8px 10px; min-width: 0; }
.gf-pp-grid > div + div { border-left: 1px solid var(--hero-line); }
.gf-pp-grid .gf-pp-v { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-lb-facts { padding-top: 12px; padding-bottom: 0; }
.gf-lb-web { display: none; }
/* Calendar on this phone (D · Calendar import): the steps in the navy hero, and each event found with its flight. */
/* The calendar hero, with room around its steps and promise (persona walkthrough R82). */
.gf-hero.gf-ci-hero { padding: 20px 20px 22px; }
.gf-ci-steps { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gf-ci-st { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 22px; color: var(--hero-muted); white-space: nowrap; }
.gf-ci-st i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; letter-spacing: 0; border: 1.5px solid var(--hero-line); color: var(--hero-muted); }
.gf-ci-st.done { color: var(--hero-green); }
.gf-ci-st.done i { background: var(--hero-green); border-color: var(--hero-green); color: var(--hero); }
.gf-ci-st.now { color: var(--hero-ink); }
.gf-ci-st.now i { border: 2px solid var(--hero-amber); color: var(--hero-amber); }
.gf-ci-sep { flex: 1; min-width: 12px; height: 0; border-top: 1.5px dashed var(--hero-line); }
.gf-ci-sep.done { border-top-style: solid; border-top-color: var(--hero-green); }
.gf-ci-promise { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 15px; line-height: 1.45; color: var(--hero-ink); }
.gf-ci-promise .mud-icon-root { flex: none; }
.gf-ci-found { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); margin: -4px 0 2px; }
.gf .gf-ci-ev { display: flex; width: 100%; padding: 6px 0; }
.gf-ci-ev + .gf-ci-ev { border-top: 1px solid var(--line); }
.gf-ci-ev .mud-checkbox { align-items: flex-start; width: 100%; }
.gf-ci-em { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 8px; }
.gf-ci-et { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.gf-ci-er { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); }
.gf-ci-es { font-size: 13px; color: var(--ink-2); }
.gf-ci-fl { flex: none; padding: 0 8px; border-radius: 6px; background: var(--blue-bg); color: var(--blue); font-size: 12px; font-weight: 600; line-height: 22px; white-space: nowrap; }
/* Bring your logbook (D · Logbook import): the column map in two columns, whose-times radio cards, and the total bar. */
.gf-li-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; overflow: hidden; }
.gf-li-mc { display: flex; align-items: center; gap: 6px; min-height: 30px; margin-top: -1px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); white-space: nowrap; min-width: 0; }
.gf-li-mc > span:first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gf-li-mc b { font-weight: 600; color: var(--ink); }
.gf-li-ar { color: var(--ink-3); }
.gf-li-crew { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.gf-li-dup { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.gf-li-dup b { font-weight: 700; }
.gf-li-opts { margin: 6px 0 0; padding: 0; border: 0; min-width: 0; }
.gf-li-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 6px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.gf-li-opt + .gf-li-opt { border-top: 1px solid var(--line); }
.gf-li-opt input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--primary); }
.gf-li-opt input:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.gf-li-ol { display: flex; flex-direction: column; min-width: 0; }
.gf-li-ol b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.gf-li-opt:has(input:checked) .gf-li-ol b { font-weight: 700; }
.gf-li-ol small { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.gf-formbar > .gf-li-tot { flex: none; order: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 4px 12px; border-radius: 12px; background: var(--hero); box-shadow: inset 0 0 0 1px var(--hero-line); }
.gf-li-tot > span { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 13px; color: var(--hero-muted); white-space: nowrap; }
.gf-li-tot > b { display: flex; align-items: baseline; gap: 5px; font-size: 18px; font-weight: 700; line-height: 1.15; color: var(--hero-green); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gf-li-tot > b small { font-size: 12px; font-weight: 600; color: var(--hero-ink-2); }
.gf-lb-cols, .gf-lb-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gf-h-ms { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; }
.gf-h-ms .mud-icon-root { flex: none; margin-top: 3px; color: var(--hero-amber); }
.gf-ms { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.gf-ms + .gf-ms { border-top: 1px solid var(--line); }
.gf-ms .mud-icon-root { flex: none; margin-top: 2px; color: var(--amber); }
.gf-ms > span { display: flex; flex-direction: column; min-width: 0; }
.gf-ms b { font-size: 15px; font-weight: 600; color: var(--ink); }
.gf-ms small { font-size: 13px; color: var(--ink-2); }
.gf-hero.gf-lb-tot { border-radius: 16px; padding: 12px 14px; }
.gf-lb-tot .gf-hstats { margin-top: 0; }
.gf-hstats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gf-lb-tot .gf-hv { font-size: 18px; overflow: hidden; text-overflow: ellipsis; }
.gf-tit .gf-kv { min-height: 34px; }
.gf-tit-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.gf-tit-bar i { display: block; height: 100%; border-radius: 3px; background: var(--primary); }
.gf-lc, .gf-loghead { display: none; }
@media (min-width: 600px) { .gf-pp-grid .gf-pp-v, .gf-lb-tot .gf-hv { font-size: 22px; } }
@media (min-width: 900px) {
    .gf-lb-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); background: var(--hero); }
    .gf-lb-top .gf-lb-facts { padding: 16px 32px 16px 0; }
    .gf-lb-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
    .gf-lb-web { display: block; }
    /* Departs and Arrives share the room with the route, so "12:00 PM sched" fits once the table is about 960 px wide. */
    .gf-lrow.gf-logrow, .gf-loghead { display: grid; grid-template-columns: 60px 76px minmax(0, 1.4fr) 60px 80px minmax(80px, .55fr) minmax(80px, .55fr) 64px 60px; gap: 10px; align-items: center; }
    .gf-logrow .gf-logmain, .gf-logrow .gf-logtimes { display: none; }
    .gf-lc { display: block; min-width: 0; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .gf-loghead { padding: 12px 0 6px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
    .gf-logrow .gf-logdate { padding-top: 0; }
}

/* ---------- D · Plans, Add a flight, Crew brief ---------- */
.gf-h-t { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--hero-ink); margin: 4px 0 0; }
.gf-plan-n { text-transform: uppercase; }
.gf .gf-seg a { gap: 6px; }
.gf-seg a .mud-icon-root { font-size: 18px; }
.gf-fgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
/* A date field needs room for its whole year beside a short field. */
.gf-fgrid.gf-fgrid-date { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
/* A date beside its time (Add's boards CrewByHand, CrewReserve; Choose your side): side by side whenever both show whole, else the
   time goes under its date, at any width and text size. Each basis is the field's widest text ("Nov 20, 2026"; "23:45", or "12:45 PM"
   on a 12-hour clock) with its calendar or clock button, all in rem as MudBlazor sizes them (the pickers themselves inherit .gf's fixed
   15 px, so em would not grow with a larger text size), plus the field's fixed padding; measured at 16 and 20 px, a pixel over so a
   rounding wraps rather than clips. */
.gf-dt { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-dt > * { min-width: 0; }
.gf-dt > :first-child { flex: 1.5 1 calc(7.75rem + 49px); }
.gf-dt > :last-child { flex: 1 1 calc(4.25rem + 49px); }
.gf-dt.h12 > :last-child { flex-basis: calc(6rem + 49px); }
.gf-note-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin: 0; }
.gf-note-line .mud-icon-root { color: var(--ink-3); }
.gf a.gf-addrow { color: var(--ink); text-decoration: none; }
/* Add's Added card (boards CrewAdded, PaxAdded): a green disc with a check and the title in the success accent, the free trip
   line's tokens in both themes; then what was added, and the return's question at the same size. */
.gf-done { display: flex; gap: 12px; align-items: flex-start; }
.gf-done-ok { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-bg); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.gf-done-ok .mud-icon-root { font-size: 24px; }
.gf-done-m { min-width: 0; }
.gf .gf-done .gf-ct { color: var(--accent-text); }
.gf-lead { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.gf-done .gf-lead { margin-top: 2px; }
/* Under .gf-done, so its 2 px above wins over .gf p's margin. */
.gf-done .gf-done-s { font-size: 14px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
/* Add's trip code (F28): the code kept from the leg before, a pill on the Added card, and the row with Change. */
/* The trip page's Crew tab (F27): a person's legs as a bar, a segment a leg. */
.gf-tc-legs { display: flex; align-items: center; gap: 8px; }
.gf-legbar { display: inline-flex; gap: 3px; flex: none; }
.gf-legbar i { width: 14px; height: 6px; border-radius: 3px; background: var(--line); }
.gf-legbar i.on { background: var(--primary); }
.gf-legbar i.dh { background: transparent; border: 1.5px dashed var(--ink-3); }
.gf-kept { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--accent-bg); border: 1px solid var(--accent-line); color: var(--accent-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.gf-kept .mud-icon-root { font-size: 15px; }
.gf-kept-row { display: flex; justify-content: center; }
.gf-trip-kept { display: flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 8px; }
.gf-trip-kept .gf-pm { flex: 1; min-width: 0; }
/* Crew's "What is it?" chips on Add, a size up from the filter chips' (board Main). */
.gf-kinds .gf-fchip { font-size: 14px; }
.gf-hrow { display: flex; align-items: center; gap: 8px; }
.gf-hrow .gf-h-eb { margin-top: 0; }
.gf-hero .gf-h-name { margin-top: 4px; }
.gf-h-route { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--hero-ink-2); margin-top: 4px; overflow-wrap: anywhere; }
.gf-hero .gf-h-duty { font-size: 14px; margin-top: 4px; }
.gf-wx { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 10px; padding: 9px 0; }
.gf-wx + .gf-wx { border-top: 1px solid var(--line); }
.gf-wx-code { font-size: 18px; font-weight: 800; letter-spacing: .03em; color: var(--ink); line-height: 24px; }
.gf-wx-r { display: flex; align-items: center; gap: 8px; min-height: 24px; flex-wrap: wrap; }
.gf-wx-v { font-size: 15px; font-weight: 600; color: var(--ink); }
.gf-wx-w { font-size: 13px; color: var(--ink-2); }
.gf-wx-n, .gf-wx-notam { grid-column: 2; font-size: 13.5px; line-height: 1.35; margin: 3px 0 0; }
.gf-wx-n { color: var(--ink-2); }
.gf-wx-notam { display: flex; align-items: flex-start; gap: 6px; color: var(--ink); }
.gf-tag-n { display: inline-flex; flex: none; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-3); font-size: 11px; font-weight: 600; padding: 0 7px; line-height: 16px; margin-top: 1px; }
.gf-fcat { display: inline-flex; align-items: center; flex: none; border-radius: 6px; padding: 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; line-height: 18px; border: 1px solid transparent; }
.gf-fcat.vfr { background: var(--accent-bg); color: var(--accent-text); border-color: var(--accent-line); }
.gf-fcat.mvfr { background: var(--blue-bg); color: var(--blue); border-color: var(--blue-line); }
.gf-fcat.ifr { background: var(--red-bg); color: var(--red); border-color: var(--red-line); }
.gf-fcat.lifr { background: var(--pt-bg); color: var(--pt-ink); border-color: var(--pt-line); }
.gf-fclegend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.gf-duty-line { margin: 0 0 6px; }
.gf a.gf-crow-r { color: var(--ink); text-decoration: none; }
/* ---------- Alerts (D-Alerts, D-AlertSettings): a text link in the app bar, a tinted square per kind, unread rows tinted with a
   dot after the time; settings switches label left and switch right; a person's kinds as toggle chips ---------- */
.gf .gf-ab-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 8px; font-size: 14px; font-weight: 600; color: var(--primary-text); text-decoration: none; white-space: nowrap; }
.gf-ab-link .mud-icon-root { font-size: 18px; }
.gf-al { display: flex; align-items: flex-start; gap: 12px; padding: 12px; text-decoration: none; }
.gf a.gf-al { color: var(--ink); }
.gf-al + .gf-al { border-top: 1px solid var(--line); }
.gf-al.unread { background: var(--primary-tint); }
.gf-al-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.gf-al-ic .mud-icon-root { font-size: 19px; }
.gf-al-ic.amber { background: var(--amber-bg); color: var(--amber); }
.gf-al-ic.blue { background: var(--blue-bg); color: var(--blue); }
.gf-al-ic.green { background: var(--accent-bg); color: var(--accent-text); }
.gf-al-ic.slate { background: var(--sunken); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.gf-al-ic.violet { background: var(--pt-bg); color: var(--pt-ink); }
.gf-al-ic.red { background: var(--red-bg); color: var(--red); }
.gf-al .gf-av .mud-icon-root { font-size: 20px; }
.gf-al-m { flex: 1; min-width: 0; }
.gf-al-h { display: flex; align-items: baseline; gap: 8px; }
.gf-al-t { min-width: 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.gf-al.unread .gf-al-t { font-weight: 700; }
.gf-al-time { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.gf-al.unread .gf-al-time { color: var(--ink-2); font-weight: 600; }
.gf-udot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary-text); flex: none; align-self: center; }
.gf-al-b { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.gf-al-who { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.gf-fchip.tog[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.gf-fchip:disabled { opacity: .6; cursor: default; }
/* MudBlazor's start-placed label adds a 16 px margin, which pushed a full-width row past its card. */
.gf .gf-srow .mud-switch { margin: 0; }
/* The label text carries mud-switch too: as a flex row-reverse it would push its own words to the switch. */
.gf .gf-srow .mud-typography.mud-switch { display: block; width: auto; min-height: 0; }
/* Every switch, app-wide: an off thumb reads darker than an on one, in both themes (MudBlazor's is near-white). */
.gf .mud-switch-base:not(.mud-checked):not(.mud-switch-disabled), .gf-tok .mud-switch-base:not(.mud-checked):not(.mud-switch-disabled) { color: var(--ink-3); }
/* ---------- V1.1 flight page (D · Flight detail, live; D · Web flight detail) ---------- */
.gf-flt { grid-template-columns: minmax(0, 1fr); }
.gf-flt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gf-flt-row .gf-h-eb { margin-top: 0; }
.gf-flt-row .gf-hpill { margin-top: 0; }
.gf-flt-fh { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 10px; }
.gf-flt-fh .r { text-align: right; }
.gf-flt-code { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 28px; font-weight: 800; letter-spacing: .02em; line-height: 1; color: var(--hero-ink); }
/* The label wraps under the time when it doesn't fit (a passenger's 12-hour times and "departure" / "arrival"). */
.gf-flt-t { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 0; margin-top: 6px; font-size: 20px; font-weight: 700; line-height: 1.1; color: var(--hero-ink); white-space: nowrap; }
.gf-flt-fh .r .gf-flt-t { justify-content: flex-end; }
.gf-flt-t small { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; color: var(--hero-muted); }
.gf-flt-was { font-size: 12px; color: var(--hero-muted); margin-top: 2px; white-space: nowrap; }
/* The gate line wraps rather than run past the hero ("Gate C21 · Terminal C" at 390 px, walkthrough 2026-11-09). */
.gf-flt-g { font-size: 13px; font-weight: 600; color: var(--hero-ink-2); margin-top: 5px; }
.gf-flt-mid { display: flex; flex-direction: column; align-items: center; gap: 3px; padding-top: 4px; color: var(--hero-muted); text-align: center; }
/* The flight's length between the codes, at most 84 px: "7h 15m flight" is one line (80 px), and a longer one ("12h 45m flight")
   wraps to two short lines, so the codes keep their width. */
.gf-flt-len { font-size: 12px; font-weight: 700; color: var(--hero-ink-2); line-height: 1.25; max-width: 84px; }
@media (min-width: 900px) {
    .gf-hero.gf-flt { grid-template-columns: minmax(0, 1fr); }
    .gf-flt-code { font-size: 36px; }
    .gf-flt-t { font-size: 24px; }
    .gf-flt-len { max-width: none; }
}
/* ---------- the refreshed hero (the refresh spec §4.2, 2026-10-30): the status and the next moment before the codes ---------- */
.gf-h-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gf-h-top .gf-h-eb, .gf-h-top .gf-hpill, .gf-h-now .gf-h-eb { margin-top: 0; }
.gf-h-now { display: flex; flex-direction: column; gap: 2px; }
.gf-h-cd { font-size: 44px; font-weight: 700; line-height: 1.05; color: var(--hero-green); letter-spacing: -.01em; }
.gf-h-cd.text { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 28px; line-height: 1.15; color: var(--hero-ink); }
/* The facts strip: three cells of label, value and note. Its own class, since .gf-hstats serves eleven other pages. */
.gf-hfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--hero-line); border-radius: 12px; }
.gf-hfact { padding: 7px 11px 8px; min-width: 0; }
.gf-hfact + .gf-hfact { border-left: 1px solid var(--hero-line); }
/* A fact's label wraps at a large font size, never cut to "DAYS O…" (9 Nov); the trip's day names over its bar too. */
.gf-hfact-k { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hero-muted); line-height: 1.3; overflow-wrap: break-word; }
.gf-hfact-v { font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--hero-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-hfact-n { font-size: 12px; color: var(--hero-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-hfact .gf-plus-tag { margin-left: 0; }
/* The NOTAM chip, in the flight page's hero under the route (NOTAM awareness §5.1, board D · NOTAM chip states). The hero is navy in
   both themes, so it reads the hero inks; red takes the app's --red-line, amber the hero pills' own #F59E0B (the amber line darkens
   in the dark theme, the hero does not). A link is at least 44 px tall. */
.gf-nchip { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px 8px 12px; border-radius: 12px; border: 1.5px solid var(--hero-line); background: var(--hero-track); color: var(--hero-ink); }
.gf a.gf-nchip { color: var(--hero-ink); text-decoration: none; }
.gf-nchip:focus-visible { outline: 2px solid var(--hero-blue); outline-offset: 2px; }
.gf-nchip .ic { color: var(--hero-ink-2); }
/* The title and its line share a wrapping row: the line beside the title where it fits, under it where not, wrapping there rather
   than cutting the red reason short (D2). */
.gf-nchip .tx { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; }
.gf-nchip .k { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.gf-nchip .n { font-size: 13px; line-height: 1.35; color: var(--hero-ink-2); min-width: 0; overflow-wrap: break-word; }
.gf-nchip .chev { margin-left: auto; color: var(--hero-muted); }
.gf-nchip .gf-plus-tag { margin-left: 0; }
.gf-nchip.red { background: rgba(239,68,68,.14); border-color: var(--red-line); }
.gf-nchip.red .ic, .gf-nchip.red .k { color: var(--hero-red); }
.gf-nchip.amber { background: rgba(245,158,11,.14); border-color: #F59E0B; }
.gf-nchip.amber .ic, .gf-nchip.amber .k { color: var(--hero-amber); }
.gf-nchip.mute { background: transparent; }
.gf-nchip.mute .k { color: var(--hero-ink-2); font-weight: 600; }
/* The NOTAM page (NOTAM awareness §5.2, boards D · NOTAMs phone, web, first time, nothing new, dark): the airport switch, the hero's
   airport, the banners, the sections and their cards, on the theme's tokens (light and dark). The page's two columns are NotamsWeb's
   wrapping flex: the banners, New and Already in force on the left (560 px or more); conditions, Everything else and the fine print
   on the right (340 px or more), side by side once both fit (about 1,232 px with the rail) and one column, in that order, until then.
   The app bar is one row (gf-appbar-row: the sub gives way first); the switch sits in it from 1,100 px, where it fits beside the
   title and the sub, and under it below that. */
.gf-nseg-row { padding: 4px 16px 12px; }
.gf .gf-nseg-in { display: none; }
/* .gf-seg.gf-nseg: these win over the shared switch's later rules (its 150 px app-bar width, 6 px gap and 700 weight). A set width,
   since a flex basis inside the bar's end is not what sizes it. */
.gf-nbar .gf-seg.gf-nseg-in { width: 340px; flex: none; }
/* min-width 0 lets a button be narrower than its label: below about 340 px, or with larger text, "Departure" shortens with an
   ellipsis (gf-nseg-w) while the code and the badge keep their place, so the switch never overflows (D9). */
.gf-seg.gf-nseg button { gap: 8px; padding: 0 12px; white-space: nowrap; min-width: 0; }
.gf-seg.gf-nseg button .gf-nseg-w { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gf-seg.gf-nseg button b { font-weight: 800; letter-spacing: .02em; }
.gf-seg.gf-nseg button .gf-nseg-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #DC2626; color: #FFFFFF; font-size: 11.5px; font-weight: 700; letter-spacing: 0; }
.gf-nhero-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gf-nhero .gf-h-eb { margin-top: 0; }
.gf-nhero-lines { display: flex; flex-direction: column; gap: 2px; }
.gf-nhero .gf-h-line { margin-top: 0; font-size: 14px; color: var(--hero-ink-2); line-height: 1.45; }
.gf-nhero .gf-h-line b { color: var(--hero-ink); font-weight: 600; }
.gf-h-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gf-h-code { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 36px; font-weight: 800; letter-spacing: .02em; line-height: 1; color: var(--hero-ink); }
.gf-h-city { font-size: 16px; font-weight: 600; color: var(--hero-ink-2); }
.gf-h-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--hero-ink-2); line-height: 1.45; }
.gf-h-note .mud-icon-root { font-size: 16px; color: var(--hero-blue); margin-top: 2px; flex: none; }
/* The Unseen fact's note ("1 · Approach to your runway") takes two lines before it is cut, so the reason reads on a phone. */
.gf-nhero .gf-hfact-n { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.gf-ntp { padding-top: 14px; }
.gf-ntp-cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 20px; }
.gf-ntp-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; flex: 999 1 560px; }
.gf-ntp-col + .gf-ntp-col { flex: 1 1 340px; }
.gf-ntp-fine { display: flex; flex-direction: column; gap: 8px; padding: 2px 2px 0; }
.gf-ntp-kept { display: flex; flex-direction: column; gap: 8px; }
.gf-cap.warn { color: var(--amber); font-weight: 600; }
.gf-why { display: inline-flex; align-items: center; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 700; line-height: 18px; border: 1px solid transparent; white-space: nowrap; }
.gf-why.red { background: var(--red-bg); color: var(--red); border-color: var(--red-line); }
.gf-why.amber { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-line); }
.gf-why.blue { background: var(--blue-bg); color: var(--blue); border-color: var(--blue-line); }
.gf-why.plain { background: var(--sunken); color: var(--ink-2); border-color: var(--line); font-weight: 600; }
.gf-new { display: inline-flex; align-items: center; border-radius: 999px; padding: 0 7px; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 16px; color: var(--primary-text); box-shadow: inset 0 0 0 1px var(--primary-text); text-transform: uppercase; flex: none; }
.gf-threat { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 12px 14px; border: 1px solid var(--red-line); background: var(--red-bg); color: var(--ink); }
.gf a.gf-threat { color: var(--ink); text-decoration: none; }
.gf-threat.amber { border-color: var(--amber-line); background: var(--amber-bg); }
.gf-threat .ic { color: var(--red); margin-top: 1px; flex: none; }
.gf-threat.amber .ic { color: var(--amber); }
.gf-threat-t { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.gf-threat-s { display: block; font-size: 13px; color: var(--ink-2); margin-top: 3px; line-height: 1.4; }
.gf-sec { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 0 2px; }
.gf-sec ~ .gf-sec { margin-top: 6px; }
.gf-sec-t { font-family: var(--wide); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.gf-sec-n { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.gf-sec-w { margin-left: auto; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.gf-sec-s { width: 100%; font-size: 12.5px; color: var(--ink-3); }
.gf-list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 2px 16px; min-width: 0; }
.gf-nt { padding: 14px 0; display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 12px; }
.gf-nt + .gf-nt { border-top: 1px solid var(--line); }
/* The number keeps the top right; the dot or seen stamp and the reason wrap beside it (gf-nt-hl) when they don't fit on one line. */
.gf-nt-h { display: flex; align-items: flex-start; gap: 8px; }
.gf-nt-hl { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; }
.gf-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--primary-text); white-space: nowrap; }
.gf-dot i { width: 9px; height: 9px; border-radius: 50%; background: var(--primary-text); display: inline-block; }
.gf-seen { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.gf-seen .mud-icon-root { font-size: 14px; }
.gf-nt-id { margin-left: auto; flex: none; font-size: 12px; line-height: 20px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
/* break-word, not anywhere: a word breaks only when it alone is wider than the line, never to let a column squeeze it. */
.gf-nt-t { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.35; overflow-wrap: break-word; }
.gf-nt-w { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.gf-nt-w b { color: var(--ink); font-weight: 600; }
.gf-nt-why { font-size: 13px; color: var(--amber); font-weight: 600; line-height: 1.4; }
.gf-raw { font-family: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace; font-size: 12px; line-height: 1.45; color: var(--ink-2); background: var(--sunken); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; overflow-wrap: anywhere; }
.gf .gf-nt-mark { width: 100%; min-height: 44px; }
.gf .gf-nt-more { min-height: 44px; margin: 6px 0 0 -8px; }
.gf-ncond + .gf-ncond { margin-top: 10px; }
.gf-mini { display: flex; align-items: center; gap: 10px; padding: 10px 0; scroll-margin-top: 12px; }
.gf-mini + .gf-mini { border-top: 1px solid var(--line); }
.gf-cap-2 + .gf-mini, .gf-cap-2 + .gf-wide-block { margin-top: 6px; }
.gf-mini-m { flex: 1; min-width: 0; }
.gf-mini-t { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: break-word; }
.gf-mini-w { display: block; font-size: 12.5px; color: var(--ink-3); }
.gf-empty { display: flex; gap: 12px; align-items: flex-start; }
.gf-empty .ic { color: var(--accent-text); margin-top: 1px; flex: none; }
.gf-empty .gf-cap { margin-top: 3px; }
.gf-empty + .gf-sec { margin-top: 4px; }
@media (min-width: 900px) {
    /* The hero's two halves side by side only when each has 320 px (NotamsWeb), stacked until then; the facts' half takes more of
       what is left, so the Unseen note ("1 · Approach to your runway") keeps one line on a wide screen. */
    .gf-hero.gf-nhero { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 8px 32px 0; max-width: 1116px; border-radius: 16px;
        padding: 18px 24px 20px; gap: 16px 32px; }
    .gf-nhero .gf-nhero-col { flex: 1 1 320px; }
    .gf-nhero .gf-nhero-col + .gf-nhero-col { flex: 2 1 320px; padding-top: 6px; }
    .gf-nseg-row { padding: 4px 32px 4px; }
    .gf-nseg-row .gf-nseg { max-width: 420px; }
    .gf-ntp { padding-top: 16px; }
    .gf .gf-nt-mark { width: auto; align-self: flex-start; }
    .gf-ntp-kept { margin: 0 -2px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
}
@media (min-width: 1100px) {
    .gf .gf-nseg-in { display: flex; }
    .gf .gf-nseg-row { display: none; }
}
/* The trip page (Today, Flight and Trip tabs §7; TripF-phone, TripF-web): as many facts as it has (TAFB, block, legs, actual), the
   leg-by-leg progress bar with the days' names over it and a gap between days, the red now line in the day under way. Colours are the
   theme's variables, which carry their dark values; the hero is navy in both themes. */
.gf-hfacts-trip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
/* A column a fact, three in one row as the board has them; four (with Actual) two by two on a phone. */
@media (max-width: 599px) {
    .gf-hfacts-trip.four { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gf-hfacts-trip.four .gf-hfact:nth-child(odd) { border-left: 0; }
    .gf-hfacts-trip.four .gf-hfact:nth-child(n+3) { border-top: 1px solid var(--hero-line); }
}
.gf-tprog { display: flex; gap: 4px; margin-top: 14px; }
.gf-tprog i { flex: 1; height: 6px; border-radius: 3px; background: var(--hero-line); }
.gf-tprog i.done { background: var(--hero-blue); }
.gf-tprog i.next { background: var(--hero-amber); }
.gf-tprog i.x { background: transparent; border: 1px dashed var(--hero-line); }
.gf-tprog i.gap { flex: 0 0 6px; background: transparent; }
.gf-tprog-l { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--hero-muted); }
.gf-tprog-l b { font-weight: 600; color: var(--hero-ink-2); }
.gf-trip-now { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--now-ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gf-trip-now::before, .gf-trip-now::after { content: ""; height: 2px; background: var(--now); border-radius: 1px; }
.gf-trip-now::before { flex: 0 0 14px; }
.gf-trip-now::after { flex: 1; }
.gf-trip-now small { font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; }
/* The eyebrow, with the board's 12 px under it: the trip's words ("6-day · IAD · ALB · BOS · BTV overnights") cut short on one line
   before its dates or its day ("Dec 2–7", "Day 2 of 6") ever break. */
.gf-thero .gf-daynav { margin-bottom: 12px; }
.gf-thero .gf-teb { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.gf-thero .gf-tday { flex: none; white-space: nowrap; overflow-wrap: normal; }
/* The bar's block: the days over it (in the bar's own proportions, today's in white), the bar, and its ends under it. */
.gf-tprogw { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gf-tprogw .gf-tprog, .gf-tprogw .gf-tprog-l { margin-top: 0; }
.gf-tpdays { display: flex; gap: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: var(--hero-muted); }
.gf-tpdays span { flex: 1 1 0; min-width: 0; overflow-wrap: break-word; }
.gf-tpdays span.on { color: var(--hero-ink); }
@media (min-width: 900px) {
    /* TripF-web: the bar and the figures sit at the foot of the card beside what is next. */
    .gf-thero > .gf-tprogw, .gf-thero > .gf-hfacts, .gf-thero > .gf-h-lock { align-self: flex-end; }
}
/* The bar names the trip in the app bar: "Trip C4107" over "Nov 3–5 · 3 days", the back arrow beside both. */
.gf-appbar.gf-appbar-trip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 4px; row-gap: 0; }
.gf-appbar-trip > :first-child:not(.gf-menu-open), .gf-appbar-trip > .gf-menu-open + * { grid-area: 1 / 1 / 3 / 2; margin-left: -10px; }
.gf-appbar-trip .gf-title { grid-area: 1 / 2; }
.gf-appbar-trip .gf-appbar-sub { grid-area: 2 / 2; }
.gf-appbar-trip .gf-appbar-end { grid-area: 1 / 3 / 3 / 4; margin-left: 0; }
/* A day's duty card: report to release in the wide face, its FDP's bar against the limit, the marks under it. */
.gf .gf-dline { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 15px; font-weight: 800; letter-spacing: .01em; line-height: 1.3; color: var(--ink); }
.gf-dline .ar { font-weight: 600; color: var(--ink-3); }
.gf-lbar { position: relative; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 10px; }
.gf-lbar i { position: absolute; top: 0; bottom: 0; left: 0; }
.gf-lbar .used { background: var(--primary); }
.gf-lbar .done { background: var(--ink-3); }
.gf-lbar .plan { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--amber-line) 60%, transparent) 0 4px, color-mix(in srgb, var(--amber-line) 20%, transparent) 4px 8px); }
.gf-lbar .nowm { width: 2px; background: var(--now); }
.gf-lbar.over i:not(.nowm) { background: var(--red-line); }
.gf-lmarks { display: flex; justify-content: space-between; gap: 4px 8px; flex-wrap: wrap; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.gf-lmarks b { font-weight: 600; color: var(--ink-2); }
.gf-lmarks .gf-tfdp-over, .gf-lmarks .gf-tfdp-over b { color: var(--red); }
.gf-tfdp, .gf-tduty-legs { margin-top: 8px; }
/* Map's Day by day: a row per day that opens its tab (a button), its date tile, and the night between days. */
.gf button.gf-tdayrow { width: 100%; border: 0; background: transparent; font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
.gf-tdayrow .gf-rr-t, .gf-tdayrow .gf-rr-s { display: block; }
.gf-tdate { width: 44px; height: 48px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: var(--sunken); color: var(--ink-3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.gf-tdate .dw { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.gf-tdate .dd { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 19px; font-weight: 800; line-height: 1.05; color: var(--ink); }
.gf-tdate.done .dd { color: var(--ink-3); }
/* Today's tile is the app's blue in both themes (--primary is #1B5FD9 in each). */
.gf-tdate.today { background: var(--primary); border-color: var(--primary); color: color-mix(in srgb, var(--on-primary) 85%, var(--primary)); }
.gf-tdate.today .dd { color: var(--on-primary); }
.gf-tnl { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.gf-tnl + .gf-rr { border-top: 1px solid var(--line); }
.gf-tnl .mo { width: 26px; height: 26px; margin: 0 9px; border-radius: 50%; background: var(--hero); color: var(--hero-amber); display: grid; place-items: center; flex: none; }
.gf-tnl .mo .mud-icon-root { font-size: 14px; }
.gf-tnl b { font-weight: 600; color: var(--ink); }
/* Map's key, off the map so it covers no code: under the map on a phone, in the map's own key's two rows (Flown, Next, Later, then
   Deadhead and Overnight) at every phone width, and a column in its own card from 900 px. Each swatch as the real map draws its line
   (realMap.js), in the theme's map colours (--map-*), and the night's moon as the map marks it. */
.gf-tkey { display: grid; grid-template-columns: repeat(3, max-content); gap: 6px 16px; margin-top: 10px; padding: 0 2px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.gf-tkey.col { grid-template-columns: max-content; gap: 10px; margin-top: 0; font-size: 13px; }
.gf-tkey > span { display: inline-flex; align-items: center; gap: 6px; }
.gf-tkey i { display: inline-block; width: 18px; flex: none; }
.gf-tkey i.flown { border-top: 2.5px solid var(--map-flown); }
.gf-tkey i.done { border-top: 2px solid var(--map-later); opacity: .45; }
.gf-tkey i.next { border-top: 3px solid var(--map-next); }
.gf-tkey i.later { border-top: 2px dashed var(--map-later); }
.gf-tkey i.dh { border-top: 2.5px dotted var(--map-later); }
.gf-tkey i.moon { width: 9px; height: 9px; margin: 0 5px 0 4px; border-radius: 50%; box-shadow: -3px 1px 0 0 var(--map-moon); }
/* The key is the real map's: where the drawn map stands in (.gf-map, no WebGL or no map file), which keys itself, neither shows. */
.gf-map + .gf-tkey, .gf-tgrid:has(.gf-map) .gf-tkeyc { display: none; }
/* Limits: each day's FDP, the rest at each night with its value at right. */
.gf-tlim { padding: 12px 0 10px; }
.gf-tlim + .gf-tlim { border-top: 1px solid var(--line); }
.gf-tlim .top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.gf-tlim .d { font-size: 15px; font-weight: 700; color: var(--ink); }
.gf-tlim .val { font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.gf-tlim .val small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.gf-tlim .gf-lbar { margin-top: 8px; }
.gf-tlim .gf-cap { margin-top: 4px; }
.gf-tlim-na { padding: 4px 0 12px; }
.gf-tlim-cca { display: inline-block; margin-top: 6px; }
.gf-rr-ti.gf-rr-night { background: var(--hero); color: var(--hero-ink); box-shadow: none; }
.gf-trest { flex: none; text-align: right; }
.gf-trest b { display: block; font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 20px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.gf-trest span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.gf-rr-x .gf-pill + .gf-pill { margin-left: 6px; }
/* A flight's share link (the web's /share/{token}): one centred column, app bar included, since a signed-out visitor has no
   rail beside it; how fresh its status is, a quiet line at the hero's foot. */
.gf-share { width: 100%; max-width: 704px; margin-inline: auto; }
.gf .gf-share-fresh { margin: 0; font-size: 13px; color: var(--hero-ink-2); }
/* The SCDS agreement's outage notice, a quiet caption at the hero's foot. */
.gf-h-atn { font-size: 12.5px; color: var(--hero-muted); }
@media (min-width: 900px) {
    .gf-h-cd { font-size: 56px; }
    .gf-h-cd.text { font-size: 32px; }
}
/* ---------- chapters (the refresh spec §4.3): a numbered disc, a wide uppercase title, a time at right, over one card of rows ---------- */
.gf-chap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gf-chap-h { display: flex; align-items: center; gap: 10px; padding: 0 2px; }
.gf-chap-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--hero); color: var(--hero-ink); font-size: 12px; font-weight: 800; line-height: 1; }
.gf-chap-n.on { background: var(--accent-text); color: var(--surface); }
.gf-chap-n.done { background: var(--sunken); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.gf-chap-t { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--ink); line-height: 1.2; min-width: 0; }
.gf-chap-w { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.gf-chap-c { padding: 4px 16px; }
.gf-chap-mute { opacity: .6; }
/* A row: an icon tile, a title, a one-line subtitle, a value at right and a chevron when it opens a page (the Alerts rows' measures). */
.gf-rr { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 9px 0; text-decoration: none; color: inherit; }
.gf a.gf-rr { color: var(--ink); }
.gf-rr + .gf-rr { border-top: 1px solid var(--line); }
/* A section inside a chapter's card after its rows (Share this trip on Trips): ruled off as the rows are, its heading on their edge, and
   room before the card ends (walkthrough of 15 Nov). */
.gf-chap-c > .gf-rr + .gf-day { border-top: 1px solid var(--line); padding: 12px 0 12px; }
.gf-chap-c > .gf-day > .gf-dayh { padding: 0; }
.gf-rr:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; border-radius: 8px; }
.gf-rr-ti { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--sunken); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.gf-rr-ti .mud-icon-root { font-size: 19px; }
.gf-rr-ti.ok { background: var(--accent-bg); color: var(--accent-text); box-shadow: none; }
.gf-rr-ti.warn { background: var(--amber-bg); color: var(--amber); box-shadow: none; }
.gf-rr-ti.mute { color: var(--ink-3); }
.gf-rr-m { flex: 1; min-width: 0; }
.gf-rr-h { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gf-rr-t { min-width: 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.gf-rr-h .gf-plus-tag { margin-left: 0; }
.gf-rr-s { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; margin-top: 1px; }
.gf-rr-x { margin-top: 6px; }
.gf-rr-v { font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; flex: none; }
.gf-rr .gf-rr-chev { color: var(--ink-3); flex: none; margin-right: -6px; }
.gf-hero .gf-cap { color: var(--hero-muted); }
.gf-tg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.gf-tg-h { display: flex; align-items: baseline; gap: 8px; padding-bottom: 6px; }
.gf-tg-code { font-size: 22px; font-weight: 800; letter-spacing: .03em; color: var(--ink); line-height: 1.1; }
.gf-tg .gf-kv { border-top: 1px solid var(--line); min-height: 38px; color: var(--ink-2); }
/* The flight page's crew on board (NOC's roster): the position, then the name and its pills, wrapping on a phone. */
.gf-crew-row { border-top: 1px solid var(--line); color: var(--ink-2); }
.gf-crew-row b { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; text-align: right; color: var(--ink); min-width: 0; }
/* A hero's line in words (the spotting pages; the Flight Deck's own is under its section below). */
.gf-fd-words { font-size: 18px; line-height: 1.4; color: var(--hero-ink); margin: 6px 0 10px; }
/* The Earlier card's rows: a small uppercase key, then a plain sentence. */
.gf-nar { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.gf-nar + .gf-nar { border-top: 1px solid var(--line); }
.gf-nar-k { width: 76px; flex: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 20px; color: var(--ink-3); }
.gf-nar-t { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink); }
/* Where's my plane (V2 §4.5): the plane's route as big codes, and the warning's sum on one line. */
.gf-ib-legs { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.gf-ib-legs .mud-icon-root { color: var(--hero-muted); }
.gf-ib-legs .gf-hpill { margin: 0 0 0 auto; }
.gf-ib-code { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 26px; font-weight: 800; letter-spacing: .03em; line-height: 1; color: var(--hero-ink); }
.gf-ib-math { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; margin-top: 12px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gf-ib-math > div { text-align: center; min-width: 0; }
.gf-ib-math .k { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-ib-math .v { font-size: 17px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.gf-ib-math .v.amber { color: var(--amber); }
.gf-ib-math .op { font-size: 16px; font-weight: 700; color: var(--ink-3); }
/* Import's ways (D · Import): a segmented row from 600 px; on phones tiles two by two (a passenger's four, crew's
   three), each with its icon in a square. */
.gf-wi { display: contents; }
.gf-ways .gf-pill { padding: 0 6px; font-size: 11px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 599.98px) {
    .gf-seg.gf-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; background: none; border: 0; }
    .gf-seg.gf-ways button { position: relative; justify-content: flex-start; gap: 10px; min-height: 58px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); color: var(--ink); line-height: 1.25; text-align: left; }
    .gf-seg.gf-ways button[aria-pressed="true"] { border: 2px solid var(--ring); background: var(--primary-tint); color: var(--ink); padding: 7px 9px; }
    .gf-ways .gf-wi { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--sunken); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
    .gf-ways button[aria-pressed="true"] .gf-wi { background: var(--primary); color: var(--on-primary); box-shadow: none; }
    .gf-ways .gf-pill { position: absolute; top: -9px; right: 10px; }
    /* Crew's three ways: the last tile alone in its row takes the whole row. */
    .gf-seg.gf-ways button:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* The flight-data budget (Admin · App look): the spend large, its share of the cap beside it; amounts right-aligned. */
.gf-budget-v { display: flex; align-items: baseline; gap: 10px; }
.gf-budget-v b { font-size: 28px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.gf-num { text-align: right !important; font-variant-numeric: tabular-nums; }
/* F39: the month's two projections side by side, and the daily bars (theme colours, so dark reads too). */
.gf-bud-eb { margin: 16px 0 8px; }
.gf-bproj { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gf-bpt { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; background: var(--surface); }
.gf-bpt .k { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.gf-bpt .v { font-size: 22px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.gf-bpt .v small { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-left: 4px; }
.gf-bpt .s { font-size: 13px; color: var(--ink-2); }
.gf-bpt .r { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; margin-top: 4px; }
.gf-bpt .r .mud-icon-root { font-size: 16px; }
.gf-bpt.ok .r { color: var(--accent-text); }
.gf-bpt.over { border-color: var(--amber-line); background: var(--amber-bg); }
.gf-bpt.over .r { color: var(--amber); }
@media (max-width: 419.98px) { .gf-bproj { grid-template-columns: 1fr; } }
.gf-bbars { overflow-x: auto; }
/* drawn 640 to 800 px wide (a phone scrolls it sideways), so its 15-unit labels stay 12 to 15 px on screen */
.gf-bbars svg { display: block; width: 100%; min-width: 640px; max-width: 800px; height: auto; }
.gf-bbars .grid { stroke: var(--line); stroke-width: 1; }
.gf-bbars .b { fill: var(--primary); }
.gf-bbars .b.hi { fill: var(--amber-line); }
.gf-bbars .b.today { fill: url(#gf-bhatch); }
.gf-bbars .h1 { fill: var(--primary); }
.gf-bbars .h2 { fill: var(--pd-line); }
.gf-bbars .slot { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 2; }
.gf-bbars .pace { stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 5 4; }
.gf-bbars .lbl { font-size: 15px; fill: var(--ink-3); }
.gf-bbars .plbl { font-size: 15px; fill: var(--amber); font-weight: 600; }
.gf-bkey { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-2); }
.gf-bkey span { display: inline-flex; align-items: center; gap: 6px; }
.gf-bkey i { width: 12px; height: 10px; border-radius: 2px; display: inline-block; }
.gf-bkey i.b { background: var(--primary); }
.gf-bkey i.hi { background: var(--amber-line); }
.gf-bkey i.today { background: repeating-linear-gradient(135deg, var(--primary) 0 2px, var(--pd-line) 2px 4px); }
.gf-bkey i.pace { height: 0; width: 16px; border-top: 2px dashed var(--amber); border-radius: 0; }
.gf-bkey i.ahead { border: 1px dashed var(--line-2); }
.gf-hpill .mud-icon-root { font-size: 14px; }
/* Arrival details (V1.1 §6.10): the landed hero's time and pill, and the belt in large type on its row. */
.gf-land { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.gf-land .gf-hpill { margin-top: 0; }
.gf-belt-v { font-size: 40px; font-weight: 800; line-height: 1; color: var(--ink); }
.gf .gf-teaser { display: block; text-decoration: none; color: inherit; }
.gf-teaser .gf-chev { margin-left: auto; color: var(--ink-3); }
.gf-person { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; }
.gf-person + .gf-person { border-top: 1px solid var(--line); }
.gf-person-n { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.3; }

/* ---------- schedule: month ---------- */
.gf-mhead { display: flex; align-items: center; gap: 4px; }
.gf-mtitle { font-size: 20px; font-weight: 800; letter-spacing: .03em; color: var(--ink); margin-right: auto; white-space: nowrap; }
.gf-mstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gf-mk { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.gf-mv { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.gf-month { --mgap: 2px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--mgap); margin: 0 -8px; }
.gf-month-head { font-size: 11px; font-weight: 700; color: var(--ink-3); text-align: center; padding: 0 0 4px; letter-spacing: .06em; text-transform: uppercase; }
.gf-month-day { position: relative; min-height: 50px; border-radius: 6px; background: var(--sunken); padding: 3px 0 4px; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
/* Days outside the shown month: an empty slot, not a day that looks free. */
.gf-month-other { background: transparent; }
.gf-month-today { box-shadow: inset 0 0 0 2px var(--ring); }
.gf-month-date { font-size: 12px; font-weight: 600; color: var(--ink); padding: 0 5px; line-height: 16px; }
.gf-month-past .gf-month-date { color: var(--ink-3); font-weight: 500; }
.gf-month-today .gf-month-date { color: var(--primary-text); font-weight: 700; }
.gf .gf-month-item {
    display: block; height: 16px; margin: 0 2px; border-radius: 4px; padding: 0 3px; border: 1px solid transparent;
    font-size: .6rem; font-weight: 700; line-height: 14px; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none;
    background: var(--t-duty);
}
/* A phone chip is about 40 px: a flight shows where it goes; the full label is in the title and on the web. */
.gf-mi-long { display: none; }
.gf .gf-month-item.reserve { background: var(--t-reserve); }
.gf .gf-month-item.other { background: var(--t-other); }
.gf .gf-month-item.training { background: var(--t-training); }
.gf .gf-month-item.vacation { background: var(--t-vacation); }
.gf .gf-month-item.hotel { background: var(--t-hotel); }
.gf .gf-month-item.off { background: var(--t-off); color: var(--ink-2); }
.gf .gf-month-past .gf-month-item { background: var(--pd-bg); border-color: var(--pd-line); color: var(--pd-ink); }
.gf .gf-month-past .gf-month-item.reserve, .gf .gf-month-past .gf-month-item.hotel, .gf .gf-month-past .gf-month-item.off { background: var(--pr-bg); border-color: var(--pr-line); color: var(--pr-ink); }
.gf .gf-month-past .gf-month-item.training { background: var(--pt-bg); border-color: var(--pt-line); color: var(--pt-ink); }
.gf .gf-month-past .gf-month-item.vacation { background: var(--pv-bg); border-color: var(--pv-line); color: var(--pv-ink); }
.gf .gf-month-past .gf-month-item.other { background: var(--po-bg); border-color: var(--po-line); color: var(--po-ink); }
.gf-chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 12px; padding: 5px 0 7px; }
/* A short set of filters that wraps rather than running off the edge (Admin lists, RVR). */
.gf-chips.gf-chips-wrap { flex-wrap: wrap; overflow-x: visible; }
/* 34 px with a 44 px hit area; the pick is solid (canvas .fchip). The border is --field-line, not the canvas's
   --line-2, so a resting chip's edge reaches 3:1. */
.gf-fchip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; flex: none; border: 1px solid var(--field-line); background: transparent; color: var(--ink-2); border-radius: 999px; padding: 0 13px; font: inherit; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.gf-fchip::after { content: ""; position: absolute; left: 0; right: 0; top: -5px; bottom: -5px; }
.gf-fchip b { font-weight: 700; color: inherit; }
.gf-fchip[aria-pressed="true"] { background: var(--chip-sel-bg); border-color: var(--chip-sel-bg); color: var(--chip-sel-ink); font-weight: 600; }
.gf-fchip:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.gf-trip-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.gf-trip-row b { color: var(--ink); }
/* FAR 117 (D · FAR 117, D · Web FAR 117): the FDP bar runs report to the limit; amber is what is left. */
.gf-far-spare { font-size: 15px; color: var(--hero-muted); margin-top: 6px; }
.gf-far-spare b { font-size: 34px; font-weight: 800; color: #FCD34D; margin-right: 6px; }
.gf-far-spare.over b { color: #FCA5A5; }
.gf-far-bar { position: relative; height: 16px; border-radius: 8px; background: var(--hero-track); overflow: hidden; margin-top: 8px; }
.gf-far-bar i { position: absolute; top: 0; bottom: 0; }
.gf-far-bar .done { left: 0; background: var(--hero-green); }
.gf-far-bar .proj { background: rgba(110, 231, 183, .3); }
.gf-far-bar .spare { background: repeating-linear-gradient(135deg, rgba(252, 211, 77, .5) 0 4px, transparent 4px 8px); }
.gf-far-bar .over { background: var(--red-line); }
/* ORO.FTL.205 (EASA): Table 1 has 9 columns, Table 2 has 7. */
.gf-far-tb.gf-ea-tb { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.gf-far-tb.gf-ea-tb.t2 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
/* On a phone nine cells in a row overlap: three by three, as D · EASA detail draws it (Table 2 four across). */
@media (max-width: 599.98px) {
  .gf-far-tb.gf-ea-tb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gf-far-tb.gf-ea-tb.t2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Over for any cause (a short rest, nights, segments): the whole bar reads red, not only a time past the limit. */
.gf-far-bar.is-over .done { background: var(--red-line); }
.gf-far-bar.is-over .proj { background: color-mix(in srgb, var(--red-line) 35%, transparent); }
.gf-far-ends { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--hero-muted); margin-top: 6px; }
.gf-far-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .gf-far-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gf-far-tb { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.gf-far-tb.c { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gf-far-tb > div { border: 1px solid var(--line); border-radius: 8px; padding: 6px 4px; text-align: center; font-size: 12px; color: var(--ink-2); }
.gf-far-tb > div b { display: block; font-size: 16px; color: var(--ink); }
.gf-far-tb > div.today { background: var(--amber-bg); border-color: var(--amber-line); }
.gf-far-tb > div.today b { color: var(--amber); }
.gf-far-tb > div.today.over { background: var(--red-bg); border-color: var(--red-line); }
.gf-far-tb > div.today.over b { color: var(--red); }
.gf-far-check { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; }
.gf-far-check + .gf-far-check { border-top: 1px solid var(--line); }
.gf-far-check > span { font-size: 18px; font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.gf-far-check.over > span { color: var(--red); }
.gf-far-cum { padding: 8px 0; }
.gf-far-cum + .gf-far-cum { border-top: 1px solid var(--line); }
.gf-far-cum-h, .gf-far-cum-f { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
/* The figure keeps its line at 400 px; the rule's name wraps (wave 6, E3: EASA's and FAR 117's rows). */
.gf-far-cum-h > span:last-child { flex: none; white-space: nowrap; }
.gf-far-cum-f { font-size: 12px; color: var(--ink-2); }
.gf-far-cum-bar { height: 6px; border-radius: 3px; background: var(--sunken); overflow: hidden; margin: 6px 0; }
.gf-far-cum-bar i { display: block; height: 100%; background: var(--accent-line); }
.gf-far-cum.over .gf-far-cum-bar i { background: var(--red); }
.gf-far-cum.over .gf-far-cum-f span:last-child { color: var(--red); font-weight: 700; }
.gf-mlegend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--ink-2); margin-top: 12px; }
.gf-mlegend > span { display: inline-flex; align-items: center; gap: 5px; }
.gf-lg { display: inline-block; width: 14px; height: 10px; border-radius: 3px; background: var(--t-duty); }
.gf-lg.reserve { background: var(--t-reserve); }
.gf-lg.training { background: var(--t-training); }
.gf-lg.vacation { background: var(--t-vacation); }
.gf-lg.hotel { background: var(--t-hotel); }
.gf-lg.off { background: var(--t-off); }
.gf-lg.other { background: var(--t-other); }
@media (min-width: 900px) {
    .gf-month { --mgap: 4px; margin: 0; }
    .gf-month-head { font-size: 12px; padding-bottom: 6px; }
    .gf-month-day { min-height: 104px; border-radius: 8px; padding: 8px 0; gap: 5px; }
    .gf-month-date { font-size: 14px; padding: 0 10px; line-height: 18px; }
    .gf .gf-month-item { height: 22px; line-height: 20px; font-size: 12px; margin: 0 6px; border-radius: 5px; padding: 0 6px; }
    .gf-mi-long { display: inline; }
    .gf-mi-short { display: none; }
}

/* ---------- schedule: the agenda ---------- */
.gf-day { display: flex; flex-direction: column; gap: 6px; }
.gf-dayh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 4px; }
.gf-dayh-t { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); line-height: 18px; }
.gf-dayh-t.now { color: var(--primary-text); }
.gf-agenda { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gf-ag { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 12px 12px 12px 10px; box-sizing: border-box; }
.gf-ag + .gf-ag { border-top: 1px solid var(--line); }
.gf-agrail { width: 4px; border-radius: 2px; align-self: stretch; flex: none; background: var(--t-duty); }
.gf-agrail.reserve { background: var(--t-reserve); }
.gf-agrail.other { background: var(--t-other); }
.gf-agrail.training { background: var(--t-training); }
.gf-agrail.vacation { background: var(--t-vacation); }
.gf-agrail.hotel { background: var(--t-hotel); }
.gf-agrail.off { background: var(--t-off); }
.gf-ag-m { flex: 1; min-width: 0; }
/* A long pill ("Not tracked · planned times") wraps rather than squeezing the title to a letter a line. */
.gf-ag > .gf-pill { flex: 0 1 auto; max-width: 42%; white-space: normal; border-radius: 12px; text-align: center; }
.gf-ag-title { font-size: 15px; font-weight: 700; letter-spacing: .02em; line-height: 1.25; overflow-wrap: anywhere; }
.gf-ag-title .gf-nw { white-space: nowrap; } /* a flight's route, kept whole */
.gf .gf-ag-title a { color: var(--ink); text-decoration: none; }
.gf-ag-sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

/* ---------- import list ---------- */
.gf-imp { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-height: 56px; padding: 8px 0; }
.gf-imp + .gf-imp { border-top: 1px solid var(--line); }
.gf-imp-m { flex: 1; min-width: 180px; }
.gf-imp-t { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.gf-imp-s { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.gf-imp-a { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- me ---------- */
.gf-prof { display: flex; align-items: flex-start; gap: 12px; }
.gf-av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; flex: none; letter-spacing: .02em; background: var(--blue-bg); color: var(--blue); }
.gf-seg { display: flex; gap: 2px; padding: 2px; background: var(--sunken); border: 1px solid var(--line); border-radius: 12px; }
.gf-seg button { flex: 1; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.gf-seg button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
/* Offline (or busy) a switch that saves is disabled: it looks it, as a greyed button does. */
.gf-seg button:disabled { opacity: .55; cursor: default; }
.gf-seg button:focus-visible, .gf .mud-button-root:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
/* A segment that is a link (Schedule's Month / List): the same look, the current one marked by aria-current. */
.gf .gf-seg a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.gf .gf-seg a[aria-current="page"] { background: var(--primary); color: var(--on-primary); }
.gf-seg a:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
/* Kind of reserve (board CrewReserve): its four options two by two, each padded, so they read as four buttons and not one string. */
.gf-seg.gf-seg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; }
.gf-seg.gf-seg-grid button { padding: 0 8px; }
/* a label over a button group (Me), and Welcome's question over the Crew / Passenger cards */
.gf-grp-l { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.gf-step { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 11px; font-weight: 700; color: var(--ink-2); vertical-align: middle; }
.gf-step.done { background: var(--primary); border-color: transparent; color: var(--on-primary); }
.gf-grp-q { font-size: 15px; color: var(--ink); margin: 20px 0 10px; }
/* the Crew / Passenger cards on Welcome: aria-pressed marks the pick (2px ring, tinted fill, check) */
.gf-choices { display: flex; flex-direction: column; gap: 12px; }
.gf-choice { position: relative; display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
    border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 48px 16px 16px; background: var(--surface); }
.gf-choice[aria-pressed="true"] { border: 2px solid var(--ring); background: var(--primary-tint); padding: 15px 47px 15px 15px; }
.gf-choice:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.gf-choice-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--sunken); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.gf-choice-ic .mud-icon-root { font-size: 24px; }
.gf-choice[aria-pressed="true"] .gf-choice-ic { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.gf-choice-t { display: block; font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--ink); line-height: 1.2; }
.gf-choice-d { display: block; font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
.gf-check { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); }
.gf-check .mud-icon-root { font-size: 16px; }
.gf-check.off { background: transparent; border: 2px solid var(--field-line); }
.gf-lrow { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; text-decoration: none; }
.gf .gf-lrow { color: var(--ink); }
.gf-lrow + .gf-lrow { border-top: 1px solid var(--line); }

/* ---------- sign in (signed out) ---------- */
/* Phone: the map, then the card down to the bottom, its button pinned there (canvas .si-act). */
.gf-si { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 100vh; padding-bottom: var(--gf-sab); background: var(--surface); }
.gf-si .gf-map { height: 320px; }
.gf-si-act { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.gf-si-brand { position: absolute; left: 24px; top: 28px; z-index: 1; }
.gf-si-hero-p { display: none; }
.gf-si-side { display: flex; align-items: stretch; justify-content: center; padding: 24px 24px 20px; }
.gf-si-card { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 10px; }
.gf-si-h { font-size: 28px; font-weight: 800; letter-spacing: .02em; line-height: 1.08; color: var(--ink); }
.gf-si-pts { list-style: none; margin: 8px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gf-si-pts li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.gf .gf-si-card .mud-button-root { min-height: 48px; }
.gf-si-fine { font-size: 12px; color: var(--ink-3); text-align: center; }
/* The way on from the sign-in card and a dead invite (OutLinks_Component): plain links, each a 44 px target. */
.gf-si-out { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 8px; font-size: 13px; }
.gf .gf-si-out a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
@media (min-width: 900px) {
    .gf-si { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: none; background: var(--page); }
    .gf-si-act { margin-top: 14px; padding-top: 0; }
    .gf-si .gf-map { height: auto; min-height: 100vh; }
    .gf-si-brand { left: 48px; right: 48px; top: auto; bottom: 48px; }
    .gf-si-brand .gf-wordmark { font-size: 26px; }
    .gf-si-hero-p { display: block; font-size: 17px; color: var(--hero-ink-2); margin-top: 12px; max-width: 440px; line-height: 1.5; }
    .gf-si-side { align-items: center; padding: 48px 32px; }
    .gf-si-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
    .gf-si-h { font-size: 30px; }
}

/* An invite link signed out (D · Invite link proposed): full screen, the navy top with who sent it, then white with
   what the link shows and its buttons pinned to the bottom. From 900 px, the same as a card on the page. Tokens only,
   so both themes follow; the mark is the hero's, navy in both. */
.gf-iw { min-height: 100vh; min-height: 100dvh; background: var(--surface); }
.gf-iw-card { max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; padding-bottom: var(--gf-sab); background: var(--surface); }
.gf-iw-top { background: var(--hero); padding: 28px 24px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.gf-iw-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gf-iw-brand .gf-wordmark { font-size: 18px; }
.gf-iw-mark { width: 40px; height: 40px; display: block; flex: none; color: var(--hero); }
.gf-iw-av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--primary); color: var(--on-primary);
    font-family: var(--wide); font-size: 28px; font-weight: 800; }
.gf-iw-av.gone { background: var(--hero-track); color: var(--hero-ink-2); }
.gf-iw-av .mud-icon-root { font-size: 30px; }
.gf-iw-h { font-family: var(--wide); font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--hero-ink); overflow-wrap: anywhere; }
.gf-iw-sub { font-size: 15px; line-height: 1.45; color: var(--hero-ink-2); }
.gf-iw-body { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.gf-iw-eb { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.gf-iw-pts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.gf-iw-pts li { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 1.4; }
.gf-iw-pts .gf-tile { width: 34px; height: 34px; border-radius: 8px; }
.gf-iw-pts .gf-tile .mud-icon-root { font-size: 18px; }
.gf-iw-act { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.gf .gf-iw-act .mud-button-root { min-height: 48px; }
@media (min-width: 900px) {
    .gf-iw { background: var(--page); padding: 48px 16px; }
    .gf-iw-card { min-height: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
    .gf-iw-act { margin-top: 14px; }
}

/* The first-run tour (Part C; D · Tour): a white card filling the phone, Skip top right, the navy art panel drawn in CSS
   (navy in both themes, as the hero), the title, the dots and a full-width button pinned to the bottom. From 900 px, a card
   on the page. */
.gf-tour { min-height: 100vh; min-height: 100dvh; padding-bottom: var(--gf-sab); background: var(--surface); }
.gf-tour-card { max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: 8px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.gf-tour-top { display: flex; justify-content: flex-end; }
.gf-tour-art { background: var(--hero); color: var(--hero-ink); border-radius: 20px; min-height: 220px; padding: 20px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
:is(.gf.dark, :root.gf-dark .gf.auto) .gf-tour-art { box-shadow: inset 0 0 0 1px var(--hero-line); } /* navy on the dark page needs its edge */
.gf-tour-lead { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.gf-tour-dots { display: flex; gap: 6px; justify-content: center; margin-top: auto; padding-top: 8px; }
.gf-tour-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--line-2); }
.gf-tour-dot.on { width: 22px; background: var(--primary); }
.gf-tour-act { display: flex; flex-direction: column; gap: 6px; }
.gf .gf-tour-act .mud-button-root { min-height: 48px; }
@media (min-width: 900px) {
    .gf-tour { background: var(--page); display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
    .gf-tour-card { min-height: 0; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 32px 32px; }
    .gf-tour-dots { margin-top: 8px; }
}
/* The art: roster → AI → schedule, checked days, a flight's fields, the day's live changes, a bell. Decorative (aria-hidden). */
.gf-ta-flow { display: flex; align-items: flex-start; gap: 4px; }
.gf-ta-step { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 78px; font-size: 12px; line-height: 1.3; color: var(--hero-ink-2); text-align: center; }
.gf-ta-n { color: var(--hero-blue); }
.gf-ta-tile { width: 62px; height: 76px; border-radius: 10px; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; background: var(--hero-track); border: 1px solid var(--hero-line); }
.gf-ta-tile i { display: block; height: 5px; border-radius: 3px; background: var(--hero-muted); }
.gf-ta-tile i.short { width: 60%; }
.gf-ta-tile i.duty { background: var(--hero-blue); }
.gf-ta-tile i.flt { background: var(--hero-green); }
.gf-ta-tile i.off { width: 50%; background: var(--hero-amber); }
.gf-ta-tile.ai { align-items: center; justify-content: center; background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.gf-ta-tile.ai .mud-icon-root { font-size: 30px; }
.gf .gf-ta-arrow { margin-top: 28px; font-size: 20px; color: var(--hero-muted); }
.gf-ta-list { width: 100%; max-width: 280px; display: flex; flex-direction: column; gap: 8px; }
.gf-ta-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--hero-track); font-size: 13px; font-weight: 600; color: var(--hero-ink); }
.gf-ta-tick { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--hero-green); color: var(--hero); }
.gf-ta-tick .mud-icon-root { font-size: 14px; }
.gf-ta-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--hero-blue); }
.gf-ta-btn { align-self: flex-end; padding: 6px 14px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; }
.gf-ta-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.gf-ta-dot.amber { background: var(--hero-amber); }
.gf-ta-dot.blue { background: var(--hero-blue); }
.gf-ta-dot.green { background: var(--hero-green); }
.gf-ta-fields { display: flex; gap: 8px; }
.gf-ta-field { display: flex; flex-direction: column; gap: 2px; min-width: 64px; padding: 8px 10px; border-radius: 10px; background: var(--hero-track); border: 1px solid var(--hero-line); font-size: 15px; font-weight: 700; }
.gf-ta-found { width: 100%; max-width: 232px; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--hero-ink); color: var(--hero); font-family: var(--wide); font-size: 17px; font-weight: 800; }
.gf-ta-field small, .gf-ta-found small { font-family: 'Rubik', system-ui, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-muted); }
.gf-ta-found small { color: var(--hero-line); }
.gf-ta-bell { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--hero-track); border: 1px solid var(--hero-line); color: var(--hero-amber); }
.gf-ta-bell .mud-icon-root { font-size: 52px; }
/* The phone's one-time ask atop Today and Trips (Part C; D · Notification ask): a white card, a bell in a light-blue circle. */
.gf-page.gf-ask-wrap { padding-bottom: 12px; }
/* Check your report and release times (PR 5): the two minute fields side by side, each at least 140 px. */
.gf-dtc-fields { display: flex; flex-wrap: wrap; gap: 12px; }
.gf-dtc-fields > * { flex: 1 1 140px; }
.gf-ask { display: flex; gap: 12px; align-items: flex-start; }
.gf-ask-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--primary-tint); color: var(--primary-text); }
.gf-ask-ic .mud-icon-root { font-size: 22px; }
.gf-ask-t { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
/* After the first visit, one line (R4): a small icon, the words, Allow and Not now. */
.gf-ask.line { align-items: center; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
.gf-ask.line .gf-ask-ic { width: 28px; height: 28px; }
.gf-ask.line .gf-ask-ic .mud-icon-root { font-size: 16px; }
.gf-ask.line .gf-ask-t { flex: 1; min-width: 0; margin: 0; font-size: 14px; }
.gf-ask.line .mud-button-root { flex: none; min-height: 44px; }
/* The invited person's card (Part C; D · Invited): a light-blue box under the person's hero. */
.gf-card.gf-invited { background: var(--pd-bg); border-color: var(--pd-line); }
.gf-invited-t { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- small shared pieces ---------- */
.gf .gf-chip { text-decoration: none; }
.gf .gf-lrow.gf-more { margin-top: 6px; border-top: 1px solid var(--line); color: var(--link); font-weight: 600; }
.gf-drop { margin-top: 8px; padding: 20px 16px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--sunken); }
.gf .gf-paper { border-radius: 16px; }

/* People (Phase 7b): the invite's code beside its link (rows: gf-prow, design pass 3). */
.gf-invite { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-top: 8px; }
/* The link and its buttons take a row of their own under the QR code when 220 px will not fit beside it. */
.gf-invite-link { flex: 1 1 220px; min-width: 0; }
/* White behind the code on purpose: a QR code needs it to scan, in dark mode too. */
.gf-qr { border-radius: 8px; background: #fff; padding: 8px; flex: none; image-rendering: pixelated; }

/* ---------- boarding pass (phone only) ---------- */
.gf-pass-pic { display: block; width: 100%; margin-top: 10px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; cursor: zoom-in; }
.gf-pass-pic img { display: block; width: 100%; max-height: 60vh; object-fit: contain; }
.gf-pass-fields { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 12px 0 0; font-size: 14px; }
.gf-pass-fields dt { color: var(--ink-3); }
.gf-pass-fields dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.gf-notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.gf-notice p { margin: 0; }
/* White behind the pass on purpose, in dark mode too: a scanner reads dark bars on light. */
.gf-pass-full { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); background: #fff; }
.gf-pass-full img { max-width: 100%; max-height: calc(100% - 72px); object-fit: contain; }

/* ---------- logbook (V2 §4.9) ---------- */
.gf-passport-map { height: 200px; }
.gf-map .leg.w1 { stroke-width: 1.5; stroke-opacity: .7; }
.gf-map .leg.w2 { stroke-width: 2.5; }
.gf-map .leg.w3 { stroke: #FCD34D; stroke-width: 3.5; }
.gf-map-key { position: absolute; left: 12px; top: 9px; z-index: 1; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: #94A3B8; }
.gf-map-key i { display: inline-block; width: 16px; border-top: 1.5px solid #93C5FD; margin-left: 6px; }
.gf-map-key i.w2 { border-top-width: 2.5px; }
.gf-map-key i.w3 { border-top: 3.5px solid #FCD34D; }
.gf-yr-who { margin: 6px 0 12px; font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--hero-ink); }
.gf-pp-big { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 44px; font-weight: 800; line-height: 1; color: var(--hero-green); }
.gf-pp-k { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hero-muted); }
.gf-pp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; border: 1px solid var(--hero-line); border-radius: 12px; }
.gf-pp-v { display: block; font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 22px; font-weight: 800; color: var(--hero-ink); }
.gf-pp-v small { font-size: 13px; font-weight: 600; color: var(--hero-ink-2); }
/* The Logbook's flights: date, route with flight, type and registration, then block and night. */
.gf-logrow { align-items: flex-start; padding: 8px 0; }
.gf-logdate { flex: 0 0 52px; font-size: 13px; color: var(--ink-3); padding-top: 2px; }
.gf-logmain, .gf-logtimes { display: flex; flex-direction: column; min-width: 0; }
.gf-logmain { flex: 1 1 auto; }
.gf-logmain small, .gf-logtimes small { font-size: 12px; color: var(--ink-3); }
.gf-logtimes { text-align: right; font-variant-numeric: tabular-nums; }
.gf-kv { display: flex; justify-content: space-between; gap: 12px; min-height: 40px; align-items: center; font-size: 14px; }
.gf-kv + .gf-kv { border-top: 1px solid var(--line); }
.gf-kv b { color: var(--ink); }
/* At most half the screen tall, so a story card's Share sits above the strip and tab bar on a phone; the canvas
   keeps its shape (a replaced element with both sizes auto). */
.gf-share-preview { width: auto; height: auto; max-width: min(100%, 360px); max-height: 50vh; border-radius: 16px; display: block; margin: 8px auto; box-shadow: 0 2px 10px rgba(15, 23, 42, .25); }
@media (min-width: 900px) { .gf-passport-map { height: 320px; } }
.gf-hero .gf-seg { background: var(--hero-track); border-color: var(--hero-line); max-width: 420px; }
.gf-hero .gf-seg button { color: var(--hero-ink-2); }
.gf-hero .gf-seg button[aria-pressed="true"] { background: var(--hero-ink); color: var(--hero); }
.gf .gf-tab.gf-tab-rail { display: none; }
@media (min-width: 900px) { .gf .gf-tab.gf-tab-rail { display: flex; padding-left: 28px; } }
/* A rail link with its plan tag keeps its words on one line beside the tag ("Duty and rest" wrapped beside PLUS, walkthrough of 9 Nov). */
@media (min-width: 900px) {
    .gf .gf-tab.gf-tab-rail:has(> .gf-plus-tag) { gap: 8px; }
    .gf .gf-tab.gf-tab-rail:has(> .gf-plus-tag) > span:not(.gf-plus-tag) { white-space: nowrap; }
    .gf .gf-tab.gf-tab-rail > .gf-plus-tag { padding: 1px 6px; letter-spacing: .03em; }
}
.gf .gf-rail-add { margin: 12px 16px 4px; justify-content: center; }
.gf .gf-nav-pro { display: none; }
@media (min-width: 900px) { .gf .gf-nav-pro { display: block; padding: 12px 0 0 28px; } }

/* ---------- design pass 2: the canvas's rules the app lacked (D-Today, D-PaxTrips, D-ItemForm, A-Schedule*) ---------- */
/* a day's duty under a card's heading: "RPT 05:30 ROA · RLS 11:57 CLT" */
.gf-duty-line { font-size: 13px; color: var(--ink-2); margin: -4px 0 8px; }
.gf-crow-r { font-size: 14px; font-weight: 700; letter-spacing: .02em; }
/* A key-value row's key in plain words (Admin's settings and counts), not the route face. */
.gf .gf-crow-r.gf-key { font-family: inherit; font-stretch: normal; font-variation-settings: normal; text-transform: none; letter-spacing: 0; }
/* A flight's route with its number inline (the commute page's options). */
.gf-leg-route .fn { display: inline; margin-right: 8px; }

/* Schedule list: the time column, the day's note, and the Month / List switch in the app bar */
.gf-dayh-t { white-space: nowrap; }
.gf-dayh-n { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.gf-ag-t { min-width: 54px; flex: none; line-height: 1.2; }
.gf-ag-t b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.gf-ag-t span { display: block; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.gf-ag-t .gf-fl-plus { display: inline-block; font-size: 11px; color: var(--amber); } /* the "+1" stays a small badge, never a block bar */
.gf-ag-t .gf-ag-yt { font-size: 11px; margin: 1px 0 3px; }
.gf-ag-t .gf-ag-was { display: block; font-size: 11px; color: var(--ink-3); margin: 0 0 3px; } /* the planned time a live one moved (R42) */
.gf-ag-t small { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }
.gf-appbar .gf-seg { width: 150px; }

/* Trips (passenger): the hero's trip, the next trip's flights, and past trips as compact rows */
.gf-fl { padding: 2px 0; }
.gf-fl + .gf-fl { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.gf-fl-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.gf-fl-no { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.gf .gf-fl-no a { color: inherit; text-decoration: none; }
.gf-fl-date { font-size: 13px; color: var(--ink-2); }
.gf-fl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 8px; }
.gf-fl-row .r { text-align: right; }
.gf-code { font-size: 30px; font-weight: 800; letter-spacing: .02em; line-height: 1; color: var(--ink); }
/* A code that links its airport screen: ink, as the board draws it (the .gf-fl card rule already lifts it above the stretched link). */
.gf a.gf-code { display: block; color: var(--ink); text-decoration: none; width: fit-content; }
.gf-fl-row .r a.gf-code { margin-left: auto; }
/* Trips' codes (the legs' 30 px, the hero's 28 px) are short targets: each one's hit area reaches 44 px, as a link chip's does
   (persona check of 2 Nov). */
.gf a.gf-code, .gf a.gf-flt-code { position: relative; }
.gf a.gf-code::after, .gf a.gf-flt-code::after { content: ""; position: absolute; left: -4px; right: -4px; top: -8px; bottom: -8px; }
.gf-fl-time { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 5px; white-space: nowrap; }
.gf-fl-time small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.gf-fl-plus { display: inline-block; font-size: 11px; font-weight: 700; color: var(--amber); background: var(--amber-bg); border-radius: 6px; padding: 0 4px; margin-left: 3px; line-height: 16px; }
.gf-fl-arr { color: var(--ink-3); }
.gf-fl-city { font-size: 13px; color: var(--ink-2); margin-top: 1px; overflow-wrap: anywhere; }
.gf-fl-d2 { font-size: 12px; color: var(--ink-3); }
.gf-card .gf-soon { margin-top: 12px; }

/* The item form: the type as chips, switches labelled on the left, Save and Cancel in a bar above the tabs on phones */
.gf-fs { border: 0; margin: 16px 0 0; padding: 0; min-width: 0; }
.gf-fs > legend { padding: 0; }
/* The item page before Edit (ScheduleItem_Page): a disabled fieldset with no frame of its own, its values in their usual ink. */
.gf-fs-view { border: 0; margin: 0; padding: 0; min-width: 0; }
.gf-fs-view:disabled input, .gf-fs-view:disabled textarea { color: inherit; -webkit-text-fill-color: currentColor; opacity: 1; }
.gf-fs-view:disabled button { cursor: default; }
.gf-tchips { display: flex; flex-wrap: wrap; gap: 6px; }
.gf-srow { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 4px; }
.gf-srow .mud-input-control-boolean-input, .gf-srow .mud-switch { display: flex; width: 100%; }
.gf-srow .mud-switch { justify-content: space-between; min-height: 44px; }
.gf-sl { display: flex; flex-direction: column; line-height: 1.25; font-size: 15px; color: var(--ink); }
.gf-sl small { font-size: 12px; color: var(--ink-3); }
.gf-sl > .gf-plus-tag { margin: 3px 0 0; align-self: flex-start; }
/* "Saved" by the control just changed (spec 2026-11-05 §4.2), in the accent green with a check, fading after about 3 s (with
   reduced motion it goes at once, unfaded); a failed save's line where it would have shown. Both themes through the tokens. */
.gf-saved { display: flex; width: fit-content; align-items: center; gap: 2px; margin: 0 0 6px; font-size: 12px; font-weight: 600; color: var(--accent-text); overflow: hidden; max-height: 2em; animation: gf-saved-out 3s ease-in forwards; }
.gf-saved .mud-icon-root { font-size: 16px; }
.gf-saved-err { display: block; margin: 0 0 6px; font-size: 12px; color: var(--red); }
/* A block (an inline box would leave its empty line behind) that, faded, gives its row back its height, so no blank gap stays under the switch (seen on the phone, 2026-11-06). */
@keyframes gf-saved-out { 0%, 70% { opacity: 1; max-height: 2em; } 100% { opacity: 0; visibility: hidden; max-height: 0; margin-top: 0; margin-bottom: 0; } }
@keyframes gf-saved-gone { to { visibility: hidden; max-height: 0; margin-top: 0; margin-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .gf-saved { animation: gf-saved-gone 3s steps(1, end) forwards; } }
.gf-formbar { position: fixed; left: 0; right: 0; bottom: calc(74px + var(--gf-sab)); z-index: 1050; display: flex; gap: 10px; padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); }
.gf-formbar > * { flex: 1; }
/* Save is first in the markup (and on the web); on phones it sits on the right, as the canvas has it. */
.gf-formbar > .gf-fb-pri { flex: 1.6; order: 1; }
.gf-page.gf-with-formbar { padding-bottom: 88px; }
@media (max-width: 899.98px) {
    :where(.gf-shell):has(.gf-strip) .gf-formbar { bottom: calc(118px + var(--gf-sab)); }
    /* Focusing a message scrolls it clear of the fixed bars (tabs 74 + strip 44 + Save bar 64). */
    html:has(.gf-with-formbar) { scroll-padding-bottom: calc(190px + var(--gf-sab)); }
}
@media (min-width: 900px) {
    .gf-formbar { position: static; padding: 0; border: 0; background: none; }
    .gf-formbar > *, .gf-formbar > .gf-fb-pri { flex: none; order: 0; }
    .gf-page.gf-with-formbar { padding-bottom: 32px; }
}

/* ---------- design pass 3: import, review, people, followed, me, states, admin (D-ImportStart, A-ImportReview, D-People,
   D-Followed, A-Settings, D-States, D-WebAdmin) ---------- */
/* a segment with an icon (Import's Paste / Screenshots / File, People's Followers / Following) */
.gf-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.gf-seg button .mud-icon-root { font-size: 18px; }
.gf-seg button b { font-weight: 700; }

/* Import: the row's tile is sunken, 40 px (canvas .imp .tile) */
.gf-imp-tile { width: 40px; height: 40px; border-radius: 12px; background: var(--sunken); color: var(--ink-2); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.gf-imp-tile .mud-icon-root { font-size: 20px; }
.gf-imp-a:empty { display: none; }

/* banners: a blue notice (the review's replacement warning), and a banner's own "Try again" (D-States .banner .tbtn) */
.gf-banner.info { background: var(--blue-bg); border: 1px solid var(--blue-line); font-size: 13px; padding: 10px 12px; }
.gf-banner.info > .mud-icon-root { color: var(--blue); font-size: 18px; }
.gf-banner > div { min-width: 0; }
.gf .gf-banner .gf-banner-btn { min-height: 44px; padding: 0; margin-top: 4px; }
.gf-notice-list { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); }

/* Import review (A-ImportReview): a header, then one card per day, flagged rows amber */
.gf-rv-h { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 20px; font-weight: 700; letter-spacing: .03em; color: var(--ink); line-height: 1.2; }
.gf-rv-meta { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.gf-rv-counts { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.gf-card.gf-rv-card { padding: 4px 6px 4px 12px; }
.gf-rv-item { border-radius: 10px; }
.gf-rv-item + .gf-rv-item { border-top: 1px solid var(--line); }
.gf-rv-item.flag { background: var(--amber-bg); margin: 6px 0 6px -6px; padding: 0 0 10px 6px; }
.gf-rv-item.flag + .gf-rv-item, .gf-rv-item + .gf-rv-item.flag { border-top: 0; }
.gf-rv-row { display: flex; align-items: center; gap: 4px; min-height: 48px; padding: 4px 0; }
.gf-rv-m { flex: 1; min-width: 0; }
.gf-rv-title { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 15px; font-weight: 700; letter-spacing: .02em; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.gf-rv-sub { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2); margin-top: 2px; flex-wrap: wrap; }
.gf-fk { font-size: 12px; color: var(--ink-3); margin-left: 2px; }
.gf-fk:first-child { margin-left: 0; }
.gf-fpair { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.gf-rv-item.flag .gf-fk { color: var(--ink-2); }
.gf-fld { display: inline-block; padding: 0 4px; border-radius: 6px; font-weight: 600; color: var(--ink); line-height: 20px; border: 1.5px solid transparent; }
.gf-fld.warn { border-color: var(--amber-line); background: var(--surface); }
.gf-flagmsg { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; font-weight: 500; color: var(--amber); padding-right: 10px; line-height: 1.35; }
.gf-flagmsg .mud-icon-root { font-size: 16px; margin-top: 1px; }
.gf-rv-item .gf-hid { margin-left: 6px; }

/* People (D-People): a 40 px initials avatar, name and sub-line per row; Add people's rows open their panel inline */
.gf-av.sm { width: 40px; height: 40px; font-size: 14px; }
.gf-av-photo { object-fit: cover; display: block; }
.gf-av.blue { background: var(--blue-bg); color: var(--blue); }
.gf-av.green { background: var(--accent-bg); color: var(--accent-text); }
.gf-av.amber { background: var(--amber-bg); color: var(--amber); }
.gf-av.violet { background: var(--pt-bg); color: var(--pt-ink); }
.gf-prow { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 4px 0; flex-wrap: wrap; }
.gf-prow + .gf-prow { border-top: 1px solid var(--line); }
.gf-seg + .gf-prow { margin-top: 8px; }
.gf-pm { flex: 1; min-width: 140px; display: block; }
.gf-pname { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.gf a.gf-pname { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.gf-psub { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.35; }
/* What a followed person is doing now (R48): a green dot while they are in the air. */
.gf-pnow { color: var(--ink-2); }
.gf-plisth { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 2px; }
.gf-plisth .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.gf-pupdated { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.gf-pupdated .mud-icon-root { width: 14px; height: 14px; }
/* F11: a dead invite link's offer of an ordinary follow request to its sender. */
.gf-invask { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--sunken); border: 1px solid var(--line); }
.gf-invask-t { font-weight: 600; color: var(--ink); }
.gf-pnow.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-text); margin-right: 6px; vertical-align: 1px; }
.gf-pact { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
/* People's confirm before Unfollow, Remove or Block: a full-width strip under the person's name. */
.gf-pconfirm { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 0 6px; }
.gf-pconfirm p { margin: 0; flex: 1 1 200px; }
.gf-addrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 4px 0; border: 0; background: transparent; font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
.gf-addrow + .gf-addrow, .gf-addpanel + .gf-addrow { border-top: 1px solid var(--line); }
.gf-addrow > .mud-icon-root { color: var(--ink-3); }
.gf-addrow:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.gf-addtile { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-tint); color: var(--primary-text); display: grid; place-items: center; flex: none; }
.gf-addtile .mud-icon-root { font-size: 20px; }
.gf-addpanel { padding: 0 0 12px 52px; }
@media (max-width: 599.98px) { .gf-addpanel { padding-left: 0; } }

/* Followed schedule (D-Followed): a compact navy hero, the person's initials, name and "Following" line */
.gf-hero.gf-fhero { display: flex; align-items: center; gap: 14px; border-radius: 16px; padding: 14px 16px; }
.gf-av.hero { background: var(--hero-track); color: var(--hero-blue); box-shadow: inset 0 0 0 1px var(--hero-line); }
.gf-h-name { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 20px; font-weight: 700; letter-spacing: .03em; color: var(--hero-ink); line-height: 1.15; overflow-wrap: anywhere; }
.gf-h-meta { font-size: 13px; color: var(--hero-muted); margin-top: 3px; }
@media (min-width: 900px) { .gf-hero.gf-fhero { display: flex; padding: 16px 20px; } }

/* Me (A-Settings): the switches as hairline rows, two columns on wide screens; the account's actions as plain rows */
.gf-srow.first { border-top: 0; margin-top: 0; padding-top: 0; }
/* Crew Mode's switches in the navy hero (D · Crew Mode alerts). */
.gf-cm { gap: 0; padding-bottom: 8px; border-radius: 16px; margin-top: 12px; }
.gf-cm .gf-srow { border-top-color: var(--hero-line); margin-top: 4px; }
.gf-cm .gf-sl { color: var(--hero-ink); }
.gf-cm .gf-sl small { color: var(--hero-muted); }
/* A switch's thumb is a MudBlazor button: the hero's button margin pushed it 12 px below its track (Alert settings'
   switches, in a card, sit right). Off, the thumb is light and the track slate, at least 3:1 against the navy. */
.gf-hero .mud-switch-base { margin-top: 0; }
.gf .gf-cm .mud-switch-base:not(.mud-checked):not(.mud-switch-disabled) { color: var(--hero-ink-2); }
.gf .gf-cm .mud-switch-base:not(.mud-checked) + .mud-switch-track { background-color: var(--hero-switch); opacity: 1; }
.gf-htag.ok { background: rgba(16, 185, 129, .16); color: var(--hero-green); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .6); }
/* Alert settings (spec 2026-11-05 §6; boards SetF-*): cards headed as the app heads them, rows behind a tinted icon that say what is
   on, Crew Mode's navy card during a duty, and People you follow's rows. Both themes through the tokens. */
.gf-as-group { padding-top: 4px; padding-bottom: 4px; }
.gf-as-row { min-height: 56px; gap: 12px; padding: 8px 0; }
.gf-as-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--sunken); color: var(--ink-2); }
.gf-as-ic.blue { background: var(--primary-tint); color: var(--primary-text); }
.gf-as-ic.amber { background: var(--amber-bg); color: var(--amber); }
.gf-as-ic.green { background: var(--accent-bg); color: var(--accent-text); }
.gf-as-ic.other { background: var(--po-bg); color: var(--t-other); }
.gf-as-ic.navy { background: var(--hero); color: var(--hero-ink); }
.gf-as-t { display: flex; flex-direction: column; flex: 1; min-width: 0; font-weight: 600; line-height: 1.3; }
.gf-as-t small { margin-top: 1px; font-size: 13px; font-weight: 400; line-height: 1.35; color: var(--ink-2); }
.gf-as-t > .gf-plus-tag { margin: 3px 0 0; align-self: flex-start; }
.gf-as-v { flex: none; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.gf-as-chev { flex: none; color: var(--ink-3); }
/* Me's Currency row's state dot (spec 2026-11-08 §4): green current, red lapsed or to fix. */
.gf-me-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.gf-me-dot.ok { background: var(--accent-text); }
.gf-me-dot.err { background: var(--red-line); }
.gf-as-chev.up { transform: rotate(180deg); }
.gf-as-chs { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.gf-as-faces { display: inline-flex; flex: none; }
.gf-as-faces .gf-av + .gf-av { margin-left: -8px; box-shadow: 0 0 0 2px var(--surface); }
a.gf-as-cm { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; text-decoration: none; }
.gf-as-cmic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--hero-track); color: var(--hero-green); }
.gf-as-cmm { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gf-as-cmt { font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--hero-ink); }
.gf-as-cml { font-size: 13px; line-height: 1.35; color: var(--hero-ink-2); }
.gf-as-cm .gf-as-chev { color: var(--hero-muted); }
a.gf-as-cm:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.gf-as-cmn { margin: 6px 0 0; font-size: 13px; color: var(--hero-muted); }
/* "Also by email" hangs under Roster changes; the weekly email sits apart, under the trip home. */
.gf-srow.gf-as-sub { margin-top: 0; padding-left: 20px; border-top: 0; }
.gf-srow.gf-as-sep { padding-top: 12px; }
/* A card with no heading starts on its first switch, with no line above it. */
.gf-as-list > .gf-srow:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.gf-as-pmore .gf-srow { margin-top: 0; }
.gf-as-pmore .gf-as-h3 + .gf-srow { border-top: 0; padding-top: 0; }
/* 44 px targets: a person's one switch (a bare MudSwitch is 38 px tall) and an airport's link (as tall as its text). */
.gf-as-prow .mud-switch { min-height: 44px; }
.gf-as-airport a.gf-as-t { align-self: stretch; justify-content: center; min-height: 44px; }
/* People you follow: a row a person (the row opens them; their one switch beside it, past a hairline), then their kinds under it. */
.gf-as-person + .gf-as-person { border-top: 1px solid var(--line); }
.gf-as-prow { display: flex; align-items: center; gap: 8px; }
.gf .gf-as-pbtn { display: flex; flex: 1; min-width: 0; align-items: center; gap: 12px; min-height: 60px; padding: 8px 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.gf-as-pbtn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.gf-as-vr { width: 1px; height: 28px; flex: none; background: var(--line); }
.gf-as-fam { display: inline-flex; align-items: center; height: 20px; margin-left: 8px; padding: 0 7px; border: 1px solid var(--accent-line); border-radius: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; background: var(--accent-bg); color: var(--accent-text); }
.gf-as-pmore { display: flex; flex-direction: column; gap: 10px; margin: 0 0 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--sunken); }
.gf-as-h3 { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
/* Three chips a row while "✓ Departed" fits in one; larger text wraps them to two rows (the minimum is in ems, so it grows with the
   type), never clipping a label. Below 400 px a smaller check, type and gap keep three on a 360 px phone. */
.gf-as-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.4em, 1fr)); gap: 8px; font-size: 14px; }
.gf .gf-as-chip { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-height: 44px; padding: 0 2px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); font: inherit; font-weight: 600; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.gf .gf-as-chip[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-tint); color: var(--primary-text); }
.gf-as-chip:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
@media (max-width: 399.98px) {
    .gf-as-chips { gap: 6px; font-size: 13px; }
    .gf .gf-as-chip { padding: 0; }
    .gf-as-chip .mud-icon-root { font-size: 16px; }
}
.gf-as-pmore .gf-cap { margin-top: -2px; }
.gf-as-airport + .gf-as-airport { border-top: 1px solid var(--line); }
.gf-sgrid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 16px; overflow: hidden; }
.gf-sgrid .gf-srow { margin-top: -1px; padding-top: 0; }
@media (min-width: 600px) { .gf-sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gf button.gf-lrow { width: 100%; border: 0; background: transparent; padding: 0; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.gf button.gf-lrow:disabled { opacity: .5; cursor: default; }
.gf-lrow:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.gf-lrow > .mud-icon-root { color: var(--ink-2); font-size: 20px; }
.gf .gf-lrow.danger, .gf .gf-lrow.danger > .mud-icon-root { color: var(--red); }
.gf .gf-lrow.danger { font-weight: 600; }

/* Admin airlines (D-WebAdmin): a table of Airline, Codes, Domains, Actions; the add bar below; two columns under 900 px */
.gf-atbl { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.gf-arow { display: grid; grid-template-columns: minmax(0, 1.6fr) 90px minmax(0, 2.4fr) 120px; align-items: center; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); min-height: 56px; font-size: 14px; }
.gf-arow:first-child { border-top: 0; }
.gf-arow.head { min-height: 0; background: var(--sunken); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.gf-an { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.gf-acodes > span { display: block; }
.gf-ac { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 800; letter-spacing: .06em; color: var(--ink); }
.gf-doms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.gf-chip.gf-dchip { padding-right: 0; gap: 0; }
.gf-dadd { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; width: 100%; }
.gf-dadd .mud-input-control { flex: 1; min-width: 160px; }
.gf-acts { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.gf-aedit { grid-column: 1 / 3; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.gf-aedit .mud-input-control { min-width: 90px; flex: 1; }
.gf-aconfirm { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
/* Why an airline's Delete is off (R116): under its row, at the end where Delete sits. */
.gf-ainuse { grid-column: 1 / -1; text-align: right; }
.gf-addbar { display: grid; grid-template-columns: minmax(0, 1.6fr) 90px 90px auto; gap: 16px; align-items: end; padding: 16px; border-top: 1px solid var(--line); background: var(--sunken); }
@media (max-width: 899.98px) {
    .gf-arow { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
    .gf-arow .gf-doms { grid-column: 1 / -1; }
    .gf-arow .gf-acts { grid-column: 2; grid-row: 1; }
    .gf-arow.head { display: none; }
    .gf-arow .gf-acodes { grid-column: 1; }
    .gf-aedit { grid-column: 1 / -1; }
    .gf-addbar { grid-template-columns: minmax(0, 1fr) 70px 70px; gap: 8px 12px; }
    .gf-addbar > .mud-button-root { grid-column: 1 / -1; }
}
/* below 600 px the name takes its own line, so the two codes' labels are not cut ("IATA…") */
@media (max-width: 599.98px) {
    .gf-addbar { grid-template-columns: 1fr 1fr; }
    .gf-addbar > .mud-input-control:first-child { grid-column: 1 / -1; }
}
/* the × inside a domain chip: a 44 px target, its -11 px margin keeping the chip about 32 px tall (22 px of the button counts) */
.gf .gf-dchip .mud-icon-button.mud-icon-button-size-small { width: 44px; height: 44px; padding: 0; margin: -11px 0; min-width: 44px; min-height: 44px; }

/* ---------- plans (V1.1 §7, board D · Plans) and the quiet lock (D · Today on the Free plan) ---------- */
.gf-plus-tag { display: inline-flex; align-items: center; border-radius: 999px; background: var(--primary-tint); color: var(--primary-text); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 1px 8px; line-height: 16px; white-space: nowrap; margin-left: auto; flex: none; }
.gf-cn + .gf-plus-tag { margin-left: 8px; }
.gf-hero .gf-plus-tag { background: var(--hero-track); color: var(--hero-blue); box-shadow: inset 0 0 0 1px var(--hero-line); }
.gf-h-lock { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--hero-ink-2); }
.gf-h-lock .mud-icon-root { color: var(--hero-muted); margin-top: 1px; flex: none; }
.gf .gf-h-lock a, .gf .gf-hfact-n a { color: var(--hero-blue); }
.gf-hero .gf-seg { background: var(--hero-track); border-color: var(--hero-line); margin-top: 12px; }
.gf-hero .gf-seg button { color: var(--hero-ink-2); }
.gf-hero .gf-seg button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.gf-plan-n { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 18px; font-weight: 800; letter-spacing: .06em; color: var(--ink); line-height: 1.2; margin: 0; }
.gf-plan-cur { display: inline-flex; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 1px 8px; line-height: 16px; white-space: nowrap; }
/* The Jan 1 price under a launch price: crossed out, with "from Jan 1" beside it. */
.gf-plan-then { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.gf-plan-then s { font-size: 15px; font-weight: 600; }
.gf-plan-launch { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.gf-plan-offer { display: inline-flex; margin-right: 2px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 1px 8px; line-height: 16px; white-space: nowrap; }
.gf-plan-fa { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 6px 10px; border-radius: 8px; background: var(--accent-bg); color: var(--accent-text); font-size: 13px; font-weight: 600; }
.gf-plan-soon, .gf-plan-for { display: inline-flex; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-3); font-size: 11px; font-weight: 600; padding: 0 7px; line-height: 16px; white-space: nowrap; margin-left: 4px; }
/* ---------- Plans (the Plans and Compare redesign of 2026-11-11, §5): one navy hero, then "Your plan and the next step" under
   900 px (.gf-pl-a) and "Side by side" from 900 px (.gf-pl-b). Both are drawn; these rules show one, as the pilot logbook's
   .gf-plb-phone and .gf-plb-web. The Seats switch (.gf-pl-wide) is the wide layout's; the phone's is "Add a second seat". ---------- */
.gf-pl-b, .gf-seg.gf-pl-wide { display: none; }
.gf-pl-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gf-pl-idm { flex: 1; min-width: 0; }
.gf-pl-on { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--hero-ink); }
.gf-pl-hl { margin: 2px 0 0; font-size: 15px; line-height: 1.35; color: var(--hero-ink-2); }
.gf-pl-launch { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--hero-amber); }
.gf-pl-segs { display: flex; flex-direction: column; gap: 8px; }
.gf-hero .gf-pl-segs .gf-seg { margin-top: 0; }
.gf-pl-segs .gf-seg button { padding: 0 6px; white-space: nowrap; }
.gf-pl-page { padding-top: 12px; }
.gf-pl-a { display: flex; flex-direction: column; gap: 12px; }
/* The plan picker: three tiles, one picked. */
.gf-pl-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gf-pl-pick button { min-height: 64px; padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font: inherit; cursor: pointer; }
.gf-pl-pick .n { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 17px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; color: var(--ink); }
.gf-pl-pick .m { border-radius: 999px; padding: 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 16px; white-space: nowrap; }
.gf-pl-pick .m.you { background: var(--primary); color: var(--on-primary); }
.gf-pl-pick .m.cur { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.gf-pl-pick button[aria-pressed="true"] { background: var(--hero); border-color: var(--ring); }
.gf-pl-pick button[aria-pressed="true"] .n { color: var(--hero-ink); }
.gf-pl-pick button[aria-pressed="true"] .m.cur { box-shadow: inset 0 0 0 1px var(--hero-muted); color: var(--hero-ink-2); }
.gf-pl-pick button:focus-visible, .gf-pl-more:focus-visible, .gf-plt button:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
/* The picked plan: its name, who it is for, the price, then what you get. */
.gf-pl-nrow { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.gf-pl-you { display: inline-flex; border-radius: 999px; padding: 1px 8px; background: var(--primary-tint); color: var(--primary-text); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 16px; white-space: nowrap; }
.gf-pl-who { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.gf-pl-price { display: flex; flex-direction: column; align-items: flex-start; margin-top: 10px; }
.gf-pl-big { display: flex; align-items: baseline; gap: 6px; }
.gf-pl-big b { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 40px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; color: var(--ink); }
.gf-pl-big span { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.gf-pl-alt { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.gf-plan-fa.quiet { background: var(--sunken); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.gf-pl-get { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.gf-pl-rows { list-style: none; margin: 4px 0 0; padding: 0; }
.gf-pl-rows li { display: flex; align-items: center; gap: 12px; min-height: 88px; padding: 6px 0; border-top: 1px solid var(--line); }
.gf-pl-rows li:first-child { border-top: 0; }
.gf-pl-thumb, .gf-pl-ico { width: 56px; height: 76px; border-radius: 10px; flex: none; overflow: hidden; }
.gf-pl-thumb { background: var(--sunken); box-shadow: 0 0 0 1px var(--line-2); }
.gf-pl-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.gf-pl-ico { display: grid; place-items: center; background: var(--primary-tint); color: var(--primary-text); }
.gf-pl-row-m { flex: 1; min-width: 0; }
.gf-pl-row-t { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.gf-pl-row-s { display: block; margin-top: 1px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
/* The fold: the rest of the plan's list. */
.gf-pl-more { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; padding: 0; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--link); text-align: left; cursor: pointer; }
.gf-pl-all h4 { margin: 10px 0 4px; }
.gf-pl-all ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.gf-pl-all li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.gf-pl-all li .mud-icon-root { font-size: 16px; color: var(--accent-text); margin-top: 2px; flex: none; }
.gf-pl-all li.later, .gf-plt tr.later th { color: var(--ink-2); }
.gf-pl-all li.later .mud-icon-root { color: var(--ink-3); }
.gf-pl-seat { padding: 4px 16px; }
.gf-pl-seat .gf-cap { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.gf-pl-yours { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); text-align: center; }
.gf-pl-links { display: flex; align-items: center; justify-content: center; gap: 2px; margin: 0; color: var(--ink-3-page); }
.gf .gf-pl-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }
.gf .gf-pl-note { margin: 0; color: var(--ink-3-page); text-align: center; }
/* Side by side: the table of what each plan holds, and beside it the pick and how plans work. */
.gf-pl-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.gf-plt-wrap { padding: 0; overflow: hidden; }
.gf .gf-plt-wrap + .gf-pl-note { margin-top: 8px; text-align: left; }
.gf-plt { width: 100%; border-collapse: collapse; table-layout: fixed; }
.gf-plt th, .gf-plt td { padding: 8px 6px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); text-align: center; }
.gf-plt thead th { width: 112px; padding: 18px 5px 12px; border-top: 0; vertical-align: bottom; }
.gf-plt thead th:first-child { width: auto; padding-left: 20px; text-align: left; }
.gf-plt tbody th[scope="row"] { padding-left: 20px; font-size: 14px; font-weight: 400; line-height: 1.35; text-align: left; }
.gf-plt-t { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.gf-plt thead .gf-cap { margin: 2px 0 0; font-weight: 400; }
/* The picked plan's column is tinted down the whole table. */
.gf-plt td.on { background: var(--primary-tint); }
.gf-plt td .mud-icon-root { color: var(--accent-text); vertical-align: middle; }
.gf-plt td .no { color: var(--ink-3); font-weight: 500; }
.gf-plt-pb { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 82px; padding: 13px 2px 9px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.gf-plt-pb .nm { font-size: 13.5px; font-weight: 700; line-height: 18px; white-space: nowrap; }
/* A Household's name on one line in its 112 px column. */
.gf-plt-pb .nm.sm { font-size: 11px; letter-spacing: -.01em; }
.gf-plt-pb .pr { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 21px; font-weight: 800; line-height: 25px; letter-spacing: -.01em; }
.gf-plt-pb .un { font-size: 12px; font-weight: 500; line-height: 15px; color: var(--ink-3); }
.gf-plt-pb[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.gf-plt-pb[aria-pressed="true"] .un { color: var(--on-primary); }
/* "Current" and "For you" sit on the button's top edge. */
.gf-plt-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); height: 19px; padding: 0 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; line-height: 19px; text-transform: uppercase; white-space: nowrap; }
.gf-plt-tag.you { background: var(--hero); color: var(--hero-ink); box-shadow: inset 0 0 0 1px var(--hero-line); }
.gf-plt-tag.cur { background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.gf-plt .gf-plt-band th { padding: 0 8px; border-top-color: var(--line-2); }
.gf-plt-bandrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gf-plt-gh, .gf-plt-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; }
.gf-plt-gh .n { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gf-plt-gh .c { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.gf-plt-more { font-size: 13.5px; font-weight: 600; color: var(--link); }
.gf-pl-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gf-pl-box .gf-pl-big b { font-size: 34px; }
.gf-pl-box .gf-pl-yours { margin-top: 10px; text-align: left; }
.gf-pl-facts > div:not(.gf-ch) + div { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.gf-pl-facts h3 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.gf-pl-facts p { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
@media (min-width: 900px) {
    .gf-pl-a { display: none; }
    .gf-pl-b { display: block; }
    .gf-seg.gf-pl-wide { display: flex; }
    .gf-hero.gf-pl-hero { gap: 14px; }
    .gf-pl-segs { flex-direction: row; flex-wrap: wrap; gap: 10px; }
    .gf-pl-segs .gf-seg { width: 290px; }
    .gf-pl-segs .gf-seg.gf-pl-wide { width: 210px; }
    .gf-pl-links { justify-content: flex-start; }
    /* Until the pick has room beside the table it sits above it, in sight when a plan's column is pressed; how plans work stays below. */
    .gf-pl-side { display: contents; }
    .gf-pl-box { order: -1; }
    .gf-pl-facts { order: 1; }
    .gf .gf-pl-note { text-align: left; }
}
/* With room for both: the hero's switches beside the plan held, and the pick beside the table. */
@media (min-width: 1200px) {
    .gf-hero.gf-pl-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .gf-pl-segs { flex: none; flex-wrap: nowrap; }
    .gf-pl-cols { grid-template-columns: minmax(0, 1fr) 280px; }
    .gf-pl-side { display: flex; }
    .gf-pl-box, .gf-pl-facts { order: 0; }
}
.gf-soon-chip + .gf-plus-tag { margin-left: 8px; }

/* ---------- Family view (D28) ---------- */
.gf-fam-now { margin-bottom: 12px; } /* the live flight card inside "Right now" (R12) */
.gf-fam-where { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.gf-fam-sub { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.gf-fam-next { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 10px; }
.gf-fam-wx { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sunken); }
.gf-fam-wx b { display: block; color: var(--ink); font-size: 15px; }
.gf-fam-wx span { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.gf-fam.large .gf-fam-wx b { font-size: 19px; }
.gf-fam-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.gf-fam-day { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 2px; background: var(--sunken); font-size: 12px; color: var(--ink-3); }
.gf-fam .gf-ch .mud-switch { min-height: 44px; } /* the Large text switch: a 44 px target */
.gf-fam-day b { font-size: 15px; color: var(--ink); }
.gf-fam-day.away { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber); }
/* Large text: a per-device pick for anyone who wants it. */
.gf-fam.large .gf-fam-where { font-size: 28px; }
.gf-fam.large .gf-fam-sub, .gf-fam.large .gf-fam-next, .gf-fam.large .gf-cap-2 { font-size: 19px; }
.gf-fam.large .gf-fam-day { font-size: 14px; }
.gf-fam.large .gf-fam-day b { font-size: 20px; }
/* F3, F7: the homecoming sentence that leads Right now, green when it is today. */
.gf-fam-where.home { color: var(--accent-text); }
/* F7: the 14-day strip, two rows of seven, today ringed. */
.gf-fam-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 14px; }
.gf-fam-d { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 5px 1px 6px; background: var(--sunken); font-size: 11px; line-height: 1.25; color: var(--ink-3); white-space: nowrap; }
.gf-fam-d .w { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gf-fam-d b { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.gf-fam-d .st { font-size: 10.5px; font-weight: 600; }
.gf-fam-d.away { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber); }
.gf-fam-d.back { background: var(--accent-bg); border-color: var(--accent-line); color: var(--accent-text); }
.gf-fam-d.call { background: var(--surface); border-color: var(--line-2); color: var(--ink-2); box-shadow: inset 0 -3px 0 var(--t-reserve); }
.gf-fam-d.today { box-shadow: 0 0 0 2px var(--primary); border-color: var(--primary); }
.gf-fam-d.call.today { box-shadow: 0 0 0 2px var(--primary), inset 0 -3px 0 var(--t-reserve); }
.gf-fam-d.today .w { color: var(--primary-text); text-transform: none; letter-spacing: 0; font-size: 11px; }
.gf-fam.large .gf-fam-d { font-size: 13px; }
.gf-fam.large .gf-fam-d b { font-size: 19px; }
.gf-fam-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.gf-fam-key span { display: inline-flex; align-items: center; gap: 6px; }
.gf-fam-key i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line); background: var(--sunken); display: inline-block; }
.gf-fam-key i.away { background: var(--amber-bg); border-color: var(--amber-line); }
.gf-fam-key i.back { background: var(--accent-bg); border-color: var(--accent-line); }
.gf-fam-key i.call { background: var(--surface); border-color: var(--line-2); box-shadow: inset 0 -3px 0 var(--t-reserve); }
.gf-fam-key i.today { background: var(--surface); border: 2px solid var(--primary); }
/* F5: an overnight layover, in the night band's navy and family words. */
.gf-fam-lay { margin-top: 12px; background: var(--hero); color: var(--hero-ink); border-radius: 16px; padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.gf-fam-lay-top { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; }
.gf-fam-lay .moon { width: 40px; height: 40px; border-radius: 50%; background: var(--hero-track); display: grid; place-items: center; color: var(--hero-amber); }
.gf-fam-lay .eb { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-muted); }
.gf-fam-lay .h { font-size: 20px; font-weight: 700; color: var(--hero-ink); line-height: 1.2; }
.gf-fam-lay .s { font-size: 13px; color: var(--hero-ink-2); }
.gf-fam-lay .wx { text-align: right; }
.gf-fam-lay .wx b { display: block; font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 26px; font-weight: 800; color: var(--hero-ink); line-height: 1.05; }
.gf-fam-lay .wx span { display: block; font-size: 12px; color: var(--hero-ink-2); white-space: nowrap; }
.gf-fam-lay-sun { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--hero-line); border-radius: 12px; }
.gf-fam-lay-sun > div { display: flex; align-items: center; gap: 10px; padding: 8px 11px; min-width: 0; color: var(--hero-amber); }
.gf-fam-lay-sun > div + div { border-left: 1px solid var(--hero-line); }
.gf-fam-lay-sun .k { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hero-muted); }
.gf-fam-lay-sun .v { display: block; font-size: 17px; font-weight: 700; color: var(--hero-ink); white-space: nowrap; }
/* On a phone "6:35 AM Sun" ran past its box (walkthrough of 15 Nov): smaller type and padding, and room to wrap. */
@media (max-width: 420px) {
    .gf-fam-lay-sun > div { gap: 8px; padding: 8px; }
    .gf-fam-lay-sun .v { font-size: 15px; white-space: normal; }
}
/* The line under the overnight card (report and release, next home) kept no gap from it. */
.gf-fam-lay + .gf-fam-sub, .gf-fam-lay + .gf-fam-next { margin-top: 12px; }
.gf-fam-lay-next { display: flex; align-items: flex-start; gap: 10px; padding-top: 10px; border-top: 1px solid var(--hero-line); color: var(--hero-blue); }
.gf-fam-lay-next .t { font-size: 16px; font-weight: 700; color: var(--hero-ink); line-height: 1.3; }
.gf-fam-lay-next .n { font-size: 13px; color: var(--hero-ink-2); margin-top: 1px; }
.gf-fam-lay .cr { font-size: 12px; color: var(--hero-muted); }
/* F8: on call, with its hours as a bar while they show. */
.gf-fam-callbar { position: relative; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; margin-top: 12px; }
.gf-fam-callbar i { position: absolute; top: 0; bottom: 0; left: 0; }
.gf-fam-callbar .used { background: var(--t-reserve); border-radius: 5px 0 0 5px; }
.gf-fam-callbar .nowm { width: 2px; background: var(--now); }
.gf-fam-callmarks { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.gf-fam-callmarks b { color: var(--red); font-weight: 700; }
/* F3: one card per person whose family circle the viewer is in, at the top of their own Today or Trips. */
.gf-homecards { display: flex; flex-direction: column; gap: 8px; padding: 6px 16px 12px; }
.gf-hc { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 10px 10px 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: inset 4px 0 0 var(--amber-line); text-decoration: none; }
.gf-hc.home { box-shadow: inset 4px 0 0 var(--accent-text); }
.gf-hc .m { flex: 1; min-width: 0; display: block; }
.gf-hc .who { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.gf-hc .t { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.gf-hc.home .t { color: var(--accent-text); }
.gf-hc .s { display: block; font-size: 13px; color: var(--ink-2); margin-top: 1px; }
.gf-hc .chev { color: var(--ink-3); }

/* ---------- Pilot logbook (V3 §4.7; D · Pilot logbook, D · Logbook entry, D · Web pilot logbook): navy totals, dense rows
   on a phone and a real table from 900 px; an entry's every field, dense ---------- */
.gf-plb-dt, .gf-plb-rt, .gf-pef-v.ap, .gf-plbt .rt { font-family: 'Archivo', system-ui, sans-serif; font-stretch: 112%; text-transform: uppercase; }
.gf-hero.gf-plb-hero { display: block; padding: 12px 20px 14px; }
.gf-plb-hrow { display: flex; justify-content: space-between; gap: 8px; }
.gf-plb-tot { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.gf-plb-tot b { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.01em; color: var(--hero-green); white-space: nowrap; }
.gf-plb-tot span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-muted); }
.gf-plb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--hero-line); border-radius: 12px; margin-top: 10px; }
.gf-plb-grid > div { padding: 6px 10px 7px; min-width: 0; }
.gf-plb-grid > div + div { border-left: 1px solid var(--hero-line); }
.gf-plb-grid b { display: block; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--hero-ink); white-space: nowrap; }
.gf-plb-pend { display: flex; align-items: center; gap: 8px; padding: 7px 10px; margin: 0 0 6px; border-radius: 10px; background: var(--sunken); border: 1px solid var(--line); font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.gf-plb-pend b { font-weight: 600; color: var(--ink); }
.gf-plb-hd, .gf-plb-r { display: grid; grid-template-columns: 54px minmax(0, 1fr) 78px 64px; column-gap: 8px; align-items: center; }
.gf-plb-hd { padding: 4px 0 6px; border-bottom: 1px solid var(--line-2); font-size: 9.5px; font-weight: 700; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; color: var(--ink-3); }
.gf-plb-hd .n { text-align: right; }
.gf .gf-plb-r { min-height: 52px; padding: 7px 0; text-decoration: none; color: var(--ink); }
.gf-plb-r + .gf-plb-r { border-top: 1px solid var(--line); }
/* Simulator sessions (pilot currency, PR 1): a row a session, under the flights. Theme variables only, so light and dark each take theirs. */
.gf .gf-plb-sim-r { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 48px; padding: 7px 0; text-decoration: none; color: var(--ink); }
.gf-plb-sim-r + .gf-plb-sim-r { border-top: 1px solid var(--line); }
.gf-plb-sim-r b { font-size: 14px; font-weight: 600; }
.gf-plb-sim-sub { font-size: 12.5px; color: var(--ink-3); }
.gf-plb-sim-f { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-plb-sim-f > * { max-width: 160px; }
.gf-plb-c { min-width: 0; line-height: 1.25; }
.gf-plb-c > b, .gf-plb-c > span { display: block; white-space: nowrap; }
.gf-plb-dt { font-size: 12.5px; font-weight: 700; letter-spacing: .01em; color: var(--ink); }
/* Another year's date ("Oct 16, 2025") wraps under itself rather than running into the route. */
.gf-plb-c > b.gf-plb-dt { white-space: normal; }
.gf-plb-fn { font-size: 13px; color: var(--ink-2); }
.gf-plb-rt { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.gf-plb-sub { font-size: 12px; color: var(--ink-3); }
.gf-plb-o { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.gf-plb-b { text-align: right; }
.gf-plb-b > b { font-size: 17px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.gf-plb-b > span { font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }
/* A narrow phone: the route ("CLT → DFW") would run into the times beside it. */
@media (max-width: 419.98px) {
    .gf-plb-hd, .gf-plb-r { grid-template-columns: 52px minmax(0, 1fr) 74px 58px; }
    .gf-plb-rt { font-size: 13px; }
}
@media (max-width: 359.98px) {
    .gf-plb-c > b.gf-plb-rt { white-space: normal; }
    .gf-plb-c > .gf-plb-sub { overflow: hidden; text-overflow: ellipsis; }
}
.gf-plb-web { display: none; }
.gf-plbt { width: 100%; min-width: 1060px; border-collapse: collapse; font-size: 14px; }
.gf-plbt th { padding: 8px 7px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: left; white-space: nowrap; vertical-align: bottom; }
.gf-plbt thead tr:first-child th { padding-bottom: 2px; color: var(--ink-2); }
.gf-plbt thead tr:first-child th.g { border-bottom: 2px solid var(--line-2); }
.gf-plbt thead tr:last-child th { border-bottom: 1px solid var(--line-2); }
.gf-plbt td { height: 50px; padding: 0 7px; border-bottom: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.gf-plbt th:first-child, .gf-plbt td:first-child { padding-left: 16px; }
.gf-plbt th:last-child, .gf-plbt td:last-child { padding-right: 16px; }
.gf-plbt .num { text-align: right; }
.gf-plbt .rt { font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.gf-plbt td.mut { color: var(--ink-2); }
.gf-plbt td.emp { color: var(--ink-3); }
.gf-plb-tblwrap { overflow-x: auto; }
.gf-plb-filt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
/* The search: its own full-width row under the chips on phones, inline at the right from 900 px (D · Web pilot logbook). */
.gf-plb-filt .mud-input-control { flex: 1 1 100%; margin: 0; }
.gf-pent { padding: 2px 14px 8px; }
.gf-pent .gf-eb { margin-top: 10px; }
.gf-pefg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
.gf-pefg.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gf-pef { min-width: 0; padding: 6px 0 7px; border-bottom: 1px solid var(--line); }
.gf-pef-k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.gf-pef-v { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 1px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.gf-pef-v.mut { font-weight: 500; color: var(--ink-3); }
.gf-trk { display: inline-flex; align-items: center; border-radius: 999px; padding: 0 7px; font-size: 10.5px; font-weight: 600; line-height: 17px; white-space: nowrap; background: var(--blue-bg); color: var(--blue); }
@media (min-width: 900px) {
    .gf-plb-phone { display: none; }
    .gf-plb-web { display: block; }
    .gf-plb-filt .mud-input-control { flex: 0 1 300px; margin-left: auto; }
}

/* ---------- Crew chat (D · Crew & chat, Direct message, Before you chat) ---------- */
.gf-cc-list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gf .gf-cc { display: flex; align-items: flex-start; gap: 12px; padding: 12px; text-decoration: none; color: var(--ink); }
.gf-cc + .gf-cc { border-top: 1px solid var(--line); }
.gf-cc-m { flex: 1; min-width: 0; }
.gf-cc-h { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.gf-cc-t { font-size: 15px; font-weight: 700; letter-spacing: .03em; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; margin: 0; }
.gf-cc-time { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; flex: none; }
.gf-cc.unread .gf-cc-time { color: var(--primary-text); font-weight: 700; }
.gf-cc-last { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.gf-cc-last p { flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 1.35; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-cc.unread .gf-cc-last p { color: var(--ink); }
.gf-ucount { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; flex: none; }
.gf-cc-sec { margin-bottom: 16px; }
.gf-cc-sec .gf-dayh { margin-bottom: 8px; }
/* Crew & chat's section notes are sentences ("From a flight's crew list · closes 24 h after it"): they wrap, so a phone never
   scrolls sideways (persona check of 2 Nov: 395 px wide at 390). */
.gf-cc-sec .gf-dayh-n { white-space: normal; min-width: 0; text-align: right; }
/* Trip and layover threads (D · Crew & chat, D · Trip thread, D · Layover thread) */
.gf-cc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.gf-cc-ic .mud-icon-root { font-size: 20px; }
.gf-cc-ic.trip { background: var(--primary-tint); color: var(--primary-text); }
.gf-cc-ic.layover { background: var(--pt-bg); color: var(--pt-ink); }
.gf-cc-who { font-size: 12.5px; line-height: 1.35; color: var(--ink-3); margin: 1px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-mem { display: flex; align-items: center; gap: 10px; margin-top: 8px; min-width: 0; }
.gf-avs { display: flex; flex: none; }
.gf-avs .gf-av { width: 28px; height: 28px; font-size: 10.5px; box-shadow: 0 0 0 2px var(--hero); }
.gf-avs .gf-av + .gf-av { margin-left: -6px; }
.gf-mem .gf-h-sub { font-size: 14px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gf-hero a.gf-h-lnk { margin-left: auto; display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--hero-blue); }

.gf-chat-hero { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gf-h-meta { font-size: 13px; color: var(--hero-muted); margin-top: 6px; }
.gf-chat-scroll { display: flex; flex-direction: column-reverse; overflow-y: auto; flex: 1; min-height: 96px; }
.gf-msgs { display: flex; flex-direction: column; gap: 10px; padding: 12px 0 14px; }
.gf-sysl { align-self: center; display: flex; align-items: flex-start; gap: 7px; max-width: 326px; padding: 7px 12px; border-radius: 12px; background: var(--sunken); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.4; color: var(--ink-2); margin: 0; }
.gf-sysl .mud-icon-root { font-size: 15px; color: var(--ink-3); margin-top: 1px; }
.gf-dsep { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 16px; color: var(--ink-3); white-space: nowrap; margin: 0; }
.gf-dsep::before, .gf-dsep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gf-msg { display: flex; align-items: flex-start; gap: 8px; }
.gf-msg > .gf-av { width: 32px; height: 32px; font-size: 11.5px; margin-top: 19px; }
.gf-msg-c { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: min(520px, 78%); }
.gf-msg-h { display: flex; align-items: baseline; gap: 6px; margin: 0 2px 3px; font-size: 12px; line-height: 16px; color: var(--ink-3); white-space: nowrap; }
.gf-msg-h b { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.gf-bubrow { display: flex; align-items: center; gap: 2px; min-width: 0; }
.gf-bub { background: var(--surface); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 8px 12px; font-size: 15px; line-height: 1.4; color: var(--ink); margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.gf-msg.me { justify-content: flex-end; }
.gf-msg.me .gf-msg-c { align-items: flex-end; }
.gf-msg.me .gf-bubrow { flex-direction: row-reverse; }
.gf-msg.me .gf-bub { background: var(--primary-tint); border-color: var(--pd-line); border-radius: 14px 4px 14px 14px; }
.gf-bub.gone { font-style: italic; color: var(--ink-2); }
.gf-msg-f { margin: 3px 2px 0; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.gf-composer { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.gf-composer .mud-input-control { flex: 1; min-width: 0; margin: 0; }

.gf-tos-h { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 28px; font-weight: 800; letter-spacing: .02em; line-height: 1.05; color: var(--hero-ink); margin: 6px 0 0; }
.gf-tos-sub { font-size: 14.5px; line-height: 1.45; color: var(--hero-ink-2); margin: 8px 0 0; }
.gf-rules { list-style: none; margin: 0; padding: 0; }
.gf-rule { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.gf-rule + .gf-rule { border-top: 1px solid var(--line); }
.gf-tos-n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--primary-tint); color: var(--primary-text); font-size: 15px; font-weight: 800; }
.gf-rule-t { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.gf-rule-s { display: block; font-size: 13px; line-height: 1.4; color: var(--ink-2); margin-top: 1px; }
.gf-tos-contact { text-align: center; }
/* Pilot logbook export (D · Export): the range on the navy band, the file as radio rows. */
.gf-ex-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; width: 100%; }
.gf-ex-range { font-family: 'Archivo', system-ui, sans-serif; font-stretch: 112%; text-transform: uppercase; font-size: 24px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; color: var(--hero-ink); margin-top: 4px; white-space: nowrap; }
.gf-rad { display: flex; align-items: flex-start; justify-content: flex-start; gap: 12px; width: 100%; min-height: 60px; padding: 9px 0; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.gf-rad + .gf-rad { border-top: 1px solid var(--line); }
.gf-rad .ro { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); flex: none; margin-top: 1px; box-sizing: border-box; }
.gf-rad[aria-checked="true"] .ro { border: 7px solid var(--primary); }
.gf-rad-l { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.gf-rad-l b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.gf-rad[aria-checked="true"] .gf-rad-l b { font-weight: 700; }
.gf-rad-l small { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); margin-top: 1px; }
/* The report sheet (D · Report sheet): the message quoted, the reasons, Also block, the 24-hour note, Report and Cancel. */
.gf-rs-top { display: flex; align-items: center; gap: 10px; }
.gf-rs-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--red-bg); color: var(--red); }
.gf-rs-h { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 19px; font-weight: 800; letter-spacing: .02em; line-height: 1.15; color: var(--ink); margin: 0; }
.gf-rs-top .gf-rs-x { margin-left: auto; }
.gf-tok .mud-button-outlined.gf-btn-dng:not(:disabled) { background: var(--red-bg); border-color: var(--red-line); color: var(--red); --mud-ripple-color: var(--red); }
@media (hover: hover) and (pointer: fine) { .gf-tok .mud-button-outlined.gf-btn-dng:not(:disabled):hover { background: color-mix(in srgb, var(--red-bg) 80%, var(--red-line)); } }
.gf-rs .gf-eb { margin: 0 0 4px; }
.gf-rs-q { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--sunken); margin-bottom: 14px; }
.gf-rs-q > .gf-av { width: 32px; height: 32px; font-size: 11.5px; flex: none; }
.gf-rs-text { margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.gf-rs-q .gf-msg-h { flex-wrap: wrap; white-space: normal; overflow-wrap: anywhere; }
.gf-rs-reasons { display: flex; flex-direction: column; margin: 4px 0 6px; }
/* MudRadioGroup wraps its radios in a row; the sheet lists one reason a line, as on the board. */
.gf-tok .gf-rs-reasons .mud-radio-group { flex-flow: column nowrap; align-items: stretch; }
.gf-tok .gf-rs-reasons .mud-radio-group > * + * { border-top: 1px solid var(--line); }
.gf-rs-block { margin: 4px 0 8px; }
.gf-rs-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--ink-2); margin: 0; }
.gf-rs-note .mud-icon-root { color: var(--accent-text); margin-top: 1px; flex: none; }
.gf-rs-btns { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 0 8px 8px; }
/* Admin's user dialog (AdminUser_Dialog, gf-sheet): centered from 600 px; on a phone a sheet from the bottom, full width. */
@media (max-width: 599.98px) {
    .mud-dialog-container:has(.gf-sheet) { align-items: flex-end; }
    .mud-dialog-container .mud-dialog.gf-sheet { width: 100%; max-width: 100%; max-height: 92dvh; margin: 0;
        border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}
/* The moderation queue (D · Web moderation queue): the list beside the entry from 900 px, one above the other on phones. */
.gf-mq-ht { font-size: 15px; line-height: 1.4; color: var(--hero-ink-2); margin: 6px 0 0; }
.gf-mq-due { color: var(--amber-line); }
.gf-mq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 900px) { .gf-mq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.gf-mq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.gf-mq-i { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.gf-mq-i[aria-current="true"] { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.gf-mq-i.done { background: var(--sunken); }
.gf-mq-top, .gf-mq-dh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gf-mq-id { font-weight: 700; font-size: 14px; }
.gf-mq-what { font-size: 14.5px; font-weight: 600; }
.gf-mq-meta { font-size: 12.5px; color: var(--ink-3); }
.gf-mq-open { background: var(--blue-bg); border-color: var(--blue-line); color: var(--blue); }
.gf-mq-done { background: var(--sunken); border-color: var(--line-2); color: var(--ink-2); }
.gf-mq-left { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.gf-mq-left.warn { color: var(--amber); }
.gf-mq-left.over { color: var(--red); }
.gf-mq-due.over { color: var(--red-line); }
.gf-mq-dt { font-size: 20px; font-weight: 800; margin: 0; }
.gf-mq-dh + .mud-progress-linear { margin-top: 8px; }
.gf-mq-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 14px 0 0; }
@media (min-width: 900px) { .gf-mq-kv { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gf-mq-kv dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.gf-mq-kv dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; }
.gf-mq-sec { margin: 18px 0 8px; }
/* Support requests (Part E; boards D · Contact us, D · My requests, D · Admin · Support): the statuses over the palette's own tokens,
   the unread dot, the screenshots and the details switch. */
.gf-sup-open { background: var(--blue-bg); border-color: var(--blue-line); color: var(--blue); }
.gf-sup-answered { background: var(--accent-bg); border-color: var(--accent-line); color: var(--accent-text); }
.gf-sup-closed { background: var(--sunken); border-color: var(--line-2); color: var(--ink-2); }
.gf-sup-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); flex: none; }
.gf-sup-err { color: var(--red); margin: 0 0 6px; }
.gf-sup-shots-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.gf-sup-shots { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-sup-shots img { width: 112px; height: 112px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--sunken); }
.gf-sup-switch { margin-top: 14px; }
/* Contact us has five kinds: they wrap, so none is cut off at the edge of a phone. */
.gf-sup-kinds { flex-wrap: wrap; overflow-x: visible; }
/* Help (Part D): the hub's groups of section cards, and a guide's numbered steps with each button's name drawn as a chip
   over the palette's own tokens, so both themes follow. A chip keeps to one line. */
.gf-help-grp { display: flex; flex-direction: column; gap: 12px; }
.gf-help-grp > .gf-eb { margin: 8px 0 -4px; }
/* The hub uses the window (R104 of 7 Nov): its section cards two to a row from 1,100 px; search and its answer at a reading width. */
.gf-help-cards { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1100px) { .gf-help-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; } }
.gf-help-narrow { width: 100%; max-width: 720px; }
.gf-help-sub { margin: 12px 0 2px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.gf-fold-body > .gf-help-sub:first-child { margin-top: 0; }
/* A visitor's way to the site and to sign up (R63). */
.gf-help-visit-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gf-help-site { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 6px; }
.gf-help-site a { min-height: 44px; display: inline-flex; align-items: center; color: var(--primary-text); font-weight: 500; }
/* A card folded under its heading: the heading is the button (Help's visitor folds, About's air traffic data). */
.gf .gf-fold { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin: -10px 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: pointer; }
.gf-fold > .mud-icon-root:first-child { font-size: 18px; color: var(--ink-2); }
.gf-fold > span:not(.gf-fold-n) { flex: 1; min-width: 0; }
.gf-fold-n { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-3); white-space: nowrap; }
.gf-fold .ex { color: var(--ink-3); transition: transform .15s ease; }
.gf-fold[aria-expanded=true] .ex { transform: rotate(180deg); }
.gf-fold:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
.gf-fold-body { margin-top: 14px; display: flex; flex-direction: column; }
.gf-fold-body > p + p { margin-top: 8px; }
.gf .gf-fold.gf-fold-more { width: auto; margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--primary-text); }
@media (prefers-reduced-motion: reduce) { .gf-fold .ex { transition: none; } }
/* The 404 page's ways on (R110). */
.gf-nf-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gf-help-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gf-help-title { margin: 4px 0 12px; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--ink); }
/* F33: a guide's clip, "Was this helpful?" and Admin's answers. */
.gf-help-video { margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.gf-help-video video { width: 100%; aspect-ratio: 9 / 16; max-height: 520px; border-radius: 14px; background: #0B1B33; object-fit: contain; }
.gf-help-play { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #0B1B33; cursor: pointer; }
.gf-help-play img { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 520px; object-fit: contain; }
.gf-help-play-i { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(11, 27, 51, .72); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.gf-help-play-i .mud-icon-root { width: 40px; height: 40px; }
.gf-help-play:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.gf-help-video figcaption { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gf-help-vote .gf-chips { margin: 8px 0; }
.gf-help-vote .gf-fchip { display: inline-flex; align-items: center; gap: 4px; }
.gf-help-vote p { margin: 0; }
.gf-hv-low { color: var(--amber); font-weight: 600; }
.gf-help-sum { margin: 10px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink); font-weight: 600; }
.gf-help-steps { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0; padding-left: 22px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.gf-help-steps > li::marker { font-weight: 700; color: var(--primary-text); }
.gf-hchip { padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--sunken); color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.gf-mq-note { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.45; margin: 0; }
.gf-mq-ppl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }
.gf-mq-p { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.gf-mq-p > .gf-av { width: 32px; height: 32px; font-size: 11.5px; flex: none; }
.gf-mq-pn { font-weight: 700; font-size: 14.5px; }
.gf-mq-acts { display: flex; flex-wrap: wrap; gap: 8px; }
/* F37: saved replies, picked into the reply box and kept on their own page. */
.gf-sr-pick { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; }
.gf-sr-item { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; }
.gf-sr-item:hover { border-color: var(--line-2); background: var(--sunken); }
.gf-sr-item span { font-size: 13px; color: var(--ink-2); }
.gf-sr-row { padding: 12px 0; }
.gf-sr-row + .gf-sr-row { border-top: 1px solid var(--line); }
.gf-sr-row p { white-space: pre-line; }
/* The EU notice form (web only, static): Blazor's own inputs, styled as the app's fields. */
.gf-nf label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 14px 0 4px; }
/* Blazor's InputText writes no type attribute, so a bare input is a text field too. */
.gf-nf input:not([type]), .gf-nf input[type=text], .gf-nf input[type=email], .gf-nf textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--field-line); border-radius: 8px; padding: 10px 12px; }
.gf-nf textarea { min-height: 160px; resize: vertical; }
.gf-nf input[type=checkbox] { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--primary); }
/* The good-faith label is the checkbox's tap target, 44 px at least (its padding takes the place of the margin). */
.gf-nf .gf-nf-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--ink); min-height: 44px; margin: 4px 0 0; padding: 10px 0; box-sizing: border-box; cursor: pointer; }
.gf-nf .validation-message { color: var(--red); font-size: 13px; margin-top: 4px; }
/* Native controls (the checkbox, the scrollbar, autofill) follow the dark theme too (walkthrough of 9 Nov). */
:is(.gf.dark, :root.gf-dark .gf.auto) .gf-nf { color-scheme: dark; }
.gf-nf .gf-nf-hint { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.gf-nf-send { margin-top: 16px; font: inherit; font-weight: 600; font-size: 15px; color: var(--on-primary); background: var(--primary); border: 0; border-radius: 8px; padding: 10px 18px; cursor: pointer; }

/* The roster-change diff on the review page (V3 §4.2; D · Roster-change diff). */
.gf-rdf-hero { border-radius: 12px; margin-top: 12px; }
.gf-rdf-hl { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--hero-amber); }
.gf-rdf-n { font-family: var(--wide); font-size: 20px; font-weight: 700; margin-top: 2px; }
.gf-rdf-wk { display: grid; gap: 4px; align-items: center; overflow-x: auto; }
.gf-rdf-wd { font-size: 11px; color: var(--ink-3); text-align: center; display: flex; flex-direction: column; }
.gf-rdf-wd b { font-size: 13px; color: var(--ink); }
.gf-rdf-rl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.gf-rdf-b { min-height: 28px; border-radius: 6px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid transparent; }
.gf-rdf-b.none { background: transparent; }
.gf-rdf-b.same, .gf-rdf-key i.same { background: var(--sunken); color: var(--ink-2); border-color: var(--line); }
.gf-rdf-b.rm, .gf-rdf-key i.rm { background: var(--red-bg); color: var(--red); border-color: var(--red-line); text-decoration: line-through; }
.gf-rdf-b.add, .gf-rdf-key i.add { background: var(--accent-bg); color: var(--accent-text); border-color: var(--accent-line); }
.gf-rdf-b.chg, .gf-rdf-key i.chg { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-line); }
.gf-rdf-key { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.gf-rdf-key span { display: inline-flex; align-items: center; gap: 6px; }
.gf-rdf-key i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid; display: inline-block; }
.gf-rdf-g + .gf-rdf-g { margin-top: 12px; }
.gf-rdf-g .gf-eb { margin: 0 0 6px; }
.gf-rdf-row { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.gf-rdf-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.gf-rdf-ic.rm { background: var(--red-bg); color: var(--red); }
.gf-rdf-ic.add { background: var(--accent-bg); color: var(--accent-text); }
.gf-rdf-ic.chg { background: var(--amber-bg); color: var(--amber); }
.gf-rdf-t { font-weight: 600; color: var(--ink); }
.gf-rdf-more { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 8px; padding: 0; border: 0;
    border-top: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.gf-rdf-more .mud-icon-root { margin-left: auto; }

/* Badges (V4 §5.7; D · Badge icons, option C, Ivan 2026-10-19): one glyph per badge on D's hexagon (BadgeDisplay).
   Earned is drawn as the navy hero with a gold medal, bar and pill, navy in both themes; started is slate; not
   started is dashed. Progress reads "2 of 4", never "one to go" (D23, V4-D12). */
.gf-bd-h { display: flex; align-items: center; gap: 12px; }
.gf-bd-em { flex: none; width: 46px; height: 46px; color: var(--ink-2); }
.gf-bd-hex { fill: var(--sunken); stroke: var(--line-2); stroke-width: 1.75; stroke-linejoin: round; }
.gf-bd-gly { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gf-bd-m { flex: 1; min-width: 0; }
.gf-bd-t { font-size: 16px; font-weight: 800; letter-spacing: .04em; }
.gf-bd-s { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.gf-bd-bar { height: 6px; margin-top: 10px; border-radius: 3px; background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.gf-bd-bar i { display: block; height: 100%; border-radius: 3px; background: var(--ink-3); }
.gf-bd-mem { font-size: 12.5px; line-height: 1.4; color: var(--ink-3); margin-top: 7px; }
.gf-bd-mem span { white-space: nowrap; }
.gf-bd-pill { background: var(--hero-amber); color: var(--hero); }
.gf-bd-pill .mud-icon-root { font-size: 14px; }
.gf-card.gf-bd-got { background: var(--hero); border-color: var(--hero-line); color: var(--hero-ink); }
.gf-bd-got .gf-bd-t { color: var(--hero-ink); }
.gf-bd-got .gf-bd-s, .gf-bd-got .gf-bd-mem { color: var(--hero-ink-2); }
.gf-bd-got .gf-bd-em { color: var(--hero); }
.gf-bd-got .gf-bd-hex { fill: var(--hero-amber); stroke: var(--hero-amber); }
.gf-bd-got .gf-bd-bar { background: var(--hero-track); box-shadow: none; }
.gf-bd-got .gf-bd-bar i { background: var(--hero-amber); }
.gf-card.gf-bd-off { background: transparent; border: 1.5px dashed var(--line-2); }
.gf-bd-off .gf-bd-t, .gf-bd-off .gf-bd-mem { color: var(--ink-2); }
.gf-bd-off .gf-bd-em { color: var(--ink-3); }
.gf-bd-off .gf-bd-hex { fill: none; stroke: var(--ink-3); stroke-dasharray: 3 3; }

/* ---------- D · Airport leaderboard (V4 §5.10): a quiet ranked list, no podium, the viewer's own row tinted ---------- */
.gf-ldb-title, .gf-ldb-rk, .gf-ldb-head { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; }
.gf-ldb-title { font-size: 22px; font-weight: 800; letter-spacing: .03em; line-height: 1.15; color: var(--hero-ink); margin: 4px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-ldb-head { display: flex; justify-content: space-between; gap: 8px; padding: 0 0 8px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; color: var(--ink-3); }
.gf-ldb-row { display: grid; grid-template-columns: 22px 40px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; min-height: 58px; padding: 6px 0; }
.gf-ldb-row + .gf-ldb-row { border-top: 1px solid var(--line); }
.gf-ldb-row.gf-ldb-me { margin: 6px -8px 0; padding: 6px 8px; border-radius: 12px; background: var(--primary-tint); }
.gf-ldb-row.gf-ldb-me + .gf-ldb-row { border-top-color: transparent; }
.gf-ldb-rk { font-size: 16px; font-weight: 700; color: var(--ink-2); text-align: center; }
.gf-ldb-nm { min-width: 0; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-ldb-nm small { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-left: 4px; }
.gf-ldb-n { font-size: 20px; font-weight: 700; color: var(--ink); text-align: right; }
/* The airport switcher: links on the navy hero, the open board marked by aria-current. */
.gf .gf-hero .gf-seg a { color: var(--hero-ink-2); }
.gf .gf-hero .gf-seg a[aria-current="page"] { background: var(--primary); color: var(--on-primary); }

/* The airport screen (V4 §5.3): a switch on phones, conditions and the board side by side from 900 px. */
.gf-ap-find { max-width: 420px; margin-bottom: 8px; }
.gf-ap-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 8px; }
.gf-ap-switch { margin-bottom: 12px; }
.gf-ap-off { display: none; }
.gf-board { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.gf-board th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.gf-board td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.gf-board tr.mine td { background: var(--accent-bg); font-weight: 600; }
.gf-board .gf-plus-tag { margin-left: 6px; }
@media (min-width: 900px) {
  .gf-ap-switch { display: none; }
  /* D · Web airport view: the live board on the left, two thirds; the conditions beside it (first in the markup too). */
  .gf-ap-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .gf-ap-off { display: block; }
}
/* The airport's diagram card (Ivan, 2026-11-06): its "Ground map" link covers the card, map and all; the map's credit still shows. */
.gf-ap-diagram { position: relative; }
.gf-ap-diagram h2 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.gf-ap-diagram .gf-rm + .gf-psub { margin-top: 8px; }
.gf-rm.gf-ap-rm { height: 250px; } /* the small map's fades take 86 px: room for the airport on a phone */
/* The Ground view (airport status PR 4): on a phone in place of the board and conditions, from 900 px above them. */
@media (max-width: 899.98px) { .gf-ap-split.gf-ap-under, .gf-ap-status.gf-ap-under { display: none; } }
.gf-surface .gf-rm.tall { aspect-ratio: 1; }
@media (min-width: 900px) { .gf-surface .gf-rm.tall { height: 520px; aspect-ratio: auto; } }
.gf-surface-card { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin-top: 10px; }
.gf-surface-replay { margin-top: 10px; }
.gf-surface-replay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gf-surface-card-h { display: flex; align-items: center; gap: 8px; }
.gf-surface-card-h b { flex: 1; }
.gf-surface-list { margin-top: 8px; }
.gf-surface-list summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.gf-surface-list ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.gf-surface-list button { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; color: var(--primary); cursor: pointer; text-align: left; }
/* .gf a (the link colour) outranks .gf-flt-code, which left the codes blue on navy (2.66:1) in light mode. */
.gf a.gf-flt-code { display: block; text-decoration: none; color: var(--hero-ink); }
/* On the drawn map's navy, as the real map draws it: light theme's --accent-text (#047857) was all but invisible there (walkthrough of 9 Nov). */
.gf-map-plane { position: absolute; z-index: 2; transform: translate(-50%, -50%); color: #FCD34D; line-height: 0; filter: drop-shadow(0 0 3px rgba(15, 23, 42, .9)); }

/* The live map (V4 §5.2): the map, then the side panel; side by side from 900 px. */
.gf-lm { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 900px) { .gf-lm { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.gf-map-person { position: absolute; transform: translate(-50%, -50%); padding: 2px 8px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-text); border: 1px solid var(--accent-line); font-size: 12px; font-weight: 600; white-space: nowrap; }
.gf-map.tall { height: auto; aspect-ratio: 1.25; }
.gf-map a.gf-apt-a { color: inherit; text-decoration: underline; text-underline-offset: 2px; pointer-events: auto; }
.gf-map a.gf-apt-a::after { content: ""; position: absolute; left: -10px; right: -10px; top: -12px; bottom: -12px; }
.gf-map a.gf-apt-a:focus-visible { outline: 2px solid var(--hero-ink); outline-offset: 2px; border-radius: 4px; }

/* The real map (real-map spec §2): MapLibre draws the map; the marks, key, caption and credit are ours. Light is
   OpenStreetMap's street colours, Dark navy; each keeps its own colours whatever the app's theme. */
.gf-rm { position: relative; overflow: hidden; height: 200px; flex: none; background: #0B1322; }
.gf-rm.light { background: #F2EFE9; }
.gf-rm.tall { height: auto; aspect-ratio: 1.25; }
@media (min-width: 900px) { .gf-rm { height: 270px; } .gf-rm.tall { height: auto; } }
/* The trip page's Map tab (TripF): the board's map, about 250 px on a phone and 490 from 900 px, so every code has room. */
.gf-rm.gf-trip-rm { height: 250px; }
@media (min-width: 900px) { .gf-rm.gf-trip-rm { height: 490px; } }
/* Beats MapLibre's own .maplibregl-map { position: relative }, which would leave the map no height. */
.gf-rm > .gf-rm-canvas { position: absolute; inset: 0; }
.gf-rm-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(15, 23, 42, .78) 0, rgba(15, 23, 42, 0) 46px, rgba(15, 23, 42, 0) calc(100% - 46px), rgba(15, 23, 42, .85) 100%); }
.gf-rm.light .gf-rm-fade { background: linear-gradient(180deg, rgba(248, 250, 252, .88) 0, rgba(248, 250, 252, .55) 44px, rgba(248, 250, 252, 0) 70px, rgba(248, 250, 252, 0) calc(100% - 46px), rgba(248, 250, 252, .8) 100%); }
.gf-rm-key { position: absolute; z-index: 2; left: 12px; top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.gf-rm-chip { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(15, 23, 42, .82); border: 1px solid #334155; font-size: 11px; font-weight: 600; color: #CBD5E1; white-space: nowrap; }
.gf-rm.light .gf-rm-chip { background: rgba(255, 255, 255, .92); border-color: #CBD5E1; color: #1E293B; }
.gf-rm-rbar { display: inline-block; width: 54px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #04E9E7, #019FF4, #02FD02, #01C501, #FDF802, #FD9500, #FD0000, #BC0000); }
.gf-rm-tsw { display: inline-block; width: 15px; height: 10px; border-radius: 2px; background: rgba(139, 92, 246, .35); border: 1.5px dashed #A78BFA; flex: none; }
/* The small map's key (Today's, Trips'): the drawn map's Flown, Next, Later in its corner, then the weather it shows. */
.gf-rm-lkey { position: absolute; z-index: 2; left: 12px; top: 10px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 14px; color: #CBD5E1; text-shadow: 0 0 3px #0F172A, 0 0 4px #0F172A; }
.gf-rm.light .gf-rm-lkey { color: #1E293B; text-shadow: 0 0 3px #fff, 0 0 4px #fff; }
.gf-rm-lrow { display: flex; gap: 12px; }
.gf-rm-lrow > span { display: inline-flex; align-items: center; gap: 5px; }
.gf-rm-lkey i.lk { display: inline-block; width: 16px; border-top: 2px dashed #93C5FD; }
.gf-rm-lkey i.lk.flown { border-top: 1.5px solid #6EE7B7; }
.gf-rm-lkey i.lk.next { border-top: 3px solid #F59E0B; }
.gf-rm.light .gf-rm-lkey i.lk { border-top-color: #1D4ED8; }
.gf-rm.light .gf-rm-lkey i.lk.flown { border-top-color: #059669; }
.gf-rm.light .gf-rm-lkey i.lk.next { border-top-color: #EA580C; }
/* The Passport's weights, as realMap.js draws them: 1 flight, 2–3, 4+ (the busiest amber). */
.gf-rm-lkey i.lk.w1 { border-top: 1.5px solid #93C5FD; opacity: .7; }
.gf-rm-lkey i.lk.w2 { border-top: 2.5px solid #93C5FD; }
.gf-rm-lkey i.lk.w3 { border-top: 3.5px solid #F59E0B; }
.gf-rm.light .gf-rm-lkey i.lk.w3 { border-top-color: #EA580C; }
.gf-rm-lkey .gf-rm-rbar { width: 22px; }
/* The Passport on the real map keeps the drawn map's heights: 200 px, 320 from 900 px, and Me's card 160 at every width. */
.gf-rm.gf-passport-map { height: 200px; }
.gf-me-map .gf-passport-map, .gf-me-map .gf-rm.gf-passport-map { height: 160px; }
@media (min-width: 900px) { .gf-rm.gf-passport-map { height: 320px; } }
.gf-rm .gf-rm-fit { position: absolute; z-index: 2; right: 12px; top: 10px; }
@media (max-width: 599.98px) { .gf-rm .gf-rm-fit { min-width: 0; padding: 4px 8px; } .gf-rm .gf-rm-fit .mud-button-icon-start { margin: 0; } .gf-rm-fit-l { display: none; } }
.gf-rm-foot { position: absolute; z-index: 2; right: 12px; bottom: 5px; left: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; pointer-events: none; }
.gf-rm-cap { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 14px; color: #94A3B8; white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px #0F172A, 0 0 4px #0F172A; }
.gf-rm-credit { text-align: right; font-size: 9px; line-height: 11px; color: #94A3B8; pointer-events: none; text-shadow: 0 0 3px #0F172A; }
.gf-rm.light .gf-rm-cap { color: #334155; text-shadow: 0 0 3px #fff, 0 0 4px #fff; }
.gf-rm.light .gf-rm-credit { color: #475569; text-shadow: 0 0 3px #fff; }
.gf-rm-apt { position: relative; width: 0; height: 0; padding: 0; border: 0; background: none; font: inherit; }
button.gf-rm-apt { cursor: pointer; }
/* A 48 × 44 px tap target around the dot and its code (WCAG 2.5.5), the mark itself no size. */
button.gf-rm-apt::after { content: ""; position: absolute; left: -12px; right: -36px; top: -22px; bottom: -22px; }
.gf-rm-apt .dot { position: absolute; width: 6px; height: 6px; left: -3px; top: -3px; border-radius: 50%; background: #F8FAFC; box-shadow: 0 0 0 1.5px rgba(15, 23, 42, .9); }
.gf-rm-apt.base .dot { box-shadow: 0 0 0 3.5px #0F172A, 0 0 0 5px #6EE7B7; }
/* The airport status overview: a dot toned by how bad the airport is, light to dark (amber, orange, red), so tone is never hue alone. */
.gf-rm-apt.t1 .dot, .gf-ao-dot.t1 { background: #F59E0B; }
.gf-rm-apt.t2 .dot, .gf-ao-dot.t2 { background: #EA580C; }
.gf-rm-apt.t3 .dot, .gf-ao-dot.t3 { background: #B91C1C; }
.gf-rm-apt.t1 .dot, .gf-rm-apt.t2 .dot, .gf-rm-apt.t3 .dot { width: 10px; height: 10px; left: -5px; top: -5px; }
/* The light map style recolours every dot with four classes; the tones must win there too. */
.gf-rm.light .gf-rm-apt.t1 .dot { background: #F59E0B; }
.gf-rm.light .gf-rm-apt.t2 .dot { background: #EA580C; }
.gf-rm.light .gf-rm-apt.t3 .dot { background: #B91C1C; }
/* Today's Map tab: an airport's flight category as the board's halo, a filled circle behind its dot (wider round the base's ring, which would cover a small one). */
.gf-rm-apt[class*="gf-wx-"]::before { content: ""; position: absolute; width: 18px; height: 18px; left: -9px; top: -9px; border-radius: 50%; background: var(--wx); pointer-events: none; }
.gf-rm-apt.base[class*="gf-wx-"]::before { width: 26px; height: 26px; left: -13px; top: -13px; }
.gf-rm-apt.gf-wx-vfr, .gf-wx-sw.vfr { --wx: #6EE7B7; }
.gf-rm-apt.gf-wx-mvfr, .gf-wx-sw.mvfr { --wx: #93C5FD; }
.gf-rm-apt.gf-wx-ifr, .gf-wx-sw.ifr { --wx: #FCA5A5; }
.gf-rm-apt.gf-wx-lifr, .gf-wx-sw.lifr { --wx: #E9A8F5; }
/* The light style's street colours drown the pale fills: the same four hues, darker. */
.gf-rm.light .gf-rm-apt.gf-wx-vfr, .gf-rm.light .gf-wx-sw.vfr { --wx: #10B981; }
.gf-rm.light .gf-rm-apt.gf-wx-mvfr, .gf-rm.light .gf-wx-sw.mvfr { --wx: #3B82F6; }
.gf-rm.light .gf-rm-apt.gf-wx-ifr, .gf-rm.light .gf-wx-sw.ifr { --wx: #EF4444; }
.gf-rm.light .gf-rm-apt.gf-wx-lifr, .gf-rm.light .gf-wx-sw.lifr { --wx: #C026D3; }
.gf-wx-sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--wx); flex: none; }
/* The trip page's map: a deadhead leg is dashed (the key's swatch), an overnight station has a moon beside its mark. */
.gf-rm-lkey i.lk.dh, .gf-rm-chip i.dh { display: inline-block; width: 16px; border-top: 2.5px dotted #93C5FD; }
.gf-rm.light .gf-rm-lkey i.lk.dh, .gf-rm.light .gf-rm-chip i.dh { border-top-color: #1D4ED8; }
.gf-rm-apt .moon, i.gf-moon-sw { position: absolute; left: 7px; top: -12px; width: 9px; height: 9px; border-radius: 50%; box-shadow: -3px 1px 0 0 #FDE68A; background: transparent; pointer-events: none; }
.gf-rm.light .gf-rm-apt .moon, .gf-rm.light i.gf-moon-sw { box-shadow: -3px 1px 0 0 #B45309; }
i.gf-moon-sw { position: static; display: inline-block; margin: 0 0 0 3px; flex: none; }
.gf-rm-wx { display: inline-flex; align-items: center; gap: 5px; }
.gf-ao-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; background: #94A3B8; }
.gf-ao-dot.t0 { background: #059669; }
.gf-ao .gf-hero.gf-ao-hero { border-radius: 16px; }
.gf-ao-h { font-family: var(--wide); font-stretch: 118%; font-variation-settings: "wdth" 118; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hero-ink-2); margin: 0; }
.gf-ao-line { font-size: 17px; line-height: 1.45; margin: 0; }
.gf-ao-rows, .gf-ao-list { list-style: none; margin: 0; padding: 0; }
.gf-ao-rows li a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 0; border-top: 1px solid var(--hero-line); color: inherit; text-decoration: none; }
.gf-ao-rows .gf-ao-what { flex: 1; color: var(--hero-ink-2); font-size: 13px; }
.gf-ao-code { font-family: var(--wide); font-stretch: 120%; font-variation-settings: "wdth" 120; font-weight: 800; letter-spacing: .02em; min-width: 40px; }
.gf-ao-list li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; min-height: 44px; padding: 8px 0; border-top: 1px solid var(--line); }
.gf-ao-list li:first-child { border-top: 0; }
.gf-ao-list .gf-ao-what { flex: 1; min-width: 0; color: var(--ink-2); font-size: 13px; }
.gf-ao-group { margin-top: 14px; }
.gf-ao-group h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.gf-ao-normal { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-weight: 600; }
/* The airport page, signed in (airport status spec 2026-11-02, PR 1b; board D3-PhoneAirport): the hero's sentence, the six-hour
   strip in CSS (a program bar, six forecast cells, the member's flights, a now line), the pilots' navy card. Category colours
   step in lightness as well as hue (low IFR darkest), and a cell not forecast is an outline, never a colour. */
.gf-ap-what { font-size: 17px; line-height: 1.45; margin: 4px 0 0; }
.gf-ap-status { display: grid; gap: 12px; margin-bottom: 12px; }
@media (min-width: 900px) { .gf-ap-status { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gf-ap-status .gf-a6 { grid-column: 1 / -1; } }
.gf-a6-grid { position: relative; display: grid; gap: 10px; padding-top: 18px; }
.gf-a6-hours { position: absolute; top: 0; left: 72px; right: 0; height: 14px; font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gf-a6-hours span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.gf-a6-hours span:first-child { transform: none; }
.gf-a6-hours span:last-child { transform: translateX(-100%); }
.gf-a6-row { display: flex; align-items: center; gap: 8px; min-height: 16px; }
.gf-a6-k { width: 64px; flex: none; font-size: 12px; font-weight: 700; }
.gf-a6-track { position: relative; flex: 1; height: 14px; border-radius: 4px; background: var(--sunken); }
.gf-a6-track.cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; background: none; }
.gf-a6-track.marks { height: 34px; background: none; }
.gf-a6-bar { position: absolute; left: 0; top: 0; height: 14px; border-radius: 4px; }
.gf-a6-bar.gdp { background: #D97706; }
.gf-a6-bar.stop { background: #991B1B; }
.gf-a6-none { position: absolute; right: 6px; top: 0; font-size: 11px; line-height: 14px; color: var(--ink-2); }
/* Arrivals today (PR 2; board D1 "Arrivals today"): a split bar of on time, late, cancelled and diverted, and its key with counts.
   The four step in lightness as well as hue (late lightest, cancelled darkest). */
.gf-split { display: flex; gap: 2px; height: 10px; margin: 10px 0 8px; border-radius: 999px; overflow: hidden; background: var(--sunken); }
.gf-split-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-variant-numeric: tabular-nums; }
.gf-split-key i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 2px; }
.gf-k-ok { background: #059669; } .gf-k-late { background: #F59E0B; } .gf-k-cx { background: #B91C1C; } .gf-k-dv { background: #7C3AED; }
.gf-ap-arr .gf-kv { margin-top: 8px; }
.gf-ap-pilots .gf-kv b { color: var(--hero-ink); }
.gf-a6-cell { height: 14px; border-radius: 3px; }
.c-lifr { background: #6B21A8; }
.c-ifr { background: #DC2626; }
.c-mvfr { background: #F59E0B; }
.c-vfr { background: #94A3B8; }
.c-none { background: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.gf-a6-mark { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap; }
.gf-a6-mark i { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 2px var(--surface); }
.gf-a6-mark.dep i { border-radius: 3px; background: var(--ink); }
.gf-a6-mark b { font-size: 11px; font-variant-numeric: tabular-nums; }
.gf-a6-now { position: absolute; top: 14px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); }
.gf-a6-key { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.gf-a6-key span { display: inline-flex; align-items: center; gap: 4px; }
.gf-a6-key i { position: static; display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.gf-ap-yf + .gf-ap-yf { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.gf-ap-yf-t { font-weight: 700; font-size: 16px; }
.gf-ap-yf s { color: var(--ink-2); margin-right: 6px; font-weight: 400; }
.gf-card.gf-ap-pilots { background: var(--hero); border-color: var(--hero); color: var(--hero-ink); }
.gf-ap-pilots .gf-ct, .gf-ap-pilots .gf-cap, .gf-ap-pilots .gf-kv span { color: var(--hero-ink-2); }
.gf-ap-pilots .gf-kv { border-color: var(--hero-line); flex-wrap: wrap; row-gap: 2px; padding: 6px 0; }
.gf-ap-pilots .gf-kv span { flex: none; }
.gf-ap-pilots .gf-kv b { margin-left: auto; text-align: right; }
.gf-ap-pilots .gf-ap-ph { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hero-line); }
.gf-ap-ph { font-size: 13px; font-weight: 700; margin: 12px 0 4px; color: var(--hero-ink); }
.gf-ap-raw { font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.6; margin: 0 0 4px; overflow-wrap: anywhere; }
.gf-atc { padding-top: 12px; padding-bottom: 0; }
.gf-atc .gf-banner { align-items: center; color: inherit; text-decoration: none; min-height: 44px; }
.gf-atc-line { flex: 1; font-weight: 600; }
.gf-rm-apt .code { position: absolute; top: -8px; left: 9px; font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .06em; color: #E2E8F0; text-shadow: 0 0 3px #0F172A, 0 0 3px #0F172A, 0 0 6px #0F172A; white-space: nowrap; }
.gf-rm.light .gf-rm-apt .dot { background: #0F172A; box-shadow: 0 0 0 2px #fff; }
.gf-rm.light .gf-rm-apt.base .dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #059669; }
.gf-rm.light .gf-rm-apt .code { color: #0F172A; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff; }
.gf-rm-plane { z-index: 1; width: 26px; height: 26px; color: #FCD34D; filter: drop-shadow(0 0 3px rgba(15, 23, 42, .9)) drop-shadow(0 0 6px rgba(245, 158, 11, .45)); }
.gf-rm.light .gf-rm-plane { color: #EA580C; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 3px #fff); }
.gf-rm-plane svg { display: block; width: 100%; height: 100%; }
.gf-rm-person { font-size: 11px; font-weight: 600; line-height: 1; padding: 4px 8px; border-radius: 11px; background: #0F172A; color: #93C5FD; border: 1.5px solid #3B82F6; white-space: nowrap; }
.gf-rm-tlabel { font-size: 9.5px; font-weight: 700; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: #EDE9FE; background: rgba(46, 16, 101, .82); border: 1px solid #8B5CF6; padding: 4px 7px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
.gf-rm.light .gf-rm-tlabel { color: #4C1D95; background: rgba(255, 255, 255, .92); border-color: #7C3AED; }
.gf-rm-trep { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; line-height: 1; color: #EDE9FE; white-space: nowrap; pointer-events: none; }
.gf-rm-trep svg { width: 15px; height: 15px; color: #C4B5FD; filter: drop-shadow(0 0 2px #0F172A) drop-shadow(0 0 2px #0F172A); }
.gf-rm-trep.strong { background: #4C1D95; border: 1px solid #A78BFA; border-radius: 10px; padding: 3px 7px 3px 5px; }
.gf-rm-trep.strong svg { color: #F5F3FF; filter: none; }
.gf-rm.light .gf-rm-trep svg { color: #6D28D9; filter: drop-shadow(0 0 2px #fff); }
.gf-rm.light .gf-rm-trep.strong { background: #F5F3FF; color: #4C1D95; border-color: #7C3AED; }
.gf-rm.light .gf-rm-trep.strong svg { color: #6D28D9; }

/* Icon chips (D · Live map's layers): each a toggle. One line that scrolls sideways on a phone, as .gf-chips does, so Radar
   and Turbulence arriving once the real map draws never move the map (Ivan, 2026-10-25). The padding keeps each chip's
   focus ring and enlarged hit area inside the scroll box; the margins give that space back. */
.gf-layers { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 5px 4px 7px; margin: -5px -4px -7px; }
.gf-layers::-webkit-scrollbar { display: none; }

/* The airport hero and the phone's two-line board rows (D · ORD conditions, D · ORD live board). */
.gf-ap-code { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 44px; font-weight: 800; line-height: 1; color: var(--hero-ink); margin: 6px 0 4px; }
.gf-ap-hero .gf-ap-switch { margin: 12px 0 0; }
.gf-ap-eb { justify-content: space-between; }
.gf-ap-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 6px; }
.gf-ap-top .gf-ap-code { margin: 0; }
.gf-ap-wx { display: flex; flex-direction: column; align-items: flex-end; text-align: right; min-width: 0; }
.gf-ap-wx-r { font-size: 18px; font-weight: 600; color: var(--hero-ink); }
.gf-ap-wx-s { font-size: 13px; color: var(--hero-ink-2); }
.gf-ap-hline { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--hero-ink-2); }
.gf-ap-hline .mud-icon-root { color: var(--hero-amber); flex: none; }
.gf-ap-mine { display: none; }
.gf-ap-kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--hero-line); font-size: 14px; color: var(--hero-ink-2); }
.gf-ap-kv b { color: var(--hero-ink); white-space: nowrap; }
@media (min-width: 900px) { .gf-ap-mine { display: block; } .gf-ap-mine .gf-h-eb { margin-top: 0; } .gf-ap-wx { align-items: flex-start; text-align: left; } .gf-ap-top { justify-content: flex-start; gap: 20px; } }
.gf-board-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.gf-board-rows li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.gf-board-rows li.mine { background: var(--accent-bg); margin: 0 -12px; padding: 10px 12px; }
.gf-br-1 { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.gf-br-1 .gf-pill { margin-left: auto; }
.gf-br-2 { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.gf-board { display: none; }
@media (min-width: 900px) { .gf-board { display: table; } .gf-board-rows { display: none; } }

/* Choose your side (V2 §4.8, D · Choose your side): the airplane from above, its window rails, the sun on its side. */
.gf-cs-plane { display: block; width: 100%; max-width: 260px; margin: 10px auto 4px; }
.gf-cs-plane .body, .gf-cs-plane .wing { fill: rgba(255, 255, 255, .14); stroke: var(--hero-line); stroke-width: 1; }
.gf-cs-plane .win { fill: var(--hero-muted); }
.gf-cs-plane .sun circle { fill: var(--hero-amber); }
.gf-cs-plane .sun path { fill: none; stroke: var(--hero-amber); stroke-width: 2; stroke-linecap: round; }
.gf-cs-plane .lbl { fill: var(--hero-ink-2); font-size: 10px; text-anchor: middle; font-weight: 600; }
.gf-cs-plane .win.on { fill: var(--hero-amber); }
.gf-cs-hero h2.gf-h-name { margin: 2px 0 0; }
.gf-br-1 .gf-plus-tag { margin-left: 0; }
.gf-ap-hero .gf-hv { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 599px) { .gf-ap-hero .gf-hv { font-size: 18px; } }
.gf-lm-apts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 8px 0 0; font-size: 14px; }
.gf-lm-apts span { color: var(--ink-3); }
.gf-lm-apts a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Your past airplanes at the gate (V4 §5.9, D · Your past airplanes at the gate): tail and type, the gate chip, what it
   operates now and when you flew it. No walk row: there is no gate-position source yet (V4-D9). */
.gf-hero a.gf-pa-hl { color: var(--hero-blue); text-decoration: underline; text-underline-offset: 2px; }
.gf-pa-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 12px 0; }
.gf-pa-row + .gf-pa-row { border-top: 1px solid var(--line); }
.gf-pa-tail, .gf-pa-g b { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; }
.gf-pa-tail { display: block; font-size: 22px; font-weight: 800; letter-spacing: .04em; line-height: 1.1; color: var(--ink); }
.gf-pa-type { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-top: 3px; }
.gf-pa-g { display: flex; flex-direction: column; align-items: center; min-width: 60px; padding: 4px 10px 5px; border-radius: 10px; background: var(--sunken); border: 1.5px solid var(--line-2); }
.gf-pa-g small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: var(--ink-3); }
.gf-pa-g b { font-size: 20px; font-weight: 800; letter-spacing: .03em; line-height: 1.1; color: var(--ink); }
.gf-pa-op { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); margin: 8px 0 0; }
.gf-pa-op b { font-weight: 600; color: var(--ink); }
.gf-pa-you { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink); margin: 4px 0 0; }
.gf-pa-you .mud-icon-root { width: 16px; height: 16px; color: var(--accent-text); }
.gf-pa-walk { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); margin: 4px 0 0; }
.gf-pa-walk .mud-icon-root { width: 16px; height: 16px; color: var(--accent-text); }
.gf-pa-walk.far, .gf-spot-far { color: var(--ink-3); }
.gf-spot-links { grid-column: 1 / -1; margin: 6px 0 0; }
.gf-spot-mark { font-size: 14px; font-weight: 600; }
.gf-walk-map { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto 8px; }
.gf-walk-line { stroke: var(--accent-text); stroke-width: 3; stroke-dasharray: 6 5; }
.gf-walk-you { fill: var(--ink); }
.gf-walk-to { fill: var(--accent-text); }
.gf-walk-label { font-size: 13px; font-weight: 600; fill: var(--ink); }
.gf-walk-north { font-size: 12px; font-weight: 700; fill: var(--ink-3); }
.gf-walk-guard { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.gf-walk-tl { display: flex; gap: 4px; margin: 0 0 8px; }
.gf-walk-step { flex-basis: 0; min-width: 64px; border-radius: 8px; padding: 6px 8px; background: var(--accent-bg); display: flex; flex-direction: column; font-size: 12.5px; color: var(--ink-2); }
.gf-walk-step b { font-size: 14px; color: var(--ink); }
.gf-walk-step.window { outline: 2px solid var(--accent-text); outline-offset: -2px; }
.gf-walk-step.spare { background: transparent; border: 1px dashed var(--ink-3); }
.gf-walk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 10px 0 4px; }
/* The commute finder (D · Commute finder): options with their day, a too-tight one greyed; settings as tap rows. */
.gf-cmu-opt { padding: 10px 0; border-top: 1px solid var(--line); }
.gf-cmu-opt:first-child { border-top: 0; }
/* Greyed: the times and route only, so the line that says why stays readable. */
.gf-cmu-opt.no .gf-cmu-tm, .gf-cmu-opt.no .gf-leg-route { opacity: .55; }
.gf-cmu-tm { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.gf-cmu-tm span { font-size: 12px; color: var(--ink-3); }
.gf-cmu-warn { display: flex; align-items: center; gap: 4px; color: var(--amber); }
.gf-tap { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.gf-tbtn { background: none; border: 0; padding: 8px 0 8px 12px; min-height: 44px; font: inherit; font-size: 15px; color: var(--primary-text); cursor: pointer; }
.gf-tbtn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* Delay prediction (V4 §5.4, D · Predictions): its reasons, and the flight number's last days. */
.gf-pr-top { justify-content: space-between; flex-wrap: wrap; row-gap: 4px; }
.gf-pr-conf { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--hero-ink-2); white-space: nowrap; }
.gf-pr-meter { display: inline-flex; gap: 2px; }
.gf-pr-meter i { width: 10px; height: 6px; border-radius: 2px; background: var(--hero-track); border: 1px solid var(--hero-line); }
.gf-pr-meter i.on { background: var(--hero-green); border-color: var(--hero-green); }
h2.gf-pr-big { margin: 4px 0 0; font-size: 22px; font-weight: 500; color: var(--hero-ink); }
h2.gf-pr-big b { font-size: 28px; font-weight: 700; color: var(--hero-amber); }
.gf-pr-bar { position: relative; height: 10px; border-radius: 5px; background: var(--hero-track); margin-top: 14px; }
.gf-pr-bar .win { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--hero-amber); }
.gf-pr-bar .sch { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 2px dashed var(--hero-ink); }
.gf-pr-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--hero-muted); margin-top: 6px; }
.gf-pr-arr { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--hero-ink-2); }
.gf-pr-arr .gf-h-eb { margin-top: 0; }
.gf-pr-arr b { color: var(--hero-ink); }
.gf-pr-why { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.gf-pr-why + .gf-pr-why { border-top: 1px solid var(--line); }
.gf-pr-why p { margin: 0; }
.gf-pr-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; }
.gf-pr-ic.amber { background: var(--amber-bg); color: var(--amber); }
.gf-pr-ic.blue { background: var(--accent-bg); color: var(--accent-text); }
.gf-pr-ic.slate { background: var(--sunken); color: var(--ink-2); }
.gf-pr-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.gf-pr-days li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 8px; border: 1px solid var(--line); font-size: 11px; min-width: 0; }
.gf-pr-days li.ok { color: var(--accent-text); background: var(--accent-bg); border-color: var(--accent-line); }
.gf-pr-days li.late { color: var(--amber); background: var(--amber-bg); border-color: var(--amber-line); }
.gf-pr-days li.err { color: var(--red); background: var(--red-bg); border-color: var(--red-line); }
.gf-pr-dw { color: var(--ink-3); }
.gf-pr-dn { font-size: 13px; font-weight: 700; color: var(--ink); }
.gf-pr-key { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.gf-pr-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.gf-pr-key i.ok { background: var(--accent-line); }
.gf-pr-key i.late { background: var(--amber-line); }
.gf-pr-key i.err { background: var(--red-line); }

/* ---------- an alert's own page (V2 §4.5; D · Alerts before the airline) ---------- */
.gf-al-hrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gf-al-hrow .gf-hpill { margin-top: 8px; }
.gf-al-body { font-size: 14px; line-height: 1.45; margin-top: 4px; }
.gf-al-why { margin: 6px 0 0; padding-left: 18px; color: var(--hero-ink-2); font-size: 14px; line-height: 1.5; }
.gf-tl-row { display: grid; grid-template-columns: 64px 12px minmax(0, 1fr); gap: 10px; align-items: start; padding: 6px 0; }
.gf-tl-t { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.gf-tl-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; background: var(--ink-3); }
.gf-tl-dot.us { background: #F59E0B; }
.gf-tl-txt { margin: 0; font-size: 14px; }
.gf-tl-sub { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }
.gf-tl-gap { margin: 2px 0 2px 86px; padding: 4px 0 4px 12px; border-left: 2px dashed #F59E0B; font-size: 13px; color: var(--ink); }
/* Admin's section tabs (Admin spec §3): one row scrolling sideways on a phone (AdminTabs_Component brings the current tab into
   view), wrapped from 900 px so every tab shows. */
.gf .gf-admin-tabs { overflow-x: auto; margin-bottom: 12px; }
.gf .gf-admin-tabs a { flex: 0 0 auto; padding: 0 14px; white-space: nowrap; }
/* A non-Admin who opens an Admin page sees only "This page is for Admins.": no section tabs or period chips above it. */
.gf .gf-page:has(.gf-admin-refused) .gf-admin-tabs { display: none; }
/* Nor the period under the title ("Last 7 days, UTC"), which counts nothing for them (walkthrough of 9 Nov). */
.gf:has(.gf-admin-refused) .gf-appbar-sub { display: none; }
/* A card header's link ("Plans by email") and a link in an Admin table's row (a user's name, an import's time) are 44 px tall to
   tap (persona check of 2 Nov: 17 to 20 px). */
.gf .gf-ch a.gf-cn, .gf .gf-kvtable td a { display: inline-flex; align-items: center; min-height: 44px; }
.gf .gf-ch a.gf-cn { min-width: 44px; justify-content: flex-end; } /* and 44 px wide: Overview's "Users" was 33 */
/* the RVR moment slider a 44 px target: the input is the tap box (MudBlazor draws it 10 px; its filled bar stays centred) */
.gf .gf-rvr-slider .mud-slider .mud-slider-input { height: 44px; }
@media (min-width: 900px) {
    .gf .gf-admin-tabs { flex-wrap: wrap; overflow-x: visible; }
}
.gf .gf-kvtable .gf-kv-sum { display: none; }
/* An Admin table on a phone (gf-kvtable on a MudSimpleTable): each row stacked as key-value lines, the key from the cell's
   data-label, the way gf-kv draws them; a table again from 600 px. */
@media (max-width: 599.98px) {
    .gf .gf-kvtable.mud-simple-table table thead { display: none; }
    .gf .gf-kvtable.mud-simple-table table tbody,
    .gf .gf-kvtable.mud-simple-table table tbody tr { display: block; }
    .gf .gf-kvtable.mud-simple-table table tbody tr { padding: 6px 0; border-top: 1px solid var(--line); }
    .gf .gf-kvtable.mud-simple-table table tbody tr:first-child { border-top: 0; }
    .gf .gf-kvtable.mud-simple-table table tbody tr td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
        padding: 4px 0; border: 0; text-align: right; overflow-wrap: anywhere; }
    .gf .gf-kvtable.mud-simple-table table tbody tr td::before { content: attr(data-label); flex: none; color: var(--ink-3); font-weight: 600; text-align: left; }
    /* A cell that is the row's heading (a user's name over their email): its own lines, unlabelled, broken only between words. */
    .gf .gf-kvtable.mud-simple-table table tbody tr td.gf-kv-whole { display: block; text-align: left; overflow-wrap: break-word; }
    .gf .gf-kvtable.mud-simple-table table tbody tr td.gf-kv-whole::before { content: none; }
    /* A cell with nothing to say (R70): left out of the stacked lines, so an empty Reason or Model never makes a row of its own. */
    .gf .gf-kvtable.mud-simple-table table tbody tr td.gf-kv-none { display: none; }
    /* A table drawn as one compact card a row on a phone (R19): its other cells left out, a summary line (gf-kv-sum) in their place. */
    .gf .gf-kvtable.mud-simple-table table tbody tr td.gf-kv-hide { display: none; }
    .gf .gf-kvtable .gf-kv-sum { display: block; }
}
.gf .gf-nowrap { white-space: nowrap; }
/* A named count with its share as a bar (Admin): name, bar, count. */
.gf-acount { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; }
.gf-acount b { font-variant-numeric: tabular-nums; }
.gf-hero .gf-hfacts { margin-top: 0; }
/* Trips (the refresh spec §5.3): the hero's flight title, then chapters; from 900 px The trip and Upcoming in the main column,
   Before you leave and Past at its side. */
.gf-trips-title { overflow-wrap: anywhere; }
.gf-trips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.gf-tr-legs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.gf-tr-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-tr-btns > * { flex: 1 1 160px; }
/* A label on one line: too narrow for both, the buttons go one under the other (walkthrough of 15 Nov). */
.gf-tr-btns .mud-button-label { white-space: nowrap; }
/* Upcoming (R1): a trip of several flights, a round trip's way out and back, is one card holding its days. */
.gf-tr-trip { padding: 12px 12px 4px; border: 1px solid var(--line); border-left: 4px solid var(--t-duty); border-radius: 16px; background: var(--surface); }
.gf-tr-trip-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 8px; color: var(--ink-2); }
.gf-tr-trip-t { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); }
.gf-tr-trip-t span { font-weight: 600; color: var(--ink-2); }
.gf-tr-trip-l { margin-left: auto; font-size: 13px; color: var(--ink-2); }
/* The empty hero's buttons (R2): the outlined one in the hero's own ink. */
.gf-hero .gf-btnrow .mud-button-root { margin-top: 0; }
.gf .gf-hero .gf-on-hero { color: var(--hero-ink); border-color: var(--hero-line); }
@media (min-width: 900px) {
    /* The side column first, so chapter 1 (Before you leave) reads before 2 (The trip), left to right. */
    .gf-trips { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-auto-flow: row dense; align-items: start; }
    .gf-tr-main { grid-column: 2; }
    .gf-tr-side { grid-column: 1; }
    /* With no Before you leave there is no side column to read first: one column in chapter order, so Past (numbered last)
       never sits left of 1. */
    .gf-trips:not(:has(> .gf-tr-before)) > * { grid-column: 1 / -1; }
    .gf-trips-hero .gf-flt-fh, .gf-trips-hero .gf-hfacts { max-width: 720px; }
}
/* ---------- The Schedule's List and side panel (Schedule and Trip refresh §4, §5, §7) ---------- */
/* A phone opens a row's page; the web picks it for the panel: one of each pair shows. */
.gf .gf-tc-wide { display: none; }
@media (min-width: 900px) {
    .gf .gf-tc-narrow { display: none; }
    .gf .gf-tc-wide { display: grid; }
}
/* The side panel (web). */
.gf-pnl { background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; position: sticky; top: 12px; }
.gf-pnl-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.gf-pnl-t { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-weight: 800; font-size: 16px; color: var(--ink); white-space: nowrap; }
.gf-pnl-sp { flex: 1; }
.gf-pnl-x { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-2); }
.gf-pnl-b { padding: 6px 14px 12px; }
.gf-pnl-kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); text-decoration: none; }
.gf-pnl-kv:first-child { border-top: 0; }
.gf-pnl-kv b { font-weight: 600; color: var(--ink); text-align: right; }
.gf-pnl-link:hover b { color: var(--primary); }
.gf-pnl-f { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); background: var(--page); }
.gf-pnl .gf-map { border-radius: 0; }

/* ---------- A followed person's month (the Schedule's own is its Calendar, below) ---------- */
@media (min-width: 900px) {
    .gf-month-day { min-height: 120px; }
}

/* ---------- Runway visual range (RVR spec 2026-10-31 §8, design A · Board) ---------- */
/* The board, and its timeline beside it or on its own screen (below). Bands are colour only:
   amber below 2,400 ft, red below 1,200; a quiet sensor is grey and unbanded; NR is dashed. */
.gf-rvr-top { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
/* A safety desk's wide screen: the whole width, the board in as many columns as fit (one beside an open timeline). */
.gf-page.gf-rvr-page { max-width: none; }
.gf-rvr-chips { margin: 0; }
.gf-rvr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); column-gap: 32px; }
@media (min-width: 1400px) {
    .gf-rvr-wrap.gf-rvr-open { grid-template-columns: minmax(0, 1fr) minmax(560px, 720px); }
}
.gf-rvr-search { max-width: 420px; }
/* Side by side only from 1,400 px wide, where the board and the timeline both fit beside the rail; below that the timeline is
   its own screen with Back. Beside the board it scrolls inside the window, so its foot is reachable without scrolling the board. */
.gf-rvr-wrap { display: flex; flex-direction: column; gap: 16px; }
.gf-rvr-board, .gf-rvr-panel { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1399.98px) {
    .gf-rvr-open .gf-rvr-board { display: none; }
    /* the timeline first: the board's intro and search wait behind its "‹ RVR" */
    .gf-rvr-page:has(.gf-rvr-open) > .gf-rvr-top { display: none; }
    .gf .gf-rvr-close-wide { display: none; }
}
@media (min-width: 1400px) {
    .gf-rvr-wrap.gf-rvr-open { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .gf-rvr-panel { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
    .gf .gf-rvr-back-narrow { display: none; }
}
.gf-rvr-board-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.gf-rvr-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.gf-rvr-legend b { color: var(--ink-2); }
.gf-rvr-swatch { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 3px; vertical-align: -1px; }
.gf-rvr-ap { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.gf-rvr-ap.gf-rvr-sel { margin: 0 -10px; padding: 12px 10px; border-radius: 12px; background: var(--primary-tint); border-top-color: transparent; }
.gf-rvr-ap-quiet .gf-rvr-icao { color: var(--ink-3); }
.gf-rvr-ap-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gf-rvr-icao { font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.gf-rvr-iata { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.gf .gf-rvr-open-link { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--primary-text); text-decoration: none; }
.gf-rvr-rows { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gf-rvr-row { display: grid; grid-template-columns: 48px repeat(3, minmax(64px, 1fr)); gap: 4px; align-items: center; }
.gf-rvr-head span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.gf-rvr-head span:first-child, .gf-rvr-rwy { text-align: left; }
.gf-rvr-rwy { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gf-rvr-cell { display: flex; align-items: center; justify-content: center; gap: 3px; min-height: 32px; padding: 0 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--sunken); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gf-rvr-arrow { font-weight: 700; }
.gf-rvr-arrow:not(:empty) { margin-left: 3px; }
.gf-rvr-cell.gf-rvr-amber, .gf-rvr-swatch.gf-rvr-amber { background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber); }
.gf-rvr-cell.gf-rvr-red, .gf-rvr-swatch.gf-rvr-red { background: var(--red-bg); border: 1px solid var(--red-line); color: var(--red); }
.gf-rvr-cell.gf-rvr-quiet { color: var(--ink-3); font-weight: 500; }
.gf-rvr-cell.gf-rvr-nr { border-style: dashed; color: var(--ink-3); }
.gf-rvr-cell.gf-rvr-none { background: transparent; border-color: transparent; color: var(--ink-3); font-weight: 400; }
.gf-rvr-none-found { padding: 12px 0; border-top: 1px solid var(--line); }
.gf-rvr-panel-head { display: flex; align-items: center; gap: 8px; }
.gf-rvr-panel-head .gf-ct { flex: 1; }
/* F38: pins and the moment's link. */
.gf-rvr-ap > .gf-rvr-pin { grid-column: 1 / -1; justify-self: start; }
.gf-rvr-pin { display: inline-flex; align-items: center; gap: 4px; }
.gf-rvr-pins-note { margin: 4px 0 0; }
.gf-rvr-others { margin: 16px 0 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.gf-rvr-link { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; align-items: flex-start; }
.gf-rvr-link p { margin: 0; }
.gf-rvr-linktext { font: 12px/1.4 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; user-select: all; background: var(--primary-tint); padding: 6px 8px; border-radius: 8px; }
.gf-rvr-notice { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 599.98px) {
    .gf-rvr-ap { grid-template-columns: 1fr; }
    .gf-rvr-row { grid-template-columns: 40px repeat(3, minmax(0, 1fr)); }
}
/* The timeline: range fields, the moment, the chart (runway colours validated for colourblind separation in both themes:
   blue, aqua, violet, magenta, green; grey past five), the slider, the readings, every field (a table from 600 px, blocks
   below) and the CSV. */
.gf-rvr-range { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: start; }
.gf .gf-rvr-show { margin-top: 6px; min-height: 44px; }
.gf-hero.gf-rvr-moment { border-radius: 16px; gap: 2px; padding: 12px 16px; }
.gf-rvr-moment .gf-eb { color: var(--hero-muted); }
.gf-rvr-moment-t { font-size: 20px; font-weight: 700; color: var(--hero-ink); font-variant-numeric: tabular-nums; }
.gf-rvr-moment-s { font-size: 14px; color: var(--hero-ink-2); }
.gf-rvr-chart svg { display: block; width: 100%; height: auto; }
.gf-rvr-axis { stroke: var(--line-2); stroke-width: 1; }
.gf-rvr-day { stroke: var(--line); stroke-width: 1; }
.gf-rvr-band-amber, .gf-rvr-band-red { stroke-width: 1; stroke-dasharray: 3 3; }
.gf-rvr-band-amber { stroke: var(--amber-line); }
.gf-rvr-band-red { stroke: var(--red-line); }
.gf-rvr-tick { font-size: 14px; fill: var(--ink-3); }
.gf-rvr-at { stroke: var(--red-line); stroke-width: 2; }
.gf-rvr-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.gf-rvr-mid { stroke-dasharray: 6 4; }
.gf-rvr-ro { stroke-dasharray: 1 4; }
:is(.gf.light, :root:not(.gf-dark) .gf.auto) .gf-rvr-c0 { stroke: #2a78d6; } :is(.gf.light, :root:not(.gf-dark) .gf.auto) .gf-rvr-c1 { stroke: #1baf7a; } :is(.gf.light, :root:not(.gf-dark) .gf.auto) .gf-rvr-c2 { stroke: #6250d6; }
:is(.gf.light, :root:not(.gf-dark) .gf.auto) .gf-rvr-c3 { stroke: #e87ba4; } :is(.gf.light, :root:not(.gf-dark) .gf.auto) .gf-rvr-c4 { stroke: #008300; }
:is(.gf.dark, :root.gf-dark .gf.auto) .gf-rvr-c0 { stroke: #3987e5; } :is(.gf.dark, :root.gf-dark .gf.auto) .gf-rvr-c1 { stroke: #199e70; } :is(.gf.dark, :root.gf-dark .gf.auto) .gf-rvr-c2 { stroke: #9085e9; }
:is(.gf.dark, :root.gf-dark .gf.auto) .gf-rvr-c3 { stroke: #d55181; } :is(.gf.dark, :root.gf-dark .gf.auto) .gf-rvr-c4 { stroke: #008300; }
.gf-rvr-cx { stroke: var(--ink-3); }
.gf-rvr-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 12px; color: var(--ink-2); }
.gf-rvr-key span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.gf-rvr-ends { display: flex; justify-content: space-between; gap: 8px; }
.gf-rvr-steps { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; }
.gf .gf-rvr-steps .mud-button-root { min-height: 44px; }
.gf-rvr-now { display: flex; flex-direction: column; gap: 4px; }
.gf-rvr-cell.gf-rvr-gone { font-size: 12px; white-space: normal; text-align: center; line-height: 1.1; }
.gf-rvr-fields { display: flex; flex-direction: column; gap: 6px; }
.gf-rvr-fields-table { overflow-x: auto; }
.gf-rvr-fields table { border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.gf-rvr-fields th, .gf-rvr-fields td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; color: var(--ink); font-variant-numeric: tabular-nums; }
.gf-rvr-fields thead th { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--ink-3); background: var(--sunken); }
.gf-rvr-fields-blocks { display: none; flex-direction: column; gap: 8px; }
.gf-rvr-fields-block { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink-2); }
.gf-rvr-fields-block b { color: var(--ink); }
.gf-rvr-csv { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
@media (max-width: 599.98px) {
    .gf-rvr-range { grid-template-columns: 1fr; } /* From over To, so neither cuts its minutes */
    .gf-rvr-fields-table { display: none; }
    .gf-rvr-fields-blocks { display: flex; }
}

/* Me and People on a wide screen: their cards in two columns, read down each, the hero across both (persona check, wide-column).
   The !important beats the page's own 720 px, which a phone and a narrower window keep. */
@media (min-width: 1280px) {
    .gf-page.gf-cols2 { display: block; columns: 2 420px; column-gap: 16px; max-width: 1100px !important; }
    .gf-page.gf-cols2 > * { break-inside: avoid; margin: 0 0 16px; }
    .gf-page.gf-cols2 > .gf-hero { column-span: all; }
}

/* Union days (Today, Flight and Trip tabs §4.3): "Union Day", the roster's text a tap away. Colours are the
   Other item's tokens (--t-other, --po-*), which have their dark values in the .gf.dark palette above. */
.gf-union { display: flex; flex-direction: column; }
.gf .gf-union-btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 0; border: 0; background: transparent; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.gf-union-btn .ic { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--po-bg); color: var(--t-other); }
.gf-union-btn .m { flex: 1; min-width: 0; display: block; }
.gf-union-btn .t { display: block; font-weight: 700; font-size: 15px; }
.gf-union-btn .s { display: block; font-size: 13px; color: var(--ink-2); }
.gf-union-btn .chev { color: var(--ink-3); }
.gf-union-more { margin: 0 0 10px 48px; padding: 10px 12px; border-radius: 12px; background: var(--po-bg); border: 1px solid var(--po-line); font-size: 14px; color: var(--ink); display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.gf-union-more .code { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 800; letter-spacing: .04em; color: var(--po-ink); }
.gf-union-more .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--po-ink); }
.gf .gf-union-more a { font-weight: 600; color: var(--link); min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.gf-union-btn:focus-visible, .gf-union-more a:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.gf-card.tight { padding: 4px 16px; }

/* Page tabs (spec 2026-11-04 §4.1): Today's and the flight page's (the trip page draws them as tiles, below). The strip scrolls
   sideways when it does not fit. */
.gf-ptabs { display: flex; overflow-x: auto; scrollbar-width: none; background: var(--surface); border-bottom: 1px solid var(--line); padding: 0 4px; }
.gf-ptabs::-webkit-scrollbar { display: none; }
.gf-ptab { flex: 1 0 auto; min-width: 0; min-height: 48px; padding: 0 12px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 600; position: relative; cursor: pointer; white-space: nowrap; }
.gf-ptab:hover { color: var(--ink); }
.gf-ptab.on { color: var(--primary-text); }
.gf-ptab.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary-text); }
.gf-ptab .n { font-size: 11.5px; font-weight: 700; line-height: 18px; padding: 0 7px; border-radius: 999px; background: var(--sunken); border: 1px solid var(--line); color: var(--ink-2); }
.gf-ptab.on .n { background: var(--primary-tint); border-color: var(--ring); color: var(--primary-text); }
.gf-ptab:focus-visible, .gf-dtile:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
/* From 900 px (TodayF-web): the tabs sized to their words, left-aligned on the page's 32 px margin, on the page's own background. */
@media (min-width: 900px) {
    .gf-ptabs { max-width: 1116px; margin: 12px 32px 0; padding: 0; gap: 4px; background: transparent; }
    .gf-ptab { flex: 0 0 auto; padding: 0 18px; }
}
/* Day tiles (PageTabs_Component's Tiles): the trip page's, a tile a day then Map and Limits (TripF). The days scroll sideways when
   they do not fit (a long trip) while Map and Limits stand after them, always in view. On a phone the tiles share the row, each at
   least the board's 62 px and none narrower than its own words ("All days" on one line, TripF's trip-final.css); the days take
   their share of the spare width tile for tile with Map and Limits (--gf-days, their count, set on them). Today's tile is ringed in
   the app's blue, a past day's date greyed, the open tile navy. */
.gf-dtiles { display: flex; align-items: flex-start; gap: 8px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.gf-dtiles-days { display: flex; gap: 8px; flex: var(--gf-days, 1) 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.gf-dtiles-days::-webkit-scrollbar { display: none; }
/* While more days lie beyond, they fade out at the trailing edge, at every width, so a cut-off strip always reads as more: pageTabs.js
   sets data-more (its FADE is this 32 px, which it keeps the open day clear of) and takes it off at the end. */
.gf-dtiles-days[data-more] { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.gf-dtile { flex: 1 0 62px; min-width: auto; min-height: 71px; padding: 6px 4px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; color: var(--ink-2); font: inherit; white-space: nowrap; }
.gf-dtile .dw { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gf-dtile .dd { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.gf-dtile .di { font-size: 22px; margin: 1px 0; color: var(--ink); }
.gf-dtile .ds { font-size: 11px; font-weight: 600; }
.gf-dtile.done .dd { color: var(--ink-3); }
.gf-dtile.today:not(.on) { border-color: var(--primary); }
.gf-dtile.on { background: var(--hero); border-color: var(--hero); color: var(--hero-ink-2); }
.gf-dtile.on .dd, .gf-dtile.on .di { color: var(--hero-ink); }
/* From 900 px (TripF-web): 112 px tiles on the page's own background, left-aligned on its 32 px margin, as the page tabs are; days
   that overflow show a thin scrollbar under them, so a mouse can scroll them. */
@media (min-width: 900px) {
    .gf-dtiles { --gf-dtile: 112px; max-width: 1116px; margin: 12px 32px 0; padding: 0 0 2px; background: transparent; border-bottom: 0; }
    .gf-dtile { flex: 0 0 var(--gf-dtile); }
    /* The days' own width, from their count (--gf-days, set on them): the iOS app's WebKit (seen on the iPad simulator, 20 Nov) sized
       the strip from the tiles' words, not their width, so it held about one and a half tiles. It still shrinks, and scrolls, for a trip longer than the row. */
    .gf-dtiles-days { flex: 0 1 calc(var(--gf-days, 1) * (var(--gf-dtile) + 8px) - 8px); padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
    .gf-dtiles-days::-webkit-scrollbar { display: block; height: 6px; }
    .gf-dtiles-days::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
}
/* Below about 1,200 px, beside the rail, a three-day trip's six 112 px tiles came 2 px short of the row (774 px on an iPad upright,
   20 Nov), so Sunday sat under the fade: 104 px there gives them room. */
@media (min-width: 900px) and (max-width: 1199.98px) {
    .gf-dtiles { --gf-dtile: 104px; }
}

/* The night band (spec 4.2), Today's and the trip page's: a night at a hotel in the hero's navy, so it never looks like
   a flight. */
.gf-night { background: var(--hero); color: var(--hero-ink); border-radius: 16px; padding: 14px 16px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.gf-night .moon { width: 40px; height: 40px; border-radius: 50%; background: var(--hero-track); display: grid; place-items: center; color: var(--hero-amber); }
.gf-night .eb { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-muted); }
.gf-night .h { font-size: 16px; font-weight: 700; color: var(--hero-ink); line-height: 1.25; }
.gf-night .s { font-size: 13px; color: var(--hero-ink-2); }
.gf-night .gf-hid { color: var(--hero-muted); }
.gf-night .rest { text-align: right; }
.gf-night .rest b { display: block; font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 22px; font-weight: 800; color: var(--hero-ink); line-height: 1.1; }
.gf-night .rest > span { font-size: 11px; color: var(--hero-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.gf-night .foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 8px; margin-top: 6px; border-top: 1px solid var(--hero-line); font-size: 13px; color: var(--hero-ink-2); }
/* Layover chat is the band's link look; the hotel's name stays the band's 16 px bold white, a link all the same (board check). */
.gf .gf-night a.gf-nb-chat { color: var(--hero-blue); font-weight: 600; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.gf .gf-night .h a { position: relative; color: inherit; display: inline-block; padding: 2px 0; text-decoration: none; }
/* Its tap target is 44 px tall with the band unchanged: the link's 24 px line and 10 px above and below it. */
.gf .gf-night .h a::after { content: ""; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }
.gf .gf-night .h a:hover { text-decoration: underline; }
/* "Add your hotel" on a night with none (R7): a 44 px target in the band's blue. */
.gf .gf-night .gf-nb-add { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--hero-blue); text-decoration: none; }
.gf .gf-night .gf-nb-add .mud-icon-root { font-size: 18px; }
.gf .gf-night .gf-nb-add:hover { text-decoration: underline; }
.gf .gf-night a:focus-visible { outline: 2px solid var(--hero-blue); outline-offset: 2px; border-radius: 8px; }
.gf-night .gf-nb-chat { margin-left: auto; }
.gf-night .gf-nb-check { border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; line-height: 18px; border: 1.5px solid transparent; }
.gf-night .gf-nb-check.ok { background: rgba(110,231,183,.12); border-color: #34D399; color: var(--hero-green); }
.gf-night .gf-nb-check.warn { background: rgba(245,158,11,.14); border-color: #F59E0B; color: var(--hero-amber); }
/* The layover's essentials (F6): tiles under the hotel, then the clocks and whose clock the times are on. */
.gf-night .gf-nb-ess { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 8px; }
.gf-night .gf-nb-tile { display: flex; gap: 8px; align-items: flex-start; min-height: 44px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--hero-line); color: var(--hero-ink); text-decoration: none; }
.gf-night .gf-nb-tile .mud-icon-root { font-size: 18px; color: var(--hero-amber); flex: none; margin-top: 2px; }
.gf-night .gf-nb-tile > span { display: flex; flex-direction: column; min-width: 0; }
.gf-night .gf-nb-tile b { font-size: 15px; font-weight: 700; color: var(--hero-ink); }
.gf-night .gf-nb-tile small { font-size: 12px; color: var(--hero-muted); }
.gf-night .gf-nb-tile.call { grid-column: 1 / -1; }
.gf .gf-night a.gf-nb-tile.call .mud-icon-root, .gf .gf-night a.gf-nb-tile.call b { color: var(--hero-blue); }
.gf-night .gf-nb-clocks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 8px; font-size: 13px; color: var(--hero-ink-2); }
.gf-night .gf-nb-clocks .mud-icon-root { font-size: 16px; color: var(--hero-muted); }
.gf-night .gf-nb-clocks b { color: var(--hero-ink); }
.gf-night .gf-nb-cap { grid-column: 1 / -1; font-size: 12px; color: var(--hero-muted); margin-top: 4px; }
.gf-night.past { background: var(--hero-track); }
.gf-night.past .moon { background: var(--hero); }

/* The leg card (spec 5): one leg of a crew day, on Today's Legs tab and each day of the trip page. Colours are the
   theme's variables, which carry their dark values. */
.gf-legs { display: flex; flex-direction: column; gap: 8px; }
/* The time column is 58 px at the least and grows with its text at a large font size, never running under the flight (9 Nov). */
a.gf-legc { display: grid; grid-template-columns: minmax(58px, auto) minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--ink); text-decoration: none; min-height: 44px; }
a.gf-legc:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.gf-legc .m { min-width: 0; }
.gf-legc .tm { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 800; font-size: 18px; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.gf-legc .tm .late { color: var(--amber); }
.gf-legc .tm .z { margin-left: 3px; font-family: 'Rubik', system-ui, sans-serif; font-stretch: 100%; font-variation-settings: normal; font-weight: 600; font-size: 10.5px; color: var(--ink-3); }
.gf-legc .tm small { display: block; font-family: 'Rubik', system-ui, sans-serif; font-stretch: 100%; font-variation-settings: normal; font-weight: 500; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.gf-legc .tm s { display: block; font-family: 'Rubik', system-ui, sans-serif; font-stretch: 100%; font-variation-settings: normal; font-weight: 500; font-size: 11px; color: var(--ink-3); }
.gf-legc .rt { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; color: var(--ink); }
.gf-legc .rt .mud-icon-root { color: var(--primary); width: 16px; height: 16px; transform: rotate(90deg); }
.gf-legc .fn { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); }
/* The card writes its own "·" between the line's words, so none ever stands before a pill. */
.gf-legc .sub { grid-column: 2 / span 2; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 13px; color: var(--ink-2); }
.gf-legc .tb-ok { color: var(--accent-text); font-weight: 600; }
.gf-legc .tb-warn { color: var(--amber); font-weight: 600; }
.gf-legc-ooo { grid-column: 2 / span 2; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gf-legc-ooo .on { color: var(--ink-2); font-weight: 600; }
.gf-legc.done { background: var(--sunken); }
.gf-legc.done .tm, .gf-legc.done .rt, .gf-legc.done .fn, .gf-legc.done .sub { color: var(--ink-3); }
.gf-legc.done .rt .mud-icon-root { color: var(--ink-3); }
.gf-legc.next { border: 2px solid var(--primary); }
/* The card's own pills (TodayF): Next and In flight solid primary, Done grey; elsewhere those pill classes keep their look. Tokens,
   so each carries its dark value. */
.gf-legc .gf-p-next { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.gf-legc .gf-p-done { background: var(--sunken); color: var(--ink-2); border-color: var(--line); }
.gf-legc.dh { border: 1.5px dashed var(--line-2); background: transparent; }
.gf-legc.dh .rt .mud-icon-root { color: var(--ink-3); }
/* A deadhead's card is transparent, so its quiet words sit on the page: the page's own --ink-3 (4.5:1 there, as a caption's),
   on Today's card and the trip page's. */
.gf-legc.dh .tm small, .gf-legc.dh .tm s, .gf-legc.dh .gf-legc-ooo,
.gf-legc.dh.done :is(.tm, .rt, .fn, .sub), .gf-legc.dh.cancelled :is(.tm, .rt) { color: var(--ink-3-page); }
.gf-legc.cancelled .tm, .gf-legc.cancelled .rt { color: var(--ink-3); text-decoration: line-through; }
.gf-p-dh { background: transparent; color: var(--ink-2); border: 1.5px dashed var(--line-2); }
/* On the page, so the page's caption ink: ink-3 there is 4.34:1 in light (board check); the same in dark. */
.gf-turn { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3-page); padding: 0 14px; }
.gf-turn .mud-icon-root { width: 16px; height: 16px; }
.gf-turn.warn { color: var(--amber); }
.gf-legs .gf-duty { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 2px 4px; }
.gf-legs .gf-duty .mud-icon-root { width: 16px; height: 16px; color: var(--ink-3); }
.gf-legs .gf-duty b { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 800; color: var(--ink); }

/* Today (spec 2026-11-04 §5): its own app bar, the hero's union day, the tab panel and what its tabs hold. Colours are the theme's
   variables, which carry their dark values; the hero is navy in both themes. */
/* The title over the date it shows, the day arrows beside them, then + and the plan chip. */
.gf-appbar.gf-appbar-day { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 0; }
.gf-appbar-day .gf-title { grid-area: 1 / 1; }
.gf-appbar-day .gf-appbar-sub { grid-area: 2 / 1; white-space: nowrap; }
.gf-appbar-day .gf-appbar-end { grid-area: 1 / 2 / 3 / 3; margin-left: 0; }
.gf-appbar-days { display: flex; align-items: center; margin-right: auto; }
/* A union day in the hero (the Union Day board): its label beside the board's tile, Details opening the roster's own text. The
   tile is the union day's pink as the board draws it on the navy, the same in both themes. */
.gf-uh { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.gf-uh-ic { width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(249,168,212,.12); border: 1px solid rgba(249,168,212,.38); color: #F9A8D4; }
.gf-uh-m { min-width: 0; }
.gf .gf-hbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 12px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--hero-line); background: transparent; color: var(--hero-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.gf .gf-hbtn:focus-visible { outline: 2px solid var(--hero-blue); outline-offset: 2px; }
.gf-uh-box { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--hero-line); border-radius: 12px; background: var(--hero-track); font-size: 14px; color: var(--hero-ink-2); overflow-wrap: anywhere; }
.gf-uh-box .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-muted); }
.gf-uh-box .code { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 17px; font-weight: 800; letter-spacing: .04em; line-height: 1.25; color: var(--hero-ink); }
.gf .gf-uh-box a { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--hero-blue); font-weight: 600; }
.gf .gf-uh-box a:focus-visible { outline: 2px solid var(--hero-blue); outline-offset: 2px; border-radius: 8px; }
/* The banners between the hero and the tabs, and the open tab's panel with V1.1-D18's line under it. */
.gf-page.gf-tbanners { padding-top: 12px; padding-bottom: 0; }
.gf-page.gf-tpage { padding-top: 14px; }
.gf-cap.gf-d18 { color: var(--ink-2); }
.gf-tday-h { margin: 0; padding: 4px 2px 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
/* The summary line ("4 legs · block 5:25 · FDP 8:55 of 12:00 estimated") and, from 900 px, Day at a glance. */
.gf-tsum { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 0; }
.gf-tsum .gf-plus-tag, .gf-glance .gf-plus-tag { margin-left: 0; }
.gf-glance { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 14px; }
.gf-glance dt { color: var(--ink-3); }
.gf-glance dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.gf-glance .late { color: var(--amber); }
/* A card of rows with a heading inside it, and the quiet line a tab shows in place of what it has none of. */
.gf-card.tight > .gf-ch { margin: 12px 0 4px; }
.gf-card.tight > .gf-ch + .mud-progress-linear { margin-top: 8px; }
.gf-quiet { display: flex; align-items: center; gap: 12px; min-height: 46px; margin: 0; padding: 6px 16px; border: 1.5px dashed var(--line-2); border-radius: 12px; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.gf-quiet .mud-icon-root { flex: none; color: var(--ink-3); }
.gf-tcrew-none { padding: 4px 0 12px; }
.gf-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; flex: none; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.gf-rr .gf-fcat { flex: none; }
/* The hero's arrival side ("Gate B12 · N611GF", TodayF): on a phone it may wrap between the gate and the tail, never inside either;
   its quiet Plus lock sits at the column's end, as the times do. */
.gf-flt-arr { white-space: normal; }
.gf-flt-arr > span { white-space: nowrap; }
.gf-flt-fh .r .gf-flt-arr.gf-hk-row { justify-content: flex-end; flex-wrap: wrap; }
/* Day at a glance's "See plans" on Free (from 900 px, where the summary line hides). */
.gf-glance-plans { margin: 10px 0 0; }

/* ---------- the Schedule page's Calendar and List tabs (schedule tabs spec 2026-11-04) ---------- */
/* A compact leg row (§5.4): its times, the route and one fact, its pill or a flown check. The next leg is outlined in blue; a flown
   one is dimmed by its colours, never by opacity, so its words keep their contrast. */
.gf a.gf-cleg { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.gf a.gf-cleg:hover { border-color: var(--line-2); }
.gf a.gf-cleg:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.gf a.gf-cleg.next { border: 1.5px solid var(--primary-text); padding: 7.5px 11.5px; }
.gf a.gf-cleg.flown { background: var(--sunken); color: var(--ink-3); }
.gf-cleg-t { display: flex; flex-direction: column; flex: none; min-width: 58px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gf-cleg-t b { font-size: 15px; color: var(--ink); }
.gf a.gf-cleg.flown .gf-cleg-t, .gf a.gf-cleg.flown .gf-cleg-t b, .gf a.gf-cleg.flown .gf-cleg-f { color: var(--ink-3); }
.gf-cleg-t .gf-was { font-size: 11px; }
/* Your time sits tight under the departure it belongs to, with a gap before the arrival, so it never reads as the arrival. */
.gf-cleg-yt { margin-bottom: 4px; font-size: 11px; line-height: 1.15; color: var(--ink-3); }
/* Each time names its clock, the airport's code (R23). */
.gf-cleg-t > b, .gf-cleg-t > span:not(.gf-cleg-yt) { white-space: nowrap; }
/* The now line inside a leg in the air, between its departure and arrival (Ivan, 2026-11-07). */
.gf-cleg-t > span.gf-cleg-now { display: block; margin: 2px 0; padding-left: 6px; border-left: 2px solid var(--now); color: var(--now-ink); font-size: 11px; font-weight: 700; white-space: normal; }
.gf-cleg-t small { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }
.gf-cleg-m { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.gf-cleg-r { font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.gf-cleg-r .gf-cleg-plane { width: 14px; height: 14px; margin: 0 4px; vertical-align: -2px; transform: rotate(90deg); color: var(--ink-3); }
.gf-cleg-f { overflow: hidden; font-size: 13px; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.gf-cleg-check { display: inline-flex; flex: none; color: var(--accent-text); }
/* The Calendar's day panel (§5.3): its header (the day in the wide capitals, Today in red, a meta line, the close), a body of rows and a
   foot of links. */
.gf-dpanel { display: flex; flex-direction: column; gap: 10px; }
.gf-dpanel-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.gf-dpanel-t { margin: 0; font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.gf-dpanel-today { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--now-ink); }
.gf-dpanel-meta { margin-left: auto; font-size: 13px; color: var(--ink-2); }
.gf a.gf-dpanel-x { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -10px -10px -10px 0; border-radius: 50%; color: var(--ink-2); }
.gf a.gf-dpanel-x:focus-visible { outline: 2px solid var(--ring); }
.gf-dpanel-b, .gf-sday { display: flex; flex-direction: column; gap: 8px; }
.gf-dpanel-lead, .gf-dpanel-line { margin: 0; font-size: 14px; color: var(--ink); }
.gf-dpanel-board { margin: -2px 0 0 12px; font-size: 13px; color: var(--ink-2); }
.gf-dpanel-trow { display: flex; align-items: center; gap: 12px; }
.gf-dpanel-trow-m { display: flex; flex-direction: column; min-width: 0; }
.gf-dpanel-trow-m b { font-size: 14px; }
.gf-dpanel-trow-m small { font-size: 13px; color: var(--ink-2); }
.gf-dpanel-trow .gf-ltile { display: grid; place-items: center; flex: none; width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--sunken); line-height: 1.1; }
.gf-dpanel-trow .gf-ltile small { font-size: 11px; color: var(--ink-3); }
.gf-dpanel-trow .gf-ltile b { font-size: 16px; color: var(--ink); }
.gf-dpanel-trow.sel .gf-ltile { border: 2px solid var(--primary-text); }
.gf a.gf-dpanel-row { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--ink); text-decoration: none; }
.gf a.gf-dpanel-row:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
/* A day item's notes (R26): kept as typed, line breaks too. */
.gf-dpanel-note { display: flex; gap: 8px; align-items: flex-start; padding: 8px 2px; border-top: 1px solid var(--line); color: var(--ink-2); }
.gf-dpanel-note > div { min-width: 0; }
.gf-dpanel-note-k { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.gf-dpanel-note p { margin: 2px 0 0; font-size: 14px; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.gf-dpanel-row-t { flex: none; min-width: 92px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gf-dpanel-f { display: flex; flex-wrap: wrap; gap: 0 16px; padding-top: 4px; border-top: 1px solid var(--line); }
/* The foot's own line is the one divider: its links draw none of their own. */
.gf .gf-dpanel-f .gf-lrow.gf-more { margin-top: 0; border-top: 0; }
/* The night band, slim, in the day panel. */
.gf-night.slim { grid-template-columns: 32px minmax(0, 1fr) auto; padding: 10px 12px; border-radius: 12px; }
.gf-night.slim .moon { width: 32px; height: 32px; }
.gf-night.slim .h { font-size: 14px; }
.gf-night.slim .rest b { font-size: 18px; }
/* The Schedule hero (§4.2): today and what's next, then the month's figures; from 1,200 px side by side. Another month's is the figures alone. */
.gf-shero-now { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gf-shero-next { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.gf-shero .gf-h-cd { font-size: 36px; }
.gf .gf-shero a.gf-shero-flt { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-align: right; color: var(--hero-ink); text-decoration: none; }
.gf .gf-shero a.gf-shero-flt:focus-visible { outline: 2px solid var(--hero-blue); outline-offset: 2px; border-radius: 8px; }
.gf-shero-flt b { font-size: 16px; letter-spacing: .02em; }
.gf-shero-flt span, .gf-shero-at { font-size: 13px; color: var(--hero-ink-2); }
.gf-shero-month { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gf-shero-month > .gf-h-eb { margin-top: 0; }
.gf-shero-facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.gf-shero-facts .gf-hfact-v small { font-size: 12px; font-weight: 600; color: var(--hero-ink-2); }
.gf-shero-lock { margin: 0; font-size: 13px; line-height: 1.4; color: var(--hero-ink-2); }
.gf .gf-shero-lock a { color: var(--hero-blue); }
@media (min-width: 900px) {
    /* The hero's web margin and radius, as Today's card (§4.2). */
    .gf-hero.gf-shero { max-width: 1116px; margin: 8px 32px 0; border-radius: 16px; padding: 20px 28px 22px; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
}
/* Today and the month's figures side by side only where both fit, from about 1,200 px: below that, beside the rail, the four figures
   were slivers ("BLOC K", "27…" on an iPad upright, 20 Nov). */
@media (min-width: 1200px) {
    .gf-hero.gf-shero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
    .gf-hero.gf-shero.solo { grid-template-columns: minmax(0, 1fr); }
    .gf-shero-month { padding-left: 24px; border-left: 1px solid var(--hero-line); }
    .gf-shero.solo .gf-shero-month { padding-left: 0; border-left: 0; }
}
/* The Calendar (§5.1): weeks in a card, each day a button holding at most one bar, the now mark on today, the key under the grid. A bar
   runs on into the next day squared, and is cut at the week's edge and the month's end; its label sits once per bar in each week row and
   runs across the days the bar covers there (--n, set on the labelled day), cut with an ellipsis where it ends. A past day's bar is its
   light colour with dark words. --g is the gap between days, --bm a bar's margin in its day, --bp its padding. */
.gf-card.gf-cal { padding: 12px 10px; }
/* A phone's day is about 45 px: the bar's margin and padding are a pixel or two under the board's, so "Union" and a
   trip's code fit a day's bar. */
.gf-cal-grid { --g: 3px; --bm: 3px; --bp: 3px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--g); }
.gf-cal-wd { padding: 0 0 6px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.gf .gf-cal-day { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 5px; min-width: 0; min-height: 62px; padding: 5px 0 6px; border: 0; border-radius: 10px; background: var(--sunken); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.gf .gf-cal-day.void { background: transparent; cursor: default; }
.gf .gf-cal-day:not(.void):hover { background: var(--line); }
.gf .gf-cal-day.sel { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ring), 0 2px 8px rgba(27, 95, 217, .14); }
.gf .gf-cal-day:focus-visible { z-index: 3; outline: 2px solid var(--ring); outline-offset: 1px; }
.gf-cal-d { align-self: flex-start; margin-left: 4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 22px; text-align: center; color: var(--ink); }
.gf-cal-day.past .gf-cal-d { color: var(--ink-3); font-weight: 500; }
.gf-cal-day.today .gf-cal-d { background: var(--primary); color: #FFFFFF; font-weight: 700; }
.gf-cal-bar { --be: calc(2 * var(--bp) + 2px); position: relative; z-index: 1; display: block; height: 18px; margin: 0 var(--bm); padding: 0 var(--bp); border: 1px solid transparent; border-radius: 5px; background: var(--t-duty); color: #FFFFFF; font-size: 10.5px; font-weight: 700; line-height: 16px; white-space: nowrap; }
.gf-cal-bar.reserve { background: var(--t-reserve); }
.gf-cal-bar.training { background: var(--t-training); }
.gf-cal-bar.vacation { background: var(--t-vacation); }
.gf-cal-bar.union { background: var(--t-other); }
.gf-cal-bar.quiet { background: transparent; border: 1px dashed var(--field-line); color: var(--ink); }
.gf-cal-bar.past { background: var(--pd-bg); border-color: var(--pd-line); color: var(--pd-ink); }
.gf-cal-bar.reserve.past { background: var(--pr-bg); border-color: var(--pr-line); color: var(--pr-ink); }
.gf-cal-bar.training.past { background: var(--pt-bg); border-color: var(--pt-line); color: var(--pt-ink); }
.gf-cal-bar.vacation.past { background: var(--pv-bg); border-color: var(--pv-line); color: var(--pv-ink); }
.gf-cal-bar.union.past { background: var(--po-bg); border-color: var(--po-line); color: var(--po-ink); }
.gf-cal-bar.quiet.past { background: transparent; border-color: var(--line-2); color: var(--ink-2); }
/* A bar that runs on reaches a pixel into the next day's, so no seam shows between them. */
.gf-cal-bar.cs { margin-right: calc(-1 * var(--g) - 1px); border-top-right-radius: 0; border-bottom-right-radius: 0; }
.gf-cal-bar.cm { margin-left: 0; margin-right: calc(-1 * var(--g) - 1px); border-radius: 0; }
.gf-cal-bar.ce { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.gf-cal-bar.cut { margin-right: 0; }
.gf-cal-bar.lab { z-index: 2; }
/* The label: as wide as its words, up to the run's room (one bar's box is 100%: a run of n days adds each day's margins and padding back). */
.gf-cal-bar > span { display: block; width: max-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* A one-day bar shows its whole label (R24): it may take two lines ("Commute ·" over "IAD → CLT"; a phone's "Com-" over "mute", at a soft hyphen; a city with no soft hyphen breaks anywhere, "Greenv" over "ille"), never cut. */
.gf-cal-bar:not(.cs):not(.cm):not(.ce) { height: auto; min-height: 18px; white-space: normal; }
.gf-cal-bar:not(.cs):not(.cm):not(.ce) > span { width: auto; padding: 1px 0; line-height: 1.2; hyphens: manual; overflow-wrap: anywhere; text-overflow: clip; }
.gf-cal-bar:not(.cs):not(.cm):not(.ce) > .gf-cal-l { font-size: 9.5px; }
.gf-cal-bar.cs > span { max-width: calc(var(--n, 1) * (100% + var(--bm) + var(--be)) - var(--g) - 2 * var(--bm) - var(--be)); }
.gf-cal-bar.cm > span { max-width: calc(var(--n, 1) * (100% + var(--be)) - var(--g) - var(--bm) - var(--be)); }
.gf-cal-bar.cut > span { max-width: 100%; }
.gf-cal-bar > .gf-cal-w, .gf-cal-now > .gf-cal-w { display: none; }
/* Today's now mark at the foot of its day: a red dot and line, and from 900 px "Now 10:48". */
.gf-cal-now { display: flex; align-items: center; gap: 4px; min-height: 8px; margin: auto var(--bm) 0; color: var(--now-ink); font-size: 10px; font-weight: 700; line-height: 12px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.gf-cal-now::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--now); }
.gf-cal-now::after { content: ""; flex: 1; min-width: 4px; height: 2px; border-radius: 1px; background: var(--now); }
.gf-cal-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 4px 0; font-size: 12px; color: var(--ink-2); }
.gf-cal-key > span { display: inline-flex; align-items: center; gap: 6px; }
.gf-cal-sw { display: inline-block; width: 14px; height: 10px; border-radius: 3px; background: var(--t-duty); }
.gf-cal-sw.past { background: var(--pd-bg); border: 1px solid var(--pd-line); }
.gf-cal-sw.reserve { background: var(--t-reserve); }
.gf-cal-sw.training { background: var(--t-training); }
.gf-cal-sw.vacation { background: var(--t-vacation); }
.gf-cal-sw.union { background: var(--t-other); }
.gf-cal-sw.quiet { background: transparent; border: 1px dashed var(--field-line); }
.gf-cal-sw.now { height: 2px; border-radius: 1px; background: var(--now); }
/* The day panel's column: picking a day on a phone brings it into view a little clear of the top. */
.gf-sched-side { scroll-margin-top: 12px; }
@media (min-width: 900px) {
    .gf-card.gf-cal { padding: 16px 18px; }
    .gf-cal-grid { --g: 5px; --bm: 6px; --bp: 6px; }
    .gf-cal-wd { padding-bottom: 8px; font-size: 12px; }
    .gf .gf-cal-day { min-height: 104px; padding: 8px 0; gap: 8px; border-radius: 12px; }
    .gf-cal-d { margin-left: 8px; min-width: 26px; height: 26px; padding: 0 7px; font-size: 14px; line-height: 26px; }
    .gf-cal-bar { height: 24px; border-radius: 6px; font-size: 12.5px; line-height: 22px; letter-spacing: .02em; }
    .gf-cal-bar > .gf-cal-l { display: none; }
    .gf-cal-bar > .gf-cal-w { display: block; }
    .gf-cal-now { font-size: 11px; line-height: 14px; }
    .gf-cal-now > .gf-cal-w { display: inline; min-width: 0; white-space: normal; }
    /* "Now 1:43 AM" fits its cell (R24): on two lines where the cell is narrow, with no line after it then. */
    .gf-cal-now { white-space: normal; }
    .gf-cal-bar:not(.cs):not(.cm):not(.ce) { min-height: 24px; }
}

/* The flight page (Today, Flight and Trip tabs §6): the bell's on state in the app bar, the hero's Updated line and its landed
   belt, a passenger's two facts, and the tabs' cards. Colours are the theme's variables, which carry their dark values, or the
   hero's, which are the same navy in both themes. */
/* The bar (FlightF boards): back, then the title over its line ("GF 4141" over "IAD → ALB · Wed Nov 4") at every width, then the
   bell, ⋮ and the plan chip, in one row; the line is cut short only past the bar's width. */
.gf-appbar.gf-appbar-stack { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 10px; row-gap: 0; }
.gf-appbar-stack > .mud-icon-button { grid-area: 1 / 1 / 3 / 2; }
.gf-appbar-stack .gf-title { grid-area: 1 / 2; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-appbar-stack .gf-appbar-sub { grid-area: 2 / 2; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-appbar-stack .gf-appbar-end { grid-area: 1 / 3 / 3 / 4; margin-left: 0; }
/* On a phone, as the boards' bar (flight-a.css, and gf.css's 44 px buttons): back at the edge, the bell and ⋮ close together and
   the plan chip just after them, so the title block has about 160 px at 390 ("CLT → GSP · Thu Nov 5" whole). This bar only: no
   other page's changes. */
@media (max-width: 599.98px) {
    .gf-appbar.gf-appbar-stack { column-gap: 4px; padding-left: 4px; padding-right: 10px; }
    .gf-appbar-stack .mud-icon-button { padding: 10px; }
    .gf-appbar-stack .gf-appbar-end { gap: 0; }
    .gf .gf-appbar-stack a.gf-plan-chip { margin-left: 4px; }
}
/* The banners above the hero, on the page's margins as Today's, with room before the hero. */
.gf-page.gf-tbanners.gf-tbanners-top { padding-bottom: 12px; }
/* Captions straight on the page in the tab panel (between cards, under a day's heading): the page's caption ink, 4.5:1 or more. */
#gf-flight-panel :where(.gf-stack > .gf-cap, .gf-day > .gf-cap):not(.warn) { color: var(--ink-3-page); }
.gf .gf-bell[aria-pressed="true"] { color: var(--primary-text); }
.gf-h-upd { margin: 0; font-size: 13px; color: var(--hero-ink-2); }
.gf-h-belt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.gf-h-belt .gf-h-eb, .gf-h-belt .gf-h-sub { margin-top: 0; }
.gf-hero .gf-belt-v { color: var(--hero-ink); }
.gf-hero p.gf-h-sub { margin-bottom: 0; }
.gf-hfacts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gf-hfacts.one { grid-template-columns: minmax(0, 1fr); }
/* The hero's first part, the eyebrow row over the countdown, 12 px apart as the hero's own gap spaces them on a phone. From 900 px,
   in the card (gf-hero-card, FlightF-web), the route row sits beside it only with room for its gates and terminals and a
   passenger's 12-hour times either side of "1h 50m flight" (about 440 px; the length is one line of 80 px, within the 84 px it
   may take, so the room still holds), else under it at full width, so nothing in it
   runs into the middle or out of the card; and the lines after the parts (the free trip, the lock, Updated, the outage notice)
   each span the card. */
.gf-fh-next { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 900px) {
    .gf-hero.gf-hero-card.gf-flt > .gf-flt-fh { min-width: 440px; }
    .gf-hero.gf-hero-card.gf-flt > p { flex: 1 1 100%; }
    /* The eyebrow ("Thu Nov 5 · airport times") one line beside the pill, so the first part is never narrower than both. */
    .gf-hero-card .gf-fh-next .gf-h-top .gf-h-eb { white-space: nowrap; }
}
/* A cancelled flight's tabs other than Flight, greyed as its later chapters were. */
.gf-tmute { opacity: .6; }
/* A tab's two columns from 900 px, as the web boards draw them; one when a column has nothing to show. */
.gf-fcols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.gf-fcols > .gf-stack:empty { display: none; }
@media (min-width: 900px) {
    .gf-fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
    .gf-fcols:has(> .gf-stack:empty) { grid-template-columns: minmax(0, 1fr); }
}
/* An airport's card on the Airports tab: its code large, departure or arrival over its city, its flight category at right. */
.gf-fap-h { display: flex; align-items: center; gap: 12px; }
.gf-fap-code { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 24px; font-weight: 800; letter-spacing: .02em; line-height: 1; color: var(--ink); flex: none; }
.gf-fap-m { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gf-fap-rl { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.gf-fap-nm { font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-fap-wx { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.gf-fap-rwy { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.gf-fap .gf-rr { margin-top: 10px; border-top: 1px solid var(--line); }
/* The Plane tab (FlightF-phone, FlightF-web): Your plane and the Delay outlook as cards, sized as the boards' flight-a.css draws
   them; from about 1,200 px, where both fit (Today's rule), Your plane over the aircraft at left and the outlook at right. */
.gf-fplane { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
@media (min-width: 900px) { .gf-fplane { gap: 16px; } }
@media (min-width: 1200px) {
    .gf-fplane { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; grid-template-areas: "plane outlook" "aircraft outlook"; }
    .gf-fplane > .gf-fp-plane { grid-area: plane; }
    .gf-fplane > .gf-fp-outlook { grid-area: outlook; }
    .gf-fplane > .gf-fp-aircraft { grid-area: aircraft; }
}
.gf-fp-lead .t { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.gf-fp-lead .s { font-size: 13px; color: var(--ink-2); margin-top: 1px; }
/* In, turn, ready, on one line: a dot on a rule for each, the turn's a small one until the plane is in. Nothing in a step is cut:
   a label, value or note too long for its column ("Due at the gate" at 360 px) wraps, and each step shares the rows (label, value,
   note) of the other two, so the values stay level whichever label wraps. */
.gf-fp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); margin: 14px 0 0; padding: 0; list-style: none; }
.gf-fp-step { position: relative; min-width: 0; padding: 20px 6px 0 0; display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.gf-fp-step::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--line-2); }
.gf-fp-step:last-child::before { display: none; }
.gf-fp-step i { position: absolute; left: 0; top: 0; width: 12px; height: 12px; box-sizing: border-box; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-3); }
.gf-fp-step.mid i { left: 2px; top: 2px; width: 8px; height: 8px; border: 0; background: var(--ink-3); }
.gf-fp-step.done i { background: var(--ink-3); }
.gf-fp-step.now i { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
.gf-fp-step.warn i { border-color: var(--amber-line); background: var(--amber-bg); }
.gf-fp-step .k { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; line-height: 1.3; text-transform: uppercase; color: var(--ink-3); align-self: end; }
.gf-fp-step .v { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.gf-fp-step .n { font-size: 12px; color: var(--ink-2); }
.gf-fp-step.warn .v, .gf-fp-step.warn .n { color: var(--amber); }
.gf-fp-step.ok .n { color: var(--accent-text); font-weight: 600; }
.gf-fp-step.now .n { color: var(--primary-text); font-weight: 600; }
.gf-fp-sum, .gf-fp-none { margin: 12px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.gf-fp-none { margin-top: 0; }
.gf-fp-sum.warn { color: var(--amber); font-weight: 600; }
/* The outlook: the likely range large in its colour beside its confidence, then Why. */
.gf-fp-big { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.gf-fp-big b { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 24px; font-weight: 800; line-height: 1.15; color: var(--ink); }
.gf-fp-big b.late { color: var(--amber); }
.gf-fp-big b.ok { color: var(--accent-text); }
.gf-fp-rk { margin: 14px 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.gf-fp-why { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gf-fp-why li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.gf-fp-why .mud-icon-root { width: 18px; height: 18px; margin-top: 1px; flex: none; color: var(--ink-3); }
/* A link across the foot of a card ("Where's my plane ›", "How we estimate it ›"), 48 px tall. */
.gf .gf-fp-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; margin: 14px -16px -16px; padding: 0 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }
.gf-fp-foot .mud-icon-root { color: var(--ink-3); }
.gf .gf-fp-foot:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; border-radius: 0 0 16px 16px; }
/* A passenger's gate, boarding time and seat. */
.gf-fbrd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; background: var(--sunken); }
.gf-fbrd > div { min-width: 0; padding: 8px 12px 10px; }
.gf-fbrd > div + div { border-left: 1px dashed var(--line-2); }
.gf-open-rem { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; }
.gf-open-rem p { margin: 0; }
.gf-state .gf-open-rem { align-items: center; }
.gf-open-rem-on { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.gf-fbrd .k { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.gf-fbrd .v { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-fbrd .n { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.gf-fbrd + .gf-rr { margin-top: 10px; }

/* ---------- the Schedule's List (schedule tabs spec §6, §9) ---------- */
/* Every colour here is a theme variable, so dark mode needs no rule of its own. */
/* The button over the rows: "Show Nov 1–2", then "Hide Nov 1–2". */
.gf .gf-learlier { align-self: flex-start; min-height: 44px; padding: 0 2px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--link); cursor: pointer; }
/* A row is a card with a date tile, a title and one line; the trip or journey opened has a blue outline, and from 900 px the one in the
   side panel the primary ring (a phone has no panel, so its opened card keeps the blue). */
.gf-lcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; }
.gf-lcard.open { border-color: var(--blue-line); box-shadow: 0 0 0 1px var(--blue-line); }
@media (min-width: 900px) {
    .gf-lcard.sel { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
}
/* A card's head and day rows are its inside; a one-line row is the card itself, so it keeps the card's border and surface. */
.gf-lcard-h, .gf-lone, .gf-lday { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; min-height: 56px; padding: 12px 14px; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.gf-lcard-h, .gf-lday { border: 0; background: none; }
.gf-lday { grid-template-columns: 44px minmax(0, 1fr) auto; min-height: 48px; padding: 10px 14px; border-top: 1px solid var(--line); }
/* Keyboard focus, drawn just inside: a card clips what is in it (overflow: hidden). */
.gf .gf-lcard-h:focus-visible, .gf .gf-lday:focus-visible, .gf .gf-lcard-go:focus-visible, .gf a.gf-lone:focus-visible,
.gf .gf-pnl-chat:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
.gf .gf-learlier:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
.gf-lday.static { grid-template-columns: 44px minmax(0, 1fr); cursor: default; }
.gf-lcard-m { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gf-lcard-t, .gf-lone-t { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; font-size: 15px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.gf-lcard-t { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 800; text-transform: uppercase; }
.gf-lday-t { font-size: 14px; font-weight: 700; color: var(--ink); }
.gf-lcard-l { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.gf-lcard-chev { color: var(--ink-3); }
/* The date tile: the days over the dates ("Tue–Thu" over "3–5"), smaller on a day row; the width of its column. (The day panel's trip
   rows draw their own, .gf-dpanel-trow .gf-ltile.) */
.gf-lcard .gf-ltile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 44px; padding: 4px 2px; border: 1px solid var(--line); border-radius: 10px; background: var(--sunken); text-align: center; }
/* The tile keeps its words inside its box (R75): "Wed–Thu" or "30–31" breaks after its dash rather than spill. */
.gf-lcard .gf-ltile { min-width: 0; max-width: 100%; overflow: hidden; }
.gf-lcard .gf-ltile small { max-width: 100%; font-size: 10px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; white-space: normal; line-height: 1.15; color: var(--ink-3); }
.gf-lcard .gf-ltile b { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 15px; line-height: 1.1; white-space: normal; color: var(--ink); }
.gf-lcard .gf-ltile.sm { min-height: 38px; }
.gf-lcard .gf-ltile.sm b { font-size: 14px; }
/* The trip's progress while under way: a segment a counted leg, a gap between days; flown blue, the next amber, the rest grey (a blue
   that stays clear of the grey in dark too). */
.gf-lprog { display: flex; gap: 3px; padding: 0 14px 12px; }
.gf-lprog-s { flex: 1; height: 6px; border-radius: 3px; background: var(--line-2); }
.gf-lprog-s.day { margin-left: 6px; }
.gf-lprog-s.done { background: var(--blue); }
.gf-lprog-s.next { background: var(--amber-line); }
/* A day opened in place, as the day panel lists it; a one-line trip or journey opened in place on a phone. */
.gf-lday-b { padding: 2px 14px 12px; }
.gf-lcard-b { border-top: 1px solid var(--line); }
/* The foot: Trip chat with its unread count, then the way to the page. */
.gf-lcard-f { display: flex; align-items: center; gap: 8px; padding: 0 6px; border-top: 1px solid var(--line); }
.gf-lcard-go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }
.gf-lcard-go.end { margin-left: auto; }
.gf-lcount { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; }
/* A run of quiet days: a dashed card with no link. The last row's tile reads "Next" over the month. */
.gf-lquiet { border: 1px dashed var(--field-line); background: transparent; cursor: default; }
.gf-lquiet .gf-lone-t { font-weight: 600; color: var(--ink-2); }
.gf-lcard.gf-lnext .gf-ltile { background: var(--primary-tint); }
/* On the tint, --ink-3 is 4.37:1 at 10 px: the darker grey keeps it over 4.5:1. */
.gf-lcard.gf-lnext .gf-ltile small { color: var(--ink-2); }
/* The List's side panel on a trip (§7): the dates beside its name, a light facts strip, a line a day, each night with its hotel and
   rest, and Trip chat with who is in it, the newest message and the unread count. Theme variables only, so dark needs nothing more. */
.gf-pnl-meta { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.gf-pnl-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--sunken); }
.gf-pnl-facts .k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.gf-pnl-facts .v { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 16px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.gf-pnl-facts .v small { font-family: inherit; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.gf-pnl-day, .gf-pnl-night, .gf-pnl-chat { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.gf-pnl-night, .gf-pnl-chat { grid-template-columns: 20px minmax(0, 1fr) auto; }
.gf-pnl-night > .mud-icon-root, .gf-pnl-chat > .mud-icon-root { color: var(--ink-3); }
.gf-pnl-day-d { font-size: 12px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.gf-pnl-day-m { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gf-pnl-day-m b { font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.gf-pnl-day-m small { font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.gf-pnl-chat:hover b { color: var(--primary-text); }
/* The Schedule's app bar on a phone (the boards): "Schedule" over its month, the arrows, + and the plan chip on one row, down to 360 px
   with a plan chip of four letters. The title gives way first, then the gaps; every control keeps a 44 px target. */
@media (max-width: 599.98px) {
    .gf-appbar.gf-appbar-sched { column-gap: 8px; }
    .gf-appbar-sched .gf-title { font-size: clamp(17px, 5.2vw, 24px); }
    .gf-appbar-sched .gf-appbar-end { gap: 2px; }
    .gf-appbar-sched .gf-appbar-days .mud-icon-button { width: 44px; height: 44px; padding: 10px; }
}

/* ---------- The Alerts tab (spec 2026-11-05 §5; boards AlertsF-*, alerts-b.css on these tokens). Light and dark from the same
   variables: the hero is navy in both themes, the cards follow --surface, --line and the tints. ---------- */
.gf-al-top { padding-bottom: 0; }
.gf-al-hero { border-radius: 16px; }
.gf-al-new { display: flex; flex-direction: column; gap: 4px; }
.gf-al-hlab { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--hero-ink-2); }
.gf-al-hbig { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--hero-ink); overflow-wrap: anywhere; }
.gf-al-hsub { margin: 0; font-size: 15px; line-height: 1.4; color: var(--hero-ink-2); }
/* The next change: a quieter band that jumps to its card. */
.gf .gf-al-h2nd { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 10px 10px 12px; border-radius: 12px; background: var(--hero-track); border: 1px solid var(--hero-line); color: var(--hero-ink); text-decoration: none; }
.gf-al-h2nd .hk { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; background: rgba(147, 197, 253, .16); color: var(--hero-blue); }
.gf-al-h2nd .hk.amber, .gf-al-h2nd .hk.red { background: rgba(252, 211, 77, .14); color: var(--hero-amber); }
.gf-al-h2nd .hk.green { background: rgba(110, 231, 183, .12); color: var(--hero-green); }
.gf-al-h2nd .hk .mud-icon-root { font-size: 18px; }
.gf-al-h2nd .m { flex: 1; min-width: 0; display: block; }
.gf-al-h2nd .t { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--hero-ink); }
.gf-al-h2nd .s { display: block; font-size: 13px; line-height: 1.4; color: var(--hero-ink-2); }
.gf-al-h2nd .chev { color: var(--hero-muted); }
/* Crew: how many need you, what is held, and the way to Crew Mode's settings. */
.gf-al-hfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--hero-line); }
.gf-al-hcount { display: flex; flex-direction: column; gap: 1px; min-width: 0; margin: 0; }
.gf-al-hcount .n { font-size: 15px; font-weight: 700; color: var(--hero-ink); }
.gf-al-hcount .h { font-size: 13px; color: var(--hero-ink-2); }
.gf .gf-al-hlink { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--hero-blue); text-decoration: none; white-space: nowrap; }
.gf-al-hlink .mud-icon-root { font-size: 18px; }
/* Left-aligned like the gf-page cards around it (never centred), so the tabs' rule spans the card column exactly. */
.gf-al-tabs { margin: 12px 0 0; padding: 0 16px; }
@media (min-width: 900px) { .gf-al-tabs { padding: 0; } } /* the tabs' own 32 px margin matches the page's */
.gf-al-range { margin: 4px 0 2px; }

/* ---------- under the tabs ---------- */
.gf-al-list { display: flex; flex-direction: column; }
.gf-al-dayh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 22px; padding: 0 2px; }
.gf-al-dayh.first { margin-top: 8px; }
.gf-al-dayh h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.gf-al-dayh h2.now { color: var(--primary-text); }
.gf-al-dayh .meta { font-size: 13px; font-weight: 500; color: var(--ink-3-page); white-space: nowrap; }
.gf-al-card, .gf-al-rest, .gf-al-kept, .gf-al-unread, .gf-al-none { margin-top: 12px; }
/* D18's line under the list: clear of the last card or the dashed "more" row (seen on the phone, 2026-11-06). */
.gf-al-list > .gf-d18 { margin-top: 16px; }

/* ---------- a card: one flight, person or airport ---------- */
.gf-card.gf-al-card { padding: 0; overflow: hidden; }
/* What needs you: a blue frame under a "Needs you" band. Everything else is news, in a plain card. */
.gf-card.gf-al-card.need { border: 2px solid var(--primary); box-shadow: 0 2px 6px rgba(27, 95, 217, .12); }
:is(.gf.dark, :root.gf-dark .gf.auto) .gf-card.gf-al-card.need { box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.gf-al-band { display: flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 14px; background: var(--primary-tint); color: var(--primary-text); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gf-al-band .u { color: var(--ink-2); font-weight: 600; letter-spacing: .04em; }
/* The card's subject. The whole head opens its page. */
.gf .gf-al-head { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 12px 10px 14px; color: var(--ink); text-decoration: none; }
.gf-al-head .m { flex: 1; min-width: 0; display: block; }
.gf-al-head .t { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 8px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.gf-al-head .t .wide { font-size: 17px; font-weight: 800; letter-spacing: .02em; }
.gf-al-head .t .rt { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.gf-al-head .t .gf-as-fam { margin-left: 0; }
.gf-al-head .s { display: block; font-size: 13px; line-height: 1.35; color: var(--ink-2); margin-top: 1px; overflow-wrap: anywhere; }
.gf-al-head .v { font-size: 13px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.gf-al-head .chev { color: var(--ink-3); flex: none; }
.gf-al-head .gf-av { flex: none; }
.gf-al-head .gf-udot { width: 8px; height: 8px; }
/* The subject's square: flights quiet (the kinds carry the colour), an airport amber. */
.gf-al-sic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--sunken); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.gf-al-sic.amber { background: var(--amber-bg); color: var(--amber); box-shadow: none; }
.gf-al-sic .mud-icon-root { font-size: 20px; }

/* The state now: the changed values at a glance. */
.gf-al-now { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; }
.gf-al-fact { display: inline-flex; align-items: baseline; gap: 6px; min-height: 30px; padding: 4px 10px; border-radius: 10px; background: var(--sunken); border: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
.gf-al-fact.gf-al-head-line { white-space: normal; font-weight: 600; color: var(--ink); }
.gf-al-fact b { font-size: 15px; font-weight: 700; color: var(--ink); }
.gf-al-fact b.late { color: var(--amber); }
.gf-al-fact b.chg { color: var(--blue); }
.gf-al-fact b.ok { color: var(--accent-text); }
.gf-al-fact s { font-size: 12px; color: var(--ink-3); }
.gf-al-fact .mud-icon-root { font-size: 15px; align-self: center; color: var(--ink-3); }

/* This week folds a card to one line: its kinds, how many, the newest. */
.gf .gf-al-fold { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px 0 14px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer; }
.gf-al-fold .l { flex: 1; min-width: 0; }
.gf-al-fold .ex { color: var(--ink-3); transition: transform .15s ease; }
.gf-al-fold[aria-expanded="true"] .ex { transform: rotate(180deg); }
.gf-al-kinds { display: flex; flex: none; }
.gf-al-kinds .gf-al-k { width: 22px; height: 22px; margin-left: -5px; border-radius: 7px; box-shadow: 0 0 0 2px var(--surface); }
.gf-al-kinds .gf-al-k:first-child { margin-left: 0; }
.gf-al-kinds .gf-al-k .mud-icon-root { font-size: 13px; }

/* ---------- a card's alerts as a small timeline, oldest first ---------- */
.gf-al-tl { display: flex; flex-direction: column; margin: 0; padding: 6px 14px 4px; border-top: 1px solid var(--line); list-style: none; }
.gf-al-ev { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; }
.gf-al-ev::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.gf-al-ev:first-child::before { top: 20px; }
.gf-al-ev:last-child::before { bottom: auto; height: 20px; }
.gf-al-ev:only-child::before { display: none; }
/* A kind's square: swaps violet, times amber, gates blue, landings green, departures slate, cancellations and FDP red. */
.gf-al-k { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--sunken); color: var(--ink-2); }
.gf-al-k .mud-icon-root { font-size: 16px; }
.gf-al-ev > .gf-al-k { margin-top: 6px; box-shadow: 0 0 0 3px var(--surface); }
.gf-al-k.amber { background: var(--amber-bg); color: var(--amber); }
.gf-al-k.blue { background: var(--primary-tint); color: var(--primary-text); }
.gf-al-k.green { background: var(--accent-bg); color: var(--accent-text); }
.gf-al-k.violet { background: var(--pt-bg); color: var(--pt-ink); }
.gf-al-k.red { background: var(--red-bg); color: var(--red); }
.gf-al-k.slate { background: var(--sunken); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.gf-al-head > .gf-al-k { width: 36px; height: 36px; border-radius: 10px; }
.gf-al-head > .gf-al-k .mud-icon-root { font-size: 20px; }
.gf-al-ev .b { min-width: 0; padding: 7px 0 12px; }
.gf-al-ev .h { display: flex; align-items: baseline; gap: 8px; }
.gf-al-ev .t { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.gf-al-ev .tm { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.gf-al-ev .ud { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-text); flex: none; align-self: center; }
.gf-al-ev.unread .t { font-weight: 700; }
.gf-al-ev.unread .tm { color: var(--ink-2); font-weight: 600; }
.gf-al-ev .s { margin: 2px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); overflow-wrap: anywhere; }
/* News reads quieter than what needs you. */
.gf-al-ev.news .b { padding: 10px 0 8px; }
.gf-al-ev.news .t { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.gf-al-ev.news .s { font-size: 13px; color: var(--ink-3); }
/* Before the airline: how far ahead it came, and why. */
.gf-al-x { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-top: 4px; margin-bottom: -6px; }
.gf-al-x .gf-pill .mud-icon-root { font-size: 14px; }
.gf .gf-al-x a { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }
.gf-al-x a .mud-icon-root { font-size: 18px; }
/* An airport's closures in words; ended ones dimmed; the NOTAM's own line a tap away. */
.gf-al-ev.ended .t { color: var(--ink-3); }
.gf-al-ev.ended > .gf-al-k { background: var(--sunken); color: var(--ink-3); box-shadow: 0 0 0 3px var(--surface), inset 0 0 0 1px var(--line); }
.gf-al-st { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin: 0 0 -8px; }
.gf-al-stx { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.gf .gf-al-rawb { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin-right: -6px; padding: 0 6px 0 12px; border: 0; background: transparent; color: var(--link); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.gf-al-rawb .mud-icon-root { font-size: 18px; transition: transform .15s ease; }
.gf-al-rawb[aria-expanded="true"] .mud-icon-root { transform: rotate(180deg); }
.gf-al-ev .gf-raw { margin: 10px 0 2px; }
/* A flown leg's news on one line, under its head. */
.gf-al-trail { margin: 0; padding: 0 14px 12px 62px; font-size: 13.5px; color: var(--ink-2); }

/* "10 more today": what doesn't need you is one tap away, on All. And the unread the view leaves out. */
.gf .gf-al-rest { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 12px 8px 14px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.gf-al-rest .m { flex: 1; min-width: 0; display: block; }
.gf-al-rest .t { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.gf-al-rest .s { display: block; font-size: 13px; line-height: 1.35; color: var(--ink-2); margin-top: 1px; }
.gf-al-rest .chev { color: var(--ink-3); }
.gf .gf-al-unread { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 0 12px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--primary-tint); color: var(--primary-text); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.gf-al-kept { text-align: center; }

/* ---------- Me (spec 2026-11-05 §7; boards MeF-*, me-a.css on these tokens). The header is the one navy block, in both themes; the
   tabs' cards follow --surface and --line. ---------- */
.gf-me-top { padding-bottom: 0; }
.gf-me-hd { border-radius: 16px; gap: 14px; }
.gf-me-id { display: flex; align-items: center; gap: 14px; }
.gf-av.gf-me-av { width: 56px; height: 56px; font-size: 19px; box-shadow: 0 0 0 3px var(--hero-line); }
.gf-me-who { flex: 1; min-width: 0; }
/* Two lines before an ellipsis: a phone cut "Alex Attendant" to "Alex Attend…" beside the plan pill (walkthrough of 15 Nov). */
.gf-me-name { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--hero-ink); overflow: hidden; overflow-wrap: break-word;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.gf-me-role { margin: 2px 0 0; font-size: 14px; color: var(--hero-ink-2); }
/* The plan, as a pill that opens Plans. */
.gf .gf-me-plan { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 6px 0 14px; border-radius: 999px; border: 1.5px solid var(--hero-line); color: var(--hero-ink); font-size: 14px; font-weight: 700; text-decoration: none; flex: none; }
.gf-me-plan .mud-icon-root { color: var(--hero-muted); }
/* The Passport's numbers: one strip that opens the Logbook. */
.gf .gf-me-pp { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) 30px; align-items: center; min-height: 56px; border: 1px solid var(--hero-line); border-radius: 12px; color: var(--hero-ink); text-decoration: none; }
.gf-me-ppl { display: flex; flex-direction: column; padding: 6px 14px 7px 12px; }
.gf-me-ppl .y { font-size: 15px; font-weight: 700; color: var(--hero-ink); line-height: 1.25; }
.gf-me-ppc { display: flex; align-items: baseline; gap: 5px; padding: 6px 12px 7px; border-left: 1px solid var(--hero-line); font-size: 13px; color: var(--hero-ink-2); white-space: nowrap; min-width: 0; overflow: hidden; }
.gf-me-ppc b { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 22px; font-weight: 800; color: var(--hero-ink); line-height: 1.1; }
.gf-me-pp > .mud-icon-root { color: var(--hero-muted); justify-self: center; }
.gf-me-plan:focus-visible, .gf-me-pp:focus-visible { outline: 2px solid var(--hero-blue); outline-offset: 2px; }
@media (max-width: 419.98px) { .gf .gf-me-ppc { flex-direction: column; align-items: flex-start; gap: 0; padding: 4px 10px 5px; } .gf-me-ppl { padding-right: 10px; } }
/* Today's trip atop Crew & chat (TodaysTrip_Component): its own classes since Me's passport strip took .gf-me-pp's grid. */
.gf-hero.gf-tripcard { padding: 0; gap: 0; border-radius: 16px; overflow: hidden; }
.gf .gf-tripcard-h { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; font-size: 15px; color: var(--hero-ink-2); text-decoration: none; }
.gf-tripcard-h b { color: var(--hero-ink); }
.gf-tripcard-h:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
/* Left with the page column under it, not centred, so the tabs sit over the cards (walkthrough of 15 Nov); from 900 px the tab strip
   brings the page's own gutter. */
.gf-me-tabs { margin: 12px 0 0; padding: 0 16px; }
@media (min-width: 900px) { .gf-me-tabs { padding: 0; } }
.gf-me-panel { display: flex; flex-direction: column; gap: 16px; }
/* Saving: one quiet line at the top of a settings tab. */
.gf-me-auto { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--ink-2); padding: 0 2px; }
.gf-me-auto .mud-icon-root { color: var(--accent-text); font-size: 16px; }
/* A labelled choice (a segmented control) with its one short line, and "Saved" at the label's end. */
.gf-me-grp { padding: 10px 0 12px; }
.gf-me-grp + .gf-me-grp { border-top: 1px solid var(--line); }
.gf-me-gl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 22px; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.gf-me-gl .gf-saved { margin: 0 0 0 auto; }
.gf-me-gl .gf-saved-err { flex-basis: 100%; margin: 0; font-weight: 400; }
.gf-me-grp .gf-cap { margin-top: 6px; }
/* Me's Flight Deck panel card (Flight Deck, live: spec 2026-11-05 §4.11). */
.gf-me-off { opacity: .55; }
.gf-me-looks { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 10px 0 0; font-size: 14px; }
.gf-me-looks dt { font-weight: 700; color: var(--ink); }
.gf-me-looks dd { margin: 0; color: var(--ink-2); }
.gf-seg.gf-me-five button { padding: 0 2px; font-size: 13px; min-width: 0; white-space: nowrap; }
.gf .gf-ch button.gf-me-chl { border: 0; background: none; padding: 0; font-family: inherit; cursor: pointer; white-space: nowrap; }
.gf-fdpd-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gf-fdpd-h { margin: 0; font-size: 20px; font-weight: 800; }
.gf-fdpd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; margin: 14px 0; align-items: start; }
.gf-fdpd-it { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gf-fdpd-it figcaption { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 4px 8px; min-height: 64px; }
.gf-fdpd-it figcaption b { font-size: 17px; font-weight: 800; }
.gf-fdpd-it figcaption .gf-cap { flex-basis: 100%; }
.gf-fdpd-def { padding: 2px 8px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; }
.gf-fdpd-p { display: flex; flex-direction: column; gap: 8px; }
/* Every panel in the same 3:4 box, drawn whole and centred, so the tiles line up whatever each look's shape. */
.gf-fdpd-p .gf-fdp-svg { width: 100%; max-width: none; height: auto; aspect-ratio: 3 / 4; border-radius: 10px; background: #000; }
.gf-me-seg4 button { font-size: 13px; padding: 0 4px; }
/* What followers see: the types in two columns. */
.gf-me-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.gf-me-types .gf-srow { min-height: 52px; }
/* The employee number: shown, with Change or Add, and its own small field and Save. */
.gf-me-val { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; border-top: 1px solid var(--line); }
.gf-me-val .gf-sl { flex: 1; min-width: 0; }
.gf-me-val .v { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 16px; font-weight: 800; color: var(--ink); }
.gf-me-val .gf-saved, .gf-me-val .gf-saved-err { margin: 0; }
.gf-me-inrow { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0 12px; }
.gf-me-inrow .mud-input-control { flex: 1; min-width: 0; }
.gf-me-inrow > .mud-button-root { min-height: 44px; margin-top: 6px; }
/* Account: the profile and its in-page edit sheet. */
.gf-me-prof { display: flex; align-items: center; gap: 14px; }
.gf-me-prof .m { flex: 1; min-width: 0; }
.gf-me-prof .n { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.gf-me-prof .e { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); overflow-wrap: break-word; } /* the address breaks before its @ (MeAccount), mid-word only when a part is wider than the line */
.gf-me-prof .gf-saved { margin: 0; }
.gf-me-prof > .mud-button-root { min-height: 44px; }
.gf-me-sheet { margin-top: 12px; padding: 4px 16px 16px; border: 1px solid var(--ring); border-radius: 18px; background: var(--surface); box-shadow: 0 10px 28px rgba(15, 23, 42, .14); }
:is(.gf.dark, :root.gf-dark .gf.auto) .gf-me-sheet { box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.gf-me-sheet > h3 { margin: 12px 0 8px; }
.gf-me-sep { border-top: 1px solid var(--line); padding-top: 12px; }
/* Asking first: removing the work email, deleting the account. */
.gf-me-ask { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 4px; padding: 12px; border-radius: 12px; background: var(--red-bg); border: 1px solid var(--red-line); font-size: 14px; color: var(--ink); }
.gf-me-ask p { margin: 0; }
.gf-me-ask b { color: var(--red); }
/* A card's own link in its header (Logbook ›). */
.gf .gf-me-chl { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin-top: -12px; margin-bottom: -12px; font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }

/* ---------- The Flight Deck, live (spec 2026-11-05 §4, §9; board F · the picked layout) ---------- */
.gf-fd-live { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; border: 1.5px solid #34D399; background: rgba(52, 211, 153, .12); color: #047857; font-size: 13px; font-weight: 700; white-space: nowrap; }
.gf-dark .gf-fd-live { color: #6EE7B7; }
.gf-fd-live i { width: 9px; height: 9px; border-radius: 50%; background: #10B981; }
.gf-fd-bar > .gf-back { grid-area: 1 / 1 / 3 / 2; flex: none; }
.gf-fd-bar .gf-appbar-end { gap: 6px; }
.gf-fd-bar .gf-title { font-size: 24px; }
/* The title whole and the line under it wrapping, never cut (the bar's own rule cuts both). */
.gf-fd-bar .gf-title { overflow: visible; text-overflow: clip; }
.gf-fd-bar .gf-appbar-sub { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 599.98px) {
    .gf-fd-bar a.gf-plan-chip { display: none; }
    .gf-fd-bar .gf-title { font-size: 18px; }
    .gf-fd-bar .gf-back { padding-right: 4px; }
    .gf-fdh ol.gf-fd-phases { grid-template-columns: repeat(8, auto); justify-content: space-between; gap: 0; }
    .gf-fdh ol.gf-fd-phases li { font-size: 8.5px; letter-spacing: -.01em; }
}
.gf-fdh { gap: 10px; }
.gf-fdh-now { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gf-fd-tag { margin-top: 0; border-color: var(--hero-line); color: var(--hero-ink); background: transparent; }
.gf-fdh .gf-fd-words { margin: 4px 0 0; font-size: 16px; color: var(--hero-ink-2); }
.gf-fdh-line { font-size: 16px; color: var(--hero-ink); margin: 2px 0 0; line-height: 1.4; }
.gf-fdh-route { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gf-fdh .gf-flt-fh { grid-template-columns: auto minmax(0, 1fr) auto; }
.gf-fd-prog { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; min-width: 0; }
.gf-fd-progline { position: relative; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--hero-muted) 0 6px, transparent 6px 11px); }
.gf-fd-progline > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--hero-blue); }
.gf-fd-progplane { position: absolute; top: 50%; transform: translate(-50%, -50%) rotate(90deg); color: var(--hero-ink); display: inline-flex; }
.gf-fd-progplane .mud-icon-root { font-size: 22px; }
/* Flown and to go wrap under each other rather than run into the codes beside them (a phone in landscape). */
.gf-fd-progd { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 8px; font-size: 12px; color: var(--hero-muted); }
.gf-fd-progd span { white-space: nowrap; }
.gf-fd-progd span:last-child { margin-left: auto; }
.gf-fd-progd b { color: var(--hero-ink); }
.gf-fdh .gf-fd-phases { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2px; list-style: none; margin: 0; padding: 0; }
.gf-fdh .gf-fd-phases li { display: flex; justify-content: center; min-width: 0; white-space: nowrap; padding: 14px 0 0; position: relative; font-size: 10px; font-weight: 700; color: var(--hero-muted); }
.gf-fdh .gf-fd-phases li::before { content: ""; position: absolute; top: 2px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; border: 1.5px solid var(--hero-muted); }
.gf-fdh .gf-fd-phases li.done { color: var(--hero-ink-2); }
.gf-fdh .gf-fd-phases li.done::before { background: var(--hero-blue); border-color: var(--hero-blue); }
.gf-fdh .gf-fd-phases li.now { color: var(--hero-green); }
.gf-fdh .gf-fd-phases li.now::before { background: var(--hero-green); border-color: var(--hero-green); box-shadow: 0 0 0 4px rgba(110, 231, 183, .25); }
.gf-fd-age { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 4px 12px; border: 1px solid var(--hero-line); border-radius: 999px; font-size: 12.5px; color: var(--hero-ink-2); }
.gf-fd-age i { width: 8px; height: 8px; border-radius: 50%; background: #34D399; }
.gf-fd-page { padding-top: 0; }
.gf-fd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.gf-fd-cockpit { order: 1; margin: 0 -16px; }
.gf-fd-tabs { order: 2; margin: 0 -16px; }
/* R40: on a phone the tabs stay in view at the bottom, above the tab bar (and the crew strip), until scrolled to where they sit. */
@media (max-width: 899.98px) {
    .gf-fd-tabs { position: sticky; bottom: calc(74px + var(--gf-sab)); z-index: 4; box-shadow: 0 -4px 12px rgba(15, 23, 42, .12); }
    .gf-shell:has(.gf-strip) .gf-fd-tabs { bottom: calc(118px + var(--gf-sab)); }
}
.gf-fd-map { position: relative; }
.gf-fd-panel { order: 4; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.gf-fd-grid.tab-map .gf-fd-panel { display: none; }
/* Clear of "Fit the flight" at the top right (its words hide under 600 px); the chips wrap to a second row when they don't fit (§6.1). */
.gf-fd-chips { position: absolute; z-index: 3; left: 10px; right: 160px; top: 10px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
@media (max-width: 599.98px) { .gf-fd-chips { right: 56px; } }
.gf-fd-map .gf-rm.tall { aspect-ratio: .95; }
/* The key sits at the bottom left, clear of the chips however many rows they wrap to. */
.gf-fd-map .gf-rm-key { top: auto; bottom: 12px; }
.gf-fd-sh { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 4px 0 0; }
.gf-fd-lock { margin-top: 12px; }
.gf-fd-lock p { margin: 0; }
/* The cockpit view: on black, the panel then its chip, caption and labels. */
.gf-fdcv { background: #000; color: #E2E8F0; }
/* The moment the panel draws (R40): "Now · 22 s ago", or the replay's. */
.gf-fdcv-now { margin: 0; padding: 10px 16px 0; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #86EFAC; }
.gf-fdcv-now i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.gf-fdcv-panel { display: flex; justify-content: center; }
.gf-fdp-svg { display: block; width: 100%; max-width: 520px; height: auto; }
.gf-fdp-svg.erj, .gf-fdp-svg.e175 { max-width: 420px; }
.gf-fdp-svg.stale { filter: grayscale(1); opacity: .45; }
.gf-fdp-svg text { font-weight: 600; }
.gf-fdp-lbl { font-size: 13px; }
.gf-fdp-num { font-size: 15px; }
.gf-fdp-big { font-size: 24px; font-weight: 700; }
.gf-fdp-sm { font-size: 12px; }
.gf-fdp-tape { font-size: 13px; } .gf-fdp-tape2 { font-size: 10px; } .gf-fdp-big2 { font-size: 21px; font-weight: 700; }
.gf-fdp-xs { font-size: 9px; letter-spacing: .04em; }
.gf-fdp-mode { font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.gf-fdp-est { font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.gf-fdp-badge { font-size: 12px; font-weight: 700; }
.gf-fdp-svg:is(.airbus, .crj, .e175) .gf-fdp-badge { font-size: 22px; }
.gf-fdp-cmp { font-size: 11px; }
.gf-fdcv-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.gf-fdcv-note { margin: 0; font-size: 14px; color: #FCD34D; }
.gf-fdcv-chip { align-self: flex-start; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 6px 14px; border: 1px solid #334155; border-radius: 999px; background: #0F172A; font-size: 13px; color: #CBD5E1; }
.gf-fdcv-chip b { color: #F8FAFC; }
.gf-fdcv-chip a { color: #93C5FD; font-weight: 700; text-decoration: none; }
.gf-fdcv-chip a:hover { text-decoration: underline; }
.gf-fdcv-sw.gf-seg { max-width: 320px; padding: 2px; background: #0F172A; border-color: #334155; }
.gf-fdcv-sw.gf-seg button { min-height: 40px; color: #CBD5E1; }
.gf-fdcv-sw.gf-seg button[aria-pressed="true"] { background: #F8FAFC; color: #0F172A; }
.gf-fdcv > .gf-fdcv-sw { width: calc(100% - 32px); margin: 10px auto; }
.gf-fdcv-cap { margin: 0; font-size: 14px; line-height: 1.5; color: #CBD5E1; }
.gf-fdcv .gf-fdcv-labels .mud-switch-label, .gf-fdcv .gf-fdcv-labels .mud-typography { color: #F8FAFC; font-weight: 700; }
.gf-fdcv-lh { margin: 4px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #94A3B8; }
.gf-fdcv-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #E2E8F0; }
.gf-fdcv-legend li { display: flex; align-items: center; gap: 10px; }
.gf-fdcv-legend .n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #DC2626; border: 2px solid #fff; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
/* Altitude and speed. */
.gf-fdch { margin: 0; }
.gf-fdch svg { display: block; width: 100%; height: auto; }
.gf-fdch-key { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; }
.gf-fdch-key span { display: inline-flex; align-items: center; gap: 6px; }
.gf-fdch-key i { display: inline-block; width: 16px; border-top: 2.5px solid #10B981; }
.gf-fdch-key i.gs { border-top-color: #C2410C; }
.gf-fdch-key i.exp { border-top: 2px dashed var(--ink-3); }
.gf-fdch .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; }
.gf-fdch .ax { font-size: 11px; fill: var(--ink-3); }
.gf-fdch .ax.b { font-weight: 700; letter-spacing: .06em; }
.gf-fdch .fill { fill: rgba(16, 185, 129, .1); }
.gf-fdch .alt { fill: none; stroke: #10B981; stroke-width: 2; }
.gf-fdch .gs { fill: none; stroke: #C2410C; stroke-width: 1.6; }
.gf-fdch .exp { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 4; }
.gf-fdch .filed { stroke: #C026D3; stroke-width: 1.4; stroke-dasharray: 7 4; }
.gf-fdch .filedt { fill: #C026D3; font-weight: 700; }
.gf-fdch-key i.filed { border-top: 2px dashed #C026D3; }
.gf-fdch-key span.z { margin-left: auto; color: var(--ink-3); }
.gf-fdch .mk { fill: var(--ink); }
.gf-fdch .land { fill: var(--ink); }
.gf-fdch .vs { fill: #3B82F6; }
.gf-fdch .now { stroke: #DC2626; stroke-width: 1.5; }
.gf-fdch .nowb { fill: #DC2626; }
.gf-fdch .nowt { font-size: 12px; font-weight: 700; fill: #fff; }
/* The Flight Deck's extras (spec 2026-11-05 §6.3 to §6.8; boards F-crew-phone, F-crew-profile, F-crew-ahead, F-crew-web, F-pax-phone). */
.gf-fd-est { display: inline-block; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; line-height: 1; padding: 2px 4px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); vertical-align: 2px; }
.gf-fd-side { order: 3; display: none; margin: 0 -16px; }
.gf-fd-grid.tab-map .gf-fd-side { display: block; }
.gf-fd-side > .gf-fdo { margin: 12px 16px 0; }
.gf-fdh-facts { display: none; }
.gf-fdh-atc { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--hero-ink-2); }
.gf-fdw { display: flex; flex-direction: column; gap: 8px; }
.gf-fdw-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; }
.gf-fdw-tiles > div { padding: 7px 8px 8px; min-width: 0; white-space: nowrap; }
.gf-fdw-tiles > div + div { border-left: 1px solid var(--line); }
.gf-fdw-tiles span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.gf-fdw-tiles b { font-size: 16px; color: var(--ink); }
.gf-fdw-tiles .gf-fd-est { vertical-align: 1px; }
.gf-fdw-line { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.gf-fdw-line b { color: var(--ink); }
.gf-fdch .hw { fill: none; stroke: #2563EB; stroke-width: 2; }
.gf-fdch .hwf { fill: rgba(37, 99, 235, .1); }
.gf-fdch .sat { fill: none; stroke: #0F766E; stroke-width: 2; }
.gf-fdch .hwt { fill: #2563EB; }
.gf-fdch .satt { fill: #0F766E; }
.gf-fdb { display: flex; flex-direction: column; gap: 8px; }
.gf-fdb-h { display: flex; align-items: flex-start; gap: 10px; }
.gf-fdb-h p { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.gf-fdb-i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(124, 58, 237, .12); color: #7C3AED; }
.gf-fdch .box { fill: rgba(124, 58, 237, .14); stroke: #7C3AED; stroke-width: 1.2; stroke-dasharray: 4 3; }
.gf-fdch .box.sev { fill: rgba(220, 38, 38, .14); stroke: #DC2626; }
.gf-fdch .boxt { font-size: 10px; font-weight: 800; letter-spacing: .04em; fill: #7C3AED; }
.gf-fdch .path { fill: none; stroke: #EA580C; stroke-width: 2.5; }
.gf-fdch .rep { fill: #10B981; stroke: var(--card); stroke-width: 1.5; }
.gf-fdch .rep.bumpy { fill: #7C3AED; }
.gf-fdch .you { fill: var(--ink); }
.gf-fdr { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.gf-fdr + .gf-fdr { border-top: 1px solid var(--line); }
.gf-fdr-i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--chip-bg, rgba(37, 99, 235, .08)); color: var(--ink-2); }
.gf-fdr b { display: block; font-size: 15px; color: var(--ink); }
.gf-fdr p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.gf-fdo { display: flex; flex-direction: column; gap: 10px; }
.gf-fdo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gf-fdo-t { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.gf-fdo-at { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.gf-fdo-body { display: flex; align-items: center; gap: 16px; }
.gf-fdo-sk { flex: none; width: 96px; height: 96px; }
.gf-fdo-sk .ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.gf-fdo-sk .lit { fill: rgba(251, 191, 36, .22); }
.gf-fdo-sk .lr { font-size: 9px; font-weight: 700; fill: var(--ink-3); }
.gf-fdo-sk .plane { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.gf-fdo-sk .sun { fill: #F59E0B; }
.gf-fdo-sk .next { fill: #2563EB; }
.gf-fdo-hl { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.gf-fdo-then { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.gf-fdo-rows { margin: 0; display: flex; flex-direction: column; }
.gf-fdo-rows > div { padding: 10px 0; border-top: 1px solid var(--line); }
.gf-fdo-rows dt { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.gf-fdo-rows dt .mud-icon-root { color: var(--ink-3); }
.gf-fdo-rows dd { margin: 2px 0 0 28px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (min-width: 900px) {
    .gf-fdh.gf-hero-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; }
    .gf-fdh.gf-hero-card:not(.single) > .gf-fdh-route { flex: 2.6 1 0; }
    .gf-fdh.gf-hero-card:not(.single) > .gf-fdh-facts { flex: 1.3 1 0; min-width: 230px; }
    .gf-fdh-facts { display: block; min-width: 0; }
    /* No fact ends in "…" ("AIR TRA…", "Mem…" at 1440 px, walkthrough 2026-11-09): a cell is at least 108 px, so a narrow strip
       takes a second row, and its words wrap. */
    .gf-fdh-hf.gf-hfacts { grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); }
    .gf-fdh-hf .gf-hfact-k, .gf-fdh-hf .gf-hfact-v { white-space: normal; overflow: visible; text-overflow: clip; }
    .gf-fd-side, .gf-fd-grid.tab-map .gf-fd-side { order: 2; display: flex; flex-direction: column; gap: 16px; margin: 0; align-self: stretch; min-width: 0; }
    .gf-fd-side > .gf-fdo { order: 3; margin: 0; }
    .gf-fd-side .gf-fd-map { flex: 1 1 auto; min-height: 420px; }
    .gf-fd-side .gf-fd-map > :not(.gf-fd-chips) { height: 100%; }
    /* The facts strip's notes wrap rather than cut ("in 1 h 23 min" in a column about 70 px wide). */
    .gf-fdh-hf .gf-hfact-n { white-space: normal; overflow: visible; text-overflow: clip; }
    .gf-fdh.gf-hero-card:has(.gf-fdh-facts) ol.gf-fd-phases { grid-template-columns: repeat(8, auto); justify-content: space-between; gap: 0; }
    .gf-fdh.gf-hero-card:has(.gf-fdh-facts) ol.gf-fd-phases li { font-size: 9px; letter-spacing: -.01em; }
    .gf-fdo.wide { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 16px; }
    .gf-fdo.wide .gf-fdo-top { grid-column: 1 / -1; }
    .gf-fdo.wide .gf-fdo-head { display: none; }
    .gf-fdo.wide .gf-fdo-body { grid-row: 2; }
    .gf-fdo.wide .gf-fdo-rows { grid-row: 2; grid-column: 2; }
    .gf-fdo.wide .gf-fdo-rows > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; padding: 3px 0; border: 0; }
    .gf-fdo.wide .gf-fdo-rows dt { font-size: 14px; font-weight: 500; color: var(--ink-3); }
    .gf-fdo.wide .gf-fdo-rows dt .mud-icon-root { display: none; }
    .gf-fdo.wide .gf-fdo-rows dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
    .gf-fd-grid { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 16px; }
    .gf-fd-cockpit, .gf-fd-map, .gf-fd-tabs { margin: 0; }
    .gf-fd-cockpit { order: 1; border-radius: 16px; overflow: hidden; }
    .gf-fd-map, .gf-fd-grid.tab-map .gf-fd-map { order: 2; display: block; border-radius: 16px; overflow: hidden; }
    .gf-fd-tabs { order: 3; grid-column: 1 / -1; }
    .gf-fd-tabs .gf-ptabs { margin: 0; }
    .gf-fd-panel, .gf-fd-grid.tab-map .gf-fd-panel { order: 4; grid-column: 1 / -1; display: flex; }
    .gf-fd-map, .gf-fd-grid.tab-map .gf-fd-map { align-self: stretch; }
    .gf-fd-map .gf-rm.tall { height: 100%; min-height: 420px; aspect-ratio: auto; }
}
/* Below about 1,200 px, beside the rail, the side column was a 200 px sliver (Out the window's words cut on an iPad upright, 20 Nov):
   one column there, the panel at its own 500 px over the map and Out the window. */
@media (min-width: 900px) and (max-width: 1199.98px) {
    .gf-fd-grid { grid-template-columns: minmax(0, 1fr); }
    .gf-fd-cockpit { justify-self: center; width: 100%; max-width: 500px; }
}

/* Flight Deck on a followed person's live flight (spec 2026-11-05 §4.10, board E · follow pax): a navy card with the pill button. */
.gf-hero.gf-fd-follow { display: flex; flex-direction: column; align-items: stretch; gap: 10px; border-radius: 16px; margin-bottom: 14px; }
.gf-fd-follow > * { width: 100%; }
.gf-fd-follow .gf-flt-row { justify-content: space-between; }
.gf-fd-fmid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--hero-muted); }
.gf-fd-fmid small { font-size: 12px; }
.gf-hero a.gf-fd-open, .gf-hero a.gf-fd-open:visited { color: #fff; }
.gf-fd-open { white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1.5px solid #fff; border-radius: 24px; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
.gf-fd-open:hover, .gf-fd-open:focus-visible { background: rgba(255, 255, 255, .08); }
.gf-fd-open-live { display: inline-flex; align-items: center; gap: 5px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .35); color: #6EE7B7; font-size: 14px; }
.gf-fd-open-live i { width: 9px; height: 9px; border-radius: 50%; background: #10B981; }
.gf-fd-fline { margin: 0; font-size: 13px; color: var(--hero-muted); }
.gf-fd-whose { margin-top: 0; }

/* The Flight Deck button on the owner's own pages (spec 2026-11-05 §4.10, boards E · today crew, E · sched crew, E · trips pax, E · flight):
   in a hero as wide as its words ("inline") or the hero's width; on a card primary-blue outlined; on Today's live leg the card's last row. */
.gf-fd-open.inline { display: inline-flex; align-self: flex-start; padding: 0 18px; }
.gf-fd-hrow { display: flex; align-items: center; }
.gf a.gf-fd-open.card, .gf a.gf-fd-open.card:visited { display: inline-flex; align-self: flex-start; padding: 0 18px; min-height: 44px; border-color: var(--primary); color: var(--primary-text); background: transparent; }
.gf a.gf-fd-open.card:hover, .gf a.gf-fd-open.card:focus-visible { background: var(--primary-tint); }
.gf-fd-open.card .gf-fd-open-live, .gf-fd-open.row .gf-fd-open-live { border-left-color: var(--line-2); color: var(--accent-text); }
.gf-fd-open.card .gf-fd-open-live i, .gf-fd-open.row .gf-fd-open-live i { background: var(--accent-text); }
.gf-legc-fd { display: flex; flex-direction: column; border: 2px solid var(--primary); border-radius: 14px; overflow: hidden; background: var(--surface); }
.gf-legc-fd > a.gf-legc, .gf-legc-fd > a.gf-legc.next, .gf-legc-fd > a.gf-legc.dh { border: 0; border-radius: 0; }
.gf a.gf-fd-open.row, .gf a.gf-fd-open.row:visited { justify-content: flex-start; min-height: 48px; padding: 0 14px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--primary-tint); color: var(--primary-text); font-size: 15px; }
.gf a.gf-fd-open.row:hover, .gf a.gf-fd-open.row:focus-visible { background: var(--blue-bg); text-decoration: underline; }
.gf-fd-open .gf-fd-chev { margin-left: auto; }
.gf-fl .gf-fd-open.card { margin-top: 10px; }
.gf-shero-next.fd > a.gf-shero-flt { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 6px; text-align: left; }
.gf-legc-wrap { display: contents; }
.gf-legc-wrap { display: contents; }
.gf-shero-next.fd > .gf-fd-open { align-self: center; }
.gf-fd-hrow > .gf-fd-open:not(.inline) { flex: 1; }
.gf-ag:has(> .gf-fd-open) { flex-wrap: wrap; }
.gf-ag > .gf-fd-open.card { margin-left: 16px; }
/* Flight Deck after landing and the replay (spec 2026-11-05 §4.7, §6.9, §6.11; boards F-landed-*, F-*-log). */
.gf-fd-live.done { border-color: var(--line); background: var(--card); color: var(--ink-2); }
.gf-fd-live.done i { background: #64748B; }
.gf-fd-age.done i { background: #34D399; }
.gf-fd-age b { color: var(--hero-ink, #F8FAFC); font-weight: 700; margin-right: 4px; }
.gf-fdcv-replay { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: #93C5FD; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; }
.gf-fdcv-replay.locked { color: #CBD5E1; }
.gf-fdcv-replay .gf-plus-tag, .gf-fd-after .gf-plus-tag { background: #0F172A; color: #F8FAFC; box-shadow: inset 0 0 0 1.5px #F8FAFC; padding: 2px 10px; margin-left: 4px; text-transform: none; letter-spacing: 0; font-size: 13px; }
.gf-fd-after .gf-plus-tag { box-shadow: none; }
.gf-fd-after .gf-fdr { align-items: center; }
.gf-fd-after .gf-fdr > div { flex: 1; }
.gf-fd-after-l { margin: 10px 0 0; font-size: 15px; color: var(--ink); line-height: 1.5; }
.gf-fd-after-l .gf-plus-tag { margin: 0 6px 0 0; }
.gf-fd-after-see { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; font-weight: 700; color: var(--primary-text); text-decoration: none; }
/* The last reading after landing, on Plus: on black, the numbers in a box. */
.gf-fd-last { background: #000; color: #E2E8F0; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.gf-fd-last-box { border: 1px solid #334155; border-radius: 14px; padding: 14px 16px; background: #0B1220; }
.gf-fd-last-h { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #F8FAFC; }
.gf-fd-last-h span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #94A3B8; margin-right: 6px; }
.gf-fd-last-g { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #334155; border-radius: 10px; overflow: hidden; }
.gf-fd-last-g > div { padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.gf-fd-last-g > div + div { border-left: 1px solid #334155; }
.gf-fd-last-g .k { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #94A3B8; }
.gf-fd-last-g .v { font-size: 20px; font-weight: 700; color: #F8FAFC; }
.gf-fd-last-g .v small { font-size: 13px; font-weight: 500; color: #CBD5E1; }
.gf-fd-last-c { margin: 0; font-size: 14px; line-height: 1.5; color: #CBD5E1; }
/* The flight summary. */
.gf-fds-big { margin: 6px 0 0; font-size: 18px; color: var(--ink-2); }
.gf-fds-big b { font-size: 34px; font-weight: 800; color: var(--ink); margin-right: 4px; }
.gf-fds-sub { margin: 2px 0 12px; font-size: 14px; color: var(--ink-2); }
.gf-fds-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; margin-top: 10px; overflow: hidden; }
.gf-fds-grid > div { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gf-fds-grid > div + div { border-left: 1px solid var(--line); }
.gf-fds-grid .k { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.gf-fds-grid .v { font-size: 18px; font-weight: 700; color: var(--ink); }
.gf-fds-grid .n { font-size: 12.5px; color: var(--ink-2); }
.gf-fds-bar { display: flex; gap: 3px; height: 10px; margin-top: 16px; border-radius: 5px; overflow: hidden; }
.gf-fds-bar i { display: block; min-width: 4px; }
.gf-fds-bar .c { background: #93C5FD; } .gf-fds-bar .r { background: #2563EB; } .gf-fds-bar .d { background: #F59E0B; }
.gf-fds-barl { display: flex; justify-content: space-between; gap: 8px; margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.gf-fds-barl b { color: var(--ink); font-weight: 700; }
.gf-fds-lines { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink); }
.gf-fds-lines li { display: flex; align-items: flex-start; gap: 10px; }
.gf-fds-lines .mud-icon-root { color: var(--ink-2); margin-top: 2px; }
.gf-fds-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.gf-fds-canvas { display: none; }
/* The replay's controls: navy, the play button, the moment, the speeds and the slider. */
.gf-fdrp { background: #0F172A; color: #F8FAFC; border-radius: 16px; padding: 14px 16px 10px; margin-top: 12px; }
.gf-fdrp-row { display: flex; align-items: center; gap: 14px; }
.gf .gf-fdrp-play { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #F8FAFC; color: #0F172A; }
.gf .gf-fdrp-play:hover { background: #E2E8F0; }
.gf-fdrp-now { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gf-fdrp-eb { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #94A3B8; }
.gf-fdrp-t { font-size: 24px; font-weight: 800; white-space: nowrap; }
.gf-fdrp-t small { font-size: 13px; font-weight: 500; color: #CBD5E1; margin-left: 4px; }
.gf-fdrp-speed.gf-seg { flex: none; padding: 2px; background: #1E293B; border-color: #334155; }
.gf-fdrp-speed.gf-seg button { min-height: 40px; min-width: 44px; padding: 0 10px; color: #CBD5E1; font-weight: 700; }
.gf-fdrp-speed.gf-seg button[aria-pressed="true"] { background: #F8FAFC; color: #0F172A; }
.gf-fdrp-slider { margin-top: 8px; }
.gf-fdrp-ends { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #CBD5E1; }
.gf .gf-fdrp-back { color: #93C5FD; margin-top: 4px; }
.gf-fd-moment { margin-top: 12px; }
/* The track log. */
.gf-fdlog { padding: 8px 12px 12px; }
.gf-fdlog-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.gf-fdlog-t th { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); text-align: left; padding: 8px 6px; }
.gf-fdlog-t td { padding: 8px 6px; border-top: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.gf-fdlog-t tbody tr:nth-child(odd) td { background: var(--surface-2, rgba(148, 163, 184, .08)); }
.gf-fdlog-t .r { text-align: right; }
.gf-fdlog-t .tm { font-weight: 700; }
.gf-fdlog-t .tm small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.gf-fdlog-t .evw { display: block; font-size: 11.5px; font-weight: 700; color: var(--primary-text); }
.gf-fdlog-t .arr { display: inline-block; color: var(--ink-2); }
.gf-fdlog-all { margin-top: 12px; }
.gf-fdlog-cap { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 599.98px) {
    .gf-fdlog { padding: 6px 8px 10px; overflow-x: auto; }
    .gf-fdlog-t { font-size: 13px; }
    .gf-fdlog-t th, .gf-fdlog-t td { padding: 7px 4px; }
    .gf-fdrp-t { font-size: 20px; }
    /* The moment never cuts its zone ("11:47 PM CS"): when the time and the speeds do not fit beside the play button, the speeds
       go to their own line. */
    .gf-fdrp-row { flex-wrap: wrap; row-gap: 8px; }
    .gf-fdrp-now { flex: 1 1 150px; }
    .gf-fdrp-speed.gf-seg button { min-width: 40px; padding: 0 8px; }
    .gf-fd-last-g .v { font-size: 18px; }
    .gf-fds-big b { font-size: 30px; }
}
.gf-fd-open-until { font-weight: 500; opacity: .85; }
.gf-fd-open .gf-plus-tag { margin-left: 4px; }
/* A role in Admin's user dialog (R111): what it is and whether the user has it, its button beside it, under one Roles heading. */
.gf-au-role { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.gf-mk + .gf-au-role { border-top: 0; }
.gf-au-role > div { min-width: 0; flex: 1 1 14rem; }
.gf-au-role .mud-button-root { flex: none; }
/* Admin Overview's "Needs you now" (R18): a row per thing waiting, linking its section, its title red when late (AdminNeeds: a
   report with under half of its 24 hours left, or overdue; a support request waiting 24 hours or more). */
.gf-needs { margin-bottom: 12px; }
.gf-need { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 0;
    border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.gf-ch + .gf-need { border-top: 0; }
.gf-need > span { display: flex; flex-direction: column; min-width: 0; }
.gf-need.late b { color: var(--red); }
/* F32: the viewer's flights to a followed crew member's release, under that release's row. */
.gf-trel { margin: 4px 0 10px 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--sunken); }
.gf-trel-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.gf-trel-t { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0; }
.gf-trel-only { font-size: 12px; color: var(--ink-3); }
.gf-trel-btn { margin-top: 8px; }
.gf-trel-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gf-trel-list li { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }

/* ---------- F1, F24, F29: a message to the family circle by hand, on a navy hero ---------- */
.gf-fmsg { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; margin-top: 12px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--hero-green); background: var(--hero-track); color: var(--hero-ink); text-align: left; cursor: pointer; font: inherit; }
.gf-fmsg:disabled { opacity: .6; cursor: default; }
.gf-fmsg .ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--hero-green); }
.gf-fmsg .m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gf-fmsg .t { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--hero-ink); }
.gf-fmsg .s { font-size: 13px; line-height: 1.35; color: var(--hero-ink-2); }
.gf-fmsg .go { color: var(--hero-green); }
.gf-fmsg-done { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--hero-line); background: var(--hero-track); }
.gf-fmsg-done .r { display: flex; align-items: center; gap: 10px; color: var(--hero-green); }
.gf-fmsg-done .r.heart { color: var(--hero-amber); }
.gf-fmsg-done .t { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: var(--hero-ink); }
.gf-fmsg-done .tm { font-size: 13px; color: var(--hero-ink-2); white-space: nowrap; }
.gf-fmsg-done .n { font-size: 13px; line-height: 1.35; color: var(--hero-ink-2); padding-left: 30px; }
/* A heart back on the Alerts tab (F1). */
.gf-heart-btn { margin-top: 8px; }
/* Every slider on a touch screen (the walkthrough of 9 Nov: scrolling past the what-if changed the delay and the page stayed put).
   MudBlazor's .mud-slider is touch-action: pinch-zoom, which ruled out any pan, so a vertical swipe now scrolls; and a touch reaches
   only the thumb, never the track, whose touch-down jumped the value to the finger before a scroll could begin. A sideways drag of
   the thumb still moves it, and the keyboard and a mouse are as before. Seen working on the Android 16 emulator. */
.mud-slider, .mud-slider input[type=range] { touch-action: pan-y pinch-zoom; }
@media (pointer: coarse) {
    .mud-slider input[type=range] { pointer-events: none; }
    .mud-slider input[type=range]::-webkit-slider-thumb { pointer-events: auto; }
    .mud-slider input[type=range]::-moz-range-thumb { pointer-events: auto; }
}
/* The FDP what-if (F26): a slider's value beside its label, its ticks under it, and the answer's rows. */
.gf-whatif-v { float: right; font-weight: 700; color: var(--ink); text-transform: none; letter-spacing: 0; }
.gf-whatif-ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: -6px; }
.gf-whatif-out { border-top: 1px solid var(--line); padding-top: 12px; }
.gf-whatif-rows { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; margin: 12px 0; font-size: 14px; }
.gf-whatif-rows dt { color: var(--ink-2); }
.gf-whatif-rows dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }

/* F21 Duty and rest (US flight attendant rules, R-F21-*): the rules choices, the 7 days' bar and its key. */
.gf-rule-list { display: grid; gap: 8px; margin: 10px 0; }
/* One full-width track, its words at its start: a short choice ("None") sat centred in its button (walkthrough of 9 Nov). */
.gf-rule-choice { display: grid; grid-template-columns: 1fr; justify-items: start; gap: 2px; text-align: left; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, transparent); color: var(--ink); font: inherit; cursor: pointer; }
.gf-rule-choice span { font-size: 13px; color: var(--ink-2); }
.gf-rule-choice[aria-pressed="true"] { border-color: var(--blue-line); box-shadow: inset 0 0 0 1px var(--blue-line); background: var(--blue-bg); }
.gf-rule-choice:disabled { opacity: .55; cursor: default; }
.gf-rule-choice:focus-visible { outline: 2px solid var(--blue-line); outline-offset: 2px; }
.gf-usfa-week { position: relative; height: 22px; margin-top: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.gf-usfa-week i { position: absolute; top: 0; bottom: 0; }
.gf-usfa-week i.duty, .gf-usfa-k.duty { background: var(--blue-line); }
.gf-usfa-week i.training, .gf-usfa-k.training { background: repeating-linear-gradient(45deg, var(--blue-line) 0 4px, var(--blue-bg) 4px 8px); }
.gf-usfa-week i.reserve, .gf-usfa-k.reserve { background: var(--amber-line); }
.gf-usfa-week i.deadhead, .gf-usfa-k.deadhead { background: var(--ink-3); }
.gf-usfa-week i.free, .gf-usfa-k.free { top: 6px; bottom: 6px; background: var(--map-flown); border-radius: 3px; }
.gf-usfa-week i.free.short { background: var(--red-line); }
.gf-usfa-week i.now { width: 2px; background: var(--red); }
.gf-usfa-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.gf-usfa-days span { text-align: center; white-space: nowrap; overflow: hidden; }
.gf-usfa-assumed { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.gf-usfa-assumed b { color: var(--ink); }
.gf-kv.gf-usfa-over b { color: var(--red); }
/* F10: a shared trip's public page: cities by day, its flights, the nights away and home. */
.gf-trip-home { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--accent-bg); color: var(--accent-text); font-weight: 600; }
.gf-trip-day + .gf-trip-day { margin-top: 14px; }
.gf-trip-dh { font-size: 14px; font-weight: 700; margin: 10px 0 4px; color: var(--ink); }
.gf-trip-dh span { font-weight: 500; color: var(--ink-2); margin-left: 6px; }
.gf-trip-leg { display: flex; flex-direction: column; gap: 1px; padding: 8px 0; border-top: 1px solid var(--line); }
.gf-trip-night { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 12px; border-radius: 10px; background: var(--sunken); color: var(--ink-2); font-size: 14px; font-weight: 600; }
/* F2: "Text someone" on the landed hero; F20: Share with family under Share this flight. */
.gf-h-text { margin-top: 12px; }
.gf-h-text .mud-button-root { color: var(--hero-ink); border-color: var(--hero-line); }
.gf-share-fam { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
/* F31: the weekly email's preview, under its switch. */
.gf-digest-pv { margin: 8px 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--sunken); }
.gf-digest-mail { margin-top: 8px; padding: 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.gf-digest-mail p { margin: 0 0 6px; font-size: 14px; color: var(--ink); }
.gf-digest-subj { font-weight: 700; }
.gf-digest-h { font-weight: 600; margin-top: 8px !important; }
/* F16: a follower's flight in the air with no map shared, times only. */
.gf-fam-inair { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; border-radius: 16px; background: var(--sunken); border: 1px solid var(--line); margin-bottom: 14px; }
.gf-fam-inair-in { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--ink); }
.gf-fam-inair-cd { font-size: 36px; font-weight: 700; line-height: 1.1; color: var(--accent-text); }

/* ---------- Pilot Currency (spec 2026-11-08 §7, §13; canvas cur.css and cur-b.css, Option B "Months ahead") ----------
   Every colour is a token, so dark mode comes with the tokens (F11). Small print is ink-2 (ink-3 on the grey page is 4.3:1).
   The grace month is a hatch of amber-bg and amber-line on dots and bars; on a pill, amber-bg and surface, so its words keep 4.5:1. */
.gf-page.gf-cur-page { max-width: 720px; }
/* The phone's bar has no sub (spec §7.1); from 900 px the bar carries the sub and "Change your answers" (.gf-cur-change, the web's)
   and the hero's link hides, so the link shows once at every width (F15). */
@media (max-width: 899.98px) { .gf-cur-appbar .gf-appbar-sub, .gf-cur-appbar .gf-cur-change { display: none; } }
/* with no sub drawn the title centres on the arrow and chip, as a bar with no sub does (same weight as the phone bars rule, later) */
@media (max-width: 899.98px) { .gf-appbar.gf-cur-appbar.gf-cur-appbar.gf-cur-appbar > .gf-title { grid-row: 1 / 3; align-self: center; } }

/* the hero */
.gf-hero.gf-cur-hero { gap: 8px; }
.gf-cur-verdict { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 26px; font-weight: 800; line-height: 1.12; color: var(--hero-ink); }
.gf-cur-line { font-size: 15px; line-height: 1.35; color: var(--hero-ink-2); }
.gf .gf-cur-hlink { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--hero-blue); text-decoration: none; }
@media (min-width: 900px) { .gf .gf-cur-hlink { display: none; } }
.gf-hpill.info { background: transparent; border-color: var(--hero-blue); color: var(--hero-blue); }
.gf-banner.gf-cur-pro { background: var(--sunken); border: 1px solid var(--line); }
.gf-cur-pro a { color: var(--link); font-weight: 600; }

/* state pills: one look per state */
.gf-cur-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.gf-cur-st { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; line-height: 18px; white-space: nowrap; border: 1.5px solid transparent; }
.gf-cur-st.ok { color: var(--accent-text); background: var(--surface); border-color: var(--accent-line); }
.gf-cur-st.warn { color: var(--amber); background: var(--amber-bg); border-color: var(--amber-line); }
.gf-cur-st.warn.grace { background: repeating-linear-gradient(135deg, var(--amber-bg) 0 6px, var(--surface) 6px 9px); }
.gf-cur-st.info { color: var(--blue); background: var(--blue-bg); border-color: var(--blue-line); }
.gf-cur-st.err { color: var(--red); background: var(--red-bg); border-color: var(--red-line); }
.gf-cur-st.err.fix { background: var(--surface); border-style: dashed; }
.gf-cur-st.mut { color: var(--ink-2); background: var(--sunken); border-color: var(--line); }
/* the same states as a dot */
.gf-cur-dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid transparent; }
.gf-cur-dot.due { background: var(--amber-line); }
.gf-cur-dot.sched { background: var(--blue-line); }
.gf-cur-dot.lapsed { background: var(--red); }
.gf-cur-dot.grace { background: repeating-linear-gradient(135deg, var(--amber-bg) 0 2px, var(--amber-line) 2px 4px); }
.gf-cur-dot.win { background: var(--surface); border-color: var(--ink-3); }

/* a list of rows in a card: what needs a fix, a month, keeps itself current, Later */
.gf-cur-list > * + * { border-top: 1px solid var(--line); }
.gf .gf-cur-row, .gf-cur-frow { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: start; padding: 12px 0; color: var(--ink); text-decoration: none; }
.gf .gf-cur-row:hover .gf-cur-rt { text-decoration: underline; }
.gf .gf-cur-row:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.gf-cur-rt { min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.gf-cur-rs { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.gf-cur-row > .gf-cur-win, .gf-cur-row > .gf-cur-chip, .gf-cur-row > .gf-cur-todo, .gf-cur-frow > .gf-cur-fbtn { grid-column: 1 / -1; justify-self: start; }
.gf-cur-src { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
/* a small window: the month before, the due month, the grace month */
.gf-cur-win { display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 240px; margin-top: 4px; }
.gf-cur-w3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.gf-cur-w3 > span { height: 8px; border-radius: 3px; background: var(--line); }
.gf-cur-w3 > .pre, .gf-cur-w6 > .pre { background: var(--pd-line); }
.gf-cur-w3 > .due, .gf-cur-w6 > .due { background: var(--primary-text); }
.gf-cur-w3 > .grace, .gf-cur-w6 > .grace { background: repeating-linear-gradient(135deg, var(--amber-bg) 0 3px, var(--amber-line) 3px 5px); }
.gf-cur-w3 > .none { background: transparent; border: 1.5px dashed var(--line-2); }
.gf-cur-wl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; font-size: 11px; font-weight: 600; line-height: 1.4; color: var(--ink-2); text-align: center; }
.gf-cur-wl .on { color: var(--ink); font-weight: 700; }
/* the two deadlines, the airline's and the FAR's */
.gf-cur-chip { display: inline-flex; align-items: center; margin-top: 4px; padding: 3px 9px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 12.5px; font-weight: 700; line-height: 18px; color: var(--ink); white-space: nowrap; }
/* what to do, open on a lapsed row */
.gf-cur-todo { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: var(--sunken); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.gf-cur-todo .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
/* needs a date or a fix: a red top edge */
.gf-card.gf-cur-fix { box-shadow: inset 0 3px 0 var(--red-line); }
.gf-cur-fbtn { margin-top: 6px; min-height: 40px; }

/* months ahead: six columns, the Schedule calendar's cell; the picked one white with a ring */
.gf-card.gf-cur-chart { padding: 14px 12px 12px; }
.gf-cur-chart > .gf-ch { padding: 0 4px; }
.gf-cur-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.gf .gf-cur-col { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 8px 0 9px; border: 0; border-radius: 10px; background: var(--sunken); color: var(--ink); font: inherit; cursor: pointer; }
.gf .gf-cur-col:hover { background: var(--line); }
.gf .gf-cur-col.sel { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ring); }
.gf .gf-cur-col:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
.gf-cur-mo { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.gf-cur-mo .m { font-size: 14px; font-weight: 700; color: var(--ink); }
.gf-cur-mo .y { min-height: 13px; font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.gf-cur-mo .y.now { color: var(--now-ink); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gf-cur-dots { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 60px; padding-top: 4px; }
.gf-cur-dots .gf-cur-dot { width: 14px; height: 14px; }
.gf-cur-cn { font-size: 15px; font-weight: 700; line-height: 1; color: var(--ink); }
.gf-cur-cn.zero { font-weight: 500; color: var(--ink-2); }
/* the windows, under the columns they cover */
.gf-cur-lanes { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.gf .gf-cur-lane { display: flex; flex-direction: column; gap: 5px; width: 100%; min-height: 44px; padding: 4px 0 6px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.gf .gf-cur-lane:hover { background: var(--sunken); }
.gf .gf-cur-lane:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
.gf-cur-lane .lt { padding: 0 2px; font-size: 12px; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-cur-bar { position: relative; display: block; }
.gf-cur-w6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.gf-cur-w6 > span { height: 10px; border-radius: 3px; }
.gf-cur-tick { position: absolute; top: -4px; width: 2px; height: 18px; border-radius: 1px; background: var(--ink); transform: translateX(-50%); }
.gf-cur-pin { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-line); box-shadow: 0 0 0 2px var(--surface); transform: translate(-50%, -50%); }
.gf-cur-nowl { position: absolute; top: -5px; bottom: -5px; width: 2px; border-radius: 1px; background: var(--now); transform: translateX(-50%); }
.gf-cur-ls { padding: 0 2px; font-size: 11.5px; line-height: 1.3; color: var(--ink-2); }
/* the key, under the chart */
.gf-cur-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 4px 0; font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.gf-cur-key > span { display: inline-flex; align-items: center; gap: 6px; }
.gf-cur-emptynote { margin: 10px 4px 0; font-size: 13px; color: var(--ink-2); }

/* a month's card, titled in upper-case Archivo; the picked one ringed */
.gf-card.gf-cur-mcard { padding: 0 16px 4px; }
.gf-card.gf-cur-mcard.sel { border-color: var(--ring); box-shadow: 0 0 0 1px var(--ring); }
.gf-cur-mh { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 0 2px; border-bottom: 1px solid var(--line); }
.gf-cur-mt { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 15px; font-weight: 800; letter-spacing: .02em; line-height: 1.2; color: var(--ink); }
.gf-cur-mt .now { color: var(--now-ink); }
.gf-cur-meta { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
/* a month with nothing due but an item's FAR grace month */
.gf-cur-gline { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0 10px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.gf-cur-sw { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--amber-line); background: repeating-linear-gradient(135deg, var(--amber-bg) 0 6px, var(--surface) 6px 9px); }

/* Later, a fold with its count */
.gf .gf-cur-fold { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.gf .gf-cur-fold:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.gf-cur-fold .chev { color: var(--ink-2); transition: transform .15s; }
.gf-cur-fold.open .chev { transform: rotate(90deg); }
.gf-cur-n { margin-left: auto; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--sunken); font-size: 12px; font-weight: 700; line-height: 18px; color: var(--ink-2); }
/* the closing lines, on the grey page */
.gf-cur-caps { display: flex; flex-direction: column; gap: 6px; padding: 4px 2px 0; }
.gf-cur-caps .gf-cap { color: var(--ink-3-page); }

/* ---- the web (spec §7.9, board "B · Months ahead · Captain · web"): the same page from 900 px, both layouts rendered ----
   The phone's parts (the fix card, the six months, the month cards, Keeps itself current, Later) stand in .gf-cur-phone, the
   timeline and the panel in .gf-cur-web; the styles show one, as the pilot logbook's .gf-plb-phone and .gf-plb-web. */
.gf-cur-phone { display: flex; flex-direction: column; gap: 12px; }
.gf-cur-web { display: none; }
@media (min-width: 900px) {
    .gf-cur-phone { display: none; }
    .gf-cur-web { display: block; }
    .gf-page.gf-cur-page { max-width: 1180px; }
    /* the hero as a card, its lines in one column */
    .gf-hero.gf-cur-hero { grid-template-columns: minmax(0, 1fr); border-radius: 16px; padding: 20px 28px 22px; }
}
/* the timeline beside the panel, the panel under it below 1,100 px */
.gf-cur-wgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1100px) { .gf-cur-wgrid { grid-template-columns: minmax(0, 1fr) 360px; } }
.gf-cur-tl > .gf-ch { flex-wrap: wrap; }
.gf-cur-tlb { --gf-cur-lab: 220px; position: relative; }
.gf-cur-th { display: grid; grid-template-columns: var(--gf-cur-lab) minmax(0, 1fr); column-gap: 12px; align-items: end; height: 30px; padding-bottom: 6px; }
.gf-cur-th .l { padding-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.gf-cur-tm { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.gf-cur-tm > span { font-size: 11.5px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-align: center; white-space: nowrap; color: var(--ink-2); }
.gf-cur-tm small { margin-left: 1px; font-size: 9.5px; font-weight: 600; }
.gf-cur-tsec { padding: 14px 0 4px 10px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.gf .gf-cur-tr { display: grid; grid-template-columns: var(--gf-cur-lab) minmax(0, 1fr); column-gap: 12px; align-items: center; width: 100%; min-height: 54px; padding: 6px 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.gf .gf-cur-tr:hover { background: var(--sunken); }
.gf .gf-cur-tr.sel { background: var(--primary-tint); box-shadow: inset 3px 0 0 var(--primary-text); }
.gf .gf-cur-tr:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
.gf-cur-tll { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding-left: 10px; }
.gf-cur-tn { max-width: 100%; font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-cur-tbar { position: relative; display: block; height: 30px; background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 12)); }
.gf-cur-w12 { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.gf-cur-w12 > span { height: 12px; margin: 0 1px; border-radius: 4px; }
.gf-cur-w12 > .pre, .gf-cur-tkey .sw.pre { background: var(--pd-line); }
.gf-cur-w12 > .due, .gf-cur-tkey .sw.due { background: var(--primary-text); }
.gf-cur-w12 > .grace, .gf-cur-tkey .sw.grace { background: repeating-linear-gradient(135deg, var(--amber-bg) 0 3px, var(--amber-line) 3px 5px); }
.gf-cur-tbar .gf-cur-pin { z-index: 1; }
.gf-cur-tk { position: absolute; top: 5px; bottom: 5px; width: 2px; border-radius: 1px; background: var(--ink); transform: translateX(-50%); }
.gf-cur-roll { position: absolute; top: 50%; height: 4px; border-radius: 2px; background: var(--accent-line); transform: translateY(-50%); }
.gf-cur-lab { position: absolute; top: 50%; padding-left: 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--ink-2); transform: translateY(-50%); }
.gf-cur-past { position: absolute; right: 2px; top: 50%; padding: 0 4px; border-radius: 6px; background: var(--surface); font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--ink-2); transform: translateY(-50%); }
.gf-cur-tnow { position: absolute; top: 30px; bottom: 0; z-index: 2; width: 2px; border-radius: 1px; background: var(--now); pointer-events: none;
    left: calc(var(--gf-cur-lab) + 12px + (100% - var(--gf-cur-lab) - 12px) * var(--gf-cur-at)); transform: translateX(-50%); }
.gf-cur-tkey { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 4px 0; font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.gf-cur-tkey > span { display: inline-flex; align-items: center; gap: 6px; }
.gf-cur-tkey i { display: inline-block; flex: none; }
.gf-cur-tkey .sw { width: 18px; height: 10px; border-radius: 3px; }
.gf-cur-tkey .sw.roll { height: 4px; border-radius: 2px; background: var(--accent-line); }
.gf-cur-tkey .tk, .gf-cur-tkey .nw { width: 2px; height: 12px; border-radius: 1px; background: var(--ink); }
.gf-cur-tkey .nw { background: var(--now); }
.gf-cur-tkey .pin { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-line); }
/* the panel */
.gf-card.gf-cur-panel { display: flex; flex-direction: column; gap: 12px; }
.gf-cur-peb { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.gf-cur-ptop { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: -6px; }
.gf-cur-pt { font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.gf-cur-big { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 21px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.gf-cur-pl { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.gf-cur-panel .gf-cur-todo { margin-top: 0; }
/* the two deadlines: the airline's amber when sooner, the FAR's hatched */
.gf-cur-deadlines { display: flex; flex-direction: column; gap: 8px; }
.gf-cur-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gf-cur-dl { min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); }
.gf-cur-dl.warn { border-color: var(--amber-line); background: var(--amber-bg); }
.gf-cur-dl.hatch { border-color: var(--amber-line); background: repeating-linear-gradient(135deg, var(--amber-bg) 0 6px, var(--surface) 6px 9px); }
.gf-cur-dl .k { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.gf-cur-dl.warn .k, .gf-cur-dl.warn .n { color: var(--amber); }
.gf-cur-dl .v { margin-top: 2px; font-size: 16px; font-weight: 700; white-space: nowrap; color: var(--ink); }
.gf-cur-dl .n { margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
/* the item page (spec 2026-11-08 §8; canvas cur-item.css, "Item · 24-month observation") */
.gf-cur-saves { margin: 0 2px; }
.gf-cur-hpills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.gf-cur-hpills .gf-hpill { margin-top: 0; }
.gf-card.gf-cur-iwindow, .gf-card.gf-cur-what, .gf-card.gf-cur-plan { display: flex; flex-direction: column; gap: 10px; }
.gf-cur-imos { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gf-cur-imo { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); }
.gf-cur-imo .m { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.gf-cur-imo .n, .gf-cur-imo .a { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.gf-cur-imo.pre { border-color: var(--pd-line); }
.gf-cur-imo.due { border-color: var(--primary-text); box-shadow: inset 0 3px 0 var(--primary-text); }
.gf-cur-imo.grace { border-color: var(--amber-line); background: repeating-linear-gradient(135deg, var(--amber-bg) 0 6px, var(--surface) 6px 9px); }
.gf-cur-imo.cut .a { color: var(--amber); font-weight: 600; }
.gf-cur-what p { font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.gf-cur-what .gf-cur-pl, .gf-cur-what .gf-cur-src { color: var(--ink-2); }
.gf-cur-page .gf-seg button:disabled { cursor: default; opacity: .55; }
.gf-cur-note { padding: 8px 12px; border-radius: 10px; background: var(--sunken); border: 1px solid var(--line); }
.gf-cur-field { display: flex; flex-direction: column; gap: 4px; }
.gf-cur-ask { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--amber-line); background: var(--amber-bg); color: var(--ink); }
.gf-cur-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-cur-sug { font-size: 13px; color: var(--ink-2); }
.gf-cur-btns { display: flex; flex-wrap: wrap; gap: 8px; }
/* The medical's page (spec 2026-11-08 §6.4; canvas cur-item.css, "Item · Medical"): one exam's three dates on a track (a picture,
   aria-hidden: the rows say it), the next exam, what we keep and Lost it. Tokens only, so dark mode comes with them (F11). */
.gf-card.gf-cur-med { display: flex; flex-direction: column; gap: 10px; }
.gf-cur-med-trk { margin: 2px 0 6px; }
.gf-cur-med-trk-in { position: relative; height: 46px; margin: 0 12px; }
.gf-cur-med-bar { position: absolute; left: 0; right: 0; top: 26px; height: 10px; display: flex; overflow: hidden; border-radius: 5px; background: var(--line); }
.gf-cur-med-bar i { display: block; height: 100%; }
.gf-cur-med-bar .s1 { background: var(--primary); }
.gf-cur-med-bar .s2 { background: var(--blue-line); }
.gf-cur-med-bar .s3 { background: var(--line-2); }
.gf-cur-med-mk { position: absolute; top: 20px; margin-left: -11px; }
.gf-cur-med-now { position: absolute; top: 0; height: 44px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--now-ink); }
.gf-cur-med-now b { position: absolute; top: -1px; left: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--now-ink); }
.gf-cur-med-ax { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.gf-cur-med-rows { list-style: none; margin: 0; padding: 0; }
.gf-cur-med-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; padding: 11px 0; }
.gf-cur-med-row + .gf-cur-med-row { border-top: 1px solid var(--line); }
.gf-cur-med-row .m { display: flex; flex-direction: column; min-width: 0; }
.gf-cur-med-row .t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.gf-cur-med-row .d { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.gf-cur-med-row .d b { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 17px; font-weight: 800; color: var(--ink); }
.gf-cur-med-row .s { margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.gf-cur-med-num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2px solid var(--primary); background: var(--surface); color: var(--primary-text); font-size: 12px; font-weight: 700; line-height: 1; }
.gf-cur-med-num.you { background: var(--primary); color: var(--on-primary); }
.gf-cur-med-tag { display: inline-flex; align-items: center; padding: 0 8px; border-radius: 999px; border: 1px solid var(--primary-text); background: var(--primary-tint); color: var(--primary-text); font-size: 11.5px; font-weight: 700; line-height: 18px; white-space: nowrap; }
.gf-cur-med-when { display: flex; align-items: center; gap: 12px; }
.gf-cur-med-when .m { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gf-cur-med-when .t { font-size: 15px; font-weight: 600; color: var(--ink); }
.gf-cur-med-when .s { font-size: 13px; color: var(--ink-2); }
.gf-cur-med-q { display: flex; flex-direction: column; gap: 4px; }
.gf-cur-med-kv { display: flex; align-items: center; gap: 12px; }
.gf-cur-med-kv .none { flex: 1; font-size: 15px; color: var(--ink-2); }
.gf-cur-med-ecg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.gf-cur-med-priv { display: flex; align-items: flex-start; gap: 8px; margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.gf-cur-med-lost { font-size: 14px; line-height: 1.45; color: var(--ink); }
.gf-cur-med-lost .gf-cur-src { display: block; margin-top: 3px; }
.gf-cur-also { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.gf-cur-arow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; font-size: 14px; color: var(--ink); }
.gf-cur-hrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; min-height: 44px; font-size: 14px; color: var(--ink); }
.gf-srow.dim .gf-sl { color: var(--ink-2); }
.gf-cur-photo { max-width: 100%; max-height: 320px; border-radius: 10px; border: 1px solid var(--line); object-fit: contain; }
.gf-cur-delete { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.gf-cur-types { display: flex; flex-wrap: wrap; gap: 6px; }
.gf .gf-cur-types button { min-height: 36px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.gf .gf-cur-types button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.gf .gf-cur-types button:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.gf .gf-cur-types button:disabled { cursor: default; opacity: .55; }
.gf-cur-legs { margin: 0; padding: 0; list-style: none; }
.gf-cur-legs > li { padding: 8px 0; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.gf-cur-legs > li + li { border-top: 1px solid var(--line); }
.gf-cur-entry { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.gf-cur-entry > b { min-width: 3.5em; font-size: 14px; color: var(--ink); }
.gf-cur-why { flex-basis: 100%; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--red); }

/* What to track, a step at a time (spec §9; canvas cur-track.css for the look). Tokens only, so dark mode comes with them (F11).
   The count and the progress list, a card a step, Back and Next; Review's navy count with its actions, its sections and their actions. */
.gf-cur-wiz-head { display: flex; flex-direction: column; gap: 8px; padding: 0 2px; }
.gf-cur-wiz-count { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.gf-cur-wiz-steps { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.gf-cur-wiz-steps li { flex: 1; min-width: 0; padding-top: 8px; border-top: 4px solid var(--line-2); font-size: 12px; line-height: 1.3; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-cur-wiz-steps li.done { border-top-color: var(--primary); }
.gf-cur-wiz-steps li.now { border-top-color: var(--primary); color: var(--ink); font-weight: 700; }
.gf-cur-wiz { display: flex; flex-direction: column; gap: 12px; }
.gf .gf-cur-wiz-q { font-family: var(--wide); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--ink); outline: none; }
.gf-cur-wiz-q:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; border-radius: 4px; }
.gf-cur-wiz-seat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 15px; color: var(--ink-2); }
.gf-cur-wiz-seat b { font-size: 18px; font-weight: 700; color: var(--ink); }
.gf-cur-wiz-seat a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--link); }
.gf-cur-wiz-aqp { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--sunken); }
.gf-cur-wiz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gf .gf-cur-wiz-chips .gf-fchip { height: 44px; font-size: 14px; }
.gf-cur-wiz-err { margin: 0 2px; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--red); }
.gf-cur-wiz-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.gf-cur-wiz-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 10px; margin-left: auto; }
.gf-cur-wiz-go .gf-saved-err { flex-basis: 100%; text-align: right; }
.gf-cur-wiz-ans { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.gf-cur-wiz-line { font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.gf-hero.gf-cur-wiz-sum { gap: 4px; border-radius: 16px; padding: 14px 16px 6px; }
.gf .gf-cur-wiz-sum .gf-cur-wiz-q { font-size: 22px; color: var(--hero-ink); }
.gf-cur-wiz-sum .gf-cur-wiz-q:focus-visible { outline-color: var(--hero-blue); }
.gf-cur-wiz-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.gf-cur-wiz-sh .gf-cur-wiz-acts { margin-left: auto; justify-content: flex-end; }
.gf-cur-wiz-sh { flex-wrap: wrap; row-gap: 2px; }
.gf-cur-wiz-hact, .gf-cur-wiz-act { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.gf-cur-wiz-hact { color: var(--hero-blue); }
.gf-cur-wiz-act { color: var(--link); font-size: 13.5px; }
.gf-cur-wiz-act:hover { background: var(--primary-tint); }
.gf-cur-wiz-hact:focus-visible { outline: 2px solid var(--hero-blue); outline-offset: 2px; }
.gf-cur-wiz-act:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.gf-cur-wiz-hact:disabled, .gf-cur-wiz-act:disabled { cursor: default; opacity: .55; }
.gf-cur-wiz-sum .gf-saved { color: var(--hero-green); }
.gf-cur-wiz-sum .gf-saved-err { color: var(--hero-red); }
.gf-cur-wiz-own { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.gf-cur-wiz-notes { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.gf .gf-cur-wiz-done { align-self: flex-start; }

/* Essentials: the large-text view for a passenger who only follows someone. The text size is the device's pick (gf-ess-size),
   put on <html> by the head script before first paint. */
.gf-ess { --ess-body: 19px; --ess-sub: 16px; --ess-status: 28px; --ess-count: 60px; }
:root.gf-ess-larger .gf-ess { --ess-body: 22px; --ess-sub: 18px; --ess-status: 32px; --ess-count: 68px; }
:root.gf-ess-largest .gf-ess { --ess-body: 26px; --ess-sub: 21px; --ess-status: 38px; --ess-count: 76px; }
@media (min-width: 900px) { .gf-ess .gf-page { max-width: 720px; } }
/* Essentials' tab bar: each tab at least 66 px tall, icon and word (spec 2026-11-27 §5.1). The bar and the page's bottom padding grow with it; the rail keeps its own rows. */
@media (max-width: 899px) {
    .gf-ess .gf-nav { height: calc(86px + var(--gf-sab)); }
    .gf-ess .gf-tab { min-height: 66px; }
    .gf-ess .gf-nav + .gf-main { padding-bottom: calc(108px + var(--gf-sab)); }
}
/* Essentials' binding sizes everywhere it reaches (spec 2026-11-27 §4): no text under --ess-sub, touch targets 56 px. The tab and rail
   words, back links, switch rows, the app bar's sub line, captions, the Family tag, initials and form fields. */
.gf-ess .gf-tab { font-size: var(--ess-sub); line-height: 1.2; }
.gf-ess .gf-back { min-height: 56px; font-size: var(--ess-sub); }
.gf-ess .gf-appbar > .gf-back { min-width: 56px; }
.gf-ess .gf-appbar > .gf-appbar-sub { font-size: var(--ess-sub); }
.gf-ess .gf-sl { font-size: var(--ess-body); }
.gf-ess .gf-sl small { font-size: var(--ess-sub); }
.gf-ess .gf-srow .mud-switch { min-height: 56px; }
.gf-ess .gf-ess-page :is(.gf-cap, .gf-cap-2) { font-size: var(--ess-sub); }
.gf-ess .gf-as-fam, .gf-ess .gf-av { font-size: var(--ess-sub); }
.gf-ess .gf-as-fam { height: auto; min-height: 20px; flex-shrink: 0; white-space: nowrap; }
.gf-ess .gf-ess-page .mud-input { font-size: var(--ess-body); }
/* A floating label is drawn at 0.75 of its size (MudBlazor): so it reads at --ess-sub once it floats. */
.gf-ess .gf-ess-page .mud-input-label { font-size: calc(var(--ess-sub) / .75); }

/* Essentials' Following: one big card per person (spec 2026-11-27 §5.2). */
.gf-ess .gf-ess-page { display: flex; flex-direction: column; gap: 14px; }
.gf-ess :is(.gf-ess-card, .gf-ess-wait, .gf-ess-req) { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.gf-ess .gf-ess-card.air { border-color: var(--accent-line); }
.gf-ess .gf-ess-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gf-ess .gf-ess-name { font-size: var(--ess-body); font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.gf-ess .gf-ess-tag { flex-shrink: 0; white-space: nowrap; margin-left: auto; padding: 2px 10px; border-radius: 999px; font-size: var(--ess-sub); font-weight: 600; background: var(--accent-bg); color: var(--accent-text); border: 1px solid var(--accent-line); }
.gf-ess .gf-ess-status { margin: 0; font-size: var(--ess-status); line-height: 1.2; font-weight: 700; }
.gf-ess .gf-ess-line { margin: 0; font-size: var(--ess-body); line-height: 1.35; color: var(--ink); }
.gf-ess .gf-ess-sub { margin: 0; font-size: var(--ess-sub); line-height: 1.35; color: var(--ink-2); }
.gf-ess .gf-ess-small { margin: 0; font-size: var(--ess-sub); color: var(--ink-2); opacity: .85; }
.gf-ess .gf-ess-prog { display: flex; align-items: center; gap: 10px; font-size: var(--ess-sub); color: var(--ink-2); min-width: 0; }
.gf-ess .gf-ess-prog > span { min-width: 0; }
.gf-ess .gf-ess-track { position: relative; flex: 1; min-width: 40px; height: 6px; border-radius: 3px; background: var(--line); }
.gf-ess .gf-ess-track > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--primary); }
.gf-ess .gf-ess-pill { align-self: flex-start; padding: 2px 12px; border-radius: 999px; font-size: var(--ess-sub); color: var(--ink-2); border: 1px solid var(--line); }
.gf-ess .gf-ess-home { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: var(--ess-body); font-weight: 600; background: var(--accent-bg); color: var(--accent-text); border: 1px solid var(--accent-line); }
.gf-ess .gf-ess-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.gf-ess .gf-ess-acts .mud-button-root { min-height: 56px; font-size: var(--ess-sub); }
.gf-ess .gf-ess-empty { margin: 0; font-size: var(--ess-body); color: var(--ink-2); }
.gf-ess .gf-ess-new { display: flex; align-items: center; justify-content: center; min-height: 56px; border: 1px dashed var(--line); border-radius: 16px; font-size: var(--ess-body); font-weight: 600; color: var(--accent-text); text-decoration: none; }

/* Essentials: a followed person's page (spec 2026-11-27 §5.3). The navy block uses the hero's colours and the countdown's size. */
.gf-ess .gf-hero.gf-ess-block { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; border-radius: 16px; min-width: 0; }
.gf-ess .gf-ess-block .gf-h-eb { margin-top: 0; font-size: var(--ess-sub); }
.gf-ess .gf-ess-block .gf-hpill { margin-top: 0; font-size: var(--ess-sub); line-height: 1.4; padding: 3px 14px; }
.gf-ess .gf-ess-big { margin: 0; font-size: var(--ess-status); line-height: 1.2; font-weight: 700; color: var(--hero-ink); overflow-wrap: anywhere; }
.gf-ess .gf-ess-block .gf-h-cd { display: block; font-size: var(--ess-count); line-height: 1.05; font-weight: 800; color: var(--hero-ink); white-space: normal; }
.gf-ess .gf-ess-about, .gf-ess .gf-ess-bline { margin: 0; font-size: var(--ess-body); line-height: 1.35; color: var(--hero-ink-2); }
.gf-ess .gf-ess-block .gf-ess-prog { align-self: stretch; color: var(--hero-ink-2); }
.gf-ess .gf-ess-block .gf-ess-track { background: var(--hero-track); }
.gf-ess .gf-ess-block .gf-ess-track > i { background: var(--hero-green); }
.gf-ess .gf-ess-homecard { display: flex; flex-direction: column; gap: 4px; }
.gf-ess .gf-ess-homeline, .gf-ess .gf-ess-homesub { margin: 0; }
.gf-ess .gf-ess-homesub { font-size: var(--ess-sub); font-weight: 500; }
.gf-ess .gf-ess-sec { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow-wrap: anywhere; }
.gf-ess .gf-ess-h { margin: 0; font-size: var(--ess-body); font-weight: 700; color: var(--ink); }
.gf-ess .gf-ess-days { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gf-ess .gf-ess-day { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; border-top: 1px solid var(--line); font-size: var(--ess-body); }
.gf-ess .gf-ess-day:first-child { border-top: 0; font-weight: 700; }
.gf-ess .gf-ess-dpill { padding: 2px 12px; border-radius: 999px; font-size: var(--ess-sub); font-weight: 600; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.gf-ess .gf-ess-dpill.away { background: var(--accent-bg); color: var(--accent-text); border-color: var(--accent-line); }
.gf-ess .gf-ess-dpill.back { color: var(--ink); border-color: var(--ink-2); }
.gf-ess .gf-ess-flt { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.gf-ess .gf-ess-flt:first-of-type { border-top: 0; }
.gf-ess .gf-ess-fday { font-size: var(--ess-sub); font-weight: 700; color: var(--ink-2); }
.gf-ess .gf-ess-link { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; font-size: var(--ess-body); font-weight: 600; color: var(--accent-text); text-decoration: none; }
.gf-ess .gf-ess-swrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; font-size: var(--ess-body); }
.gf-ess .gf-ess-msg .mud-button-root, .gf-ess .gf-ess-quiet .mud-button-root { min-height: 56px; font-size: var(--ess-sub); }
.gf-ess .gf-ess-quiet { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 8px 4px 24px; }
.gf-ess .gf-invited { font-size: var(--ess-body); }
.gf-ess .gf-invited .gf-cap-2 { font-size: var(--ess-sub); }
.gf-ess .gf-invited .mud-button-root { min-height: 56px; font-size: var(--ess-sub); }
.gf-ess .gf-ess-dpill.oncall { background: var(--surface); border-color: var(--line-2); color: var(--ink-2); box-shadow: inset 0 -3px 0 var(--t-reserve); }
.gf-ess .gf-ess-mswitch { display: flex; gap: 8px; }
.gf-ess .gf-ess-mswitch a { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 56px; border: 1px solid var(--line); border-radius: 12px; font-size: var(--ess-body); font-weight: 600; color: var(--ink); text-decoration: none; }
.gf-ess .gf-ess-mswitch a.on { background: var(--accent-bg); border-color: var(--accent-line); color: var(--accent-text); }
/* Essentials' Alerts list and its alert settings (spec 2026-11-27 §5.4). */
.gf-ess .gf-ess-alert { gap: 10px; }
.gf-ess .gf-ess-alink { display: flex; align-items: flex-start; gap: 12px; min-height: 56px; min-width: 0; color: var(--ink); text-decoration: none; }
.gf-ess .gf-ess-abody { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gf-ess .gf-ess-aname { font-size: var(--ess-body); font-weight: 700; line-height: 1.25; }
.gf-ess .gf-ess-alert .mud-button-root { align-self: flex-start; min-height: 56px; font-size: var(--ess-sub); }
.gf-ess .gf-as-person { font-size: var(--ess-body); }
.gf-ess .gf-as-person .gf-as-pbtn { min-height: 64px; font-size: var(--ess-body); }
.gf-ess .gf-as-person .gf-as-t small, .gf-ess .gf-as-person .gf-cap, .gf-ess .gf-as-person .gf-cap-2 { font-size: var(--ess-sub); }
.gf-ess .gf-as-person .gf-as-chip, .gf-ess .gf-as-person .mud-button-root { min-height: 56px; font-size: var(--ess-sub); }
/* Essentials' Me (spec 2026-11-27 §5.5): the size buttons, the switches and the rows at the Essentials size, each target 56 px or more. */
.gf-ess .gf-ess-sizes { display: flex; gap: 8px; }
.gf-ess .gf-ess-sizes button { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; min-width: 0; padding: 6px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: var(--ess-sub); font-weight: 600; cursor: pointer; }
.gf-ess .gf-ess-sizes button b { font-size: var(--ess-body); }
.gf-ess .gf-ess-sizes button[aria-pressed="true"] { background: var(--accent-bg); border-color: var(--accent-line); color: var(--accent-text); }
.gf-ess .gf-ess-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; min-width: 0; padding: 8px 0; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; font-size: var(--ess-body); font-weight: 600; color: var(--ink); text-align: left; text-decoration: none; overflow-wrap: anywhere; cursor: pointer; }
.gf-ess .gf-ess-row small { display: block; font-size: var(--ess-sub); font-weight: 400; color: var(--ink-2); }
.gf-ess .gf-ess-row.danger { color: var(--red); }
.gf-ess .gf-ess-edit { display: flex; flex-direction: column; gap: 10px; padding-bottom: 8px; }
.gf-ess .gf-ess-edit .mud-button-root, .gf-ess .gf-ess-sec .mud-button-root { min-height: 56px; font-size: var(--ess-sub); }
.gf-ess .gf-ess-sec .gf-srow { min-height: 56px; font-size: var(--ess-body); }
.gf-ess .gf-ess-sec .gf-srow .gf-sl small, .gf-ess .gf-ess-sec .gf-me-ask { font-size: var(--ess-sub); }

/* PR 5: the unchecked default report and release times, said where the duty limits are drawn. */
.gf-dtc-line { display: block; font-size: 12px; font-weight: 600; color: var(--gf-amber, #b45309); margin: 0 0 6px; text-decoration: underline; }
.gf-hero .gf-dtc-line, .gf-hero-card .gf-dtc-line { color: #fcd34d; }
.gf-strip-chk { font-size: 11px; color: #fcd34d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
