/* Druckansicht: Monatsrapport auf A4 hochformat, übrige Ansichten hell. */
@page { size: A4 portrait; margin: 12mm 14mm; }
:root {
  --bg: #fff; --panel: #fff; --panel2: #fff; --line: #ccc; --line2: #bbb;
  --text: #000; --muted: #444; --faint: #666; --accent: #000; --minus: #000;
  color-scheme: light;
}
html, body { background: #fff !important; color: #000; }
body { font-size: 11pt; }
.top, .views, .intro, .keys, .btn, .noprint, dialog, .weeknav .btn { display: none !important; }
.ytable .btn.link { display: inline !important; color: #000 !important; }
main { padding: 0; }
.weekbar { margin-bottom: 8mm; }
.weektitle { text-align: left; }
.grid, .tile { border-color: #999; }
.day, .tile, .ytable tr { break-inside: avoid; }
.day.today { box-shadow: none; }

.sheetwrap { display: block; overflow: visible; padding: 0; }
.periodbar:has(+ .sheetwrap) { display: none; }
.sheet {
  width: auto; min-height: 0; height: auto; padding: 0; border-radius: 0; box-shadow: none;
  font-size: 8.4pt; line-height: 1.3; display: block; break-after: page;
}
.sheet:last-child { break-after: auto; }
.stable th, .stable td { padding: 0.5mm 1.6mm; }
.shead { padding-bottom: 3mm; }
.smeta { margin: 3mm 0; }
.ssum { margin-top: 3mm; }
.stable tr.we td { background: #eee; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ssign { margin-top: 0; padding-top: 13mm; }
.sfoot { margin-top: 3mm; }
