:root {
  color-scheme: light;
  --ink: #252b23;
  --muted: #505b4e;
  --green: #185343;
  --wash: #e8f1e4;
  --paper: #fbf7ed;
  --line: #dedbcc;
  --white: #fff;
  --teal: #103e37;
  --plum: #382334;
  --gold: #ffb74f;
  --coral: #ac432b;
  --pale-gold: #ffedc4;
  --pale-coral: #f9e5d9;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
a { color: var(--green); text-underline-offset: .2em; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #8c5824; outline-offset: 3px; }
.wrap { width: min(1080px, 92%); margin-inline: auto; }
header { background: #fffdf7; border-top: 4px solid var(--coral); border-bottom: 1px solid var(--line); }
nav.wrap { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: 68px; flex-wrap: wrap; padding-block: .65rem; }
.brand { font-size: clamp(1.125rem, 2.1vw, 1.375rem); font-weight: 780; letter-spacing: -.035em; text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; }
.brand-mark { display: block; flex: none; width: 2.5rem; height: 2.5rem; }
header .nav-links { gap: .15rem; }
header .nav-links a { min-height: 44px; display: inline-flex; align-items: center; border-radius: 2rem; padding: .24rem .68rem; text-decoration: none; font-size: clamp(1rem, 1.55vw, 1.125rem); font-weight: 650; }
header .nav-links a:hover { background: var(--wash); }
header .nav-links a[aria-current="page"] { background: var(--teal); color: var(--white); }
header .nav-links a:last-child { border: 1px solid var(--line); }
.hero {
  background: #f9eddb;
  color: var(--plum);
}
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(1.3rem, 4vw, 3.6rem); padding-block: clamp(1.75rem, 4vw, 3.5rem); }
.hero-photo { margin: 0; padding: clamp(.75rem, 2.4vw, 1.5rem); background: #e6a143; border-radius: 1.25rem; color: #341f26; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.03; object-fit: cover; object-position: center 53%; border-radius: 50% 50% .55rem .55rem / 35% 35% .55rem .55rem; }
.hero-photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .7rem; margin-top: .65rem; font-size: .82rem; }
.hero-photo figcaption a { color: inherit; }
h1, h2 { line-height: 1.12; margin: 0; }
h1 { font: 500 clamp(2.5rem, 6vw, 4.8rem)/1.02 Georgia, serif; letter-spacing: -.05em; max-width: 18ch; }
h2 { font-size: 1.4rem; letter-spacing: -.025em; }
.hero h1 { max-width: 14ch; font: 500 clamp(2.8rem, 6vw, 5.75rem)/.96 Georgia, serif; letter-spacing: -.065em; }
.hero h1 em { display: block; font-weight: inherit; color: #943921; }
.hero-summary { max-width: 48ch; color: #513b3a; margin: 1.15rem 0 1.45rem; font-size: clamp(1rem, 2vw, 1.15rem); text-wrap: pretty; }
.hero :focus-visible { outline-color: var(--plum); }
.hero-search-row input:focus-visible { outline-color: var(--plum); outline-offset: -3px; }
.hero-search-row button:focus-visible { outline-color: var(--white); outline-offset: -5px; }
.hero .access-label { display: inline-flex; color: var(--plum); background: #f8cc80; border-radius: 2rem; padding: .28rem .72rem; font-size: .87rem; font-weight: 750; margin: 0 0 .9rem; }
.hero .search { max-width: 38rem; text-align: start; }
.search-help { margin: .2rem 0 .05rem; font-size: .87rem; color: #513b3a; }
.hero-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem; padding: .35rem; background: #fffaf0; border: 1px solid #a9845e; border-radius: .8rem; box-shadow: 0 .28rem 0 #e9c997; }
.hero-search-row input { width: 100%; min-width: 0; border: 0; }
.hero-search-row button { min-width: 5rem; padding-inline: clamp(.7rem, 2.5vw, 1.6rem); border-radius: .65rem; background: var(--plum); color: var(--white); border-color: var(--plum); }
.hero-search-row button:hover { background: #58344d; }
.quick-results { padding: .35rem .8rem; border: 1px solid #ffd097; border-radius: .75rem; background: #fffaf0; color: var(--ink); box-shadow: 0 .65rem 1.85rem #29132643; }
.quick-results ul { margin: 0; padding: 0; list-style: none; }
.quick-results a { display: block; padding-block: .5rem; color: var(--green); overflow-wrap: anywhere; }
.quick-results a:focus-visible { outline-color: var(--teal); outline-offset: 0; }
.quick-results li + li, #all-matches { border-top: 1px solid var(--line); }
.quick-results p { margin: .4rem 0; }
.hero .hero-source { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .55rem; font-size: .86rem; margin-top: .2rem; }
.hero-source select { min-width: 0; max-width: 100%; justify-self: start; font-size: .88rem; background: #fffaf0; padding-block: .28rem; }
.hero-examples { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .45rem; margin: .95rem 0 0; font-size: .9rem; }
.hero-examples a { border: 1px solid #a9845e; color: var(--plum); border-radius: 2rem; padding: .35rem .8rem; text-decoration: none; }
.hero-examples a:hover { background: var(--pale-gold); color: var(--plum); }
.home-sources { background: var(--plum); color: #fff8ef; }
.home-sources-inner, .home-source-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem clamp(.8rem, 3vw, 1.8rem); }
.home-sources-inner { justify-content: space-between; padding-block: .8rem; }
.home-sources a { color: inherit; }
.home-sources a:focus-visible { outline-color: #f8cc80; }
.home-record-count { font-weight: 750; }
.home-source-links { font-size: .9rem; }
.local-dishes { margin-top: clamp(1.65rem, 4vw, 3rem); }
.local-dishes h2 { color: var(--plum); font: 500 clamp(1.85rem, 3.5vw, 2.8rem)/1.1 Georgia, serif; margin-bottom: .9rem; }
.local-dish-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .8rem; }
.local-dish-links a { display: grid; align-content: start; gap: .35rem; padding: 1rem; background: var(--white); color: var(--teal); border: 1px solid var(--line); border-block-start: 4px solid var(--teal); border-radius: .75rem; text-decoration: none; }
.local-dish-links a:nth-child(2) { border-block-start-color: var(--coral); }
.local-dish-links a:nth-child(3) { border-block-start-color: var(--plum); }
.local-dish-links a:hover strong, .local-dish-links a:focus-visible strong { text-decoration: underline; }
.local-dish-links span { color: var(--muted); }
.section-intro figcaption { margin-top: .55rem; font-size: .82rem; }
#sources summary { cursor: pointer; font-weight: 650; }
.search { max-width: 760px; display: grid; gap: .4rem; }
.search label, .portion label { font-weight: 650; }
.controls, .portion { display: flex; gap: .65rem; align-items: end; flex-wrap: wrap; }
.controls input { flex: 1 1 240px; min-width: 0; }
input, select, button { min-height: 44px; border-radius: .5rem; padding: .55rem .8rem; border: 1px solid #82968a; color: var(--ink); background: var(--white); }
button { background: var(--green); color: white; border-color: var(--green); font-weight: 650; }
button:hover { background: #27694f; }
.catalog { padding-block: clamp(1.75rem, 4vw, 3rem); }
#result-title { scroll-margin-block-start: 1rem; overflow-wrap: anywhere; }
.food-answer { border-top: 4px solid var(--teal); }
.food-answer h3 { font-size: 1.35rem; margin: 0; }
.food-answer p { margin-block: .65rem; }
.food-answer-controls { display: flex; flex-wrap: wrap; gap: .7rem; }
.food-answer-controls label { display: grid; gap: .25rem; font-weight: 650; }
.food-answer-controls label:first-child { flex: 1 1 16rem; min-width: 0; }
.food-answer-controls select { width: 100%; min-width: 0; }
.food-answer-controls input { width: 11rem; max-width: 100%; }
.food-answer-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); gap: .55rem; margin-block: .85rem; }
.food-answer-values:empty { display: none; }
.food-answer-values div { background: var(--wash); border-radius: .55rem; padding: .65rem; }
.food-answer-values dd { margin: .15rem 0 0; font-size: 1.15rem; font-weight: 750; }
#online-recipe-list:empty { display: none; }
#online-recipe-list p { margin-block: .35rem 0; }
#online-recipe-list a { overflow-wrap: anywhere; }
.catalog-links { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; font-weight: 650; }
.catalog h2, #sources h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.summary { color: var(--muted); margin: .4rem 0 1.2rem; }
.list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: .9rem; }
.list li { min-width: 0; }
.list a { display: block; height: 100%; padding: 1.05rem 1.15rem; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: .7rem; background: white; text-decoration: none; }
.list li:nth-child(3n + 2) a { border-left-color: var(--coral); }
.list li:nth-child(3n) a { border-left-color: #c78018; }
.list a:hover { background: var(--wash); border-color: var(--green); }
.list strong { display: block; font-size: 1.05rem; }
.discover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2.5vw, 1.5rem); margin-top: clamp(1.3rem, 4vw, 3rem); }
.discover-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 1rem; text-decoration: none; }
.discover-card img { display: block; width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; object-position: center 55%; }
.discover-card div { position: relative; padding: clamp(1rem, 2.5vw, 1.55rem); padding-inline-end: 3.35rem; }
.discover-card h2 { font-size: clamp(1.35rem, 2.5vw, 1.9rem); text-underline-offset: .18em; }
.discover-card p { margin: .45rem 0 0; }
.discover-card:hover h2, .discover-card:focus-visible h2 { text-decoration: underline; }
.discover-arrow { position: absolute; inset-inline-end: 1rem; inset-block-start: 1rem; font-size: 1.55rem; line-height: 1; }
.discover-tables { background: var(--gold); color: var(--ink); }
.discover-recipes { background: #893824; color: #fff8ef; }
.home-story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem 2rem; align-items: center; background: var(--pale-coral); color: var(--plum); border-radius: 1rem; padding: clamp(1.2rem, 4vw, 2.5rem); }
.home-story h2 { font: 500 clamp(1.6rem, 4vw, 2.45rem)/1.1 Georgia, serif; }
.home-story p { margin: .5rem 0; }
.home-story a { color: var(--plum); font-weight: 700; }
.source-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; }
.source-grid section { background: var(--paper); border-radius: .7rem; padding: 1rem; }
.source-grid h3 { margin: 0; }
.meta, footer { color: var(--muted); }
.meta { font-size: .9rem; }
.detail { padding-block: 2rem 4rem; }
.detail h1 { margin-top: 1rem; font-size: clamp(2.3rem, 5vw, 4rem); max-width: 28ch; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); align-items: center; overflow: hidden; gap: clamp(1rem, 4vw, 2.65rem); margin: .75rem 0 1.7rem; padding: clamp(1rem, 4vw, 2rem); border-radius: 1rem; }
.section-intro h1 { margin-top: 0; }
.section-intro p { max-width: 52ch; margin-bottom: 0; }
.section-intro figure { margin: 0; }
.section-intro img { display: block; width: 100%; height: clamp(9rem, 21vw, 13rem); object-fit: cover; object-position: center 62%; border-radius: .65rem; }
.tables-intro { background: var(--wash); border-top: 4px solid var(--teal); }
.recipe-intro { background: var(--pale-coral); border-top: 4px solid var(--plum); }
.recipe-intro h1 { color: var(--plum); }
.surface { border: 1px solid var(--line); border-radius: .8rem; background: white; margin-block: 1.5rem; padding: clamp(1rem, 4vw, 1.9rem); }
.portion div { display: grid; gap: .35rem; }
.portion input { width: 11rem; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th, td { padding: .65rem .45rem; border-bottom: 1px solid var(--line); text-align: left; }
th:last-child, td:last-child { text-align: right; }
tbody th { font-weight: 500; }
footer { font-size: .95rem; border-top: 1px solid var(--line); padding-block: 1.5rem; background: #f3eddf; }
.site-footer { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: .9rem; }
.site-footer strong { display: block; color: var(--ink); }
.site-footer nav { font-weight: 650; }
[hidden] { display: none !important; }
@media (max-width: 540px) { .controls input { flex-basis: 100%; } }
#more { margin-top: 1rem; }
td:nth-last-child(2), thead th:nth-last-child(2) { text-align: right; }
thead th { font-size: .9rem; }
td:nth-last-child(-n+2) { font-variant-numeric: tabular-nums; }
.nav-links, .recipe-fields { display: flex; gap: .9rem; flex-wrap: wrap; }
.recipe-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.25rem; }
.recipe-fields { margin-top: 1rem; }
.recipe-fields label { flex: 1 1 170px; }
.recipe-fields input { display: block; width: 100%; margin-top: .25rem; }
#ingredient-search { margin-top: 1rem; }
.ingredient-results, .ingredient-list, .saved-recipes { list-style: none; padding: 0; }
.ingredient-results li, .ingredient-list li, .saved-recipes li { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.ingredient-results li, .saved-recipes li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.ingredient-list li > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; }
.ingredient-list input { width: 7.5rem; margin-inline-start: .4rem; }
.secondary { background: white; color: var(--green); }
.secondary:hover { background: var(--wash); }
.recipe-table { max-width: 100%; overflow-x: auto; }
.recipe-table th { overflow-wrap: anywhere; }
.recipe-table tbody td { text-align: right; }
.food-nutrient-table table { min-width: 340px; }
.example-list { display: grid; padding: 0; list-style: none; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(205px, 100%), 1fr)); }
.example-list button { width: 100%; height: 100%; text-align: left; }
.share-panel { margin-top: 1rem; }
.share-panel input { display: block; width: 100%; }
#comparison { scroll-margin-top: 1rem; }
#comparison .controls { margin-bottom: 1rem; }
#comparison select { margin-inline-start: .4rem; }
.comparison-ingredients { margin-top: 1.5rem; }
.comparison-ingredients summary { cursor: pointer; font-weight: 650; }
.dataset-nav { gap: .45rem; }
.dataset-nav a { border: 1px solid var(--line); border-radius: 2rem; background: var(--white); padding: .48rem .8rem; font-weight: 650; }
.dataset-nav a:hover { background: var(--wash); }
.dataset-region { margin-top: 2rem; }
.dataset-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: .85rem; padding: 0; list-style: none; }
.dataset { padding: .95rem 1.15rem; border: 1px solid var(--line); border-inline-start: 4px solid var(--teal); border-radius: .65rem; background: var(--white); }
.dataset-heading, .dataset-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .85rem; }
.dataset-heading { justify-content: space-between; }
.dataset-place { font-weight: 750; color: var(--teal); }
.country-flag { color: var(--ink); margin-inline-end: .18em; font-family: "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", sans-serif; }
.dataset-status { color: var(--plum); background: var(--pale-coral); border-radius: 2rem; padding: .12rem .55rem; font-size: .8rem; font-weight: 650; }
.dataset-searchable { background: var(--wash); color: var(--teal); }
.dataset .meta { margin: 0; }
.dataset h3 { margin: .55rem 0 .2rem; font-size: 1.1rem; line-height: 1.25; }
.dataset-actions { margin: .65rem 0 0; font-weight: 650; }
.dataset-filter { margin-top: 1.25rem; }
.dataset-filter label { display: block; font-weight: 650; margin-bottom: .35rem; }
.dataset-filter input { width: min(100%, 24rem); }
@media (max-width: 800px) {
  .recipe-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 720px) {
  .hero-layout, .discover, .home-story { grid-template-columns: minmax(0, 1fr); }
  .hero-photo img { aspect-ratio: 1.45; }
}
@media (max-width: 600px) {
  .section-intro { grid-template-columns: minmax(0, 1fr); }
  .section-intro img { height: 10rem; }
}
.contribute-intro { max-width: 47rem; padding: clamp(1.1rem, 4vw, 2rem); background: var(--pale-coral); border-radius: 1rem; }
.contribute-intro h1 { margin-top: 0; }
.contribution-surface { max-width: 53rem; }
.contact-intro { background: linear-gradient(117deg, var(--wash), #f6eacf); border-radius: 1.15rem; padding: clamp(1.2rem, 4vw, 2.5rem); }
.contact-intro h1 { margin-top: 0; color: #18382e; font: 740 clamp(2.15rem, 5vw, 3.8rem)/1.04 system-ui, sans-serif; letter-spacing: -.06em; }
.contact-intro p { margin-bottom: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.contact-layout .surface { margin-top: 1rem; }
.contact-resources { background: var(--wash); }
.about-intro h1 { max-width: 16ch; }
.about-byline { display: grid; justify-items: start; gap: .15rem; }
.about-byline strong { color: var(--ink); font-size: 1.15rem; }
.about-story p { max-width: 64ch; margin: 0; line-height: 1.7; }
.about-story p + p { margin-top: 1rem; }
.about-links { margin: .8rem 0 0; padding-left: 1.15rem; }
.about-links li + li { margin-top: .5rem; }
#contact-form { display: grid; gap: .45rem; margin-top: .95rem; }
#contact-form label { font-weight: 650; }
#contact-form .consent { display: flex; align-items: start; gap: .55rem; font-weight: 500; }
#contact-form .consent input { min-height: auto; margin-top: .35rem; }
#contact-form .controls { margin-top: .45rem; }
#contact-form p { margin-block: .15rem; }
#contact-form textarea { font: inherit; border: 1px solid #82968a; border-radius: .5rem; padding: .65rem; resize: vertical; min-width: 0; }
@media (max-width: 640px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  header .nav-links a { padding-inline: .52rem; }
}
.contribution-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem,100%), 1fr)); gap: .85rem; }
#contribution > label, #contribution fieldset, #contribution > .controls { margin-top: 1rem; }
#contribution label { display: grid; gap: .3rem; font-weight: 640; }
#contribution input:not([type=checkbox]), #contribution select, #contribution textarea { width: 100%; min-width: 0; }
#contribution textarea { font: inherit; border: 1px solid #82968a; border-radius: .5rem; padding: .65rem; resize: vertical; }
#contribution fieldset { min-width: 0; border: 1px solid var(--line); border-radius: .65rem; padding: 1rem; }
#contribution legend { font-weight: 750; }
#contribution fieldset > label { margin-top: .8rem; }
#contribution .consent { display: flex; align-items: start; gap: .65rem; }
#contribution [type=checkbox] { min-height: auto; margin-top: .35rem; }
.intake-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.draft-surface { background: var(--pale-gold); }
#draft-request { display: grid; gap: .5rem; max-width: 50rem; }
#draft-request label, .recipe-method-label { font-weight: 650; }
#draft-request textarea, #recipe-method { font: inherit; width: 100%; border: 1px solid #82968a; border-radius: .5rem; padding: .65rem; resize: vertical; }
#draft-servings { width: 8rem; }
#draft-ingredients { display: grid; gap: .75rem; margin-block: 1rem; }
.draft-ingredient { min-width: 0; border: 1px solid var(--line); background: var(--white); border-radius: .65rem; padding: .8rem; }
.draft-ingredient legend { font-weight: 700; }
.draft-ingredient label { display: grid; gap: .2rem; }
.draft-ingredient select { width: 100%; }
.recipe-method-label { display: grid; gap: .35rem; margin-top: 1rem; }
#all-examples summary { cursor: pointer; font-weight: 650; }
.recipe-picker { background: var(--wash); }
.recipe-picker form label { display: grid; gap: .25rem; font-weight: 650; }
.recipe-picker input, .recipe-picker select { width: 100%; }
.picker-result { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: .7rem; }
.picker-result h3, .picker-result p { margin: 0; }
.picker-result p { margin-top: .2rem; }
.live-nutrition { position: sticky; top: 0; z-index: 3; padding: .6rem .85rem; border: 1px solid var(--line); border-top: 3px solid var(--coral); border-radius: .65rem; background: var(--paper); box-shadow: 0 .2rem .7rem #252b2314; }
.live-heading, .live-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .7rem; }
.live-heading h2 { font-size: 1.1rem; }
.live-heading h2 span { margin-left: .25rem; }
.live-actions { justify-content: flex-start; }
.live-actions a { font-weight: 650; }
.live-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; margin: .45rem 0 0; }
.live-values > div { min-width: 0; border-radius: .45rem; background: var(--wash); padding: .32rem .62rem; }
.live-values > div:nth-child(2) { background: var(--pale-gold); }
.live-values > div:nth-child(3) { background: var(--pale-coral); }
.live-values dt, .live-delta { font-size: .85rem; }
.live-values dd { font-weight: 740; font-variant-numeric: tabular-nums; margin: 0; }
.live-delta { display: block; color: var(--muted); font-weight: 500; }
.live-note { margin: .25rem 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.servings-field { flex: 1 1 170px; }
.serving-stepper { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .3rem; margin-top: .25rem; }
.serving-stepper button { min-width: 44px; }
.serving-stepper input { margin-top: 0; }
.ingredient-list input[type="range"] { width: min(100%, 25rem); margin: .2rem 0 0; padding: 0; accent-color: var(--green); }
.recipe-grid :is(input, textarea, button, a), #comparison { scroll-margin-block: 10.5rem 1rem; }
@media (max-width: 520px) {
  .live-values > div { padding-inline: .4rem; }
  .live-nutrition { padding-inline: .55rem; }
  .recipe-table table { min-width: 340px; }
  .recipe-picker form > label { min-width: 0; }
  .recipe-picker input, .recipe-picker select, #contact-form select { max-width: 100%; }
  .share-panel input, .recipe-method-label textarea { min-width: 0; }
}
@media (max-height: 480px) {
  .live-nutrition { position: static; }
  .recipe-grid :is(input, textarea, button, a), #comparison { scroll-margin-block: 1rem; }
}
