/* ──────────────────────────────────────────────────────────────────────
   Sani-Prevent — base layer
   All component styling lives in Tailwind utility classes on the markup.
   This file only holds what a utility class cannot express: the pre-paint
   fallback (the Tailwind Play CDN is JS-driven, so the page would flash
   unstyled without it) and the print stylesheet.
   ────────────────────────────────────────────────────────────────────── */

:root {
  --sp-ink: #1A1919;
  --sp-crimson: #9B1D23;
  --sp-cream: #EEEADD;
}

/* Pre-paint fallback — replaced by Tailwind once the CDN evaluates. */
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--sp-ink);
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Safari still paints a marker on <summary> even with list-style removed. */
summary::-webkit-details-marker { display: none; }

@media print {
  .sticky,
  header,
  #mobileNav,
  [aria-label="Kosár"],
  [aria-label="Menü"] { display: none !important; }

  /* Expand every accordion so nothing is lost on paper. */
  details > div,
  details > p { display: block !important; }

  a[href^="http"]::after,
  a[href^="mailto"]::after,
  a[href^="tel"]::after { content: " (" attr(href) ")"; font-size: 10px; }

  body { background: #fff; }
}
