:root{--bar-h:52px;--gutter:16px;--measure:72rem;color-scheme:dark}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--bar-h) + 12px)}body{min-height:100dvh;padding-top:var(--bar-h);background:var(--bg);color:var(--fg);font-family:var(--font-body);overflow-wrap:break-word;flex-direction:column;margin:0;font-size:1rem;line-height:1.6;display:flex}img,svg{max-width:100%;display:block}h1,h2,h3{margin:0 0 .5em;line-height:1.2}p{margin:0 0 1em}a{color:var(--link);text-underline-offset:.2em}a:hover{color:var(--link-hover)}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.wrap{width:100%;max-width:var(--measure);padding-inline:var(--gutter);margin-inline:auto}main:focus{outline:none}main{flex:1 0 auto;padding-block:32px 48px}.skip-link{left:var(--gutter);z-index:100;background:var(--focus);color:var(--bg);padding:10px 14px;font-weight:600;text-decoration:none;position:absolute;top:-100px}.skip-link:focus{top:8px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.muted{color:var(--fg-muted)}.scroll{max-width:100%;overflow-x:auto}.scroll:focus-visible{outline-offset:-3px}.todo{border:1px dashed var(--fg-muted);color:var(--fg-muted);font-family:var(--font-mono);padding:0 .4em;font-size:.85em;display:inline-block}.fc-footer{border-top:1px solid var(--line);color:var(--fg-muted);padding-block:20px;font-size:.875rem}.fc-footer p{margin:0}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}@media print{:root:root,:root:root[data-theme]{--bg:#fff;--bg-raised:#fff;--bg-hover:#fff;--fg:#000;--fg-body:#000;--fg-muted:#333;--accent:#000;--line:#999;--line-strong:#000;--link:#000;--link-hover:#000;--grid:#ccc;--spy:#1a3a8a;--mix:#555;--note:#000;--t-head:#000;--t-input:#000;--t-cmd:#000;--t-error:#000;--ink:#000;--red:#000;--warn:#000;--placeholder:#333;--frame:#000;--pos:#000;--neg:#000;--cz-panel:#fff;--cz-neg:#555}body{padding-top:0;color:#000!important;background:#fff!important}.fc-bar,.skip-link,.term-input,.term-keys,.term-panel,.toggle,.step,.js-only,.globe-controls{display:none!important}.term,.term-bar,.term-banner,.term-screen{color:#000!important;background:#fff!important}.term-screen{height:auto!important;overflow:visible!important}.cat{border:1px solid #000;color:#000!important;background:0 0!important}.tl-label{fill:#000}a{color:#000!important}.fc-footer{color:#000;border-top-color:#000}}.quick a{align-items:center;min-height:44px;display:inline-flex}@media (prefers-reduced-motion:no-preference){@view-transition{navigation:auto}}.fc-bar{z-index:50;height:var(--bar-h);padding-inline:var(--gutter);background:var(--bar-bg);border-bottom:1px solid var(--line);font-family:var(--font-mono);justify-content:space-between;align-items:center;gap:12px;font-size:.875rem;display:flex;position:fixed;inset:0 0 auto}.fc-brand{min-height:44px;color:var(--fg);white-space:nowrap;text-overflow:ellipsis;align-items:center;min-width:0;font-weight:600;text-decoration:none;display:inline-flex;overflow:hidden}.fc-switch{flex:none;position:relative}.fc-switch summary{border:1px solid var(--line-strong);height:44px;color:var(--fg);background:var(--bg-raised);cursor:pointer;user-select:none;white-space:nowrap;border-radius:4px;align-items:center;gap:8px;padding-inline:12px;list-style:none;display:flex}.fc-switch summary::-webkit-details-marker{display:none}.fc-switch summary:after{content:"";border-bottom:2px solid;border-right:2px solid;width:6px;height:6px;transform:translateY(-2px)rotate(45deg)}.fc-switch details[open] summary:after{transform:translateY(1px)rotate(-135deg)}.fc-switch-label{color:var(--fg-muted)}.fc-switch-current{color:var(--accent);font-weight:600}.fc-switch ul{background:var(--bg-raised);border:1px solid var(--line-strong);border-radius:6px;min-width:15rem;margin:0;padding:6px;list-style:none;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 32px #00000080}.fc-switch li a{min-height:44px;color:var(--fg);border-radius:4px;justify-content:space-between;align-items:center;gap:16px;padding:8px 10px;text-decoration:none;display:flex}.fc-switch li a:hover{background:var(--bg-hover)}.fc-switch li a[aria-current=page]{color:var(--accent);font-weight:600}.fc-switch li a[aria-current=page]:after{content:"current";color:var(--fg-muted);font-size:.75rem;font-weight:400}@media (width<=420px){.fc-switch-label{display:none}}:root,:root[data-theme=gateway]{--bg:#0e1013;--bg-raised:#161a1f;--bg-hover:#1f252c;--bar-bg:#0e1013;--fg:#e9ecef;--fg-muted:#9aa3ad;--accent:#d5dce4;--line:#232a31;--line-strong:#3a444e;--link:#7cc4ff;--link-hover:#b3dcff;--focus:#ffd166;--font-body:"IBM Plex Sans", "IBM Plex Sans Fallback", system-ui, sans-serif;--font-mono:"IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, monospace;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--dur-fast:.12s;--dur-base:.2s;--dur-slow:.45s;--ease:cubic-bezier(.2, .7, .2, 1);--radius:10px}:root[data-theme=finance],[data-scene=finance]{color-scheme:dark;--bg:#0d1210;--bg-raised:#101713;--bg-hover:#16201a;--bar-bg:#0d1210;--fg:#edefe8;--fg-body:#d4d9d1;--fg-muted:#a3aba2;--line:#2a332e;--line-strong:#3a453f;--grid:#1b2420;--accent:#ff8a66;--spy:#8fb7e8;--mix:#7e8a82;--note:#f2b66b;--link:#ff8a66;--link-hover:#ffb8a3;--focus:#f2b66b;--font-body:"Instrument Sans", "Instrument Sans Fallback", system-ui, sans-serif;--font-mono:"Geist Mono", "Geist Mono Fallback", ui-monospace, monospace;--font-display:"Instrument Serif", "Instrument Serif Fallback", Georgia, serif}:root[data-theme=terminal],[data-scene=terminal]{color-scheme:dark;--bg:#000;--bg-raised:#0c0a07;--bg-hover:#1a1409;--bar-bg:#000;--fg:#ff9a1f;--fg-muted:#b87a30;--accent:#ffb347;--t-head:#ffc266;--t-input:#ffd9a0;--t-cmd:#6ee787;--t-error:#ff7a59;--t-warn:#f2b66b;--t-cmd-bg:#0d2415;--t-black:#000;--line:#2a1d0a;--line-strong:#5a3a0f;--link:#ffc266;--link-hover:#ffe0a8;--focus:#fff;--font-body:"JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, monospace;--font-mono:"JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, monospace;--font-display:"VT323", "VT323 Fallback", "JetBrains Mono", monospace}:root[data-theme=aviation],[data-scene=aviation]{color-scheme:light;--bg:#d9dde3;--bg-raised:#fbfaf4;--bg-hover:#efede0;--bar-bg:#d9dde3;--fg:#1f2a3c;--fg-muted:#33415a;--ink:#0b2a5b;--red:#b3261e;--warn:#8a4b00;--placeholder:#4f5a6c;--map-sea:#f1f3f7;--map-grid:#cfd4de;--map-equator:#8a94a6;--mt-hover:#e2dfcc;--mt-time:#0b5a6b;--mt-vis:#0b5a8a;--mt-temp:#4b5e00;--field:#fff;--amber:#b45f06;--runway:#e4e1d0;--solid-hover:#fff;--frame:#111;--accent:#0b2a5b;--line:#b9c0cc;--line-strong:#111;--link:#0b2a5b;--link-hover:#b3261e;--focus:#b3261e;--font-body:"B612", "B612 Fallback", system-ui, sans-serif;--font-mono:"B612 Mono", "B612 Mono Fallback", ui-monospace, monospace}[data-scene=chain]{color-scheme:dark;--bg:#0b0f1a;--bg-raised:#111827;--bg-hover:#182036;--fg:#e8ecf8;--fg-muted:#a0abc8;--accent:#8fb0ff;--line:#233050;--line-strong:#3a4a76;--link:#a9c2ff;--link-hover:#d3e0ff;--focus:#ffd166;--ok:#7ee0a5;--bad:#ff8a99;--font-body:"IBM Plex Sans", "IBM Plex Sans Fallback", system-ui, sans-serif;--font-mono:"IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, monospace}
