/* PDF: the browser's "Save as PDF" on A4, without the sidebar and controls. */
@page { size: A4; margin: 12mm; }

@media print {
  html, body { background: var(--surface-raised); }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .skip-link, .app__side, #topbar-slot, #share-slot, .status, .mp-filter, .segmented, .ask-chips, .answer__link,
  .readout, .search, .btn-link, .wi-control input, .wi-presets, .wi-scale, .rule-chips, .health__block--row .chip,
  .phone-actions, .noscript { display: none !important; }
  .print-only { display: block !important; }
  .app { display: block; }
  .main { max-width: none; padding: 0; gap: 12px; }
  .sections, .row { gap: 12px; }
  .card, .hero, .kpi, .row > * { break-inside: avoid; }
  .card { padding: 14px; box-shadow: none; }
  .wf-scroll, .cal-scroll, .hm-scroll, .pt-scroll, .rt-scroll { overflow: visible; }
  .pt { min-width: 0; font-size: 11px; }
  .hist .wf { min-width: 0; }
  .hist-table summary { display: none; }
  .pt th, .pt td { padding: 6px 4px; }
  .only-phone-block { display: none !important; }
  .only-wide-block { display: block !important; }
  .page-foot { break-inside: avoid; }
}
