:root {
    --czeg-red: #C8102E;
    --czeg-black: #111111;
    --czeg-white: #FFFFFF;
    --czeg-green: #1B4332;
    --czeg-charcoal: #1F2933;
    --czeg-ink: #111111;
    --czeg-muted: #4C5964;
    --czeg-steel: #7C8894;
    --czeg-line: #E3E0D6;
    --czeg-page: #ECEAE3;
    --czeg-paper: #F5F0E4;
    --czeg-paper-line: #DAD2BE;
    --czeg-panel: #f4f6f8;
    --czeg-header: #111111;
    --czeg-slate: #2A333B;
    --czeg-sky: #2E6DA4;
    --font-display: "Oswald", "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--czeg-header); }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    color: var(--czeg-ink);
    background: var(--czeg-page);
}

a { color: var(--czeg-red); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header { background: var(--czeg-header); color: var(--czeg-white); }

.header-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem 1.1rem;
    flex-wrap: nowrap;
    max-width: none;
    margin: 0 auto;
    padding: 0.65rem 1.75rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--czeg-white);
    text-decoration: none;
    flex-shrink: 0;
}

.brand:hover { text-decoration: none; color: var(--czeg-white); }

.brand img {
    display: block;
    height: 52px;
    width: auto;
}

.brand-tagline {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--czeg-steel);
    padding-left: 0.9rem;
    margin-left: 0.15rem;
    border-left: 1px solid #3a3a3a;
    white-space: nowrap;
}

.nav-primary {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.05rem;
    flex: 1;
    min-width: 0;
}

.nav-primary a {
    color: #c9cdd1;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 0.48rem;
    white-space: nowrap;
}

.nav-primary a:hover,
.nav-primary a.is-active {
    color: var(--czeg-white);
    text-decoration: none;
    box-shadow: inset 0 -2px 0 var(--czeg-red);
}

.header-end {
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-end a,
.header-end .who {
    color: #d5dbe0;
    font-size: 0.84rem;
}

.header-end .who {
    color: #c9cdd1;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 0.48rem;
    white-space: nowrap;
    text-decoration: none;
}

.header-end .who:hover,
.header-end .who.is-active {
    color: var(--czeg-white);
    text-decoration: none;
    box-shadow: inset 0 -2px 0 var(--czeg-red);
}

.header-end .btn {
    color: var(--czeg-white);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.45rem 0.85rem;
    min-height: 2.35rem;
}

.header-end form.inline {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.accent-line {
    height: 2px;
    background: var(--czeg-red);
}

.btn {
    display: inline-block;
    border: 0;
    border-radius: 3px;
    padding: 0.45rem 0.85rem;
    font: inherit;
    cursor: pointer;
    background: var(--czeg-red);
    color: var(--czeg-white);
}

.btn:hover { filter: brightness(1.08); text-decoration: none; color: var(--czeg-white); }

.btn-ghost {
    background: transparent;
    color: #d5dbe0;
    padding: 0.35rem 0.5rem;
}

.btn-ghost:hover { color: var(--czeg-white); }

.staff-bar {
    background: var(--czeg-slate);
}

.staff-bar-inner {
    max-width: 92rem;
    margin: 0 auto;
    padding: 0.15rem 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.2rem;
}

.staff-bar a {
    font-family: var(--font-mono);
    color: var(--czeg-steel);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.5rem 0.7rem;
}

.staff-bar a:hover,
.staff-bar a.is-active {
    color: var(--czeg-white);
    text-decoration: none;
}

.staff-bar a.is-active { box-shadow: inset 0 -2px 0 var(--czeg-red); }

.site-banner { padding: 0.75rem 1.25rem; text-align: center; }
.site-banner-info { background: #e8f1f8; }
.site-banner-success { background: #e7f3ec; }
.site-banner-warning { background: #f8efe4; }
.site-banner-danger { background: #f8e8e8; }

.flash {
    max-width: 92rem;
    margin: 1rem auto 0;
    padding: 0.75rem 1rem;
    background: var(--czeg-paper);
    border-left: 3px solid var(--czeg-red);
}

.site-main {
    flex: 1;
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
    padding: 2rem 1.75rem 3.5rem;
}

body.page-wide .site-main { max-width: 92rem; }

h1 {
    font-family: var(--font-display);
    font-size: 2.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 0.4rem;
}

h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 1.75rem 0 0.65rem;
}

.muted { color: var(--czeg-muted); }
.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--czeg-red);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.page-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    border-bottom: 1px solid var(--czeg-line);
    padding-bottom: 1.25rem;
    margin-bottom: 1.4rem;
}

.page-hero p { margin: 0.35rem 0 0; color: var(--czeg-muted); font-size: 0.92rem; }

.clocks { display: flex; gap: 1.75rem; text-align: right; }
.zulu { text-align: right; }
.zulu .label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: var(--czeg-steel);
    text-transform: uppercase;
}
.zulu .clock {
    font-family: var(--font-mono);
    font-size: 1.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}
.zulu .clock span { color: var(--czeg-red); }

.statline {
    display: flex;
    border: 1px solid var(--czeg-line);
    background: var(--czeg-white);
    margin-bottom: 1.75rem;
}

.stat {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border-right: 1px solid var(--czeg-line);
}

.stat:last-child { border-right: none; }

.stat .num {
    font-family: var(--font-mono);
    font-size: 1.45rem;
    font-weight: 600;
}

.stat .num.dim { color: var(--czeg-steel); }

.stat .lbl {
    font-size: 0.7rem;
    color: var(--czeg-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.15rem;
}

.stat .dot {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--czeg-green);
    margin-right: 0.4rem;
}

.stat .dot.off { background: var(--czeg-steel); }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.section-head h2 { margin: 0; }

.section-head .meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--czeg-muted);
}

.ops-layout {
    display: grid;
    grid-template-columns: 17.5rem minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.board-pair { margin-bottom: 1.75rem; }

.board-pair:not(:has(.event-hero)) { grid-template-columns: 17.5rem; }

.board-traffic { min-width: 0; }

.rack { display: flex; flex-direction: column; gap: 0.35rem; }

.slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    background: #232a30;
    color: #9aa3ab;
    padding: 0.55rem 0.75rem;
    border-left: 3px solid #3a444c;
}

.slot .id {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #b8c0c7;
}

.slot .who { font-size: 0.72rem; color: #c5ccd3; }

.slot .status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: #6d7882;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.slot .status .dot {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: #6d7882;
}

.slot.is-online {
    background: #334047;
    color: var(--czeg-white);
    padding: 0.7rem 0.75rem;
    border-left-width: 4px;
    border-left-color: #3d9b6a;
    box-shadow: inset 0 0 0 1px rgba(61, 155, 106, 0.28);
}

.slot.is-online .id { color: var(--czeg-white); }
.slot.is-online .who { color: #d5e8dc; }
.slot.is-online .status { color: #8fd4a8; }
.slot.is-online .status .dot { background: #3d9b6a; }

.event-hero {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100%;
    background: var(--czeg-charcoal);
    color: var(--czeg-white);
    text-decoration: none;
}

.event-hero:hover { text-decoration: none; color: var(--czeg-white); }

.event-hero img {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 16rem;
    max-height: 32rem;
    object-fit: contain;
    object-position: center;
    background: var(--czeg-charcoal);
}

.event-hero-cap {
    display: block;
    padding: 0.55rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.wx-block { margin-top: 1.75rem; }

.wx-list { display: flex; flex-direction: column; gap: 0.35rem; }

.wx-row {
    border: 1px solid var(--czeg-line);
    background: var(--czeg-white);
}

.wx-row summary {
    display: grid;
    grid-template-columns: 4.4rem minmax(6rem, 1fr) minmax(5rem, 1fr) 4.2rem;
    gap: 0.45rem 0.75rem;
    align-items: center;
    padding: 0.55rem 0.75rem;
    cursor: pointer;
    list-style: none;
}

.wx-row summary::-webkit-details-marker { display: none; }

.wx-icao { font-family: var(--font-mono); font-weight: 600; font-size: 0.92rem; }

.wx-fig {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--czeg-charcoal);
}

.wx-cat {
    justify-self: end;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.12rem 0.4rem;
    text-align: center;
    background: #E6EFE9;
    color: var(--czeg-green);
}
.wx-cat.is-mvfr { background: #e8f1f8; color: var(--czeg-sky); }
.wx-cat.is-ifr, .wx-cat.is-lifr { background: #f8e8e8; color: var(--czeg-red); }

.wx-raw {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--czeg-muted);
    word-break: break-word;
    padding: 0 0.75rem 0.7rem;
}

.rail { display: flex; flex-direction: column; gap: 0.5rem; }

.strip {
    display: grid;
    grid-template-columns: 2.6rem 6.5rem 1fr 4.4rem 3.6rem 4rem;
    align-items: center;
    background: var(--czeg-paper);
    border: 1px solid var(--czeg-paper-line);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--czeg-charcoal);
}

.strip .tab {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    color: var(--czeg-white);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 0.35rem 0;
    text-transform: uppercase;
}

.strip .tab.arrival, .strip .tab.local { background: var(--czeg-green); }
.strip .tab.departure { background: var(--czeg-red); }
.strip .tab.transit, .strip .tab.other { background: #333E47; }

.strip .cell { padding: 0.65rem 0.7rem; border-left: 1px dashed var(--czeg-paper-line); }
.strip .callsign { font-weight: 600; font-size: 0.88rem; border-left: none; }
.strip .route { color: var(--czeg-muted); }
.strip .route b { color: var(--czeg-charcoal); font-weight: 600; }
.strip .field .k {
    display: block;
    font-size: 0.55rem;
    color: var(--czeg-steel);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.strip .field .v { font-weight: 600; }
.strip .type { text-align: right; color: var(--czeg-muted); }

.event-strip {
    margin: 0 0 1.4rem;
    padding: 0.85rem 1rem;
    background: var(--czeg-white);
    border: 1px solid var(--czeg-line);
}

.event-strip ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }

.data-panel {
    overflow-x: auto;
    background: var(--czeg-charcoal);
    color: #e8ecef;
    margin: 0.75rem 0 1.6rem;
}

.data-panel table { margin: 0; }
.data-panel th,
.data-panel td {
    border-bottom-color: #2c3844;
    color: inherit;
    white-space: nowrap;
}

.data-panel th {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: #c5ccd3;
    background: #182028;
}

.data-panel a { color: #f3f5f6; }
.data-panel .muted { color: var(--czeg-steel); }
.data-panel tbody tr:nth-child(even) { background: #24303a; }

.data-panel td.hours-happy { color: #8fd4a8; font-weight: 600; }
.data-panel td.hours-sad { color: #f0a0a8; font-weight: 600; }
.data-panel td.hours-future { color: var(--czeg-steel); }
.data-panel .tvcp-flag {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #e6c07b;
    white-space: nowrap;
}

.roster-table { font-size: 0.84rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.3rem; min-height: 1.2rem; }

.pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    padding: 0.12rem 0.4rem;
    border-radius: 3px;
    line-height: 1.3;
}

.pill-twr.pill-cert { background: var(--czeg-red); color: var(--czeg-white); }
.pill-twr.pill-solo { border: 1px solid var(--czeg-red); color: #f3b4bc; }
.pill-twr.pill-trg { border: 1px dashed #c47a84; color: #c47a84; }

.pill-arr.pill-cert { background: var(--czeg-green); color: var(--czeg-white); }
.pill-arr.pill-solo { border: 1px solid #6aa07f; color: #b7d4c2; }
.pill-arr.pill-trg { border: 1px dashed #6aa07f; color: #6aa07f; }

.pill-ctr.pill-cert { background: #3d4a55; color: var(--czeg-white); }
.pill-ctr.pill-solo { border: 1px solid #8b98a3; color: #c5ccd3; }
.pill-ctr.pill-trg { border: 1px dashed #8b98a3; color: #8b98a3; }

.pill-evt.pill-cert { background: var(--czeg-sky); color: var(--czeg-white); }
.pill-evt.pill-solo,
.pill-evt.pill-trg { border: 1px solid var(--czeg-sky); color: #9ec2e0; }

.legend {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--czeg-muted);
    margin: 0 0 1rem;
}

table { width: 100%; border-collapse: collapse; margin: 0.75rem 0 1.5rem; }
th, td { text-align: left; padding: 0.5rem 0.65rem; border-bottom: 1px solid var(--czeg-line); vertical-align: middle; }
th { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--czeg-charcoal); }

form.inline { display: inline; }

input[type="text"],
input[type="number"],
input[type="url"],
input[type="email"],
select,
textarea {
    font: inherit;
    padding: 0.35rem 0.45rem;
    border: 1px solid var(--czeg-line);
    border-radius: 3px;
}

button { font: inherit; cursor: pointer; }

.site-footer {
    background: var(--czeg-charcoal);
    color: #c5ccd3;
    padding: 1.1rem 1.75rem;
    font-size: 0.82rem;
}

.site-footer-inner {
    max-width: 92rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer a { color: #e8ecef; }

.cert { display: inline-block; min-width: 2.4rem; text-align: center; font-size: 0.75rem; }
.cert-2 { color: #975a16; }
.cert-3 { color: #2b6cb0; }
.cert-4 { color: var(--czeg-green); font-weight: 600; }

.dir-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.75rem;
}

.dir-jump a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--czeg-line);
    background: var(--czeg-white);
    color: var(--czeg-charcoal);
    text-decoration: none;
}

.dir-jump a:hover,
.dir-jump a.is-active {
    border-color: var(--czeg-red);
    color: var(--czeg-red);
    text-decoration: none;
}

.dir-section { margin-bottom: 2.4rem; }
.dir-lead { margin: -0.2rem 0 1rem; max-width: 42rem; }

.dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
    gap: 0.85rem;
}

.dir-card,
.dir-strip {
    background: var(--czeg-white);
    border: 1px solid var(--czeg-line);
    border-left: 3px solid var(--czeg-red);
    color: inherit;
}

.dir-card.is-muted,
.dir-strip.is-muted {
    border-left-color: var(--czeg-steel);
    background: #f4f5f6;
}

.dir-card {
    display: flex;
    flex-direction: column;
    min-height: 12.5rem;
    padding: 1rem 1.05rem 1.05rem;
}

.dir-card .role {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 0.4rem;
}

.dir-card .who {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 0.2rem;
}

.dir-card.is-muted .who {
    color: var(--czeg-steel);
    font-weight: 500;
}

.dir-card .cid {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--czeg-steel);
    margin: 0 0 0.7rem;
}

.dir-card .blurb {
    flex: 1;
    margin: 0 0 1rem;
    color: var(--czeg-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.dir-card .mail {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    word-break: break-word;
}

.dir-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dir-strip {
    display: grid;
    grid-template-columns: 12.5rem minmax(0, 1fr);
    min-height: 7.5rem;
    text-decoration: none;
}

.dir-strip:hover {
    text-decoration: none;
    color: inherit;
    border-color: #c9c4b6;
}

.dir-strip:hover h3 { color: var(--czeg-red); }

.dir-strip.is-plain {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

.dir-strip.is-plain .dir-body { padding: 0.95rem 1.15rem; }

.dir-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0.45rem 0 0;
    font-size: 0.85rem;
}

.dir-thumb {
    min-height: 7.5rem;
    background: var(--czeg-charcoal);
}

.dir-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dir-thumb.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c5ccd3;
    text-align: center;
}

.dir-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0.9rem 1.1rem;
}

.dir-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin: 0 0 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--czeg-steel);
}

.dir-flag {
    padding: 0.12rem 0.4rem;
    background: #ececec;
    color: var(--czeg-muted);
}

.dir-flag.is-live {
    background: #E6EFE9;
    color: var(--czeg-green);
}

.dir-flag.is-shut {
    background: #f8e8e8;
    color: var(--czeg-red);
}

.dir-body h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 0.3rem;
}

.dir-meta {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--czeg-muted);
}

.account-rating { text-align: right; }
.account-rating .short {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
}
.account-rating .long {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--czeg-steel);
    margin-top: 0.3rem;
}

.account-grid { margin-top: 0.25rem; }
.account-grid .dir-card { padding-bottom: 0.75rem; }
.account-grid .dir-card form { margin: 0; }
.account-grid .dir-card > :last-child { margin-bottom: 0; }
.name-choices {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.65rem 0 0.75rem;
}
.name-choices label {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-family: var(--font-body);
    font-size: 0.88rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--czeg-charcoal);
    cursor: pointer;
}
.name-choices input {
    margin-top: 0.2rem;
}
.account-hours { margin-top: 0.85rem; }
.account-hours > .section-head:first-child { margin-top: 0; }
.account-hours > .section-head:first-child h2 {
    font-size: 1.5rem;
    letter-spacing: 0.03em;
}

.airspace-map {
    height: min(70vh, 44rem);
    min-height: 28rem;
    width: 100%;
    margin: 0 0 0.75rem;
    border: 1px solid var(--czeg-line);
    background: var(--czeg-charcoal);
}

.airspace-label {
    background: none;
    border: 0;
    box-shadow: none;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #1F2933;
    text-shadow: 0 0 4px #fff, 0 0 8px #fff;
}

.czeg-plane-icon { background: none; border: 0; }
.czeg-plane { text-align: center; line-height: 1; }
.czeg-plane svg { width: 22px; height: 22px; fill: #C8102E; stroke: #C8102E; stroke-width: 0.6; display: block; margin: 0 auto; }
.czeg-plane.is-outside svg { fill: #718096; stroke: #718096; }
.czeg-callsign { display: block; font-size: 0.65rem; font-family: inherit; color: #1F2933; white-space: nowrap; }
.dir-card .pills { margin-top: 0.15rem; }
.dir-card .pill-twr.pill-solo,
.dir-card .pill-twr.pill-trg { color: var(--czeg-red); }
.dir-card .pill-arr.pill-solo,
.dir-card .pill-arr.pill-trg { color: var(--czeg-green); }
.dir-card .pill-ctr.pill-solo,
.dir-card .pill-ctr.pill-trg { color: var(--czeg-charcoal); }
.dir-card .pill-evt.pill-solo,
.dir-card .pill-evt.pill-trg { color: var(--czeg-sky); }

.panel {
    background: var(--czeg-white);
    border: 1px solid var(--czeg-line);
    padding: 0.85rem 1rem;
}

.event-banner {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    background: var(--czeg-charcoal);
    border: 1px solid var(--czeg-line);
}

.image-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.5rem;
    align-items: flex-end;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0.75rem 0 1.5rem;
}

.table-scroll table { margin: 0; min-width: 28rem; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-btn {
    display: none;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #4a5560;
    border-radius: 3px;
    padding: 0.45rem 0.85rem;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.2;
    min-height: 2.35rem;
    color: #d5dbe0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-btn:hover { color: var(--czeg-white); }

@media (max-width: 1680px) {
    .brand-tagline { display: none; }
    .site-header.is-signed-in .header-bar {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .site-header.is-signed-in .brand {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    .site-header.is-signed-in .header-end {
        order: 2;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
    .site-header.is-signed-in .nav-toggle-btn { display: inline-flex; align-items: center; justify-content: center; }
    .site-header.is-signed-in .nav-primary {
        order: 3;
        display: none;
        width: 100%;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: 0.25rem 0 0.5rem;
        text-align: center;
    }
    .site-header.is-signed-in .nav-toggle:checked ~ .nav-primary { display: flex; }
    .site-header.is-signed-in .nav-primary a {
        padding: 0.75rem 0.35rem;
        min-height: 2.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .site-header.is-signed-in .staff-bar-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .header-bar {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .brand {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    .header-end {
        order: 2;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
    .nav-toggle-btn { display: inline-flex; align-items: center; justify-content: center; }
    .nav-primary {
        order: 3;
        display: none;
        width: 100%;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: 0.25rem 0 0.5rem;
        text-align: center;
    }
    .nav-toggle:checked ~ .nav-primary { display: flex; }
    .nav-primary a {
        padding: 0.75rem 0.35rem;
        min-height: 2.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .staff-bar-inner {
        justify-content: center;
        text-align: center;
    }
    .ops-layout,
    .board-pair:not(:has(.event-hero)) { grid-template-columns: 1fr; }
    .statline { flex-wrap: wrap; }
    .stat { min-width: 50%; }
    .strip { grid-template-columns: 2.2rem 1fr 1fr; }
    .strip .field, .strip .type { display: none; }
}

@media (max-width: 720px) {
    .header-bar {
        padding: 0.55rem 0.85rem;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .header-end { margin-left: 0; }
    .site-main { padding: 1.25rem 0.9rem 2.5rem; }
    .page-hero { display: block; }
    .account-rating { text-align: left; margin-top: 0.85rem; }
    .clocks {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
        text-align: left;
        margin-top: 0.8rem;
    }
    .zulu { text-align: left; }
    .wx-row summary {
        grid-template-columns: 4rem 1fr auto;
    }
    .wx-row summary .wx-fig:nth-of-type(2) { display: none; }
    .event-hero img { max-height: 16rem; }
    .dir-grid { grid-template-columns: 1fr; }
    .dir-strip { grid-template-columns: 1fr; }
    .dir-thumb,
    .dir-thumb img { min-height: 8.5rem; max-height: 10rem; }
    .stat { min-width: 100%; border-right: none; border-bottom: 1px solid var(--czeg-line); }
    .stat:last-child { border-bottom: none; }
    h1 { font-size: 1.7rem; }
    input[type="text"],
    input[type="number"],
    input[type="url"],
    input[type="email"],
    input[type="datetime-local"],
    input[type="file"],
    select,
    textarea {
        width: 100%;
        max-width: 100%;
    }
    .site-footer { padding: 1rem 0.9rem; }
}

.airport-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.6rem;
}
.airport-col {
    min-width: 0;
    background: var(--czeg-paper);
    border: 1px solid var(--czeg-paper-line);
    padding: 0.75rem 0.85rem 0.9rem;
}
.airport-col h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 0.15rem;
}
.airport-col > .meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--czeg-muted);
    margin: 0 0 0.65rem;
}
.airport-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.airport-col li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.2rem 0.6rem;
    margin: 0 0 0.45rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--czeg-paper-line);
}
.airport-col li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}
.airport-col li .who {
    font-weight: 600;
    line-height: 1.25;
}
.airport-col li .row-meta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
}
.airport-col .muted { font-size: 0.8rem; }
