/* Application styles */

/* Search result highlighting */
mark {
  background-color: #fef08a; /* yellow-200 */
  font-weight: 600;
  padding: 0.125rem 0;
}

/* Print styles */
@media print {
  /* Reduce base font size for more compact printing */
  body {
    font-size: 10pt;
    line-height: 1.4;
  }

  /* Reduce prose (recipe content) typography */
  .prose {
    font-size: 10pt;
    max-width: none;
  }

  .prose h1 {
    font-size: 18pt;
    margin-top: 0;
    margin-bottom: 8pt;
  }

  .prose h2 {
    font-size: 14pt;
    margin-top: 16pt;
    margin-bottom: 6pt;
  }

  .prose h3 {
    font-size: 12pt;
    margin-top: 12pt;
    margin-bottom: 4pt;
  }

  .prose p,
  .prose li {
    font-size: 10pt;
    margin-bottom: 4pt;
  }

  .prose ul {
    margin-top: 4pt;
    margin-bottom: 8pt;
  }

  /* Tighter ingredient list spacing */
  .prose ul li {
    padding-left: 0;
    margin-bottom: 2pt;
  }

  /* Remove sticky positioning for print */
  .sticky {
    position: static;
  }

  /* Optimize page breaks */
  h2, h3 {
    page-break-after: avoid;
  }

  ul, ol {
    page-break-inside: avoid;
  }
}
