:root{color-scheme:dark;--ink:#eaf6f3;--muted:#a4bbc2;--accent:#8ae5c9;--edge:#2f4c53;--panel:#142329;font:16px/1.55 system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:radial-gradient(ellipse at top right,#204247,transparent 54%),#0b1519}header,main{width:min(1060px,calc(100% - 32px));margin:auto}header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0;border-bottom:1px solid var(--edge);font-size:.84rem;letter-spacing:.08em}header small{color:var(--accent);border:1px solid var(--edge);border-radius:1rem;padding:.3rem .5rem;white-space:nowrap}.hero{padding:3rem 0 1rem;max-width:720px}h1,h2,p{margin:.25rem 0 .8rem}h1,h2{font-family:Georgia,serif;font-weight:500}h1{font-size:clamp(2.45rem,7vw,4.6rem);line-height:1.05;letter-spacing:-.045em}h2{font-size:1.9rem}.label{color:var(--accent);font-family:ui-monospace,monospace;font-size:.77rem;letter-spacing:.09em}.muted,footer,.meta{color:var(--muted)}a{color:var(--accent)}nav,#stats,.filters{display:flex;flex-wrap:wrap;gap:.65rem;margin:.8rem 0}nav a,#stats span{border:1px solid var(--edge);border-radius:.45rem;padding:.45rem .7rem;font-size:.9rem}.panel{margin:1rem 0;padding:clamp(.95rem,3vw,1.65rem);background:var(--panel);border:1px solid var(--edge);border-radius:.8rem}img{display:block;width:100%;max-height:450px;background:#090f12;object-fit:contain;border-radius:.5rem}.assets img{max-width:280px;max-height:210px}.assets audio{max-width:100%}.assets{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:.5rem}.filters label{display:grid;gap:.2rem;color:var(--muted);font-size:.85rem}select,input{font:inherit;color:var(--ink);background:#0b181d;border:1px solid var(--edge);border-radius:.35rem;padding:.4rem .5rem}article{display:grid;grid-template-columns:minmax(155px,1fr) 2fr;gap:1rem;border-top:1px solid var(--edge);padding:.9rem 0}.meta{display:block;font-size:.84rem}.air-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:1rem}#radar{width:100%;border:1px solid var(--edge);border-radius:.6rem;background:#0a171d}table{width:100%;border-collapse:collapse;font-size:.82rem}td,th{padding:.28rem .36rem;text-align:left;border-bottom:1px solid var(--edge)}#air-table{max-height:360px;overflow:auto}footer{padding:1rem 0 2rem;font-size:.83rem}@media(max-width:625px){article,.air-grid{grid-template-columns:1fr}article{gap:.3rem}.hero{padding-top:2rem}.filters label{flex-grow:1}}

#packet-list details{border-top:1px solid #32545a;padding:.75rem 0}
#packet-list summary{cursor:pointer}
#packet-list summary .meta{display:block;margin-left:1.15rem}
#packet-list pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#101a20;padding:1rem;border-radius:6px}

.aircraft-page{width:min(1800px,calc(100% - 28px))}
.flight-title{display:flex;align-items:baseline;gap:1rem;flex-wrap:wrap}
.flight-title h1{font-size:clamp(1.8rem,4vw,2.7rem)}
.flight-title p{margin:0}
.flight-map{display:block;width:100%;height:calc(100dvh - 205px);min-height:440px;margin-top:.65rem;border:1px solid var(--edge);border-radius:.55rem;background:#142329}
nav a[aria-current=page]{background:#1e393d;color:#eaf6f3}

.schedule-status{text-transform:uppercase;font-size:.8rem;letter-spacing:.08em;color:var(--muted);margin-bottom:.15rem}
.schedule-status[data-state=Recording]{color:#8affb6;font-weight:700}
.schedule-status[data-state=Queued]{color:#aee7ff}
.schedule-status[data-state="Capture issue"],.schedule-status[data-state="Queue offline"]{color:#ffd098}

.packet-readings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:.8rem;margin:.75rem 0}
.packet-readings section{padding:.75rem;border:1px solid var(--edge);border-radius:.5rem;background:#102026}
.packet-readings h3{margin:0 0 .35rem;font-size:1rem}
.packet-readings dl{margin:0;display:grid;grid-template-columns:minmax(95px,1fr) minmax(100px,1.4fr);gap:.25rem .7rem;font-size:.87rem}
.packet-readings dt{color:var(--muted)}
.packet-readings dd{margin:0;overflow-wrap:anywhere}

/* KC3LVG Gear colors, with lighter accent text for contrast on dark panels. */
:root{
 --kc-black:#101214;
 --kc-charcoal:#25282b;
 --kc-blue:#0866c6;
 --kc-blue-dark:#064d98;
 --kc-orange:#f26722;
 --ink:#f5f6f7;
 --muted:#c2c8cf;
 --accent:#ff9a5e;
 --link:#8bc6ff;
 --edge:#49515a;
 --panel:#1c2024;
 --well:#14191e;
}
body{background:radial-gradient(ellipse at top right,#172b41,transparent 55%),var(--kc-black)}
header{border-bottom:2px solid var(--kc-blue)}
header strong{color:var(--ink);border-inline-start:4px solid var(--kc-orange);padding-inline-start:.65rem}
a{color:var(--link)}
a:hover{color:var(--ink)}
nav a{background:var(--kc-charcoal)}
nav a:hover,nav a[aria-current=page]{color:#fff;background:var(--kc-blue-dark);border-color:#407fc0}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#stats span,select,input,.packet-readings section,#packet-list pre,.flight-map{background:var(--well)}
#packet-list details{border-top-color:var(--edge)}
.schedule-status[data-state=Recording]{color:#92edbd}
.schedule-status[data-state=Queued]{color:var(--link)}
.schedule-status[data-state="Capture issue"],.schedule-status[data-state="Queue offline"]{color:var(--accent)}

.health-grid,.receiver-grid{display:grid;gap:.65rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr))}
.health-card,.receiver-cell{border:1px solid #4b535b;border-radius:.55rem;padding:.7rem;background:#191d21;min-width:0;overflow-wrap:anywhere}
.health-card h3{margin:0 0 .4rem;font-size:1rem}.health-card p{margin:.28rem 0;font-size:.9rem}
.health-card[data-state="active"],.health-card[data-state="decoding"]{border-color:#419fff}
.health-card[data-state="stale"],.health-card[data-state="error"],.health-card[data-state="offline"],.health-card[data-state="job_error"],.health-card[data-state="retrying"]{border-color:#f26722}
.receiver-grid{margin:.55rem 0}.receiver-cell small{display:block;margin-top:.25rem}
.rx-decode[data-state="error"]{color:#ff9e74}.rx-decode[data-state="untested"]{color:#ffcc80}.rx-decode[data-state="zero"]{color:#c3ced9}.rx-decode[data-state="decoded"]{color:#95e0ab}

/* Meteor scan-line statistics */
.meteor-lines-wrap{max-width:100%;overflow-x:auto;margin:.55rem 0;overscroll-behavior-inline:contain}
.meteor-lines{width:100%;border-collapse:collapse;font-size:.86rem;line-height:1.3;font-variant-numeric:tabular-nums}
.meteor-lines caption{text-align:left;font-weight:650;margin-bottom:.3rem}
.meteor-lines th,.meteor-lines td{padding:.35rem .55rem;border-bottom:1px solid currentColor;text-align:right;white-space:nowrap}
.meteor-lines th:first-child{text-align:left}
.meteor-lines thead th{white-space:normal}

/* Private schedule: time-proportional radio lanes. */
.guide-tools,.guide-nav{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}
.guide-tools{justify-content:space-between;margin:.5rem 0}
.guide-tools strong,.guide-legend,.guide-note,.guide-detail{font-size:.83rem}
.guide-nav button{font:inherit;font-size:.85rem;color:var(--ink);background:#15191d;border:1px solid var(--edge);border-radius:.35rem;padding:.3rem .65rem;cursor:pointer}
#guide-scroll{overflow-x:auto;border:1px solid var(--edge);border-radius:.5rem;background:#111619}
#guide-grid{min-width:1000px}
.guide-row{display:grid;grid-template-columns:150px minmax(0,1fr);border-bottom:1px solid var(--edge)}
.guide-row:last-child{border-bottom:0}
.guide-radio{position:sticky;left:0;z-index:3;background:var(--panel);font-size:.82rem;padding:.58rem .65rem;border-right:1px solid var(--edge)}
.guide-track{position:relative;background:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 6 - 1px),var(--edge) calc(100% / 6 - 1px),var(--edge) calc(100% / 6))}
.guide-ticks{display:grid;grid-template-columns:repeat(6,1fr);font-size:.8rem;color:var(--muted)}
.guide-ticks span{padding:.58rem .35rem;border-right:1px solid var(--edge)}
.guide-ticks span:last-child{border-right:0}
.guide-idle{position:absolute;top:15px;left:.45rem;font-size:.8rem;color:var(--muted)}
.guide-program{position:absolute;display:block;height:54px;overflow:hidden;text-align:left;padding:3px 4px;border:1px solid #66503f;border-radius:.3rem;background:#503922;color:#fff2db;font:inherit;line-height:1.18;cursor:pointer}
.guide-program .guide-peak,.guide-program strong,.guide-program small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guide-program .guide-peak{font-size:.75rem;font-weight:750;font-variant-numeric:tabular-nums}.guide-program strong{font-size:.77rem}.guide-program small{font-size:.67rem;margin-top:3px}
.guide-program[data-state="Queued"]{background:#233f56;border-color:#547998;color:#e3f4ff}
.guide-program[data-state="Recording"]{background:#20503a;border-color:#65be8c;color:#e5fff1}
.guide-program[data-state="Recorded"]{background:#353d46;border-color:#657481;color:#f3f6f8}
.guide-program:hover,.guide-program:focus-visible,.guide-program[aria-pressed="true"]{z-index:2;outline:2px solid var(--accent);outline-offset:-2px}
.guide-marker{position:absolute;top:0;bottom:0;width:2px;background:var(--accent);pointer-events:none;z-index:2}
.guide-detail{min-height:2.6em;padding:.5rem .65rem;background:#15191d;border-radius:.35rem;margin:.7rem 0 .4rem}
@media(max-width:625px){.guide-row{grid-template-columns:108px minmax(0,1fr)}#guide-grid{min-width:958px}.guide-radio{padding:.5rem .35rem}}

.page-guide summary{cursor:pointer;color:var(--accent);font-weight:600}.page-guide p:first-of-type{margin-top:.8rem}.page-guide p:last-child{margin-bottom:0}
