/* Zeiterfassung - Stand 2026-11-18. Internes Werkzeug der Psychotherapie-Praxis am Belsenplatz. Alle Rechte vorbehalten. Weitergabe, Vervielfältigung oder Nachbau, ganz oder in Teilen, nur mit schriftlicher Zustimmung. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('fonts/Fraunces-Roman.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 500; font-display: swap; src: url('fonts/Fraunces-Italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/InterTight.woff2') format('woff2'); }
:root {
--creme: #f6f0e8; --creme-warm: #f0e6d8; --papier: #fffdf9;
--tinte: #3a322c; --tinte-weich: #5e524a; --tinte-blass: #8a7f76;
--linie: rgba(58, 50, 44, .11); --linie-stark: rgba(58, 50, 44, .22);
--pfirsich: #f6bb8d; --pfirsich-weich: #f9d4b2; --pfirsich-tief: #e89a66; --pfirsich-hauch: #fdf0e3;
--lila: #e4d1e7; --lila-weich: #efe1f1; --lila-tief: #c9a8d0; --pflaume: #8f6a99; --pflaume-tinte: #6a4a73;
--taupe: #a49b94; --taupe-weich: #e9e3dc;
--gelb-flaeche: #fbefc9; --gelb-tinte: #6b5200;
--rot-flaeche: #f7dad2; --rot-tinte: #8a2f1d; --rot: #b8452e;
--gruen-flaeche: #dcebdf; --gruen-tinte: #2f5a3d;
--blau-flaeche: #dde8ee; --blau-tinte: #2d5468;
--krank-flaeche: #fbe0cb; --krank-tinte: #8a4a1c;
--serif: 'Fraunces', Georgia, 'Times New Roman', serif;
--sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--radius: 18px; --radius-klein: 11px;
--schatten: 0 1px 2px rgba(58, 50, 44, .05), 0 10px 28px -16px rgba(58, 50, 44, .22);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--creme); color: var(--tinte); font: 400 15px/1.45 var(--sans); letter-spacing: .005em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pflaume); outline-offset: 2px; border-radius: 6px; }
.leise { color: var(--tinte-blass); font-size: 13px; }
.symbol { flex: none; }
.logo-lila { fill: var(--lila); mix-blend-mode: multiply; }
.logo-pfirsich { fill: var(--pfirsich); opacity: .7; mix-blend-mode: multiply; }
.logo-linie { fill: none; stroke: var(--taupe); stroke-width: .9; }
.logo { isolation: isolate; flex: none; }
.rahmen { display: grid; grid-template-columns: 248px minmax(0, 1fr); height: 100dvh; }
.seitenleiste { display: flex; flex-direction: column; gap: 18px; padding: 22px 14px 16px; background: rgba(240, 230, 216, .55); border-right: 1px solid var(--linie); overflow-y: auto; }
.marke { display: flex; align-items: center; gap: 11px; padding: 0 8px 6px; }
.marke strong { display: block; font: 400 18px/1.1 var(--serif); letter-spacing: -.01em; }
.marke span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tinte-blass); margin-top: 3px; }
.nav-liste { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-punkt { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: var(--radius-klein); text-decoration: none; color: var(--tinte-weich); font-weight: 500; }
.nav-punkt:hover { background: rgba(58, 50, 44, .05); }
.nav-punkt.aktiv { background: var(--papier); color: var(--tinte); box-shadow: var(--schatten); }
.zahl { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 99px; background: var(--pfirsich-tief); color: var(--tinte); font-size: 12px; font-weight: 600; text-align: center; }
.nav-hinweis, .mobil-hinweis { display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; border-radius: var(--radius-klein); background: var(--gelb-flaeche); color: var(--gelb-tinte); text-decoration: none; font-size: 13.5px; line-height: 1.3; }
.nav-hinweis span, .mobil-hinweis span { display: flex; flex-direction: column; gap: 2px; }
.nav-hinweis small, .mobil-hinweis small { font-size: 12px; }
.nav-hinweis:hover, .mobil-hinweis:hover { outline: 1px solid var(--gelb-tinte); }
.mobil-hinweis { display: none; border-radius: 0; padding: 9px 16px; }
.nav-fuss { display: flex; flex-direction: column; gap: 8px; padding: 12px 6px 0; border-top: 1px solid var(--linie); }
.nutzer { display: flex; align-items: center; gap: 10px; }
.nutzer strong { display: block; font-size: 14px; font-weight: 600; }
.nutzer span { font-size: 12px; color: var(--tinte-blass); }
.tableiste { display: none; }
#haupt { overflow-y: auto; outline: none; }
.ansicht { max-width: 1180px; margin: 0 auto; padding: 30px 36px 64px; display: flex; flex-direction: column; gap: 20px; }
.demo-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 7px 36px; background: var(--lila-weich); color: var(--pflaume-tinte); font-size: 13px; }
.demo-datum { display: inline-flex; align-items: center; gap: 8px; }
.kopf.mit-nav { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.kopf-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ueber { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--tinte-blass); margin-bottom: 6px; }
.titel { font: 300 40px/1.05 var(--serif); letter-spacing: -.02em; }
.titel em { font-style: italic; color: var(--pflaume); }
h2 { font-size: 16px; font-weight: 600; }
h3 { font-size: 14px; font-weight: 600; margin-top: 6px; }
.wochen-nav { display: inline-flex; align-items: center; gap: 6px; }
.karte { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.abschnitt-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.abschnitt-rechts { display: flex; align-items: center; gap: 8px; }
.spalten { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stapel { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.kachel { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: 16px 18px; }
button.kachel:hover { border-color: var(--linie-stark); }
.kachel.wichtig { background: var(--pfirsich-hauch); border-color: var(--pfirsich-weich); }
.kachel-name { font-size: 13px; color: var(--tinte-weich); }
.kachel-wert { font-size: 28px; font-weight: 600; line-height: 1.15; }
.kachel-wert .pille { font-size: 24px; padding: 2px 12px; }
.kachel-zusatz { font-size: 12.5px; color: var(--tinte-blass); }
.hinweis { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: var(--radius-klein); background: var(--lila-weich); color: var(--pflaume-tinte); font-size: 14px; }
.hinweis.warnung { background: var(--gelb-flaeche); color: var(--gelb-tinte); }
.hinweis.fehler { background: var(--rot-flaeche); color: var(--rot-tinte); }
.leer { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px; text-align: center; color: var(--tinte-weich); }
.leer p { max-width: 46ch; }
.mitte { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 20px; text-align: center; }
.mitte.schmal > * { width: 100%; max-width: 520px; }
.mitte.schmal > .logo { width: 72px; }
.mitte .karte { text-align: left; }
.konten { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.konto { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.konto:hover { border-color: var(--pfirsich-tief); }
.konto span:last-child { font-size: 12.5px; color: var(--tinte-blass); }
.mitte.schmal > .hinweis { text-align: left; }
.knopfzeile.zentriert { justify-content: center; }
.code-feld { font-variant-numeric: tabular-nums; letter-spacing: .14em; font-size: 18px; }
.hilfe { text-align: left; font-size: 13.5px; color: var(--tinte-weich); }
.hilfe summary { cursor: pointer; color: var(--pflaume-tinte); font-weight: 500; }
.hilfe p { margin-top: 8px; }
.hilfe .knopfzeile { margin-top: 10px; }
.einladung { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--radius-klein); background: var(--pfirsich-hauch); border: 1px solid var(--pfirsich-weich); }
.einladung small { color: var(--tinte-weich); }
.einladung strong { font: 600 24px/1.3 ui-monospace, Consolas, 'Courier New', monospace; letter-spacing: .08em; user-select: all; overflow-wrap: anywhere; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 7px 15px; border-radius: 99px; border: 1px solid var(--linie-stark); background: var(--papier); color: var(--tinte); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.knopf:hover { background: var(--creme); }
.knopf:active { transform: scale(.98); }
.knopf.haupt { background: var(--pfirsich-tief); border-color: var(--pfirsich-tief); color: var(--tinte); font-weight: 600; }
.knopf.haupt:hover { background: #e08c53; }
.knopf.gefahr { background: var(--rot); border-color: var(--rot); color: #fff; font-weight: 600; }
.knopf.still { border-color: transparent; background: transparent; color: var(--tinte-weich); }
.knopf.still:hover { background: rgba(58, 50, 44, .06); }
.knopf.klein { min-height: 30px; padding: 4px 12px; font-size: 13.5px; }
.knopf.rund { width: 36px; min-height: 36px; padding: 0; }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopfzeile, .aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.formular { display: flex; flex-direction: column; gap: 14px; }
.feld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.feld-name { font-size: 13px; font-weight: 500; color: var(--tinte-weich); }
.feld-hinweis { font-size: 12.5px; color: var(--tinte-blass); }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.eingabe { width: 100%; min-height: 40px; padding: 8px 12px; border-radius: var(--radius-klein); border: 1px solid var(--linie-stark); background: #fff; }
.eingabe:focus { outline: 2px solid var(--pflaume); outline-offset: 0; border-color: transparent; }
.eingabe:disabled, .eingabe[readonly] { background: var(--creme); color: var(--tinte-blass); }
.eingabe.kurz { max-width: 110px; }
.eingabe.klein { width: auto; min-height: 30px; padding: 3px 8px; font-size: 13px; }
textarea.eingabe { resize: vertical; min-height: 64px; }
.datum { position: relative; display: flex; align-items: center; min-width: 0; }
.datum .eingabe { padding-right: 42px; font-variant-numeric: tabular-nums; }
.datum-knopf { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--tinte-weich); }
.datum-knopf:hover:not(:disabled) { background: rgba(58, 50, 44, .08); }
.datum-knopf[aria-expanded="true"] { background: var(--pfirsich-weich); color: var(--tinte); }
.kalender-popup { position: fixed; left: 8px; top: 8px; z-index: 70; touch-action: none; width: 288px; max-width: calc(100vw - 16px); padding: 12px; background: var(--papier); border: 1px solid var(--linie); border-radius: 18px; box-shadow: 0 22px 60px -18px rgba(58, 50, 44, .5), 0 2px 6px rgba(58, 50, 44, .08); animation: einblenden .12s ease-out; }
.kal-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.kal-titel { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.kal-nav { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--tinte-weich); cursor: pointer; }
.kal-nav:hover { background: rgba(58, 50, 44, .08); }
.kal-wochentage, .kal-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.kal-wochentage span { padding: 4px 0; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--tinte-blass); }
.kal-raster > span { height: 36px; }
.kal-tag { position: relative; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--tinte); font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; }
.kal-tag:hover { background: var(--pfirsich-hauch); }
.kal-tag.wochenende { color: var(--tinte-blass); }
.kal-tag.feiertag { color: var(--pflaume-tinte); }
.kal-tag.feiertag::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--lila-tief); }
.kal-tag.heute { box-shadow: inset 0 0 0 1.5px var(--pfirsich-tief); }
.kal-tag.gewaehlt, .kal-tag.gewaehlt:hover { background: var(--tinte); color: var(--papier); }
.kal-tag.gewaehlt.feiertag::after { background: var(--lila); }
.kal-fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--linie); }
.kal-heute { padding: 6px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--pflaume-tinte); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.kal-heute:hover { background: var(--lila-weich); }
.kal-legende { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tinte-blass); }
.kal-legende::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--lila-tief); }
.kal-legende[hidden] { display: none; }
.datum.ungueltig .eingabe { border-color: var(--rot); background: var(--rot-flaeche); }
.datum.klein { display: inline-flex; width: 138px; }
.datum.klein .eingabe { min-height: 30px; padding: 3px 34px 3px 8px; font-size: 13px; }
.datum.klein .datum-knopf { width: 26px; height: 26px; right: 3px; }
.haken { display: flex; align-items: center; gap: 9px; }
.haken input { width: 18px; height: 18px; accent-color: var(--pfirsich-tief); }
.schalter { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.schalter input { position: absolute; opacity: 0; width: 46px; height: 28px; margin: 0; cursor: pointer; }
.schalter-bahn { flex: none; width: 46px; height: 28px; border-radius: 99px; background: var(--taupe-weich); position: relative; transition: background .2s; }
.schalter-bahn::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(58, 50, 44, .3); transition: transform .2s; }
.schalter input:checked + .schalter-bahn { background: var(--pfirsich-tief); }
.schalter input:checked + .schalter-bahn::after { transform: translateX(18px); }
.schalter input:focus-visible + .schalter-bahn { outline: 2px solid var(--pflaume); outline-offset: 2px; }
.schalter-text { display: flex; flex-direction: column; font-weight: 500; }
.schalter-text small { font-weight: 400; color: var(--tinte-blass); font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 500; background: var(--taupe-weich); color: var(--tinte-weich); white-space: nowrap; }
.chip.gelb { background: var(--gelb-flaeche); color: var(--gelb-tinte); }
.chip.rot { background: var(--rot-flaeche); color: var(--rot-tinte); }
.chip.lila { background: var(--lila); color: var(--pflaume-tinte); }
.chip.gruen { background: var(--gruen-flaeche); color: var(--gruen-tinte); }
.chip.blau, .chip.urlaub { background: var(--blau-flaeche); color: var(--blau-tinte); }
.chip.krank { background: var(--krank-flaeche); color: var(--krank-tinte); }
.chip.feiertag, .chip.neutral { background: var(--taupe-weich); color: var(--tinte-weich); }
.chip-x { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: -5px; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.chip-x:hover { background: rgba(58, 50, 44, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips.eng { gap: 3px; justify-content: center; }
.pille { display: inline-block; padding: 1px 9px; border-radius: 99px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pille.plus { background: var(--gruen-flaeche); color: var(--gruen-tinte); }
.pille.minus { background: var(--rot-flaeche); color: var(--rot-tinte); }
.pille.null { background: var(--taupe-weich); color: var(--tinte-weich); }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--tinte); background: var(--pfirsich-weich); }
.avatar.gross { width: 52px; height: 52px; font-size: 18px; }
.avatar.farbe1 { background: var(--lila); }
.avatar.farbe2 { background: var(--taupe-weich); }
.avatar.farbe3 { background: var(--blau-flaeche); }
.name-zelle { display: inline-flex; align-items: center; gap: 9px; }
.meter { display: flex; height: 8px; border-radius: 99px; background: var(--pfirsich-hauch); overflow: hidden; min-width: 90px; }
.meter-ist { background: var(--pfirsich-tief); }
.meter-kredit { background: var(--pfirsich-weich); }
.tag-editor { display: flex; flex-direction: column; gap: 16px; }
.tag-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zeile-gross { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.zeile-gross > div:first-child { display: flex; flex-direction: column; }
.zeile-gross strong { font-size: 16px; }
.zaehler { display: inline-flex; align-items: center; gap: 6px; padding: 5px; border-radius: 99px; background: var(--creme); border: 1px solid var(--linie); }
.zaehler-knopf { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--papier); box-shadow: var(--schatten); }
.zaehler-knopf:hover:not(:disabled) { background: var(--pfirsich-weich); }
.zaehler-knopf:disabled { opacity: .4; cursor: not-allowed; }
.zaehler-wert { width: 68px; border: 0; background: transparent; text-align: center; font-size: 26px; font-weight: 600; }
.block { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--linie); }
.block-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.zufuegen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.zufuegen .eingabe { width: auto; flex: 1 1 130px; min-height: 34px; padding: 5px 10px; }
.tag-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--linie); }
.wochen-mini { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mini-tag { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 2px; border-radius: var(--radius-klein); border: 1px solid var(--linie); background: var(--creme); }
.mini-tag:hover { border-color: var(--pfirsich-tief); }
.mini-tag.heute { background: var(--pfirsich-hauch); border-color: var(--pfirsich); }
.mini-tag.fehlt { border-color: var(--rot); border-style: dashed; }
.mini-wt { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte-blass); }
.mini-wert { font-size: 19px; font-weight: 600; }
.mini-soll { font-size: 11.5px; color: var(--tinte-blass); min-height: 16px; }
dl.werte { display: flex; flex-wrap: wrap; gap: 6px 22px; }
dl.werte > div { display: flex; flex-direction: column; }
dl.werte dt { font-size: 12px; color: var(--tinte-blass); }
dl.werte dd { font-size: 17px; font-weight: 600; }
.aufgaben { display: flex; flex-direction: column; gap: 6px; }
.aufgabe { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-radius: var(--radius-klein); border: 1px solid var(--linie); background: var(--gelb-flaeche); color: var(--gelb-tinte); text-align: left; text-decoration: none; }
.aufgabe.rot { background: var(--rot-flaeche); color: var(--rot-tinte); }
.aufgabe.gruen { background: var(--gruen-flaeche); color: var(--gruen-tinte); }
.eintrag.neu { background: var(--lila-weich); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: var(--radius-klein); }
.aufgabe span { display: flex; flex-direction: column; }
.aufgabe small { font-size: 13px; }
.blatt-huelle { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th { font-weight: 500; }
table.blatt { min-width: 760px; table-layout: fixed; }
table.blatt th, table.blatt td { padding: 9px 6px; text-align: center; border-bottom: 1px solid var(--linie); vertical-align: middle; }
table.blatt th[scope=row] { width: 178px; text-align: left; font-weight: 600; }
table.blatt th small, table.blatt td small { display: block; font-size: 11.5px; font-weight: 400; color: var(--tinte-blass); }
table.blatt .heute { background: var(--pfirsich-hauch); }
table.blatt td.total, table.blatt th.total { width: 104px; background: var(--creme); font-weight: 600; }
table.blatt tr.ist td { font-size: 17px; font-weight: 600; }
table.blatt tr.summe td, table.blatt tr.summe th { border-top: 2px solid var(--linie-stark); }
table.blatt tr.notizen td { font-size: 13px; vertical-align: top; }
.rechnung { font-size: 13px; color: var(--tinte-weich); }
.tag-knopf { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 6px 2px; border: 1px solid transparent; border-radius: var(--radius-klein); background: transparent; }
.tag-knopf:hover { border-color: var(--pfirsich-tief); background: var(--papier); }
.tag-knopf span { font-size: 12.5px; color: var(--tinte-blass); }
.tag-knopf small { color: var(--pflaume-tinte); }
.tag-knopf.fehlt small, .fehlt { color: var(--rot); font-weight: 600; }
.offen { font-size: 13px; font-weight: 500; color: var(--tinte-weich); white-space: nowrap; }
.notiz { display: block; text-align: left; white-space: pre-wrap; word-break: break-word; }
table.liste th, table.liste td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--linie); white-space: nowrap; }
table.liste thead th { font-size: 12px; color: var(--tinte-blass); white-space: normal; vertical-align: bottom; }
table.liste .links { text-align: left; }
table.liste td.links { white-space: normal; }
table.liste tbody tr[tabindex] { cursor: pointer; }
table.liste tbody tr[tabindex]:hover { background: var(--pfirsich-hauch); }
table.liste tr.zukunft { color: var(--tinte-blass); }
table.liste tr.laufend { background: var(--pfirsich-hauch); }
table.liste tfoot th, table.liste tfoot td { border-top: 2px solid var(--linie-stark); border-bottom: 0; font-weight: 600; text-align: right; }
table.liste tfoot th { text-align: left; }
table.liste td.breit { min-width: 130px; }
.aktionen-zelle { display: flex; gap: 6px; justify-content: flex-end; }
table.kalender { min-width: 900px; font-size: 12.5px; }
table.kalender th, table.kalender td { padding: 5px 0; text-align: center; border: 1px solid var(--linie); min-width: 25px; height: 30px; }
table.kalender th.links { text-align: left; padding: 5px 10px; white-space: nowrap; min-width: 150px; }
table.kalender th small { display: block; font-size: 10px; color: var(--tinte-blass); }
table.kalender .we { background: var(--creme-warm); color: var(--tinte-blass); }
table.kalender th.frei { background: var(--taupe-weich); }
table.kalender .heute { box-shadow: inset 0 0 0 2px var(--pfirsich-tief); }
table.kalender td { font-weight: 600; }
table.kalender td.urlaub, .legende i.urlaub { background: var(--blau-flaeche); color: var(--blau-tinte); }
table.kalender td.krank, .legende i.krank { background: var(--krank-flaeche); color: var(--krank-tinte); }
table.kalender td.feiertag, .legende i.feiertag { background: var(--taupe-weich); color: var(--tinte-weich); }
table.kalender td.beantragt, .legende i.beantragt { background: var(--gelb-flaeche); color: var(--gelb-tinte); }
table.kalender td.aus, .legende i.aus { background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(58, 50, 44, .07) 4px 5px); }
.legende { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--tinte-weich); }
.legende span { display: inline-flex; align-items: center; gap: 6px; }
.legende i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 5px; border: 1px solid var(--linie); font-style: normal; font-weight: 600; font-size: 12px; }
.eintraege { display: flex; flex-direction: column; }
.eintrag { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linie); }
.eintrag:last-child { border-bottom: 0; padding-bottom: 0; }
.eintrag:first-child { padding-top: 0; }
.eintrag.hoch { align-items: flex-start; }
.eintrag-haupt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eintrag-rechts { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; flex: none; max-width: 55%; }
.warn-text { color: var(--rot-tinte); font-size: 13px; font-weight: 500; }
dl.konto { display: flex; flex-direction: column; }
dl.konto > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--linie); }
dl.konto > div:last-child { border-bottom: 0; }
dl.konto dt { color: var(--tinte-weich); }
dl.konto dd { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
dl.konto .summe dt, dl.konto .summe dd { color: var(--tinte); font-weight: 700; }
.plan { display: flex; gap: 6px; margin-top: 6px; }
.plan span { display: flex; flex-direction: column; align-items: center; min-width: 40px; padding: 4px 6px; border-radius: 9px; background: var(--creme); color: var(--tinte-blass); font-weight: 600; }
.plan span.an { background: var(--pfirsich-hauch); color: var(--tinte); }
.plan small { font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--tinte-blass); }
.plan-eingabe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.plan-eingabe label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--tinte-blass); text-align: center; }
.plan-eingabe .eingabe { text-align: center; max-width: none; padding: 8px 4px; }
.pruefliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pruefliste li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--creme); font-size: 14px; }
.pruefliste .zeichen { flex: 0 0 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--taupe-weich); color: var(--tinte-weich); font-size: 13px; font-weight: 700; }
.pruefliste li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.pruefliste small { color: var(--tinte-weich); overflow-wrap: anywhere; }
.pruefliste small.technik { font-family: ui-monospace, Consolas, 'Courier New', monospace; font-size: 12px; }
.pruefliste li.gut .zeichen { background: var(--gruen-flaeche); color: var(--gruen-tinte); }
.pruefliste li.schlecht { background: var(--rot-flaeche); }
.pruefliste li.schlecht .zeichen { background: var(--rot); color: #fff; }
.pruefliste li.aus { opacity: .6; }
.pruef-stand { margin: 0; font-weight: 600; }
.pruef-stand:empty { display: none; }
.pruef-stand.gut { color: var(--gruen-tinte); }
.pruef-stand.schlecht { color: var(--rot-tinte); }
ul.verlauf { display: flex; flex-direction: column; gap: 9px; max-height: 420px; overflow-y: auto; }
ul.verlauf li { display: flex; flex-direction: column; font-size: 14px; }
.dialog ul.verlauf { max-height: none; }
.tagebuch-tag { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--linie); }
ul.verlauf li.abgelehnt span:last-child { color: var(--gelb-tinte); }
ul.verlauf li.fehler span:last-child { color: var(--rot-tinte); font-weight: 600; }
.vorschau { display: flex; flex-direction: column; gap: 6px; }
.tage-liste { display: flex; flex-direction: column; gap: 6px; }
.tag-zeile { display: grid; grid-template-columns: 1fr 90px 36px; align-items: center; gap: 8px; }
.tag-zeile .eingabe { min-height: 34px; padding: 4px 8px; text-align: center; }
.personen { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.person-karte { text-decoration: none; }
.person-karte:hover { border-color: var(--pfirsich-tief); }
.person-karte.inaktiv { opacity: .6; }
.person-kopf { display: flex; align-items: center; gap: 12px; }
.person-kopf strong { display: block; font-size: 16px; }
.person-leiste { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 36px; background: rgba(246, 240, 232, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linie); }
.reiter { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 99px; background: var(--creme-warm); margin-left: auto; }
.reiter a { padding: 5px 13px; border-radius: 99px; text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--tinte-weich); }
.reiter a.aktiv { background: var(--papier); color: var(--tinte); box-shadow: var(--schatten); }
.dialog-huelle { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(58, 50, 44, .32); backdrop-filter: blur(3px); animation: einblenden .15s ease-out; }
.dialog { display: flex; flex-direction: column; width: 100%; max-width: 500px; max-height: calc(100dvh - 40px); background: var(--papier); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(58, 50, 44, .5); animation: hoch .2s cubic-bezier(.2, .9, .3, 1.1); }
.dialog.breit { max-width: 660px; }
.dialog-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 12px 22px; }
.dialog-kopf h2 { font: 400 22px/1.2 var(--serif); letter-spacing: -.01em; }
.dialog-koerper { padding: 4px 22px 18px; overflow-x: hidden; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.dialog-fuss { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 12px 22px 18px; border-top: 1px solid var(--linie); }
.dialog-fuss .knopf.still:first-child { margin-right: auto; }
.dialog-text { color: var(--tinte-weich); }
#toasts { position: fixed; left: 50%; bottom: 26px; z-index: 80; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(92vw, 560px); pointer-events: none; }
.toast { padding: 10px 18px; border-radius: 16px; background: var(--tinte); color: var(--creme); box-shadow: 0 12px 30px -10px rgba(58, 50, 44, .6); font-size: 14px; text-align: center; animation: hoch .2s ease-out; transition: opacity .3s; }
.toast.fehler { background: var(--rot); color: #fff; }
.toast.weg { opacity: 0; }
@keyframes einblenden { from { opacity: 0; } }
@keyframes hoch { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 900px) {
.rahmen { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
.seitenleiste { display: none; }
.mobil-hinweis { display: flex; }
.tableiste { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); background: rgba(255, 253, 249, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--linie); }
.tab-punkt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 10px; text-decoration: none; font-size: 10.5px; color: var(--tinte-blass); text-align: center; line-height: 1.15; }
.tab-punkt.aktiv { color: var(--tinte); background: var(--pfirsich-hauch); }
.tab-punkt .zahl { position: absolute; top: 2px; right: 14%; min-width: 16px; padding: 0 4px; font-size: 10px; }
.ansicht { padding: 20px 16px 40px; }
.demo-leiste, .person-leiste { padding-left: 16px; padding-right: 16px; }
.spalten, .feld-paar { grid-template-columns: minmax(0, 1fr); }
.titel { font-size: 32px; }
.reiter { margin-left: 0; }
.eintrag { flex-direction: column; align-items: flex-start; }
.eintrag-rechts { max-width: none; justify-content: flex-start; }
.dialog-huelle { align-items: flex-end; padding: 0; }
.dialog, .dialog.breit { max-width: none; border-radius: 22px 22px 0 0; max-height: 92dvh; }
}
@media print {
body { background: #fff; }
.seitenleiste, .tableiste, .demo-leiste, .kopf-rechts, .person-leiste, #toasts { display: none !important; }
.rahmen { display: block; height: auto; }
#haupt { overflow: visible; }
.ansicht { max-width: none; padding: 0; }
.karte, .kachel { box-shadow: none; border-color: #ccc; break-inside: avoid; }
.blatt-huelle { overflow: visible; }
}
