/* Print gives a flyer (src/components/print/Flyer.tsx). Linked with media="print", so a screen
   never waits for it. On a studio page the flyer is the whole sheet; a page whose main is marked
   data-print-self (Terms, Privacy, the check-up report) prints as itself. */
@media print {
  @page { margin: 14mm; }
  html:has(.mw-flyer):not(:has(main[data-print-self])) body > :not(.mw-flyer) { display: none !important; }
  html:has(.mw-flyer):not(:has(main[data-print-self])) .mw-flyer[hidden] { display: block !important; }
  html:has(.mw-flyer):not(:has(main[data-print-self])),
  html:has(.mw-flyer):not(:has(main[data-print-self])) body { background: #fff !important; color: #14181f !important; }
  .mw-flyer { max-width: 170mm; margin: 0 auto; font-family: var(--font-body, system-ui), system-ui, sans-serif; color: #14181f; break-inside: avoid; }
  .mw-flyer-name { margin: 0 0 10mm; font: 700 13pt/1 var(--font-body, system-ui), sans-serif; color: #8a6420; }
  .mw-flyer-pitch { margin: 0 0 5mm; font: 800 34pt/1.02 var(--font-display, system-ui), sans-serif; letter-spacing: -0.03em; }
  .mw-flyer-sub { margin: 0 0 10mm; font-size: 13pt; line-height: 1.4; max-width: 140mm; }
  .mw-flyer-kinds { display: grid; gap: 4mm; margin: 0 0 12mm; padding: 0; list-style: none; font-size: 11.5pt; line-height: 1.4; }
  .mw-flyer-kinds li { padding-left: 5mm; border-left: 1.2mm solid #c99a3b; }
  .mw-flyer-kinds strong { display: block; font-size: 13pt; }
  .mw-flyer-reach { display: grid; grid-template-columns: 1fr 42mm; gap: 2mm 10mm; align-items: center; padding-top: 8mm; border-top: 0.4mm solid #14181f; }
  .mw-flyer-label { margin: 0; font-size: 10.5pt; color: #4a5160; }
  .mw-flyer-phone { margin: 1mm 0; font: 800 30pt/1 var(--font-display, system-ui), sans-serif; letter-spacing: -0.02em; }
  .mw-flyer-web { margin: 0; font-size: 12pt; }
  /* A background, so it is fetched only when the page is printed; told to print, as backgrounds otherwise are not. */
  .mw-flyer-qr { width: 42mm; height: 42mm; background: url("/qr/hello.svg") center / contain no-repeat; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .mw-flyer-scan { grid-column: 2; text-align: center; }
}
