/* Joy Menu: a calm restaurant-style menu of things you enjoy (see ../APP_DESIGN.md).
   Accent: berry, two-tone #F9B4E4 → #C8459F. Light by default, dark when the system asks.
   No dark green or teal, no red alarms. */
:root {
  /* Favabeans base */
  --canvas: #F7F7F5;
  --surface: #FFFFFF;
  --surface-2: #F1F1EE;
  --surface-3: #E7E7E3;
  --ink: #1D1D1F;
  --ink-2: #57575F;
  --line: rgb(29 29 31 / .09);
  --line-2: rgb(29 29 31 / .17);
  --danger: #b3261e;
  --shadow-1: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px -14px rgb(0 0 0 / .12);
  --shadow-2: 0 2px 4px rgb(0 0 0 / .04), 0 24px 48px -22px rgb(0 0 0 / .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-card: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  /* This app's accent: berry */
  --berry-1: #F9B4E4;
  --berry-2: #C8459F;
  --accent: #B03A8C;
  --accent-ink: #FFFFFF;
  --accent-soft: #FCE7F5;
  --accent-text: #95307A;
  --focus: #B03A8C;

  /* The menu paper */
  --paper: #FFFCFB;
  --paper-glow: rgb(249 180 228 / .30);
  --frame: rgb(200 69 159 / .36);
  --frame-2: rgb(200 69 159 / .2);
  --leader: rgb(29 29 31 / .26);
  --badge-mix: 40%;
  --scrim: rgb(29 20 26 / .32);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    --canvas: #0C0C0E;
    --surface: #161619;
    --surface-2: #202024;
    --surface-3: #2A2A2F;
    --ink: #F2F2F4;
    --ink-2: #ABABB5;
    --line: rgb(255 255 255 / .09);
    --line-2: rgb(255 255 255 / .17);
    --danger: #ffb4ab;
    --shadow-1: 0 1px 0 rgb(255 255 255 / .04) inset, 0 8px 24px -12px rgb(0 0 0 / .6);
    --shadow-2: 0 1px 0 rgb(255 255 255 / .05) inset, 0 28px 56px -22px rgb(0 0 0 / .8);

    --accent: #F2A6DB;
    --accent-ink: #2A0E22;
    --accent-soft: #2B1B27;
    --accent-text: #F6BDE5;
    --focus: #F6BDE5;

    --paper: #18141A;
    --paper-glow: rgb(200 69 159 / .16);
    --frame: rgb(242 166 219 / .30);
    --frame-2: rgb(242 166 219 / .16);
    --leader: rgb(255 255 255 / .24);
    --badge-mix: 24%;
    --scrim: rgb(0 0 0 / .55);
    color-scheme: dark;
  }
}
:root:where([data-theme="dark"]) {
  --canvas: #0C0C0E;
  --surface: #161619;
  --surface-2: #202024;
  --surface-3: #2A2A2F;
  --ink: #F2F2F4;
  --ink-2: #ABABB5;
  --line: rgb(255 255 255 / .09);
  --line-2: rgb(255 255 255 / .17);
  --danger: #ffb4ab;
  --shadow-1: 0 1px 0 rgb(255 255 255 / .04) inset, 0 8px 24px -12px rgb(0 0 0 / .6);
  --shadow-2: 0 1px 0 rgb(255 255 255 / .05) inset, 0 28px 56px -22px rgb(0 0 0 / .8);

  --accent: #F2A6DB;
  --accent-ink: #2A0E22;
  --accent-soft: #2B1B27;
  --accent-text: #F6BDE5;
  --focus: #F6BDE5;

  --paper: #18141A;
  --paper-glow: rgb(200 69 159 / .16);
  --frame: rgb(242 166 219 / .30);
  --frame-2: rgb(242 166 219 / .16);
  --leader: rgb(255 255 255 / .24);
  --badge-mix: 24%;
  --scrim: rgb(0 0 0 / .55);
  color-scheme: dark;
}

/* Section colours: two-tone pairs, light → deep. Warm and cool take turns. */
[data-sec="starter"] { --c1: #FFCB8F; --c2: #F28A2E; }
[data-sec="main"]    { --c1: #F9B4E4; --c2: #C8459F; }
[data-sec="side"]    { --c1: #9CD8FF; --c2: #3398E6; }
[data-sec="dessert"] { --c1: #C3AEFF; --c2: #8467F2; }
[data-sec] {
  --c-text: color-mix(in srgb, var(--c2) 52%, var(--ink));
  --c-icon: color-mix(in srgb, var(--c2) 48%, var(--ink));
}
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-theme="light"])) [data-sec] { --c-text: color-mix(in srgb, var(--c1) 84%, var(--ink)); --c-icon: color-mix(in srgb, var(--c1) 72%, var(--ink)); }
}
:where(:root[data-theme="dark"]) [data-sec] { --c-text: color-mix(in srgb, var(--c1) 84%, var(--ink)); --c-icon: color-mix(in srgb, var(--c1) 72%, var(--ink)); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 1.0625rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header: a thin frosted bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.top-in { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); min-height: 60px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; min-width: 0; }
.brand img { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 1px 2px rgb(0 0 0 / .1); flex: none; }
.brand h1 { margin: 0; display: flex; align-items: center; font: 600 1.0625rem/1.2 var(--font); letter-spacing: -0.015em; white-space: nowrap; }
body .top .fbk-beta {
  margin-inline-start: 8px; padding: .32em .62em; border: 0; border-radius: 999px; box-shadow: none;
  font: 600 max(.66rem, 11px)/1.1 var(--font); letter-spacing: .05em;
  color: var(--accent-text); background: var(--accent-soft);
}
.fb-lang { display: flex; align-items: center; gap: 0; font-size: .875rem; color: var(--line-2); }
.fb-lang button { min-height: 44px; padding: 0 8px; border: 0; border-radius: 10px; background: none; box-shadow: none; color: var(--ink-2); font: 500 .875rem/1 var(--font); cursor: pointer; }
.fb-lang button:hover { color: var(--ink); }
.fb-lang button[lang="ar"] { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: .95rem; }
.fb-lang button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.fb-lang button:focus-visible { outline: 3px solid var(--focus); outline-offset: -2px; }
.home-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font: 500 .875rem/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: box-shadow .2s;
}
.home-link:hover { box-shadow: inset 0 0 0 1px var(--line-2); }

main { max-width: 1180px; margin: 0 auto; padding: 26px var(--gutter) 40px; display: grid; gap: 22px; }
.lead { margin: 0; max-width: 40ch; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.32; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--btn, var(--surface-2)); color: var(--ink);
  font: 500 .9375rem/1.2 var(--font); letter-spacing: -0.005em; cursor: pointer; text-align: center;
  transition: background-color .2s, box-shadow .2s, transform .2s var(--ease), opacity .2s;
}
.btn:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 6%, var(--btn, var(--surface-2))); }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn.primary:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 12%, var(--accent)); }
.btn.danger { color: var(--danger); background: color-mix(in srgb, var(--danger) 9%, var(--surface)); }
.btn.danger:hover:not(:disabled) { background: color-mix(in srgb, var(--danger) 15%, var(--surface)); }
.btn.quiet { background: transparent; color: var(--ink-2); }
.btn.quiet:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.file-btn { position: relative; }
.file-btn:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.bi { width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.bi-pic { --m: var(--i-pic); }
.bi-print { --m: var(--i-print); }

input[type=text] {
  min-height: 44px; width: 100%; padding: 0 14px; border: 0; border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font: 400 1rem/1.2 var(--font); transition: box-shadow .2s;
}
input[type=text]:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--focus), 0 0 0 4px color-mix(in srgb, var(--focus) 18%, transparent); }
input::placeholder { color: color-mix(in srgb, var(--ink-2) 80%, transparent); }

/* ---------- Drawn icons (js/icons.js) ---------- */
svg.di { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg.di .f { fill: color-mix(in srgb, var(--c2, var(--accent)) 48%, transparent); }
svg.di .k { fill: currentColor; stroke: none; }
svg.di .w { fill: var(--surface); }
.badge {
  position: relative; display: grid; place-items: center; flex: none; border-radius: 50%;
  color: var(--c-icon);
  background:
    radial-gradient(120% 120% at 30% 18%, rgb(255 255 255 / .55), transparent 55%),
    linear-gradient(150deg, color-mix(in srgb, var(--c1) var(--badge-mix), var(--surface)), color-mix(in srgb, var(--c2) calc(var(--badge-mix) * .8), var(--surface)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c2) 18%, transparent);
}
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-theme="light"])) .badge { background: linear-gradient(150deg, color-mix(in srgb, var(--c1) var(--badge-mix), var(--surface)), color-mix(in srgb, var(--c2) calc(var(--badge-mix) * 1.2), var(--surface))); }
}
:where(:root[data-theme="dark"]) .badge { background: linear-gradient(150deg, color-mix(in srgb, var(--c1) var(--badge-mix), var(--surface)), color-mix(in srgb, var(--c2) calc(var(--badge-mix) * 1.2), var(--surface))); }

/* ---------- Layout: the order card beside the menu ---------- */
.layout { display: grid; gap: 22px; align-items: start; }
@media (min-width: 980px) {
  .layout { grid-template-columns: minmax(320px, 380px) minmax(0, 1fr); gap: 28px; }
  .order { position: sticky; top: 84px; }
}
.card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.eyebrow { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }

/* ---------- "I've got … minutes" ---------- */
.order {
  padding: clamp(20px, 2.6vw, 28px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 85%, var(--surface)), var(--surface) 62%);
  transition: background .4s var(--ease);
}
.order.serving[data-sec] { background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 26%, var(--surface)), var(--surface) 66%); }
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-theme="light"])) .order { background: linear-gradient(180deg, var(--accent-soft), var(--surface) 62%); }
  :where(:root:not([data-theme="light"])) .order.serving[data-sec] { background: linear-gradient(180deg, color-mix(in srgb, var(--c2) 18%, var(--surface)), var(--surface) 66%); }
}
:where(:root[data-theme="dark"]) .order { background: linear-gradient(180deg, var(--accent-soft), var(--surface) 62%); }
:where(:root[data-theme="dark"]) .order.serving[data-sec] { background: linear-gradient(180deg, color-mix(in srgb, var(--c2) 18%, var(--surface)), var(--surface) 66%); }
.pick-title { margin: 2px 0 16px; font: italic 400 clamp(2.25rem, 4vw, 2.75rem)/1.05 var(--serif); letter-spacing: -0.01em; }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.time {
  display: grid; place-content: center; justify-items: center; gap: 2px;
  min-height: 92px; padding: 8px 4px; border: 0; border-radius: 22px; cursor: pointer;
  background: var(--surface); color: var(--ink); font: inherit;
  box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 10px 22px -16px color-mix(in srgb, var(--berry-2) 55%, transparent), inset 0 0 0 1px var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-color-scheme: dark) { :where(:root:not([data-theme="light"])) .time { background: var(--surface-2); } }
:where(:root[data-theme="dark"]) .time { background: var(--surface-2); }
@media (hover: hover) { .time:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgb(0 0 0 / .05), 0 16px 28px -16px color-mix(in srgb, var(--berry-2) 70%, transparent), inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent); } }
.time:active { transform: scale(.96); transition-duration: .1s; }
.time-n { font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.125rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.time-u { font-size: .8125rem; color: var(--ink-2); line-height: 1.2; }
.pick-help { margin: 14px 0 12px; color: var(--ink-2); font-size: .9375rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 10px; border: 0; border-radius: 999px;
  background: var(--surface-2); color: var(--ink); font: 500 .875rem/1.2 var(--font); cursor: pointer;
  transition: background-color .2s, box-shadow .2s, color .2s;
}
:root[dir="rtl"] .chip { padding: 0 10px 0 16px; }
.chip-i { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px var(--line-2); background: var(--surface); position: relative; }
.chip[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--accent); }
.chip[aria-pressed="true"] .chip-i { background: var(--accent); box-shadow: none; }
.chip[aria-pressed="true"] .chip-i::after { content: ''; position: absolute; inset: 4px; background: var(--accent-ink); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.enjoy {
  display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 10px 16px 10px 10px; border-radius: 20px;
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); font-size: .9375rem;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}
:root[dir="rtl"] .enjoy { padding: 10px 10px 10px 16px; }
.enjoy-i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.enjoy-i::after { content: ''; position: absolute; inset: 9px; background: var(--accent); -webkit-mask: var(--i-heart) center / contain no-repeat; mask: var(--i-heart) center / contain no-repeat; }
@media (prefers-reduced-motion: no-preference) { :root:not([data-motion="reduce"]) .enjoy:not([hidden]) { animation: jm-rise .45s var(--ease); } }

/* The suggestion: one idea, big */
.plate-in { display: grid; justify-items: center; text-align: center; gap: 4px; }
.plate-in .eyebrow { color: var(--c-text, var(--accent-text)); margin-bottom: 14px; }
.plate-ico .badge { width: 104px; height: 104px; box-shadow: 0 0 0 9px color-mix(in srgb, var(--c1) 22%, transparent), 0 14px 30px -14px color-mix(in srgb, var(--c2) 70%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--c2) 18%, transparent); }
.plate-ico svg { width: 50px; height: 50px; stroke-width: 1.6; }
.plate-course { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin: 18px 0 0; color: var(--c-text); }
.plate-course .course { font: italic 400 1.3125rem/1.2 var(--serif); }
.plate-course .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.plate-course .ptime { font-weight: 500; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.plate-name { margin: 2px 0 4px; font-size: clamp(1.625rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: anywhere; }
.plate-name:focus { outline: none; }
.plate-name:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 8px; }
.plate-none { margin: 4px 0; font-size: 1.25rem; line-height: 1.3; text-wrap: balance; }
.plate-none:focus { outline: none; }
.plate-needs { justify-content: center; margin-top: 2px; }
.plate-note { margin: 6px 0 0; color: var(--ink-2); font-size: .9375rem; text-wrap: balance; }
.plate-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 10px; width: 100%; margin-top: 20px; }
.plate-acts .btn { min-height: 52px; font-size: 1rem; }
.plate-acts .btn:not(.primary) { --btn: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.plate-in .back { margin-top: 6px; }
@keyframes jm-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes jm-pop { from { opacity: 0; transform: scale(.9); } }
.plate-in.enter { animation: jm-rise .4s var(--ease); }
.plate-in.enter .plate-ico { animation: jm-pop .45s var(--ease); }
.order.leaving .plate-in { opacity: 0; transform: translateY(4px) scale(.98); transition: opacity .25s var(--ease), transform .25s var(--ease); }

/* ---------- Example note ---------- */
.menu-col { display: grid; gap: 14px; min-width: 0; }
.note {
  --btn: var(--surface);
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 22px;
  background: var(--accent-soft);
}
:root[dir="rtl"] .note { padding: 10px 12px 10px 10px; }
.note p { flex: 1; margin: 0; font-size: .9375rem; line-height: 1.4; }
.note strong { display: block; font-weight: 600; }
.note-i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.note-i::after { content: ''; position: absolute; inset: 9px; background: var(--accent); -webkit-mask: var(--i-spark) center / contain no-repeat; mask: var(--i-spark) center / contain no-repeat; }
.note .btn { flex: none; }

/* ---------- The menu card (the signature) ---------- */
.menu {
  position: relative; container-type: inline-size;
  padding: clamp(40px, 5vw, 60px) clamp(24px, 4.5vw, 60px) clamp(32px, 4vw, 48px);
  border-radius: var(--r-card);
  background: radial-gradient(90% 46% at 50% 0%, var(--paper-glow), transparent 70%), var(--paper);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
.menu::before, .menu::after { content: ''; position: absolute; pointer-events: none; }
.menu::before { inset: 12px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--frame); }
.menu::after { inset: 18px; border-radius: 13px; box-shadow: inset 0 0 0 1px var(--frame-2); }
.menu:focus { outline: none; }
.stamp {
  position: absolute; z-index: 1; top: 30px; inset-inline-end: 30px; transform: rotate(5deg);
  padding: .38em .9em; border-radius: 999px;
  background: color-mix(in srgb, var(--berry-1) 40%, var(--paper)); color: var(--accent-text);
  font: 600 .75rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
}
:root[dir="rtl"] .stamp { transform: rotate(-5deg); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-theme="light"])) .stamp { background: color-mix(in srgb, var(--berry-2) 30%, var(--paper)); } }
:where(:root[data-theme="dark"]) .stamp { background: color-mix(in srgb, var(--berry-2) 30%, var(--paper)); }
.menu-head { text-align: center; margin-bottom: clamp(18px, 3vw, 30px); }
.menu-eyebrow { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.menu-title { margin: 4px 0 6px; font: italic 400 clamp(3.25rem, 7vw, 4.75rem)/1 var(--serif); letter-spacing: -0.015em; }
.orn { display: inline-flex; align-items: center; gap: 10px; color: var(--berry-2); }
.orn i { width: 64px; height: 1.5px; border-radius: 1px; background: currentColor; opacity: .45; }
.orn svg { width: 16px; height: 16px; fill: currentColor; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-theme="light"])) .orn { color: var(--accent); } }
:where(:root[data-theme="dark"]) .orn { color: var(--accent); }

.sections { display: grid; gap: 30px; }
@container (min-width: 640px) { .sections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 48px; } }
.msec-head { text-align: center; margin-bottom: 10px; }
.msec-title { margin: 0; font: italic 400 2.125rem/1.1 var(--serif); letter-spacing: -0.01em; }
.msec-sub { margin: 4px 0 0; color: var(--ink-2); font-size: .8125rem; }
.msec-head::after { content: ''; display: block; width: 30px; height: 3px; margin: 10px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dish {
  display: grid; grid-template-columns: auto minmax(0, max-content) minmax(14px, 1fr) auto; grid-template-rows: auto auto;
  align-items: center; column-gap: 12px; width: 100%; min-height: 58px; padding: 8px 10px; border: 0; border-radius: 16px;
  background: transparent; color: inherit; font: inherit; text-align: start; cursor: pointer;
  transition: background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.dish:hover { background: color-mix(in srgb, var(--c1) 15%, transparent); }
.dish:active { background: color-mix(in srgb, var(--c1) 24%, transparent); }
.dish:focus-visible { outline-offset: 0; }
.dish-i { grid-row: 1 / 3; width: 40px; height: 40px; }
.dish-i svg { width: 21px; height: 21px; }
.dish-name { grid-column: 2; font-weight: 500; font-size: 1.0625rem; line-height: 1.3; overflow-wrap: anywhere; }
.leader { grid-column: 3; align-self: end; height: 0; margin-bottom: .42em; border-bottom: 2px dotted var(--leader); }
.dish-time { grid-column: 4; color: var(--c-text); font-weight: 500; font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish .needs { grid-column: 2 / 5; grid-row: 2; }
.needs { display: flex; flex-wrap: wrap; gap: 2px 12px; color: var(--ink-2); font-size: .8125rem; line-height: 1.4; }
.need { display: inline-flex; align-items: center; gap: 4px; }
.need svg.ni { width: 15px; height: 15px; stroke-width: 1.8; }
.need svg.ni .f { fill: color-mix(in srgb, var(--ink) 10%, transparent); }
.dish-empty { padding: 6px 12px 4px; text-align: center; color: var(--ink-2); font: italic 400 1.0625rem/1.45 var(--serif); text-wrap: balance; }
.add-dish {
  display: flex; align-items: center; gap: 8px; margin: 6px auto 0; min-height: 44px; padding: 0 16px 0 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--c-text); font: 500 .875rem/1.2 var(--font); cursor: pointer;
  transition: background-color .2s;
}
:root[dir="rtl"] .add-dish { padding: 0 10px 0 16px; }
.add-dish:hover { background: color-mix(in srgb, var(--c1) 18%, transparent); }
.add-dish .plus { position: relative; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--c1) 45%, var(--surface)); flex: none; }
.add-dish .plus::after { content: ''; position: absolute; inset: 6px; background: currentColor; -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; }

/* Editing a line, right inside the menu */
.editor {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: end;
  margin: 4px 0; padding: 16px; border-radius: var(--r-md);
  background: color-mix(in srgb, var(--c1) 12%, var(--surface));
  box-shadow: var(--shadow-1), inset 0 0 0 1.5px color-mix(in srgb, var(--c2) 35%, transparent);
}
@media (prefers-color-scheme: dark) { :where(:root:not([data-theme="light"])) .editor { background: color-mix(in srgb, var(--c2) 9%, var(--surface)); } }
:where(:root[data-theme="dark"]) .editor { background: color-mix(in srgb, var(--c2) 9%, var(--surface)); }
.ed-i { width: 48px; height: 48px; margin-bottom: 0; }
.ed-i svg { width: 25px; height: 25px; }
.ed-name > span, .ed-group legend { display: block; margin-bottom: 6px; padding: 0; font-weight: 500; font-size: .8125rem; color: var(--ink-2); }
.editor .msg { grid-column: 1 / -1; margin: -4px 0 0; font-weight: 500; font-size: .875rem; color: var(--accent-text); }
.editor .msg:empty { display: none; }
.ed-group { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.ed-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-chip {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .875rem; cursor: pointer;
  transition: background-color .2s, box-shadow .2s;
}
.ed-chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.ed-chip svg.ni { width: 16px; height: 16px; }
.ed-chip svg.ni .f { fill: color-mix(in srgb, var(--ink) 10%, transparent); }
.ed-chip:has(input:checked) { background: color-mix(in srgb, var(--c1) 34%, var(--surface)); color: var(--c-text); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--c2); }
.ed-chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.icon-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 4px;
  padding: 8px; border-radius: var(--r-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.icon-opt { position: relative; display: grid; place-items: center; min-height: 46px; border-radius: 50%; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
.icon-opt:hover { background: var(--surface-2); color: var(--ink); }
.icon-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.icon-opt svg { width: 24px; height: 24px; }
.icon-opt svg .f { fill: color-mix(in srgb, var(--ink) 9%, transparent); }
.icon-opt:has(input:checked) { color: var(--c-icon); background: color-mix(in srgb, var(--c1) 40%, var(--surface)); box-shadow: inset 0 0 0 2px var(--c2); }
.icon-opt:has(input:checked) svg .f { fill: color-mix(in srgb, var(--c2) 48%, transparent); }
.icon-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.ed-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 4px; }
.ed-acts .btn.primary { padding: 0 26px; }
.ed-acts .rm { --btn: transparent; color: var(--ink-2); }
.ed-acts .rm:hover { color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
@media (prefers-reduced-motion: no-preference) { :root:not([data-motion="reduce"]) .editor { animation: jm-rise .3s var(--ease); } }

.menu-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Panels: settings and backup ---------- */
.panels { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.panel { padding: 4px 22px; }
.panel summary { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.panel summary::-webkit-details-marker { display: none; }
.panel summary::before { content: ''; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); }
.panel summary > span:not(.pi) { flex: 1; }
.panel summary::after { content: ''; flex: none; width: 9px; height: 9px; margin-inline-end: 6px; border-right: 1.8px solid var(--ink-2); border-bottom: 1.8px solid var(--ink-2); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.panel[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.panel[open] { padding-bottom: 22px; }
.panel summary .pi { position: absolute; inset-inline-start: 7px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--accent-text); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
#settingsPanel { --m: var(--i-gear); }
#backupPanel { --m: var(--i-save); }
.help { margin: 0 0 16px; max-width: 64ch; color: var(--ink-2); font-size: .9375rem; }
.fava-prefs legend { font-weight: 600 !important; font-size: 1rem; }
.fava-prefs label { gap: 12px !important; }
.fava-prefs label > span { display: inline; margin: 0; font-weight: 400; font-size: .9375rem; color: var(--ink); }
.panel [data-fava-install] { margin-top: 10px; }
body .fava-prefs input[type=checkbox] {
  appearance: none; -webkit-appearance: none; flex: none; position: relative;
  width: 44px !important; height: 26px !important; margin: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .25s var(--ease);
}
body .fava-prefs input[type=checkbox]::after {
  content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .18), 0 2px 6px -1px rgb(0 0 0 / .14);
  transition: transform .25s var(--ease);
}
body .fava-prefs input[type=checkbox]:checked { background: var(--accent); box-shadow: none; }
body .fava-prefs input[type=checkbox]:checked::after { transform: translateX(18px); }
:root[dir="rtl"] body .fava-prefs input[type=checkbox]:checked::after { transform: translateX(-18px); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-theme="light"])) body .fava-prefs input[type=checkbox]::after { background: #F2F2F4; } }
:where(:root[data-theme="dark"]) body .fava-prefs input[type=checkbox]::after { background: #F2F2F4; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 30; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 32px); min-height: 52px; padding: 6px 6px 6px 20px;
  border-radius: 999px; background: var(--ink); color: var(--canvas); font-weight: 500; box-shadow: var(--shadow-2);
}
:root[dir="rtl"] .toast { padding: 6px 20px 6px 6px; }
.toast:not(:has(.toast-btn:not([hidden]))) { padding-inline-end: 20px; }
.toast-btn { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--canvas); color: var(--ink); font: 600 .9375rem/1 var(--font); cursor: pointer; }
.toast-btn:hover { background: color-mix(in srgb, var(--accent) 14%, var(--canvas)); }
.toast-btn:focus-visible { outline-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { :root:not([data-motion="reduce"]) .toast:not([hidden]) { animation: jm-toast .3s var(--ease); } }
@keyframes jm-toast { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------- Footer, about, FAQ ---------- */
.foot { max-width: 1180px; margin: 0 auto; padding: 18px var(--gutter) 28px; color: var(--ink-2); font-size: .875rem; }
.foot p { margin: 0 0 6px; }
.fb-about { max-width: 1180px; margin: 12px auto 0; padding: 26px var(--gutter) 6px; color: var(--ink-2); font-size: .9375rem; }
.fb-about h2 { margin: 0 0 8px; font-size: 1.0625rem; color: var(--ink); }
.fb-about > p { margin: 0 0 14px; max-width: 70ch; line-height: 1.6; }
.fb-faq { display: grid; gap: 8px; }
.fb-faq h3 { margin: 8px 0 4px; font-size: .9375rem; color: var(--ink); }
.fb-faq details { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fb-faq summary { cursor: pointer; padding: 12px 16px; font-weight: 500; color: var(--ink); list-style-position: inside; }
.fb-faq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 16px; }
.fb-faq details p { margin: 0; padding: 0 16px 14px; max-width: 70ch; line-height: 1.6; }

/* Feedback box from /assets/feedback.js, fitted to this page */
body .fbk {
  width: min(760px, calc(100% - 2 * var(--gutter)));
  margin: 24px auto 72px; padding: 24px 26px;
  background: var(--surface); border: 0; border-radius: var(--r-card);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
body .fbk-q { font-weight: 600; letter-spacing: -0.01em; }
body .fbk-q svg { stroke: var(--accent); }
body .fbk-hint { color: var(--accent-text); }
body .fbk-send { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
body .fbk textarea, body .fbk input[type=email] { background: var(--surface); border-color: var(--line-2); border-radius: var(--r-sm); }
body .fbk .fbk-beta { color: var(--accent-text); background: var(--accent-soft); border: 0; box-shadow: none; font-family: var(--font); font-weight: 600; letter-spacing: .05em; }
body .fbk-star:focus-visible, body .fbk button:focus-visible, body .fbk textarea:focus-visible, body .fbk input:focus-visible { outline-color: var(--focus); }
body .fbk .fbk-star { background: none; padding: 8px; border-radius: 8px; }
body .fbk .fbk-link { background: none; min-height: 44px; padding: 4px 0; border-radius: 0; }
body .fbk .fbk-send { min-height: 44px; padding: 0 22px; border-radius: 999px; }

/* ---------- Language (English / العربية) ---------- */
:root[lang="ar"] { --font: "Geist", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif; --serif: "Newsreader", "Amiri", "Noto Naskh Arabic", serif; }
:root[lang="ar"] body { line-height: 1.7; }
:root[lang="ar"] body *:not(svg):not(svg *) { letter-spacing: normal !important; }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3, :root[lang="ar"] .lead { line-height: 1.4; }
/* Arabic has no italic: Amiri stays upright instead of a fake slant */
:root[lang="ar"] .pick-title, :root[lang="ar"] .menu-title, :root[lang="ar"] .msec-title,
:root[lang="ar"] .plate-course .course, :root[lang="ar"] .dish-empty { font-style: normal; }
:root[lang="ar"] .menu-title { line-height: 1.25; }
:root[lang="ar"] .msec-title { font-size: 1.875rem; line-height: 1.35; }
:root[lang="ar"] .eyebrow, :root[lang="ar"] .menu-eyebrow, :root[lang="ar"] .stamp { text-transform: none; font-size: .875rem; }
.fb-suggest { --btn: var(--surface); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0; padding: 12px 16px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.fb-suggest p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.fb-suggest [lang="ar"] { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-weight: 600; }
.fb-suggest [lang="en"] { font-family: 'Geist', system-ui, sans-serif; color: var(--ink-2); }
.fb-suggest-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-suggest button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; font: 500 .9375rem var(--font); }
.fb-suggest .fb-ar { background: var(--accent); color: var(--accent-ink); font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.fb-suggest .fb-en { background: var(--surface-2); color: var(--ink); }

/* ---------- Small UI pictures (masks, so they follow the text colour) ---------- */
:root {
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4.2 4.2 8.8-9'/%3E%3C/svg%3E");
  --i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-8.5-5-8.5-11A4.7 4.7 0 0 1 12 6.9a4.7 4.7 0 0 1 8.5 2.6c0 6-8.5 11-8.5 11z'/%3E%3C/svg%3E");
  --i-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5 14.3 9.7 21.5 12l-7.2 2.3L12 21.5l-2.3-7.2L2.5 12l7.2-2.3z'/%3E%3C/svg%3E");
  --i-pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='3'/%3E%3Ccircle cx='9' cy='9.5' r='1.6'/%3E%3Cpath d='m4 17 4.8-4.6 3.4 3.2 2.6-2.4L20 18'/%3E%3C/svg%3E");
  --i-print: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8.5V3.5h10v5'/%3E%3Crect x='3.5' y='8.5' width='17' height='8' rx='2'/%3E%3Cpath d='M7 14h10v6.5H7z'/%3E%3C/svg%3E");
  --i-gear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h9M17 7h3M4 17h3M11 17h9'/%3E%3Ccircle cx='15' cy='7' r='2.2'/%3E%3Ccircle cx='9' cy='17' r='2.2'/%3E%3C/svg%3E");
  --i-save: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v10.5M7.8 10.6 12 14.8l4.2-4.2'/%3E%3Cpath d='M4.5 15.5v2.5a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2v-2.5'/%3E%3C/svg%3E");
}

/* ---------- Shared "easier to see" settings (Favabeans prefs.js) ---------- */
:root[data-text="large"] { font-size: 120%; }
:root[data-contrast="high"] { --ink-2: var(--ink); --line: rgb(29 29 31 / .45); --line-2: rgb(29 29 31 / .6); --leader: rgb(29 29 31 / .5); --frame: rgb(149 48 122 / .7); }
@media (prefers-color-scheme: dark) { :root[data-contrast="high"]:where(:not([data-theme="light"])) { --line: rgb(255 255 255 / .45); --line-2: rgb(255 255 255 / .6); --leader: rgb(255 255 255 / .5); --frame: rgb(246 189 229 / .7); } }
:root[data-contrast="high"]:where([data-theme="dark"]) { --line: rgb(255 255 255 / .45); --line-2: rgb(255 255 255 / .6); --leader: rgb(255 255 255 / .5); --frame: rgb(246 189 229 / .7); }
:root[data-contrast="high"] .btn, :root[data-contrast="high"] .file-btn, :root[data-contrast="high"] .chip, :root[data-contrast="high"] .time { box-shadow: inset 0 0 0 1.5px var(--line-2); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
:root[data-motion="reduce"] *, :root[data-motion="reduce"] *::before, :root[data-motion="reduce"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  .top-in { min-height: 56px; gap: 0 8px; }
  .brand { gap: 8px; }
  .brand h1 { font-size: 1rem; }
  .fb-lang button { padding: 0 6px; font-size: .8125rem; }
  .fb-lang button[lang="ar"] { font-size: .875rem; }
  .home-link { font-size: 0; width: 40px; min-width: 40px; padding: 0; justify-content: center; }
  .home-link::before { content: '←'; font-size: 1.05rem; line-height: 1; }
  :root[dir="rtl"] .home-link::before { content: '→'; }
  main { padding-top: 18px; gap: 16px; }
  .lead { font-size: 1.1875rem; }
  .order { padding: 18px 16px; border-radius: 24px; }
  .times { gap: 8px; }
  .time { min-height: 80px; border-radius: 18px; }
  .note { flex-wrap: wrap; }
  .note p { flex-basis: calc(100% - 48px); }
  .note .btn { margin-inline-start: 48px; }
  .menu { padding: 40px 14px 24px; border-radius: 24px; }
  .menu::before { inset: 8px; border-radius: 17px; }
  .menu::after { inset: 13px; border-radius: 13px; }
  .stamp { top: 20px; inset-inline-end: 20px; }
  .dish { column-gap: 10px; padding: 8px 8px; }
  .dish-i { width: 36px; height: 36px; }
  .dish-i svg { width: 19px; height: 19px; }
  .dish-name { font-size: 1rem; }
  .editor { padding: 12px; }
  .panel { padding: 2px 16px; border-radius: 24px; }
  .panel[open] { padding-bottom: 16px; }
  .menu-acts .btn { flex: 1 1 auto; }
}
@media (max-width: 360px) {
  .top-in { gap: 0 2px; }
  .brand { gap: 6px; }
  .brand img { width: 24px; height: 24px; }
  .brand h1 { font-size: .875rem; }
  body .top .fbk-beta { margin-inline-start: 5px; padding: .3em .45em; letter-spacing: .02em; }
  .fb-lang button { padding: 0 3px; }
  .time-n { font-size: 1.5rem; }
  .time-u { font-size: .75rem; }
  .times { gap: 6px; }
  .dish { grid-template-columns: auto minmax(0, 1fr) auto; }
  .leader { display: none; }
  .dish-time { grid-column: 3; }
  .dish .needs { grid-column: 2 / 4; }
}

/* ---------- Print: just the menu card ---------- */
@media print {
  @page { margin: 12mm; }
  :root { --paper: #fff; --paper-glow: transparent; --ink: #1D1D1F; --ink-2: #57575F; --canvas: #fff; --surface: #fff; color-scheme: light; }
  body { background: #fff; }
  .top, .lead, .order, .note, .menu-acts, .panels, .fb-about, .foot, .toast, .add-dish, .fb-suggest, body .fbk, .editor .ed-group, .ed-acts { display: none !important; }
  main, .layout, .menu-col { display: block; padding: 0; margin: 0; max-width: none; }
  .menu { box-shadow: none; padding: 40px 36px; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; }
  .msec { break-inside: avoid; }
  .dish { min-height: 0; padding: 5px 4px; }
}
