/* Kassensturz – Papier, Tinte, Bleistift. Keine Verläufe, kein Glas, keine Neonfarben. */

:root {
  --papier: #f5f0e6;
  --papier-hell: #fbf8f2;
  --papier-dunkel: #ebe3d3;
  --linie: #d8cdb8;
  --linie-hell: #e7dfcf;
  --tinte: #2b2823;
  --tinte-2: #5f584c;
  --tinte-3: #8a8173;
  --akzent: #2d5577;        /* Füller-Blau */
  --akzent-hell: #dfe7ee;
  --rot: #a3402a;           /* Korrekturrot */
  --rot-hell: #f3e0d8;
  --ocker: #9b7120;
  --ocker-hell: #f1e5c6;
  --gruen: #4d6a36;
  --gruen-hell: #e3e9d6;
  --radius: 6px;
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --unten: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

body.bereich-koenigsart {
  --akzent: #5b4a2c;        /* Königsart: braune Tinte, damit man sieht, wo man ist */
  --akzent-hell: #ece3d0;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 16px/1.5 var(--schrift);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--akzent); text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6rem; letter-spacing: .005em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 .8rem; }
hr { border: 0; border-top: 1px dashed var(--linie); margin: .8rem 0; }
.leise { color: var(--tinte-2); }
.klein { font-size: .875rem; }
.zahl, td.betrag, .betrag { font-variant-numeric: tabular-nums; white-space: nowrap; }
.versteckt { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.sym { width: 22px; height: 22px; flex: none; }

/* ---------- Rahmen ---------- */

.rahmen { min-height: 100vh; }
.inhalt { padding: 1rem 1rem calc(5.5rem + var(--unten)); max-width: 46rem; margin: 0 auto; }
.inhalt.allein { padding-bottom: 2rem; }

.marke {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--tinte);
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
/* handgezogener Strich unter dem Namen */
.marke::after {
  content: "";
  position: absolute; left: 0; right: -4px; bottom: 0; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4.2c14-2.4 27-1.6 41-1.9 18-.4 33-2 51-1.1 9 .4 17 1.2 26 .6' fill='none' stroke='%232d5577' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  opacity: .8;
}
.marke.gross { font-size: 2.2rem; }

.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: calc(.7rem + env(safe-area-inset-top, 0px)) 1rem .6rem;
  border-bottom: 1px solid var(--linie);
  background: var(--papier);
  position: sticky; top: 0; z-index: 5;
}
.seitenleiste { display: none; }

.bereichswahl { display: inline-flex; border: 1px solid var(--linie); border-radius: 999px; padding: 2px; background: var(--papier-hell); }
.bereichswahl a {
  padding: .3rem .75rem; border-radius: 999px; color: var(--tinte-2); text-decoration: none; font-size: .875rem; white-space: nowrap;
  min-height: 32px; display: inline-flex; align-items: center;
}
.bereichswahl a[aria-current] { background: var(--akzent); color: #fff; }

/* Navigation unten (iPhone) */
.untennav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--papier-hell);
  border-top: 1px solid var(--linie);
  padding-bottom: var(--unten);
}
.untennav a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: .5rem 0 .45rem; min-height: 56px;
  color: var(--tinte-2); text-decoration: none; font-size: .72rem; position: relative;
}
.untennav a[aria-current] { color: var(--akzent); font-weight: 600; }
.untennav a[aria-current]::before { content: ""; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; background: var(--akzent); border-radius: 2px; }
.untennav .punkt {
  position: absolute; top: 4px; left: calc(50% + 6px);
  background: var(--rot); color: #fff; font-size: .68rem; line-height: 1; padding: 3px 5px; border-radius: 999px; font-weight: 600;
}

/* ---------- Laptop: Navigation links ---------- */

@media (min-width: 1024px) {
  .kopf, .untennav { display: none; }
  .rahmen { display: grid; grid-template-columns: 15.5rem 1fr; }
  .seitenleiste {
    display: flex; flex-direction: column; gap: 1rem;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
    padding: 1.4rem 1rem 1rem 1.25rem;
    border-right: 1px solid var(--linie);
    background: var(--papier-hell);
  }
  .seitenleiste .marke { font-size: 1.45rem; align-self: flex-start; }
  .seitennav { display: flex; flex-direction: column; gap: 1px; }
  .seitennav hr { margin: .5rem .4rem; }
  .seitennav a, .seitenfuss a {
    display: flex; align-items: center; gap: .65rem;
    padding: .45rem .6rem; border-radius: var(--radius);
    color: var(--tinte); text-decoration: none; font-size: .95rem;
  }
  .seitennav a:hover, .seitenfuss a:hover { background: var(--papier-dunkel); }
  .seitennav a[aria-current], .seitenfuss a[aria-current] { background: var(--akzent-hell); color: var(--akzent); font-weight: 600; }
  .seitennav .sym, .seitenfuss .sym { width: 20px; height: 20px; color: var(--tinte-2); }
  .seitennav a[aria-current] .sym { color: var(--akzent); }
  .zaehler { margin-left: auto; background: var(--rot); color: #fff; font-size: .75rem; padding: 1px 7px; border-radius: 999px; font-weight: 600; }
  .seitenfuss { margin-top: auto; border-top: 1px dashed var(--linie); padding-top: .6rem; display: flex; flex-direction: column; gap: 1px; }
  .seitenfuss form { margin: 0; }
  .inhalt { max-width: 76rem; padding: 2rem 2.5rem 3rem; margin: 0; }
  .inhalt.allein { margin: 0 auto; }
  h1 { font-size: 1.85rem; }
}

/* ---------- Bausteine ---------- */

.blatt {
  background: var(--papier-hell);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 2px 2px 0 var(--linie-hell);
}
.blatt.schmal { max-width: 32rem; }
.blatt > h2:first-child { margin-top: 0; }
.kopfzeile { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.kopfzeile h1, .kopfzeile h2 { margin: 0; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .5rem 1rem;
  border: 1px solid var(--tinte-3); border-radius: var(--radius);
  background: var(--papier-hell); color: var(--tinte);
  font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
}
.knopf:hover { background: var(--papier-dunkel); }
.knopf.haupt { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.knopf.haupt:hover { filter: brightness(.92); }
.knopf.warnung { color: var(--rot); border-color: var(--rot); }
.knopf.klein { min-height: 34px; padding: .25rem .65rem; font-size: .875rem; }
.knopf.breit { width: 100%; }
.knopf:disabled { opacity: .5; cursor: default; }
.linkknopf { background: none; border: 0; padding: 0; color: var(--akzent); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }

.formular { display: grid; gap: .8rem; }
.formular.reihe { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); align-items: end; }
label { display: grid; gap: .25rem; font-size: .9rem; color: var(--tinte-2); }
label.haken { display: flex; align-items: center; gap: .5rem; color: var(--tinte); font-size: .95rem; }
input, select, textarea {
  font: inherit; font-size: 16px; /* verhindert Zoom auf iPhone */
  color: var(--tinte);
  background: #fffdf8;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: .55rem .65rem; min-height: 44px; width: 100%;
}
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; accent-color: var(--akzent); }
input:focus, select:focus, textarea:focus { border-color: var(--akzent); outline: none; box-shadow: 0 0 0 2px var(--akzent-hell); }
select { appearance: none; -webkit-appearance: none; padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235f584c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 11px 8px; }

.hinweis { padding: .6rem .8rem; border-radius: var(--radius); border: 1px solid var(--linie); background: var(--papier-hell); margin-bottom: .9rem; }
.hinweis-ok { border-color: #c3cfb0; background: var(--gruen-hell); }
.hinweis-fehler { border-color: #e0b7a8; background: var(--rot-hell); color: #6e2717; }
.hinweis-info { border-color: #c4d1dc; background: var(--akzent-hell); }

.marker { display: inline-block; font-size: .75rem; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--linie); color: var(--tinte-2); background: var(--papier); white-space: nowrap; }
.marker.unklar { border-color: #e0b7a8; color: var(--rot); background: var(--rot-hell); }
.marker.analyse { border-color: #c4d1dc; color: var(--akzent); background: var(--akzent-hell); }
.marker.bar { border-color: #d8c898; color: var(--ocker); background: var(--ocker-hell); }

/* Tabellen wie im Kassenbuch */
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle th { text-align: left; font-weight: 600; font-size: .8rem; color: var(--tinte-2); text-transform: uppercase; letter-spacing: .04em; padding: .4rem .5rem; border-bottom: 1.5px solid var(--tinte-3); }
.tabelle td { padding: .5rem; border-bottom: 1px solid var(--linie-hell); vertical-align: middle; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle .betrag, .tabelle th.betrag { text-align: right; }
.tabelle tfoot td { border-top: 1.5px solid var(--tinte-3); font-weight: 600; }
.tabelle tbody tr:hover { background: #f8f3e8; }
.tabelle-rahmen { overflow-x: auto; }

.einnahme { color: var(--gruen); }
.ausgabe { color: var(--tinte); }
.minus { color: var(--rot); }

/* ---------- Anmeldung ---------- */

.anmeldung { max-width: 22rem; margin: 12vh auto 0; }
.anmeldung h1 { margin-bottom: .3rem; }
.anmeldung form { margin-top: 1.5rem; }

/* ---------- Erfassung ---------- */

.erfassung { display: grid; gap: 1rem; }
.fotoflaeche {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  min-height: 38vh; max-height: 22rem;
  border: 1.5px dashed var(--tinte-3); border-radius: 10px;
  background: var(--papier-hell);
  color: var(--tinte); cursor: pointer; text-align: center;
  padding: 1.5rem; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.fotoflaeche .sym { width: 64px; height: 64px; stroke-width: 1.2; color: var(--akzent); }
.fotoflaeche strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.fotoflaeche span { color: var(--tinte-2); font-size: .9rem; }
.fotoflaeche:active { background: var(--papier-dunkel); }
.fotoflaeche.ziehen { border-color: var(--akzent); background: var(--akzent-hell); }
.fotoflaeche .laptop-text { display: none; }

.texteingabe { display: flex; gap: .5rem; }
.texteingabe input { flex: 1; min-height: 52px; font-size: 1.1rem; padding: .6rem .8rem; }
.texteingabe .knopf { min-height: 52px; min-width: 52px; padding: .5rem .9rem; }
.beispiele { color: var(--tinte-3); font-size: .85rem; margin: -.2rem 0 0; line-height: 1.45; }
.dateiwahl { text-align: center; }
.dateiwahl label { display: inline-flex; flex-direction: row; align-items: center; gap: .4rem; color: var(--akzent); cursor: pointer; font-size: .95rem; padding: .5rem; }

.pruefleiste {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .6rem .8rem; border: 1px solid #e0b7a8; background: var(--rot-hell); color: #6e2717;
  border-radius: var(--radius); text-decoration: none;
}
.pruefleiste .sym { color: var(--rot); }

.meldung {
  position: fixed; left: 1rem; right: 1rem; bottom: calc(4.6rem + var(--unten)); z-index: 20;
  max-width: 30rem; margin: 0 auto;
  background: var(--tinte); color: var(--papier-hell);
  border-radius: 8px; padding: .75rem 1rem;
  box-shadow: 2px 3px 0 rgba(0,0,0,.12);
  display: flex; gap: .7rem; align-items: flex-start;
  transform: translateY(1rem); opacity: 0; transition: transform .2s, opacity .2s;
  pointer-events: none;
}
.meldung.sichtbar { transform: none; opacity: 1; pointer-events: auto; }
.meldung.unklar { background: #6e2717; }
.meldung a { color: #fff; }
.meldung .sym { flex: none; margin-top: 1px; }

.zuletzt h2 { font-size: 1rem; font-family: var(--schrift); color: var(--tinte-2); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.zeilen { list-style: none; margin: 0; padding: 0; }
.zeilen li { border-bottom: 1px solid var(--linie-hell); }
.zeilen li:last-child { border-bottom: 0; }
.zeilen a.zeile, .zeilen .zeile { display: grid; grid-template-columns: 1fr auto; gap: .1rem .8rem; padding: .6rem .1rem; color: inherit; text-decoration: none; }
.zeile .titel { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zeile .unter { grid-column: 1; color: var(--tinte-2); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zeile .betrag { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 600; }
.warteschlange { font-size: .9rem; color: var(--ocker); }

@media (min-width: 1024px) {
  .erfassung { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 2rem; }
  .erfassung .spalte-links { display: grid; gap: 1rem; }
  .fotoflaeche { min-height: 18rem; }
  .fotoflaeche .handy-text { display: none; }
  .fotoflaeche .laptop-text { display: block; }
  .meldung { left: auto; right: 2rem; bottom: 2rem; }
}

/* ---------- Übersicht ---------- */

.kennzahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; }
.kennzahl { background: var(--papier-hell); border: 1px solid var(--linie); border-radius: var(--radius); padding: .7rem .75rem; }
.kennzahl .name { font-size: .78rem; color: var(--tinte-2); text-transform: uppercase; letter-spacing: .05em; }
.kennzahl .wert { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kennzahl .vergleich { font-size: .8rem; color: var(--tinte-3); }
.kennzahl.uebrig .wert { color: var(--gruen); }
.kennzahl.uebrig.minus .wert { color: var(--rot); }

.monatswahl { display: inline-flex; align-items: center; gap: .25rem; }
.monatswahl a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 999px; color: var(--tinte-2); }
.monatswahl a:hover { background: var(--papier-dunkel); }
.monatswahl strong { font-family: var(--serif); font-size: 1.15rem; min-width: 9.5rem; text-align: center; }

.budgetliste { list-style: none; padding: 0; margin: 0; }
.budgetliste li { padding: .55rem 0; border-bottom: 1px solid var(--linie-hell); }
.budgetliste li:last-child { border-bottom: 0; }
.budgetliste .oben { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.budgetliste .name { font-weight: 500; }
.budgetliste .name a { color: inherit; text-decoration: none; }
.budgetliste .werte { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .92rem; }
.budgetliste .werte .von { color: var(--tinte-3); }
.balken { height: 8px; background: var(--papier-dunkel); border-radius: 4px; margin-top: .35rem; position: relative; overflow: hidden; }
.balken i { display: block; height: 100%; background: var(--akzent); border-radius: 4px; }
.balken.ohne i { background: var(--tinte-3); opacity: .55; }
.balken.warn i { background: var(--ocker); }
.balken.drueber i { background: var(--rot); }
.balken.drueber::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: var(--tinte); }
.budgethinweis { font-size: .8rem; margin-top: .2rem; }
.budgethinweis.warn { color: var(--ocker); }
.budgethinweis.drueber { color: var(--rot); }

.grafik svg { width: 100%; height: auto; display: block; }
.grafik .achse { stroke: var(--linie); }
.grafik text { fill: var(--tinte-2); font-size: 11px; font-family: var(--schrift); }
.legende { display: flex; gap: 1rem; font-size: .82rem; color: var(--tinte-2); flex-wrap: wrap; }
.legende i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .3rem; vertical-align: -1px; }

.uebersicht-raster { display: grid; gap: 1rem; }
@media (min-width: 1024px) {
  .uebersicht-raster { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
  .kennzahlen { gap: 1rem; }
  .kennzahl { padding: 1rem 1.1rem; }
  .kennzahl .wert { font-size: 1.8rem; }
}

/* ---------- Liste ---------- */

.liste-raster { display: grid; gap: 1rem; }
.filter summary { cursor: pointer; font-weight: 600; padding: .2rem 0; }
.filter .formular { margin-top: .7rem; }
.kat-schnell { min-height: 36px; padding: .3rem 1.8rem .3rem .5rem; font-size: .9rem; max-width: 15rem; background-color: transparent; border-color: transparent; }
.kat-schnell:hover, .kat-schnell:focus { border-color: var(--linie); background-color: #fffdf8; }
.kat-schnell.gespeichert { border-color: #c3cfb0; background-color: var(--gruen-hell); }
.liste-tabelle td.titel a { color: inherit; text-decoration: none; font-weight: 500; }
.liste-tabelle td.titel a:hover { text-decoration: underline; }
.liste-tabelle .unter { display: block; font-size: .82rem; color: var(--tinte-3); font-weight: 400; }
.liste-mobil { display: block; }
.liste-breit { display: none; }
@media (min-width: 1024px) {
  .liste-raster { grid-template-columns: minmax(0, 1fr) 16rem; align-items: start; }
  .liste-raster .filter { order: 2; position: sticky; top: 1.5rem; }
  .filter summary { pointer-events: none; list-style: none; }
  .filter summary::-webkit-details-marker { display: none; }
  .liste-mobil { display: none; }
  .liste-breit { display: block; }
}

/* ---------- Bitte prüfen ---------- */

.pruefkarte { display: grid; gap: .6rem; }
.pruefkarte .kopf2 { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.pruefkarte .titel { font-weight: 600; }
.pruefkarte .grund { color: var(--rot); font-size: .88rem; }
.pruefkarte .eingabe { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88rem; background: var(--papier); padding: .15rem .4rem; border-radius: 4px; }
.pruefkarte form { display: grid; gap: .5rem; grid-template-columns: 1fr; }
.pruefkarte .knopfreihe { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (min-width: 640px) {
  .pruefkarte form.schnell { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}
.pruefraster { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .pruefraster { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* ---------- Eintrag bearbeiten ---------- */

.teile-tabelle input, .teile-tabelle select { min-height: 40px; }
.teile-tabelle td { padding: .3rem .25rem; }
@media (max-width: 599px) {
  .teile-tabelle, .teile-tabelle tbody { display: block; }
  .teile-tabelle tr { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .35rem; padding: .45rem 0; border-bottom: 1px dashed var(--linie, #d9cfbf); }
  .teile-tabelle td { display: block; padding: 0; width: auto !important; }
  .teile-tabelle td:first-child { grid-column: 1 / -1; }
  .teile-tabelle td[hidden] { display: none; }
}
.beleg-vorschau img { max-width: 100%; border: 1px solid var(--linie); border-radius: var(--radius); }
.eintrag-raster { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .eintrag-raster { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }

/* ---------- Mehr-Seite (iPhone) ---------- */

.mehrliste { list-style: none; padding: 0; margin: 0; }
.mehrliste a, .mehrliste button { display: flex; align-items: center; gap: .8rem; padding: .85rem .3rem; color: var(--tinte); text-decoration: none; border-bottom: 1px solid var(--linie-hell); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; font: inherit; text-align: left; cursor: pointer; }
.mehrliste .sym { color: var(--tinte-2); }

/* ---------- Raster für Verwaltungsseiten ---------- */

.zwei { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.drei { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .drei { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }

.katbaum { list-style: none; margin: 0; padding: 0; }
.katbaum > li { padding: .5rem 0; border-bottom: 1px solid var(--linie-hell); }
.katbaum ul { list-style: none; margin: .3rem 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.katbaum ul li { font-size: .88rem; }
.katbaum .inaktiv { text-decoration: line-through; color: var(--tinte-3); }
.inline-form { display: inline; }
details.aufklapp > summary { cursor: pointer; color: var(--akzent); }
details.aufklapp[open] > summary { margin-bottom: .6rem; }

.token { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: #fffdf8; border: 1px dashed var(--tinte-3); padding: .6rem; border-radius: var(--radius); word-break: break-all; user-select: all; }

.vergleich-tabelle td.delta { font-size: .85rem; }
.jahr-tabelle { font-size: .85rem; }
.jahr-tabelle td, .jahr-tabelle th { padding: .35rem .4rem; }

@media print {
  .seitenleiste, .untennav, .kopf { display: none; }
  .inhalt { padding: 0; max-width: none; }
  body { background: #fff; }
}

.zurueck { display: inline-flex; align-items: center; gap: .15rem; text-decoration: none; }
.zurueck .sym { width: 18px; height: 18px; }
