/* Planescope – Konto-Seiten im neuen Design (Anmelden, Registrieren, Passwort, Hinweise), seit 07.11.2026.
   Entwurf design/anmeldung/ (Marco 07.11.2026 freigegeben), Auftrag docs/auftrag-anmeldung.md. Vorlagen templates/auth_x/,
   Skript static/auth_x.js, Hintergrund = Verkehrskarte der Gast-Startseite (static/sky_x.js, gemeinsamer Baustein).
   Alles unter .aux (body) gekapselt; eigene Klassennamen statt daisyUI-Namen (.acard statt .card, .astack statt .stack). */
@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: swap; src: url("/static/fonts/figtree-latin.woff2") format("woff2"); }
.aux {
  /* Flächen, Linien, Schrift, Schilder und Leiste von der zentralen Stelle (chrome_x.css, --ps-*) */
  --bg: var(--ps-bg); --card: var(--ps-card); --line: var(--ps-line); --soft: var(--ps-soft); --field: var(--ps-field); --zebra: var(--ps-zebra);
  --fg: var(--ps-fg); --muted: var(--ps-muted); --faint: var(--ps-faint);
  --on: var(--ps-on); --now: var(--ps-now); --t-l: var(--ps-t-l); --t-c: var(--ps-t-c); --i-l: var(--ps-i-l); --i-c: var(--ps-i-c); --sl: 0.6;
  --land: oklch(0.86 0.014 var(--ah)); --coast: oklch(0.81 0.018 var(--ah)); --plane: #707079; --trail: 96 96 106; --apdot: #66666e;
  --rail: var(--ps-rail); --tile: var(--ps-tile); --rton: var(--ps-on); --rwy: oklch(0.5 0.1 195); --red: oklch(0.6 0.2 25); --focus: oklch(0.6 0.16 250);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: var(--font);   /* 14.11.2026: Plex Mono wurde nie geladen (Ersatzschrift), neues Design = Figtree */
  background: var(--bg); color: var(--fg); font: 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; color-scheme: light;
}
[data-theme="planescope-dark"] .aux {
  --sl: 0.74;
  --land: #1e1e22; --coast: #26262b; --plane: #7c7c86; --trail: 150 150 160; --apdot: #a1a1aa;
  --rton: #3d3d44; --rwy: oklch(0.8 0.11 195); --focus: oklch(0.7 0.14 250); color-scheme: dark;
}
.aux h1, .aux h2, .aux h3, .aux button, .aux input { font-family: var(--font); }
.aux button, .aux input { font-size: inherit; color: inherit; }
.aux a { color: inherit; }
.aux :is(button, a, input):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.aux svg.i { width: 18px; height: 18px; flex: none; display: inline-block; }
.aux .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aux .gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.aux .inner { max-width: 1320px; margin: 0 auto; }

/* Fläche unter der Kopfzeile: Verkehrskarte, Verlauf links wie auf der Startseite, Fenster links */
.aux .skyarea { position: relative; min-height: calc(100svh - 56px); display: flex; flex-direction: column; overflow: hidden; }
.aux #sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
.aux #sky.on { opacity: 1; }
.aux .skyfade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0, var(--bg) 38%, color-mix(in oklab, var(--bg) 72%, transparent) 52%, transparent 68%); }
.aux .r-main { position: relative; flex: 1; padding-block: 40px 28px; }
.aux .r-cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; max-width: 1120px; }
.aux .r-foot { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0 20px 22px; font-size: 13px; color: var(--muted); }
.aux .r-foot a { color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.aux .r-foot a:hover { color: var(--fg); }

/* Bausteine */
.aux .ib { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 0; background: transparent; color: var(--fg); cursor: pointer; flex: none; }
.aux .ib:hover { background: var(--soft); }
.aux .b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; border-radius: 8px; padding: 0 16px; height: 40px;
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; color: var(--fg); background: var(--ps-btn); box-shadow: inset 0 0 0 1px var(--ps-btn-b); }
.aux .b:hover { background: var(--ps-hover); }
.aux .b.pri { background: var(--ps-pri); color: var(--ps-on-pri); box-shadow: inset 0 0 0 1px var(--ps-pri-b); }
.aux .b.pri:hover { opacity: .88; }
.aux .b.ghost { background: transparent; box-shadow: none; }
.aux .b.ghost:hover { background: var(--soft); }
.aux .b.lg { height: 46px; font-size: 15px; }
.aux .b.full { width: 100%; }
.aux .acard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.aux .form { flex: 0 1 420px; width: 100%; max-width: 420px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.aux .form.wide { flex-basis: 520px; max-width: 520px; }
.aux .form h1, .aux .rs-body h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; text-wrap: balance; }
.aux .sub { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.aux .form h2 { margin: 0; font-size: 17px; font-weight: 700; }
.aux .astack { display: flex; flex-direction: column; gap: 14px; }
.aux .lab { display: flex; flex-direction: column; gap: 6px; }
.aux .lab > span:first-child { font-size: 14px; font-weight: 600; }
.aux .in { width: 100%; height: 46px; border: 1px solid var(--ps-field-b); background: var(--field); border-radius: 8px; padding: 0 12px; font-size: 15px; color: var(--fg); }
.aux .in::placeholder { color: var(--faint); }
.aux .in:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.aux .in.err { border-color: var(--red); }
.aux .ferr { font-size: 13.5px; color: oklch(var(--i-l) 0.14 25); margin: 0; font-weight: 600; }
.aux .hint { font-size: 13.5px; color: var(--muted); margin: 0; }
.aux .lnk { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; color: var(--fg); cursor: pointer; }
.aux .q { color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.aux .q:hover { color: var(--fg); }
.aux .cb { width: 18px; height: 18px; margin: 0; accent-color: var(--fg); flex: none; }
.aux .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.aux .grow { flex: 1; }
.aux .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.aux .msg { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; font-size: 14px;
  background: oklch(var(--t-l) var(--t-c) var(--h)); color: oklch(var(--i-l) var(--i-c) var(--h)); }
.aux .msg p { margin: 0; }
.aux .msg a { color: inherit; }
.aux .msg .sqs { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; flex: none;
  background: oklch(var(--i-l) var(--i-c) var(--h)); color: oklch(var(--t-l) var(--t-c) var(--h)); }
.aux .msg.col { flex-direction: column; gap: 10px; }
.aux .msg .msgrow { display: flex; gap: 12px; align-items: flex-start; }
.aux .msg form { margin: 0; }
.aux .sq { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; flex: none;
  background: oklch(var(--t-l) var(--t-c) var(--h)); color: oklch(var(--i-l) var(--i-c) var(--h)); }
.aux .h-red { --h: 25; } .aux .h-amber { --h: 80; } .aux .h-blue { --h: 250; } .aux .h-ok { --h: 150; }
.aux .pwbox { position: relative; display: block; }
.aux .pwbox .in { padding-right: 48px; }
.aux .pwbox .ib { position: absolute; right: 3px; top: 3px; color: var(--muted); }
.aux .demo { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: var(--zebra); border: 1px solid var(--line); text-decoration: none; color: var(--fg); }
.aux .demo:hover { background: var(--soft); }
.aux .tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--tile); flex: none; color: var(--rwy); }
.aux .tile.big { width: 44px; height: 44px; border-radius: 8px; }
.aux .tile svg { width: 24px; height: 24px; display: block; }
.aux .tile.big svg { width: 30px; height: 30px; }

/* Kasten rechts (Leisten-Vorschau) */
.aux .pnl { flex: 0 1 460px; min-width: 0; overflow: hidden; }
.aux .pnl-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 18px 20px 14px; }
.aux .pnl-h h2 { margin: 0; font-size: 17px; font-weight: 700; }
.aux .pnl-f { margin: 0; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* Registrierung: Route mit Meldepunkten */
.aux .route { display: flex; list-style: none; margin: 0; padding: 0; }
.aux .wp { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.aux .wp::after { content: ""; position: absolute; top: 8px; left: 26px; right: 8px; border-top: 2px dashed var(--line); }
.aux .wp:last-child { flex: 0 0 auto; }
.aux .wp:last-child::after { display: none; }
.aux .wp.done::after { border-top-style: solid; border-color: var(--fg); }
.aux .wp.cur { color: var(--fg); font-weight: 600; }
.aux .wp svg { display: block; }
.aux .wp path { fill: none; stroke: var(--faint); stroke-width: 1.6; stroke-linejoin: round; }
.aux .wp.cur path { fill: var(--now); stroke: var(--fg); }
.aux .wp.done path { fill: var(--fg); stroke: var(--fg); }
.aux .wp b { font: 600 11.5px var(--mono); letter-spacing: .08em; margin-right: 5px; }
.aux .aps { border: 1px solid var(--line); border-radius: 8px; max-height: 372px; overflow: auto; background: var(--field); }
.aux .aps.err { border-color: var(--red); }
.aux .apr { display: grid; grid-template-columns: 18px 3.4rem minmax(0, 1fr) 32px; gap: 12px; align-items: center; padding: 8px 12px; min-height: 48px; cursor: pointer; border-top: 1px solid var(--line); }
.aux .apr:first-child { border-top: 0; }
.aux .apr:hover { background: var(--zebra); }
.aux .apr.on { background: var(--soft); }
.aux .apr[hidden] { display: none; }
.aux .apr .mono { font-weight: 700; font-size: 14px; justify-self: start; background: var(--ps-soft); border-radius: 6px; padding: 4px 8px; min-width: 52px; text-align: center; }
.aux .apr.on .mono { background: var(--card); }
.aux .apx-h { margin: 0; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--zebra); font-size: 13.5px; font-weight: 600; color: var(--muted); }
.aux #apx .apr { grid-template-columns: 18px 3.4rem minmax(0, 1fr) auto; }
.aux #apx .apr:first-child { border-top: 1px solid var(--line); }
.aux .apr .rq { justify-self: end; padding: 2px 6px; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--card); }
.aux .apr.on .rq { color: var(--fg); }
.aux .srch { position: relative; display: block; }
.aux .srchw { position: relative; }
.aux .sugg { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 15; max-height: 18rem; overflow: auto; background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 4px; display: grid; gap: 2px; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .35); }
.aux .sugg[hidden] { display: none; }
.aux .sugg .sh { padding: 6px 8px 4px; font-size: 13px; color: var(--muted); }
.aux .sugg .opt { width: 100%; display: flex; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 6px; cursor: pointer; border: 0; background: transparent; color: var(--fg); text-align: left; font-family: var(--font); }
.aux .sugg .opt:hover, .aux .sugg .opt.on { background: var(--ps-soft); }
.aux .sugg .opt > span:nth-child(2) { flex: 1; min-width: 0; }
.aux .sugg .opt b { display: block; font-weight: 600; font-size: 14.5px; }
.aux .sugg .opt small { display: block; color: var(--muted); font-size: 13px; }
.aux .sugg .apc { background: var(--ps-soft); border-radius: 6px; padding: 4px 8px; font-weight: 700; letter-spacing: .02em; font-size: 14px; min-width: 52px; text-align: center; flex: none; }
.aux .sugg .opt:hover .apc, .aux .sugg .opt.on .apc { background: var(--card); }
.aux .sugg .rq { font-size: 12.5px; font-weight: 600; color: var(--muted); flex: none; }
.aux .srch svg { position: absolute; left: 13px; top: 14px; color: var(--muted); }
.aux .srch .in { padding-left: 40px; }
.aux .meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.aux .meter i { height: 6px; border-radius: 3px; background: var(--line); }
.aux .mline { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); margin-top: 6px; }
.aux .mline b { color: var(--fg); font-weight: 600; }
.aux .checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.aux .checks li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.aux .checks li.ok { color: oklch(var(--i-l) var(--i-c) 150); }
.aux .consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.aux .consent .cb { margin-top: 2px; }
.aux .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Vorschau der Leiste (wie .railx ausgeklappt) */
.aux .mock { display: flex; min-height: 540px; border-top: 1px solid var(--line); }
.aux .rail { width: 252px; flex: none; background: var(--rail); padding: 10px; display: flex; flex-direction: column; gap: 3px; border-right: 1px solid var(--line); }
.aux .rf { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-weight: 500; font-size: 14px; color: var(--muted); }
.aux .rsep { height: 1px; background: var(--line); margin: 6px 4px; }
.aux .rt { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; }
.aux .rt.on { background: var(--rton); }
.aux .rt .tile { width: 40px; height: 40px; border-radius: 8px; }
.aux .rt .tile svg { width: 28px; height: 28px; }
.aux .rt b { font-weight: 700; }
.aux .rt .nm { color: var(--muted); font-size: 13px; }
.aux .rt .rw { display: block; font: 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; }
.aux .rempty { border: 1.5px dashed var(--faint); border-radius: 8px; padding: 14px 10px; font-size: 13px; color: var(--muted); text-align: center; }
.aux .skel { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.aux .skel-h { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.aux .skel-h b { display: block; font-size: 20px; line-height: 1.2; }
.aux .skel-h span { font: 500 12.5px var(--mono); color: var(--muted); }
.aux .srow { display: flex; align-items: center; gap: 12px; padding: 11px 16px; }
.aux .srow:nth-child(even of .srow) { background: var(--zebra); }
.aux .srow.past { opacity: .55; }
.aux .bar { height: 9px; border-radius: 4px; background: var(--line); display: block; }
.aux .sch { width: 64px; height: 18px; border-radius: 5px; margin-left: auto; background: oklch(var(--t-l) var(--t-c) var(--h)); display: block; }
.aux .nowbar { height: 2px; background: var(--now); }

/* Passwort zurücksetzen, Hinweisseiten */
.aux .rs { width: 100%; max-width: 480px; overflow: hidden; }
.aux .rs-body { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.aux .head { display: flex; gap: 14px; align-items: flex-start; }
.aux .head p { margin: 8px 0 0; color: var(--muted); }
.aux .clock { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; background: var(--zebra); border: 1px solid var(--line); }
.aux .clock .mono { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.aux details.again summary { list-style: none; display: inline-flex; }
.aux details.again summary::-webkit-details-marker { display: none; }
.aux details.again[open] summary { display: none; }
.aux details.again form { display: grid; gap: 10px; }

/* Schritte der Registrierung: ohne Skript stehen alle drei untereinander (ein Formular, ein POST) */
.aux.js .rstep:not(.on) { display: none; }
.aux:not(.js) [data-jsonly] { display: none !important; }
.aux:not(.js) .rstep + .rstep { border-top: 1px solid var(--line); padding-top: 18px; }
.aux.js [data-nojs] { display: none !important; }

/* Handy und schmale Fenster */
@media (max-width: 1040px) { .aux .skyfade { background: color-mix(in oklab, var(--bg) 78%, transparent); } }
@media (max-width: 600px) {
  .aux .r-main { padding-block: 16px 24px; }
  .aux .form, .aux .rs-body { padding: 20px; }
  .aux .pnl-h, .aux .pnl-f { padding-inline: 16px; }
  .aux .skel { display: none; } .aux .rail { width: 100%; border-right: 0; } .aux .mock { min-height: 0; }
  .aux .wp span { display: none; } .aux .wp.cur span { display: inline; }
  .aux .pnl { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .aux * { transition: none !important; } }

/* Flughafen nicht abgedeckt, Gast-Fassung (site/airport_missing.html, Marco 11.11.2026, Entwurf design/oeffentliche-seiten/ B) */
.aux .apm .aphd { display: flex; gap: 14px; align-items: center; }
.aux .apm .aphd .code { font: 700 15px var(--mono); padding: 7px 10px; border-radius: 7px; background: var(--ps-btn); box-shadow: inset 0 0 0 1px var(--ps-btn-b); flex: none; }
.aux .apm .aphd b { display: block; font-weight: 600; line-height: 1.25; }
.aux .apm .aphd span { font-size: 13.5px; color: var(--muted); }
.aux .apm .near { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
.aux .apm .near > span { width: 100%; }
.aux .apm .near a { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px; border-radius: 6px; background: var(--ps-btn);
  box-shadow: inset 0 0 0 1px var(--ps-btn-b); color: var(--muted); text-decoration: none; font-size: 12.5px; }
.aux .apm .near a:hover { background: var(--ps-hover); }
.aux .apm .near a b { font: 700 13px var(--mono); color: var(--fg); }
.aux .apm .b svg { width: 18px; height: 18px; }

/* Zwei-Faktor-Anmeldung: Code-Seite (templates/auth_x/code.html, web/twofa.py, Entwurf design/zwei-faktor/, 25.11.2026) */
.aux .in.otp { height: 58px; font-size: 27px; font-weight: 600; letter-spacing: .38em; text-align: center; font-variant-numeric: tabular-nums;
  padding-left: calc(12px + .38em); }
.aux button.q { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; }
.aux form.inl { margin: 0; }
