/* Einstellungen im neuen Design (Marco 05.11.2026, Entwurf design/einstellungen/, Variante B).
   Fenster über der Seite (.stx-ov, static/settings_x.js) oder direkt aufgerufen als Seite (main.stx-page).
   Farben wie compact.css/chrome_x.css (Hell gedämpft, neutral), Vorschau-Bausteine (.m-*) aus dem Entwurf. */
/* Flächen, Linien, Schrift, Schilder von der zentralen Stelle (chrome_x.css, --ps-*). .tl/.td = Vorschau immer hell bzw.
   dunkel (settings_x.js setzt dazu ps-tl/ps-td, damit die zentralen Werte dort neu gelten) */
.stx, .stx .tl, .stx .td {
  --bg: var(--ps-bg); --card: var(--ps-card); --line: var(--ps-line); --soft: var(--ps-soft); --zebra: var(--ps-zebra); --fg: var(--ps-fg);
  --muted: var(--ps-muted); --faint: var(--ps-faint); --on: var(--ps-on); --t-l: var(--ps-t-l); --t-c: var(--ps-t-c); --i-l: var(--ps-i-l); --i-c: var(--ps-i-c);
  --btn: var(--ps-btn); --btn-b: var(--ps-btn-b); --on-b: var(--ps-on-b); --on-fg: var(--ps-on-fg); --pri: var(--ps-pri); --on-pri: var(--ps-on-pri);
  --pri-b: var(--ps-pri-b); --field-b: var(--ps-field-b); --hover: var(--ps-hover);
}
.stx, .stx .tl {
  --in: var(--ps-field);
  --ok: oklch(0.55 0.13 150); --info: oklch(0.52 0.14 255); --bad: oklch(0.56 0.18 25); --unsch: #f5c518;
  --ldg: oklch(0.6 0.15 155); --dep: oklch(0.58 0.15 250); --focus: oklch(0.6 0.16 250); --badge: oklch(0.58 0.2 25);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; color-scheme: light;
}
[data-theme="planescope-dark"] .stx, .stx .td {
  --in: #111113;
  --ok: oklch(0.5 0.12 150); --info: oklch(0.5 0.13 255); --bad: oklch(0.55 0.17 25);
  --ldg: oklch(0.72 0.15 155); --dep: oklch(0.7 0.14 250); --focus: oklch(0.7 0.14 250); color-scheme: dark;
}
.stx .tl { color-scheme: light; }
.stx { font: 15px/1.45 var(--font); color: var(--fg); display: flex; height: 100%; }
.stx :is(button, a, input, select, label):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.stx .grow { flex: 1; }

/* Fenster über der Seite: Kopfzeile und Leiste bleiben scharf, die Seite darunter milchig. Einblenden nur beim Öffnen. */
.stx-ov { position: fixed; top: 3.5rem; left: 72px; right: 0; bottom: 0; z-index: 36; display: flex; padding: 10px 14px 14px;
  background: var(--ps-backdrop); -webkit-backdrop-filter: blur(6px) saturate(.9); backdrop-filter: blur(6px) saturate(.9); }
[data-theme="planescope-dark"] .stx-ov { background: rgb(17 17 19 / .6); }
body.rail-wide .stx-ov { left: 252px; }
.stx-ov.anim { animation: stx-in .18s ease-out; } .stx-ov.anim .stx-set { animation: stx-win .18s ease-out; }
@keyframes stx-in { from { opacity: 0; } } @keyframes stx-win { from { opacity: 0; transform: translateY(6px); } }
@keyframes stx-up { from { transform: translateY(30px); opacity: .5; } }
.stx-ov.loading { cursor: progress; }
body.stx-open { overflow: hidden; }
.stx-ov > .stx { flex: 1; min-width: 0; }   /* Fenster immer volle Breite, nicht nur so breit wie der Inhalt */
main.stx-page { height: calc(100dvh - 3.5rem); padding: 10px 14px 14px; display: flex; }
/* Seitenhintergrund wie die übrigen neuen Seiten (zentral --ps-bg) */
[data-theme="planescope"] body:has(main.stx-page) { background: var(--ps-bg); }
main.stx-page > .stx { flex: 1; min-width: 0; }

.stx-set { flex: 1; min-width: 0; display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stx-nav { width: 232px; flex: none; border-right: 1px solid var(--line); padding: 18px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.stx-nav-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } .stx-nav-h h2 { font-size: 20px; font-weight: 700; margin: 0 8px; }
.stx-ni { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--muted); text-align: left; border-radius: 8px; padding: 8px 10px;
  font-size: 15px; font-weight: 500; cursor: pointer; width: 100%; text-decoration: none; }
.stx-ni:hover { background: var(--soft); color: var(--fg); }
.stx-ni[aria-current="page"] { background: var(--soft); color: var(--fg); font-weight: 600; }
.stx-ni .stx-chev { margin-left: auto; opacity: .6; display: none; }
.stx-sep { height: 1px; background: var(--line); margin: 10px 8px; }
.stx-nav-foot { margin-top: auto; padding-top: 14px; }
/* Bildlaufleiste schmal und innerhalb der runden Ecken (Marco 05.11.2026) */
.stx-content { flex: 1; min-width: 0; overflow-y: auto; padding: 26px 32px 48px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.stx-content::-webkit-scrollbar { width: 10px; } .stx-content::-webkit-scrollbar-track { background: transparent; margin-block: 12px; }
.stx-content::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; border: 3px solid var(--card); }
.stx-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.stx-head h2 { font-size: 24px; font-weight: 700; margin: 0; letter-spacing: -.01em; } .stx-head p { margin: 3px 0 0; color: var(--muted); }
.stx-back { display: none; color: var(--muted); font-weight: 600; margin-bottom: 12px; align-items: center; gap: 4px; text-decoration: none; }
.stx-x { margin-left: auto; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; flex: none; }
.stx-x > span { width: 34px; height: 34px; border-radius: 8px; background: var(--soft); display: grid; place-items: center; color: var(--fg); }
.stx-x:hover > span { background: var(--line); }
.stx-ph { display: none; }
.stx-msg { display: flex; gap: 8px; align-items: center; border-radius: 8px; padding: 9px 12px; margin-bottom: 18px; font-weight: 600; font-size: 14px;
  background: oklch(var(--t-l) var(--t-c) 150); color: oklch(var(--i-l) var(--i-c) 150); }
.stx-msg.err { background: oklch(var(--t-l) var(--t-c) 25); color: oklch(var(--i-l) var(--i-c) 25); }
.stx-toast { height: auto; width: max-content; position: fixed; left: 50%; bottom: 22px; z-index: 80; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; background: var(--fg); color: var(--card);
  border-radius: 8px; padding: 8px 14px; font: 600 14px/1.4 var(--font); display: flex; gap: 8px; align-items: center; transition: opacity .18s, transform .18s; }
.stx-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Administration (settings_layout.html, 08.11.2026): gleicher Rahmen als Seite, Gruppen-Titel ohne Versalien,
   Schließen als Link, Bereichsauswahl nur am Handy (dort ist die Leiste ausgeblendet) */
.stx-nav-t { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 2px 10px 4px; }
.stx-adm .stx-x { text-decoration: none; }
.stx-adm .stx-head { margin-bottom: 18px; }
.stx-amob { display: none; font: inherit; font-size: 15px; color: var(--fg); background: var(--in); border: 1px solid var(--field-b); border-radius: 8px;
  padding: 9px 11px; width: 100%; margin-bottom: 14px; }
@media (max-width: 47.999rem) { .stx-amob { display: block; } .stx-adm .stx-x { display: none; } }

/* Zeilen und Umschalter */
.stx-b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr); gap: 28px; align-items: start; }
.stx-grp { margin-bottom: 30px; scroll-margin-top: 12px; }
.stx-grp > h3, .stx-h3 { font-size: 19px; font-weight: 700; margin: 0 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.stx-row { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 13px 10px; border-radius: 8px; flex-wrap: wrap; margin: 0; }
.stx-row + .stx-row { box-shadow: 0 -1px 0 var(--line); }
.stx-row:hover, .stx-row.cur { background: var(--zebra); }
/* Akzentfarbe und Farbstärke wirken nur im hellen Farbschema → im dunklen gar nicht zeigen, sonst wundert man sich, warum
   nichts passiert (Marco 08.11.2026). data-theme ist das gerade wirksame Schema (auch bei „System“), wechselt sofort mit. */
[data-theme="planescope-dark"] .stx-row:is([data-row="accent"], [data-row="tone"]) { display: none; }
.stx-row.col { flex-direction: column; align-items: stretch; } .stx-row.col .stx-rl { flex: none; }
.stx-rl { display: grid; min-width: 0; flex: 1 1 200px; } .stx-rl b { font-weight: 650; } .stx-rl > span { color: var(--muted); font-size: 13.5px; }
.stx-seg { display: inline-flex; flex-wrap: wrap; background: var(--btn); border-radius: 9px; padding: 3px; gap: 2px; box-shadow: inset 0 0 0 1px var(--btn-b); }
.stx-seg label { position: relative; cursor: pointer; }
.stx-seg input { position: absolute; opacity: 0; pointer-events: none; }
.stx-seg span { display: inline-flex; color: var(--muted); font-weight: 500; font-size: 14px; border-radius: 7px; padding: 6px 12px; white-space: nowrap; }
.stx-seg label:hover span { color: var(--fg); }
/* Akzentfarbe: kleines Farbfeld vor dem Namen */
.stx-seg input[name="accent"] + span { align-items: center; }
.stx-seg input[name="accent"] + span::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px;
  background: oklch(0.8 0.11 var(--sw, 250)); }
.stx-seg input[name="accent"][value="mint"] + span { --sw: 170; } .stx-seg input[name="accent"][value="lilac"] + span { --sw: 300; }
.stx-seg input:checked + span { background: var(--on); color: var(--on-fg); box-shadow: 0 0 0 1px var(--on-b); font-weight: 600; }
[data-theme="planescope-dark"] .stx-seg input:checked + span { box-shadow: none; }
.stx-seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }
.stx-tgls { display: flex; flex-wrap: wrap; gap: 8px; }
.stx-tgl { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-radius: 8px; padding: 7px 11px 7px 8px;
  font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.stx-tgl input { position: absolute; opacity: 0; pointer-events: none; }
.stx-tgl .box { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--faint); display: grid; place-items: center; color: transparent; }
.stx-tgl:has(input:checked) { color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.stx-tgl:has(input:checked) .box { background: var(--pri); color: var(--on-pri); box-shadow: inset 0 0 0 1px var(--pri-b); }
.stx-tgl:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.stx-pv { position: sticky; top: 0; }
.stx-pv-cap { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13.5px; margin-bottom: 8px; } .stx-pv-cap b { color: var(--fg); }
.stx-pv-tip { color: var(--muted); font-size: 13px; margin-top: 8px; }
.stx-ppv { flex-basis: 100%; margin: 6px 0 2px; }
.stx-ppv.ph { width: 200px; max-width: 70%; margin-inline: auto; } .stx-ppv.ph .sc { border-radius: 16px; box-shadow: 0 0 0 3px var(--fg); }
.stx-mob { display: none !important; }

/* Karten, Listen, Knöpfe, Formularfelder (auch die gemeinsamen aus auth/_field.html) */
.stx-cards { display: grid; gap: 16px; max-width: 52rem; }
.stx-card { background: var(--bg); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); padding: 18px 20px; display: grid; gap: 14px; min-width: 0; margin: 0; }
.stx-card h3 { font-size: 17px; font-weight: 700; margin: 0; }
.stx-card.danger { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bad) 50%, var(--line)); } .stx-card.danger h3 { color: var(--bad); }
.stx-note, .stx-empty { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; }
.stx-empty { border: 1px dashed var(--line); border-radius: 10px; padding: 18px; text-align: center; }
.stx-list { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); overflow: hidden; list-style: none; margin: 0 0 6px; padding: 0; }
.stx-list > li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-width: 0; border-bottom: 1px solid var(--line); }
.stx-list > li:last-child { border-bottom: 0; }
.stx-list .t { min-width: 0; flex: 1; display: grid; text-decoration: none; color: inherit; } .stx-list .t small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.stx-pins { box-shadow: inset 0 0 0 1px var(--line); max-width: 560px; overflow: visible; }
.stx-pins li { border-color: var(--line) !important; }
.stx-ap { max-width: 560px; }
.stx-ib { width: 32px; height: 32px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; }
.stx-ib:hover { background: var(--soft); color: var(--fg); }
.stx-btn, .stx .btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border: 0; border-radius: 8px; background: var(--btn); box-shadow: inset 0 0 0 1px var(--btn-b);
  font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap; color: var(--fg); }
.stx-btn:hover, .stx .btn:hover { background: var(--hover); }
.stx-btn.primary, .stx .btn-primary { background: var(--pri); color: var(--on-pri); box-shadow: inset 0 0 0 1px var(--pri-b); } .stx-btn.danger { background: var(--bad); color: #fff; }
.stx-card .stx-btn:not(.primary, .danger) { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }   /* auf Karten sonst unsichtbar */
.stx-btn.sm, .stx .btn-sm { height: 30px; font-size: 13.5px; padding: 0 10px; }
.stx .btn-ghost { background: transparent; } .stx .btn-square { width: 30px; padding: 0; justify-content: center; }
/* .stx .btn setzt display und schlug sonst Tailwinds .hidden (Ebenen) → versteckte Knöpfe sichtbar, z. B. Push „Turn on“ neben „Turn off“ (Marco 06.11.2026) */
.stx .btn.hidden { display: none; }
.stx :is(.input, .select, select.in) { font: 15px/1.3 var(--font); color: var(--fg); background: var(--in); border: 1px solid var(--field-b); border-radius: 8px; height: 40px; box-shadow: none; }
.stx .stx-push { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stx .stx-alertform { display: flex; flex-direction: column; gap: 20px; }
.stx .rounded-box, .stx .rounded-\[3px\] { border-radius: 8px; }
/* daisyUI-Größen, die .stx .btn / .stx .select sonst überschrieben (Administration nutzt sie, 08.11.2026) */
.stx .btn-xs { height: 26px; font-size: 12.5px; padding: 0 8px; border-radius: 6px; }
.stx :is(.input-sm, .select-sm, select.select-sm) { height: 32px; font-size: 14px; }   /* select.… = gleiche Spezifität wie oben */
.stx :is(.input-xs, .select-xs, select.select-xs) { height: 26px; font-size: 13px; border-radius: 6px; padding-block: 0; }
.stx .border-base-300 { border-color: var(--line); }
.stx .bg-base-100 { background: var(--bg); }

/* Mittlere Breite: Vorschau unter der angetippten Zeile statt daneben */
@media (max-width: 79.99rem) {
  .stx-b { grid-template-columns: 1fr; } .stx-pv { display: none; }
}
/* Handy und Tablet hochkant: eigene Filter-Darstellung, Vorschau hochkant */
@media (max-width: 63.99rem) { .stx-desk { display: none !important; } .stx-mob { display: flex !important; } }
@media (max-width: 47.999rem) {
  .stx-ov { inset: 0; padding: 0; z-index: 65; background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
  [data-theme="planescope-dark"] .stx-ov { background: #18181b; }
  .stx-ov.anim { animation: stx-up .22s ease-out; } .stx-ov.anim .stx-set { animation: none; }
  main.stx-page { padding: 0; height: calc(100dvh - 3.5rem); }
  .stx-set { border: 0; border-radius: 0; }
  .stx-nav { width: 100%; border: 0; padding: 18px 12px; }
  .stx-ni { padding: 13px 10px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .stx-ni .stx-chev { display: block; }
  .stx-ni[aria-current="page"] { background: transparent; font-weight: 500; }
  .stx[data-mv="list"] .stx-content, .stx:not([data-mv="list"]) .stx-nav { display: none; }
  .stx-content { padding: 16px 14px 64px; }
  .stx-back { display: inline-flex; } .stx-ph { display: flex; } .stx-x small { display: none; }
  .stx-head h2 { font-size: 22px; }
  .stx-row .stx-seg { width: 100%; } .stx-row .stx-seg label { flex: 1; } .stx-row .stx-seg span { justify-content: center; width: 100%; padding: 7px 6px; }
}
@media (prefers-reduced-motion: reduce) { .stx-ov.anim, .stx-ov.anim .stx-set { animation: none; } .stx-toast { transition: none; } }

/* ---------- Vorschau (Mini-Seiten, aus dem Entwurf) ---------- */
.stx .sc { height: 100px; }
.stx svg.i { width: 16px; height: 16px; flex: none; }
.stx .logo { font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.stx .av { border-radius: 8px; background: var(--fg); color: var(--card); display: grid; place-items: center; font-weight: 700; flex: none; }
.stx .r-tile { position: relative; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; letter-spacing: .02em; flex: none; }
.stx .r-tile.on { box-shadow: inset 0 0 0 1.5px var(--fg); }
.stx .r-gl { background: var(--muted); border-radius: 2px; transform: rotate(-24deg); }
.stx .r-n { position: absolute; background: var(--badge); color: #fff; font-weight: 700; }
.stx .chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 5px; padding: 2px 8px; font-weight: 600; font-size: 13px; white-space: nowrap;
  background: oklch(var(--t-l) var(--t-c) var(--h, 0)); color: oklch(var(--i-l) var(--i-c) var(--h, 0)); border: 0; }
.stx .chip.ol { background: transparent; box-shadow: inset 0 0 0 1.5px oklch(0.6 0.13 var(--h)); }
.stx .chip.c-unsch { background: var(--unsch); color: #15171a; }
.stx .c-mil { --h: 125; }
.stx .c-vip { --h: 300; }
.stx .c-unusual, .stx .c-variant { --h: 190; }
.stx .c-new { --h: 250; }
.stx .c-livery, .stx .c-sticker { --h: 45; }
.stx .c-emerg { --h: 25; }
.stx .c-rare, .stx .c-neutral { --h: 0; --t-c: 0; --i-c: 0; }
.stx .f-clock { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; }
.stx .f-clock b { color: var(--fg); font-weight: 600; }
.stx .r-tile { position: relative; border-radius: 9px; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  font-weight: 700; letter-spacing: .02em; flex: none; }
.stx .r-tile.on { box-shadow: inset 0 0 0 1.5px var(--fg); }
.stx .r-gl { width: 20px; height: 2.5px; background: var(--muted); border-radius: 2px; transform: rotate(-24deg); }
.stx .r-n { position: absolute; top: -5px; right: -5px; background: var(--badge); color: #fff; font-size: 10.5px; line-height: 16px; border-radius: 5px; padding: 0 5px; font-weight: 700; }
.stx .sc-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.stx .sc-head h2 { font-size: 24px; margin: 0; letter-spacing: -.01em; }
.stx .sc-head p { margin: 3px 0 0; color: var(--muted); }
.stx .sc { position: relative; width: 100%; overflow: hidden; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); height: 100px; }
.stx .sci { position: absolute; top: 0; left: 0; transform-origin: 0 0; pointer-events: none; }
.stx .sc.live .sci { pointer-events: auto; }
.stx .strip { width: 100%; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 6px; background: var(--bg); font-size: 12px; }
.stx .strip .logo { font-size: 13px; }
.stx .strip .s-in { flex: 1; height: 20px; border-radius: 5px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.stx .hl { outline: 2.5px solid var(--focus) !important; outline-offset: 2px; border-radius: 4px; }
.stx .m { background: var(--bg); color: var(--fg); font: 11px/1.35 var(--font); display: flex; flex-direction: column; overflow: hidden; }
.stx .m .i { width: 12px; height: 12px; }
.stx .m-top { height: 34px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.stx .m-top .logo { font-size: 13px; }
.stx .m-top .s-in { width: 230px; margin-left: 60px; height: 22px; border-radius: 5px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.stx .m-top .f-clock { font-size: 10.5px; }
.stx .m-top .av { width: 22px; height: 22px; font-size: 9px; border-radius: 5px; }
.stx .m-body { flex: 1; display: flex; min-height: 0; }
.stx .m-rail { width: 50px; flex: none; padding: 8px 7px; display: flex; flex-direction: column; gap: 6px; }
.stx .m-rail .r-tile { height: 36px; font-size: 9px; border-radius: 6px; gap: 4px; }
.stx .m-rail .r-gl { width: 14px; height: 2px; }
.stx .m-rail .r-n { font-size: 8px; line-height: 12px; top: -3px; right: -3px; padding: 0 3px; border-radius: 3px; }
.stx .m-main { flex: 1; min-width: 0; padding: 8px 10px 0 2px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.stx .m-pad { padding: 8px; }
.stx .m-card { background: var(--card); border: 1px solid var(--line); border-radius: 7px; }
.stx .m-head { display: flex; align-items: center; gap: 8px; padding: 7px 9px; flex: none; }
.stx .m-head b { font-size: 12.5px; }
.stx .m-head small { display: block; color: var(--muted); font-size: 9.5px; }
.stx .m-code { background: var(--soft); border-radius: 4px; padding: 3px 6px; font-weight: 700; font-size: 11px; }
.stx .m-btn { display: inline-flex; align-items: center; gap: 4px; background: var(--btn); box-shadow: inset 0 0 0 1px var(--btn-b); border-radius: 5px; padding: 4px 7px; font-weight: 600; font-size: 10px; white-space: nowrap; }
.stx .m-btn.dark { background: var(--pri); color: var(--on-pri); box-shadow: inset 0 0 0 1px var(--pri-b); }
.stx .m-btn .n { background: var(--card); color: var(--fg); border-radius: 3px; padding: 0 3px; }
.stx .m-seg { display: inline-flex; background: var(--btn); border-radius: 5px; padding: 2px; gap: 1px; font-size: 10px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--btn-b); }
.stx .m-seg > * { padding: 2px 6px; border-radius: 4px; font-style: normal; font-weight: 500; white-space: nowrap; }
.stx .m-seg b { background: var(--on); color: var(--on-fg); box-shadow: 0 0 0 1px var(--on-b); font-weight: 600; }
.stx .m-lc { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.stx .m-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 7px 8px; }
.stx .m-chips { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 8px 7px; }
.stx .m .chip { font-size: 9.5px; padding: 1px 5px; border-radius: 3px; gap: 3px; }
.stx .m-act { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; padding: 0 8px 7px; color: var(--muted); font-size: 10px; }
.stx .m-act span.a { background: var(--soft); color: var(--fg); border-radius: 4px; padding: 2px 4px 2px 6px; font-weight: 500; display: inline-flex; gap: 4px; align-items: center; }
.stx .m-act span.a .i { width: 9px; height: 9px; }
.stx .m-list { border-top: 1px solid var(--line); flex: 1; min-height: 0; overflow: hidden; }
.stx .m-note { padding: 4px 8px; color: var(--muted); font-size: 9.5px; border-bottom: 1px solid var(--line); background: var(--zebra); }
.stx .m-row { display: grid; grid-template-columns: 22px 70px 88px 44px 44px 58px minmax(0, 1fr) 60px; gap: 6px; align-items: center; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.stx .m-row.cat { background-color: color-mix(in oklab, oklch(var(--t-l) var(--t-c) var(--h, 0)) 38%, var(--card)); box-shadow: inset 3px 0 0 oklch(0.68 0.13 var(--h, 0)); }
.stx .m-row small { display: block; color: var(--muted); font-size: 8.5px; white-space: nowrap; }
.stx .m-dir { width: 20px; height: 20px; border-radius: 4px; background: var(--soft); display: grid; place-items: center; }
.stx .m-row b { font-weight: 650; font-size: 11.5px; }
.stx .tb { display: inline-block; border-radius: 3px; padding: 1px 5px; font-weight: 650; font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; background: var(--soft); }
.stx .tb.early { background: var(--ok); color: #fff; }
.stx .tb.late { background: var(--bad); color: #fff; }
.stx .tb.unsch { background: var(--unsch); color: #15171a; }
.stx .m-ty { border: 1px solid var(--fg); border-radius: 3px; text-align: center; font-weight: 650; font-size: 10.5px; padding: 1px 0; }
.stx .m-reg { font-weight: 600; font-size: 11px; }
.stx .m-stt { font-size: 8.5px; font-weight: 700; letter-spacing: .05em; border-radius: 3px; padding: 2px 4px; text-align: center; color: #fff; background: var(--ok); }
.stx .m-stt.info { background: var(--info); }
.stx .m-stt.sch { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.stx .m-sbw { flex: 1; min-height: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 7px; }
.stx .m-side { padding: 8px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.stx .m-side .g { display: grid; gap: 4px; }
.stx .m-side .g > span { font-weight: 650; font-size: 10px; }
.stx .m-side .cb { display: flex; align-items: center; gap: 5px; font-size: 10px; }
.stx .m-side .cb i { width: 9px; height: 9px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--faint); }
.stx .m-side .cb i.on { background: var(--fg); box-shadow: none; }
.stx .m-in { height: 18px; border-radius: 4px; background: var(--in); box-shadow: inset 0 0 0 1px var(--line); color: var(--faint); font-size: 9.5px; padding: 2px 6px; }
.stx .m-classic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 8px; padding: 8px; border-bottom: 1px solid var(--line); background: var(--zebra); }
.stx .m-classic .f { display: grid; gap: 2px; }
.stx .m-classic .f > span { font-size: 9px; font-weight: 650; color: var(--muted); }
.stx .m-classic .full { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.stx .m-r { display: flex; gap: 7px; flex: none; min-height: 0; }
.stx .m-r > * { flex: 1; min-width: 0; }
.stx .m-sec { padding: 7px 9px; display: flex; flex-direction: column; gap: 5px; overflow: hidden; position: relative; }
.stx .m-sec.off { border-style: dashed; background: transparent; color: var(--faint); min-height: 34px; }
.stx .m-h { display: flex; align-items: center; gap: 6px; font-weight: 650; font-size: 11.5px; }
.stx .m-eye { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-weight: 600; font-size: 9.5px; color: var(--muted); background: var(--soft);
  border-radius: 4px; padding: 2px 5px; }
.stx .sc.live [data-tog] { cursor: pointer; }
.stx .sc.live [data-tog]:hover { box-shadow: 0 0 0 2px var(--focus); }
.stx .m-big { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.stx .m-dl { display: grid; grid-template-columns: 52px 1fr; gap: 1px 6px; font-size: 9.5px; }
.stx .m-dl dt { color: var(--muted); }
.stx .m-dl dd { margin: 0; }
.stx .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.stx .m-bar2 { height: 4px; border-radius: 2px; background: var(--soft); overflow: hidden; }
.stx .m-bar2 i { display: block; height: 100%; }
.stx .m-hours { display: flex; align-items: flex-end; gap: 2px; height: 46px; }
.stx .m-hours i { flex: 1; background: var(--faint); border-radius: 1px; }
.stx .m-hours i.now { background: var(--unsch); }
.stx .m-light { display: flex; height: 12px; border-radius: 3px; overflow: hidden; }
.stx .m-light i { flex: 1; }
.stx .m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.stx .m-tiles > span { background: var(--bg); border-radius: 5px; padding: 5px 6px; display: grid; gap: 3px; }
.stx .m-tiles b { font-size: 11px; }
.stx .m-tag { display: inline-flex; gap: 3px; align-items: center; border-radius: 3px; padding: 1px 4px; font-size: 9px; font-weight: 650; width: max-content; }
.stx .m-tag.l { background: oklch(var(--t-l) var(--t-c) 155); color: oklch(var(--i-l) var(--i-c) 155); }
.stx .m-tag.d { background: oklch(var(--t-l) var(--t-c) 250); color: oklch(var(--i-l) var(--i-c) 250); }
.stx .m-line { display: flex; gap: 6px; align-items: center; padding: 3px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.stx .m-line:last-child { border-bottom: 0; }
.stx .m-line .tb { font-size: 10.5px; background: transparent; padding: 0; min-width: 50px; }
.stx .m-line .m-ty { padding: 0 4px; margin-left: auto; font-size: 9.5px; }
.stx .m-ph { height: 5px; border-radius: 3px; background: var(--soft); }
.stx .m-cols { columns: 2; column-gap: 7px; flex: 1; }
.stx .m-cols > .m-sec { break-inside: avoid; margin-bottom: 7px; }
.stx .m-sp-h { display: flex; align-items: center; gap: 6px; padding: 5px 8px; font-weight: 650; font-size: 10.5px; border-bottom: 1px solid var(--line); background: var(--zebra); }
.stx .m-sprow { display: grid; grid-template-columns: 92px 96px 80px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.stx .m-sprow .tm { display: flex; align-items: center; gap: 3px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 11px; }
.stx .m-sprow small { color: var(--muted); font-size: 9.5px; display: block; white-space: nowrap; }
.stx .m-cam { width: 20px; height: 20px; border-radius: 4px; background: var(--soft); display: grid; place-items: center; }
.stx .m-lb { display: grid; grid-template-columns: 70px 50px 70px 1fr 24px; gap: 8px; align-items: center; padding: 6px 9px; border-bottom: 1px solid var(--line); }
.stx .m-lb.nocam { grid-template-columns: 70px 50px 70px 1fr; }
.stx .m [data-k].hl { outline-width: 2.5px; }
.stx .ppv { flex-basis: 100%; width: 200px; max-width: 70%; margin: 6px auto 2px; }
.stx .ppv .sc { border-radius: 16px; box-shadow: 0 0 0 3px var(--fg); }
.stx .m { position: relative; }
.stx .mp .m-ptop { height: 40px; flex: none; display: flex; align-items: center; gap: 9px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.stx .mp .m-ptop .logo { font-size: 13px; }
.stx .mp .m-ptop .av { width: 22px; height: 22px; font-size: 9px; border-radius: 5px; }
.stx .mp .m-main { padding: 8px; flex: 1; }
.stx .mp .m-r { flex-direction: column; }
.stx .mp .m-cols { columns: 1; }
.stx .mp .m-head .m-btn { display: none; }
.stx .mp .m-sprow { grid-template-columns: 96px minmax(0, 1fr) auto; }
.stx .mp .m-sprow > span:nth-child(3), .stx .mp .m-sprow > span:nth-child(4) { display: none; }
.stx .mp .m-lb { grid-template-columns: 64px 44px 1fr 24px; }
.stx .mp .m-lb.nocam { grid-template-columns: 64px 44px 1fr; }
.stx .mp .m-lb > span:nth-child(4) { display: none; }
.stx .m-prow { display: grid; grid-template-columns: 64px minmax(0, 1fr) 54px; gap: 7px; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.stx .m-prow.cat { background-color: color-mix(in oklab, oklch(var(--t-l) var(--t-c) var(--h, 0)) 38%, var(--card)); box-shadow: inset 3px 0 0 oklch(0.68 0.13 var(--h, 0)); }
.stx .m-prow small { display: flex; gap: 4px; align-items: center; color: var(--muted); font-size: 9px; white-space: nowrap; margin-top: 2px; }
.stx .m-prow b { font-weight: 650; font-size: 11.5px; }
.stx .m-shade { position: absolute; inset: 40px 0 0 0; background: color-mix(in oklab, var(--bg) 55%, transparent); z-index: 2; }
.stx .m-drawer { position: absolute; top: 40px; left: 0; bottom: 0; width: 78px; background: var(--bg); border-right: 1px solid var(--line); padding: 10px 9px; display: flex; flex-direction: column; gap: 7px; z-index: 3; }
.stx .m-drawer .r-tile { height: 40px; font-size: 9.5px; gap: 4px; }
.stx .m-drawer .r-gl { width: 14px; height: 2px; }
.stx .m-drawer .r-n { font-size: 8px; line-height: 12px; top: -3px; right: -3px; padding: 0 3px; border-radius: 3px; }
.stx .m-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--card); border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; padding: 6px 12px 12px;
  display: grid; gap: 7px; z-index: 3; }
.stx .m-sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: var(--faint); justify-self: center; }
.stx .m-sheet .f { display: grid; gap: 2px; }
.stx .m-sheet .f > span { font-size: 9px; font-weight: 650; color: var(--muted); }
.stx .m-sheet .m-btn.dark { justify-content: center; padding: 6px; }

@font-face { font-family: "Oxanium"; font-weight: 200 800; font-display: swap; src: url("/static/fonts/oxanium-latin.woff2") format("woff2"); }
/* Vorschau Design „Military“ (static/mil_skin.css im Kleinen): Petrol, Oxanium, eckig, Auswahl orange, feine Scanlines */
.stx .m.tm { --bg: #070b0d; --card: #0c1418; --line: #1c2d34; --soft: #14232a; --zebra: #0f1a1f; --fg: #d6e4e8; --muted: #7d98a1; --faint: #4f6670;
  --on: #1b2e36; --font: "Oxanium", "Figtree", system-ui, sans-serif; position: relative; }
.stx .m.tm::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, #ffffff04 0 1px, transparent 1px 3px); }
.stx .m.tm .m-top { background: #081014; border-bottom-color: #8fe3f026; }
.stx .m.tm .m-rail { background: #050809; border-right: 1px solid var(--line); }
.stx .m.tm .r-tile { border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.stx .m.tm .r-tile.on { background: #ff9d2e; color: #120a00; box-shadow: none; }
.stx .m.tm .r-gl { background: #8fe3f0; }
.stx .m.tm :is(.m-card, .m-btn, .m-seg, .m-seg > *, .m-code, .chip, .av, .s-in) { border-radius: 0 !important; }
.stx .m.tm .m-seg b, .stx .m.tm .m-btn.dark { background: #ff9d2e; color: #120a00; box-shadow: none; }
.stx .m.tm .m-head b { text-transform: uppercase; letter-spacing: .05em; }

/* Mini-Seite Military radar (Vorschau der Einstellung Design) */
.stx .m-mil { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding-bottom: 8px; }
.stx .m-mbar, .stx .m-mfeed { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: var(--card); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; white-space: nowrap; overflow: hidden; }
.stx .m-mbar b, .stx .m-mfeed b { font-size: 11px; }
.stx .m-mc { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 4px; background: oklch(var(--t-l) var(--t-c) var(--h)); color: oklch(var(--i-l) var(--i-c) var(--h)); font-weight: 600; }
.stx .m-mc i, .stx .m-mnota i { width: 6px; height: 6px; border-radius: 2px; background: oklch(0.7 0.15 var(--h)); }
.stx .m-mmap { position: relative; flex: 1; min-height: 0; border-radius: 7px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(ellipse 55% 45% at 38% 55%, var(--soft) 0 60%, transparent 61%), var(--zebra); }
.stx .m-mp { position: absolute; width: 14px; height: 14px; color: oklch(0.68 0.15 var(--h)); }
.stx .m-mp .i { width: 14px; height: 14px; }
.stx .m-mnota { position: absolute; right: 8px; top: 8px; bottom: 8px; width: 170px; display: flex; flex-direction: column; gap: 6px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; }
.stx .m-mnota > div { display: grid; gap: 1px; } .stx .m-mnota span { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 11px; }
.stx .m-mnota small { color: var(--muted); }
.stx .m-mfeed span { color: var(--muted); } .stx .m-mfeed span span { font-family: ui-monospace, monospace; margin-right: 4px; }
.stx .m.tm .m-mbar, .stx .m.tm .m-mfeed, .stx .m.tm .m-mmap, .stx .m.tm .m-mnota, .stx .m.tm .m-mc { border-radius: 0; }
.stx .m.tm .m-mbar b, .stx .m.tm .m-mnota > b, .stx .m.tm .m-mfeed > b { text-transform: uppercase; letter-spacing: .05em; }
.stx .m.tm .m-mmap { background: radial-gradient(ellipse 55% 45% at 38% 55%, #0e1d24 0 60%, transparent 61%), linear-gradient(#8fe3f00f 1px, transparent 1px) 0 0 / 100% 24px, linear-gradient(90deg, #8fe3f00f 1px, transparent 1px) 0 0 / 32px 100%, #050c0f; }
.stx .m.tm .m-mfeed span span { font-family: "Share Tech Mono", ui-monospace, monospace; }
