/* KLM-CI wie im BESS-Planer: Farbtoken, eckige Formen, keine Emojis. Inter 400/600 folgt mit der Schriftdatei (Fallback Arial). */
:root {
  --ink: #20201f; --paper: #f2f0ea; --paper-2: #f7f6f2; --line: #d6d0c3; --line-strong: #8c8272; --muted: #6c6a64;
  --accent: #887b60; --accent-text: #736850; --btn: #1c1c1c; --error: #b3261e; --ok: #3d6b4f;
  --font: Inter, Arial, Helvetica, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f0ea; --paper: #1a1a19; --paper-2: #20201f; --line: #3a3934; --line-strong: #6f685b; --muted: #b2a586; --accent: #b2a586; --accent-text: #b2a586; --btn: #f2f0ea; --error: #f2b8b5; --ok: #9fd0b0; }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--font); }
main { width: min(480px, 100% - 2rem); background: var(--paper-2); border: 1px solid var(--line); padding: 2rem; }
h1 { margin: 0 0 1rem; font-weight: 600; font-size: 1.5rem; }
h2 { margin: 1.5rem 0 .5rem; font-weight: 600; font-size: 1rem; }
p { margin: .5rem 0; }
.muted { color: var(--muted); }
.small { font-size: .8rem; margin-top: 1.5rem; }
label { display: block; margin: 1rem 0 .25rem; font-weight: 600; font-size: .9rem; }
input { width: 100%; padding: .6rem .7rem; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 0; }
input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button { margin-top: 1.25rem; padding: .65rem 1.25rem; font: 600 1rem var(--font); color: var(--paper); background: var(--btn); border: 1px solid var(--btn); border-radius: 0; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
.msg { min-height: 1.5em; color: var(--error); font-size: .9rem; }
.modules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.modules li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.modules .role { color: var(--accent-text); font-weight: 600; }
.modules .none { color: var(--muted); font-weight: 400; }
[hidden] { display: none !important; }
