/* Atlas ADE site. Layout concept: a night-flight aeronautical chart. Contour terrain, a magenta course line
   through the loop's five legs, instrument-style mono readouts. Night chart is the default; day chart mirrors it.
   Every colour is a token; components never use a literal colour. */
:root {
  --bg: #0A1116;
  --raised: #0E1820;
  --sunken: #0C141A;
  --line: #1D2B34;
  --line-2: #2A3A44;
  --fg: #ECE8DC;
  --fg-2: #C9CCC4;
  --muted: #93A1A8;
  --faint: #7A8A93;
  --course: #F2559D;      /* the magenta of a chart's course line and VOR symbols */
  --on-course: #0A1116;
  --air: #86ABFF;         /* airspace blue: links and info */
  --terrain: #B08D57;     /* contour tan */
  --terrain-alpha: .5;
  --paper: #ECE8DC;       /* the pricing placard */
  --on-paper: #0A1116;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);

  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter-l: max(16px, 3vw, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, 3vw, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F1F2EA; --raised: #FAFAF5; --sunken: #E8EADF; --line: #D2D6CA; --line-2: #BFC5B7;
    --fg: #101C24; --fg-2: #2F3D45; --muted: #4F5E66; --faint: #5F6E75;
    --course: #B4236D; --on-course: #FFFFFF; --air: #2450B0; --terrain: #A07E48; --terrain-alpha: .55;
    --paper: #101C24; --on-paper: #F1F2EA; --shadow: 0 24px 60px rgba(16, 28, 36, .14);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F1F2EA; --raised: #FAFAF5; --sunken: #E8EADF; --line: #D2D6CA; --line-2: #BFC5B7;
  --fg: #101C24; --fg-2: #2F3D45; --muted: #4F5E66; --faint: #5F6E75;
  --course: #B4236D; --on-course: #FFFFFF; --air: #2450B0; --terrain: #A07E48; --terrain-alpha: .55;
  --paper: #101C24; --on-paper: #F1F2EA; --shadow: 0 24px 60px rgba(16, 28, 36, .14);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.6 var(--body); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--air); text-underline-offset: 3px; }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--course); outline-offset: 3px; border-radius: 2px; }
code, pre, kbd { font-family: var(--mono); }
::selection { background: var(--course); color: var(--on-course); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--course); color: var(--on-course); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--terrain); }
.eyebrow.hot { color: var(--course); }
.h-display {
  margin: 0; font-family: var(--display); font-variation-settings: "wdth" 76, "opsz" 96; font-weight: 750;
  line-height: .9; letter-spacing: -.02em; text-wrap: balance;
}
.h-section {
  margin: 14px 0 0; font-family: var(--display); font-variation-settings: "wdth" 78; font-weight: 700;
  font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.01em; text-wrap: balance;
}
.lede { color: var(--muted); max-width: 46ch; margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 48px; }
.row > * { min-width: 0; }
.section { padding-block: 104px; }
.band { background: var(--sunken); border-block: 1px solid var(--line); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 17px/1 var(--body); text-decoration: none; padding: 15px 26px; border-radius: 3px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-course { background: var(--course); color: var(--on-course); }
.btn-course:hover { color: var(--on-course); filter: brightness(1.08); }
.btn-ghost { color: var(--fg); border-color: var(--line-2); background: transparent; font-weight: 500; }
.btn-ghost:hover { border-color: var(--fg); }
.btn-sm { font-size: 15px; padding: 10px 18px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
.brand-name { font: 700 21px/1 var(--display); font-variation-settings: "wdth" 80; letter-spacing: .01em; }
.brand-tag { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--terrain); border: 1px solid color-mix(in srgb, var(--terrain) 40%, transparent); padding: 4px 8px; border-radius: 3px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-left: auto; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 3px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; }
.theme-toggle:hover { color: var(--fg); border-color: var(--fg); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* Terrain: the contour SVG used as a mask so its ink follows the theme */
.terrain { position: relative; overflow: hidden; isolation: isolate; }
.terrain::before {
  content: ""; position: absolute; inset: -4%; z-index: -1; background: var(--terrain); opacity: var(--terrain-alpha);
  -webkit-mask: url("contours.svg") center / cover no-repeat; mask: url("contours.svg") center / cover no-repeat;
  transform: translate3d(0, var(--drift, 0px), 0);
}
.terrain.flip::before { transform: scaleX(-1) translate3d(0, var(--drift, 0px), 0); }

/* Hero */
.hero { padding-block: 96px 80px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-meta .sep { color: var(--line-2); }
.hero h1 { font-size: clamp(56px, 9vw, 132px); margin-top: 28px; }
.hero h1 .hot { color: var(--course); }
.hero-copy p { margin: 0; max-width: 56ch; font-size: 19px; color: var(--fg-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-row { align-items: center; margin-top: 40px; }
.hero-copy { flex: 1 1 420px; }

/* Panels: terminals and briefings */
.panel { background: var(--raised); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); min-width: 0; }
.panel-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 11.5px/1 var(--mono); letter-spacing: .06em; color: var(--faint); }
.panel-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--course); }
.panel-bar .copy { margin-left: auto; background: none; border: 0; color: var(--muted); font: inherit; letter-spacing: .08em; cursor: pointer; padding: 4px; }
.panel-bar .copy:hover { color: var(--fg); }
.panel pre { margin: 0; padding: 20px 20px 22px; overflow-x: auto; font: 400 13px/1.85 var(--mono); font-variation-settings: "wdth" 88; color: var(--fg-2); }
.t-dim { color: var(--faint); } .t-id { color: var(--air); } .t-ok { color: var(--terrain); } .t-hot { color: var(--course); } .t-head { color: var(--fg); }
.hero .panel { flex: 1 1 460px; }
.log-line { display: block; }
.js .log.play .log-line { opacity: 0; animation: logIn .01s linear forwards; animation-delay: calc(var(--i) * 420ms + 300ms); }
@keyframes logIn { to { opacity: 1; } }
.cursor { display: inline-block; width: .6em; height: 1.1em; vertical-align: -2px; background: var(--course); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Flight plan */
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.route { display: block; width: 100%; height: auto; margin-top: 56px; overflow: visible; }
.route .course { fill: none; stroke: var(--course); stroke-width: 2.4; }
.route .halo { fill: none; stroke: var(--course); stroke-width: 10; stroke-opacity: .12; }
.route .wp { fill: var(--sunken); stroke: var(--course); stroke-width: 2; }
.route .wp-final { fill: var(--course); }
.route text { fill: var(--fg); font: 500 12px var(--mono); letter-spacing: 1.5px; }
@media (max-width: 600px) { .route text { font-size: 30px; letter-spacing: 2px; } .route { margin-top: 72px; } }
.js .route.armed .course { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.2s cubic-bezier(.6, .1, .2, 1); }
.js .route.armed.flown .course { stroke-dashoffset: 0; }
.js .route.armed .wp, .js .route.armed .wp-final { opacity: 0; transition: opacity .3s ease; }
.js .route.armed.flown .wp, .js .route.armed.flown .wp-final { opacity: 1; }
.js .route.armed.flown g > :nth-child(2) { transition-delay: .5s; }
.js .route.armed.flown g > :nth-child(3) { transition-delay: 1s; }
.js .route.armed.flown g > :nth-child(4) { transition-delay: 1.5s; }
.js .route.armed.flown .wp-final { transition-delay: 2.1s; }
.legs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 44px; padding: 0; list-style: none; }
.legs li { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-2); padding-top: 18px; }
.legs li:last-child { border-top-color: var(--course); }
.legs .n { font: 500 12px/1.4 var(--mono); color: var(--course); }
.legs strong { font-weight: 600; font-size: 18px; }
.legs span:last-child { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .legs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .legs { grid-template-columns: minmax(0, 1fr); } }

/* Chart legend */
.legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 52px; background: var(--line); border: 1px solid var(--line); }
.legend div { background: var(--bg); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; transition: background-color .2s ease; }
.legend div:hover { background: var(--raised); }
.legend .k { font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; color: var(--faint); }
.legend strong { font: 650 24px/1.15 var(--display); font-variation-settings: "wdth" 85; }
.legend span:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .legend { grid-template-columns: minmax(0, 1fr); } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { border: 1px solid var(--line-2); padding: 7px 12px; border-radius: 3px; color: var(--fg-2); font: 400 12.5px/1.4 var(--mono); }

/* Placard */
.placard { border: 2px solid var(--fg); border-radius: 4px; padding: 6px; flex: 1 1 560px; }
.placard > div { border: 1px solid var(--fg); border-radius: 2px; font: 400 14px/1.4 var(--mono); }
.placard p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.placard p:last-child { border-bottom: 0; }
.placard p span:first-child { color: var(--fg-2); }
.placard p span:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.placard .ph { font-size: 11.5px; letter-spacing: .14em; border-bottom-color: var(--fg); }

/* Get Atlas ADE */
.get { padding-block: 112px; }
.get h2 { font-size: clamp(48px, 7vw, 96px); margin-top: 14px; }
.get-copy { flex: 1 1 400px; }
.get-copy p { margin: 24px 0 0; max-width: 46ch; color: var(--fg-2); font-size: 18px; }
.get-copy .panel { margin-top: 28px; max-width: 520px; box-shadow: none; }
.tickets { flex: 1 1 600px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tickets-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .tickets { grid-template-columns: minmax(0, 1fr); } }
.ticket .tag { white-space: nowrap; background: var(--course); color: var(--on-course); padding: 3px 7px; border-radius: 2px; }
.ticket ul { flex: 1; }
.ticket-quiet { background: var(--raised); color: var(--fg); border: 1px solid var(--line-2); }
.ticket-quiet .btn { background: transparent; color: var(--fg); border-color: var(--line-2); }
.ticket-quiet .btn:hover { color: var(--fg); border-color: var(--fg); opacity: 1; }
.ticket { flex: 0 1 420px; background: var(--paper); color: var(--on-paper); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 20px; position: relative; }
.ticket .top { display: flex; justify-content: space-between; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .1em; }
.ticket .price { font: 750 52px/1 var(--display); font-variation-settings: "wdth" 80; }
.ticket ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; }
.ticket li { display: flex; gap: 10px; align-items: baseline; }
.ticket li::before { content: ""; flex: none; width: 8px; height: 8px; transform: translateY(-1px) rotate(45deg); border: 1.5px solid currentColor; }
.ticket code { font-size: 13px; }
.ticket .btn { background: var(--on-paper); color: var(--paper); }
.ticket .btn:hover { color: var(--paper); filter: none; opacity: .9; }
.ticket .fine { font-size: 13px; color: inherit; opacity: .72; margin: 0; }
.ticket .status { font-size: 14px; margin: 0; min-height: 1.4em; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 36px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--course); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .faq { grid-template-columns: minmax(0, 1fr); } }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 36px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; font-size: 14px; color: var(--faint); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.footer-mark { font: 500 12px/1.6 var(--mono); letter-spacing: .08em; }

/* Docs */
.docs-shell { display: flex; flex-wrap: wrap; gap: 0 56px; max-width: 1360px; margin: 0 auto; padding: 40px var(--gutter-r) 96px var(--gutter-l); }
.docs-side { flex: 1 1 220px; max-width: 260px; min-width: 0; font-size: 15px; }
.docs-side details > summary { display: none; }
.docs-side nav { display: flex; flex-direction: column; gap: 28px; }
.docs-group { display: flex; flex-direction: column; gap: 2px; }
.docs-group .eyebrow { color: var(--faint); font-size: 11px; margin-bottom: 6px; }
.docs-group a { color: var(--muted); text-decoration: none; padding: 6px 12px; border-left: 2px solid transparent; }
.docs-group a:hover { color: var(--fg); border-left-color: var(--line-2); }
.docs-group a[aria-current="page"] { color: var(--fg); border-left-color: var(--course); background: var(--raised); }
.docs-main { flex: 999 1 560px; min-width: 0; max-width: 780px; }
.docs-toc { flex: 1 1 200px; max-width: 220px; min-width: 0; font-size: 14px; }
.docs-toc nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - 120px); overflow: auto; }
.docs-toc a { color: var(--muted); text-decoration: none; }
.docs-toc a:hover, .docs-toc a.active { color: var(--fg); }
.docs-toc .lv3 { padding-left: 12px; font-size: 13.5px; }
@media (max-width: 1100px) { .docs-toc { display: none; } }
@media (max-width: 760px) {
  .docs-side { max-width: none; flex-basis: 100%; }
  .docs-side details { border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px; margin-bottom: 24px; }
  .docs-side details > summary { display: block; cursor: pointer; font: 500 12px var(--mono); letter-spacing: .1em; color: var(--muted); }
  .docs-side details[open] nav { margin-top: 16px; }
}
@media (min-width: 761px) { .docs-side details > nav { display: flex !important; } }
.crumbs { font: 400 12px/1.4 var(--mono); color: var(--faint); }
.crumbs b { color: var(--terrain); font-weight: 400; }
.search { flex: 1 1 260px; max-width: 420px; position: relative; }
.search label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--raised); border-radius: 4px; padding: 8px 12px; color: var(--faint); font-size: 14px; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--fg); font: inherit; font-size: 16px; outline: none; }
.search kbd { font-size: 11px; border: 1px solid var(--line-2); padding: 1px 6px; border-radius: 3px; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--raised); border: 1px solid var(--line-2); border-radius: 4px; box-shadow: var(--shadow); padding: 6px; margin: 0; list-style: none; max-height: 60vh; overflow: auto; z-index: 40; }
.search-results a { display: block; padding: 10px 12px; border-radius: 3px; text-decoration: none; color: var(--fg); }
.search-results a:hover, .search-results a.on { background: var(--sunken); }
.search-results small { display: block; color: var(--muted); font-size: 13px; }

.prose { font-size: 16.5px; line-height: 1.7; }
.prose h1 { margin: 14px 0 0; font: 750 60px/1 var(--display); font-variation-settings: "wdth" 78, "opsz" 72; letter-spacing: -.015em; text-wrap: balance; }
.prose h2 { margin: 56px 0 0; font: 700 30px/1.15 var(--display); font-variation-settings: "wdth" 85; text-wrap: balance; scroll-margin-top: 90px; }
.prose h3 { margin: 36px 0 0; font: 650 21px/1.25 var(--display); font-variation-settings: "wdth" 90; scroll-margin-top: 90px; }
.prose h4 { margin: 28px 0 0; font-size: 17px; scroll-margin-top: 90px; }
.prose h2 a.anchor, .prose h3 a.anchor { color: var(--line-2); text-decoration: none; margin-left: 8px; opacity: 0; }
.prose h2:hover a.anchor, .prose h3:hover a.anchor { opacity: 1; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose .table-box, .prose .code { margin: 16px 0 0; }
.prose p, .prose li { color: var(--fg-2); max-width: 72ch; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--course); }
.prose :not(pre) > code { font-size: .84em; padding: 1px 5px; border-radius: 3px; background: var(--raised); border: 1px solid var(--line); color: var(--fg); overflow-wrap: anywhere; }
.prose blockquote { border-left: 2px solid var(--air); padding: 4px 0 4px 18px; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose .code { background: var(--raised); border: 1px solid var(--line); border-radius: 4px; }
.prose .code .panel-bar { padding: 8px 14px; }
.prose pre { margin: 0; padding: 16px 18px; overflow-x: auto; font: 400 13.5px/1.8 var(--mono); font-variation-settings: "wdth" 88; color: var(--fg-2); }
.prose .table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th { text-align: left; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose td { color: var(--fg-2); }
.prose .lead { font-size: 19px; color: var(--fg-2); }
.pager { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { flex: 1 1 240px; border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; text-decoration: none; color: var(--fg); display: flex; flex-direction: column; gap: 4px; }
.pager a:hover { border-color: var(--course); }
.pager a.next { text-align: right; }
.pager small { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; color: var(--faint); }
.source-note { margin-top: 40px; font: 400 12px/1.6 var(--mono); color: var(--faint); }

/* Account */
.auth-stage { min-height: calc(100vh - 70px); padding: 48px 16px 96px; display: flex; justify-content: center; align-items: flex-start; }
.auth-card { width: 100%; max-width: 420px; background: var(--raised); border: 1px solid var(--line); border-radius: 6px; padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.auth-card h1 { margin: 0; font: 750 40px/1 var(--display); font-variation-settings: "wdth" 80; }
.tabs { display: flex; border: 1px solid var(--line); border-radius: 4px; padding: 3px; font-size: 14.5px; }
.tabs button { flex: 1; background: transparent; color: var(--muted); border: 0; border-radius: 3px; padding: 8px; font: inherit; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--line); color: var(--fg); }
.btn-paper { background: var(--fg); color: var(--bg); width: 100%; }
.btn-paper:hover { color: var(--bg); opacity: .92; }
.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font: 500 11px/1 var(--mono); letter-spacing: .1em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--fg-2); }
.field input { background: var(--bg); border: 1px solid var(--line-2); border-radius: 3px; padding: 12px 14px; color: var(--fg); font: inherit; font-size: 16px; }
.field input:focus { outline: none; border-color: var(--course); }
.field .hint { font-size: 12.5px; color: var(--faint); }
.form-error { margin: 0; color: var(--course); font-size: 14px; min-height: 1.2em; }
.fine { margin: 0; font-size: 13px; color: var(--faint); }
.account { padding-block: 56px 96px; display: flex; flex-direction: column; gap: 36px; }
.account h1 { margin: 10px 0 0; font: 750 56px/1 var(--display); font-variation-settings: "wdth" 78; }
.acct-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.acct-main { flex: 2 1 520px; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 18px; background: var(--raised); }
.acct-main .panel { box-shadow: none; background: var(--bg); }
.acct-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.acct-head strong { font: 700 26px/1.1 var(--display); font-variation-settings: "wdth" 85; }
.pill { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; padding: 5px 10px; border-radius: 3px; }
.pill-ok { background: var(--terrain); color: var(--bg); }
.pill-wait { border: 1px solid var(--line-2); color: var(--muted); }
.acct-side { flex: 1 1 300px; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.kv { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin: 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-align: right; }
p code, li code { font-size: .86em; }
.acct-updates { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.acct-updates .kv { flex: 1 1 220px; }
.acct-updates .status { flex-basis: 100%; margin: 0; color: var(--muted); }
.acct-nudge { border: 1px dashed var(--line-2); border-radius: 6px; padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .log.play .log-line { opacity: 1; }
  .js .route.armed .course { stroke-dashoffset: 0; }
  .js .route.armed .wp, .js .route.armed .wp-final { opacity: 1; }
}
