    /* =====================================================================
       BASE EDITORIAL CANVAS & AMBIENT TOP WASHES
    ====================================================================== */
    :root {
      --hairline: rgba(21, 21, 23, 0.09);
      --sheen-color: rgba(217, 93, 57, 0.075);
      --border-glow: rgba(217, 93, 57, 0.30);
    }

    .dark {
      --hairline: rgba(255, 255, 255, 0.09);
      --sheen-color: rgba(232, 114, 78, 0.11);
      --border-glow: rgba(232, 114, 78, 0.36);
    }

    body {
      font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
      background-color: #FAF8F4;
      color: #151517;
      overflow-x: hidden;
    }

    .dark body {
      background-color: #0F0F12;
      color: #F5F4F0;
    }

    /* Soft Peach & Lavender Ambient Top Wash */
    .editorial-atmosphere {
      background-color: #FAF8F4;
      background-image:
        radial-gradient(circle at 88% 4%, rgba(253, 224, 210, 0.72) 0%, rgba(253, 224, 210, 0) 34%),
        radial-gradient(circle at 10% 10%, rgba(235, 229, 254, 0.62) 0%, rgba(235, 229, 254, 0) 32%),
        radial-gradient(circle at 50% 42%, rgba(226, 247, 236, 0.28) 0%, rgba(226, 247, 236, 0) 35%);
    }

    .dark .editorial-atmosphere {
      background-color: #0F0F12;
      background-image:
        radial-gradient(circle at 88% 4%, rgba(232, 114, 78, 0.12) 0%, rgba(232, 114, 78, 0) 34%),
        radial-gradient(circle at 10% 10%, rgba(129, 140, 248, 0.09) 0%, rgba(129, 140, 248, 0) 32%);
    }

    /* Italic Serif Accent with Editorial Underline */
    .editorial-underline {
      position: relative;
      display: inline-block;
      font-style: italic;
      color: #D95D39;
    }

    .dark .editorial-underline {
      color: #E8724E;
    }

    .editorial-underline::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0.07em;
      height: 0.13em;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(217, 93, 57, 0.34), rgba(167, 139, 250, 0.38));
      pointer-events: none;
    }

    .hairline-border {
      border: 1px solid var(--hairline);
    }

    /* =====================================================================
       TACTILE CURSOR-TRACKING SHEEN & <=2DEG 3D MICRO-TILT
    ====================================================================== */
    .tactile-card {
      position: relative;
      transform-style: preserve-3d;
      will-change: transform;
      transition: box-shadow 0.32s ease, border-color 0.28s ease;
    }

    .tactile-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.28s ease;
      background: radial-gradient(
        380px circle at var(--mx, 50%) var(--my, 50%),
        var(--sheen-color),
        transparent 52%
      );
      z-index: 2;
    }

    .tactile-card:hover::before {
      opacity: 1;
    }

    .tactile-card:hover {
      border-color: var(--border-glow);
    }

    @media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
      .tactile-card {
        transform: none !important;
      }
      .tactile-card::before {
        display: none !important;
      }
    }

    /* =====================================================================
       CUSTOM CHECKBOXES & SWITCHES
    ====================================================================== */
    .kit-checkbox {
      appearance: none;
      -webkit-appearance: none;
      width: 1.25rem;
      height: 1.25rem;
      border-radius: 0.42rem;
      border: 1.75px solid rgba(21, 21, 23, 0.28);
      background-color: transparent;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: all 0.16s ease;
    }

    .dark .kit-checkbox {
      border-color: rgba(245, 244, 240, 0.32);
    }

    .kit-checkbox:hover {
      border-color: #D95D39;
    }

    .kit-checkbox:checked {
      background-color: #10B981;
      border-color: #10B981;
    }

    .kit-checkbox:checked::after {
      content: '';
      width: 0.32rem;
      height: 0.6rem;
      border: solid #FFFFFF;
      border-width: 0 2.2px 2.2px 0;
      transform: rotate(45deg);
      margin-bottom: 2px;
    }

    /* Fallback highlight pulse */
    .fallback-box-active {
      border-color: rgba(217, 93, 57, 0.55) !important;
      box-shadow: 0 0 0 3px rgba(217, 93, 57, 0.12);
    }

    /* =====================================================================
       TRUE US LETTER (8.5 x 11) INK-FRIENDLY FRIDGE SHEET STYLES
    ====================================================================== */
    .fridge-paper {
      background: #FFFFFF;
      color: #111111;
      font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    }

    .fridge-paper .print-serif {
      font-family: 'Fraunces', Georgia, serif;
    }

    .print-square {
      display: inline-block;
      width: 12px;
      height: 12px;
      min-width: 12px;
      border: 1.4px solid #111111;
      border-radius: 2px;
      margin-top: 2px;
      background: #FFFFFF;
    }

    /* Hidden on screen, strictly used for clean window.print() output */
    #print-fridge-sheet-container {
      display: none;
    }

    @page {
      size: letter portrait;
      margin: 0.42in;
    }

    @media print {
      html, body {
        background: #FFFFFF !important;
        color: #111111 !important;
        margin: 0 !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
      }

      /* Hide all interactive web UI chrome & modals */
      #web-app-root,
      #preview-modal {
        display: none !important;
      }

      /* Render ONLY the crisp B&W 1-page US Letter Fridge Sheet */
      #print-fridge-sheet-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #FFFFFF !important;
        color: #111111 !important;
        box-shadow: none !important;
        border: none !important;
      }

      .print-avoid-break {
        break-inside: avoid;
        page-break-inside: avoid;
      }
    }
  

/* ADAPTATION (production shell): on print, hide the site header/footer and
   search modal too -- the kit's own print rules hide only #web-app-root and
   #preview-modal, and the site shell sits outside that root. Without this,
   the site chrome would print above the US Letter fridge sheet. */
@media print {
  body > header,
  body > footer,
  #search-modal {
    display: none !important;
  }
}
