/* HMS-535 — "Download PDF" prints this page; a PDF has no use for site chrome
   or dead interactive controls. Screen rendering is untouched. */
@media print {
  .portal-header,
  .portal-footer,
  .portal__skip-link,
  .chatbot-widget,
  .booking-confirmation__actions,
  .booking-confirmation__upsell,
  .booking-confirmation__share,
  wa-copy-button,
  wa-button,
  button,
  .flash,
  [class*="flash--"] {
    display: none !important;
  }

  /* HMS-643 — the cancellation policy (heading + tiers) stays on one page;
     without this it split across pages 2/3 of the printed confirmation. */
  .booking-confirmation__policy {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* HMS-683 — the admin "Export PDF Report" page prints; drop console chrome,
   dead controls, and the sidebar's grid column. */
@media print {
  .admin__skip-link,
  .topbar,
  .admin-shell__sidebar,
  .admin-flash,
  .dashboard__period-picker,
  .dashboard-table__footer,
  .dashboard-table__toolbar,
  .dashboard__print-note {
    display: none !important;
  }
  .admin-shell {
    display: block;
  }
}
