/* Explicitly honor hidden on generated layouts that also carry display utilities. */
[hidden] { display: none !important; }
@media print {
  @page { margin: 15mm; }
  body { background: #fff !important; color: #111 !important; font-size: 11pt; }
  header, footer, nav, button, dialog, #shareDialog, #uploadDialog,
  #interactiveStarRating, textarea, #reviewComments, .fixed,
  article, section { box-shadow: none !important; }
  header, footer, nav, button, dialog, #shareDialog, #uploadDialog,
  #interactiveStarRating, textarea, #reviewComments, .fixed { display: none !important; }
  main { max-width: none !important; padding: 0 !important; }
  #ingredientsSection, #stepsSection { break-inside: avoid; }
  #ingredientsSection { width: 36% !important; }
  #stepsSection { width: 60% !important; }
  img { max-height: 110mm; object-fit: contain; }
}

