:root { color-scheme: dark; font-family: "Segoe UI", Arial, sans-serif; color: #f4f7fb; background: #09131f; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; padding: 24px 28px 18px; }
h1, h2, p { margin: 0; }
.board-header { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 24px; }
.airport-heading { min-width: 0; }
.eyebrow { color: #a9c5df; font-size: 23px; font-weight: 600; letter-spacing: .05em; margin-bottom: 8px; }
h1 { font-size: clamp(30px, 2.7vw, 52px); line-height: 1.12; overflow-wrap: anywhere; }
.clock-block { flex-shrink: 0; text-align: right; }
.clock-block p { font-size: 21px; color: #b9c9d9; }
#theClock { display: block; font-size: 39px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.board-main { display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 24px; }
.map-panel, .flights-panel { min-width: 0; border: 1px solid #354759; border-radius: 8px; background: #101f2e; overflow: hidden; }
.map-panel { display: flex; flex-direction: column; }
.panel-heading { min-height: 70px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; border-bottom: 1px solid #354759; }
h2 { font-size: 27px; font-weight: 650; }
.panel-heading > span { color: #b9c9d9; font-size: 19px; }
iframe { display: block; width: 100%; border: 0; flex: 1; min-height: 380px; }
.map-caption { font-size: 19px; color: #b9c9d9; padding: 12px 18px; }
.flight-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.operation-col { width: 23%; } .flight-col { width: 19%; } .route-col { width: 17%; } .time-col { width: 24%; } .status-col { width: 17%; }
th { text-align: left; font-size: 19px; font-weight: 500; color: #b9c9d9; padding: 14px 10px; }
td { font-size: clamp(22px, 1.45vw, 28px); line-height: 1.1; padding: 6px 10px; height: 50px; border-top: 1px solid #304253; overflow-wrap: anywhere; }
th:first-child, td:first-child { padding-left: 18px; }
tbody tr:nth-child(odd) { background: #172a3c; }
.callsign { font-weight: 700; letter-spacing: .015em; }
.operation { font-size: 24px; font-weight: 650; white-space: nowrap; }
.arrival { color: #7ce6c2; } .departure { color: #91caff; }
.route-label { font-size: 17px; color: #b9c9d9; margin-right: 4px; }
.flight-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.flight-time small { display: inline; font-size: 16px; color: #b9c9d9; margin-left: 8px; }
.flight-status { font-size: 22px; }
.empty-state { padding: 48px 28px; font-size: 28px; line-height: 1.4; text-align: center; color: #c8d7e6; }
.board-footer { margin-top: 18px; font-size: 20px; }
.refresh-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 10px; }
#refresh-status { color: #7ce6c2; font-weight: 650; }
#refresh-status.warning { color: #ffd184; }
#last-refresh { color: #c8d7e6; font-variant-numeric: tabular-nums; }
.source-note { color: #e1eaf2; margin-bottom: 8px; }
.footer-details { display: flex; gap: 14px 24px; flex-wrap: wrap; align-items: center; color: #a9bdcf; font-size: 17px; }
.footer-details a { color: #b5d9ff; text-underline-offset: 4px; }
.brand { margin-left: auto; font-size: 23px; font-weight: 650; }
a:focus-visible { outline: 3px solid #ffd184; outline-offset: 4px; }
.flights-only .board-main { grid-template-columns: minmax(0, 1fr); }
.flights-only td { font-size: 32px; }
.flights-only .operation { font-size: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1500px) and (min-height: 950px) {
    body { height: 100vh; display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
    .board-main { min-height: 0; }
    .map-panel iframe { min-height: 0; }
}
@media (max-width: 1200px) {
    .board-main { grid-template-columns: 1fr; }
    .map-panel { min-height: 460px; }
    .clock-block { max-width: 45%; }
    #theClock { font-size: 28px; }
}
@media (max-width: 650px) {
    body { padding: 16px 10px; }
    .board-header { display: block; }
    .eyebrow { font-size: 16px; }
    .clock-block { max-width: none; text-align: left; margin-top: 18px; }
    .clock-block p { font-size: 17px; }
    .panel-heading { padding: 14px 12px; }
    h2 { font-size: 22px; }
    .panel-heading > span { font-size: 15px; }
    .map-panel { min-height: 350px; }
    iframe { min-height: 300px; }
    th { font-size: 12px; padding: 12px 4px; }
    td, .flights-only td { font-size: 16px; padding: 10px 4px; }
    th:first-child, td:first-child { padding-left: 6px; }
    .operation, .flights-only .operation { font-size: 13px; white-space: normal; }
    .operation > span { display: block; }
    .route-label, .flight-time small { font-size: 12px; }
    .route-label { display: block; margin-right: 0; }
    .flight-time small { display: block; margin-left: 0; margin-top: 3px; }
    .flight-status { font-size: 13px; }
    .board-footer { font-size: 16px; }
    .footer-details, .map-caption { font-size: 14px; }
}
@media (max-width: 380px) {
    .flight-time, .flights-only .flight-time { font-size: 14px; }
}
