@import url('tykva-fonts/manrope.css');
@font-face { font-family: 'Comfortaa'; src: url('tykva-fonts/comfortaa-variable.ttf') format('truetype'); font-weight: 300 700; font-style: normal; font-display: swap; }
:root {
  --bg: oklch(64.730% .17446 151.600);
  --brand-green: oklch(65.730% .17446 151.600);
  --surface: oklch(100% 0 0);
  --fg: oklch(21.779% 0 0);
  --muted: oklch(46.400% 0 0);
  --border: oklch(86.686% 0 0);
  --accent: oklch(73.651% .17683 49.651);
  --accent-hover: oklch(from var(--accent) calc(l + .06) c h);
  --accent-ink: oklch(52% .14 49.651);
  --soft: oklch(97.015% 0 0);
  --control-border: oklch(55% 0 0);
  --success: oklch(43% .1 151.600);
  --success-bg: oklch(95% .035 151.600);
  --danger: oklch(43% .16 27);
  --danger-bg: oklch(97% .012 27);
  --font-display: 'Comfortaa', 'Avenir Next', sans-serif;
  --font-body: 'Manrope', 'Avenir Next', sans-serif;
  --font-ui: var(--font-body);
  --font-mono: 'SF Mono', ui-monospace, Menlo, monospace;
  --radius: 24px;
  --shadow: 0 8px 30px oklch(25% .03 151 / .07);
}
* { box-sizing: border-box; }
html { min-width: 320px; color-scheme: light; scrollbar-gutter: stable; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--font-body); isolation: isolate; }
body::before { content: ''; position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: .045; filter: brightness(0); background: url('tykva-designer/brand-pattern.png') right -160px top -130px / 940px auto repeat-y; }
body.modal-open { overflow: hidden; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
h1 { font-size: 40px; line-height: 1.25; letter-spacing: -.02em; }
h2 { font-size: 25px; line-height: 1.35; letter-spacing: -.01em; }
h3 { font-size: 20px; line-height: 1.4; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; color: inherit; }
button,a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button,input,select,textarea { min-height: 44px; }
button:disabled { cursor: not-allowed; opacity: .4; }
button { letter-spacing: .02em; }
svg { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--surface); outline-offset: 4px; }
.panel :focus-visible,.recipe-card :focus-visible,.summary-card :focus-visible,.dialog :focus-visible,.recipe-document :focus-visible,.onboarding-panel :focus-visible,.welcome-content :focus-visible { outline-color: var(--fg); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow { font-size: 13px; line-height: 1.5; letter-spacing: .02em; color: var(--muted); }
.muted,.small { color: var(--muted); }
.small { font-size: 13px; letter-spacing: .01em; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 1px solid var(--control-border); border-radius: 99px; background: var(--soft); color: var(--fg); font-size: 16px; font-weight: 600; line-height: 1.5; transition: background .16s,box-shadow .16s,transform .16s; }
.btn:hover { background: var(--surface); color: var(--fg); border-color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--surface); border-color: transparent; }
.btn.primary:hover { background: var(--accent-hover); color: var(--surface); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.btn.wide { width: 100%; }
.icon-btn { width: 44px; height: 44px; min-width: 44px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--control-border); background: var(--soft); color: var(--fg); }
.icon-btn:hover { background: var(--surface); color: var(--fg); border-color: var(--fg); }
.text-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: var(--fg); min-height: 44px; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; font-weight: 500; }
.text-btn:hover { text-decoration-thickness: 2px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 26px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--surface); }
.brand-mark { width: 44px; height: auto; flex-shrink: 0; }
.brand-link { display: inline-flex; min-height: 48px; align-items: center; }
.app-shell { max-width: 1440px; margin: auto; }
.app-header { min-height: 112px; padding: 26px 40px; max-width: 1260px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.desktop-nav { display: flex; gap: 6px; background: var(--surface); padding: 5px; border-radius: 99px; box-shadow: var(--shadow); }
.desktop-nav a,.desktop-nav button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 17px; border: 1px solid transparent; background: var(--surface); color: var(--fg); font-size: 13px; font-weight: 600; border-radius: 99px; }
.desktop-nav svg { width: 19px; height: 19px; }
.desktop-nav .active { background: var(--soft); box-shadow: inset 0 0 0 1px var(--control-border); }
.desktop-nav a:hover,.desktop-nav button:hover { border-color: var(--fg); }
.desktop-nav :focus-visible { outline-color: var(--fg); }
.help-link { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; min-height: 44px; font-size: 13px; color: var(--fg); }
.help-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.help-link svg { width: 20px; height: 20px; }
.content { max-width: 1260px; margin: auto; padding: 40px 40px 32px; min-width: 0; }
.page-heading { display: flex; gap: 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.page-heading h1 { color: var(--surface); font-size: clamp(32px,3.6vw,50px); line-height: 1.2; max-width: 25ch; }
.page-heading p { max-width: 64ch; margin-top: 16px; font-size: 16px; }
.on-green-copy { color: var(--fg); }
.menu-count { font-size: 13px; flex-shrink: 0; padding-bottom: 4px; }
.menu-controls { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.outline-light { min-height: 48px; border: 1px solid var(--surface); color: var(--surface); background: transparent; padding: 7px 19px; border-radius: 99px; display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; }
.outline-light:hover { background: oklch(from var(--bg) calc(l - .08) c h); color: var(--surface); }
.settings-round { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid transparent; border-radius: 50%; color: var(--fg); background: var(--surface); }
.settings-round:hover { border-color: var(--fg); box-shadow: 0 0 0 2px var(--surface); }
.settings-round:focus-visible { outline-color: var(--fg); }
.preference-summary { max-width: 100%; margin: 0 0 20px; background: var(--surface); border-radius: 16px; font-size: 13px; padding: 0 16px; }
.preference-summary summary { display: flex; align-items: center; gap: 10px; min-height: 48px; list-style: none; cursor: pointer; }
.preference-summary summary::-webkit-details-marker { display: none; }
.preference-summary summary svg { width: 18px; height: 18px; }
.preference-summary summary svg:last-child { margin-left: auto; }
.preference-summary summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.preference-summary :focus-visible { outline-color: var(--fg); }
.preference-values { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 16px; align-items: center; }
.preference-values > span { background: var(--soft); padding: 6px 12px; border-radius: 99px; overflow-wrap: anywhere; }
.preference-values > p { width: 100%; }
.basket-caption { display: flex; gap: 10px; align-items: center; color: var(--surface); font-size: 20px; font-weight: 600; margin: 22px 0; }
.basket-caption svg { width: 25px; height: 25px; }
.menu-layout { display: grid; grid-template-columns: minmax(0,1fr) 276px; gap: 28px; align-items: start; }
.menu-dishes { min-width: 0; }
.recipe-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 20px; }
.recipe-card { display: flex; flex-direction: column; padding: 12px; background: var(--surface); border-radius: 24px; min-width: 0; box-shadow: var(--shadow); transition: box-shadow .18s; }
.recipe-card:hover { box-shadow: 0 10px 32px oklch(25% .03 151 / .14); }
.recipe-photo { display: flex; align-items: center; justify-content: center; width: 100%; height: 210px; position: relative; border-radius: 16px; background: var(--soft); }
.recipe-photo img { max-height: 100%; width: auto; height: auto; max-width: 100%; border-radius: 12px; }
.photo-time { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); display: inline-flex; gap: 6px; align-items: center; border-radius: 99px; padding: 6px 11px; background: var(--surface); color: var(--fg); box-shadow: 0 2px 8px oklch(0% 0 0 / .1); font-size: 13px; font-weight: 600; }
.photo-time svg { width: 17px; height: 17px; }
.card-copy { padding: 15px 4px 10px; flex: 1; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.dish-number { color: var(--muted); font-size: 13px; letter-spacing: .01em; }
.tag { display: inline-flex; min-height: 26px; align-items: center; padding: 3px 8px; background: var(--soft); color: var(--muted); border-radius: 99px; font-size: 12px; letter-spacing: .01em; }
.card-title { display: block; font: 600 21px/1.35 var(--font-display); text-wrap: balance; overflow-wrap: anywhere; }
.card-title:hover { text-decoration: underline; text-underline-offset: 5px; }
.card-description { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 9px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 4px 0; }
.recipe-open { min-height: 44px; padding: 8px 16px; border: 1px solid var(--control-border); border-radius: 99px; display: inline-flex; align-items: center; gap: 10px; background: var(--soft); font-size: 15px; font-weight: 600; }
.recipe-open:hover { background: var(--surface); color: var(--fg); border-color: var(--fg); }
.recipe-open svg { width: 18px; height: 18px; }
.replace-btn { min-height: 44px; min-width: 44px; border: 1px solid transparent; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--fg); }
.replace-btn:hover { background: var(--surface); color: var(--fg); border-color: var(--fg); }
.menu-summary,.shopping-aside { position: sticky; top: 28px; }
.summary-card { padding: 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.summary-card h2 { font-size: 24px; margin-top: 8px; }
.summary-card > p { margin-top: 12px; color: var(--muted); font-size: 13px; }
.summary-list { padding: 0; margin: 24px 0; list-style: none; }
.summary-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.summary-list li span:last-child { flex-shrink: 0; }
.summary-note { font-size: 13px; letter-spacing: .01em; color: var(--muted); margin-top: 13px; text-align: center; }
.shared-note { margin-top: 22px; border-radius: 16px; background: var(--surface); color: var(--fg); display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; font-size: 13px; }
.shared-note b { font-weight: 600; }
.shared-note svg { width: 20px; height: 20px; margin-top: 3px; }
.carousel-dots,.menu-mobile-cta,.shopping-mobile-actions,.mobile-nav { display: none; }
.app-footnote { margin: 16px auto 0; max-width: 1260px; padding: 0 40px 32px; font-size: 13px; letter-spacing: .01em; color: var(--fg); }
.page-back { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--fg); margin: -12px 0 18px; font-size: 16px; }
.page-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-back svg { width: 20px; height: 20px; }
.recipe-document { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.recipe-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 36px; padding: 24px; }
.recipe-feature { border-radius: 18px; min-width: 0; display: flex; align-items: center; justify-content: center; background: var(--soft); }
.recipe-feature img { max-height: 420px; max-width: 100%; width: auto; height: auto; border-radius: 16px; }
.recipe-detail-title { padding: 20px 24px 20px 0; min-width: 0; }
.recipe-brand-mark { width: 50px; height: auto; margin-bottom: 20px; }
.recipe-detail-title .eyebrow { display: block; margin-bottom: 12px; }
.recipe-detail-title h1 { font-size: clamp(25px,3vw,40px); line-height: 1.3; letter-spacing: -.015em; }
.recipe-detail-title p { color: var(--muted); font-size: 16px; margin-top: 16px; max-width: 50ch; }
.recipe-detail-title .tag { margin-top: 20px; }
.detail-facts { display: flex; align-items: center; justify-content: space-around; gap: 20px; background: var(--accent); color: var(--fg); padding: 18px 24px; }
.detail-facts > span { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.portion-control { display: flex; align-items: center; justify-content: center; gap: 10px; }
.portion-control strong { font-size: 15px; min-width: 80px; text-align: center; font-weight: 600; }
.portion-control button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--fg); background: transparent; color: var(--fg); display: grid; place-items: center; }
.portion-control button:hover { background: var(--accent-hover); color: var(--surface); }
.portion-control svg { width: 18px; height: 18px; }
.recipe-document-body { display: grid; grid-template-columns: 320px minmax(0,1fr); align-items: start; gap: 40px; padding: 36px; }
.ingredient-panel { min-width: 0; }
.ingredient-note { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 12px 0 24px; }
.ingredient-list { list-style: none; margin: 0 0 24px; padding: 0; }
.ingredient-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.ingredient-list li > span:last-child { flex-shrink: 0; font-weight: 500; }
.equipment { padding: 17px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.equipment b { font-weight: 500; color: var(--fg); }
.steps { padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.step-number { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: var(--soft); color: var(--fg); display: grid; place-items: center; font-weight: 500; }
.steps li b { font-size: 15px; font-weight: 600; }
.steps p { margin-top: 6px; font-size: 15px; max-width: 65ch; }
.recipe-demo-note { color: var(--muted); font-size: 13px; margin-top: 24px; }
.return-menu { display: flex; width: fit-content; min-width: 260px; margin: 28px auto 0; }
.shopping-heading { margin-bottom: 24px; }
.shopping-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.shopping-badges > span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; background: var(--surface); color: var(--fg); border-radius: 99px; font-size: 13px; font-weight: 600; }
.shopping-badges svg { width: 18px; height: 18px; }
.shopping-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; align-items: start; gap: 32px; }
.shopping-checklist { display: grid; gap: 24px; min-width: 0; }
.panel { border-radius: var(--radius); background: var(--surface); color: var(--fg); box-shadow: var(--shadow); }
.shopping-overview { padding: 24px 28px 18px; }
.progress-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 13px; }
.progress-track { height: 8px; background: var(--soft); border-radius: 99px; margin: 14px 0; overflow: clip; }
.progress-fill { height: 100%; background: var(--success); border-radius: inherit; transition: width .2s; }
.shopping-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.segmented { display: flex; padding: 4px; border-radius: 99px; background: var(--soft); }
.segmented button { min-height: 44px; padding: 8px 16px; border: 1px solid transparent; background: transparent; color: var(--fg); border-radius: 99px; font-size: 13px; }
.segmented button.active { background: var(--surface); border-color: var(--control-border); }
.segmented button:hover { background: var(--surface); color: var(--fg); border-color: var(--fg); }
.shopping-paper { padding: 28px; }
.shopping-paper > h2 { margin-bottom: 26px; }
.shopping-paper > p { color: var(--muted); font-size: 13px; margin: -14px 0 24px; }
.shopping-group + .shopping-group { margin-top: 30px; }
.shopping-group h3 { font-size: 20px; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.shopping-group h3 > span { color: var(--muted); font: 400 13px/1.5 var(--font-body); }
.shopping-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); min-height: 72px; padding: 12px 0; cursor: pointer; }
.shopping-item:hover { background: var(--surface); color: var(--fg); box-shadow: inset 0 -1px 0 var(--fg); }
.shopping-item:hover .item-recipes { color: var(--fg); }
.shopping-item input { width: 20px; height: 20px; min-height: 20px; margin: 0; accent-color: var(--success); flex: 0 0 auto; cursor: pointer; }
.shopping-item:has(input:focus-visible) { outline: 3px solid var(--fg); outline-offset: 3px; }
.item-copy { min-width: 0; flex: 1; }
.item-name { display: block; font-size: 16px; }
.item-recipes { display: block; color: var(--muted); font-size: 12px; letter-spacing: .01em; margin-top: 3px; }
.item-amount { font-size: 15px; font-weight: 500; flex-shrink: 0; }
.shopping-item.checked .item-name { text-decoration: line-through; text-decoration-thickness: 1px; }
.shopping-item.checked { background: var(--success-bg); color: var(--fg); }
.shopping-item.checked:hover { background: var(--surface); color: var(--fg); }
.shopping-item.checked .item-recipes { color: var(--muted); }
.shopping-item.checked:hover .item-recipes { color: var(--fg); }
.mini-dish { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.mini-dish img { max-width: 58px; max-height: 72px; width: auto; height: auto; border-radius: 8px; }
.mini-dish > span { min-width: 0; flex: 1; }
.mini-dish b { font-size: 13px; font-weight: 600; display: block; }
.mini-dish small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .01em; margin-top: 4px; }
.mini-dish > svg { width: 18px; height: 18px; }
.mini-dish:hover b { text-decoration: underline; text-underline-offset: 4px; }
.shopping-aside .text-btn { margin-top: 12px; }
.desktop-copy { margin-top: 22px; }
.aside-note { font-size: 13px; margin: 18px 12px; color: var(--fg); }
.empty { text-align: center; padding: 40px 24px; }
.empty > svg { width: 42px; height: 42px; margin: 0 auto 20px; }
.empty > .designer-illustration { width: 100px; margin: 0 auto 20px; }
.empty p { color: var(--muted); margin: 14px auto 24px; max-width: 45ch; }
.empty .btn { margin-top: 8px; }
.result-panel { background: var(--surface); border-radius: var(--radius); }
.dialog { width: min(600px,calc(100% - 40px)); max-height: calc(100dvh - 48px); margin: auto; background: var(--surface); color: var(--fg); border: 0; border-radius: 24px; padding: 28px; box-shadow: 0 24px 80px oklch(10% .03 151 / .2); }
.dialog::backdrop { background: oklch(15% .03 151 / .5); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dialog-head h2 { font-size: 25px; padding-top: 6px; }
.dialog-head .icon-btn { flex-shrink: 0; }
.dialog-body > p { color: var(--muted); margin-bottom: 20px; max-width: 60ch; }
.dialog-actions { display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; font-size: 15px; }
.field input,.field select,.field textarea,.copy-fallback { width: 100%; min-width: 0; border: 1px solid var(--control-border); border-radius: 16px; background: var(--soft); color: var(--fg); padding: 12px 16px; }
.field input::placeholder { color: var(--muted); opacity: 1; }
.field small { color: var(--muted); font-size: 13px; }
.field-error { color: var(--danger); font-size: 13px; }
.replacement { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--border); }
.replacement img { max-width: 72px; max-height: 100px; width: auto; height: auto; border-radius: 10px; }
.replacement b { font-weight: 600; font-size: 16px; }
.replacement p { color: var(--muted); font-size: 13px; margin-top: 7px; }
.replacement > .btn { grid-column: 2; justify-self: start; }
.copy-fallback { min-height: 260px; resize: vertical; line-height: 1.7; font-size: 15px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: min(520px,calc(100% - 32px)); padding: 14px 20px; border-radius: 16px; background: var(--fg); color: var(--surface); box-shadow: var(--shadow); font-size: 14px; }
.skeleton { border-radius: 10px; height: 52px; margin: 16px 0; background: var(--soft); animation: breathe .8s ease-in-out infinite alternate; }
.loading-overlay { padding: 16px 0; }
.loading-overlay p { margin-bottom: 24px; }
.image-unavailable { min-height: 72px; color: var(--muted); }
@keyframes breathe { to { opacity: .4; } }
@media(min-width:1360px) { .menu-layout { grid-template-columns: minmax(0,1fr); } .recipe-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .menu-summary { position: static; } .menu-summary .summary-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0 36px; align-items: center; } .menu-summary .eyebrow { grid-column: 1; } .menu-summary .summary-card h2,.menu-summary .summary-card > p { grid-column: 1; } .menu-summary .summary-list { grid-column: 2; grid-row: 1 / span 4; margin: 0; } .menu-summary .summary-card .btn { grid-column: 1; width: fit-content; margin-top: 22px; } .menu-summary .summary-note { text-align: left; } .recipe-photo { height: 242px; } }
@media(max-width:1100px) { .app-header { gap: 16px; padding-inline: 28px; } .help-link span { display: none; } .desktop-nav a,.desktop-nav button { padding-inline: 13px; } .content { padding-inline: 28px; } .menu-layout { grid-template-columns: minmax(0,1fr); } .recipe-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; } .card-title { font-size: 20px; } .recipe-photo { height: 182px; } .menu-summary { position: static; max-width: 620px; } .menu-summary .summary-list { display: none; } .menu-summary .btn { margin-top: 22px; } .menu-summary .summary-note { text-align: left; } .menu-summary .summary-card { padding: 24px; } .recipe-document-body { grid-template-columns: 260px minmax(0,1fr); gap: 28px; padding: 28px; } .shopping-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 24px; } .shopping-paper { padding: 24px; } .detail-facts { gap: 12px; } }
@media(max-width:800px) { .app-header { min-height: 90px; padding: 20px 24px; } .desktop-nav a,.desktop-nav button { padding-inline: 11px; } .desktop-nav span { display: none; } .content { padding: 28px 24px; } .page-heading { align-items: flex-start; flex-direction: column; gap: 16px; } .menu-count { display: none; } .recipe-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .shopping-layout { grid-template-columns: minmax(0,1fr); } .shopping-aside { display: none; } .shopping-mobile-actions { display: grid; justify-items: center; gap: 10px; margin-top: 28px; } .shopping-mobile-actions .return-shopping-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; font-size: 16px; color: var(--fg); } .return-shopping-link:hover { text-decoration: underline; text-underline-offset: 4px; } .recipe-hero { gap: 24px; padding: 20px; } .recipe-detail-title { padding: 12px 0; } .recipe-detail-title h1 { font-size: 25px; } .recipe-detail-title p { font-size: 15px; } .recipe-document-body { grid-template-columns: minmax(0,1fr); gap: 36px; } .ingredient-panel { max-width: none; } .ingredient-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; } .ingredient-panel .btn { width: fit-content; } .ingredient-panel .summary-note { text-align: left; } .app-footnote { padding-inline: 24px; } }
@media(max-width:600px) {
  html { scrollbar-gutter: auto; }
  body { padding-bottom: calc(102px + env(safe-area-inset-bottom)); }
  body::before { background-size: 640px auto; background-position: left 50% top -170px; }
  .app-header { padding: calc(20px + env(safe-area-inset-top)) 20px 16px; min-height: 88px; }
  .brand { font-size: 25px; }.brand-mark { width: 36px; }
  .desktop-nav { display: none; }.help-link { width: 44px; padding: 0; justify-content: center; }
  .content { padding: 22px 20px 12px; }.page-heading { margin-bottom: 22px; }.page-heading h1 { font-size: 26px; line-height: 1.25; letter-spacing: -.02em; }.page-heading p { font-size: 14px; margin-top: 12px; }
  body[data-screen="menu"] .page-heading p { display: none; }
  .menu-controls { margin: 24px 0 18px; }.outline-light { font-size: 18px; min-height: 48px; padding-inline: 14px; }.settings-round { width: 46px; height: 46px; }
  .preference-summary { margin-bottom: 18px; font-size: 12px; }.preference-summary summary { min-height: 44px; }.preference-values { gap: 6px; }
  .basket-caption { font-size: 16px; line-height: 1.4; gap: 8px; margin: 22px 0; }.basket-caption svg { width: 23px; }
  .menu-layout { display: block; }.menu-summary { display: none; }
  .recipe-grid { display: flex; gap: 16px; align-items: stretch; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 12px; max-width: 100%; }.recipe-grid::-webkit-scrollbar { display: none; }
  .recipe-card { flex: 0 0 76%; scroll-snap-align: start; padding: 12px; border-radius: 24px; }.recipe-photo { height: 186px; }.photo-time { top: 10px; left: 10px; }.card-title { font-size: 20px; line-height: 1.3; }.card-copy { padding-top: 14px; }.card-description { font-size: 13px; min-height: 0; }.card-topline { display: none; }.dish-number,.tag { font-size: 11px; }.tag { letter-spacing: .01em; }.recipe-open { font-size: 16px; }.card-footer { padding-top: 8px; }
  .carousel-dots { display: flex; justify-content: center; margin: 6px 0 12px; }.carousel-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; }.carousel-dots span { width: 8px; height: 8px; border-radius: 99px; background: var(--surface); }.carousel-dots [aria-current="true"] span { width: 24px; height: 8px; }.carousel-dots button:hover span { box-shadow: 0 0 0 2px var(--fg); }
  .shared-note { margin-top: 8px; padding: 16px; font-size: 13px; }.menu-mobile-cta { display: flex; width: 100%; margin-top: 26px; font-size: 20px; min-height: 54px; }
  .mobile-nav { position: fixed; bottom: calc(16px + env(safe-area-inset-bottom)); left: 20px; right: 20px; z-index: 30; display: flex; justify-content: space-around; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 7px 10px; box-shadow: 0 6px 30px oklch(15% .06 151 / .14); }.mobile-nav a,.mobile-nav button { flex: 1; min-width: 0; min-height: 55px; border: 1px solid transparent; background: var(--surface); color: var(--fg); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; letter-spacing: .01em; }.mobile-nav svg { width: 24px; height: 24px; }.mobile-nav .active { background: var(--soft); border-color: var(--control-border); }.mobile-nav a:hover,.mobile-nav button:hover { border-color: var(--fg); }.mobile-nav :focus-visible { outline-color: var(--fg); }
  .app-footnote { padding: 16px 20px 8px; font-size: 12px; letter-spacing: .01em; }
  .page-back { font-size: 15px; margin: -8px 0 16px; }.recipe-hero { display: flex; flex-direction: column; padding: 0; gap: 0; }.recipe-feature { width: 100%; border-radius: 24px 24px 0 0; padding: 0; background: var(--soft); }.recipe-feature img { max-height: 340px; max-width: 100%; border-radius: 0; }.recipe-detail-title { text-align: center; padding: 24px 20px; }.recipe-brand-mark { width: 42px; margin: 0 auto 16px; }.recipe-detail-title .eyebrow { font-size: 11px; }.recipe-detail-title h1 { font-size: 25px; }.recipe-detail-title p { font-size: 14px; }.recipe-detail-title .tag { margin-top: 16px; }
  .detail-facts { padding: 14px 12px; gap: 12px; flex-wrap: wrap; }.detail-facts > span { font-size: 14px; gap: 6px; }.detail-facts > span svg { width: 20px; }.portion-control { gap: 7px; }.portion-control strong { min-width: 67px; font-size: 14px; }.portion-control button { width: 44px; height: 44px; }.recipe-document-body { padding: 26px 20px; gap: 34px; }.recipe-document h2 { font-size: 23px; text-align: center; }.ingredient-note { text-align: center; }.ingredient-list { display: block; }.ingredient-list li { font-size: 15px; }.ingredient-panel .btn { width: 100%; }.ingredient-panel .summary-note { text-align: center; }.steps li { gap: 12px; padding: 18px 0; }.steps p { font-size: 14px; }.step-number { width: 32px; height: 32px; font-size: 13px; }.recipe-demo-note { font-size: 12px; }.return-menu { width: 100%; }
  .shopping-heading h1 { font-size: 34px; }.shopping-heading p { font-size: 14px; }.shopping-badges { gap: 8px; margin-top: 16px; }.shopping-badges > span { font-size: 12px; padding: 5px 10px; }.shopping-checklist { gap: 20px; }.shopping-paper,.shopping-overview { padding: 22px 20px; }.shopping-paper h2 { font-size: 23px; margin-bottom: 26px; }.shopping-group h3 { font-size: 18px; }.shopping-toolbar { flex-wrap: wrap; gap: 4px 12px; }.segmented button { padding-inline: 13px; }.shopping-toolbar .text-btn { font-size: 12px; }.progress-caption { font-size: 13px; }.shopping-item { gap: 10px; min-height: 70px; }.item-name { font-size: 15px; }.item-recipes { display: none; }.item-amount { font-size: 14px; }.shopping-item input { width: 20px; height: 20px; }.shopping-paper > p { font-size: 13px; }.pantry-paper .shopping-group h3 { display: none; }
  .dialog { padding: 22px 20px; width: calc(100% - 32px); border-radius: 24px; }.dialog-head { gap: 12px; }.dialog-head h2 { font-size: 23px; }.dialog-head .icon-btn { width: 44px; }.dialog-body > p { font-size: 14px; }.dialog-actions { display: grid; grid-template-columns: 1fr; }.dialog-actions .primary { grid-row: 1; }.dialog-actions .btn { width: 100%; }.replacement { grid-template-columns: 64px minmax(0,1fr); gap: 12px; }.replacement img { max-width: 64px; }.replacement b { font-size: 15px; }.toast { bottom: calc(104px + env(safe-area-inset-bottom)); font-size: 13px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
