/* Each fixed-size menu is an isolated layout tree; fitting it never reflows the page. */
.mc{contain:layout style paint}
.tp{content-visibility:auto;contain-intrinsic-size:auto 250px}
/* Readable rows: a flexible name column, with prices kept together at the right. */
.mc .in> :not(.fit){flex-shrink:0}
.mc .hd{min-width:0}
.mc .rn{min-width:0;overflow-wrap:anywhere;line-height:1.2}
.mc .ft>div{min-width:0;overflow-wrap:anywhere}
.mc .fit{min-width:0}
.mc .dish{grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;min-width:0}
.mc .db{min-width:0}
.mc .dname{min-width:0;overflow-wrap:anywhere;hyphens:auto}
.mc .pr{align-self:baseline;text-align:right;white-space:nowrap}
.mc .wsoup,.mc .wclosed,.mc .note,.mc .algn{overflow-wrap:anywhere}
.mc .sec{break-after:avoid}
.mc .wday{min-width:0;break-inside:avoid}
.mc .menu-body{min-width:0}
.mc.layout-columns .menu-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15em;align-items:stretch}
.mc .menu-column{display:flex;flex-direction:column;gap:var(--block-gap,.8em);min-width:0}
.mc .menu-column>.wday,.mc .menu-column>.xsec{margin:0}
.mc .menu-column>.wday>.sec{margin-top:0}
.mc.layout-balanced .menu-column{justify-content:space-between}
.mc .wk .wday>.sec{font-size:1em;font-weight:800;opacity:1;margin-top:.8em;margin-bottom:.35em}
.mc .wk .wday>.sec .wdd{font-size:.8em;opacity:.85}
.mc .menu-column>.wday>.sec{margin-top:0}
.mc .wsoups{margin-bottom:.25em}
.mc .wsoups .dish{font-size:1em;font-weight:600}
.mc .wsoups .dn:empty{display:none}
.mc .wsoups .dish:has(.dn:empty){grid-template-columns:minmax(0,1fr) auto}
.mc .soup-label{font-size:.72em;font-weight:700;opacity:.85;margin-bottom:.1em}
.mc .xsec{border-top:2px solid currentColor;padding-top:.55em;margin-top:.8em}
.mc .xsec>.sec,.mc .wk .xsec>.sec{font-size:.95em;font-weight:800;opacity:1;margin:0 0 .35em}
.mc .xsec .dish{font-weight:600}
.mc.layout-columns .wday .sec{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.2em .6em}
.mc.layout-columns .wdd{float:none;margin-left:0}
.mc.layout-compact .dish{padding-top:.2em;padding-bottom:.2em}
.mc.layout-compact .sec{margin-top:.65em;margin-bottom:.2em}
.mc.layout-compact .wday{margin-bottom:.55em;padding-bottom:.25em}
.mc.layout-compact .note{margin-top:.55em}
.mc.layout-roomy .dish{padding-top:calc(.35em + var(--row-air,0px));padding-bottom:calc(.35em + var(--row-air,0px))}
.mc.layout-roomy .sec{margin-bottom:.4em}
.layout-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.layout-options label{display:grid;gap:6px;min-width:0}
.layout-options select{width:100%;min-width:0}
.layout-status{font-size:12px;line-height:1.5;margin:0;color:var(--muted);text-align:center}
.layout-status[data-overflow=true]{color:var(--ink);background:var(--yolk);border-radius:10px;padding:12px}
@media(max-width:420px){.layout-options{grid-template-columns:1fr}}
.qr-options{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--card);margin-bottom:20px;text-align:left}
.qr-options h4{margin:0 0 14px}
.qr-options label{display:grid;gap:6px;margin-bottom:12px}
.qr-options input,.qr-options select{width:100%;min-width:0}
.qr-options p,.qr-options a{font-size:13px;overflow-wrap:anywhere}
.qr-options img{max-width:130px;max-height:130px;object-fit:contain;margin:8px 0;background:#fff}
.mc.f-print .qr img{width:128px;height:128px;object-fit:contain;padding:0;border-radius:0;background:#fff}
/* A spherical gallery, with drag gestures along both axes. */
.ring-stage{height:720px;perspective:1500px;perspective-origin:50% 50%;touch-action:none;max-width:1100px;margin:0 auto;isolation:isolate}
.ring-stage:focus-visible{outline:2px solid var(--yolk);outline-offset:-8px;border-radius:24px}
.ring{top:50%}
.ring-glow{top:50%;width:560px;height:560px;border-radius:50%}
.ring-floor{width:600px;bottom:0;height:50px}
.rcard .scaled{border-radius:9px}
.rcard:hover .scaled{transform:scale(1.04)}
.sphere-controls{text-align:center;position:relative;z-index:2;margin:0 auto 24px;padding:0 16px}
.sphere-controls p{font-size:13px;color:var(--muted);margin:0 0 10px}
.sphere-controls>div{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.sphere-controls button{min-width:36px;min-height:36px;border:1px solid var(--line);border-radius:99px;background:var(--card);color:var(--ink);padding:6px 12px;cursor:pointer;font-size:12px}
.sphere-controls button[aria-pressed=true]{border-color:var(--yolk)}
@media(max-width:640px){.ring-stage{height:430px;perspective:1000px}.ring-glow{width:330px;height:330px}.ring-floor{width:300px}.rcard>span{font-size:11px;bottom:-26px}.sphere-controls{margin-bottom:20px}}
