/* ============================================================================
   Datenrechte-Werkzeug (SundHilfe) — Druck (wird mit media="print" eingebunden)
   Prinzip wie Mietwucher-Check: Es druckt NUR das Element mit .print-root —
     brief.html → <main> mit dem Brief (.sheet); Bedienelemente = .no-print
     index.html → <main> mit der Fristenrechnung (.rechnung) als Merkblatt
   Schwarzweiß-sicher: keine Farbflächen, Linien statt Schatten.
   ========================================================================== */

@page { margin: 18mm; }

body {
  background: #fff !important;
  color: #000 !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 11.5pt;
  line-height: 1.5;
}

/* Nur die Druckwurzel zeigen */
body > *:not(.print-root) { display: none !important; }
.print-root { display: block !important; }
.no-print, .hdr, .msheet, .ft, .subhero, .sprite, .scroll-marke { display: none !important; }

a { color: #000; text-decoration: none; }

/* Brief (brief.html) */
section, .sec, .sec--tool { padding: 0 !important; background: none !important; border: 0 !important; }
.wrap { max-width: none; padding: 0; }
.gen-grid { display: block !important; }
.printwrap { background: none !important; padding: 0 !important; display: block !important; border-radius: 0 !important; }
.sheet {
  box-shadow: none !important;
  width: 100% !important;
  padding: 0 !important;
  color: #000 !important;
  font-size: 11.5pt !important;
  font-family: Georgia, 'Times New Roman', serif !important;
}
.sheet .small { font-size: 9pt; color: #333 !important; }
.sheet .platz { background: none !important; border-bottom: 1pt dotted #000; }
.sheet .zitat { border-left: 1.5pt solid #000; color: #000; }
.sheet ul { padding-left: 16pt; }
.sheet .anlagen { font-size: 9pt; color: #333; margin-top: 14pt; }

/* Fristen-Merkblatt (index.html → .rechnung) */
.frist-grid { display: block !important; margin: 0 !important; }
.rechnung { box-shadow: none !important; padding: 0 !important; border: 0 !important; }
.rechnung table { font-size: 10.5pt; }
.rechnung td { border-bottom: 1pt solid #999; padding: 4pt 2pt; }
.rechnung .ende { color: #000 !important; font-size: 14pt; }
.rechnung .warn { border: 1pt solid #000; background: none !important; padding: 6pt 8pt; }
.rechnung .kicker { color: #000; }
.rechnung .kicker::before { background: #000; }

/* Sicherheitsnetz: interaktive Elemente nie drucken */
button, .sh-btn, .btn-row { display: none !important; }
