/* =====================================================================
   Print layout (used by the browser's Print → Save as PDF on Reports).
   The app is dark-only on screen; printed reports are black on white so
   they are clean to send and cheap to print.
   ===================================================================== */

@page { size: A4; margin: 14mm 12mm; }

:root { color-scheme: light !important; }
html, body { background: #fff !important; color: #111 !important; }
body { font-size: 11pt; }
* { box-shadow: none !important; text-shadow: none !important; }

.sidebar, .toolbar, .page-head, .no-print, #toasts, .overlay, .panel, .modal-wrap, .tour-ring, .tour-tip { display: none !important; }
.shell { display: block !important; height: auto !important; }
.main { overflow: visible !important; }
.page { padding: 0 !important; max-width: none !important; }
.print-only { display: block !important; }

.page-title { color: #111; font-size: 18pt; }
.page-sub, .muted, .quiet, .hint { color: #555 !important; }

.print-head { border-bottom: 2px solid #111; padding-bottom: 8px; margin-bottom: 14px; }
.print-head .t { font-size: 18pt; font-weight: 700; }
.print-head .s { color: #555; font-size: 10pt; }

.tiles { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; }
.tile { background: #fff !important; border: 1px solid #ccc !important; color: #111 !important; padding: 8px 10px !important; }
.tile-num { font-size: 18pt !important; color: #111 !important; }
.tile-label { color: #555 !important; }

.report-section { break-inside: auto; margin-bottom: 14px; }
.report-section h2 { color: #111; font-size: 12pt; border-bottom: 1px solid #ddd; padding-bottom: 4px; }

.ptable { border-collapse: collapse !important; border-spacing: 0 !important; width: 100%; }
.ptable th { color: #333 !important; border-bottom: 1px solid #999; padding: 4px 6px !important; font-size: 8.5pt; }
.ptable td { background: #fff !important; color: #111 !important; border: 0 !important; border-bottom: 1px solid #e3e3e3 !important; border-radius: 0 !important; padding: 4px 6px !important; font-size: 9.5pt; }
.ptable tr { break-inside: avoid; }
.ptable tr.subtotal td { background: #f2f2f2 !important; font-weight: 700; }
.ptable tr.total td { background: #e8e8e8 !important; font-weight: 700; border-top: 1px solid #999 !important; }
.ptable .ttl { max-width: none !important; white-space: normal !important; }

.tag, .pill { background: none !important; color: #333 !important; border: 1px solid #bbb; padding: 0 4px; height: auto; }
.tag .dot { display: none; }

.bar-list { background: #fff !important; border: 1px solid #ccc !important; }
.bar-track { background: #eee !important; }
.bar-track > div { background: #555 !important; }
.bar-track, .bar-track > div, .ptable tr.subtotal td, .ptable tr.total td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

a { color: #111 !important; text-decoration: none !important; }
