:root{color-scheme:light dark;--bg: #f6f5f2;--flaeche: #ffffff;--text: #1a1a1a;--text-leise: #575757;--rand: #d9d6d0;--akzent: #1f6f5c;--akzent-text: #ffffff;--akzent-weich: #e2eee9;--gefahr: #a33a2a;--radius: 14px;--abstand: 16px;--schrift: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}@media(prefers-color-scheme:dark){:root{--bg: #121413;--flaeche: #1c1f1e;--text: #f0f0ee;--text-leise: #a9adab;--rand: #343937;--akzent: #5cc5a7;--akzent-text: #0b1a15;--akzent-weich: #1d2f2a;--gefahr: #ff8f7d}}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--schrift);font-size:17px;line-height:1.5}.seite{max-width:520px;margin:0 auto;padding:max(20px,env(safe-area-inset-top)) var(--abstand) max(32px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:20px}h1,h2,p,dl,dd,ol,ul{margin:0}.kopf{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.streak{font-size:16px;color:var(--text-leise)}.streak-zahl{font-size:28px;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums;margin-right:4px}.stufe-knopf{min-height:44px;padding:8px 14px;border:1px solid var(--rand);border-radius:999px;background:var(--flaeche);color:var(--text);font:inherit;font-size:15px;cursor:pointer}.stufe-knopf[aria-expanded=true]{border-color:var(--akzent)}.karte,.panel,.woche,.archiv-eintrag{background:var(--flaeche);border:1px solid var(--rand);border-radius:var(--radius);padding:20px}.karte{display:flex;flex-direction:column;gap:12px}.karte-erledigt{border-color:var(--akzent)}.thema{font-size:14px;font-weight:600;letter-spacing:.02em;color:var(--text-leise)}h1{font-size:26px;line-height:1.25;font-weight:700}h1:focus{outline:none}.beschreibung{color:var(--text)}.schritte{padding-left:1.4em;display:flex;flex-direction:column;gap:6px}.schritte li::marker{font-weight:700;color:var(--akzent)}.beispiel{border:1px solid var(--rand);border-radius:10px}.beispiel summary{min-height:48px;display:flex;align-items:center;gap:8px;padding:0 14px;font-weight:600;color:var(--akzent);cursor:pointer;list-style:none}.beispiel summary::-webkit-details-marker{display:none}.beispiel summary:before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s ease-out}.beispiel[open] summary:before{transform:rotate(45deg)}.beispiel-inhalt{display:flex;flex-direction:column;gap:8px;padding:0 14px 14px}.klein{font-size:14px;color:var(--text-leise)}.meldung{padding:12px 16px;border-radius:var(--radius);background:var(--akzent-weich);border:1px solid var(--akzent)}.meldung-fehler{background:transparent;border-color:var(--gefahr)}.knoepfe{display:flex;flex-direction:column;gap:10px;margin-top:4px}.knopf{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 20px;border-radius:12px;border:1px solid transparent;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background-color .15s ease-out,transform .1s ease-out}.knopf:active{transform:scale(.98)}.knopf-haupt{background:var(--akzent);color:var(--akzent-text)}.knopf-zweit{background:transparent;color:var(--text);border-color:var(--rand)}.knopf-klein{align-self:flex-start;min-height:44px;padding:8px 16px;font-weight:500}.link{color:var(--akzent);font-weight:600;text-underline-offset:3px;background:none;border:none;padding:10px 0;font:inherit;cursor:pointer;min-height:44px;display:inline-flex;align-items:center;gap:6px}.link-gefahr{color:var(--gefahr);font-weight:500;align-self:flex-start;text-decoration:underline}:focus-visible{outline:3px solid var(--akzent);outline-offset:2px}.formular{display:flex;flex-direction:column;gap:14px}.feld{display:flex;flex-direction:column;gap:6px}label{font-weight:600;font-size:15px}input,textarea{width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--rand);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;font-size:17px}textarea{resize:vertical}#minuten{max-width:140px}input[aria-invalid=true]{border-color:var(--gefahr)}.fehler{color:var(--gefahr);font-size:14px}.erledigt-zeile{font-weight:600;color:var(--akzent)}.notiz{padding-left:12px;border-left:3px solid var(--rand)}.antworten{display:flex;flex-direction:column;gap:4px}.antworten dt{font-size:14px;font-weight:600;color:var(--text-leise);margin-top:8px}.panel{display:flex;flex-direction:column;gap:12px}.stufen-liste{list-style:none;padding:0;display:flex;flex-direction:column;gap:8px}.stufe-option{width:100%;min-height:52px;display:flex;flex-direction:column;gap:2px;text-align:left;padding:12px 14px;border:1px solid var(--rand);border-radius:10px;background:transparent;color:var(--text);font:inherit;cursor:pointer}.stufe-option[aria-pressed=true]{border:2px solid var(--akzent);background:var(--akzent-weich)}.stufe-name{font-weight:600}.stufe-text{font-size:14px;color:var(--text-leise)}.woche{display:flex;flex-direction:column;gap:12px}.raster{list-style:none;padding:0;display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.tag{display:flex;flex-direction:column;align-items:center;gap:6px}.tag-name{font-size:13px;color:var(--text-leise)}.tag-heute .tag-name{color:var(--text);font-weight:700}.tag-punkt{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;border:2px solid var(--rand);color:var(--text-leise)}.tag-erledigt .tag-punkt{background:var(--akzent);border-color:var(--akzent);color:var(--akzent-text)}.tag-freeze .tag-punkt{border-style:dashed;border-color:var(--akzent);color:var(--akzent)}.tag-offen .tag-punkt{border-color:var(--akzent)}.tag-zukunft .tag-punkt,.tag-leer .tag-punkt{opacity:.5}.kopf-archiv{display:flex;flex-direction:column;gap:4px}.zurueck{align-self:flex-start}.statistik{color:var(--text-leise)}.archiv-liste{list-style:none;padding:0;display:flex;flex-direction:column;gap:12px}.archiv-eintrag{display:flex;flex-direction:column;gap:6px}.archiv-eintrag h2{font-size:18px;line-height:1.3}.leer{display:flex;flex-direction:column;gap:16px;padding:24px 0}.fuss{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.konto-zeile{overflow-wrap:anywhere}.link-klein{font-size:14px;min-height:44px;padding:0 4px;display:inline-flex}.knopf:disabled{opacity:.6;cursor:wait}.unsichtbar{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media(prefers-reduced-motion:reduce){.knopf{transition:none}.knopf:active{transform:none}.beispiel summary:before{transition:none}}
