:root {
  color-scheme: light dark;
  --bg: #f5f6f4; --surface: #ffffff; --text: #17201c; --muted: #53615a; --line: #cfd6d1;
  --accent: #0b6b57; --accent-text: #ffffff;
  --good: #17693a; --partial: #85540a; --bad: #a12b22;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111614; --surface: #19211e; --text: #e7ece9; --muted: #a2b0a9; --line: #34413b;
    --accent: #5cc9ae; --accent-text: #07251e;
    --good: #6fd096; --partial: #e6b45c; --bad: #ff938a;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; overflow-wrap: anywhere; }
header, main { max-width: 42rem; margin: 0 auto; padding: 0 1rem; }
header { display: flex; justify-content: space-between; align-items: center; min-height: 4rem; }
.brand { display: flex; gap: .6rem; align-items: center; color: inherit; text-decoration: none; font-weight: 700; }
main { padding-bottom: 4rem; }
h1 { font-size: 1.65rem; line-height: 1.25; margin: 1.25rem 0 .75rem; text-wrap: balance; }
h2 { font-size: 1.15rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1rem; margin: 0 0 .25rem; }
a { color: var(--accent); }
span, .hint, .foot, .lead { color: var(--muted); }
.hint, .foot { font-size: .9rem; }
.hint { margin: .35rem 0 0; }
.foot { margin-top: 2rem; }
label { display: block; font-weight: 600; margin: 1.4rem 0 .35rem; }
label span { font-weight: 400; font-size: .9rem; margin-left: .35rem; }
input, select { width: 100%; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: .65rem .75rem; }
select { padding: .25rem; }
option { padding: .25rem .5rem; }
.primary { display: inline-block; margin-top: 1.5rem; background: var(--accent); color: var(--accent-text); border: 0; border-radius: 6px; padding: .75rem 1.5rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary:disabled { opacity: .55; cursor: progress; }
.link { background: none; border: 0; padding: .5rem 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.narrow { max-width: 20rem; }
.error, .note, .verdict { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: .8rem 1rem; }
.error { border-color: var(--bad); color: var(--bad); }
.model { margin: 1rem 0 .5rem; color: var(--muted); }
.verdict { --state: var(--bad); border-color: var(--state); }
.verdict.gut { --state: var(--good); }
.verdict.teil { --state: var(--partial); }
.verdict strong { color: var(--state); }
.verdict h1 { font-size: 1.3rem; margin: .2rem 0; }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: .75rem 1rem; white-space: pre-wrap; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.ways { padding-left: 1.4rem; }
.ways > li { padding: .9rem 0; border-top: 1px solid var(--line); }
.ways p { margin: .25rem 0; }
summary { cursor: pointer; color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; }
