/* Temporary public-facing design study: five calm, low-clutter directions. */
:root {
  --page: #f4f1e8;
  --paper: #fffdf8;
  --ink: #25372e;
  --muted: #69766d;
  --line: #dedfd3;
  --green: #315d47;
  --green-soft: #e5ede4;
  --orange: #bd7049;
  --wash: #eeece2;
  --card-shadow: 0 0.4rem 1.2rem rgb(34 55 42 / 6%);
  color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--green); text-underline-offset: 0.16em; }
a:hover { color: #173e2c; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.public-wrap { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }
.public-header { background: var(--paper); color: var(--green); border-bottom: 1px solid var(--line); }
.public-header-inner { min-height: 4.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.public-brand { display: inline-flex; align-items: center; gap: 0.55rem; color: inherit; font-family: Georgia, "Times New Roman", serif; font-size: 1.42rem; font-weight: 700; text-decoration: none; letter-spacing: -0.04em; }
.brand-mark { display: grid; width: 1.95rem; height: 1.95rem; place-items: center; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50% 50% 50% 0.45rem; font-style: italic; }
.header-recipes { color: var(--green); text-decoration: none; font-size: 0.9rem; font-weight: 650; }
.public-brand { font-family: inherit; font-size: 1.25rem; }
.recipe-card-icon { --icon-size: 2.25rem; margin-bottom: .45rem; }
.recipe-title-icon { --icon-size: clamp(2.5rem, 7vw, 3.5rem); }
.header-recipes span { padding-left: 0.35rem; }
main.public-wrap { min-height: calc(100vh - 7rem); padding-block: 1.1rem 3rem; }
.public-footer { padding-block: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; }
.design-picker { display: flex; align-items: center; gap: 0.8rem 1.2rem; margin: 0 auto 1.25rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.picker-label { flex: 0 0 auto; color: var(--muted); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.picker-options { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.picker-options a { display: inline-flex; align-items: center; gap: 0.36rem; padding: 0.3rem 0.58rem; border-radius: 999px; color: var(--muted); font-size: 0.76rem; font-weight: 600; text-decoration: none; }
.picker-options a:hover { background: var(--paper); color: var(--green); }
.picker-options a[aria-current="page"] { background: var(--green); color: white; }
.picker-number { font-size: 0.66rem; opacity: 0.74; }
.public-welcome { max-width: 43rem; margin: 2.5rem 0 1.4rem; }
.public-eyebrow { margin: 0 0 0.5rem; color: var(--orange); font-size: 0.73rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.public-welcome h1, .public-recipe-header h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 5vw, 3.8rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1.02; }
.public-welcome > p:last-child { margin: 0.65rem 0 0; color: var(--muted); font-size: 1.05rem; }
.public-search { display: grid; grid-template-columns: 1fr; gap: 0.4rem; max-width: 58rem; margin-bottom: 2.4rem; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--card-shadow); }
.public-search > label, .more-filters > label { color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.search-row { display: flex; gap: 0.6rem; }
.search-row input, .more-filters select { width: 100%; min-width: 0; min-height: 3.1rem; padding: 0.65rem 0.8rem; border: 1px solid var(--line); border-radius: 0.65rem; background: white; color: var(--ink); font: inherit; }
.search-row button { min-width: 6.4rem; padding-inline: 1rem; border: 0; border-radius: 0.65rem; background: var(--green); color: white; font: inherit; font-weight: 700; cursor: pointer; }
.search-row button:hover { filter: brightness(0.92); }
.more-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 0.1rem; }
.more-filters summary { width: fit-content; color: var(--muted); font-size: 0.8rem; cursor: pointer; }
.more-filters[open] { padding-top: 0.5rem; border-top: 1px solid var(--line); }
.more-filters select { width: min(100%, 19rem); min-height: 2.5rem; padding-block: 0.35rem; font-size: 0.88rem; }
.public-results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.public-results-heading h2, .public-ingredients h2, .public-method h2, .linked-recipes h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 600; letter-spacing: -0.035em; }
.public-results-heading p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.public-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; margin: 0; padding: 0; list-style: none; }
.public-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 0.95rem; box-shadow: var(--card-shadow); transition: transform 140ms ease, box-shadow 140ms ease; }
.public-card:hover { transform: translateY(-2px); box-shadow: 0 0.7rem 1.6rem rgb(34 55 42 / 11%); }
.card-main { position: relative; display: flex; min-height: 8.5rem; flex-direction: column; align-items: flex-start; padding: 1rem 1.1rem; color: inherit; text-decoration: none; }
.card-kicker { margin-bottom: 0.15rem; color: var(--orange); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.card-main h3 { max-width: calc(100% - 1rem); margin: 0.15rem 0 0.55rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.27rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.18; }
.card-details { display: flex; flex-wrap: wrap; gap: 0.25rem 0.7rem; margin: auto 1.5rem 0 0; color: var(--muted); font-size: 0.79rem; }
.card-arrow { position: absolute; right: 1rem; bottom: 0.9rem; color: var(--green); font-size: 1.05rem; }
.no-results { padding: 1rem; color: var(--muted); }
.public-pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; color: var(--muted); font-size: 0.86rem; }
.public-pagination a { font-weight: 650; text-decoration: none; }
.public-back { margin: 0 0 1rem; font-size: 0.88rem; }
.public-back a { color: var(--green); font-weight: 650; text-decoration: none; }
.public-recipe-header { display: grid; gap: 0.6rem; margin: 1rem 0 1.35rem; padding: 1.65rem 1.7rem; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 1.15rem; box-shadow: var(--card-shadow); }
.public-recipe-header .public-eyebrow { margin-bottom: -0.2rem; }
.public-description { max-width: 55rem; margin: 0; color: var(--muted); font-size: 1.04rem; }
.quick-facts { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.15rem; }
.quick-facts span { padding: 0.25rem 0.68rem; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 0.82rem; }
.quick-facts strong { font-weight: 750; }
.serving-control { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.2rem 0.35rem; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 0.82rem; }
.serving-control button { display: grid; width: 1.75rem; height: 1.75rem; place-items: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--green); font: inherit; font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.serving-control button:hover { background: var(--green); color: white; }
.serving-control button:disabled { cursor: default; opacity: 0.45; }
.serving-control output { min-width: 1.3rem; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.quick-facts .serving-control span { padding: 0; background: transparent; color: inherit; }
.scaled-amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.public-recipe-layout { display: grid; grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr); align-items: start; gap: 1rem; }
.public-ingredients, .public-method, .linked-recipes { min-width: 0; padding: 1.3rem 1.45rem; background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--card-shadow); }
.public-ingredient-list { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0.7rem 0 0; padding: 0; list-style: none; }
.public-ingredient-list > li { padding: 0.52rem 0; border-bottom: 1px solid var(--line); }
.public-ingredient-list > li:last-child { border-bottom: 0; }
.component-main-list { margin-top: 0; }
.component-main-list > li:last-child { border-bottom: 1px solid var(--line); }
.component-main-item .check-row { font-weight: 650; }
.ingredient-choices { display: flex; flex-wrap: wrap; gap: 0.15rem 0.8rem; margin: 0.2rem 0 0 1.65rem; color: var(--muted); font-size: 0.77rem; }
.component-recipe-link { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--green); font-weight: 650; }
.component-recipe-link span { transition: transform 120ms ease; }
.component-recipe-link:hover span { transform: translateX(0.15rem); }
.check-row, .component-check-row { display: flex; align-items: flex-start; gap: 0.55rem; cursor: pointer; }
.check-row input, .component-check-row input, .step-marker input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.check-row:has(input:focus-visible), .component-check-row:has(input:focus-visible), .step-marker:has(input:focus-visible) { border-radius: 0.25rem; outline: 3px solid var(--orange); outline-offset: 3px; }
.check-text { min-width: 0; transition: color 120ms ease, opacity 120ms ease; }
.check-row:has(input:checked) .check-text, .component-check-row:has(input:checked) .check-text { color: var(--muted); opacity: 0.72; text-decoration: line-through; text-decoration-thickness: 1px; }
.ingredient-choice > span { color: var(--muted); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.ingredient-choice ul { margin: 0.25rem 0 0; padding-left: 1.25rem; }
.ingredient-choice ul li { padding-block: 0.2rem; }
.ingredient-note, .muted { color: var(--muted); font-size: 0.85rem; }
.public-steps { display: grid; gap: 0; margin: 0.75rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.public-steps li { position: relative; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.public-steps li:last-child { border-bottom: 0; }
.step-marker { display: grid; grid-template-columns: 2.15rem minmax(0, 1fr); align-items: start; gap: 0.75rem; cursor: pointer; }
.step-number { display: grid; width: 1.9rem; height: 1.9rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 0.83rem; font-weight: 800; transition: background 120ms ease, color 120ms ease; }
.step-marker:has(input:checked) .step-number { background: var(--green); color: white; }
.step-marker:has(input:checked) .step-copy { color: var(--muted); opacity: 0.72; text-decoration: line-through; text-decoration-thickness: 1px; }
.step-copy { margin: 0.08rem 0 0; transition: color 120ms ease, opacity 120ms ease; }
.linked-recipes { margin-top: 1rem; }
.linked-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.linked-heading > p { max-width: 25rem; margin: 0; color: var(--muted); font-size: 0.86rem; }
.component-table-wrap { overflow-x: auto; }
.component-table { width: 100%; border-collapse: collapse; text-align: left; }
.component-table th, .component-table td { padding: 0.75rem 0.85rem; border-top: 1px solid var(--line); vertical-align: top; }
.component-table thead th { color: var(--muted); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.component-table tbody th { width: 24%; font-size: 0.95rem; font-weight: 650; }
.component-table tbody th a { display: block; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; text-decoration: none; }
.component-table tbody th a:hover { color: var(--green); text-decoration: underline; }
.part-role { display: block; margin-bottom: 0.2rem; color: var(--orange); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.part-note { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.9rem; font-weight: 400; line-height: 1.45; }
.buy-option { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.78rem; font-weight: 400; }
.component-section-heading { display: block; margin-bottom: 0.15rem; font-size: 0.84rem; }
.component-ingredients { display: flex; flex-wrap: wrap; gap: 0.28rem 0.45rem; margin: 0; padding: 0; list-style: none; }
.component-ingredients li { padding: 0.18rem 0.48rem; border-radius: 999px; background: var(--wash); font-size: 0.81rem; }
.component-check-row { align-items: center; gap: 0.35rem; }
.component-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.45rem; }
.component-choice > span { color: var(--muted); font-size: 0.75rem; }

/* 01 · soft familiar cards */
.design-1 { --page: #f4f1e8; --paper: #fffdf8; --ink: #25372e; --muted: #69766d; --line: #dedfd3; --green: #315d47; --green-soft: #e5ede4; --orange: #bd7049; --wash: #eeece2; }
/* 02 · bright, compact and direct */
.design-2 { --page: #f7f9f8; --paper: #fff; --ink: #18342a; --muted: #64736c; --line: #dce7e1; --green: #17684b; --green-soft: #e6f3ec; --orange: #b95537; --wash: #f0f5f2; --card-shadow: 0 0.15rem 0.55rem rgb(23 63 44 / 5%); }
.design-2 .public-wrap { width: min(100% - 2.5rem, 80rem); }
.design-2 .public-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.design-2 .public-card, .design-2 .public-search, .design-2 .public-recipe-header, .design-2 .public-ingredients, .design-2 .public-method, .design-2 .linked-recipes { border-radius: 0.55rem; }
.design-2 .card-main { min-height: 7.6rem; padding: 0.78rem; }
.design-2 .public-recipe-header { padding: 1.2rem 1.3rem; }
.design-2 .public-recipe-layout { grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr); gap: 0.65rem; }
.design-2 .public-ingredients, .design-2 .public-method, .design-2 .linked-recipes { padding: 1.05rem 1.1rem; }
/* 03 · printed cookbook, calm and text-led */
.design-3 { --page: #eee7d8; --paper: #fffaf0; --ink: #332f28; --muted: #746d60; --line: #e1d5c1; --green: #4b6246; --green-soft: #edf0e5; --orange: #a8633e; --wash: #f2eadb; --card-shadow: none; }
.design-3 .public-brand, .design-3 h1, .design-3 h2, .design-3 h3, .design-3 .component-table tbody th a { font-family: Georgia, "Times New Roman", serif; }
.design-3 .public-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 1.3rem; }
.design-3 .public-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; }
.design-3 .card-main { min-height: 6.9rem; padding-inline: 0.3rem; }
.design-3 .public-search, .design-3 .public-recipe-header, .design-3 .public-ingredients, .design-3 .public-method, .design-3 .linked-recipes { border-radius: 0.15rem; box-shadow: none; }
.design-3 .public-recipe-header { border-top: 0; border-bottom: 2px solid var(--orange); }
.design-3 .public-recipe-layout { display: block; max-width: 54rem; margin-inline: auto; }
.design-3 .public-ingredients, .design-3 .public-method { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.design-3 .public-ingredients { border-bottom: 1px solid var(--line); }
.design-3 .public-ingredient-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.design-3 .public-method { max-width: 49rem; }
.design-3 .public-steps { gap: 0.35rem; }
.design-3 .public-steps li { border-bottom: 0; padding-block: 0.55rem; }
/* 04 · focused cooking, ingredients stay close while reading */
.design-4 { --page: #eaf0e8; --paper: #fbfdf9; --ink: #193a2e; --muted: #5c7467; --line: #d2e0d5; --green: #1d5740; --green-soft: #e1eee4; --orange: #cb774b; --wash: #e9f1eb; }
.design-4 .public-recipe-header { border-top-color: var(--green); }
.design-4 .public-recipe-layout { grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr); }
.design-4 .public-ingredients { position: sticky; top: 1rem; }
.design-4 .public-steps li { padding-block: 0.9rem; font-size: 1.03rem; }
.design-4 .step-marker { grid-template-columns: 2.45rem minmax(0, 1fr); }
.design-4 .step-number { width: 2.1rem; height: 2.1rem; }
.design-4 .quick-facts span { background: var(--green); color: white; }
/* 05 · bright editorial blocks and warm tomato accent */
.design-5 { --page: #f7ece6; --paper: #fffaf6; --ink: #382a26; --muted: #78635c; --line: #ead4c8; --green: #385c49; --green-soft: #e7eee5; --orange: #c75035; --wash: #f6e5dc; }
.design-5 .public-header { background: #293f34; }
.design-5 .public-welcome { max-width: 54rem; padding-left: 1.25rem; border-left: 5px solid var(--orange); }
.design-5 .public-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; }
.design-5 .public-card { border-radius: 0.35rem 1.15rem 0.35rem 1.15rem; box-shadow: none; }
.design-5 .card-main { min-height: 9.3rem; padding: 1.1rem; }
.design-5 .public-recipe-header { border-top: 0; border-left: 6px solid var(--orange); border-radius: 0.35rem 1.25rem 0.35rem 1.25rem; }
.design-5 .quick-facts span { background: #fae5d8; color: #74402d; }
.design-5 .linked-recipes { border-left: 5px solid var(--green); }

.public-nutrition { margin: 1rem 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--card-shadow); }
.nutrition-summary { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.2rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; }
.nutrition-summary::-webkit-details-marker { display: none; }
.nutrition-summary::marker { content: ""; }
.nutrition-title { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 600; letter-spacing: -.035em; }
.nutrition-preview { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.nutrition-preview > span { display: flex; align-items: baseline; gap: .3rem; }
.nutrition-preview strong { color: var(--green); font-size: 1.1rem; }
.nutrition-preview small, .nutrition-preview-unavailable { color: var(--muted); font-size: .8rem; }
.nutrition-disclosure { margin-left: auto; color: var(--green); font-size: .8rem; font-weight: 650; white-space: nowrap; }
.nutrition-disclosure span { display: inline-block; font-size: 1rem; transition: transform .15s ease; }
.public-nutrition[open] .nutrition-disclosure span { transform: rotate(180deg); }
.nutrition-expanded { padding: 0 1.25rem 1.1rem; }
.nutrition-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.55rem; }
.nutrition-heading-row h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.035em; }
.nutrition-heading-row p, .nutrition-unavailable { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.88rem; }
.nutrition-coverage { flex: 0 0 auto; padding: 0.3rem 0.6rem; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 0.77rem; font-weight: 700; }
.nutrition-coverage-low { background: #f6e7d6; color: #81502c; }
.nutrition-warning { margin: 0.5rem 0; padding: 0.5rem 0.7rem; border-left: 3px solid var(--orange); background: var(--wash); color: var(--muted); font-size: 0.84rem; }
.nutrition-table-wrap { overflow-x: auto; }
.public-nutrition-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.public-nutrition-table th, .public-nutrition-table td { padding: 0.38rem 0.6rem; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.public-nutrition-table th:first-child { text-align: left; }
.public-nutrition-table thead { color: var(--muted); font-size: 0.78rem; }
.public-nutrition-table tbody th { font-weight: 600; }
.nutrition-details { margin-top: 0.65rem; color: var(--muted); font-size: 0.8rem; }
.nutrition-details summary { width: fit-content; cursor: pointer; color: var(--green); font-weight: 650; }
.nutrition-details p { max-width: 68rem; margin: 0.6rem 0 0; }
.nutrition-mark { display: inline-grid; width: 1.05rem; height: 1.05rem; margin-left: 0.28rem; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 0.7rem; font-weight: 750; vertical-align: 0.06em; cursor: help; }
.nutrition-mark-estimated { background: #f6e7d6; color: #81502c; }
.nutrition-mark-component { background: #e8e2f4; color: #5b4691; }
.nutrition-mark:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

@media (max-width: 58rem) {
  .public-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-2 .public-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .public-recipe-layout, .design-2 .public-recipe-layout, .design-4 .public-recipe-layout { grid-template-columns: minmax(0, 1fr); }
  .design-4 .public-ingredients { position: static; }
}
@media (max-width: 43rem) {
  .public-wrap, .design-2 .public-wrap { width: min(100% - 1.4rem, 74rem); }
  .public-header-inner { min-height: 3.7rem; }
  main.public-wrap { padding-top: 0.65rem; }
  .design-picker { align-items: flex-start; flex-direction: column; gap: 0.25rem; margin-bottom: 0.8rem; }
  .picker-options { flex-wrap: nowrap; width: 100%; overflow-x: auto; padding-bottom: 0.2rem; }
  .picker-options a { flex: 0 0 auto; }
  .public-welcome { margin-top: 1.7rem; }
  .public-welcome h1, .public-recipe-header h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .public-search { padding: 0.75rem; }
  .search-row button { min-width: 4.5rem; }
  .public-cards, .design-2 .public-cards, .design-3 .public-cards, .design-5 .public-cards { grid-template-columns: minmax(0, 1fr); }
  .card-main { min-height: 6.7rem; }
  .public-recipe-header { padding: 1.15rem; }
  .public-ingredients, .public-method, .linked-recipes { padding: 1rem; }
  .nutrition-summary { gap: .5rem .8rem; padding: .85rem .95rem; }
  .nutrition-title { font-size: 1.12rem; }
  .nutrition-preview { flex-basis: 100%; justify-content: space-between; }
  .nutrition-disclosure { margin-left: auto; }
  .nutrition-expanded { padding: 0 .95rem .95rem; }
  .public-nutrition-table { font-size: 0.82rem; }
  .public-nutrition-table th, .public-nutrition-table td { padding-inline: 0.38rem; }
  .linked-heading { align-items: flex-start; flex-direction: column; gap: 0.3rem; }
  .component-table thead { display: none; }
  .component-table, .component-table tbody, .component-table tr, .component-table th, .component-table td { display: block; }
  .component-table tr { padding: 0.6rem 0; border-top: 1px solid var(--line); }
  .component-table th, .component-table td { width: 100%; padding: 0.25rem 0; border: 0; }
  .component-table td { padding-top: 0.5rem; }
  .design-3 .public-ingredient-list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; } }
