/* Results page — hero, key stats, sections, cost/nutrition tables, sustainability */
  /* ══════════════════════════════════════════
     RESULTS PAGE 
  ══════════════════════════════════════════ */
  #results-page {
    display: none;
    background: var(--cream);
  }

  .results-hero {
    background: var(--forest);
    padding: 60px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .hero-sticker {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 130px;
    height: 130px;
    object-fit: contain;
    opacity: 0.92;
    pointer-events: none;
    z-index: 2;
  }

  .results-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(207,255,142,0.06), transparent 60%);
    pointer-events: none;
  }

  /* Decorative organic shape — brand "passive graphic" (p.30) */
  .results-hero::after {
    content: '';
    position: absolute;
    top: -60px;
    left: -40px;
    width: 200px;
    height: 240px;
    background: rgba(207,255,142,0.03);
    border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
    pointer-events: none;
  }

  .results-eyebrow {
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
  }

  .hero-logo {
    height: 36px;
    width: auto;
    display: inline-block;
  }

  .results-title {
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: clamp(30px, 5vw, 52px);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
    z-index: 1;
    position: relative;
    font-weight: 700;
  }

  .results-title em { color: var(--sage); font-style: italic; }

  .results-subtitle {
    font-size: 20px; /* h2 */
    color: #cfff8e;
    margin-bottom: 48px;
    z-index: 1;
    position: relative;
  }

  /* ── Blend bubbles — organic mushroom-cap shapes ── */
  .blend-bubbles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    z-index: 1;
    position: relative;
  }

  .bubble {
    border-radius: 50% 50% 42% 58% / 55% 45% 55% 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .bubble:hover { transform: scale(1.05); }

  .bubble-lg {
    width: 145px;
    height: 145px;
    background: var(--fable-olive);
  }

  .bubble-md {
    width: 115px;
    height: 115px;
    background: var(--fable-sage);
  }

  .bubble-sm {
    width: 82px;
    height: 82px;
    background: rgba(207,255,142,0.1);
  }

  .bubble-pct {
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
  }

  .bubble-lg .bubble-pct { font-size: 36px; }

  .bubble-label {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    text-align: center;
    line-height: 1.2;
    padding: 0 8px;
  }

  .bubble-note {
    font-size: 14px;
    color: #fafafa;
    max-width: 560px;
    margin: 0 auto 40px;
    z-index: 1;
    position: relative;
  }

  /* ── Key stats bar ─────────────────────────── */
  .key-stats {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: #cfff8e;
    border: 1px solid rgba(46,66,20,0.15);
    border-radius: 16px;
    overflow: hidden;
    max-width: 680px;
    margin: 0 auto 32px;
    z-index: 1;
    position: relative;
  }

  .key-stat {
    flex: 1;
    padding: 20px 24px;
    text-align: center;
    border-right: 1px solid rgba(46,66,20,0.15);
  }

  .key-stat:last-child { border-right: none; }

  .key-stat-val {
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 4px;
  }

  .key-stat-label {
    font-size: 14px;
    color: rgba(46,66,20,0.7);
  }

  .key-stat-badge {
    display: inline-block;
    background: var(--forest);
    color: var(--sage);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    margin-top: 4px;
  }

  .key-stat-badge--source {
    background: transparent;
    border: 1.5px solid rgba(46,66,20,0.4);
    color: var(--forest);
    font-weight: 600;
  }

  .actions-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    z-index: 1;
    position: relative;
  }

  .action-btn {
    padding: 10px 24px;
    border-radius: 100px;
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
  }

  .action-btn.primary {
    background: var(--fable-lime);
    color: var(--fable-hero);
  }

  .action-btn.primary:hover { background: var(--white); color: var(--fable-hero); }

  .action-btn.ghost {
    background: rgba(207,255,142,0.06);
    color: rgba(250,250,250,0.8);
    border: 1px solid rgba(207,255,142,0.25);
  }

  .action-btn.ghost:hover { background: rgba(207,255,142,0.12); color: var(--fable-lime); }

  /* ── Advanced label + View All Recipes ──────────── */
  .action-advanced-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .action-advanced-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(207,255,142,0.45);
  }

  /* ── Floating Contact Us button ─────────────────── */
  .contact-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--fable-hero);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(46,66,20,0.35);
    transition: all 0.2s;
  }

  .contact-fab:hover {
    background: var(--fable-lime);
    color: var(--fable-hero);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(46,66,20,0.4);
  }

  .contact-fab-icon { font-size: 18px; line-height: 1; }

  @media (max-width: 480px) {
    .contact-fab {
      bottom: 16px;
      right: 16px;
      padding: 12px 16px;
    }
    .contact-fab-label { display: none; }
    .contact-fab { border-radius: 50%; width: 52px; height: 52px; justify-content: center; padding: 0; }
    .contact-fab-icon { font-size: 22px; }
  }

  /* ── Explore CTA ────────────────────────────── */
  .explore-cta {
    max-width: 860px;
    margin: 0 auto 0;
    padding: 32px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(207,255,142,0.12);
  }
  .explore-cta-text {
    font-size: 16px;
    color: var(--forest);
    font-family: 'Zapf Humanist', Georgia, serif;
  }
  .explore-cta-btn {
    display: inline-block;
    padding: 11px 28px;
    background: #cfff8e;
    border: none;
    border-radius: 100px;
    color: #2e4214;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Zapf Humanist', Georgia, serif;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
  }
  .explore-cta-btn:hover {
    background: #ffffff;
    color: #2e4214;
  }
  @media (max-width: 600px) {
    .explore-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
    .explore-cta-btn { width: 100%; text-align: center; }
  }

  /* ── Sections ─────────────────────────────── */
  .results-sections {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .section-card {
    background: var(--white);
    border-radius: 20px 20px 16px 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(46,66,20,0.08);
  }

  .section-header {
    padding: 22px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .section-header.cost { background: var(--forest); }
  .section-header.nutrition { background: var(--fable-olive); }
  .section-header.sustainability { background: var(--fable-dark); }

  .section-num {
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: 28px;
    color: var(--white);
    font-weight: 700;
    opacity: 0.9;
  }

  .section-title {
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: 28px;
    color: var(--white);
    font-weight: 700;
  }

  .section-body { padding: 28px 32px; }
  #section-nutrition .section-body { padding: 28px 20px; }

  .section-note {
    font-size: 14px;
    color: var(--fable-olive);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  /* ── Recipe pill ─────────────────────────── */
  .recipe-pill {
    display: inline-block;
    background: var(--mist);
    color: var(--forest);
    font-size: 16px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
  }

  .cost-footnote {
    font-size: 11px;
    color: var(--fable-olive);
    margin-top: 5px;
  }

  /* ── Cost table ─────────────────────────── */
  .cost-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    table-layout: fixed;
  }

  /* Column widths: ingredient auto, % narrow, cost/unit medium, finished product cost medium */
  .cost-table th:nth-child(2), .cost-table td:nth-child(2) { width: 48px; text-align: center; }
  .cost-table th:nth-child(3), .cost-table td:nth-child(3) { width: 115px; }
  .cost-table th:nth-child(4), .cost-table td:nth-child(4) { width: 135px; }

  .cost-table thead th {
    text-align: left;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fable-sage);
    border-bottom: 2px solid var(--mist);
    white-space: normal;
    vertical-align: bottom;
    line-height: 1.3;
  }

  .cost-table tbody tr { border-bottom: 1px solid #eeeee6; }
  .cost-table tbody tr:last-child { border-bottom: none; font-weight: 700; }

  .cost-table tbody td {
    padding: 14px;
    color: var(--ink);
  }

  .cost-table tbody tr:last-child td:last-child {
    color: var(--forest);
    font-size: 18px;
    font-family: 'Zapf Humanist', Georgia, serif;
    font-weight: 700;
  }

  .vs-row {
    display: grid;
    grid-template-columns: 1fr 32px 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 16px;
    min-width: 0;
  }
  .price-block { min-width: 0; }

  .vs-label {
    text-align: center;
    font-size: 14px; /* p3 */
    font-weight: 700;
    color: var(--fable-sage);
    padding-top: 12px;
  }

  .price-block {
    background: var(--mist);
    border-radius: 14px 14px 10px 14px;
    padding: 16px;
    text-align: center;
  }

  .price-block .pb-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fern);
    margin-bottom: 6px;
  }

  .price-block .pb-val {
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: clamp(22px, 5vw, 36px);
    font-weight: 700;
    color: var(--forest);
    word-break: break-word;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
  }

  .price-block .pb-unit { font-size: 14px; color: var(--fable-sage); margin-top: 2px; }

  .price-block.highlight { background: var(--forest); }
  .price-block.highlight .pb-label { color: var(--sage); }
  .price-block.highlight .pb-val { color: var(--white); }
  .price-block.highlight .pb-unit { color: rgba(250,250,250,0.65); }

  /* ── Nutrition table ─────────────────────── */
  /* ── Per-serving toggle (US only) ─────────── */
  .serving-toggle {
    display: inline-flex;
    background: var(--mist);
    border-radius: 100px;
    padding: 3px;
    gap: 2px;
  }

  .serving-btn {
    padding: 6px 16px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--forest);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.02em;
  }

  .serving-btn.active {
    background: var(--forest);
    color: var(--sage);
  }

  .nutrition-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
  }

  .nutrition-table thead th {
    padding: 8px 6px;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fable-sage);
    border-bottom: 2px solid var(--mist);
    white-space: nowrap;
  }

  .nutrition-table thead th:first-child { text-align: left; }

  .nutrition-table tbody td {
    padding: 9px 6px;
    color: var(--ink);
    text-align: right;
    border-bottom: 1px solid #f0efe6;
    white-space: nowrap;
  }

  .nutrition-table tbody td:first-child { text-align: left; }
  .nutrition-table tbody tr.bold-row td { font-weight: 700; font-size: 18px; }
  .nutrition-table tbody tr.sub-row td:first-child { padding-left: 22px; color: var(--fable-sage); }

  .diff-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
  }

  .diff-good    { background: #ddf5d0; color: #2e5a14; }
  .diff-bad     { background: #fce4ec; color: #c62828; }
  .diff-neutral { background: #f0efe6; color: #5e7462; }
  .diff-fiber   { background: #cfff8e; color: #1a3a00; font-size: 11px; letter-spacing: 0.03em; }

  /* ── Health claims ─────────────────────── */
  .health-claims {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--mist);
  }

  .hc-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 10px;
  }

  .hc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hc-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--mist);
    color: var(--forest);
    font-size: 16px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
  }

  .hc-chip::before { content: '\2713'; font-weight: 700; color: var(--fable-bright); }


  /* ── Email capture modal ────────────────────────────────── */
  .email-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30,40,20,0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .email-modal {
    background: var(--cream);
    border-radius: 20px;
    padding: 40px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 64px rgba(46,66,20,0.25);
  }

  .email-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--fable-sage);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.15s;
  }

  .email-modal-close:hover { background: rgba(94,116,98,0.12); }

  .email-modal-logo {
    margin-bottom: 20px;
  }

  .email-modal-title {
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--fable-hero);
    margin-bottom: 8px;
  }

  .email-modal-sub {
    font-size: 14px;
    color: var(--fable-sage);
    margin-bottom: 24px;
    line-height: 1.5;
  }

  .email-modal-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }

  .email-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .email-input {
    padding: 12px 16px;
    border: 1.5px solid rgba(46,66,20,0.15);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: var(--fable-hero);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
  }

  .email-input:focus { border-color: var(--fable-hero); }
  .email-input.full { width: 100%; }

  .email-modal-error {
    color: #c62828;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fce4ec;
    border-radius: 8px;
  }

  .email-modal-btn {
    width: 100%;
    padding: 14px;
    background: var(--fable-lime);
    color: var(--fable-hero);
    border: none;
    border-radius: 100px;
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
  }

  .email-modal-btn:hover { background: var(--fable-hero); color: var(--fable-lime); }
  .email-modal-btn:disabled { opacity: 0.5; cursor: not-allowed; }

  .email-modal-privacy {
    font-size: 12px;
    color: var(--fable-sage);
    text-align: center;
    line-height: 1.4;
  }

  .email-modal-success {
    text-align: center;
    padding: 16px 0;
  }

  .email-modal-success .success-icon {
    font-size: 48px;
    margin-bottom: 12px;
  }

  .email-modal-success h3 {
    font-family: 'Zapf Humanist', Georgia, serif;
    font-size: 22px;
    color: var(--fable-hero);
    margin-bottom: 8px;
  }

  .email-modal-success p {
    font-size: 14px;
    color: var(--fable-sage);
  }

/* ══════════════════════════════════════════
   PRINT STYLES
   Only affects @media print / Save as PDF
   ══════════════════════════════════════════ */
@media print {

  /* ── Global reset ── */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body {
    background: #ffffff !important;
    margin: 0;
    padding: 0;
  }

  /* Hide everything that isn't the results page */
  #quiz-shell,
  .contact-fab,
  #contact-modal-overlay,
  #email-modal-overlay {
    display: none !important;
  }

  /* Show results page regardless of JS-set display */
  #results-page {
    display: block !important;
    background: #ffffff !important;
  }

  /* ── Hero section ── */
  .results-hero {
    background: #2e4214 !important;
    padding: 32px 40px 40px !important;
    page-break-after: avoid;
    break-after: avoid;
    overflow: visible !important;
  }

  /* Hide the decorative sticker image in print */
  .hero-sticker {
    display: none !important;
  }

  /* Logo in eyebrow: keep visible */
  .results-eyebrow {
    margin-bottom: 12px !important;
  }

  .hero-logo {
    height: 28px !important;
    filter: brightness(0) invert(1);  /* ensure white on dark bg */
  }

  .results-title {
    color: #ffffff !important;
    font-size: 36px !important;
    margin-bottom: 10px !important;
  }

  .results-subtitle {
    color: #cfff8e !important;
    font-size: 15px !important;
    margin-bottom: 28px !important;
  }

  /* Blend bubbles */
  .blend-bubbles {
    gap: 12px !important;
    margin-bottom: 28px !important;
  }

  .bubble-lg {
    width: 110px !important;
    height: 110px !important;
    background: #4a6a22 !important;
  }

  .bubble-md {
    width: 88px !important;
    height: 88px !important;
    background: #5e7462 !important;
  }

  .bubble-sm {
    width: 64px !important;
    height: 64px !important;
  }

  .bubble-pct {
    color: #ffffff !important;
    font-size: 24px !important;
  }

  .bubble-lg .bubble-pct { font-size: 28px !important; }

  .bubble-label {
    color: rgba(255,255,255,0.9) !important;
    font-size: 11px !important;
  }

  .bubble-note {
    color: #fafafa !important;
    font-size: 12px !important;
    margin-bottom: 24px !important;
  }

  /* Key stats bar */
  .key-stats {
    background: #cfff8e !important;
    border-color: rgba(46,66,20,0.15) !important;
    margin-bottom: 20px !important;
  }

  .key-stat-val {
    color: #2e4214 !important;
    font-size: 22px !important;
  }

  .key-stat-label {
    color: rgba(46,66,20,0.7) !important;
    font-size: 12px !important;
  }

  .key-stat-badge {
    background: #2e4214 !important;
    color: #cfff8e !important;
    font-size: 11px !important;
  }

  /* Hide action buttons entirely */
  .actions-bar {
    display: none !important;
  }

  /* ── Section cards ── */
  .results-sections {
    padding: 24px 16px 32px !important;
    gap: 24px !important;
  }

  .section-card {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }

  /* Section headers: keep coloured backgrounds but ensure text is white */
  .section-header {
    padding: 14px 24px !important;
  }

  .section-header.cost         { background: #2e4214 !important; }
  .section-header.nutrition    { background: #4a6a22 !important; }
  .section-header.sustainability { background: #3a5518 !important; }

  .section-num,
  .section-title {
    color: #ffffff !important;
  }

  .section-body {
    padding: 20px 24px !important;
  }

  /* Section note italic text */
  .section-note {
    color: #5e7462 !important;
    font-size: 13px !important;
  }

  /* Recipe pill */
  .recipe-pill {
    background: #e8f3d4 !important;
    color: #2e4214 !important;
    font-size: 14px !important;
  }

  /* ── Cost table ── */
  .cost-table thead th {
    color: #2e4214 !important;
    font-size: 12px !important;
  }

  .cost-table tbody td {
    color: #1a1a1a !important;
  }

  .cost-table tbody tr:last-child td:last-child {
    color: #2e4214 !important;
  }

  /* Price blocks */
  .price-block {
    background: #f0f4ec !important;
  }

  .price-block .pb-label {
    color: #2e4214 !important;
  }

  .price-block .pb-val {
    color: #2e4214 !important;
    font-size: 28px !important;
  }

  .price-block .pb-unit {
    color: #5e7462 !important;
  }

  /* Highlighted (blend) price block */
  .price-block.highlight {
    background: #2e4214 !important;
  }

  .price-block.highlight .pb-label {
    color: #cfff8e !important;
  }

  .price-block.highlight .pb-val {
    color: #ffffff !important;
  }

  .price-block.highlight .pb-unit {
    color: rgba(255,255,255,0.75) !important;
  }

  .vs-label {
    color: #5e7462 !important;
  }

  /* ── Nutrition table ── */
  .nutrition-table thead th {
    color: #2e4214 !important;
    font-size: 11px !important;
  }

  .nutrition-table tbody td {
    color: #1a1a1a !important;
  }

  .nutrition-table tbody tr.bold-row td {
    color: #1a1a1a !important;
  }

  .nutrition-table tbody tr.sub-row td:first-child {
    color: #5e7462 !important;
  }

  /* Diff badges */
  .diff-good    { background: #ddf5d0 !important; color: #2e5a14 !important; }
  .diff-bad     { background: #fce4ec !important; color: #c62828 !important; }
  .diff-neutral { background: #f0efe6 !important; color: #5e7462 !important; }
  .diff-fiber   { background: #cfff8e !important; color: #1a3a00 !important; }

  /* Health claims */
  .hc-label {
    color: #2e4214 !important;
  }

  .hc-chip {
    background: #e8f3d4 !important;
    color: #2e4214 !important;
  }

  /* Serving toggle — hide, keep per-100g data visible */
  .serving-toggle {
    display: none !important;
  }

  /* ── Sustainability ── */
  .sust-block.shiitake {
    background: #eef5e8 !important;
  }

  .sust-block.beef-only {
    background: #f5efe4 !important;
  }

  .sust-block-title {
    color: #2e4214 !important;
  }

  .sust-ingredient {
    color: #1a1a1a !important;
  }

  .sust-val {
    color: #2e4214 !important;
  }

  .sust-total .sust-val {
    color: #2e4214 !important;
  }

  /* Carbon callout */
  .carbon-callout {
    background: #2e4214 !important;
  }

  .ct-pct {
    color: #ffffff !important;
  }

  .ct-desc {
    color: rgba(255,255,255,0.9) !important;
  }

  /* ── Explore CTA bar ── */
  .explore-cta {
    border-top-color: #ddd !important;
    padding: 16px 16px !important;
  }

  .explore-cta-text {
    color: #2e4214 !important;
    font-size: 14px !important;
  }

  .explore-cta-btn {
    background: #cfff8e !important;
    color: #2e4214 !important;
    font-size: 13px !important;
    padding: 8px 20px !important;
  }

  /* ── Footer: simplify to text-only, no image ── */
  .results-footer {
    background: #2e4214 !important;
    padding: 20px 40px !important;
    break-before: avoid;
    page-break-before: avoid;
  }

  /* Hide the large food photo */
  .footer-img-wrap img {
    display: none !important;
  }

  .footer-img-wrap {
    height: auto !important;
    background: transparent !important;
  }

  .footer-img-overlay {
    position: static !important;
    background: none !important;
    padding: 16px 0 !important;
    align-items: flex-end !important;
  }

  .footer-thankyou {
    color: #ffffff !important;
    font-size: 32px !important;
  }

  .footer-tagline {
    color: rgba(207,255,142,0.85) !important;
  }

  .footer-tagline a {
    color: rgba(207,255,142,0.85) !important;
  }

  /* ── Page break hints ── */
  /* Hero always starts at top of page 1 */
  .results-hero { page-break-before: avoid; break-before: avoid; }

  /* Cost and Nutrition sections: try to keep together */
  #section-cost       { page-break-inside: avoid; break-inside: avoid; }
  #section-nutrition  { page-break-before: auto; break-before: auto; }
  #section-sustainability { page-break-before: auto; break-before: auto; }

  /* Footer at end */
  .explore-cta,
  .results-footer { page-break-before: auto; break-before: auto; }
}
