/* ODIN-SSO – schlicht, hell/dunkel nach Systemeinstellung. Keine Inline-Stile (CSP style-src 'self'). */
:root { --bg: #f4f6f8; --karte: #fff; --text: #17202b; --leise: #5b6775; --linie: #d8dee5; --akzent: #2d4f8f; --akzent-t: #fff;
  --gut: #1f7a45; --warn: #9a5b00; --schlecht: #b3261e; --flash-info: #e8f0fb; --flash-ok: #e6f4ec; --flash-fehler: #fbe9e7; color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #10151c; --karte: #18202a; --text: #e6ebf1; --leise: #9aa7b6; --linie: #2c3744; --akzent: #7ea6e8; --akzent-t: #0d1520;
    --gut: #6fcf97; --warn: #f2b45a; --schlecht: #ff8a80; --flash-info: #1b2a40; --flash-ok: #17301f; --flash-fehler: #3a1d1b; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--akzent); }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; overflow-wrap: anywhere; }
h1 { font-size: 1.6rem; margin: .2rem 0 1rem; } h2 { font-size: 1.15rem; margin: 0 0 .6rem; } h3 { font-size: 1rem; margin: 1rem 0 .4rem; }
.kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .7rem 1rem; background: var(--karte); border-bottom: 1px solid var(--linie); }
.marke, .karte-marke { display: flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--text); }
.zeichen { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: .5rem; background: var(--akzent); color: var(--akzent-t); font-size: 1.2rem; }
.konsole { display: flex; flex-wrap: wrap; gap: .2rem; }
.konsole a { padding: .35rem .6rem; border-radius: .4rem; text-decoration: none; color: var(--leise); }
.konsole a.on, .konsole a:hover { background: var(--bg); color: var(--text); }
.kopf form { margin: 0; }
.spacer { flex: 1; }
.inhalt { max-width: 72rem; margin: 0 auto; padding: 1.2rem 1rem 3rem; }
.fuss { text-align: center; color: var(--leise); font-size: .85rem; padding: 1rem; }
.kasten { background: var(--karte); border: 1px solid var(--linie); border-radius: .7rem; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.raster { display: grid; gap: 1rem; } .raster.zwei { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); align-items: start; }
.stapel { display: flex; flex-direction: column; gap: .6rem; }
.zeile { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .4rem 0; }
label { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; font-size: .92rem; }
label.haken { flex-direction: row; align-items: center; gap: .5rem; font-weight: 400; }
fieldset { border: 1px solid var(--linie); border-radius: .5rem; } legend { font-weight: 600; font-size: .92rem; }
input, textarea { font: inherit; padding: .5rem .6rem; border: 1px solid var(--linie); border-radius: .4rem; background: var(--bg); color: var(--text); width: 100%; }
input[type=checkbox] { width: auto; }
.btn, .knopf { font: inherit; cursor: pointer; border: 1px solid var(--linie); background: var(--karte); color: var(--text); padding: .45rem .9rem; border-radius: .45rem; text-decoration: none; display: inline-block; }
.btn.primaer, .knopf { background: var(--akzent); color: var(--akzent-t); border-color: var(--akzent); }
.btn.warnung { color: var(--schlecht); border-color: var(--schlecht); }
.btn.geist { background: transparent; } .btn.klein { padding: .2rem .55rem; font-size: .85rem; }
.btn:disabled, .knopf:disabled { opacity: .5; cursor: default; }
.knopf { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .75rem; font-weight: 600; margin: .8rem 0 .4rem; }
.knopf.dunkel { background: var(--text); color: var(--bg); border-color: var(--text); }
.pk-zeichen { width: 1.3rem; height: 1.3rem; }
.flash { padding: .6rem .8rem; border-radius: .5rem; margin-bottom: .8rem; background: var(--flash-info); }
.flash-ok { background: var(--flash-ok); } .flash-fehler { background: var(--flash-fehler); }
.flash ul { margin: .3rem 0; }
.leise { color: var(--leise); font-size: .9rem; }
.gut { color: var(--gut); } .warn { color: var(--warn); } .schlecht { color: var(--schlecht); font-weight: 600; }
.hinweis { border-left: 3px solid var(--warn); padding: .4rem .7rem; background: var(--bg); }
.zeilen { list-style: none; margin: 0; padding: 0; }
.zeilen li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--linie); }
.zeilen li form { margin: 0; }
.leer { color: var(--leise); }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.kennzahl { background: var(--karte); border: 1px solid var(--linie); border-radius: .7rem; padding: .8rem; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.kennzahl b { font-size: 1.6rem; } .kennzahl span { color: var(--leise); font-size: .9rem; }
.werte { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0 0 .6rem; } .werte dd { margin: 0; }
.befehl { display: flex; gap: .5rem; align-items: flex-start; background: var(--bg); border: 1px solid var(--linie); border-radius: .4rem; padding: .5rem .6rem; }
.befehl code { flex: 1; }
.tabelle-rahmen { overflow-x: auto; background: var(--karte); border: 1px solid var(--linie); border-radius: .7rem; }
.tabelle { border-collapse: collapse; width: 100%; font-size: .92rem; }
.tabelle th, .tabelle td { padding: .45rem .6rem; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.tabelle td input[type=checkbox] { transform: scale(1.2); }
.hilfe-knopf { text-decoration: none; padding: .3rem .6rem; border: 1px solid var(--linie); border-radius: .4rem; color: var(--text); }
.hilfe { display: grid; grid-template-columns: 15rem 1fr; gap: 1.5rem; align-items: start; }
.hilfe-nav { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; }
.hilfe-text section { background: var(--karte); border: 1px solid var(--linie); border-radius: .7rem; padding: .9rem 1.1rem; margin-bottom: 1rem; scroll-margin-top: 1rem; }
.zur-konsole { font-size: .8rem; font-weight: 400; margin-left: .5rem; }
@media (max-width: 52rem) { .hilfe { grid-template-columns: 1fr; } .hilfe-nav { position: static; } }
.karte-body { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.karte { width: min(30rem, 100%); background: var(--karte); border: 1px solid var(--linie); border-radius: 1rem; padding: 1.6rem; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.karte-marke { margin-bottom: 1rem; }
.karte details { margin-top: 1rem; }
.karte-fuss { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; font-size: .9rem; color: var(--leise); }
.schritt { display: inline-block; font-size: .8rem; color: var(--leise); text-transform: uppercase; letter-spacing: .04em; }
.meldung { color: var(--schlecht); }
