/* Flight QRG · Ocean sky glass */
:root {
  --grad: linear-gradient(180deg, #031C26 0%, #06404D 40%, #0E6E73 72%, #5FB8A8 100%);
  --base: #031C26; --acc: #7FE3D0; --amb: #FFB547; --red: #FF8A8A; --sub: rgba(255,255,255,0.72); --dim: rgba(255,255,255,0.55);
  --glass: rgba(255,255,255,0.12); --glass-b: rgba(255,255,255,0.22); --line: rgba(255,255,255,0.14);
  --r: 20px; --tab-h: 56px;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { margin: 0; min-height: 100%; background: var(--base); }
body { margin: 0; min-height: 100%; background: transparent; }
body { font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; color: #fff; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
body::before { content: ""; position: fixed; left: 0; top: 0; width: 100%; height: 100lvh; background: var(--grad); z-index: -1; pointer-events: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--acc); }
.num { font-variant-numeric: tabular-nums; }

#app { min-height: 100%; }
.view { max-width: 1280px; margin: 0 auto; padding: calc(16px + var(--safe-t)) 18px calc(var(--tab-h) + 40px + var(--safe-b)) 18px; display: flex; flex-direction: column; gap: 12px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 34px; }
.top .meta { font-size: 13px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .actions { display: flex; gap: 8px; }
.kicker { font-size: 13px; color: var(--sub); }
.title { font-size: 32px; font-weight: 300; letter-spacing: -1px; line-height: 1.08; margin: 0; }
.title b, .hero b { font-weight: 600; color: var(--acc); }
.hero { font-size: 36px; font-weight: 300; letter-spacing: -1.3px; line-height: 1.06; margin: 2px 0 0; }
.sub { color: var(--sub); }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

.glass { background: var(--glass); border: 1px solid var(--glass-b); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-radius: var(--r); }
.card { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 15px; font-weight: 600; }
.card.acc { background: rgba(127,227,208,0.16); border-color: rgba(127,227,208,0.55); }
.card.warn { background: rgba(255,181,71,0.18); border-color: rgba(255,181,71,0.65); }
.card.bad { background: rgba(255,90,90,0.22); border-color: rgba(255,138,138,0.7); }
.card.info { }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--glass); border: 1px solid var(--glass-b); color: #fff; text-decoration: none; white-space: nowrap; }
.pill.on { background: #fff; color: var(--base); border-color: #fff; }
.pill .dot { width: 8px; height: 8px; border-radius: 4px; background: var(--acc); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 4px; flex-shrink: 0; }
.dot.good { background: var(--acc); } .dot.marginal { background: var(--amb); } .dot.poor { background: #FF6B6B; } .dot.none { background: rgba(255,255,255,0.4); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { padding: 11px 12px; display: flex; flex-direction: column; gap: 2px; border-radius: 16px; min-width: 0; }
.tile .l { font-size: 11px; color: var(--sub); }
.tile .v { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .v.acc { color: var(--acc); } .tile .v.amb { color: var(--amb); }

.times { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.times .t { font-size: 26px; font-weight: 600; }
.times .c { text-align: center; }

.row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: #fff; }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.row .end { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }
.row .code { width: 46px; font-weight: 700; color: var(--acc); flex-shrink: 0; }
.list { padding: 2px 16px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--sub); }
.kv span:last-child { font-weight: 600; text-align: right; }

.reminder { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; color: #fff; }
.reminder span.grow { flex: 1; font-size: 14px; font-weight: 500; }
.chev { width: 16px; height: 16px; opacity: 0.7; flex-shrink: 0; }

.btn { height: 50px; border-radius: 14px; border: 0; background: #fff; color: var(--base); font-weight: 600; font-size: 15px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn.ghost { background: var(--glass); color: #fff; border: 1px solid var(--glass-b); }
.btn.small { height: 36px; font-size: 13px; border-radius: 10px; padding: 0 12px; }
.btn:disabled { opacity: 0.5; }
.btn.block { width: 100%; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 12px; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.16); }
.seg button { height: 36px; border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500; }
.seg button.on { background: #fff; color: var(--base); font-weight: 600; }

.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 46px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,0.14); font-weight: 600; font-size: 13px; flex-shrink: 0; }
.stepper input { flex: 1; min-width: 0; height: 44px; border: 0; border-bottom: 2px solid #fff; background: transparent; font-size: 24px; font-weight: 700; text-align: center; outline: none; font-variant-numeric: tabular-nums; }
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 13px; font-weight: 600; color: var(--sub); }
.field input, .field select, .field textarea { height: 42px; border: 0; border-bottom: 2px solid rgba(255,255,255,0.6); background: transparent; font-size: 18px; font-weight: 600; outline: none; }
.field textarea { height: 70px; font-size: 14px; font-weight: 400; border: 1px solid var(--glass-b); border-radius: 12px; padding: 8px; }
.field select option { color: #000; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.bar { display: flex; flex-direction: column; gap: 5px; }
.bar .h { display: flex; justify-content: space-between; font-size: 13px; }
.bar .track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.16); overflow: hidden; }
.bar .fill { height: 6px; border-radius: 3px; background: #fff; }

.check { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 12px 14px; color: #fff; }
.check .box { width: 24px; height: 24px; flex-shrink: 0; border-radius: 7px; border: 2px solid rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: transparent; margin-top: 1px; }
.check.done .box { background: var(--acc); border-color: var(--acc); color: var(--base); }
.check .t { font-size: 14px; font-weight: 700; }
.check .d { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,0.75); }
.check .s { font-size: 11px; color: var(--dim); }
.group { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--acc); margin: 6px 4px 0; text-transform: uppercase; }

.globe { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 360px; align-self: center; }
.globe { border-radius: 50%; box-shadow: 0 0 0 1px rgba(160,230,220,0.25), 0 20px 60px rgba(0,0,0,0.35); transition: box-shadow .3s; }
.globe.zoomed { box-shadow: none; }
/* Canvases bleed past the globe when zoomed; they never take touches (the globe area does) */
.globe canvas.gl-c { position: absolute; pointer-events: none; z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--gl-up, 0px), #000 calc(var(--gl-up, 0px) + var(--gl-s, 100%)), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--gl-up, 0px), #000 calc(var(--gl-up, 0px) + var(--gl-s, 100%)), transparent 100%); }
.globe-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chips .pill { cursor: pointer; }

.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + var(--safe-b)); display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(0,0,0,0.32); border: 1px solid rgba(255,255,255,0.18); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); z-index: 20; }
.tabbar a { width: 64px; height: 50px; border-radius: 999px; display: flex; flex-direction: column; gap: 2px; align-items: center; justify-content: center; color: rgba(255,255,255,0.78); text-decoration: none; }
.tabbar a span { font-size: 10.5px; font-weight: 600; letter-spacing: 0.01em; }
.tabbar a.on { background: #fff; color: var(--base); }
.tabbar svg { width: 20px; height: 20px; }

.notam { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.notam:last-child { border-bottom: 0; }
.notam .id { font-size: 11px; color: var(--dim); }
.raw { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.hl { color: var(--amb); font-weight: 700; }
mark { background: rgba(127,227,208,0.28); color: #fff; border-radius: 4px; padding: 0 3px; font-weight: 700; }
.tagrow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }
.tag.route { background: var(--acc); color: var(--base); }

.toast { position: fixed; left: 50%; transform: translateX(-50%); top: calc(14px + var(--safe-t)); background: rgba(3,28,38,0.92); border: 1px solid var(--glass-b); padding: 10px 16px; border-radius: 14px; font-size: 14px; z-index: 50; max-width: 90vw; }
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; background: #06404D; border-radius: 22px 22px 0 0; padding: 18px 18px calc(24px + var(--safe-b)); display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--glass-b); }
.empty { text-align: center; padding: 30px 10px; color: var(--sub); }
.drop { border: 2px dashed rgba(255,255,255,0.4); border-radius: 22px; padding: 30px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.progress { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.18); overflow: hidden; width: 100%; }
.progress div { height: 100%; background: var(--acc); width: 0; transition: width .2s; }
img.shot { width: 100%; border-radius: 14px; display: block; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.photo-view { position: fixed; inset: 0; background: #000; z-index: 60; display: flex; align-items: center; justify-content: center; }
.photo-view img { max-width: 100%; max-height: 100%; }

/* Two columns on iPad and wide screens: globe on the left, panels on the right */
.split { display: flex; flex-direction: column; gap: 12px; }
.split .side { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 820px) {
  .view { padding-left: 28px; padding-right: 28px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
  .split > .main { position: sticky; top: calc(16px + var(--safe-t)); }
  .split .globe { max-width: min(640px, calc(100vh - 170px)); }
  .split .main.glass { padding: 18px; border-radius: 28px; }
  .cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .tabbar { left: auto; right: 28px; transform: none; }
  .narrow { max-width: 620px; width: 100%; margin: 0 auto; }
}
@media (max-width: 370px) { .title { font-size: 28px; } .hero { font-size: 31px; } .tile .v { font-size: 15px; } }

/* ---------- v1.5 Rules, airport briefs, FIR procedures: one idea per card, large type */
.rules { display: flex; flex-direction: column; gap: 14px; }
.rules .stack { display: flex; flex-direction: column; gap: 12px; }
.rules .lead, .sheet .lead { font-size: 17px; line-height: 1.45; margin: 0; color: #fff; }
.rules .group { font-size: 13px; margin-top: 14px; }
.seg.phase { position: sticky; top: calc(6px + var(--safe-t)); z-index: 5; background: rgba(3,28,38,0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.seg.phase button { height: 40px; font-size: 14px; }
.rc { background: var(--glass); border: 1px solid var(--glass-b); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-radius: 22px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; color: #fff; }
.rc h3 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -0.3px; line-height: 1.2; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rc h3 .chev { width: 18px; height: 18px; }
.rc p { margin: 0; font-size: 16.5px; line-height: 1.5; color: rgba(255,255,255,0.93); }
.rc.tap { cursor: pointer; }
.rc.tap:active { transform: scale(0.985); }
.rc.big h3 { font-size: 22px; }
.rc-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rc b { color: var(--acc); font-weight: 700; }
.src { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .2px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.88); margin-right: 6px; }
.src.k-lido { background: rgba(127,227,208,0.2); color: #9FF0E0; }
.src.k-aoi { background: rgba(140,190,255,0.2); color: #BBD7FF; }
.src.k-arg { background: rgba(244,154,200,0.2); color: #FFC2E0; }
.src.k-icao { background: transparent; border: 1px solid rgba(255,255,255,0.5); color: #fff; }
.src.k-diff { background: var(--amb); color: #1d1300; }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.45; }
.steps li::marker { color: var(--acc); font-weight: 700; }
.dl { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }
.sheet-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sheet-h h2 { margin: 0; font-size: 22px; font-weight: 650; }
.alerts { display: flex; flex-direction: column; gap: 10px; }
.al { border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; border: 1px solid; }
.al b { font-size: 17px; }
.al span { font-size: 15px; line-height: 1.45; }
.al.bad { background: rgba(255,90,90,0.24); border-color: rgba(255,138,138,0.8); }
.al.warn { background: rgba(255,181,71,0.2); border-color: rgba(255,181,71,0.75); }
.al.info { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }
.dates { display: flex; flex-wrap: wrap; gap: 8px; }
.dpill { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); }
.dpill.soon { border-color: var(--amb); color: var(--amb); }
.dpill.exp { background: var(--amb); color: #1d1300; border-color: var(--amb); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; padding: 0; }
.facts div { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,0.03); }
.facts span { font-size: 12px; color: var(--sub); }
.facts b { font-size: 15px; font-weight: 600; line-height: 1.35; }
.chips.left { justify-content: flex-start; }
.firchips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.firchips::-webkit-scrollbar { display: none; }
.firline { position: relative; display: flex; flex-direction: column; }
.firline::before { content: ""; position: absolute; left: 61px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--acc), rgba(127,227,208,0.2)); transform-origin: top; animation: grow 0.9s ease both; }
.fl { display: grid; grid-template-columns: 44px 14px minmax(0, 1fr) 16px; align-items: center; gap: 10px; padding: 12px 4px; color: #fff; text-decoration: none; border-bottom: 1px solid var(--line); }
.fl-t { order: -1; font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; }
.fl-dot { width: 12px; height: 12px; border-radius: 6px; background: var(--base); border: 2px solid var(--acc); z-index: 1; }
.fl-n { font-size: 16px; line-height: 1.3; display: flex; flex-direction: column; gap: 4px; }
.fl-n b { color: var(--acc); margin-right: 4px; }
.fl .tags { display: flex; gap: 4px; }
.fl .tags .src { font-size: 11px; padding: 2px 8px; }

/* diagrams */
.wbox { margin: 4px -4px 2px; }
svg.wd { width: 100%; height: auto; display: block; overflow: visible; }
.wd .trk { stroke: rgba(255,255,255,0.55); stroke-width: 2; stroke-dasharray: 7 6; }
.wd .ghost { stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.wd .dim { stroke: var(--acc); stroke-width: 1.5; }
.wd .nogo { stroke: #FF8A8A; stroke-width: 2; stroke-dasharray: 4 5; }
.wd .rwy { fill: rgba(255,255,255,0.85); }
.wd .band { fill: rgba(127,227,208,0.12); stroke: rgba(127,227,208,0.4); stroke-dasharray: 3 4; }
.wd .cloud circle { fill: rgba(255,255,255,0.22); }
.wd .lab { fill: rgba(255,255,255,0.75); font-size: 12px; font-family: inherit; }
.wd .big { fill: #fff; font-size: 16px; font-weight: 700; font-family: inherit; paint-order: stroke; stroke: rgba(3,28,38,0.85); stroke-width: 4px; }
.wd .acc { fill: var(--acc); }
.wd .mag-t { fill: #F49AC8; }
.wd .t-warn, .t-warn { fill: var(--amb); color: var(--amb); }
.wd .t-bad, .t-bad { fill: #FF8A8A; color: #FF8A8A; }
.t-ok { color: var(--acc); }
.wd .draw { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s cubic-bezier(.4,0,.2,1) forwards; animation-delay: var(--d, 0s); }
.wd .mag { stroke: #F49AC8; } .wd .acc-s { stroke: var(--acc); } .wd .amb-s { stroke: var(--amb); }
.wd .arc { stroke: var(--amb); stroke-width: 12; stroke-linecap: butt; }
.wd .ring { fill: rgba(255,255,255,0.05); stroke: rgba(255,255,255,0.25); stroke-width: 12; }
.wd .hand { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.wd .plane, .wd .dp { fill: #fff; stroke: var(--base); stroke-width: 2; }
.wd .pop { opacity: 0; animation: pop .45s ease forwards; animation-delay: var(--d, 0s); }
.wd .sweep { transform-box: view-box; transform-origin: 100px 92px; transform: rotate(var(--a)); animation: sweep 1.6s cubic-bezier(.3,.7,.2,1) both .3s; }
.dialwrap { display: flex; align-items: center; gap: 14px; }
.dialwrap .dial { width: 54%; max-width: 220px; flex-shrink: 0; }
.dialtxt { font-size: 15px; line-height: 1.6; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; }
.sw.amb { background: var(--amb); }
.rt { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
.rt th { text-align: left; font-weight: 600; color: var(--sub); font-size: 12px; padding: 6px 6px; border-bottom: 1px solid rgba(255,255,255,0.3); }
.rt td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.rt td.b { font-weight: 700; }
.note { font-size: 14px !important; color: var(--sub) !important; margin-top: 8px !important; }
.bars2 { display: flex; flex-direction: column; gap: 7px; }
.bars2 .r { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 14px; }
.bars2 .k b { color: #fff; }
.bars2 .b { position: relative; height: 28px; border-radius: 8px; background: rgba(255,255,255,0.1); overflow: hidden; }
.bars2 .b i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: rgba(140,190,255,0.75); border-radius: 8px; transform-origin: left; animation: growx .8s cubic-bezier(.3,.7,.2,1) both; animation-delay: var(--d); }
.bars2 .b i.pref { background: #F49AC8; }
.bars2 .b em { position: absolute; left: 10px; top: 5px; font-style: normal; font-weight: 700; font-size: 14px; color: #031C26; font-variant-numeric: tabular-nums; }
.lvp { position: relative; padding-top: 52px; margin-bottom: 4px; }
.lvp-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; }
.lvp-bar i { width: var(--w); transform-origin: left; animation: growx .7s ease both; }
.lvp-bar .mag { background: #F49AC8; } .lvp-bar .amb { background: var(--amb); } .lvp-bar .amb2 { background: rgba(255,181,71,0.4); } .lvp-bar .acc { background: var(--acc); }
.lvp-m { position: absolute; top: 0; transform: translateX(-50%); text-align: center; font-size: 12px; line-height: 1.25; width: 84px; animation: pop .4s ease both; animation-delay: calc(var(--d) + .5s); }
.lvp-m b { display: block; font-size: 15px; }
.lvp-m::after { content: ""; display: block; width: 2px; height: 8px; margin: 2px auto 0; background: currentColor; }
.lvp-m.mag { color: #F49AC8; } .lvp-m.amb { color: var(--amb); } .lvp-m.acc { color: var(--acc); }
.slots { display: flex; flex-direction: column; gap: 10px; }
.sl-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 62px; gap: 8px; align-items: center; font-size: 13px; }
.sl-row span { font-weight: 700; } .sl-row em { font-style: normal; color: var(--sub); text-align: right; }
.sl-track { position: relative; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.08); }
.sl-track i { position: absolute; top: 0; bottom: 0; width: var(--w); border-radius: 6px; transform-origin: left; animation: growx .7s ease both .2s; }
.sl-track i.blue { background: rgba(140,190,255,0.7); } .sl-track i.mag { background: #F49AC8; }
.sl-track b { position: absolute; top: 3px; transform: translateX(-50%); font-size: 11.5px; white-space: nowrap; color: #fff !important; background: rgba(255,255,255,0.16); padding: 1px 6px; border-radius: 5px; }
.sl-track b.amb { background: var(--amb); color: #1d1300 !important; }
.sl-axis { position: relative; height: 16px; margin: 0 62px 0 54px; font-size: 11.5px; color: var(--sub); }
.sl-axis span { position: absolute; transform: translateX(-50%); }
.sl-axis .z { color: #fff; font-weight: 700; }
.rtb2 { display: flex; flex-direction: column; gap: 10px; }
.rtb2 .chips { gap: 6px; }
.rtb-steps { display: flex; flex-direction: column; gap: 6px; }
.rs { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.07); font-size: 15px; line-height: 1.4; }
.rs span { color: var(--sub); font-size: 13px; }
.rs b { color: #fff !important; }
.rs.hold { background: rgba(255,181,71,0.14); }
.kvs { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.kvs div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.07); font-size: 15px; }
.kvs span { color: var(--sub); font-size: 13px; } .kvs b { color: #fff !important; }
.flow { display: flex; flex-direction: column; gap: 12px; }
.flow-dots { display: flex; gap: 5px; }
.flow-dots i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.18); transition: background .3s; }
.flow-dots i.on { background: var(--acc); }
.flow-cards { position: relative; }
.flow-card { display: none; border-radius: 16px; padding: 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); }
.flow-card.on { display: block; animation: slidein .35s cubic-bezier(.2,.8,.2,1); }
.flow.all .flow-card { display: block; margin-bottom: 8px; animation: none; }
.flow.all .flow-dots, .flow.all [data-fl="1"], .flow.all [data-fl="-1"] { display: none; }
.flow-card .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 13px; background: var(--acc); color: var(--base); font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.flow-card h4 { margin: 0 0 4px; font-size: 19px; }
.flow-card p { margin: 0; font-size: 16.5px; line-height: 1.5; }
.flow-nav { display: flex; gap: 8px; align-items: center; }
.flow-nav .btn { flex: 1; }
details.lights summary { font-weight: 600; color: var(--acc); cursor: pointer; padding: 6px 0; }

/* motion */
.rise { animation: rise .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes growx { from { transform: scaleX(0); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes sweep { from { transform: rotate(0deg); } }
@keyframes slidein { from { opacity: 0; transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) { .rise, .wd .draw, .wd .pop, .wd .sweep, .bars2 .b i, .flow-card.on, .lvp-m, .lvp-bar i, .sl-track i, .firline::before { animation: none !important; opacity: 1; stroke-dashoffset: 0; } }
@media (min-width: 820px) { .rules .stack { display: grid; grid-template-columns: 1fr 1fr; align-items: start; } .rules .stack > .group, .rules .stack > .alerts, .rules .stack > .lead, .rules .stack > .firline, .rules .stack > .glass.list { grid-column: 1 / -1; } }
[hidden] { display: none !important; }
/* step climbs */
.wd .tb { fill: var(--acc); transform-box: fill-box; transform-origin: bottom; animation: grow .6s ease both; animation-delay: var(--d); }
.wd .hb { fill: var(--amb); transform-box: fill-box; transform-origin: top; animation: grow .6s ease both; animation-delay: var(--d); }
.sg { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(244,154,200,0.12); border: 1px solid rgba(244,154,200,0.35); }
.sg-fl { font-size: 20px; font-weight: 800; color: #F49AC8; min-width: 70px; }
.sg-g { font-weight: 800; color: var(--acc); white-space: nowrap; }
.sg b { color: #fff !important; }
.reminder.qb { padding: 10px 12px; gap: 8px; font-size: 14px; line-height: 1.25; min-height: 58px; align-items: center; }
.reminder.qb .dot { flex-shrink: 0; }
.reminder.qb .grow { min-width: 0; overflow-wrap: anywhere; }
.aci { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.aci b { font-family: ui-monospace, Menlo, monospace; font-weight: 700; }
.aci .tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.aci .tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.14); }
.acn { font-size: 15px; font-weight: 600; padding: 8px 10px; border-radius: 10px; background: rgba(255,181,71,0.16); }
.sheet label { display: flex; flex-direction: column; gap: 4px; }
.sheet input, .sheet select { height: 40px; border-radius: 10px; border: 1px solid var(--glass-b); background: rgba(255,255,255,0.08); color: #fff; padding: 0 10px; font-size: 16px; }
/* airport map */
.mapbox { position: relative; padding: 0; overflow: hidden; border-radius: 22px; }
.amap { width: 100%; height: min(70vh, 560px); display: block; touch-action: none; background: rgba(3,28,38,0.55); }
.mapctl { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.mapctl .pill { min-width: 44px; justify-content: center; font-size: 18px; }
.m-apron { fill: rgba(255,255,255,0.07); stroke: none; }
.m-bldg { fill: rgba(255,255,255,0.16); stroke: none; }
.m-twy { fill: none; stroke: rgba(255,214,102,0.45); stroke-linecap: round; stroke-linejoin: round; }
.m-twy.lane { stroke: rgba(255,214,102,0.22); }
.m-rwy { fill: none; stroke: #D9E2E6; stroke-linecap: butt; }
.m-rwy.mine { stroke: #7FE3D0; }
.m-hit { fill: none; stroke-linecap: round; stroke-dasharray: 2 1; opacity: .95; cursor: pointer; }
.m-area { fill-opacity: .22; stroke-width: 6; cursor: pointer; }
.m-obst { cursor: pointer; }
.m-obst .tri { stroke: #031C26; stroke-width: .12; }
.m-standhit { fill: none; stroke-width: 12; cursor: pointer; }
.m-lab { fill: #fff; font-weight: 700; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: rgba(3,28,38,.9); stroke-width: calc(var(--u) * .12px); pointer-events: none; }
.m-lab.rw { fill: #031C26; stroke: #D9E2E6; }
.m-lab.st { fill: rgba(255,255,255,.65); font-weight: 600; }
.m-lab.st.hit { fill: #fff; }
.m-lab.ob { font-size: 0.9px !important; stroke-width: .15px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.ngroup { border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-b); padding: 4px 14px; }
.ngroup summary { font-weight: 650; font-size: 17px; padding: 12px 0; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.nitem { border-left: 4px solid; padding: 10px 12px; margin: 0 0 10px; border-radius: 10px; background: rgba(255,255,255,0.05); display: flex; flex-direction: column; gap: 6px; }
.nitem.sel { background: rgba(255,255,255,0.14); }
.nh { display: flex; align-items: center; gap: 8px; } .nh b { font-size: 15px; } .nh .pill { margin-left: auto; }
.rchip { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.ntext { margin: 0; font-size: 14px; line-height: 1.45; font-family: ui-monospace, Menlo, monospace; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nitem.open .ntext { -webkit-line-clamp: unset; display: block; }
.taxi .trow { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.taxi label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--sub); }
.taxi input, .taxi select { height: 44px; border-radius: 12px; border: 1px solid var(--glass-b); background: rgba(255,255,255,0.08); color: #fff; padding: 0 12px; font-size: 17px; font-weight: 600; }
.tlegs { margin: 4px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.tlegs li::marker { color: var(--acc); font-weight: 700; }
.tlegs b { color: #fff !important; }
.m-route { fill: none; stroke: #7FE3D0; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3 2; opacity: .95; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -5; } }
.taxi .trow > * { min-width: 0; }
.taxi input, .taxi select { width: 100%; min-width: 0; box-sizing: border-box; }

/* Precision timing */
.nextline { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; align-items: center; margin-top: 10px; padding: 12px 16px; border-radius: 18px; background: rgba(127,209,255,0.14); border: 1px solid rgba(127,209,255,0.45); color: #fff; text-decoration: none; }
.nextline .ntag { grid-column: 1; font-size: 12px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: #7FD1FF; }
.nextline .what { grid-column: 1; font-size: 17px; font-weight: 650; line-height: 1.2; }
.nextline .when { grid-column: 1; font-size: 14px; color: rgba(255,255,255,0.75); }
.nextline .cd { grid-column: 2; grid-row: 1 / span 3; font-size: 34px; font-weight: 750; font-variant-numeric: tabular-nums; color: #7FD1FF; letter-spacing: -0.01em; }
.nextline.soon { background: rgba(255,181,71,0.2); border-color: rgba(255,181,71,0.75); animation: pulse 2.4s ease-in-out infinite; }
.nextline.soon .cd, .nextline.soon .ntag { color: var(--amb); }
.nextline.late { display: block; background: rgba(255,90,90,0.2); border-color: rgba(255,138,138,0.8); font-weight: 600; font-size: 16px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255,181,71,0.12); } }
.pt { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pt:last-child { border-bottom: 0; }
.pt .rel { font-size: 20px; font-weight: 700; color: #7FD1FF; text-align: right; }
.pt .what { font-size: 16px; font-weight: 550; line-height: 1.25; }
.pt .when { text-align: right; font-size: 16px; font-weight: 650; display: flex; flex-direction: column; }
.pt .when small { font-size: 12.5px; font-weight: 500; color: var(--sub); }
.pt.done { opacity: 0.45; }
.pt.next { background: rgba(127,209,255,0.12); margin: 0 -14px; padding: 12px 14px; border-radius: 14px; }
.pt.next .what { color: #fff; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .nextline.soon { animation: none; } }

/* Dangerous goods */
.erg { display: flex; flex-direction: column; gap: 10px; }
.ergcode { display: flex; align-items: baseline; gap: 4px; font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.ergcode b { color: var(--amb); margin-left: 2px; }
.hold { width: 100%; height: auto; margin-top: 6px; }
.hold .hl { font-size: 11px; fill: rgba(255,255,255,0.55); }
.hold .hn { font-size: 14px; font-weight: 700; }
.m-lab.st.mine { fill: #7FD1FF; font-weight: 800; }
.pill.follow { background: rgba(3,28,38,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pill.follow.on { background: rgba(127,209,255,0.85); color: #031C26; font-weight: 700; }

.rr { border-top: 1px solid var(--line); padding: 8px 0; }
.rr summary { display: flex; gap: 10px; align-items: flex-start; list-style: none; cursor: pointer; }
.rr summary::-webkit-details-marker { display: none; }
.rr .dot { margin-top: 6px; flex: none; background: rgba(255,255,255,0.5); }
.rr.bad .dot { background: #FF6B6B; } .rr.warn .dot { background: var(--amb); } .rr.ok .dot { background: var(--acc); }

.more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.more-grid a { display: flex; flex-direction: column; gap: 4px; padding: 14px; text-decoration: none; color: #fff; min-height: 86px; }
.more-grid a b { font-size: 16px; } .more-grid a span { font-size: 13px; color: var(--sub); line-height: 1.3; }
.more-grid a .dot { margin-bottom: 4px; }
.trow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trow2 .field select, .field select { width: 100%; }
@media print {
  body::before, .tabbar, .top .actions, .hb, #drvwarn { display: none !important; }
  body, .view { background: #fff !important; color: #000 !important; }
  .glass { background: #fff !important; border: 1px solid #999 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: #000 !important; }
  .small.sub, .sub, .kicker { color: #333 !important; }
}
.fl.now { background: rgba(127,227,208,0.16); border-radius: 12px; }
.fl.now .fl-dot { background: var(--acc); box-shadow: 0 0 0 4px rgba(127,227,208,0.3); }
.fl.now .fl-n b::after { content: " · you are here"; font-weight: 600; color: var(--acc); font-size: 12px; }
.row.nextwp { box-shadow: inset 3px 0 0 var(--acc); background: rgba(127,227,208,0.10) !important; }
.tafstrip { display: flex; gap: 2px; overflow-x: auto; padding: 18px 0 2px; }
.tafstrip .th { position: relative; flex: 0 0 18px; display: flex; flex-direction: column; gap: 2px; align-items: center; }
.tafstrip .b, .tafstrip .b2 { width: 18px; height: 14px; border-radius: 3px; background: rgba(255,255,255,0.12); }
.tafstrip .b2 { height: 7px; background: transparent; }
.tafstrip .good { background: var(--acc); } .tafstrip .marginal { background: var(--amb); } .tafstrip .poor { background: #FF6B6B; }
.tafstrip .hh { font-size: 9.5px; color: var(--sub); }
.tafstrip .th.mark::before { content: ""; position: absolute; top: -4px; bottom: 12px; left: -2px; right: -2px; border: 1.5px solid #fff; border-radius: 5px; }
.tafstrip .you { position: absolute; top: -17px; font-size: 10px; font-weight: 700; white-space: nowrap; }
/* two-column form rows never push past the screen edge */
.trow2 > * { min-width: 0; }
.trow2 .field input, .trow2 .field select, .field input { width: 100%; min-width: 0; box-sizing: border-box; }
