/* AirAware Map online manual. Same dark navy and cyan look as the website; layout: top bar with search, sidebar contents, reading column.
   Generated page: docs/manual/build-web-manual.mjs (the text is the PDF manual's). */
:root {
  --bg: #070a12; --bg2: #0b101c; --ink: #e9edf6; --mut: #9aa6bf; --faint: #6c7894; --acc: #19d3ff; --acc2: #3b8bd4;
  --good: #22c58b; --card: #101727; --card2: #141c30; --line: rgba(255, 255, 255, .09); --amber: #f0a030; --red: #ef5350;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif; --top: 62px; --side: 290px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 18px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--acc); color: #02131c; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
mark { background: rgba(25, 211, 255, .28); color: inherit; border-radius: 3px; padding: 0 1px; }
mark.cur { background: var(--acc); color: #02131c; }

/* ---------- top bar ---------- */
.mtop { position: fixed; inset: 0 0 auto 0; height: var(--top); z-index: 50; display: flex; align-items: center; gap: 16px; padding: 0 20px; background: rgba(7, 10, 18, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.mbtn { display: none; background: none; border: 0; color: var(--ink); padding: 6px; cursor: pointer; border-radius: 8px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo img { border-radius: 8px; }
.lname { font-family: var(--serif); font-size: 19px; }
.lname b { color: var(--acc); font-weight: 600; }
.tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); border: 1px solid rgba(25, 211, 255, .4); border-radius: 6px; padding: 1px 7px; }
.search { position: relative; flex: 1 1 360px; max-width: 520px; margin-left: auto; display: flex; align-items: center; }
.search > svg { position: absolute; left: 12px; color: var(--faint); pointer-events: none; }
.search input { width: 100%; height: 40px; padding: 0 40px 0 38px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; }
.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: var(--acc); outline: none; box-shadow: 0 0 0 3px rgba(25, 211, 255, .15); }
.search input::-webkit-search-cancel-button { display: none; }
kbd { position: absolute; right: 10px; font: 12px ui-monospace, Consolas, monospace; color: var(--faint); border: 1px solid var(--line); border-radius: 5px; padding: 0 6px; }
.links { display: flex; align-items: center; gap: 18px; font-size: 14.5px; }
.links a { color: var(--mut); }
.links a:hover { color: var(--ink); text-decoration: none; }
.links .cta { background: var(--acc); color: #02131c; font-weight: 700; padding: 7px 14px; border-radius: 10px; }
.links .cta:hover { color: #02131c; filter: brightness(1.08); }
.results { position: absolute; top: 46px; left: 0; right: 0; max-height: min(70vh, 560px); overflow: auto; background: var(--card2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); padding: 6px; }
.results[hidden] { display: none; }
.results a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--ink); }
.results a:hover, .results a.on { background: rgba(25, 211, 255, .1); text-decoration: none; }
.results .rc { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.results .rt { display: block; font-weight: 650; margin: 1px 0 2px; }
.results .rs { display: block; font-size: 13.5px; color: var(--mut); line-height: 1.45; }
.results .none { padding: 14px 12px; color: var(--mut); font-size: 14.5px; }
.results .cnt { padding: 6px 12px 2px; font-size: 12px; color: var(--faint); }

/* ---------- layout ---------- */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); padding-top: var(--top); max-width: 1380px; margin: 0 auto; }
.side { position: sticky; top: var(--top); align-self: start; height: calc(100vh - var(--top)); overflow: auto; padding: 22px 14px 40px 20px; border-right: 1px solid var(--line); scrollbar-width: thin; }
.sidehead { margin: 0 0 10px 10px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.toc, .toc ul { list-style: none; margin: 0; padding: 0; }
.toc .ch > a { display: flex; align-items: baseline; gap: 10px; padding: 7px 10px; border-radius: 9px; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.toc .ch > a .n { flex: 0 0 22px; color: var(--faint); font-variant-numeric: tabular-nums; font-weight: 500; }
.toc .ch > a .t { flex: 1; }
.toc .pro, .pill.pro { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #02131c; background: var(--acc); border-radius: 5px; padding: 1px 6px; }
.toc a:hover { background: rgba(255, 255, 255, .05); text-decoration: none; }
.toc ul { display: none; margin: 0 0 6px 32px; border-left: 1px solid var(--line); }
.toc .ch.open > ul { display: block; }
.toc ul a { display: block; padding: 4px 10px; color: var(--mut); font-size: 13.5px; line-height: 1.4; border-radius: 0 7px 7px 0; }
.toc a.cur { color: var(--acc); background: rgba(25, 211, 255, .08); }
.toc ul a.cur { box-shadow: inset 2px 0 var(--acc); }

.manual { padding: 38px clamp(20px, 4vw, 56px) 80px; max-width: 920px; min-width: 0; }
.intro { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.kicker { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); font-weight: 700; margin-bottom: 6px; }
.title { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 50px); line-height: 1.1; margin: 0 0 14px; }
.sub { font-size: 19px; color: var(--mut); margin: 0 0 14px; max-width: 720px; }
.meta { font-size: 13.5px; color: var(--faint); margin: 0 0 20px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick a { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; }
.quick a:hover { border-color: var(--acc); text-decoration: none; }

/* ---------- text ---------- */
.chapter { padding-top: 10px; }
.chapter > h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 44px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.chapter > h1 .kicker { margin-bottom: 8px; }
.chapter h1 .kicker .pill { vertical-align: 2px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.25; margin: 40px 0 12px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p { margin: 0 0 14px; }
.lead { font-size: 18.5px; color: #c4cce0; }
.small { font-size: 14px; color: var(--mut); }
strong { font-weight: 650; }
li { margin: 0 0 6px; }
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 16px; }
ol.steps > li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 12px; }
ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 27px; height: 27px; border-radius: 50%; background: rgba(25, 211, 255, .14); border: 1px solid rgba(25, 211, 255, .5); color: var(--acc); font-weight: 700; font-size: 13.5px; text-align: center; line-height: 25px; }
ol.legend { padding-left: 1.4em; }

.walk { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; align-items: start; margin: 12px 0 22px; }
.walk > div:first-child { min-width: 0; }
.figs { display: flex; gap: 14px; }
.figs figure { flex: 1 1 0; min-width: 0; }
.walk:has(.figs > figure:nth-child(2)) { display: block; }
.walk:has(.figs > figure:nth-child(2)) .figs { justify-content: center; gap: 24px; margin: 18px 0 4px; flex-wrap: wrap; }
.walk:has(.figs > figure:nth-child(2)) .figs figure { flex: 0 0 220px; max-width: 100%; }
.row-figs { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 14px 0 22px; }
.row-figs figure { width: 210px; max-width: 100%; }
.row-figs.three figure { width: 200px; }
.row-figs.four figure { width: 170px; }
figure { margin: 0; }
figure img { width: 100%; border-radius: 22px; border: 6px solid #141a2b; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); background: var(--card); cursor: zoom-in; }
figcaption { font-size: 13px; color: var(--mut); text-align: center; margin-top: 8px; line-height: 1.4; }
.annot, .annot-box { position: relative; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; background: #e8472b; color: #fff; font-weight: 700; font-size: 12px; text-align: center; line-height: 22px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }

.note, .tip, .warn { margin: 16px 0 20px; padding: 13px 18px; border-left: 4px solid var(--acc2); background: rgba(59, 139, 212, .12); border-radius: 0 12px 12px 0; font-size: 15.5px; }
.tip { border-color: var(--good); background: rgba(34, 197, 139, .1); }
.warn { border-color: var(--amber); background: rgba(240, 160, 48, .11); }
.note p:last-child, .tip p:last-child, .warn p:last-child { margin-bottom: 0; }
b.lab { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; color: var(--acc); }
.tip b.lab { color: var(--good); } .warn b.lab { color: var(--amber); }
.btn { display: inline-block; padding: 0 8px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 7px; background: rgba(255, 255, 255, .07); font-weight: 650; font-size: .9em; line-height: 1.5; white-space: nowrap; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.pill { display: inline-block; padding: 0 8px; border-radius: 6px; font-weight: 700; font-size: .82em; letter-spacing: .04em; color: #fff; line-height: 1.55; }
.pill.pass { background: #1f8f4e; } .pill.caution { background: #c47d0c; } .pill.fail { background: #c0392b; } .pill.free { background: #55627c; }

table.tbl { width: 100%; border-collapse: separate; border-spacing: 0; margin: 12px 0 22px; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: table; }
.tbl th { background: #16213a; text-align: left; padding: 10px 14px; font-weight: 650; }
.tbl td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
.tbl td.c, .tbl th.c { text-align: center; }
.tbl.tight td { padding: 7px 14px; }
@media (max-width: 720px) { .tbl { display: block; overflow-x: auto; } }
dl.gloss { margin: 0; }
dl.gloss dt { font-weight: 650; margin-top: 14px; color: var(--ink); }
dl.gloss dd { margin: 0; color: var(--mut); }
.mfoot { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mut); font-size: 14.5px; }

/* picture viewer */
.zoom { position: fixed; inset: 0; z-index: 90; background: rgba(3, 5, 10, .92); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.zoom img { max-height: 94vh; max-width: min(94vw, 520px); width: auto; border-radius: 22px; box-shadow: 0 20px 70px #000; }
.scrim { position: fixed; inset: var(--top) 0 0 0; background: rgba(3, 5, 10, .6); z-index: 40; }

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) {
  .links a:not(.cta) { display: none; }
}
@media (max-width: 900px) {
  .shell { display: block; }
  .mbtn { display: block; }
  .side { position: fixed; top: var(--top); left: 0; bottom: 0; width: min(86vw, 330px); height: auto; z-index: 45; background: var(--bg2); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 12px 0 40px rgba(0, 0, 0, .5); }
  .side.open { transform: none; }
  .tag, .links .cta { display: none; }
  .mtop { gap: 10px; padding: 0 12px; }
  .search { flex: 1; margin-left: 0; max-width: none; }
  kbd { display: none; }
  .walk { grid-template-columns: 1fr; }
  .walk .figs { justify-content: center; }
  .walk .figs figure { flex: 0 0 210px; }
}
@media (max-width: 520px) { .lname { display: none; } .manual { padding-top: 26px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .side { transition: none; } }
@media print { .mtop, .side, .scrim { display: none; } .shell { display: block; padding: 0; } body { background: #fff; color: #000; } }
