/* Grills and More: the house look, laid over base.css.
   Bottle green and brass on ivory, a serif for display, a clean sans for everything you read or press.
   Surfaces are the owner's off-white (#fbf8f3), never pure white. Restraint is the point: hairlines, space, few colours. */
[hidden] { display: none !important; }

:root {
  --brand: #1f3a2e; --brand-ink: #f7f1e3; --brand-soft: color-mix(in srgb, var(--brand) 9%, #fbf8f3);
  --accent: #a8812f; --brass: #a8812f; --brass-light: #d9bc74; --brass-soft: #efe5cc;
  --bg: #f3eee4; --surface: #fbf8f3; --surface-2: #f6f1e8; --hover: #eee6d7;
  --ink: #1d1a16; --muted: #6a6256; --border: #e4dac9; --border-strong: #cdbfa6;
  --ok: #2f6b46; --ok-soft: #e3efe7; --warn: #8f610f; --warn-soft: #f7ecd2; --bad: #9b2226; --bad-soft: #f5dedb; --info: #2b5f9e; --info-soft: #e0eaf6;
  --radius: 6px; --radius-sm: 4px; --shadow: 0 1px 2px rgba(29, 26, 22, .05), 0 8px 24px rgba(29, 26, 22, .06);
  --font-head: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Jost', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-bg: #14261d; --nav-ink: #e9e1cc;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
body.gm { background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.55; }
.gm h1, .gm h2, .gm h3, .gm h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: .005em; }
.gm h1 { font-size: 2.2rem; line-height: 1.1; } .gm h2 { font-size: 1.6rem; } .gm h3 { font-size: 1.3rem; }
.gm a { color: var(--brand); }
.gm :focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

/* buttons */
.gm .btn { border-radius: var(--radius-sm); font-weight: 500; letter-spacing: .02em; min-height: 44px; }
.gm .btn-primary { background: var(--brand); color: var(--brand-ink); } .gm .btn-primary:hover { background: #17302a; filter: none; }
.btn-brass { background: var(--brass-light); color: #1b1710; } .btn-brass:hover { background: #e4cc8d; }
.btn-outline-light { border: 1.5px solid rgba(244, 236, 216, .45); color: #f4ecd8; background: transparent; }
.gm .btn-outline { background: var(--surface); border-color: var(--border-strong); }
.gm .btn[disabled] { opacity: .45; }
.gm .badge { border-radius: 3px; font-weight: 500; letter-spacing: .02em; }
.gm .card { box-shadow: none; border-color: var(--border); }
.gm .seg { border-radius: var(--radius); background: var(--hover); } .gm .seg button { border-radius: 4px; } .gm .seg button.on { color: var(--brand); font-weight: 600; }
.gm .chip { border-radius: 99px; font-weight: 500; } .gm .chip.on { background: var(--brand); border-color: var(--brand); }
.empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }
.neg { color: var(--bad); } .pos { color: var(--ok); }

/* ─── the guest site ─── */
.gm-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 1.5rem; padding: .7rem max(1rem, calc((100vw - 1180px) / 2)); background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.gm-mark { display: flex; align-items: center; gap: .7rem; text-decoration: none !important; color: var(--ink) !important; margin-right: auto; }
.gm-mono { width: 38px; height: 38px; display: grid; place-items: center; background: var(--brand); color: var(--brass-light); font: 600 1.5rem var(--font-head); border-radius: 3px; box-shadow: inset 0 0 0 1px var(--brass); }
.gm-word { display: flex; flex-direction: column; line-height: 1.1; } .gm-word b { font: 600 1.3rem var(--font-head); letter-spacing: .02em; } .gm-word small { font-size: .72rem; color: var(--muted); letter-spacing: .12em; text-transform: none; font-style: italic; font-family: var(--font-head); font-size: .9rem; }
.gm-nav { display: flex; gap: 1.6rem; } .gm-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .3rem 0; border-bottom: 1.5px solid transparent; } .gm-nav a.on, .gm-nav a:hover { border-color: var(--brass); }
.gm-bag { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; background: var(--brand); color: var(--brand-ink) !important; border-radius: var(--radius-sm); text-decoration: none !important; font-weight: 500; font-size: .92rem; }
.gm-count { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 600; background: var(--brass-light); color: #1b1710; border-radius: 10px; }
.gm-tabs { display: none; }
.gm-foot { margin-top: 4rem; background: var(--nav-bg); color: #d9d0b9; padding: 2.5rem max(1rem, calc((100vw - 1180px) / 2)); }
.gm-foot-in { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 2rem; font-size: .92rem; } .gm-foot strong { display: block; font: 600 1.25rem var(--font-head); color: var(--brass-light); margin-bottom: .4rem; } .gm-foot p { margin: 0 0 .3rem; } .gm-foot a { color: #e9e1cc; }
.gm-foot-fine { display: flex; flex-direction: column; gap: .4rem; font-size: .8rem; opacity: .8; }

.gm-hero { background: var(--brand); color: var(--brand-ink); padding: 4.5rem 1rem 4rem; text-align: center; border-bottom: 3px solid var(--brass); }
.gm-hero-in { max-width: 760px; margin: 0 auto; }
.gm-hero h1 { font-size: clamp(2.8rem, 8vw, 4.8rem); color: #f7f1e3; margin: .3rem 0 .6rem; font-weight: 500; letter-spacing: .01em; }
.gm-eyebrow { font: italic 500 1.15rem var(--font-head); color: var(--brass-light); margin: 0; letter-spacing: .04em; }
.gm-hero-sub { font: italic 500 1.35rem var(--font-head); color: #d9d0b9; margin: 0 0 1.8rem; }
.gm-hero-row { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; justify-content: center; align-items: center; }
.gm-status { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: #d9d0b9; } .gm-status i { width: 9px; height: 9px; border-radius: 50%; background: #c9873a; } .gm-status.is-open i { background: #6bc08a; box-shadow: 0 0 0 4px rgba(107, 192, 138, .2); }

.gm-wrap { max-width: 1180px; margin: 0 auto; padding: 2rem 1rem 0; } .gm-narrow { max-width: 760px; }
.gm-h1 { margin: .2rem 0 1rem; } .gm-h3 { font-size: 1.15rem; margin: 1.2rem 0 .4rem; }
.gm-order-for { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-bottom: 1rem; } .gm-label { font: italic 500 1.1rem var(--font-head); color: var(--muted); }
.gm-filters { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-bottom: .6rem; } .gm-search { flex: 1; min-width: 220px; max-width: 420px; margin: 0 !important; border-radius: var(--radius) !important; }
.gm-cats { display: flex; gap: .4rem; overflow-x: auto; padding: .4rem 0 1rem; position: sticky; top: 61px; z-index: 20; background: var(--bg); scrollbar-width: none; } .gm-cats::-webkit-scrollbar { display: none; }
.gm-cats button { flex: none; padding: .4rem .95rem; border: 1px solid var(--border-strong); border-radius: 99px; background: var(--surface); font-size: .9rem; font-weight: 500; } .gm-cats button.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.gm-sec { margin-bottom: 2.6rem; } .gm-sec > header { margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border-strong); } .gm-sec h2 { margin: 0; font-size: 2rem; font-weight: 500; } .gm-sec header p { margin: .1rem 0 0; font: italic 500 1.1rem var(--font-head); color: var(--muted); }

.gm-masonry { column-count: 2; column-gap: 14px; } @media (min-width: 760px) { .gm-masonry { column-count: 3; column-gap: 20px; } } @media (min-width: 1100px) { .gm-masonry { column-count: 4; } }
.gm-dish { break-inside: avoid; margin: 0 0 22px; cursor: pointer; display: block; transition: transform .25s var(--ease); } .gm-dish:hover { transform: translateY(-3px); } .gm-dish:hover .gm-pic { box-shadow: 0 10px 28px rgba(29, 26, 22, .18); }
.gm-pic { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius); transition: box-shadow .25s; background: var(--hover); } .gm-pic img { width: 100%; height: 100%; object-fit: cover; }
.r45 { aspect-ratio: 4 / 5; } .r11 { aspect-ratio: 1; } .r34 { aspect-ratio: 3 / 4; } .r54 { aspect-ratio: 5 / 4; }
.t-green { background: #1f3a2e; } .t-oxblood { background: #5e1a24; } .t-brass { background: #7d6224; } .t-slate { background: #2f3d4a; } .t-plum { background: #43283f; }
.gm-ph { position: absolute; inset: 0; display: grid; place-items: center; } .gm-ph::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(245, 236, 210, .32); border-radius: 3px; }
.gm-ph i { font: italic 500 5.5rem var(--font-head); color: rgba(245, 236, 210, .82); }
.gm-flag { position: absolute; left: 10px; top: 10px; z-index: 2; padding: .15rem .55rem; font-size: .72rem; font-weight: 500; letter-spacing: .06em; background: var(--brass-light); color: #1b1710; border-radius: 2px; } .gm-flag-out { background: #fff; color: var(--bad); }
.gm-dish.is-out .gm-pic { filter: grayscale(.85) opacity(.75); } .gm-dish.is-out { cursor: default; }
.gm-info { padding: .65rem .1rem 0; } .gm-title { display: flex; gap: .5rem; align-items: flex-start; } .gm-title h3, .gm-title h2 { margin: 0; line-height: 1.15; } .gm-title .food-mark { margin-top: .35rem; }
.gm-desc { margin: .25rem 0 .4rem; color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gm-meta { display: flex; justify-content: space-between; font-size: .9rem; } .gm-meta b { font-weight: 600; } .gm-meta span { color: var(--muted); }

/* dish sheet */
.sheet-overlay:has(.gm-sheet) { align-items: center; padding: 1rem; } .sheet:has(.gm-sheet) { border-radius: 8px; max-width: 620px; max-height: 94vh; position: relative; animation: rise .25s var(--ease); }
.gm-sheet { position: relative; } .gm-x { position: absolute; top: 12px; right: 12px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: rgba(251, 248, 243, .94); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.gm-pic-lg { aspect-ratio: 16 / 10; border-radius: 8px 8px 0 0; } .gm-sbody { padding: 1.2rem 1.4rem 1.4rem; }
.gm-lede { font: italic 500 1.25rem/1.4 var(--font-head); color: #3b352c; margin: .5rem 0 .8rem; }
.gm-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; } .gm-chips span { padding: .15rem .6rem; font-size: .8rem; background: var(--hover); border-radius: 2px; color: #4a4338; }
.gm-note { margin: 0 0 1rem; padding: .7rem 1rem; border-left: 3px solid var(--brass); background: var(--brass-soft); font-family: var(--font-head); font-size: 1.1rem; font-style: italic; } .gm-note small { display: block; font: 500 .7rem var(--font-body); letter-spacing: .12em; text-transform: none; color: var(--warn); font-style: normal; }
.gm-audio { display: flex; gap: .5rem; margin-bottom: 1rem; } .gm-audio svg { width: 16px; height: 16px; }
.gm-set { border: 0; padding: 0; margin: 0 0 1rem; } .gm-set legend { font: 600 1.1rem var(--font-head); margin-bottom: .3rem; padding: 0; }
.gm-opt { display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); margin-bottom: .4rem; cursor: pointer; background: var(--surface); } .gm-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); } .gm-opt span { flex: 1; } .gm-opt.dis { opacity: .5; }
.gm-buy { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; } .gm-buy .btn { flex: 1; }
.gm-step { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); } .gm-step button { width: 40px; height: 40px; font-size: 1.3rem; } .gm-step button:hover { background: var(--hover); } .gm-step output { min-width: 30px; text-align: center; font-weight: 600; }

/* cart and checkout */
.gm-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 1.6rem; align-items: start; } @media (max-width: 900px) { .gm-cols { grid-template-columns: 1fr; } }
.gm-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.1rem; } .gm-card h2 { font-size: 1.4rem; margin: 0 0 .8rem; }
.gm-sticky { position: sticky; top: 80px; }
.gm-lines { list-style: none; margin: 0 0 1rem; padding: 0; } .gm-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--border); } .gm-lines li:last-child { border-bottom: 0; } .gm-lines.ro li { grid-template-columns: 1fr auto; }
.gm-ln b { display: block; } .gm-ln small { display: block; color: var(--muted); font-size: .84rem; } .gm-ln b small { display: inline; } .gm-q { font-style: italic; } .gm-warn { color: var(--bad) !important; } .gm-lines li.is-bad { background: var(--bad-soft); }
.gm-lp { min-width: 4.5rem; text-align: right; }
.gm-signin-hint { padding: .7rem .9rem; background: var(--brass-soft); border-radius: var(--radius-sm); margin-bottom: .8rem; font-size: .92rem; }
.gm-saved { margin-bottom: .6rem; }
.gm-fine { font-size: .84rem; color: var(--muted); margin: .4rem 0; } .gm-fine .ok { color: var(--ok); font-weight: 500; } .gm-fine .bad { color: var(--bad); font-weight: 500; }
.gm-coupon { display: flex; gap: .5rem; margin-bottom: .9rem; } .gm-coupon input { text-transform: uppercase; }
.gm-row { display: flex; justify-content: space-between; padding: .25rem 0; font-size: .95rem; } .gm-row.good b { color: var(--ok); } .gm-row.total { border-top: 1px solid var(--border-strong); margin-top: .4rem; padding-top: .6rem; font: 600 1.3rem var(--font-head); }
.gm-pay { margin-bottom: .6rem; } .gm-demo { margin: .4rem 0; font-size: .88rem; }
.gm-empty { text-align: center; padding: 4rem 1rem; } .gm-empty h1 { margin-bottom: .5rem; } .gm-empty p { color: var(--muted); margin-bottom: 1.2rem; }
.gm-actions { margin: 1rem 0; display: flex; gap: .6rem; } .gm-big { font: 600 2rem var(--font-head); } .gm-big small { font: 400 .9rem var(--font-body); color: var(--muted); }
.gm-list { list-style: none; margin: 0; padding: 0; } .gm-list li { border-bottom: 1px solid var(--border); } .gm-list li:last-child { border: 0; } .gm-list a, .gm-list li > div:first-child { color: inherit; text-decoration: none; }
.gm-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; } .gm-list a { display: flex; justify-content: space-between; width: 100%; gap: 1rem; } .gm-list small { display: block; color: var(--muted); } .gm-list .right { text-align: right; }

/* following an order */
.gm-steps { list-style: none; display: flex; margin: 1.4rem 0 1.6rem; padding: 0; } .gm-steps li { flex: 1; text-align: center; position: relative; font-size: .82rem; color: var(--muted); }
.gm-steps li i { display: block; width: 16px; height: 16px; margin: 0 auto .45rem; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--surface); position: relative; z-index: 1; }
.gm-steps li::before { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--border-strong); } .gm-steps li:first-child::before { display: none; }
.gm-steps li.done i { background: var(--brass); border-color: var(--brass); } .gm-steps li.done::before, .gm-steps li.now::before { background: var(--brass); } .gm-steps li.done, .gm-steps li.now { color: var(--ink); font-weight: 500; }
.gm-steps li.now i { border-color: var(--brass); background: var(--brass-soft); animation: gmpulse 1.8s ease-out infinite; } @keyframes gmpulse { 0% { box-shadow: 0 0 0 0 rgba(168, 129, 47, .5); } 100% { box-shadow: 0 0 0 10px rgba(168, 129, 47, 0); } }
.gm-mapcard { padding: 0; overflow: hidden; } .gm-mapcard .livemap { border-radius: 0; border: 0; } .gm-sim { display: flex; gap: .5rem; align-items: flex-start; padding: .6rem 1rem; margin: 0; background: var(--warn-soft); color: var(--warn); } .gm-sim svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.gm-stars { display: flex; gap: .2rem; margin-bottom: .6rem; } .gm-stars button { font-size: 2rem; color: var(--border-strong); line-height: 1; padding: .1rem .2rem; } .gm-stars button.on { color: var(--brass); }
.gm-gr { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--border); } .gm-gr p { margin: .35rem 0 0; } .gm-gr small { display: block; color: var(--muted); } .gm-reply { padding-left: .8rem; border-left: 2px solid var(--brass); }
.si-or { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; margin: 1rem 0; } .si-or::before, .si-or::after { content: ''; flex: 1; height: 1px; background: var(--border-strong); }

@media (max-width: 760px) {
  .gm-top { gap: .6rem; padding: .55rem 1rem; } .gm-nav { display: none; } .gm-bag { display: none; } .gm-word small { display: none; }
  .gm-tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--border-strong); padding: .3rem .2rem calc(.3rem + env(safe-area-inset-bottom)); }
  .gm-tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .72rem; font-weight: 500; color: var(--muted); text-decoration: none !important; padding: .3rem 0; position: relative; } .gm-tabs a svg { width: 22px; height: 22px; } .gm-tabs a.on { color: var(--brand); }
  .gm-tabs .gm-count { position: absolute; top: 0; left: calc(50% + 6px); background: var(--brand); color: var(--brand-ink); }
  body.gm:not(.gm-staff) { padding-bottom: 66px; } .gm-hero { padding: 3rem 1rem 2.6rem; } .gm-foot-in { grid-template-columns: 1fr; gap: 1.2rem; } .gm-cats { top: 54px; } .gm-wrap { padding-top: 1.2rem; }
  .gm-sec h2 { font-size: 1.6rem; } .gm-ph i { font-size: 4rem; } .gm-steps li { font-size: .7rem; } .toast-wrap { bottom: 84px; }
  .sheet-overlay:has(.gm-sheet) { padding: 0; align-items: flex-end; } .sheet:has(.gm-sheet) { border-radius: 14px 14px 0 0; max-height: 96vh; }
}

/* ─── the back office ─── */
.gm-staff .side { background: var(--nav-bg); } .gm-staff .side .brand { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--brass-light); letter-spacing: .02em; }
.gm-staff .side .brand .logo-ph { background: transparent; border: 1px solid var(--brass); color: var(--brass-light); border-radius: 3px; font-family: var(--font-head); font-weight: 600; }
.gm-staff .side a.nav, .nav-btn { font-size: .92rem; } .gm-staff .side a.nav.active { background: rgba(217, 188, 116, .14); color: var(--brass-light); box-shadow: inset 3px 0 0 var(--brass); border-radius: 0 6px 6px 0; }
.nav-btn { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; width: 100%; color: var(--nav-ink); opacity: .82; text-align: left; border-radius: 10px; } .nav-btn:hover { background: rgba(255, 255, 255, .08); opacity: 1; } .nav-btn svg { width: 18px; height: 18px; }
.gm-demo-tag { margin-top: .6rem; padding: .25rem .5rem; border: 1px dashed var(--brass); color: var(--brass-light); font-size: .74rem; text-align: center; border-radius: 3px; }
.gm-staff .top .title { font: 600 1.45rem var(--font-head); } .gm-staff .top { background: var(--surface); }
.gm-staff .store-pill.open { border-color: var(--ok); color: var(--ok); } #snd.muted { opacity: .45; }
.gm-staff #content { padding: 1.4rem; } .page-actions { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; margin-bottom: .9rem; }
.gm-gate { min-height: 100vh; } .gm-login { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: var(--brand); } .gm-login-card { width: 100%; max-width: 520px; background: var(--surface); border-radius: 8px; padding: 2.2rem 2rem; text-align: center; border-top: 3px solid var(--brass); } .gm-login-card h1 { margin: .2rem 0 .6rem; }
.gm-demo-roles { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--border); } .gm-demo-roles h2 { font-size: 1.2rem; margin: 0; } .gm-role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-top: .8rem; } .gm-role-grid .btn { min-height: 40px; font-size: .88rem; }
.gm-conn { font-size: .78rem; padding: .2rem .6rem; border-radius: 99px; font-weight: 500; } .gm-conn.ok { background: var(--ok-soft); color: var(--ok); } .gm-conn.bad { background: var(--bad-soft); color: var(--bad); }
.switch { width: 42px; height: 24px; border-radius: 99px; background: var(--border-strong); position: relative; transition: background .2s; flex: none; } .switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); } .switch.on { background: var(--ok); } .switch.on i { transform: translateX(18px); }
.kpis .kpi { border-radius: var(--radius); box-shadow: none; } .kpi b { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; } .kpi small { display: block; color: var(--muted); font-size: .8rem; }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; } .ladder .step { padding: 1rem; border-right: 1px solid var(--border); background: var(--surface-2); } .ladder .step:nth-child(2) { background: #f3efe3; } .ladder .step:nth-child(3) { background: #efe9d8; } .ladder .step:nth-child(4) { background: var(--brass-soft); border: 0; }
.ladder .step span { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .04em; } .ladder .step b { display: block; font: 600 1.7rem var(--font-head); } .ladder .step small { color: var(--muted); font-size: .76rem; }
@media (max-width: 700px) { .ladder { grid-template-columns: 1fr 1fr; } }
.bar { display: grid; grid-template-columns: 110px 1fr auto; gap: .6rem; align-items: center; padding: .25rem 0; font-size: .9rem; } .bar i { height: 8px; width: var(--w); min-width: 3px; background: var(--brand); border-radius: 2px; display: block; } .bar b { font-weight: 500; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: .4rem; } .plain { list-style: none; margin: 0; padding: 0; } .plain li { padding: .3rem 0; border-bottom: 1px solid var(--border); } .plain li:last-child { border: 0; }
.gm-pending { border-color: var(--brass); background: var(--brass-soft); }

/* order cards and the board */
.ocard { border-radius: var(--radius); } .ocard .actions { margin-top: .5rem; } .ocard ul { list-style: none; padding: 0; margin: .5rem 0; } .ol { display: flex; gap: .5rem; padding: .15rem 0; } .ol b { min-width: 1.6rem; } .ol small { display: block; color: var(--muted); } .ol .nt { color: var(--warn); } .ol .nt.bad { color: var(--bad); } .ol .rv { color: var(--brass); } .ol.is-ready > div span { text-decoration: line-through; opacity: .6; } .ol svg { width: 12px; height: 12px; vertical-align: -1px; }
.ocard .ins { background: var(--warn-soft); padding: .35rem .5rem; border-radius: 3px; margin: .3rem 0; } .ocard .num { font: 600 1.35rem var(--font-head); }
.ocard.age-warn { border-left-color: #c9873a; } .ocard.age-late { border-left-color: var(--bad); }
.od .ol-list { list-style: none; padding: 0; } .tl { list-style: none; padding: 0; margin: 0 0 1rem; } .tl li { padding: .25rem 0 .25rem 1rem; border-left: 2px solid var(--brass-light); } .tl small { color: var(--muted); }
.gm-bill.sm { max-width: 340px; margin: .6rem 0; } .rowline { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--border); } .rowline small { display: block; } .rowline:last-child { border: 0; }
.pickrow { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: .7rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); margin-bottom: .4rem; text-align: left; } .pickrow:hover { background: var(--hover); } .pickrow small { display: block; color: var(--muted); }

/* kitchen display: large, high contrast, touch friendly */
.kds-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; } .kds { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } .kds-empty { grid-column: 1 / -1; font-size: 1.3rem; padding: 4rem 1rem; }
.tk { font-size: 1.05rem; border-left-width: 10px; padding: .9rem 1rem; } .tk header { display: flex; justify-content: space-between; align-items: baseline; } .tk .num { font-size: 2rem; } .tk .timer { font: 700 1.7rem var(--font-body); font-variant-numeric: tabular-nums; }
.tk-note { background: var(--warn-soft); color: #5c3d00; padding: .4rem .6rem; border-radius: 3px; margin: .4rem 0; font-size: .95rem; font-weight: 500; } .tk-note.acked { opacity: .7; } .tk-note.bad { background: var(--bad-soft); color: var(--bad); } .tk-note svg { width: 14px; height: 14px; vertical-align: -2px; }
.tk-lines { list-style: none; padding: 0; margin: .6rem 0; } .tkl { display: grid; grid-template-columns: 104px 1fr; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--border); } .tkl.ready .tk-body > b { text-decoration: line-through; opacity: .55; }
.tk-body > b { display: block; font-size: 1.25rem; line-height: 1.25; } .tk-body small { display: block; color: var(--muted); font-size: .9rem; } .tk-tools { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.tk-state { min-height: 64px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; border: 2px solid var(--border-strong); background: var(--surface); } .tk-state.started { background: var(--brass-light); border-color: var(--brass); color: #1b1710; } .tk-state.ready { background: var(--ok); border-color: var(--ok); color: #fff; }
.tk footer { margin-top: .5rem; } .tk footer .btn { width: 100%; min-height: 54px; font-size: 1.05rem; }

/* recipe studio */
.studio-h { margin: .2rem 0 .8rem; font-size: 2.2rem; } .studio-h small { font: italic 500 1.2rem var(--font-head); color: var(--muted); }
.vtabs button { display: inline-flex; gap: .5rem; align-items: center; }
.rrow { display: grid; grid-template-columns: minmax(180px, 1.4fr) 130px 1fr 1fr 40px; gap: .5rem; align-items: center; margin-bottom: .5rem; } @media (max-width: 800px) { .rrow { grid-template-columns: 1fr 1fr; } }
.rq { display: flex; align-items: center; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); } .rq input { border: 0 !important; box-shadow: none !important; min-width: 0; } .rq em { padding-right: .6rem; color: var(--muted); font-style: normal; font-size: .85rem; }
.srow { display: grid; grid-template-columns: 38px 1fr 42px; gap: .7rem; padding: .8rem 0; border-top: 1px solid var(--border); } .sn { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; } .sf { display: grid; gap: .5rem; } .sb { display: flex; flex-direction: column; gap: .3rem; }
.si-ings { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; } .si-ings .chip button { margin-left: .3rem; font-size: 1rem; } .si-ings .dd { min-width: 200px; }
.decide { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; } .diff { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brass); padding: .7rem 1rem; margin: 0 0 1rem; border-radius: var(--radius-sm); } .diff h4 { margin: 0 0 .3rem; font-size: 1.1rem; } .diff ul { margin: 0; padding-left: 1.1rem; } .diff .add { color: var(--ok); } .diff .del { color: var(--bad); } .diff .chg { color: var(--warn); }
.ing li { display: flex; justify-content: space-between; gap: 1rem; } .steps { padding-left: 1.2rem; } .steps li { margin-bottom: .7rem; } .steps p { margin: 0 0 .15rem; } .steps small { display: block; color: var(--muted); } .steps small.warn { color: var(--warn); } .steps svg { width: 13px; height: 13px; vertical-align: -1px; }
.hist li { line-height: 1.5; }

/* cooking mode */
body.cooking { overflow: hidden; }
.cook { position: fixed; inset: 0; z-index: 900; background: #14261d; color: #f4ecd8; display: flex; flex-direction: column; padding: max(1rem, env(safe-area-inset-top)) 1.4rem max(1rem, env(safe-area-inset-bottom)); }
.cook header { display: flex; align-items: center; gap: 1rem; } .cook header div { flex: 1; } .cook header b { font: 600 1.6rem var(--font-head); color: var(--brass-light); display: block; } .cook header small { color: #b9b19a; }
.cook-x { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(244, 236, 216, .4); display: grid; place-items: center; } .cook-x svg { width: 22px; height: 22px; } .cook-all { padding: .6rem 1rem; border: 1.5px solid rgba(244, 236, 216, .4); border-radius: var(--radius-sm); font-weight: 500; }
.cook-dots { display: flex; gap: 6px; margin: 1rem 0; } .cook-dots i { flex: 1; height: 4px; border-radius: 2px; background: rgba(244, 236, 216, .2); } .cook-dots i.done { background: var(--brass); } .cook-dots i.now { background: var(--brass-light); }
.cook main { flex: 1; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; max-width: 960px; width: 100%; margin: 0 auto; padding: 1rem 0; }
.cook-n { font: italic 500 1.3rem var(--font-head); color: var(--brass-light); margin: 0 0 .6rem; } .cook-t { font: 500 clamp(1.8rem, 5vw, 3.4rem)/1.2 var(--font-head); margin: 0 0 1.2rem; color: #fbf6e8; }
.cook-badges { display: flex; gap: .6rem; margin-bottom: 1rem; } .cb { padding: .35rem .9rem; border-radius: 99px; background: rgba(244, 236, 216, .12); font-size: 1.1rem; font-weight: 500; } .cb.flame.high { background: #8a2c1d; } .cb.flame.medium { background: #8a5a1d; } .cb.flame.low { background: #3e5d2f; }
.cook-sp { font-size: 1.3rem; color: #d9d0b9; margin: 0 0 1rem; } .cook-warn { background: #5a3f10; border-left: 5px solid var(--brass-light); color: #ffe6a8; padding: .9rem 1.1rem; font-size: 1.25rem; font-weight: 500; border-radius: 3px; margin-bottom: 1rem; } .cook-warn svg { width: 22px; height: 22px; vertical-align: -4px; }
.cook-ings { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem; } .cook-ings li { display: flex; justify-content: space-between; padding: .7rem 1rem; background: rgba(244, 236, 216, .08); border-radius: var(--radius-sm); font-size: 1.2rem; } .cook-ings b { color: var(--brass-light); }
.cook-timer { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: .6rem; } .cook-timer output { font: 600 clamp(3.5rem, 12vw, 7rem)/1 var(--font-body); font-variant-numeric: tabular-nums; color: #fbf6e8; } .cook-timer output.zero { color: #ff9b84; } .cook-timer .btn { min-height: 56px; font-size: 1.1rem; margin-right: .5rem; }
.cook footer { display: flex; gap: 1rem; align-items: stretch; max-width: 960px; width: 100%; margin: 0 auto; } .cook-nav { flex: 1; min-height: 72px; border: 1.5px solid rgba(244, 236, 216, .4); border-radius: var(--radius); font-size: 1.3rem; font-weight: 500; } .cook-nav:disabled { opacity: .3; } .cook-nav.go { background: var(--brass-light); color: #1b1710; border-color: var(--brass-light); font-weight: 600; } .cook-say { padding: 0 1.2rem; border: 1.5px solid rgba(244, 236, 216, .4); border-radius: var(--radius); display: flex; align-items: center; gap: .5rem; } .cook-say svg { width: 22px; height: 22px; }
.cook-drawer { position: absolute; inset: 0; background: #14261d; padding: 1.4rem; overflow-y: auto; z-index: 3; } .cook-drawer h2 { color: var(--brass-light); } .cook-drawer ul { list-style: none; padding: 0; max-width: 700px; } .cook-drawer li { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid rgba(244, 236, 216, .15); font-size: 1.3rem; } .cook-drawer small { color: #b9b19a; }

/* point of sale */
.pos { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 1rem; align-items: start; } @media (max-width: 960px) { .pos { grid-template-columns: 1fr; } }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; } .pos-tile { min-height: 84px; padding: .6rem .7rem; text-align: left; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; } .pos-tile:hover { border-color: var(--brass); background: var(--brass-soft); } .pos-tile b { font-weight: 500; line-height: 1.2; } .pos-tile span { color: var(--muted); font-size: .88rem; } .pos-tile.out { opacity: .4; }
.pos-ticket { position: sticky; top: 76px; } .pos-lines { list-style: none; margin: .6rem 0; padding: 0; max-height: 34vh; overflow-y: auto; } .pos-lines li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--border); } .pos-lines small { display: block; color: var(--muted); }
.pos-pay { display: grid; gap: .5rem; margin-top: .8rem; } .pos-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1rem 0; }

/* delivery */
.fleet { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 1rem; align-items: start; } @media (max-width: 900px) { .fleet { grid-template-columns: 1fr; } } .gm-sim.alert { display: flex; gap: .5rem; margin-bottom: .8rem; } .gm-sim svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.rider { max-width: 560px; margin: 0 auto; } .duty { padding: .5rem 1.1rem; border-radius: 99px; border: 1.5px solid var(--border-strong); font-weight: 600; background: var(--surface); } .duty.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.rcard { border-top: 3px solid var(--brass); } .rtask { padding: .7rem 0; border-top: 1px solid var(--border); display: grid; gap: .25rem; } .rtask small { color: var(--muted); letter-spacing: .06em; font-size: .78rem; } .rtask b { font-size: 1.1rem; } .collect { color: var(--bad); }
.rcard .btn-lg { width: auto; flex: 1; min-height: 56px; }

/* care, team, settings, small things */
.thread { margin: .8rem 0; display: grid; gap: .5rem; } .msg { padding: .6rem .8rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); } .msg.reply { background: var(--ok-soft); border-color: transparent; } .msg.internal { background: var(--warn-soft); border-color: transparent; } .msg small { color: var(--muted); } .msg p { margin: .15rem 0 0; }
.matrix th, .matrix td { text-align: center; font-size: .82rem; } .matrix td:first-child, .matrix th:first-child { text-align: left; } .matrix .lv-full { background: color-mix(in srgb, var(--ok) 22%, var(--surface)); font-weight: 600; } .matrix .lv-edit { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); } .matrix .lv-view { background: var(--surface-2); color: var(--muted); }
.defs dt { font-weight: 600; margin-top: .6rem; } .defs dd { margin: 0; color: var(--muted); }
.photo-slot { aspect-ratio: 16 / 10; border: 1.5px dashed var(--border-strong); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); overflow: hidden; margin-bottom: .4rem; } .photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.settings fieldset { border: 0; padding: 0; margin: 0; min-width: 0; } .settings .card { margin-bottom: 1rem; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 640px) { .grid.cols-3:not(.keep3) { grid-template-columns: 1fr; } }
.si { display: block; } .print-only { font-family: monospace; }
@media (max-width: 900px) { .gm-staff .top .title { font-size: 1.2rem; } .tk .num { font-size: 1.6rem; } .gm-role-grid { grid-template-columns: 1fr; } .bar { grid-template-columns: 90px 1fr auto; } }

/* ─── voice notes, live location, reservations, custom roles ─── */
.vnote { display: block; width: 100%; max-width: 320px; height: 36px; margin: .3rem 0; }
.gm-voice { display: flex; align-items: center; gap: .7rem; margin: .2rem 0 1rem; flex-wrap: wrap; } .gm-voice svg, .vr svg { width: 16px; height: 16px; }
.vr-stage { text-align: center; padding: 1rem 0; } .vr-time { display: block; font: 600 3rem var(--font-body); font-variant-numeric: tabular-nums; } .vr-row { display: flex; gap: .6rem; justify-content: center; margin: .6rem 0; } #vaud { width: 100%; }
.vrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; } .vrow .vnote { flex: 1; min-width: 200px; margin: 0; }
.cook-voice { margin: 0 0 1rem; } .cook-voice small { display: block; color: var(--brass-light); margin-bottom: .3rem; font-size: 1rem; } .cook-voice .vnote { max-width: 420px; height: 48px; }
.gps { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border: 1px solid var(--border-strong); border-radius: var(--radius); margin: .8rem 0; background: var(--surface); } .gps span { flex: 1; font-size: .92rem; } .gps.on { background: var(--ok-soft); border-color: transparent; color: var(--ok); } .gps i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); animation: gmpulse 1.8s ease-out infinite; }
.gm-live { display: flex; gap: .5rem; align-items: flex-start; padding: .6rem 1rem; margin: 0; background: var(--ok-soft); color: var(--ok); } .gm-live svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.gm-find { display: flex; gap: .5rem; margin-bottom: .4rem; } .gm-finds .pickrow { margin: 0; } .gm-finds li { border: 0; padding: .15rem 0; }
.gm-days { flex-wrap: wrap; overflow: visible; } .gm-days .chip { flex: none; }
.gm-slots { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; } .gm-slot { padding: .55rem 1rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font-weight: 500; min-width: 92px; } .gm-slot.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); } .gm-slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.gm-just { background: var(--brass-soft); padding-left: .6rem; padding-right: .6rem; border-radius: var(--radius-sm); }
.res-list { display: grid; gap: .7rem; } .res { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .9rem 1rem; margin: 0 !important; border-left: 5px solid var(--border-strong); } .res.confirmed { border-left-color: var(--info); } .res.requested { border-left-color: var(--brass); } .res.seated { border-left-color: var(--ok); } .res.cancelled, .res.no_show { opacity: .6; }
.res-time b { font: 600 1.5rem var(--font-head); display: block; } .res-time small { color: var(--muted); } @media (max-width: 560px) { .res { grid-template-columns: 1fr; } }
.permgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .4rem .9rem; margin-top: .6rem; }
