/* GROUND STOP. Paper flight strips on a dark tower console. B612 was drawn for cockpit displays. */
@font-face { font-family: "B612"; src: url(/fonts/b612-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "B612"; src: url(/fonts/b612-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url(/fonts/b612mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url(/fonts/b612mono-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #07090c; --panel: #0d1116; --panel2: #121820; --line: #1e2630; --ink: #e9edf2; --dim: #8492a3; --faint: #54606f;
  --paper: #efe6cf; --paper2: #e4d9bd; --pink: #f3d3cc; --pink2: #eac3ba; --pen: #16181c; --rule: rgba(22, 24, 28, .28);
  --amber: #ffb81c; --red: #ff4838; --green: #5fe38a; --cyan: #49d8ff;
  --ui: "B612", system-ui, sans-serif; --mono: "B612 Mono", ui-monospace, monospace;
  --strip-h: 68px; --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); font-family: var(--ui); font-size: 15px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background:
  linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 100% 34px,
  linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 34px 100%, var(--bg); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--ui); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.dim { color: var(--dim); } .small { font-size: 12px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ the tower bar */
.top { position: fixed; inset: 0 0 auto 0; height: 64px; z-index: 30; display: flex; align-items: center; gap: 22px; padding: 0 18px;
  background: #090c10; border-bottom: 1px solid var(--line); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: repeating-linear-gradient(90deg, var(--amber) 0 14px, transparent 14px 28px); opacity: .5; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.wordmark { font-family: var(--mono); font-weight: 700; letter-spacing: .16em; font-size: 15px; }
.wordmark b { color: var(--red); margin-left: .45em; }
.net { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; padding: 2px 6px; border: 1px solid var(--amber); color: var(--amber); border-radius: 2px; text-transform: uppercase; }
.k { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.zulu { flex: none; }
.zulu b { font-size: 19px; letter-spacing: .04em; color: var(--green); }
.approach { flex: 1; min-width: 120px; height: 26px; position: relative; display: flex; align-items: center; justify-content: space-between; padding: 0 4px; overflow: hidden; }
.approach i { width: 9px; height: 9px; border-radius: 50%; background: #1b222b; flex: none; transition: background .4s, box-shadow .4s; }
.approach i.on { background: var(--amber); box-shadow: 0 0 9px rgba(255, 184, 28, .7); }
.approach i.now { background: #fff; box-shadow: 0 0 12px #fff; animation: blink 1s steps(2, jump-none) infinite; }
.approach i.shot { outline: 1px solid var(--cyan); outline-offset: 2px; }
.approach .rabbit { position: absolute; left: 0; top: 50%; width: 46px; height: 3px; margin-top: -1.5px; border-radius: 2px; background: linear-gradient(90deg, transparent, #fff); opacity: .0; will-change: transform; }
.approach.live .rabbit { animation: rabbit 2.4s linear infinite; }
@keyframes rabbit { 0% { transform: translateX(-60px); opacity: 0; } 12% { opacity: .75; } 88% { opacity: .75; } 100% { transform: translateX(var(--run, 600px)); opacity: 0; } }
@keyframes blink { 0% { opacity: 1; } 100% { opacity: .25; } }
.potbox { display: flex; gap: 22px; flex: none; }
.potbox .cell b { font-size: 19px; color: var(--amber); }
.potbox .cell i { font-style: normal; font-size: 11px; color: var(--dim); margin-left: 5px; }
/* the wallet: a boarding pass with a torn stub */
.pass { flex: none; display: flex; align-items: stretch; height: 38px; padding: 0; border: 0; background: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.5)); transition: transform .25s var(--ease); }
.pass:hover { transform: translateY(-2px) rotate(-1deg); }
.pass-stub { display: grid; place-items: center; padding: 0 9px; background: var(--amber); color: #111; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .1em; border-radius: 5px 0 0 5px;
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 5px, #000 5.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 5px, #000 5.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 100% 0, transparent 5px, #000 5.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 5px, #000 5.5px) bottom / 100% 51% no-repeat; }
.pass-main { display: grid; place-items: center; padding: 0 14px 0 12px; background: var(--paper); color: var(--pen); font-family: var(--mono); font-weight: 700; font-size: 12px; border-radius: 0 5px 5px 0; border-left: 2px dashed rgba(0,0,0,.35);
  -webkit-mask: radial-gradient(circle at 0 0, transparent 5px, #000 5.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 5px, #000 5.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent 5px, #000 5.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 5px, #000 5.5px) bottom / 100% 51% no-repeat; }
.pass.on .pass-stub { background: var(--green); }

/* ------------------------------------------------------------------ the board */
main { padding: 64px 18px 110px; max-width: 1500px; margin: 0 auto; }
.hero { padding: 14px 0 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 500px); gap: 14px 44px; align-items: center; }
.hero h1 { margin: 0; font-family: var(--ui); font-weight: 700; font-size: clamp(28px, 3.7vw, 56px); line-height: 1.04; letter-spacing: -.015em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-sub { margin: 16px 0 0; color: var(--dim); font-size: 16px; line-height: 1.5; max-width: 52ch; }
/* the heaviest weather on the board right now: departure-board lines */
.heroline { margin-top: 22px; display: grid; gap: 6px; max-width: 560px; }
.heroline a { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 3px; text-decoration: none; font-size: 13px; transition: transform .25s var(--ease), border-color .2s; animation: slidein .5s var(--ease) backwards; }
.heroline a:nth-child(2) { animation-delay: .07s; } .heroline a:nth-child(3) { animation-delay: .14s; }
.heroline a:hover { transform: translateX(5px); border-color: #3a4654; }
.heroline a.hold { border-left-color: var(--red); }
.heroline a b { font-family: var(--mono); font-size: 17px; letter-spacing: .04em; }
.heroline a span { color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heroline a i { font-style: normal; color: var(--amber); font-weight: 700; white-space: nowrap; } .heroline a.hold i { color: var(--red); }
.heroline .calm { color: var(--dim); font-size: 13px; padding: 8px 0; }
/* the planet */
.globe-box { display: grid; gap: 4px; justify-items: center; }
.globe { position: relative; width: 100%; aspect-ratio: 1; user-select: none; -webkit-user-select: none; }
.globe::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #17304a 0, #0c1b2a 42%, #070d15 100%); box-shadow: 0 0 0 1px rgba(140, 210, 255, .12), 0 0 70px rgba(73, 216, 255, .13), 0 30px 60px rgba(0, 0, 0, .55); }
.globe::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, transparent 58%, rgba(4, 7, 11, .5) 100%); pointer-events: none; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.g-tip { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; will-change: transform; min-width: 150px; max-width: 250px; padding: 8px 10px; background: var(--paper); color: var(--pen); border-radius: 3px; box-shadow: 0 8px 22px rgba(0, 0, 0, .6); font-size: 12px; line-height: 1.35; }
.g-tip.left { margin-left: -280px; text-align: right; min-width: 250px; }
.g-tip b { font-family: var(--mono); font-size: 15px; margin-right: 6px; } .g-tip em { font-style: normal; font-weight: 700; display: block; }
.feedline { grid-column: 1 / -1; font-size: 12px; color: var(--green); padding: 9px 12px; border: 1px solid var(--line); background: var(--panel); border-radius: 3px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.feedline .led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; animation: blink 1.4s ease-in-out infinite alternate; }
.feedline.stale { color: var(--red); } .feedline.stale .led { background: var(--red); }
.feedline a { color: var(--dim); }
.deck { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.rack { position: relative; }
.bay, .strip { position: absolute; left: 0; right: 0; top: 0; will-change: transform; transition: transform .8s var(--ease), opacity .4s; }
.bay { height: 36px; display: flex; align-items: flex-end; gap: 12px; padding: 0 2px 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.bay b { color: var(--ink); font-size: 12px; }
.bay .n { margin-left: auto; }
.bay.hold b { color: var(--red); } .bay.watch b { color: var(--amber); } .bay.clear b { color: var(--green); }

/* a flight strip */
.strip { height: var(--strip-h); display: grid; grid-template-columns: 9px 92px minmax(120px, 1fr) minmax(170px, 1.35fr) 100px 124px 150px 108px; align-items: stretch;
  background: linear-gradient(180deg, var(--paper), var(--paper2)); color: var(--pen); border-radius: 3px; overflow: hidden; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 3px 0 #05070a, 0 4px 14px rgba(0,0,0,.45); }
.strip > div { padding: 8px 10px; border-right: 1px solid var(--rule); min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.strip > div:last-child { border-right: 0; }
.strip .holder { padding: 0; border: 0; background: var(--faint); }
.strip:hover { filter: brightness(1.04); }
.strip:hover .s-code b { transform: translateX(3px); }
.strip .lbl { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; opacity: .62; white-space: nowrap; }
.strip .val { font-family: var(--ui); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip .sub { font-size: 11.5px; opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-code b { font-family: var(--mono); font-size: 30px; line-height: 1; letter-spacing: .02em; transition: transform .25s var(--ease); }
.s-name .val { font-family: var(--ui); font-size: 15px; }
.pips { display: flex; gap: 3px; margin-top: 4px; }
.pips i { width: 11px; height: 11px; border: 1.5px solid var(--pen); border-radius: 1px; opacity: .35; }
.pips i.f { background: var(--pen); opacity: 1; }
.fill { height: 5px; margin-top: 5px; background: rgba(0,0,0,.14); border-radius: 2px; overflow: hidden; }
.fill i { display: block; height: 100%; width: 100%; background: var(--pen); transform-origin: left; transition: transform .8s var(--ease); }
.s-act { align-items: stretch !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 12px; border: 2px solid var(--pen); background: transparent; color: var(--pen); font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px; text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; transition: color .2s; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--pen); transform: translateY(101%); transition: transform .28s var(--ease); }
.btn > * , .btn { z-index: 0; } .btn span { position: relative; }
.btn:hover { color: var(--paper); } .btn:hover::before { transform: none; }
.btn.go { background: var(--pen); color: var(--amber); } .btn.go::before { background: var(--amber); } .btn.go:hover { color: var(--pen); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.dark { border-color: var(--ink); color: var(--ink); } .btn.dark::before { background: var(--ink); } .btn.dark:hover { color: var(--bg); }
.btn.dark.go { background: var(--amber); border-color: var(--amber); color: #111; } .btn.dark.go::before { background: #fff; }
/* states */
.strip.hold { background: linear-gradient(180deg, var(--pink), var(--pink2)); }
.strip.hold .holder { background: var(--red); animation: blink 1s ease-in-out infinite alternate; }
.strip.hold .s-status .val { color: #b3160a; }
.strip.watch .holder { background: var(--amber); }
.strip.clear .holder { background: #2c9a52; }
.strip.shut { background: #161c24; color: #aeb9c6; box-shadow: 0 0 0 1px #2a3440 inset, 0 3px 0 #05070a; }
.strip.shut > div { border-right-color: rgba(255,255,255,.08); }
.strip.shut .holder { background: #2a3440; }
.strip.shut.watch .holder { background: var(--amber); }
.strip.shut .pips i { border-color: #aeb9c6; } .strip.shut .pips i.f { background: #aeb9c6; }
.strip.shut .btn { border-color: var(--amber); color: var(--amber); } .strip.shut .btn::before { background: var(--amber); } .strip.shut .btn:hover { color: #111; }
.strip.paid { animation: paid 1.6s var(--ease); }
@keyframes paid { 0% { box-shadow: 0 0 0 0 rgba(95, 227, 138, .9), 0 3px 0 #05070a; } 100% { box-shadow: 0 0 0 22px rgba(95, 227, 138, 0), 0 3px 0 #05070a; } }
.stamp { display: inline-block; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .1em; padding: 1px 5px; border: 1.5px solid currentColor; border-radius: 2px; text-transform: uppercase; transform: rotate(-3deg); margin-left: 6px; opacity: .8; }

/* ------------------------------------------------------------------ the side: scope and squawk */
.side { position: sticky; top: 84px; display: grid; gap: 14px; }
.scope-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 10.5px; color: var(--dim); justify-content: center; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.hold { background: var(--red); } .dot.watch { background: var(--amber); } .dot.clear { background: var(--green); } .dot.shut { background: none; box-shadow: 0 0 0 1.5px #6b7a8c inset; }
.squawk { border: 1px solid var(--line); background: var(--panel); border-radius: 3px; }
.squawk-h { display: flex; justify-content: space-between; padding: 9px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.squawk ol { list-style: none; margin: 0; padding: 4px 0; max-height: min(64vh, 620px); overflow: auto; font-size: 11.5px; }
.squawk li { display: grid; grid-template-columns: 46px 34px 1fr; gap: 8px; padding: 4px 12px; color: var(--dim); }
.squawk li b { color: var(--ink); } .squawk li.up b { color: var(--red); } .squawk li.off b { color: var(--green); }
.squawk li.new { animation: slidein .6s var(--ease); }
.squawk li[data-go] { cursor: pointer; } .squawk li[data-go]:hover { background: rgba(255, 255, 255, .03); }
@keyframes slidein { from { opacity: 0; transform: translateX(14px); } }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--faint); }
.foot a { margin-left: 14px; color: var(--dim); }

/* ------------------------------------------------------------------ the runway (navigation) */
.runway { position: fixed; left: 0; right: 0; bottom: 14px; z-index: 30; display: flex; justify-content: center; align-items: center; gap: 10px; pointer-events: none; padding: 0 10px; }
/* the project's X account: a tile parked next to the runway */
.rw-x { pointer-events: auto; flex: none; display: grid; place-items: center; width: 52px; height: 52px; background: #171b20; color: #e9edf2; border-radius: 4px; box-shadow: 0 0 0 1px #2a3038, 0 12px 34px rgba(0,0,0,.7); transition: transform .25s var(--ease), background .2s, color .2s; }
.rw-x:hover { transform: translateY(-3px); background: var(--amber); color: #111; }
.rw-strip { pointer-events: auto; position: relative; display: flex; align-items: stretch; height: 52px; padding: 0 34px; background: #171b20; border-radius: 4px; box-shadow: 0 0 0 1px #2a3038, 0 12px 34px rgba(0,0,0,.7); }
.rw-strip::before { content: ""; position: absolute; left: 34px; right: 34px; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 16px, transparent 16px 34px); opacity: .22; }
.rw-keys { position: absolute; top: 7px; bottom: 7px; width: 20px; background: repeating-linear-gradient(180deg, #e9edf2 0 4px, transparent 4px 8px); opacity: .55; }
.rw-keys.l { left: 8px; } .rw-keys.r { right: 8px; }
.rw-strip a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0 20px; text-decoration: none; color: var(--dim); transition: color .2s; }
.rw-strip a b { font-family: var(--mono); font-size: 16px; line-height: 1; color: #e9edf2; opacity: .5; transition: opacity .2s, transform .3s var(--ease); }
.rw-strip a span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.rw-strip a:hover, .rw-strip a.on { color: var(--ink); }
.rw-strip a:hover b, .rw-strip a.on b { opacity: 1; transform: translateY(-1px); }
.rw-strip a.on b { color: var(--amber); }
.rw-plane { position: absolute; left: 0; top: -15px; color: var(--amber); transform: translateX(60px) rotate(90deg); transition: transform .7s var(--ease); filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); pointer-events: none; }

/* ------------------------------------------------------------------ pages */
.page { max-width: 1040px; margin: 0 auto; padding: 30px 0 10px; animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.page h2 { font-family: var(--ui); font-size: clamp(26px, 3.4vw, 42px); margin: 0 0 6px; letter-spacing: -.015em; }
.page h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 26px 0 10px; font-weight: 400; }
.page p { line-height: 1.55; color: #c3ccd7; max-width: 70ch; }
.lead { color: var(--dim) !important; font-size: 16px; }
.back { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); text-decoration: none; margin-bottom: 14px; }
.back:hover { color: var(--ink); }
.card { border: 1px solid var(--line); background: var(--panel); border-radius: 3px; padding: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat .k { margin-bottom: 4px; } .stat b { font-family: var(--ui); font-variant-numeric: tabular-nums; font-size: 21px; }
.stat b.amber { color: var(--amber); } .stat b.red { color: var(--red); } .stat b.green { color: var(--green); }
.bigstrip { display: grid; grid-template-columns: 12px auto 1fr auto; align-items: stretch; background: linear-gradient(180deg, var(--paper), var(--paper2)); color: var(--pen); border-radius: 3px; overflow: hidden; box-shadow: 0 4px 0 #05070a, 0 10px 30px rgba(0,0,0,.5); }
.bigstrip.hold { background: linear-gradient(180deg, var(--pink), var(--pink2)); }
.bigstrip > div { padding: 16px 18px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.bigstrip .holder { padding: 0; background: var(--faint); } .bigstrip.hold .holder { background: var(--red); animation: blink 1s ease-in-out infinite alternate; }
.bigstrip.clear .holder { background: #2c9a52; } .bigstrip.watch .holder { background: var(--amber); }
.bigstrip .code { font-family: var(--mono); font-weight: 700; font-size: clamp(44px, 7vw, 84px); line-height: .95; }
.bigstrip .st { font-family: var(--ui); font-weight: 700; font-size: clamp(16px, 2.2vw, 24px); }
.bigstrip .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .62; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ca { font-family: var(--mono); font-size: 12px; word-break: break-all; color: var(--ink); background: var(--panel2); border: 1px dashed var(--line); padding: 8px 10px; border-radius: 3px; cursor: copy; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 6px 8px; border-bottom: 1px solid var(--line); }
table.t td { padding: 8px; border-bottom: 1px solid rgba(255,255,255,.05); font-variant-numeric: tabular-nums; }
table.t tr.row { cursor: pointer; } table.t tr.row:hover td { background: rgba(255,255,255,.03); }
.tl { position: relative; height: 54px; border: 1px solid var(--line); background: var(--panel2); border-radius: 3px; overflow: hidden; }
.tl i { position: absolute; bottom: 0; background: var(--amber); min-width: 2px; }
.tl i.p5 { background: var(--red); } .tl i.p0 { background: #3a4654; }
.tl-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--faint); margin-top: 4px; }
.ticks { display: grid; grid-template-columns: repeat(60, 1fr); gap: 2px; }
.ticks i { height: 22px; background: #1a212a; border-radius: 1px; }
.ticks i.p1 { background: #6b5a1e; } .ticks i.p2 { background: #a37a17; } .ticks i.p3 { background: var(--amber); } .ticks i.p4 { background: #ff7a2a; } .ticks i.p5 { background: var(--red); } .ticks i.void { background: repeating-linear-gradient(45deg, #1a212a 0 3px, #2a1414 3px 6px); }
.bar { height: 8px; background: #1a212a; border-radius: 2px; overflow: hidden; } .bar i { display: block; height: 100%; background: var(--amber); transform-origin: left; }
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ladder div { border: 1px solid var(--line); background: var(--panel); padding: 12px; border-radius: 3px; }
.ladder b { display: block; font-family: var(--ui); font-size: 28px; color: var(--amber); } .ladder div:last-child b { color: var(--red); }
.wxrow { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-variant-numeric: tabular-nums; font-size: 13px; }
.flag { display: inline-block; padding: 1px 6px; margin: 0 4px 2px 0; border-radius: 2px; background: #1a212a; color: var(--dim); }
.flag.bad { background: rgba(255, 72, 56, .16); color: #ff9a8f; } .flag.warn { background: rgba(255, 184, 28, .14); color: var(--amber); }
pre.raw { font-family: var(--mono); font-size: 11.5px; white-space: pre-wrap; color: var(--dim); margin: 8px 0 0; }
label.f { display: block; margin: 12px 0 0; } label.f > span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 5px; }
input, textarea, select { width: 100%; background: #080b0f; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; padding: 10px 11px; font: 15px var(--ui); outline: none; }
input:focus, textarea:focus { border-color: var(--amber); }
.row-in { display: flex; gap: 8px; align-items: center; } .row-in .btn { flex: none; height: 40px; }
.note { font-size: 12.5px; color: var(--dim); line-height: 1.5; }
.warnbox { border: 1px solid rgba(255, 184, 28, .4); background: rgba(255, 184, 28, .07); color: #ffd98a; padding: 11px 13px; border-radius: 3px; font-size: 13px; line-height: 1.5; }
.errbox { color: #ff9a8f; font-size: 13px; margin-top: 8px; min-height: 18px; }

/* ------------------------------------------------------------------ sheet and toast */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(3, 5, 7, .78); display: grid; place-items: center; padding: 18px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet-card { width: min(460px, 100%); max-height: 88vh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: 3px; padding: 20px; animation: rise .35s var(--ease); }
.sheet-card h3 { margin: 0 0 4px; font-family: var(--mono); font-size: 20px; }
.pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; margin-top: 8px; background: var(--panel2); border: 1px solid var(--line); border-radius: 3px; text-align: left; }
.pick:hover { border-color: var(--amber); } .pick img { width: 26px; height: 26px; border-radius: 5px; }
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 60; transform: translateX(-50%); background: var(--paper); color: var(--pen); font-family: var(--ui); font-size: 13.5px; font-weight: 700; padding: 11px 16px; border-radius: 3px; box-shadow: 0 10px 30px rgba(0,0,0,.6); max-width: min(560px, 92vw); animation: rise .35s var(--ease); }

/* ------------------------------------------------------------------ phones */
@media (max-width: 1180px) { .zulu { display: none; } .strip { grid-template-columns: 9px 84px minmax(110px, 1fr) minmax(150px, 1.3fr) 80px 120px 0 100px; } .strip .s-cap { display: none; } }
@media (max-width: 900px) {
  :root { --strip-h: 118px; }
  .top { gap: 10px; padding: 0 12px; height: 56px; } .approach { display: none; } .wordmark { font-size: 13px; }
  .potbox { gap: 12px; margin-left: auto; } .potbox .cell:nth-child(2) { display: none; } .potbox .cell b { font-size: 15px; }
  .pass-stub { display: none; } .pass-main { border-radius: 5px; border-left: 0; -webkit-mask: none; mask: none; padding: 0 10px; font-size: 11px; }
  main { padding: 56px 12px 96px; }
  .hero { grid-template-columns: 1fr; padding-top: 18px; } .globe-box { order: -1; } .globe { max-width: 360px; } .g-tip.left { margin-left: -230px; min-width: 200px; }
  .deck { grid-template-columns: 1fr; } .side { position: static; order: -1; grid-template-columns: 1fr; } .squawk ol { max-height: 120px; }
  .strip { grid-template-columns: 9px 78px 1fr 96px; grid-template-rows: 1fr 1fr; }
  .strip .holder { grid-row: 1 / 3; } .strip .s-code { grid-row: 1 / 3; } .strip .s-name { grid-column: 3; grid-row: 1; border-bottom: 1px solid var(--rule); }
  .strip .s-status { grid-column: 3; grid-row: 2; } .strip .s-pts { grid-column: 4; grid-row: 1; border-right: 0; border-bottom: 1px solid var(--rule); }
  .strip .s-act { grid-column: 4; grid-row: 2; border-right: 0; padding: 6px; } .strip .s-hour, .strip .s-cap { display: none; }
  .strip .btn { height: 100%; padding: 0 6px; font-size: 10px; } .s-code b { font-size: 25px; }
  .runway { gap: 7px; padding: 0 8px; } .rw-x { width: 44px; }
  .rw-strip { padding: 0 20px; flex: 1; min-width: 0; justify-content: space-between; } .rw-strip a { padding: 0 5px; } .rw-strip a span { font-size: 9px; letter-spacing: .06em; white-space: nowrap; } .rw-keys { width: 10px; } .rw-keys.l { left: 5px; } .rw-keys.r { right: 5px; }
  .grid2, .grid3 { grid-template-columns: 1fr; } .ladder { grid-template-columns: repeat(2, 1fr); }
  .bigstrip { grid-template-columns: 10px 1fr; } .bigstrip > div { border-right: 0; border-bottom: 1px solid var(--rule); } .bigstrip .holder { grid-row: 1 / 5; }
  .ticks { grid-template-columns: repeat(30, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
