:root {
  --ink: #253129;
  --muted: #677068;
  --cream: #f6f0e5;
  --paper: #fffdf8;
  --tomato: #bf4d32;
  --terracotta: #d46f4d;
  --sage: #9eaa8a;
  --line: #ded8cb;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --rounded: "Nunito", "DM Sans", Arial, sans-serif;
  --color-ink: var(--ink);
  --color-muted: var(--muted);
  --color-cream: var(--cream);
  --color-paper: var(--paper);
  --color-tomato: var(--tomato);
  --color-sage: var(--sage);
  --color-line: var(--line);
  --font-display: var(--serif);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink: #edf2ec;
  --muted: #aeb8af;
  --cream: #222c26;
  --paper: #17201b;
  --tomato: #e48161;
  --terracotta: #ec8b69;
  --sage: #829778;
  --line: #3b493f;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; isolation: isolate; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
body { max-width: 100%; overflow-x: clip; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #e19b45; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 10px 16px; background: white; border: 2px solid var(--tomato); }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.top-note { padding: 7px 20px; color: white; background: var(--ink); text-align: center; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.header-shell { position: sticky; z-index: 100000; top: 0; overflow: visible; isolation: isolate; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); box-shadow: 0 8px 28px rgb(37 49 41 / .06); backdrop-filter: blur(18px); }
.site-header { position: relative; min-height: 78px; max-width: 1380px; margin: auto; padding: 0 28px; display: flex; align-items: center; gap: 26px; overflow: visible; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 22px; line-height: 1; white-space: nowrap; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font: 8px var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; color: white; background: var(--tomato); border-radius: 50% 50% 50% 12%; font: italic 24px var(--serif); }
.main-nav { display: flex; align-items: center; gap: 5px; overflow: visible; font-size: 12px; font-weight: 700; }
.main-nav > a, .nav-categories > summary { position: relative; padding: 11px 12px; border-radius: 999px; cursor: pointer; list-style: none; transition: color .2s, background .2s; }
.main-nav > a::after, .nav-categories > summary::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--tomato); transform: scaleX(0); transform-origin: center; transition: transform .22s ease; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after, .main-nav > a.active::after, .nav-categories > summary:hover::after, .nav-categories > summary:focus-visible::after, .nav-categories.active > summary::after { transform: scaleX(1); }
.nav-categories > summary::-webkit-details-marker { display: none; }
.nav-categories > summary { display: flex; align-items: center; gap: 6px; }
.category-chevron { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav-categories[open] .category-chevron { transform: rotate(180deg); }
.main-nav > a:hover, .main-nav > a:focus-visible, .nav-categories > summary:hover, .nav-categories[open] > summary { color: var(--tomato); background: var(--cream); }
.nav-categories { position: relative; z-index: 2; overflow: visible; }
.nav-categories::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.category-menu { position: absolute; z-index: 1050; top: calc(100% + 14px); left: -170px; width: min(790px, calc(100vw - 48px)); padding: 22px; visibility: hidden; opacity: 0; transform: translateY(-7px); border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 24px 60px rgb(37 49 41 / .18); transition: .18s ease; pointer-events: none; }
.nav-categories:hover .category-menu, .nav-categories:focus-within .category-menu, .nav-categories[open] .category-menu { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
.category-menu::before { content: ""; position: absolute; left: 202px; top: -7px; width: 13px; height: 13px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); background: var(--paper); transform: rotate(45deg); }
.category-menu-heading { margin-bottom: 15px; padding: 0 4px 13px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.category-menu-heading > span { font: 24px var(--serif); }
.category-menu-heading > a { color: var(--tomato); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.category-menu > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px 18px; }
.category-menu > div:last-child a { min-width: 0; padding: 9px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 9px; color: var(--muted); font-size: 11px; }
.category-menu > div:last-child a:hover { color: var(--ink); background: var(--cream); }
.category-menu > div:last-child a span { color: var(--tomato); opacity: 0; transform: translateX(-4px); transition: .2s; }
.category-menu > div:last-child a:hover span { opacity: 1; transform: none; }
.header-actions { position: relative; z-index: 3; margin-left: auto; display: flex; align-items: center; gap: 8px; overflow: visible; }
.account-nav { min-width: 44px; height: 43px; padding: 5px 11px 5px 6px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.account-nav:hover { border-color: var(--sage); box-shadow: 0 7px 20px rgb(37 49 41 / .1); }
.account-nav img, .account-nav > span { width: 28px; height: 28px; flex: 0 0 28px; overflow: hidden; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--sage); object-fit: cover; font: 700 12px var(--rounded); }
.account-nav b { max-width: 100px; overflow: hidden; font: 700 12px var(--rounded); text-overflow: ellipsis; white-space: nowrap; }
.header-action, .menu-toggle { border: 0; background: transparent; color: var(--ink); }
.header-action { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; }
.header-action:hover { background: var(--cream); }
.header-action svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-toggle { padding: 0; }
.menu-toggle { display: none; }
.theme-toggle { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; color: var(--ink); border: 0; border-radius: 50%; background: transparent; font-size: 19px; }
.theme-toggle:hover { background: var(--cream); }
.language-trigger, .language-trigger-placeholder { height: 39px; min-width: 63px; padding: 0 10px; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 11px; }
.language-trigger:hover, .language-trigger.open { border-color: var(--sage); background: var(--cream); }
.language-trigger i { color: var(--muted); font-size: 10px; font-style: normal; }
.language-popover { position: fixed; z-index: 2147483646; width: 248px; max-height: min(430px, calc(100vh - 24px)); padding: 9px; overflow-y: auto; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); background: var(--paper); box-shadow: 0 28px 80px rgb(20 29 23 / .32); animation: language-popover-in .16s ease-out; }
@keyframes language-popover-in { from { opacity: 0; transform: translateY(-7px) scale(.98); } }
.language-popover-title { margin: 2px 3px 7px; padding: 7px 9px 10px; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); }
.language-popover-title span { font: 20px var(--serif); }
.language-popover-title small { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.language-popover > button { width: 100%; padding: 9px 10px; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 10px; color: var(--ink); border: 0; border-radius: 10px; background: transparent; text-align: left; }
.language-popover > button:hover, .language-popover > button.selected { background: var(--cream); }
.language-popover > button.selected { color: var(--tomato); }
.language-flag { font-size: 20px; }
.language-popover > button span:nth-child(2) { min-width: 0; }
.language-popover b, .language-popover small { display: block; }
.language-popover b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.language-popover small { color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.language-popover i { color: var(--tomato); font-size: 12px; font-style: normal; }
.language-popover > a { width: 100%; padding: 9px 10px; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 10px; color: var(--ink); border: 0; border-radius: 10px; background: transparent; text-align: left; text-decoration: none; }
.language-popover > a:hover, .language-popover > a.selected { background: var(--cream); }
.language-popover > a.selected { color: var(--tomato); }
.language-popover > a span:nth-child(2) { min-width: 0; }

.ambient-particles { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none; }

.admin-media-thumb { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:8px; }
.admin-table > div > p,.admin-section-heading p { margin:.3rem 0 0; color:var(--muted); font-size:.82rem; }
.admin-editor-save a { color:var(--tomato); font-weight:700; }
.search-bar { max-width: 1320px; margin: auto; padding: 18px 36px; display: flex; align-items: center; gap: 18px; background: var(--cream); border-bottom: 1px solid var(--line); }
.search-bar label { font: 20px var(--serif); }
.search-bar input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); background: white; }
.search-bar button, .button, .filters button, .cookie-notice button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 13px 23px; border: 1px solid var(--tomato); color: white; background: var(--tomato); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; transition: .2s; }
.button-secondary { min-height: 43px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--tomato); border: 1px solid var(--tomato); background: var(--paper); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; transition: .2s; }
.button-secondary:hover { color: white; background: var(--tomato); }
.button:hover, .filters button:hover, .search-bar button:hover { background: #9e3d28; }
.eyebrow { color: var(--tomato); font-size: 10px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.title-pair { margin: 12px 0 18px; color: var(--ink); font: 46px/1.03 var(--serif); letter-spacing: -.015em; }
.title-pair span, .title-pair em { display: block; }
.title-pair em { color: var(--tomato); font-weight: 400; }

.home-impact { max-width: 1320px; margin: auto; padding: 42px 36px 0; display: grid; grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr); align-items: center; gap: 24px; overflow: hidden; }
.home-impact p { margin: 0; color: var(--ink); font: 42px/1.1 var(--serif); letter-spacing: -.015em; text-align: center; }
.home-impact p > span { display: inline-block; animation: home-impact-reveal .75s cubic-bezier(.22,.75,.25,1) both; }
.home-impact em { position: relative; color: var(--tomato); font-weight: 400; white-space: nowrap; }
.home-impact em { display: inline-block; animation: home-impact-reveal .75s .48s cubic-bezier(.22,.75,.25,1) both; }
.home-impact em::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: -5px; height: 1px; background: var(--tomato); transform-origin: left; animation: home-impact-accent .8s .55s ease-out both; }
.home-impact > i { height: 1px; background: linear-gradient(90deg, transparent, var(--sage)); transform-origin: right; animation: home-impact-line .8s .25s ease-out both; }
.home-impact > i:last-child { background: linear-gradient(90deg, var(--sage), transparent); transform-origin: left; }
@keyframes home-impact-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes home-impact-line { from { opacity: 0; transform: scaleX(0); } to { opacity: .7; transform: scaleX(1); } }
@keyframes home-impact-accent { from { opacity: 0; transform: scaleX(0); } to { opacity: .65; transform: scaleX(1); } }

.home-hero { max-width: 1320px; min-height: 610px; margin: auto; padding: 54px 36px 70px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; }
.home-hero-image { position: relative; height: 525px; }
.home-hero-image::after { content: ""; position: absolute; inset: -13px 18px 13px -13px; z-index: -1; border: 1px solid var(--sage); }
.home-hero-image img { object-fit: cover; }
.home-hero-label { position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; background: rgba(255,253,248,.93); font: italic 13px var(--serif); }
.home-hero-image .featured-tag-label { top: auto; bottom: 18px; left: 18px; padding: 7.2px 10.8px; font-size: 9.6px; }
.home-hero-copy .title-pair { font-size: clamp(52px, 5.4vw, 76px); }
.home-hero-copy > p { max-width: 520px; color: var(--muted); font-size: 16px; }
.hero-facts { margin: 28px 0; padding: 19px 0; display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-facts > span { min-width: 125px; padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.hero-facts > span:last-child { border: 0; }
.hero-facts small { display: block; color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.page-section { max-width: 1248px; margin: 0 auto; padding: 88px 28px; }
.editorial-heading { margin-bottom: 40px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.editorial-heading h2 { margin: 6px 0 0; font: 43px/1.1 var(--serif); }
.editorial-heading > a, .editorial-heading > span { color: var(--tomato); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.editorial-heading > a.button { color: white; }
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 25px; }
.recipe-card { min-width: 0; }
.card-image { position: relative; height: 280px; display: block; overflow: hidden; background: var(--cream); }
.card-image img { object-fit: cover; transition: transform .5s ease; }
.recipe-card:hover .card-image img { transform: scale(1.025); }
.card-badge { position: absolute; left: 13px; top: 13px; padding: 6px 9px; color: white; background: var(--tomato); font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.recipe-rating-badge { position: absolute; z-index: 2; top: 13px; right: 13px; min-height: 30px; padding: 5px 9px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); border: 1px solid rgba(67,82,70,.14); border-radius: 999px; background: rgba(255,253,248,.94); box-shadow: 0 5px 16px rgba(31,42,34,.12); font-family: var(--rounded); line-height: 1; backdrop-filter: blur(6px); }
.rating-stars { display: inline-flex; align-items: center; gap: 1px; white-space: nowrap; }
.rating-stars i { color: transparent; background: linear-gradient(90deg, #e09a32 var(--star-fill), #c8c3b8 var(--star-fill)); background-clip: text; -webkit-background-clip: text; font-size: 14px; font-style: normal; line-height: 1; }
.recipe-rating-badge strong { font-size: 12px; }
.recipe-rating-badge small { color: var(--muted); font-size: 8px; }
.home-hero-image .recipe-rating-badge { top: 18px; right: 18px; }
.quick-rating-fact strong { display: flex; align-items: center; gap: 7px; margin-top: 3px; }
:root[data-theme="dark"] .recipe-rating-badge { color: white; border-color: rgba(255,255,255,.14); background: rgba(23,32,27,.93); }
.card-copy { padding-top: 19px; }
.card-copy .title-pair { margin: 5px 0 14px; font-size: 28px; }
.card-copy p { color: var(--muted); font-size: 13px; }
.card-meta { padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); border-top: 1px solid var(--line); font-size: 10px; }
.card-meta .card-total-price { color: var(--tomato); font-weight: 700; }
.category-band { padding: 88px max(5vw, 28px); color: white; background: var(--ink); }
.category-band .editorial-heading { max-width: 1192px; margin-left: auto; margin-right: auto; }
.category-band h2 { color: white; }
.category-band .eyebrow { color: #e7a68e; }
.category-links { max-width: 1192px; margin: auto; padding-bottom: 12px; display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: calc((100% - 2px) / 3); overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #e7a68e #3b4840; scrollbar-width: thin; scroll-snap-type: x proximity; }
.category-links a { padding: 23px 18px; display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 13px; border-top: 1px solid #526057; }
.category-links a { scroll-snap-align: start; }
.category-links a:nth-child(-n+3) { border-top-color: #859087; }
.category-links a:hover { background: #303d35; }
.category-links b { color: #e7a68e; font: italic 16px var(--serif); }
.category-links span { font: 20px var(--serif); }
.category-links i { color: #e7a68e; }
.ad-slot { max-width: 1192px; min-height: 110px; margin: 28px auto; display: grid; place-items: center; color: #9a958d; border: 1px dashed #cfc8bb; background: #faf7f0; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.ingredient-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ingredient-mini-grid > a { min-height: 170px; padding: 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: .2s; }
.ingredient-mini-grid > a:hover { background: var(--cream); }
.ingredient-mini-grid span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.ingredient-mini-grid strong { margin: 7px 0 auto; font: 23px var(--serif); }
.ingredient-mini-grid b { font-size: 15px; }
.ingredient-mini-grid b small { color: var(--muted); font-weight: 400; }
.ingredient-mini-grid em { margin-top: 3px; font-size: 10px; font-style: normal; font-weight: 700; }
.ingredient-carousel { overflow: hidden; }
.ingredient-carousel-track { display: flex; transition: transform .55s cubic-bezier(.22,.75,.25,1); }
.ingredient-carousel-slide { min-width: 100%; }
.ingredient-carousel-controls { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.ingredient-carousel-controls > button { width: 38px; height: 38px; display: grid; place-items: center; color: var(--tomato); border: 1px solid var(--line); border-radius: 50%; background: var(--paper); transition: .2s; }
.ingredient-carousel-controls > button:hover { color: white; border-color: var(--tomato); background: var(--tomato); }
.ingredient-carousel-dots { display: flex; align-items: center; gap: 7px; }
.ingredient-carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line); transition: .2s; }
.ingredient-carousel-dots button[aria-current="true"] { width: 24px; border-radius: 999px; background: var(--tomato); }
.up { color: var(--tomato); }
.down { color: #56704f; }
.newsletter { padding: 95px 25px; text-align: center; background: var(--cream); border-top: 1px solid var(--line); }
.newsletter h2 { margin: 10px 0 18px; font: 50px/1.08 var(--serif); }
.newsletter h2 em { color: var(--tomato); font-weight: 400; }
.newsletter p { max-width: 580px; margin: 0 auto 25px; color: var(--muted); font-size: 13px; }

.listing-page { max-width: 1248px; min-height: 70vh; margin: auto; padding: 76px 28px 110px; }
.page-intro { max-width: 700px; margin-bottom: 48px; }
.page-intro h1, .ingredient-detail-header h1 { margin: 9px 0 18px; font: 62px/1.05 var(--serif); }
.page-intro h1 em { color: var(--tomato); font-weight: 400; }
.page-intro p { color: var(--muted); font-size: 16px; }
.filters { margin-bottom: 34px; padding: 22px; display: grid; grid-template-columns: 1.35fr repeat(4, 1fr) auto auto; align-items: end; gap: 13px; background: var(--cream); border: 1px solid var(--line); }
.recipe-filters { grid-template-columns: 1.35fr repeat(6, minmax(105px, 1fr)) auto auto; }
.js .recipe-filters button { display: none; }
.ingredient-filters { grid-template-columns: 1.5fr 1fr .85fr auto; }
.filters label span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.filters input, .filters select { width: 100%; height: 43px; padding: 0 10px; border: 1px solid var(--line); color: var(--ink); background: white; }
.filters > a { min-height: 43px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--tomato); border: 1px solid var(--tomato); background: var(--paper); font-size: 10px; font-weight: 700; text-align: center; text-transform: uppercase; transition: .2s; }
.filters > a:hover { color: white; background: var(--tomato); }
.results-line { margin-bottom: 25px; color: var(--muted); font-size: 12px; }
.live-recipe-results.loading { opacity: .62; transition: opacity .15s; }
.results-line strong { color: var(--ink); }
.empty-state { padding: 65px; text-align: center; background: var(--cream); }
.empty-state h2 { font: 32px var(--serif); }
.listing-pagination { width: 100%; margin: 46px auto 0; padding-top: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; border-top: 1px solid var(--line); text-align: center; }
.pagination-summary { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pagination-summary strong { color: var(--ink); font-size: 13px; }
.pagination-controls { width: 100%; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination-direction { min-width: 112px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--tomato); border: 1px solid var(--tomato); border-radius: 10px; background: var(--paper); box-shadow: 0 5px 14px rgb(37 49 41 / .06); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: .2s; }
.pagination-direction:hover { color: white; border-color: var(--tomato); background: var(--tomato); transform: translateY(-1px); }
.pagination-direction.disabled { color: var(--muted); border-color: var(--line); background: var(--cream); box-shadow: none; opacity: .5; }
.pagination-pages { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; }
.pagination-pages a { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 5px 14px rgb(37 49 41 / .06); font-size: 12px; font-weight: 800; transition: .2s; }
.pagination-pages a:hover { color: var(--tomato); border-color: var(--tomato); transform: translateY(-1px); }
.pagination-pages a.active { color: white; border-color: var(--tomato); background: var(--tomato); box-shadow: 0 7px 18px rgb(191 77 50 / .24); }
.pagination-pages i { min-width: 22px; color: var(--muted); font-style: normal; }
.admin-table > .listing-pagination { margin-top: 0; padding: 16px 20px; }

.recipe-hero { max-width: 1320px; margin: auto; padding: 55px 36px 46px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.recipe-hero-copy .title-pair { font-size: clamp(52px, 5vw, 70px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; color: var(--muted); font-size: 10px; }
.breadcrumbs a:hover { color: var(--tomato); }
.recipe-summary { max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.publication-meta { margin-top: 28px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
.recipe-hero-image { position: relative; height: 545px; margin: 0; }
.recipe-hero-image::before { content: ""; position: absolute; inset: -13px 20px 13px -13px; z-index: -1; border: 1px solid var(--sage); }
.recipe-hero-image img { object-fit: cover; }
.quick-facts { max-width: 1248px; margin: auto; padding: 18px 20px; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--cream); border-block: 1px solid #e4dcca; }
.quick-facts > div, .cost-trigger { min-height: 53px; padding: 5px 20px; display: flex; align-items: center; gap: 13px; border: 0; border-right: 1px solid #d8cfbf; color: var(--ink); background: transparent; text-align: left; }
.quick-facts > :last-child { border-right: 0; }
.fact-icon { color: var(--tomato); font: 21px var(--serif); line-height: 1; }
.quick-facts small, .quick-facts strong { display: block; }
.quick-facts small { color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.quick-facts strong { font-size: 12px; }
.cost-more { margin-left: auto; color: var(--tomato); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.recipe-layout { max-width: 1170px; margin: 80px auto 110px; padding: 0 36px; display: grid; grid-template-columns: minmax(0, 1fr) 315px; gap: 85px; }
.recipe-story { padding-bottom: 68px; display: grid; grid-template-columns: 65px 1fr; }
.recipe-story > span { color: var(--tomato); font: italic 34px var(--serif); opacity: .55; }
.recipe-story p { color: var(--muted); font-size: 13px; }
.recipe-story .lead { color: var(--ink); font: 25px/1.45 var(--serif); }
.recipe-section { padding: 62px 0; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.section-heading { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 6px 0 0; font: 40px/1.1 var(--serif); }
.section-heading > span { color: var(--muted); font-size: 10px; }
.servings { padding: 6px 9px 6px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 99px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.servings button { width: 28px; height: 28px; border: 0; border-radius: 50%; color: var(--tomato); background: var(--cream); }
.servings strong { min-width: 15px; color: var(--tomato); text-align: center; }
.ingredient-group { margin-bottom: 34px; }
.ingredient-group h3 { padding-bottom: 10px; border-bottom: 1px solid var(--line); font: italic 19px var(--serif); }
.ingredient-row { padding: 9px 0; display: grid; grid-template-columns: 19px minmax(0, 1fr) auto; align-items: start; gap: 13px; color: var(--ink); font-size: 14px; }
.ingredient-row label { cursor: pointer; }
.ingredient-group input { appearance: none; width: 19px; height: 19px; flex: 0 0 19px; margin-top: 1px; border: 1px solid #b9b6aa; border-radius: 50%; }
.ingredient-group input:checked { background: var(--sage); border: 4px solid var(--paper); outline: 1px solid var(--sage); }
.ingredient-group input:checked + label { color: #92978f; text-decoration: line-through; }
.ingredient-group small { color: var(--muted); }
.ingredient-link { padding: 2px 0; color: var(--tomato); border: 0; background: transparent; font-size: 9px; font-weight: 700; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ingredient-link strong { font-size: 11px; }
.ingredients-total { margin: 8px 0 34px; padding-top: 16px; display: flex; justify-content: space-between; border-top: 2px solid var(--ink); }
.ingredients-total span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.ingredients-total strong { color: var(--tomato); font: 24px var(--serif); }
.cook-note { position: relative; margin-top: 25px; padding: 28px 34px 27px 76px; background: var(--cream); border-left: 3px solid var(--tomato); }
.cook-note::before { content: "“"; position: absolute; left: 24px; top: 8px; color: var(--tomato); font: 60px var(--serif); }
.cook-note span { color: var(--tomato); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.cook-note p { margin: 5px 0 0; font: italic 16px/1.55 var(--serif); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding-bottom: 36px; display: grid; grid-template-columns: 47px 1fr; gap: 21px; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; border-left: 1px dashed #cfc8bb; }
.step-check { z-index: 1; width: 47px; height: 47px; border: 1px solid var(--sage); border-radius: 50%; color: var(--tomato); background: var(--paper); font: 18px var(--serif); }
.steps li.done .step-check { color: white; background: var(--sage); }
.steps li.done > div { opacity: .48; }
.steps h3 { margin: 2px 0 6px; font: 20px var(--serif); }
.steps p { margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.steps div > span { color: var(--tomato); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.recipe-sidebar { padding-top: 25px; }
.nutrition-card { position: sticky; top: 100px; padding: 29px; color: white; background: var(--ink); }
.nutrition-modern { isolation: isolate; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background:
  linear-gradient(145deg, #34473c, #1d2a22 66%, #18221c);
  box-shadow: 0 24px 60px rgba(21,34,26,.2);
  font-family: var(--rounded);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.nutrition-modern > :not(.nutrition-orb) { position: relative; z-index: 1; }
.nutrition-orb { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(2px); opacity: .36; }
.nutrition-orb-one { width: 115px; height: 115px; right: -48px; top: 17%; background: radial-gradient(circle at 35% 35%, #f3b08f, #b84a30 55%, transparent 72%); animation: nutrition-float 5.5s ease-in-out infinite; }
.nutrition-orb-two { width: 82px; height: 82px; left: -34px; bottom: 15%; background: radial-gradient(circle at 65% 35%, #aaba96, #526b57 58%, transparent 72%); animation: nutrition-float 7s ease-in-out -2s infinite reverse; }
@keyframes nutrition-float { 0%, 100% { transform: translate3d(0, -5px, 0) scale(.96); } 50% { transform: translate3d(-8px, 9px, 0) scale(1.06); } }
.nutrition-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nutrition-topline b { padding: 5px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 9px; letter-spacing: .04em; }
.nutrition-card .eyebrow { color: #e7a68e; }
.nutrition-card h2 { margin: 10px 0 7px; font: 700 27px/1.12 var(--rounded); letter-spacing: -.025em; }
.nutrition-card > p { color: #c8d0c9; font-size: 11px; }
.calories { padding: 20px 0; display: flex; align-items: center; gap: 10px; border-block: 1px solid #536058; }
.calories > strong { font: 700 52px/1 var(--rounded); letter-spacing: -.05em; }
.calories > span, .calories small { display: block; }
.calories > span { font-size: 11px; }
.calories small { color: #bfc8c1; font-size: 8px; }
.macro { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 10px; }
.macro i { grid-column: 1/-1; height: 3px; background: #536058; }
.macro i::after { content: ""; display: block; width: var(--fill); height: 100%; background: #e7a68e; }
.nutrition-total { margin: 14px 0 2px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 13px; background: rgba(255,255,255,.075); }
.nutrition-total span { max-width: 145px; color: #c8d0c9; font-size: 9px; line-height: 1.35; }
.nutrition-total strong { font: 700 14px var(--rounded); white-space: nowrap; }
.micro { margin: 22px 0; padding: 14px 0; display: flex; justify-content: space-between; color: #c8d0c9; border-block: 1px solid #536058; font-size: 9px; }
.micro b { display: block; color: white; font-size: 11px; }
.disclaimer { display: block; color: #a9b3ac; font-size: 8px; line-height: 1.5; }
.nutrition-card > a { display: inline-block; margin-top: 16px; color: #f0b199; font-size: 9px; text-decoration: underline; }
.save-recipe-button { width: 100%; min-height: 48px; margin-top: 14px; padding: 11px 18px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--tomato); border: 1px solid var(--tomato); border-radius: 999px; background: var(--paper); font: 700 10px var(--rounded); letter-spacing: .06em; text-transform: uppercase; transition: .2s; }
.save-recipe-icon { flex: 0 0 auto; font-size: 24px; line-height: 1; }
.save-recipe-button:hover, .save-recipe-button.saved { color: white; background: var(--tomato); }
.save-recipe-button:disabled { cursor: wait; opacity: .7; }
.save-recipe-control > small { margin-top: 7px; display: block; color: var(--tomato); font-size: 9px; text-align: center; }
.related { border-top: 1px solid var(--line); }

.cost-dialog { width: min(680px, calc(100% - 28px)); max-height: 90vh; padding: 0; color: var(--ink); border: 0; background: transparent; }
.cost-dialog::backdrop { background: rgba(26, 34, 29, .72); backdrop-filter: blur(3px); }
.dialog-panel { position: relative; padding: 42px; overflow: auto; background: var(--paper); border-top: 4px solid var(--tomato); }
.dialog-close { position: absolute; right: 18px; top: 15px; width: 38px; height: 38px; color: var(--muted); border: 0; background: transparent; font-size: 27px; }
.dialog-panel h2 { margin: 7px 0 8px; font: 38px var(--serif); }
.dialog-panel > p { color: var(--muted); font-size: 12px; }
.cost-summary { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 8px; border: 1px solid var(--line); }
.cost-summary > div { padding: 17px 20px; }
.cost-summary > div + div { border-left: 1px solid var(--line); }
.cost-summary small, .cost-summary strong { display: block; }
.cost-summary small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.cost-summary strong { font: 27px var(--serif); }
.dialog-panel > a { color: var(--tomato); font-size: 10px; font-weight: 700; text-transform: uppercase; text-decoration: underline; }
.modal-reference-price { margin: 20px 0; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 18px; border: 1px solid var(--line); background: var(--cream); }
.modal-reference-price span, .modal-reference-price small { color: var(--muted); font-size: 10px; }
.modal-reference-price span b { color: var(--ink); }
.modal-reference-price strong { grid-row: span 2; color: var(--tomato); font: 29px var(--serif); }
.modal-reference-price small { grid-column: 1; }
.ingredient-modal-chart { margin: 25px 0 18px; }
.ingredient-modal-chart > .eyebrow { display: block; margin-bottom: 4px; }
.ingredient-modal-chart .price-chart { height: 275px; }
.price-chart { width: 100%; height: 360px; }
.chart-year-filter { height: 34px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.chart-year-filter select { padding: 5px 24px 5px 8px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); }
.price-chart .price-chart-scroll { height: calc(100% - 34px); }
.price-chart.compact { height: 245px; }
.price-chart-scroll { width: 100%; height: 100%; }
.price-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart-scroll-hint { display: none; }
.price-disclaimer { color: var(--muted); font-size: 10px !important; line-height: 1.55; }

.ingredient-table-head, .ingredient-list > a { display: grid; grid-template-columns: 2fr 1.25fr .8fr .9fr; align-items: center; gap: 18px; }
.ingredient-table-head { padding: 0 22px 9px; color: var(--muted); border-bottom: 1px solid var(--ink); font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ingredient-list > a { min-height: 94px; padding: 15px 22px; border-bottom: 1px solid var(--line); transition: .2s; }
.ingredient-list > a:hover { background: var(--cream); }
.ingredient-list small, .ingredient-list strong { display: block; }
.ingredient-reference-price b { display: inline-block; margin-right: 9px; color: var(--tomato); font: 21px var(--serif); }
.ingredient-list small { color: var(--muted); font-size: 9px; }
.ingredient-list em { font-size: 11px; font-style: normal; font-weight: 700; }
.ingredient-list > a > span:last-child { font-size: 11px; }
.ingredient-list > a > span:last-child b { margin-left: 10px; color: var(--tomato); }
.ingredient-identity { display: flex; align-items: center; gap: 14px; }
.ingredient-identity i { width: 45px; height: 45px; display: grid; place-items: center; color: white; background: var(--sage); border-radius: 50% 50% 50% 10%; font: italic 20px var(--serif); }
.ingredient-identity strong { font: 21px var(--serif); }
.data-note { margin-top: 20px; color: var(--muted); font-size: 9px; }
.ingredient-page { max-width: 1192px; margin: auto; padding: 65px 28px 75px; }
.ingredient-detail-header { padding-bottom: 55px; display: grid; grid-template-columns: 1fr 330px; gap: 65px; align-items: end; }
.ingredient-detail-header p { max-width: 650px; color: var(--muted); }
.current-price { padding: 22px 25px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--cream); }
.current-price > span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.current-price > b { margin-top: 5px; color: var(--tomato); font: 25px var(--serif); }
.current-price strong { font: 38px var(--serif); }
.current-price small { color: var(--muted); font-size: 10px; }
.current-price em { margin-top: 9px; font-size: 10px; font-style: normal; font-weight: 700; }

.ingredient-nutrition { position: relative; margin: 0 0 42px; padding: 32px; display: grid; grid-template-columns: 240px 1fr; gap: 25px 45px; color: var(--ink); }
.ingredient-nutrition h2 { margin: 7px 0 5px; color: inherit; font: 700 28px/1.12 var(--rounded); letter-spacing: -.025em; }
.ingredient-nutrition p { color: var(--muted); font: 700 11px var(--rounded); }
.ingredient-nutrition .eyebrow { color: var(--tomato); }
.ingredient-nutrition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ingredient-nutrition-grid span { padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.28); }
.ingredient-nutrition-grid strong, .ingredient-nutrition-grid small { display: block; }
.ingredient-nutrition-grid strong { font: 700 19px var(--rounded); letter-spacing: -.02em; }
.ingredient-nutrition-grid small { margin-top: 3px; color: var(--muted); font: 9px var(--rounded); }
.nutrition-source { grid-column: 1/-1; color: var(--muted); font: 8px/1.5 var(--rounded); }
.ingredient-nutrition.compact { margin: 18px 0; padding: 20px; grid-template-columns: 1fr; gap: 14px; }
.ingredient-nutrition.compact h2 { font-size: 23px; }
.modal-reference-price { margin: 18px 0 6px; padding: 17px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--line); background: var(--cream); }
.modal-reference-price span, .modal-reference-price small { color: var(--muted); font-size: 10px; }
.modal-reference-price strong { grid-row: span 2; font: 29px var(--serif); }
.ingredient-dialog .dialog-panel { max-height: 90vh; }

.account-page { max-width: 1248px; min-height: 70vh; margin: auto; padding: 76px 28px 110px; }
.account-page > .page-intro { margin-left: auto; margin-right: auto; text-align: center; }
.auth-card, .auth-unavailable { max-width: 520px; padding: 34px; border: 1px solid var(--line); background: var(--cream); }
.account-page .auth-card, .account-page .auth-unavailable, .account-page .verification-gate { margin-left: auto; margin-right: auto; }
.google-login { width: 100%; padding: 13px 20px; display: flex; align-items: center; justify-content: center; gap: 11px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); font-weight: 700; }
.google-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.auth-divider { margin: 22px 0; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-card form { display: grid; gap: 14px; }
.auth-confirmed { margin-bottom: 20px; padding: 15px 17px; color: #395f33; border-left: 3px solid #6f9367; background: #edf3e9; }
.auth-confirmed strong { display: block; font-size: 12px; }
.auth-confirmed p { margin: 3px 0 0; font-size: 10px; }
.auth-card label span, .review-form label span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.auth-card input, .review-form input, .review-form select, .review-form textarea { width: 100%; padding: 11px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); }
.auth-card [data-date-format-hint], .profile-form [data-date-format-hint] { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.auth-switch { margin-top: 18px; padding: 0; color: var(--tomato); border: 0; background: transparent; text-decoration: underline; }
.auth-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.auth-actions button, .verification-note button { padding: 0; color: var(--tomato); border: 0; background: transparent; font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin: 0; color: var(--tomato); font-size: 11px; }
.activation-page { display: grid; place-items: start center; }
.activation-card { width: min(660px, 100%); padding: clamp(28px, 5vw, 52px); text-align: center; border: 1px solid var(--line); border-radius: 24px; background: var(--cream); box-shadow: 0 28px 75px rgb(37 49 41 / .09); }
.activation-icon { width: 76px; height: 76px; margin: 0 auto 22px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--tomato); font: 34px var(--serif); box-shadow: 0 12px 28px color-mix(in srgb, var(--tomato) 25%, transparent); }
.activation-card h1 { margin: 7px auto 14px; max-width: 590px; font: clamp(31px, 5vw, 48px)/1.08 var(--serif); }
.activation-card > p { max-width: 530px; margin: 0 auto; color: var(--muted); line-height: 1.6; }
.activation-email { color: var(--ink); overflow-wrap: anywhere; }
.activation-warning { margin: 28px 0 22px; padding: 20px 22px; text-align: left; color: #713c29; border: 1px solid #e8b9a7; border-left: 4px solid var(--tomato); border-radius: 12px; background: #fae9e2; }
.activation-warning strong { display: block; margin-bottom: 5px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.activation-warning p { margin: 0; font-size: 12px; line-height: 1.6; }
.activation-steps { margin: 0 0 27px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; counter-reset: activation-step; text-align: left; }
.activation-steps li { min-height: 112px; padding: 15px; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 10px; line-height: 1.5; counter-increment: activation-step; }
.activation-steps li::before { content: counter(activation-step); width: 24px; height: 24px; margin-bottom: 10px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--sage); font-size: 10px; font-weight: 800; }
.activation-lock { margin-bottom: 24px !important; padding: 13px 16px; color: var(--tomato) !important; border-radius: 10px; background: var(--paper); font-size: 11px; font-weight: 800; }
.activation-card > .button, .activation-card > .button-secondary { width: min(310px, 100%); margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.activation-dev-link { margin-bottom: 10px !important; }
.user-profile { padding: 30px; display: flex; align-items: flex-start; gap: 20px; border: 1px solid var(--line); background: var(--cream); }
.user-profile .button { margin-left: auto; }
.user-profile-copy { min-width: 0; flex: 1; }
.user-avatar { width: 64px; height: 64px; overflow: hidden; display: grid; place-items: center; color: white; background: var(--sage); border-radius: 50%; font: 25px var(--serif); }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.verification-note { max-width: 520px; margin: 15px 0; padding: 15px; border-left: 3px solid var(--tomato); background: var(--paper); }
.verification-note > p { margin: 3px 0 10px; color: var(--muted); font-size: 11px; }
.verification-note > div { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.profile-dashboard { display: grid; gap: 60px; }
.profile-card { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--cream); }
.profile-heading { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.profile-heading h2 { margin: 3px 0 0; font: 32px/1.1 var(--serif); }
.profile-heading p { margin: 4px 0 0; color: var(--muted); font: 700 12px var(--rounded); }
.profile-avatar { width: 76px; height: 76px; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; flex: 0 0 76px; border-radius: 50%; color: white; background: var(--sage); font: 700 28px var(--rounded); }
.profile-avatar img { width: 100%; height: 100%; display: block; border-radius: inherit; object-fit: cover; object-position: center; }
.profile-signout { padding: 8px 0; color: var(--tomato); border: 0; background: transparent; font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.profile-form { margin-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.profile-form label > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.profile-photo-field > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.profile-form input { width: 100%; min-height: 45px; padding: 10px 12px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.profile-photo-field small { display: block; margin-top: 5px; }
.remove-photo-option { margin-top: 10px; display: flex !important; align-items: center; gap: 8px; }
.remove-photo-option input { width: 17px !important; min-height: 17px !important; padding: 0; flex: 0 0 17px; }
.remove-photo-option span { margin: 0 !important; color: var(--tomato) !important; font-size: 10px !important; letter-spacing: 0 !important; text-transform: none !important; }
.avatar-crop-dialog { width: min(520px, calc(100% - 28px)); max-height: 94vh; padding: 0; overflow: visible; color: var(--ink); border: 0; border-radius: 20px; background: transparent; }
.avatar-crop-dialog::backdrop { background: rgb(20 27 23 / .78); backdrop-filter: blur(4px); }
.avatar-crop-panel { position: relative; max-height: 94vh; padding: 30px; overflow-y: auto; border-top: 4px solid var(--tomato); border-radius: 18px; background: var(--paper); box-shadow: 0 28px 80px rgb(0 0 0 / .28); }
.avatar-crop-panel h2 { margin: 5px 0 7px; font: 34px/1.1 var(--serif); }
.avatar-crop-panel > p { margin: 0 auto 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.avatar-crop-stage { position: relative; width: min(320px, 100%); aspect-ratio: 1; margin: 0 auto; overflow: hidden; background: #17201b; cursor: grab; touch-action: none; user-select: none; }
.avatar-crop-stage.dragging { cursor: grabbing; }
.avatar-crop-stage canvas { width: 100%; height: 100%; display: block; }
.avatar-crop-mask { position: absolute; inset: 2px; border: 2px solid rgb(255 255 255 / .92); border-radius: 50%; box-shadow: 0 0 0 999px rgb(16 22 18 / .56); pointer-events: none; }
.avatar-zoom { max-width: 320px; margin: 20px auto 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.avatar-zoom span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.avatar-zoom input { width: 100%; accent-color: var(--tomato); }
.avatar-crop-actions { max-width: 320px; margin: 22px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.avatar-crop-actions button { min-height: 44px; }
.profile-form .button, .profile-form .form-status { align-self: end; }
.username-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.username-input i { padding-left: 12px; color: var(--muted); font-style: normal; }
.username-input input { border: 0; background: transparent; }
.username-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ink) 12%, transparent); }
.username-input.username-available { border-color: #2f7d4b; }
.username-input.username-taken, .username-input.username-invalid, .username-input.username-error { border-color: #b42318; }
.username-indicator { min-width: 34px; padding-right: 10px; text-align: center; font-size: 20px; font-weight: 800; }
.username-input.username-available .username-indicator, .username-status.username-available { color: #2f7d4b; }
.username-input.username-taken .username-indicator, .username-input.username-invalid .username-indicator, .username-input.username-error .username-indicator,
.username-status.username-taken, .username-status.username-invalid, .username-status.username-error { color: #b42318; }
.username-status { display: block; min-height: 18px; margin-top: 5px; }
.username-status button { padding: 0; color: inherit; border: 0; background: transparent; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.auth-card select, .profile-form select { width: 100%; min-height: 45px; padding: 10px 12px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.legal-consent { grid-column: 1 / -1; display: grid !important; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.legal-consent input { width: 18px !important; min-height: 18px !important; margin-top: 2px; }
.legal-consent > span { margin: 0 !important; font-size: 11px !important; line-height: 1.55; letter-spacing: 0 !important; text-transform: none !important; }
.legal-consent a { color: var(--tomato); font-weight: 800; text-decoration: underline; }
.profile-required { border-color: var(--tomato); box-shadow: 0 14px 40px rgb(172 65 47 / .08); }
.user-comments { display: grid; gap: 12px; }
.user-comments > article { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.user-comments > article > div:first-child { display: flex; justify-content: space-between; gap: 14px; }
.user-comments a { color: var(--ink); font-weight: 800; }
.user-comments p { margin: 10px 0; }
.user-comments small { color: var(--muted); }
.user-comments .review-stars { display: inline-flex; align-items: center; gap: 7px; }
.user-comments .review-stars small { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0; }
.user-comment-photo { width: min(280px, 100%); aspect-ratio: 4 / 3; margin-top: 12px; display: block; object-fit: cover; border-radius: 10px; }
.account-collection { min-width: 0; scroll-margin-top: 28px; }
.account-collection.loading { opacity: .62; transition: opacity .15s; }
.account-filters { margin: -12px 0 26px; padding: 16px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(180px, .55fr) auto auto; align-items: end; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.account-filters-comments { grid-template-columns: minmax(220px, 340px) auto; justify-content: start; }
.js .account-filters { grid-template-columns: 1.3fr repeat(3, minmax(120px, .7fr)); }
.js .account-filters-comments { grid-template-columns: minmax(220px, 340px); }
.js .account-filters .button { display: none; }
.account-filters label span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.account-filters input, .account-filters select { width: 100%; min-height: 43px; padding: 9px 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.account-filters .button { min-height: 43px; }
.account-filters > a { min-height: 43px; display: inline-flex; align-items: center; color: var(--tomato); font-size: 10px; font-weight: 800; text-decoration: underline; }
.account-pagination { margin-top: 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.account-pagination a { color: var(--tomato); font-size: 11px; font-weight: 800; }
.account-pagination a:last-child { justify-self: end; }
.account-pagination b { color: var(--muted); font-size: 10px; }
.username-input input[readonly] { cursor: not-allowed; color: var(--muted); background: color-mix(in srgb, var(--line) 18%, transparent); }
.saved-recipes .editorial-heading { margin-bottom: 24px; }
.saved-recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.saved-recipe-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.saved-recipe-grid article > a { display: block; }
.saved-recipe-grid img { width: 100%; height: 155px; display: block; object-fit: cover; }
.saved-recipe-grid article span { min-height: 80px; padding: 15px 16px 9px; display: block; font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.saved-recipe-grid article strong, .saved-recipe-grid article em { display: block; }
.saved-recipe-grid article em { color: var(--tomato); font-style: normal; font-weight: 400; }
.saved-recipe-grid article button { margin: 0 16px 14px; padding: 0; color: var(--muted); border: 0; background: transparent; font-size: 9px; text-decoration: underline; }
.saved-empty { padding: 34px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; background: var(--cream); }
.saved-empty p { margin-bottom: 8px; color: var(--muted); }
.saved-empty a { color: var(--tomato); font-size: 11px; font-weight: 700; }

.reviews-section { max-width: 1192px; margin: 0 auto; padding: 75px 28px; border-top: 1px solid var(--line); }
.reviews-heading { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.reviews-heading h2 { margin: 6px 0 0; font: 43px/1.1 var(--serif); }
.rating-summary { min-width: 205px; padding: 13px 17px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--cream); }
.rating-summary > strong { font: 700 34px/1 var(--rounded); }
.rating-summary span, .rating-summary small { display: block; }
.rating-summary b { color: var(--tomato); letter-spacing: .06em; }
.rating-summary small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.reviews-carousel { padding-bottom: 18px; display: grid; gap: 20px; }
.review-card { min-width: 0; display: grid; grid-template-columns: minmax(220px, 29%) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--cream); }
.review-card.no-photo { grid-template-columns: 1fr; }
.review-card > img { width: 100%; height: 220px; display: block; object-fit: cover; }
.review-copy { min-width: 0; padding: 17px 20px; display: flex; flex: 1; flex-direction: column; }
.review-comment-header { min-width: 0; min-height: 28px; display: flex; align-items: center; gap: 8px 13px; }
.review-comment-header > strong { min-width: 0; flex: 0 1 auto; overflow-wrap: anywhere; font-size: 14px; }
.review-comment-header > button { margin-left: auto; padding: 3px 0; flex: 0 0 auto; color: var(--tomato); border: 0; background: transparent; font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.review-comment-header > button:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.review-score-line { min-height: 25px; display: flex; align-items: center; flex-wrap: nowrap; gap: 7px 10px; }
.review-score-line small { color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.2; }
.review-copy > p { margin: 7px 0; white-space: pre-line; overflow-wrap: anywhere; font: 14px/1.5 var(--sans); }
.review-comment-dates { min-height: 18px; display: flex; align-items: center; justify-content: flex-start; }
.review-author { padding-top: 5px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.review-author strong { font-size: 13px; }
.comment-times { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); font-size: 9px; font-weight: 600; }
.comment-times .edited { color: var(--tomato); }
.review-author button { padding: 3px 0; color: var(--tomato); border: 0; background: transparent; font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.review-author button:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.review-stars { color: var(--tomato); font-size: 21px; line-height: 1; letter-spacing: .08em; }
.review-conversation { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.review-card > .review-conversation { grid-column: 1 / -1; width: 100%; margin-top: 0; padding: 13px 20px 17px; background: color-mix(in srgb, var(--paper) 62%, var(--cream)); }
.thread-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.thread-actions > button { padding: 4px 0; color: var(--muted); border: 0; background: transparent; font-size: 10px; font-weight: 800; }
.thread-actions > button:hover { color: var(--tomato); }
.review-card > .review-conversation > .review-main-actions { gap: 8px; }
.review-card > .review-conversation > .review-main-actions > button { min-height: 35px; padding: 8px 13px; color: var(--sage); border: 1px solid color-mix(in srgb, var(--sage) 35%, var(--line)); border-radius: 10px; background: var(--paper); box-shadow: 0 3px 10px rgb(37 49 41 / .07); font-size: 11px; text-decoration: none; transition: color .15s, border-color .15s, background .15s, transform .15s; }
.review-card > .review-conversation > .review-main-actions > button:hover { color: var(--tomato); border-color: var(--tomato); background: color-mix(in srgb, var(--tomato) 7%, var(--paper)); transform: translateY(-1px); }
.review-card > .review-conversation > .review-main-actions > .thread-like.liked { color: var(--tomato); border-color: color-mix(in srgb, var(--tomato) 55%, var(--line)); background: color-mix(in srgb, var(--tomato) 9%, var(--paper)); }
.review-card > .review-conversation > .review-main-actions > [data-comment-delete] { color: #a34332; border-color: color-mix(in srgb, #a34332 32%, var(--line)); }
.thread-actions .thread-like { display: inline-flex; align-items: center; gap: 4px; }
.thread-like span { color: #aaa39a; font-size: 16px; transition: color .15s, transform .15s; }
.thread-like.liked span { color: var(--tomato); transform: scale(1.08); }
.thread-like b { font: inherit; }
.thread-like small, .thread-like-count { color: var(--muted); font-size: 9px; }
.review-reply-children:empty { display: none; }
.root-replies { margin-top: 9px; }
.review-reply { min-width: 0; margin-top: 7px; }
.review-reply.is-nested-reply { width: calc(100% - 16px); margin-left: 16px; }
.review-reply.is-nested-reply .review-reply-copy { border-left: 2px solid var(--tomato); }
.review-reply-main { min-width: 0; display: grid; grid-template-columns: 31px minmax(0,1fr); align-items: start; gap: 8px; }
.thread-avatar { width: 31px; height: 31px; display: grid; place-items: center; overflow: hidden; color: white; border-radius: 50%; background: var(--sage); font-size: 11px; font-weight: 800; }
.thread-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-reply-copy { min-width: 0; padding: 8px 10px; border-radius: 11px; background: var(--paper); }
.thread-author { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; }
.thread-author strong { font-size: 12px; }
.thread-author em { padding: 1px 5px; color: white; border-radius: 8px; background: var(--sage); font-size: 7px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.thread-author small { color: var(--tomato); font-size: 10px; }
.thread-author .comment-times { flex-basis: 100%; font-size: 8px; }
.review-reply-copy > p { margin: 4px 0 5px; overflow-wrap: anywhere; white-space: pre-line; font: 13px/1.45 var(--sans); }
.review-reply-children .review-reply-children { margin-left: 0; padding-left: 0; border-left: 0; }
.review-reply-form { flex: 0 0 100%; margin-top: 8px; padding: 12px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.review-reply-form[hidden] { display: none; }
.review-reply-form label span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.review-reply-form textarea { width: 100%; min-height: 72px; padding: 10px; resize: vertical; color: var(--ink); border: 1px solid var(--line); background: var(--paper); }
.review-reply-form > div { display: flex; gap: 8px; }
.review-reply-form .button, .review-reply-form .button-secondary { min-height: 34px; padding: 8px 12px; font-size: 9px; }
.review-reply-form [role=status] { margin: 0; color: var(--tomato); font-size: 9px; }
.comment-edit-form { flex: 0 0 100%; margin-top: 7px; padding: 10px; display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.comment-edit-form[hidden] { display: none; }
.comment-edit-form textarea { width: 100%; min-height: 68px; padding: 9px; resize: vertical; color: var(--ink); border: 1px solid var(--line); background: var(--paper); font: 13px/1.45 var(--sans); }
.comment-edit-form > div { display: flex; gap: 7px; }
.comment-edit-form .button, .comment-edit-form .button-secondary { min-height: 32px; padding: 7px 11px; font-size: 9px; }
.comment-edit-form [role=status] { margin: 0; color: var(--tomato); font-size: 9px; }
.reply-pagination { margin: 12px 0 0 39px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.reply-pagination button { min-height: 32px; padding: 7px 11px; color: var(--tomato); border: 1px solid var(--line); border-radius: 9px; background: var(--paper); font-size: 10px; font-weight: 800; }
.reply-pagination button:disabled { color: var(--muted); cursor: default; opacity: .55; }
.reply-pagination b { color: var(--muted); font-size: 10px; }
.review-pagination { margin-top: 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.review-pagination a { min-width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; background: var(--paper); font-size: 11px; font-weight: 800; }
.review-pagination a.active { color: white; border-color: var(--tomato); background: var(--tomato); }
.profile-comment-meta { margin-top: 7px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; }
.profile-comment-meta > b { color: var(--sage); font-size: 10px; }
.dish-already-commented { max-width: 650px; margin-top: 34px; padding: 20px 22px; border-left: 4px solid var(--sage); border-radius: 12px; background: var(--cream); }
.dish-already-commented strong { color: var(--sage); font-size: 13px; text-transform: uppercase; }
.dish-already-commented p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.reviews-empty { padding: 24px; background: var(--cream); }
.reviews-empty a { color: var(--tomato); text-decoration: underline; }
.community-rating { max-width: 650px; margin-top: 34px; padding: 22px 28px; border: 1px solid var(--line); border-radius: 15px; background: var(--cream); }
.review-form { max-width: 650px; margin-top: 34px; padding: 28px; display: grid; gap: 15px; border: 1px solid var(--line); }
.review-form h3 { margin: 0; font: 26px var(--serif); }
.comment-field { position: relative; }
.comment-field textarea { padding-bottom: 29px; }
.character-counter { position: absolute; right: 11px; bottom: 9px; color: var(--muted); font-size: 10px; font-weight: 700; pointer-events: none; }
.review-form textarea { min-height: 120px; resize: vertical; }
.star-rating { min-width: 0; margin: 0; padding: 0; border: 0; }
.star-rating legend { margin-bottom: 4px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.star-rating > input { display: none; }
.star-rating > div { display: flex; gap: 5px; }
.star-rating > div button { width: 55px; height: 57px; padding: 0 2px; display: grid; place-items: center; color: #bbb5a9; border: 0; background: transparent; font-size: 52px; line-height: 1; transition: color .15s, transform .15s; }
.star-rating > div button span { display: block; line-height: 1; }
.star-rating > div button:hover { transform: translateY(-2px) scale(1.05); }
.star-rating > div button.active { color: var(--tomato); }
.star-rating > div button:focus-visible { border-radius: 4px; outline: 2px solid var(--sage); outline-offset: 2px; }
.star-rating > strong { min-height: 18px; margin-top: 8px; display: block; color: var(--tomato); font: 700 12px var(--rounded); }
.remove-rating { width: auto; height: auto; margin-top: 3px; padding: 2px 0; display: inline-block; color: var(--muted); border: 0; background: transparent; font: 700 9px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.remove-rating:hover { color: var(--tomato); }
.remove-rating[hidden] { display: none; }
.rating-status { min-height: 16px; margin: 4px 0 0; color: var(--sage); font-size: 10px; font-weight: 700; }
.rating-confetti { position: fixed; z-index: 2147483647; top: -18px; width: var(--confetti-width); height: var(--confetti-height); display: block; border-radius: var(--confetti-radius); background: var(--confetti-color); pointer-events: none; animation: rating-confetti-fall var(--confetti-duration) cubic-bezier(.18,.72,.35,1) forwards; }
@keyframes rating-confetti-fall {
  0% { opacity: 0; transform: translate3d(0,-20px,0) rotate(0); }
  8% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--confetti-drift),calc(100vh + 45px),0) rotate(var(--confetti-rotation)); }
}
.dish-photo-field > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dish-photo-picker { display: flex; min-width: 0; align-items: stretch; border: 1px dashed var(--line); background: var(--paper); }
.dish-photo-picker .dish-photo-native-input { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; opacity: 0 !important; }
.dish-photo-picker-button { flex: 0 0 auto; padding: 10px 13px; color: var(--paper); background: var(--ink); cursor: pointer; font-size: 10px; font-weight: 700; }
.dish-photo-picker input:focus-visible + .dish-photo-picker-button { outline: 2px solid var(--tomato); outline-offset: 2px; }
.dish-photo-file-name { min-width: 0; padding: 10px 12px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.dish-photo-field small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.dish-photo-preview { width: min(360px, 100%); margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.dish-photo-preview img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.dish-crop-dialog, .report-dialog { width: min(600px, calc(100% - 28px)); max-height: 94vh; padding: 0; overflow: visible; color: var(--ink); border: 0; border-radius: 20px; background: transparent; }
.dish-crop-dialog::backdrop, .report-dialog::backdrop { background: rgb(20 27 23 / .78); backdrop-filter: blur(4px); }
.dish-crop-panel, .report-panel { position: relative; max-height: 94vh; padding: 30px; overflow-y: auto; border-top: 4px solid var(--tomato); border-radius: 18px; background: var(--paper); box-shadow: 0 28px 80px rgb(0 0 0 / .28); }
.dish-crop-panel h2, .report-panel h2 { margin: 5px 0 7px; font: 34px/1.1 var(--serif); }
.dish-crop-panel > p, .report-panel > p { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.dish-crop-stage { position: relative; width: min(400px, 100%); aspect-ratio: 4 / 3; margin: 0 auto; overflow: hidden; background: #17201b; cursor: grab; touch-action: none; user-select: none; }
.dish-crop-stage.dragging { cursor: grabbing; }
.dish-crop-stage canvas { width: 100%; height: 100%; display: block; }
.dish-crop-mask { position: absolute; inset: 2px; border: 2px solid rgb(255 255 255 / .92); box-shadow: 0 0 0 999px rgb(16 22 18 / .3); pointer-events: none; }
.dish-zoom { max-width: 400px; margin: 20px auto 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.dish-zoom span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.dish-zoom input { width: 100%; accent-color: var(--tomato); }
.dish-crop-actions, .report-actions { margin: 22px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dish-crop-actions { max-width: 400px; }
.dish-crop-actions button, .report-actions button { min-height: 44px; }
.report-panel label span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.report-panel textarea { width: 100%; min-height: 150px; padding: 12px; resize: vertical; color: var(--ink); border: 1px solid var(--line); background: var(--cream); font: inherit; }
.language-notice { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.45; }

/* O painel acompanha o tema geral: claro por padrão e escuro quando selecionado. */
.nutrition-card { color: var(--ink); background: var(--cream); }
.nutrition-modern { border-color: var(--line); background: linear-gradient(145deg, #fffdf8, #f4eee2 66%, #ece4d7); }
.nutrition-card .eyebrow, .nutrition-card > a { color: var(--tomato); }
.nutrition-card > p, .calories small, .nutrition-total span, .micro, .disclaimer { color: var(--muted); }
.calories, .micro { border-color: var(--line); }
.macro i { background: var(--line); }
.nutrition-total { background: rgba(67,82,70,.08); }
.micro b { color: var(--ink); }
:root[data-theme="dark"] .nutrition-card { color: white; }
:root[data-theme="dark"] .nutrition-card .eyebrow { color: #e7a68e; }
:root[data-theme="dark"] .nutrition-card > p,
:root[data-theme="dark"] .calories small,
:root[data-theme="dark"] .nutrition-total span,
:root[data-theme="dark"] .micro { color: #c8d0c9; }
:root[data-theme="dark"] .calories,
:root[data-theme="dark"] .micro { border-color: #536058; }
:root[data-theme="dark"] .macro i { background: #536058; }
:root[data-theme="dark"] .nutrition-total { background: rgba(255,255,255,.075); }
:root[data-theme="dark"] .micro b { color: white; }
:root[data-theme="dark"] .disclaimer { color: #a9b3ac; }

.construction-page { min-height: 100vh; padding: 30px; display: grid; place-content: center; justify-items: center; text-align: center; background: var(--paper); }
.construction-page::before { content: ""; position: fixed; inset: 24px; pointer-events: none; border: 1px solid var(--line); }
.construction-mark { width: 72px; height: 72px; margin-bottom: 30px; display: grid; place-items: center; color: white; background: var(--tomato); border-radius: 50% 50% 50% 12%; font: italic 42px var(--serif); }
.construction-page h1 { margin: 13px 0 20px; font: clamp(40px, 6vw, 72px)/1.06 var(--serif); }
.construction-page h1 em { color: var(--tomato); font-weight: 400; }
.construction-page p { max-width: 590px; color: var(--muted); }
.construction-page > small { margin-top: 45px; letter-spacing: .2em; text-transform: uppercase; }

:root[data-theme="dark"] .search-bar input,
:root[data-theme="dark"] .filters input,
:root[data-theme="dark"] .filters select { background: #111813; }
:root[data-theme="dark"] .top-note,
:root[data-theme="dark"] .category-band,
:root[data-theme="dark"] .nutrition-card,
:root[data-theme="dark"] .ingredient-nutrition { background: #0f1712; }
:root[data-theme="dark"] .nutrition-modern { background:
  linear-gradient(145deg, #26362c, #101913 66%, #0b120d); }
:root[data-theme="dark"] .ingredient-nutrition-grid span { background: rgba(255,255,255,.055); }
:root[data-theme="dark"] .home-hero-label { background: rgba(23,32,27,.93); }
:root[data-theme="dark"] .up { color: #f09a7e; }
:root[data-theme="dark"] .down { color: #9fc296; }
.chart-panel { padding: 38px 42px 28px; border: 1px solid var(--line); background: white; }
.chart-stats { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.chart-stats > span { padding: 16px 0; }
.chart-stats small, .chart-stats strong { display: block; }
.chart-stats small { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.chart-stats strong { font: 19px var(--serif); }
.ingredient-recipes { border-top: 1px solid var(--line); }
.category-directory { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-directory a { min-height: 90px; padding: 20px 24px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: .2s; }
.category-directory a:hover { background: var(--cream); }
.category-directory b { color: var(--tomato); font: italic 15px var(--serif); }
.category-directory strong { font: 23px var(--serif); }
.category-directory span { color: var(--tomato); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.institutional { max-width: 1000px; margin: auto; padding: 80px 28px 110px; }
.institutional > header { max-width: 760px; margin-bottom: 70px; }
.institutional h1 { margin: 10px 0 22px; font: 63px/1.04 var(--serif); }
.institutional h1 em { display: block; color: var(--tomato); font-weight: 400; }
.institutional > header p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.institutional > div { border-top: 1px solid var(--line); }
.institutional section { padding: 42px 0; display: grid; grid-template-columns: 75px 1fr; border-bottom: 1px solid var(--line); }
.institutional section > span { color: var(--tomato); font: italic 25px var(--serif); opacity: .65; }
.institutional section h2 { margin-bottom: 8px; font: 29px var(--serif); }
.institutional section p { max-width: 720px; margin: 0; color: var(--muted); font-size: 14px; }
.admin-shell { min-height: 820px; display: grid; grid-template-columns: 230px 1fr; color: var(--ink); background: #f3eee4; }
.admin-shell > aside { padding: 28px 20px; display: flex; flex-direction: column; gap: 4px; color: white; background: var(--ink); }
.admin-shell aside .brand { margin-bottom: 30px; font-size: 18px; }
.admin-shell aside .brand small { color: #aab3ac; }
.admin-shell aside > span, .admin-shell aside > a { padding: 10px 13px; color: #c0c8c2; font-size: 11px; }
.admin-shell aside > span.active, .admin-shell aside > a.active { color: white; background: #39463e; border-left: 2px solid #e7a68e; }
.admin-shell aside > a:hover, .admin-shell aside > a:focus-visible { color: white; background: #334038; }
.admin-shell > section { min-width: 0; padding: 45px 5vw 70px; }
.admin-shell > section > header { display: flex; justify-content: space-between; align-items: start; }
.admin-shell h1 { margin: 5px 0 0; font: 44px var(--serif); }
.admin-shell header p { color: var(--muted); font-size: 12px; }
.admin-shell header > a { color: var(--tomato); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.admin-alert { margin: 25px 0; padding: 17px 20px; color: #6d3d2c; background: #f3ddd3; border-left: 3px solid var(--tomato); }
.admin-alert strong { font-size: 12px; }
.admin-alert p { margin: 2px 0 0; font-size: 10px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.admin-stats > div { padding: 21px; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); }
.admin-stats span, .admin-stats small { color: var(--muted); font-size: 9px; }
.admin-stats span { text-transform: uppercase; }
.admin-stats strong { font: 38px var(--serif); }
.admin-visit-overview { margin: 18px 0; padding: 22px; background: white; border: 1px solid var(--line); }
.admin-visit-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.admin-visit-heading h2 { margin: 4px 0 0; font: 28px var(--serif); }
.admin-visit-heading p { max-width: 520px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.admin-visit-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.admin-user-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-visit-stats > div { display: flex; min-width: 0; padding: 18px; flex-direction: column; border-right: 1px solid var(--line); }
.admin-visit-stats > div:last-child { border-right: 0; }
.admin-visit-stats span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.admin-visit-stats strong { margin: 4px 0; font: 34px var(--serif); }
.admin-visit-stats small { color: var(--muted); font-size: 9px; }
.admin-visit-unavailable { display: flex; gap: 8px; padding: 15px; flex-direction: column; background: var(--paper); color: var(--muted); font-size: 12px; }
.admin-analytics { margin-top: 20px; }
.admin-analytics-heading { padding: 25px 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; background: #25352c; color: white; border-radius: 3px 3px 0 0; }
.admin-analytics-heading h2 { margin: 5px 0 3px; font: 32px var(--serif); }
.admin-analytics-heading p { max-width: 580px; margin: 0; color: #bcc8c0; font-size: 11px; line-height: 1.55; }
.admin-period-filter { display: flex; padding: 4px; gap: 2px; background: #ffffff12; border: 1px solid #ffffff18; border-radius: 4px; }
.admin-period-filter a { padding: 9px 12px; color: #c8d0cb; border-radius: 3px; font-size: 9px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.admin-period-filter a:hover, .admin-period-filter a.active { color: #25352c; background: #f4ddd2; }
.admin-analytics-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: white; border: 1px solid var(--line); border-top: 0; }
.admin-analytics-kpis article { position: relative; min-width: 0; padding: 22px 20px 20px 62px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.admin-analytics-kpis article:last-child { border-right: 0; }
.admin-analytics-kpis article > span:not(.admin-metric-change) { color: var(--muted); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.admin-analytics-kpis article > strong { margin: 3px 0 7px; font: 34px var(--serif); line-height: 1; }
.analytics-kpi-icon { position: absolute; left: 18px; top: 22px; width: 31px; height: 31px; display: grid; place-items: center; color: #527560; background: #e4eee8; border-radius: 50%; font: 700 14px var(--sans); }
.analytics-kpi-icon.users { color: #a44f38; background: #f7e3da; }
.analytics-kpi-icon.total { color: #8a6b27; background: #f3ead4; }
.analytics-kpi-icon.conversion { color: #65518b; background: #ece6f5; }
.admin-metric-change { width: max-content; max-width: 100%; padding: 3px 6px; color: #66716a; background: #f1f3f1; border-radius: 2px; font-size: 8px; font-weight: 700; }
.admin-metric-change small { font: inherit; font-weight: 400; }
.admin-metric-change.positive { color: #2e7651; background: #e3f2e9; }
.admin-metric-change.negative { color: #a04c3d; background: #f7e5e0; }
.admin-chart-card, .admin-account-card { margin-top: 16px; min-width: 0; background: white; border: 1px solid var(--line); box-shadow: 0 8px 26px #25352c0a; }
.admin-chart-card > header, .admin-account-card > header { min-height: 76px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.admin-chart-card > header > div { display: flex; align-items: center; gap: 11px; }
.admin-chart-card h3, .admin-account-card h3 { margin: 0 0 2px; font: 21px var(--serif); }
.admin-chart-card header p { margin: 0; color: var(--muted); font-size: 9px; }
.admin-chart-card header > strong, .admin-account-card header > strong { font: 27px var(--serif); white-space: nowrap; }
.admin-chart-card header > strong small { color: var(--muted); font: 9px var(--sans); text-transform: uppercase; }
.chart-legend { width: 10px; height: 10px; flex: 0 0 10px; background: #527b61; border-radius: 50%; box-shadow: 0 0 0 4px #e6eee9; }
.chart-legend.users { background: #d47d62; box-shadow: 0 0 0 4px #f7e5df; }
.admin-analytics-svg { width: 100%; height: auto; min-height: 230px; padding: 12px 12px 4px; display: block; overflow: visible; }
.chart-grid-line { stroke: #e7ebe8; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-axis-value, .chart-axis-label { fill: #8a948d; font: 9px var(--sans); }
.chart-area { fill: url('#none'); fill: #527b6118; }
.chart-line { fill: none; stroke: #527b61; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart-point { fill: white; stroke: #527b61; stroke-width: 2; transition: r .15s, fill .15s; }
.chart-point:hover { r: 6px; fill: #f3d7ca; }
.chart-bar { fill: #d78368; transition: opacity .15s, fill .15s; }
.chart-bar:hover { fill: #a94f37; opacity: 1; }
.admin-chart-empty { min-height: 245px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: var(--muted); background: repeating-linear-gradient(-45deg,#fff,#fff 8px,#fafbfa 8px,#fafbfa 16px); font-size: 11px; }
.admin-analytics-bottom { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, .72fr); gap: 16px; }
.admin-account-card > header { min-height: 76px; }
.admin-account-card header .eyebrow { font-size: 8px; }
.admin-account-donut { width: 156px; height: 156px; margin: 27px auto 22px; display: grid; place-items: center; background: conic-gradient(#527b61 0 var(--google-share), #e7a68e var(--google-share) 100%); border-radius: 50%; }
.admin-account-donut::before { content: ''; grid-area: 1/1; width: 105px; height: 105px; background: white; border-radius: 50%; }
.admin-account-donut > div { z-index: 1; grid-area: 1/1; display: flex; align-items: center; flex-direction: column; }
.admin-account-donut strong { font: 29px var(--serif); }
.admin-account-donut span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.admin-account-legend { padding: 0 22px 18px; }
.admin-account-legend p { margin: 0; padding: 9px 0; display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 9px; border-top: 1px solid var(--line); font-size: 9px; }
.admin-account-legend i { width: 8px; height: 8px; background: #527b61; border-radius: 50%; }
.admin-account-legend i.email { background: #e7a68e; }
.admin-account-legend i.blocked { background: #a3aaa5; }
.admin-account-legend span { color: var(--muted); }
.admin-analytics-privacy { margin: 10px 2px 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.admin-table { margin-top: 25px; background: white; border: 1px solid var(--line); }
.admin-table > div:first-child { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.admin-table h2 { margin: 0; font: 24px var(--serif); }
.admin-table button { padding: 8px 13px; border: 0; color: #999; background: #eee; font-size: 9px; text-transform: uppercase; }
.admin-row { padding: 14px 20px; display: grid; grid-template-columns: 1.6fr 1fr .7fr auto; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); font-size: 10px; }
.admin-row:last-child { border-bottom: 0; }
.admin-row strong, .admin-row small { display: block; }
.admin-row strong { font-size: 12px; }
.admin-row small { color: var(--muted); }
.admin-row a { color: var(--tomato); font-weight: 700; }

.footer { padding: 60px 6% 25px; color: white; background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 55px; }
.footer-main > div:first-child p { max-width: 330px; margin-top: 25px; color: #b9c2bb; font: italic 16px/1.5 var(--serif); }
.footer-brand small { color: #9da9a0; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-main .footer-social a { display: inline-flex; border-radius: 50%; }
.footer-social img { width: 32px; height: 32px; object-fit: contain; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-main strong { margin-bottom: 8px; color: #e7a68e; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.footer-main a { color: #c0c8c2; font-size: 11px; }
.footer-main a:hover { color: white; }
.footer-bottom { margin-top: 45px; padding-top: 20px; display: flex; justify-content: space-between; color: #919d94; border-top: 1px solid #49554d; font-size: 9px; }
.footer-bottom button { padding: 0; color: #b9c2bb; border: 0; background: none; font-size: 9px; }
.cookie-notice { position: fixed; z-index: 50; left: 20px; right: 20px; bottom: 20px; max-width: 900px; margin: auto; padding: 18px 20px; display: flex; align-items: center; gap: 30px; color: white; background: var(--ink); box-shadow: 0 15px 50px #0004; }
.cookie-notice > div:first-child { flex: 1; }
.cookie-notice strong { font: 18px var(--serif); }
.cookie-notice p { margin: 3px 0 0; color: #c3cbc5; font-size: 10px; }
.cookie-notice > div:last-child { display: flex; gap: 9px; }
.cookie-notice .button-secondary { color: white; border-color: #869188; background: transparent; }

@media (max-width: 1080px) {
  .site-header { min-height: 72px; padding: 0 20px; gap: 12px; }
  .brand { margin-right: auto; }
  .main-nav { position: absolute; z-index: 1100; left: 18px; right: 18px; top: calc(100% + 9px); display: none; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100dvh - 105px); overflow-y: auto; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 22px 55px rgb(37 49 41 / .2); }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-categories > summary { padding: 11px 13px; border-radius: 9px; }
  .nav-categories { width: 100%; }
  .nav-categories::after { display: none; }
  .category-menu { position: static; width: auto; margin: 4px 0 8px; padding: 14px; display: none; visibility: visible; opacity: 1; transform: none; border-radius: 12px; box-shadow: none; pointer-events: auto; }
  .nav-categories:hover .category-menu, .nav-categories:focus-within .category-menu { display: none; }
  .nav-categories[open] .category-menu { display: block; }
  .category-menu::before { display: none; }
  .category-menu-heading > span { font-size: 20px; }
  .category-menu > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-actions { position: relative; z-index: 1200; flex: 0 0 auto; }
  .menu-toggle { position: relative; z-index: 1; width: 42px; height: 42px; padding: 7px; display: grid; place-content: center; touch-action: manipulation; }
  .menu-toggle span { width: 23px; height: 1px; display: block; margin: 3px; background: var(--ink); }
  .search-bar { padding: 16px 20px; }
  .home-hero, .recipe-hero { grid-template-columns: 1fr; gap: 38px; padding: 40px 24px 55px; }
  .home-hero-image { height: min(65vw, 500px); }
  .home-hero-copy { max-width: 700px; }
  .recipe-hero-image { order: -1; height: min(65vw, 510px); }
  .breadcrumbs { margin-bottom: 25px; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .category-links { grid-template-columns: none; grid-auto-columns: 48%; }
  .category-links a:nth-child(3) { border-top-color: #526057; }
  .ingredient-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .recipe-layout { grid-template-columns: 1fr; gap: 25px; }
  .nutrition-card { position: static; }
  .recipe-sidebar { padding: 0; }
  .footer-main { grid-template-columns: 2fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 2; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-shell > aside { display: flex; position: static; flex-direction: row; overflow-x: auto; padding: .8rem; }
  .admin-shell aside .brand { display: none; }
  .admin-shell aside > a { flex: 0 0 auto; }
}

@media (max-width: 640px) {
  .top-note { font-size: 8px; }
  .site-header { padding: 0 12px; gap: 5px; }
  .header-actions { gap: 3px; }
  .header-actions .theme-toggle { display: none; }
  .account-nav { width: 42px; min-width: 42px; padding: 5px; justify-content: center; }
  .account-nav b { display: none; }
  .language-trigger { position: relative; z-index: 1; min-width: 55px; padding: 0 8px; touch-action: manipulation; }
  .language-popover { right: 12px; left: 12px !important; width: auto; max-height: calc(100dvh - 100px); }
  .brand { min-width: 0; font-size: 17px; }
  .brand > span:last-child { display: block; overflow: hidden; text-overflow: ellipsis; }
  .brand small { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .category-menu > div:last-child { grid-template-columns: 1fr; }
  .search-bar { align-items: stretch; flex-direction: column; }
  .home-hero, .recipe-hero { padding: 25px 18px 42px; }
  .home-impact { padding: 30px 18px 0; grid-template-columns: 22px 1fr 22px; gap: 12px; }
  .home-impact p { font-size: clamp(29px, 9vw, 39px); }
  .home-impact em { white-space: normal; }
  .home-hero-image, .recipe-hero-image { height: 290px; }
  .home-hero-image::after, .recipe-hero-image::before { display: none; }
  .title-pair, .home-hero-copy .title-pair, .recipe-hero-copy .title-pair { font-size: 47px; overflow-wrap: anywhere; }
  .hero-facts { flex-wrap: wrap; gap: 15px; }
  .hero-facts > span { min-width: 80px; padding: 0; margin: 0; border: 0; }
  .page-section { padding: 65px 18px; }
  .editorial-heading { align-items: start; }
  .editorial-heading h2 { font-size: 35px; }
  .recipe-grid { grid-template-columns: 1fr; }
  .card-image { height: 275px; }
  .category-band { padding: 65px 18px; }
  .category-links { grid-template-columns: none; grid-template-rows: 1fr; grid-auto-columns: 84%; }
  .category-links a:nth-child(2), .category-links a:nth-child(3) { border-top-color: #526057; }
  .ingredient-mini-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 70px 18px; }
  .newsletter h2 { font-size: 40px; }
  .listing-page { padding: 55px 18px 80px; }
  .page-intro h1, .ingredient-detail-header h1 { font-size: 48px; }
  .filters { grid-template-columns: 1fr; }
  .pagination-controls { width: 100%; }
  .pagination-direction { min-width: 42px; width: 42px; padding: 0; }
  .pagination-direction span { display: none; }
  .quick-facts { padding: 12px 8px; grid-template-columns: repeat(2, 1fr); }
  .quick-facts > div, .cost-trigger { padding: 8px 10px; border-bottom: 1px solid #d8cfbf; }
  .quick-facts > :nth-child(2), .quick-facts > :nth-child(4) { border-right: 0; }
  .quick-facts > :last-child { grid-column: 1 / -1; border-bottom: 0; }
  .cost-more { display: none; }
  .recipe-layout { margin: 55px auto 75px; padding: 0 19px; }
  .recipe-story { grid-template-columns: 1fr; gap: 4px; }
  .recipe-story .lead { font-size: 22px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 35px; }
  .section-heading { align-items: center; flex-wrap: wrap; }
  .servings { width: auto; min-width: 176px; padding: 6px 9px 6px 13px; flex-wrap: nowrap; justify-content: space-between; }
  .servings > span { width: auto; text-align: left; }
  .servings button { position: relative; z-index: 2; width: 42px; height: 42px; flex: 0 0 42px; pointer-events: auto; touch-action: manipulation; }
  .recipe-layout, .recipe-layout > *, .recipe-sidebar { min-width: 0; max-width: 100%; }
  .nutrition-card, .nutrition-modern { width: 100%; max-width: 100%; contain: paint; overflow: hidden; }
  .ingredient-row { grid-template-columns: 19px minmax(0, 1fr); gap: 10px 12px; }
  .ingredient-row .ingredient-link { grid-column: 2; justify-self: start; }
  .cook-note { padding: 67px 23px 24px; }
  .steps li { grid-template-columns: 42px 1fr; gap: 15px; }
  .step-check { width: 42px; height: 42px; }
  .steps li:not(:last-child)::before { left: 20px; }
  .dialog-panel { padding: 38px 20px 24px; }
  .dialog-panel h2 { font-size: 31px; }
  .cost-summary { grid-template-columns: 1fr; }
  .cost-summary > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ingredient-table-head { display: none; }
  .ingredient-list > a { grid-template-columns: 1fr auto; gap: 9px; }
  .ingredient-list > a > em { text-align: right; }
  .ingredient-list > a > span:last-child { text-align: right; }
  .ingredient-detail-header { grid-template-columns: 1fr; gap: 25px; padding-bottom: 38px; }
  .ingredient-page { padding: 45px 18px 55px; }
  .chart-panel { padding: 28px 12px 20px; }
  .price-chart { height: 305px; }
  .price-chart-scroll { overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scrollbar-color: var(--tomato) var(--cream); }
  .price-chart svg { width: 720px; min-width: 720px; }
  .price-chart.compact svg { width: 650px; min-width: 650px; }
  .chart-scroll-hint { display: block; margin: 5px 0 0; color: var(--muted); font-size: 9px; text-align: right; }
  .ingredient-nutrition { grid-template-columns: 1fr; padding: 22px; }
  .ingredient-nutrition-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-reference-price { grid-template-columns: 1fr; }
  .modal-reference-price strong { grid-row: auto; }
  .review-card { grid-template-columns: 1fr; }
  .review-card > img { height: 210px; }
  .review-form { padding: 20px; }
  .star-rating > div { gap: 2px; }
  .star-rating > div button { width: 44px; height: 48px; font-size: 45px; }
  .review-reply.is-nested-reply { width: calc(100% - 9px); margin-left: 9px; }
  .reviews-heading { align-items: stretch; flex-direction: column; }
  .rating-summary { width: 100%; }
  .profile-card { padding: 23px 18px; }
  .profile-heading { grid-template-columns: 62px 1fr; }
  .profile-avatar { width: 62px; height: 62px; flex-basis: 62px; }
  .profile-signout { grid-column: 2; justify-self: start; }
  .profile-form { grid-template-columns: 1fr; }
  .account-filters, .account-filters-comments, .js .account-filters, .js .account-filters-comments { grid-template-columns: 1fr; }
  .saved-recipe-grid { grid-template-columns: 1fr; }
  .saved-recipe-grid img { height: 210px; }
  .user-profile { align-items: flex-start; flex-wrap: wrap; }
  .user-profile .button { width: 100%; margin-left: 0; }
  .construction-page::before { inset: 12px; }
  .footer { padding: 50px 25px 22px; }
  .category-directory { grid-template-columns: 1fr; }
  .institutional { padding: 55px 19px 80px; }
  .institutional h1 { font-size: 48px; }
  .institutional section { grid-template-columns: 45px 1fr; gap: 5px; }
  .admin-shell > section { padding: 35px 16px 60px; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-visit-heading { align-items: flex-start; flex-direction: column; }
  .admin-visit-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-visit-stats > div:nth-child(2) { border-right: 0; }
  .admin-visit-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .admin-user-stats > div:nth-child(even) { border-right: 0; }
  .admin-user-stats > div:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .admin-analytics-heading { padding: 22px 18px; align-items: stretch; flex-direction: column; }
  .admin-period-filter { display: grid; grid-template-columns: repeat(3, 1fr); }
  .admin-period-filter a { padding: 8px 5px; text-align: center; }
  .admin-analytics-kpis { grid-template-columns: 1fr 1fr; }
  .admin-analytics-kpis article { min-height: 122px; padding: 58px 13px 15px; border-bottom: 1px solid var(--line); }
  .admin-analytics-kpis article:nth-child(even) { border-right: 0; }
  .admin-analytics-kpis article:nth-last-child(-n+2) { border-bottom: 0; }
  .analytics-kpi-icon { left: 13px; top: 17px; }
  .admin-analytics-kpis article > strong { font-size: 29px; }
  .admin-metric-change { white-space: normal; }
  .admin-metric-change small { display: none; }
  .admin-chart-card > header, .admin-account-card > header { padding: 14px; }
  .admin-chart-card header > strong { font-size: 22px; }
  .admin-analytics-svg { min-width: 640px; min-height: 0; }
  .admin-chart-card { overflow-x: auto; }
  .admin-analytics-bottom { grid-template-columns: 1fr; gap: 0; }
  .admin-row { grid-template-columns: 1fr auto; }
  .admin-row > span:nth-child(2), .admin-row > span:nth-child(3) { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 22px; }
  .footer-main > div:first-child { grid-column: 1/-1; }
  .footer-main > div:last-child { grid-column: auto; }
  .cookie-notice { left: 10px; right: 10px; bottom: 10px; align-items: stretch; flex-direction: column; gap: 14px; }
  .cookie-notice > div:last-child { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .home-impact p, .home-impact > i, .home-impact em::after { animation: none; }
}

@media (max-width: 420px) {
  .site-header .brand { gap: 7px; font-size: 14px; }
  .site-header .brand > span:last-child { display: block; }
  .language-trigger { min-width: 51px; }
}

@media (max-width: 350px) {
  .header-actions .search-toggle,
  .header-actions .account-nav { display: none; }
}

@media print {
  .top-note, .site-header, .footer, .cookie-notice, .quick-facts, .related, .save-recipe-button { display: none !important; }
  .recipe-hero { grid-template-columns: 1fr 1fr; padding: 15px 0; }
  .recipe-hero-image { height: 280px; }
  .recipe-layout { grid-template-columns: 1fr 250px; margin: 20px 0; padding: 0; gap: 35px; }
  .nutrition-card { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

@media (prefers-reduced-motion: reduce) {
  .nutrition-orb { animation: none !important; }
}

.profile-form select,
.auth-card select,
.calculator-card select,
.calculator-card input,
.admin-review-heading input {
  width: 100%;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  color: var(--color-ink);
  padding: .78rem .85rem;
  font: inherit;
}
.field-help, .profile-form small { color: var(--color-muted); font-size: .82rem; line-height: 1.5; }
.recipe-guidance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.recipe-guidance > div { padding: 2rem; background: var(--color-cream); border: 1px solid var(--color-line); }
.chart-baseline-note { margin: .7rem 0 0; color: var(--muted); font-size: .78rem; font-style: italic; }
.price-chart-empty svg { opacity: .72; }
.legal-document section p + p { margin-top: .8rem; }
.contact-page { max-width: 1120px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(440px, 1.15fr); gap: clamp(42px, 7vw, 90px); align-items: start; }
.contact-page > header { max-width: none; margin: 0; }
.contact-page > div { min-width: 0; display: block; border-top: 0; }
.contact-page header a { color: var(--tomato); font-weight: 700; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); background: var(--cream); box-shadow: 0 24px 65px rgb(37 49 41 / .08); }
.contact-form label { display: grid; gap: .45rem; color: var(--ink); font-size: .8rem; font-weight: 700; }
.contact-form label.wide { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { min-width: 0; width: 100%; border: 1px solid var(--line); outline: 0; background: var(--paper); color: var(--ink); padding: .9rem 1rem; font: inherit; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--tomato); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tomato) 15%, transparent); }
.contact-form textarea { resize: vertical; }
.contact-form .button { grid-column: 1 / -1; width: fit-content; min-width: 180px; }
.contact-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-status { margin: 0 0 1rem; padding: 1rem 1.2rem; border-left: 3px solid var(--sage); background: var(--cream); }
.contact-status.error { border-left-color: var(--tomato); }
.nutrition-disclaimer { max-width: 850px; margin: 1rem auto 4rem; padding: 1rem 1.25rem; border-left: 3px solid var(--color-sage); color: var(--color-muted); font-size: .9rem; }
.admin-review-heading, .admin-review-row { display: grid; gap: 1rem; align-items: center; }
.admin-review-heading { grid-template-columns: 1.4fr 1fr; padding: 1.25rem; border-bottom: 1px solid var(--color-line); }
.admin-review-heading label { font-size: .78rem; font-weight: 700; }
.admin-review-heading label span { display: block; margin-bottom: .35rem; }
.admin-review-columns, .admin-review-row { grid-template-columns: 72px minmax(165px,1.25fr) minmax(120px,.9fr) minmax(125px,.75fr) minmax(100px,.6fr) minmax(142px,.85fr); }
.admin-review-columns { display: grid; gap: 1rem; padding: .65rem 1.25rem; color: var(--color-muted); border-bottom: 1px solid var(--color-line); background: var(--color-cream); font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.admin-review-row { min-height: 74px; padding: .65rem 1.25rem; border-bottom: 1px solid var(--color-line); }
.admin-review-thumb { width: 72px; aspect-ratio: 6/5; object-fit: cover; border-radius: 6px; }
.admin-review-row small, .seo-score small { display: block; color: var(--color-muted); margin-top: .25rem; }
.admin-launch-date { font-size: .82rem; font-weight: 700; font-style: normal; }
.admin-launch-date small { font-size: .68rem; font-weight: 400; }
.recipe-status-badge { display: inline-flex; width: fit-content; padding: .38rem .62rem; border: 1px solid transparent; border-radius: 999px; font-size: .73rem; font-weight: 800; }
.recipe-status-badge.pending { color: #6d4900; border-color: #e2b94f; background: #ffedac; }
.recipe-status-badge.scheduled { color: #174f82; border-color: #70a9dc; background: #d9edff; }
.recipe-status-badge.approved { color: #265b2b; border-color: #75ae79; background: #dff2df; }
.recipe-status-badge.rejected { color: #8b2018; border-color: #dc8177; background: #ffe0dc; }
.seo-score.pending strong { color: var(--color-tomato); }
.seo-score.passed strong { color: #4f6d48; }
.approval-badge { display: inline-flex; width: fit-content; padding: .35rem .55rem; border: 1px solid var(--color-line); font-size: .75rem; font-weight: 700; }
.approval-badge.approved { color: #4f6d48; background: #edf3e9; }
.approval-badge.rejected { color: #8f2f25; background: #fae9e4; }
.admin-review-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: .35rem; }
.admin-review-actions a, .admin-review-actions button { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; border: 1px solid var(--color-line); background: var(--color-paper); color: var(--color-ink); padding: .42rem .55rem; font: inherit; font-size: .72rem; cursor: pointer; }
.admin-review-actions button:first-child { color: #395f33; border-color: #9bb895; background: #edf3e9; }
.admin-review-actions button.reject { color: #8f2f25; border-color: #d9a89f; background: #fae9e4; }
.admin-review-actions button:disabled { opacity: .45; cursor: not-allowed; }
.admin-comment-summary { margin: 28px 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-comment-summary a { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); }
.admin-comment-summary a.active { border-color: var(--tomato); box-shadow: inset 0 -3px var(--tomato); }
.admin-comment-summary span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.admin-comment-summary strong { font: 27px var(--serif); }
.admin-comment-toolbar { gap: 24px; }
.admin-comment-toolbar form { min-width: 190px; }
.admin-comment-toolbar label span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-comment-toolbar select { width: 100%; padding: 9px 11px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); }
.admin-comment-feedback:empty { display: none; }
.admin-comment-feedback { margin: 14px 20px 0; padding: 11px 14px; color: #395f33; border-left: 3px solid #6f9367; background: #edf3e9; font-size: 11px; font-weight: 700; }
.admin-report-queue { margin-bottom: 22px; }
.admin-report-count { min-width: 42px; height: 42px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--tomato); font: 22px var(--serif); }
.admin-report-row { padding: 20px; display: grid; grid-template-columns: minmax(220px,.85fr) minmax(360px,1.5fr) minmax(180px,.6fr); gap: 20px; align-items: start; border-bottom: 1px solid var(--line); }
.admin-report-reason p { margin: 8px 0 12px; padding: 12px; color: #6d3d2c; border-left: 3px solid var(--tomato); background: #f8e9e2; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.admin-report-reason small, .admin-report-original small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.admin-report-original { display: grid; grid-template-columns: 145px 1fr; gap: 15px; }
.admin-report-original > img { width: 145px; aspect-ratio: 4 / 3; display: block; object-fit: cover; border-radius: 9px; }
.admin-report-original a { color: var(--tomato); font-size: 11px; font-weight: 800; }
.admin-report-original p { margin: 8px 0; font: italic 15px/1.45 var(--serif); overflow-wrap: anywhere; }
.admin-report-actions { display: grid; gap: 8px; }
.admin-report-actions button { min-height: 40px; padding: 8px 10px; color: #395f33; border: 1px solid #9bb895; background: #edf3e9; font-size: 9px; font-weight: 800; line-height: 1.3; cursor: pointer; }
.admin-report-actions button.reject { color: #8f2f25; border-color: #d9a89f; background: #fae9e4; }
.admin-report-actions button:disabled { cursor: wait; opacity: .55; }
.admin-report-empty { padding: 24px 20px; display: flex; flex-direction: column; gap: 3px; }
.admin-report-empty span, .admin-report-more { color: var(--muted); font-size: 10px; }
.admin-report-more { margin: 0; padding: 12px 20px; border-top: 1px solid var(--line); }
.admin-comment-row { padding: 20px; display: grid; grid-template-columns: minmax(190px,.8fr) minmax(320px,1.7fr) auto auto; gap: 20px; align-items: start; border-bottom: 1px solid var(--line); }
.admin-comment-meta strong, .admin-comment-meta small { display: block; }
.admin-comment-meta small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.admin-comment-content a { color: var(--tomato); font-size: 11px; font-weight: 800; }
.admin-comment-content p { margin: 9px 0 0; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.admin-comment-photo { width: min(240px, 100%); aspect-ratio: 4 / 3; margin-top: 10px; display: block; object-fit: cover; border-radius: 9px; }
.admin-comment-stars { margin-left: 10px; color: var(--tomato); font-size: 13px; letter-spacing: .05em; white-space: nowrap; }
.admin-comment-empty { margin: 0; border: 0; }
.admin-comment-pagination { padding: 16px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; }
.admin-comment-pagination a { color: var(--tomato); font-size: 10px; font-weight: 800; }
.admin-comment-pagination a:last-child { justify-self: end; }
.admin-comment-pagination b { color: var(--muted); font-size: 10px; }
.admin-login { width: min(520px, calc(100% - 2rem)); margin: 8vh auto; padding: 2.5rem; border: 1px solid var(--color-line); background: var(--color-paper); }
.admin-login h1 { margin-bottom: .5rem; }
.admin-login p { color: var(--color-muted); }
.admin-login label { display: block; margin: 1.5rem 0 1rem; font-weight: 700; }
.admin-login label span { display: block; margin-bottom: .4rem; }
.admin-login input { width: 100%; border: 1px solid var(--color-line); background: var(--color-paper); color: var(--color-ink); padding: .8rem; font: inherit; }
.calculators-page { max-width: 1180px; margin: 0 auto; padding: 2rem 1.25rem 5rem; }
.calculator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.calculator-card { border: 1px solid var(--color-line); background: var(--color-paper); padding: 1.35rem; }
.calculator-card h2 { font-size: 1.4rem; }
.calculator-card label { display: block; margin: .8rem 0; color: var(--color-muted); font-size: .82rem; font-weight: 700; }
.calculator-card label input, .calculator-card label select { margin-top: .35rem; }
.calculator-card output { display: block; min-height: 3.5rem; padding: .8rem; background: var(--color-cream); color: var(--color-tomato); font-family: var(--font-display); font-size: 1.25rem; }
.calculator-card p, .calculator-notice p { color: var(--color-muted); font-size: .86rem; line-height: 1.55; }
.calculator-notice { margin-top: 2rem; padding: 1.5rem; background: var(--color-cream); border-left: 3px solid var(--color-sage); }

@media (max-width: 900px) {
  .calculator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-review-columns { display: none; }
  .admin-review-row { grid-template-columns: 1fr 1fr; }
  .admin-comment-row { grid-template-columns: 1fr 1fr; }
  .admin-report-row { grid-template-columns: 1fr 1fr; }
  .admin-report-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .contact-page { grid-template-columns: 1fr; }
  .contact-page > header { margin-bottom: 0; }
}
@media (max-width: 620px) {
  .recipe-guidance, .calculator-grid, .admin-review-heading, .admin-review-row, .contact-form { grid-template-columns: 1fr; }
  .admin-comment-summary { grid-template-columns: 1fr 1fr; }
  .admin-comment-row { grid-template-columns: 1fr; }
  .admin-report-row, .admin-report-original { grid-template-columns: 1fr; }
  .admin-report-actions { grid-column: auto; grid-template-columns: 1fr; }
  .admin-report-original > img { width: 100%; max-width: 320px; }
  .activation-steps { grid-template-columns: 1fr; }
  .activation-steps li { min-height: auto; }
  .contact-form label.wide { grid-column: auto; }
}

/* PHP renders the same image-fill behavior that Next/Image added inline. */
.home-hero-image > img,
.recipe-hero-image > img,
.card-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.alert {
  padding: 12px 15px;
  color: var(--muted);
  border-left: 3px solid var(--tomato);
  background: var(--cream);
}
.google-login-button { width: 100%; min-height: 47px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 12px; font-weight: 700; }
.google-login-button:hover { border-color: var(--sage); box-shadow: 0 7px 20px rgb(37 49 41 / .1); }
.google-login-button svg { width: 20px; height: 20px; }
.auth-divider { margin: 20px 0; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.admin-section-heading p { margin: .35rem 0 0; color: var(--color-muted); }
.admin-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.admin-card-grid article, .admin-empty { padding: 1.5rem; border: 1px solid var(--color-line); background: var(--color-paper); }
.admin-card-grid article { display: flex; flex-direction: column; gap: .6rem; }
.admin-card-grid span, .admin-empty p { color: var(--color-muted); font-size: .85rem; }
.admin-card-grid a { color: var(--color-tomato); font-size: .78rem; font-weight: 700; }
.admin-edit-page { min-height: 100vh; padding: 2rem max(1.25rem, 5vw) 5rem; background: #f3eee4; color: var(--color-ink); }
.admin-edit-page > header { max-width: 1180px; margin: 0 auto 2rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.admin-edit-page > header > div { display: grid; gap: .45rem; }
.admin-edit-page > header h1 { margin: 0; font: 3rem var(--font-display); }
.admin-edit-page > header p { margin: 0; color: var(--color-muted); }
.admin-edit-page > header a { color: var(--color-tomato); font-weight: 700; }
.recipe-admin-editor { max-width: 1180px; margin: 0 auto; display: grid; gap: 1rem; }
.recipe-admin-editor > section { padding: 1.5rem; border: 1px solid var(--color-line); background: var(--color-paper); }
.admin-editor-title { display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; margin-bottom: 1.25rem; }
.admin-editor-title > span { color: var(--color-tomato); font-family: var(--font-display); font-size: 1.3rem; }
.admin-editor-title h2 { margin: 0; font: 1.7rem var(--font-display); }
.admin-editor-title p { margin: .25rem 0 0; color: var(--color-muted); font-size: .85rem; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.admin-form-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-form-grid label { display: grid; gap: .35rem; font-size: .78rem; font-weight: 700; }
.admin-form-grid label.wide { grid-column: 1 / -1; }
.admin-form-grid input, .admin-form-grid textarea, .admin-form-grid select,
.admin-repeat-row input, .admin-repeat-row textarea, .admin-repeat-row select {
  width: 100%; border: 1px solid var(--color-line); background: var(--color-paper);
  color: var(--color-ink); padding: .72rem; font: inherit;
}
.admin-form-grid textarea { resize: vertical; min-height: 5.5rem; }
.admin-recipe-image-preview { width: min(100%, 720px); margin: 0 0 1.25rem; }
.admin-recipe-image-preview img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border: 1px solid var(--color-line); }
.admin-recipe-image-preview figcaption { margin-top: .45rem; color: var(--color-muted); font-size: .75rem; }
.admin-recipe-image-preview.approval { width: min(100%, 560px); }
.admin-repeat-list { display: grid; gap: .65rem; }
.admin-repeat-row { display: grid; gap: .55rem; align-items: center; padding: .8rem; background: var(--color-cream); border: 1px solid var(--color-line); }
.admin-repeat-row.ingredient { grid-template-columns: 1.2fr 1fr .55fr .75fr 1.4fr .65fr auto auto; }
.admin-repeat-row.step { grid-template-columns: .8fr 2fr .35fr auto; }
.admin-repeat-row.faq { grid-template-columns: 1fr 2fr auto; }
.admin-repeat-row textarea { min-height: 3.25rem; resize: vertical; }
.admin-repeat-row button, .admin-add-button { border: 1px solid var(--color-line); background: var(--color-paper); color: var(--color-tomato); padding: .62rem .75rem; font: inherit; font-size: .75rem; cursor: pointer; }
.inline-check { display: flex; align-items: center; gap: .35rem; font-size: .72rem; white-space: nowrap; }
.inline-check input { width: auto; }
.admin-add-button { margin-top: .8rem; font-weight: 700; }
.admin-editor-save { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--color-line); background: color-mix(in srgb, var(--color-paper) 95%, transparent); box-shadow: 0 -8px 25px rgb(37 49 41 / .08); }
.admin-approval-panel { max-width: 1180px; margin: 1rem auto 0; padding: 1.5rem; border: 1px solid var(--color-line); background: var(--color-paper); }
.admin-delete-panel { max-width: 1180px; margin: 1rem auto 0; padding: 1.5rem; border: 1px solid #b63d32; background: var(--color-paper); }
.admin-delete-button { padding: .8rem 1.1rem; border: 1px solid #a52d24; color: #fff; background: #a52d24; font: inherit; font-size: .75rem; font-weight: 700; cursor: pointer; }
.admin-delete-button:hover { background: #812219; }
.admin-approval-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.admin-approval-actions form { display: grid; align-content: start; gap: .75rem; padding: 1rem; border: 1px solid var(--color-line); background: var(--color-cream); }
.admin-approval-actions label { display: grid; gap: .35rem; font-size: .78rem; font-weight: 700; }
.admin-approval-actions input, .admin-approval-actions textarea { width: 100%; min-height: 43px; padding: .7rem; border: 1px solid var(--color-line); color: var(--color-ink); background: var(--color-paper); }
.admin-approval-actions textarea { min-height: 84px; resize: vertical; }
.admin-approval-actions small, .admin-approval-actions [role=status] { color: var(--color-muted); }
.admin-subsection, .admin-new-price { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-line); }
.admin-price-history { display: grid; gap: .55rem; max-height: 430px; overflow-y: auto; }
.admin-price-history article { display: grid; grid-template-columns: 1fr 1.4fr 180px; gap: 1rem; align-items: center; padding: .85rem; border: 1px solid var(--color-line); background: var(--color-cream); }
.recipe-admin-editor:not(.ingredient-admin-editor) .admin-price-history article { grid-template-columns: 1fr repeat(3,minmax(120px,1fr)); }
.admin-price-history strong, .admin-price-history small { display: block; }
.admin-price-history small { margin-top: .25rem; color: var(--color-muted); font-size: .74rem; overflow-wrap: anywhere; }
.admin-price-history label { display: grid; gap: .3rem; font-size: .72rem; font-weight: 700; }
.admin-price-history select { border: 1px solid var(--color-line); background: var(--color-paper); color: var(--color-ink); padding: .55rem; }
.admin-price-toggle { display: flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-weight: 700; }
.admin-translation-list { display: grid; gap: .75rem; }
.admin-translation-list details { border: 1px solid var(--color-line); background: var(--color-cream); }
.admin-translation-list summary { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; padding: .9rem 1rem; cursor: pointer; }
.admin-translation-list summary em { color: var(--color-muted); font-size: .72rem; font-style: normal; }
.admin-translation-fields { display: grid; gap: 1rem; padding: 1rem; border-top: 1px solid var(--color-line); background: var(--color-paper); }
.admin-translation-fields h3 { margin: .5rem 0 0; font: 1.2rem var(--font-display); }
.admin-translation-pair { display: grid; grid-template-columns: .7fr 1fr 2fr; gap: .6rem; align-items: center; }
.admin-translation-pair.compact { grid-template-columns: .7fr 1fr 1fr; }
.admin-translation-pair small { color: var(--color-muted); }
.admin-translation-pair input, .admin-translation-pair textarea { width: 100%; border: 1px solid var(--color-line); background: var(--color-paper); color: var(--color-ink); padding: .65rem; font: inherit; }
.admin-ingredient-translation { display: grid; gap: .65rem; padding: 1rem; border: 1px solid var(--color-line); background: var(--color-cream); }
.admin-ingredient-translation label { display: grid; gap: .3rem; }

@media (max-width: 1050px) {
  .admin-form-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-repeat-row.ingredient { grid-template-columns: 1fr 1fr 100px 1fr; }
  .admin-repeat-row.step, .admin-repeat-row.faq { grid-template-columns: 1fr; }
  .admin-price-history article { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-shell > aside { display: flex; position: static; flex-direction: row; overflow-x: auto; padding: .8rem; }
  .admin-shell aside .brand { display: none; }
  .admin-shell aside > a { flex: 0 0 auto; }
  .admin-card-grid { grid-template-columns: 1fr 1fr; }
  .admin-edit-page > header { flex-direction: column; }
}
@media (max-width: 620px) {
  .admin-form-grid, .admin-form-grid.compact, .admin-card-grid, .admin-repeat-row.ingredient, .admin-approval-actions { grid-template-columns: 1fr; }
  .admin-price-history article { grid-template-columns: 1fr; }
  .admin-translation-pair, .admin-translation-pair.compact { grid-template-columns: 1fr; }
  .admin-editor-save { align-items: stretch; flex-direction: column; }
}

/* Guia editorial de massas */
.dough-catalog, .dough-detail { max-width: 1248px; margin: 0 auto; padding: 28px 28px 92px; }
.dough-hero { margin-top: 22px; padding: 64px clamp(28px, 6vw, 74px); display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; align-items: end; color: white; background: var(--ink); }
.dough-hero h1, .dough-detail-hero h1 { margin: 13px 0 22px; font: clamp(48px, 6.2vw, 78px)/.98 var(--serif); letter-spacing: -.025em; }
.dough-hero h1 em, .dough-detail-hero h1 em { display: block; color: #e6ad99; font-weight: 400; }
.dough-hero p { max-width: 690px; margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.75; }
.dough-hero dl { margin: 0; display: grid; gap: 18px; }
.dough-hero dl div { padding-top: 15px; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.25); }
.dough-hero dt { color: #e6ad99; font: 34px var(--serif); }
.dough-hero dd { margin: 0; color: rgba(255,255,255,.68); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.dough-filters { margin: 42px 0 22px; padding: 22px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 15px; align-items: end; border: 1px solid var(--line); background: var(--cream); }
.dough-filters label:not(.dough-check) { display: grid; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.dough-filters input[type=search], .dough-filters select { width: 100%; height: 45px; padding: 0 13px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); font: 12px var(--rounded); }
.dough-check { height: 43px; display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 11px; font-weight: 700; }
.dough-check input { width: 17px; height: 17px; accent-color: var(--tomato); }
.dough-filters button { min-height: 43px; border: 1px solid var(--tomato); color: white; background: var(--tomato); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.dough-filters > a { min-height: 43px; display: grid; place-items: center; color: var(--tomato); border: 1px solid var(--tomato); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.dough-results-heading { margin: 28px 0 20px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.dough-results-heading p { margin: 0; font: 24px var(--serif); }
.dough-results-heading p strong { color: var(--tomato); }
.dough-results-heading small { color: var(--muted); }
.dough-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dough-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.dough-card[hidden] { display: none; }
.dough-card > a { height: 100%; min-height: 410px; padding: 28px; display: flex; flex-direction: column; transition: background .22s, transform .22s; }
.dough-card > a:hover { background: var(--cream); }
.dough-card-number { align-self: end; color: var(--line); font: 48px/1 var(--serif); transition: color .22s; }
.dough-card:hover .dough-card-number { color: var(--tomato); }
.dough-card h2 { margin: 12px 0 12px; font: 30px/1.1 var(--serif); }
.dough-card p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.dough-card ul { margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.dough-card li, .dough-tags span { padding: 5px 8px; color: var(--sage); border: 1px solid var(--line); border-radius: 999px; font-size: 9px; }
.dough-card footer { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 7px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.dough-card footer b { width: 100%; margin-top: 7px; color: var(--tomato); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.dough-empty, .dough-install-note { margin: 30px 0; padding: 40px; text-align: center; border: 1px solid var(--line); background: var(--cream); }
.dough-install-note h2 { font: 34px var(--serif); }
.dough-safety { margin-top: 36px; padding: 24px 28px; display: grid; grid-template-columns: 190px 1fr; gap: 24px; color: #fff; background: var(--tomato); }
.dough-safety strong { font: 23px var(--serif); }
.dough-safety p { margin: 0; color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.65; }

.dough-detail-hero { margin-top: 22px; padding: 52px 0 46px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; border-bottom: 1px solid var(--line); }
.dough-detail-hero h1 { color: var(--ink); }
.dough-detail-hero h1 em { color: var(--tomato); font-size: .68em; }
.dough-detail-hero p { max-width: 740px; color: var(--muted); line-height: 1.75; }
.dough-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.dough-detail-hero dl { margin: 0; align-self: end; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dough-detail-hero dl div { min-height: 96px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dough-detail-hero dt { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.dough-detail-hero dd { margin: 8px 0 0; font: 20px var(--serif); }
.dough-detail-layout { padding: 64px 0; display: grid; grid-template-columns: 330px 1fr; gap: 70px; align-items: start; }
.dough-ingredients { position: sticky; top: 105px; padding: 29px; border: 1px solid var(--line); background: var(--cream); }
.dough-ingredients h2 { margin: 8px 0 20px; font: 34px var(--serif); }
.dough-ingredients ul { margin: 0; padding: 0; list-style: none; }
.dough-ingredients li { padding: 12px 0; display: grid; grid-template-columns: 82px 1fr; gap: 10px; border-top: 1px solid var(--line); font-size: 12px; }
.dough-ingredients li strong { color: var(--tomato); }
.dough-ingredients li small { margin-top: 3px; display: block; color: var(--muted); line-height: 1.4; }
.dough-ingredients > div { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sage); }
.dough-ingredients > div p { margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.dough-method .editorial-heading { margin-bottom: 18px; }
.dough-method ol { margin: 0; padding: 0; list-style: none; }
.dough-method li { padding: 26px 0; display: grid; grid-template-columns: 56px 1fr; gap: 22px; border-top: 1px solid var(--line); }
.dough-method li > span { color: var(--tomato); font: 28px var(--serif); }
.dough-method h3 { margin: 0 0 8px; font: 25px var(--serif); }
.dough-method p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.dough-method small { margin-top: 12px; padding: 10px 13px; display: block; color: var(--ink); border-left: 2px solid var(--sage); background: var(--cream); line-height: 1.55; }
.dough-exact-point { margin: 10px 0 68px; padding: 44px clamp(28px, 5vw, 65px); color: white; background: var(--ink); }
.dough-exact-point h2 { margin: 8px 0 12px; color: #e6ad99; font: 42px var(--serif); }
.dough-exact-point p { max-width: 900px; margin: 0; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.75; }
.dough-notes > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dough-notes article { padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dough-notes h3 { margin: 0 0 9px; font: 22px var(--serif); }
.dough-notes p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.dough-sources { margin-top: 50px; padding: 28px; border-left: 3px solid var(--sage); background: var(--cream); }
.dough-sources h2 { margin: 0; font: 26px var(--serif); }
.dough-sources p, .dough-sources li { color: var(--muted); font-size: 11px; line-height: 1.6; }
.dough-sources a { color: var(--tomato); font-weight: 700; }
.dough-detail-back { margin-top: 38px; }

@media (max-width: 980px) {
  .dough-hero, .dough-detail-hero { grid-template-columns: 1fr; gap: 38px; }
  .dough-filters { grid-template-columns: 1fr 1fr; }
  .dough-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dough-detail-layout { grid-template-columns: 280px 1fr; gap: 38px; }
  .dough-notes > div:last-child { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .dough-catalog, .dough-detail { padding-left: 17px; padding-right: 17px; }
  .dough-hero { padding: 38px 24px; }
  .dough-hero h1, .dough-detail-hero h1 { font-size: 47px; }
  .dough-filters, .dough-grid, .dough-detail-layout, .dough-notes > div:last-child { grid-template-columns: 1fr; }
  .dough-card > a { min-height: 355px; }
  .dough-results-heading, .dough-safety { align-items: start; grid-template-columns: 1fr; flex-direction: column; }
  .dough-detail-hero { padding-top: 34px; }
  .dough-detail-hero dl { grid-template-columns: 1fr 1fr; }
  .dough-detail-layout { padding-top: 38px; }
  .dough-ingredients { position: static; }
  .dough-method li { grid-template-columns: 42px 1fr; gap: 12px; }
}

/* Redesign 2026 — guia de massas alinhado às páginas de receitas */
.dough-catalog, .dough-detail { max-width: 1320px; padding: 34px 36px 108px; }
.dough-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 8px; padding: clamp(46px, 6vw, 76px); grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); align-items: center; color: var(--ink); border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, var(--paper) 0%, var(--cream) 58%, #e7ebdf 100%); box-shadow: 0 28px 75px rgb(48 61 51 / .11); }
.dough-hero::before, .dough-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.dough-hero::before { width: 330px; height: 330px; right: -135px; top: -175px; border: 70px solid rgb(174 188 157 / .22); }
.dough-hero::after { width: 170px; height: 170px; left: 48%; bottom: -125px; background: radial-gradient(circle at 35% 35%, rgb(225 159 132 / .28), transparent 68%); }
.dough-hero .eyebrow { color: var(--tomato); }
.dough-hero h1 { max-width: 820px; margin-top: 16px; font-size: clamp(50px, 6vw, 78px); }
.dough-hero h1 em { color: var(--tomato); }
.dough-hero p { max-width: 720px; color: var(--muted); font-size: 15px; }
.dough-hero dl { position: relative; z-index: 1; gap: 10px; }
.dough-hero dl div { min-height: 84px; padding: 17px 19px; align-items: center; border: 1px solid rgb(79 100 84 / .13); border-radius: 17px; background: rgb(255 255 255 / .58); box-shadow: 0 10px 25px rgb(46 60 49 / .06); backdrop-filter: blur(8px); }
.dough-hero dt { color: var(--tomato); font-size: 31px; }
.dough-hero dd { max-width: 115px; color: var(--muted); line-height: 1.45; text-align: right; }

.dough-filters { margin-top: 32px; padding: 20px; border-radius: 22px; background: var(--paper); box-shadow: 0 16px 42px rgb(42 54 45 / .08); }
.dough-filters input[type=search], .dough-filters select { height: 48px; border-radius: 12px; background: var(--cream); transition: border-color .2s, box-shadow .2s, background .2s; }
.dough-filters input[type=search]:focus, .dough-filters select:focus { outline: 0; border-color: var(--sage); background: var(--paper); box-shadow: 0 0 0 3px rgb(92 116 96 / .12); }
.dough-check { min-height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.dough-filters button, .dough-filters > a { min-height: 46px; border-radius: 12px; transition: transform .2s, box-shadow .2s, background .2s; }
.dough-filters button:hover, .dough-filters > a:hover { transform: translateY(-1px); box-shadow: 0 9px 22px rgb(191 77 50 / .18); }
.dough-results-heading { margin-top: 38px; }
.dough-grid { gap: 18px; border: 0; }
.dough-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 32px rgb(42 54 45 / .065); transition: border-color .25s, box-shadow .25s, transform .25s; }
.dough-card:hover { border-color: rgb(191 77 50 / .35); box-shadow: 0 20px 45px rgb(42 54 45 / .12); transform: translateY(-4px); }
.dough-card > a { min-height: 370px; padding: 27px; }
.dough-card > a:hover { background: linear-gradient(145deg, var(--paper), var(--cream)); }
.dough-card-number { color: rgb(83 108 88 / .17); }
.dough-card h2 { font-size: 29px; }
.dough-card li, .dough-tags span { background: rgb(82 107 87 / .055); }
.dough-safety { border: 1px solid rgb(82 107 87 / .19); border-left: 4px solid var(--sage); border-radius: 18px; color: var(--ink); background: linear-gradient(110deg, var(--cream), var(--paper)); box-shadow: 0 12px 30px rgb(42 54 45 / .055); }
.dough-safety p { color: var(--muted); }

.dough-detail-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 4px; padding: 46px 36px 54px; grid-template-columns: minmax(0, 1fr) 210px; align-items: center; gap: 54px; border: 0; }
.dough-detail-hero::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 1px; right: 40px; bottom: 24px; background: linear-gradient(90deg, transparent, var(--line)); transform: rotate(-14deg); }
.dough-detail-copy { min-width: 0; max-width: 850px; }
.dough-detail-hero h1 { margin: 14px 0 22px; font-size: clamp(52px, 6vw, 76px); }
.dough-detail-hero h1 em { max-width: 730px; margin-top: 9px; font-size: .55em; line-height: 1.13; }
.dough-detail-hero p { max-width: 700px; margin-bottom: 24px; font-size: 15px; }
.dough-detail-signature { width: 190px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle at 38% 32%, var(--paper), var(--cream)); box-shadow: 0 24px 55px rgb(44 58 47 / .11), inset 0 0 0 13px rgb(255 255 255 / .35); }
.dough-detail-signature span { color: var(--tomato); font: 72px/.82 var(--serif); }
.dough-detail-signature small { margin-top: 15px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.dough-quick-facts { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; background: var(--cream); box-shadow: 0 12px 30px rgb(45 58 48 / .055); }
.dough-quick-facts > div { border-bottom: 0; }
.dough-detail-layout { padding: 72px 36px; grid-template-columns: minmax(0, 1fr) 330px; gap: 82px; }
.dough-method { grid-column: 1; grid-row: 1; }
.dough-ingredients { grid-column: 2; grid-row: 1; }

.dough-ingredients.nutrition-card { position: sticky; top: 100px; width: 100%; padding: 28px; border-radius: 24px; }
.dough-ingredients > .nutrition-topline { margin: 0; padding: 0; border: 0; }
.dough-ingredients .nutrition-topline b { text-transform: uppercase; }
.dough-ingredients h2 { margin: 11px 0 4px; font: 700 29px/1.12 var(--rounded); }
.dough-ingredients-intro { margin: 0 0 17px; }
.dough-ingredients ul { position: relative; z-index: 1; }
.dough-ingredients li { padding: 13px 0; grid-template-columns: minmax(64px, 82px) 1fr; border-color: rgb(82 102 87 / .2); font-size: 11px; line-height: 1.45; }
.dough-ingredients li strong { color: var(--tomato); font-weight: 800; }
.dough-ingredients li small { color: var(--muted); }
.dough-ingredients > .dough-storage { margin-top: 19px; padding: 15px; border: 0; border-radius: 14px; background: rgb(68 87 73 / .07); }
.dough-ingredients > .dough-storage > strong { color: var(--tomato); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.dough-ingredients > .dough-storage p { margin: 5px 0 0; color: var(--muted); }
.dough-method .editorial-heading { margin-bottom: 20px; }
.dough-method li { position: relative; padding: 0 0 38px; grid-template-columns: 48px 1fr; gap: 20px; border: 0; }
.dough-method li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 49px; bottom: 0; border-left: 1px dashed var(--line); }
.dough-method li > span { z-index: 1; width: 47px; height: 47px; display: grid; place-items: center; color: var(--tomato); border: 1px solid var(--sage); border-radius: 50%; background: var(--paper); font: 18px var(--serif); }
.dough-method h3 { margin-top: 3px; font-size: 22px; }
.dough-method small { border-radius: 0 10px 10px 0; }

.dough-exact-point { position: relative; isolation: isolate; overflow: hidden; margin: 0 36px 76px; padding: 42px clamp(30px, 5vw, 62px); color: var(--ink); border: 1px solid var(--line); border-left: 5px solid var(--tomato); border-radius: 24px; background: linear-gradient(125deg, var(--paper), var(--cream) 72%, #e6ebdf); box-shadow: 0 18px 48px rgb(43 56 46 / .09); }
.dough-exact-point::after { content: ""; position: absolute; z-index: -1; width: 190px; height: 190px; right: -64px; top: -82px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgb(226 162 136 / .36), rgb(187 77 52 / .1) 56%, transparent 70%); animation: nutrition-float 7s ease-in-out infinite; }
.dough-exact-point .eyebrow { color: var(--tomato); }
.dough-exact-point h2 { margin: 8px 0 12px; color: var(--ink); font-size: 42px; }
.dough-exact-point p { color: var(--muted); font-size: 15px; }
.dough-notes { margin: 0 36px; }
.dough-notes > div:last-child { gap: 15px; border: 0; }
.dough-notes article { border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: 0 10px 27px rgb(42 54 45 / .05); }
.dough-sources, .dough-detail-back { margin-left: 36px; margin-right: 36px; }
.dough-sources { border-radius: 0 18px 18px 0; }

:root[data-theme="dark"] .dough-hero { background: linear-gradient(135deg, #18231c, #202e25 62%, #27382c); }
:root[data-theme="dark"] .dough-hero dl div { border-color: rgb(255 255 255 / .11); background: rgb(255 255 255 / .055); }
:root[data-theme="dark"] .dough-card, :root[data-theme="dark"] .dough-notes article { box-shadow: none; }
:root[data-theme="dark"] .dough-detail-signature { background: radial-gradient(circle at 38% 32%, #26352a, #172019); box-shadow: inset 0 0 0 13px rgb(255 255 255 / .025); }
:root[data-theme="dark"] .dough-exact-point { background: linear-gradient(125deg, #18231c, #202d24 72%, #27382c); }
:root[data-theme="dark"] .dough-ingredients li { border-color: rgb(255 255 255 / .13); }
:root[data-theme="dark"] .dough-ingredients > .dough-storage { background: rgb(255 255 255 / .07); }

@media (max-width: 980px) {
  .dough-hero { grid-template-columns: 1fr; }
  .dough-hero dl { grid-template-columns: repeat(3, 1fr); }
  .dough-hero dl div { display: grid; align-content: center; }
  .dough-hero dd { max-width: none; text-align: left; }
  .dough-detail-hero { grid-template-columns: 1fr 160px; }
  .dough-detail-signature { width: 150px; }
  .dough-detail-signature span { font-size: 56px; }
  .dough-detail-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 42px; padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 760px) {
  .dough-catalog, .dough-detail { padding-left: 18px; padding-right: 18px; }
  .dough-hero { padding: 40px 24px; border-radius: 22px; }
  .dough-hero dl { grid-template-columns: 1fr; }
  .dough-hero dl div { min-height: 68px; display: flex; }
  .dough-hero dd { text-align: right; }
  .dough-detail-hero { padding: 30px 2px 38px; grid-template-columns: 1fr; }
  .dough-detail-hero h1 { overflow-wrap: anywhere; }
  .dough-detail-signature { display: none; }
  .dough-quick-facts { grid-template-columns: repeat(2, 1fr); padding: 9px; }
  .dough-quick-facts > div { padding: 10px; border-bottom: 1px solid var(--line); }
  .dough-quick-facts > :nth-child(2n) { border-right: 0; }
  .dough-quick-facts > :nth-last-child(-n+2) { border-bottom: 0; }
  .dough-quick-facts > :last-child { grid-column: auto; }
  .dough-detail-layout { padding: 48px 0; grid-template-columns: 1fr; }
  .dough-method, .dough-ingredients { grid-column: 1; }
  .dough-method { grid-row: 2; }
  .dough-ingredients.nutrition-card { position: static; top: auto; grid-row: 1; }
  .dough-ingredients .nutrition-topline { align-items: flex-start; flex-wrap: wrap; }
  .dough-ingredients .nutrition-topline b { max-width: 48%; text-align: right; white-space: normal; }
  .dough-exact-point, .dough-notes, .dough-sources, .dough-detail-back { margin-left: 0; margin-right: 0; }
  .dough-exact-point { padding: 34px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .dough-card, .dough-filters button, .dough-filters > a, .dough-exact-point::after { transition: none; animation: none; }
}
