/* ───────── First Taste by NorrOne — styles ───────── */
/* Tokens live in themes.css. */
:root { --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
h1, h2, .display, .score-big, .k-value, .brand, .date-block b, .course-label {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track);
}
h1, h2 { text-transform: var(--display-case); }
.tiny.bold, .lib-type, .table th, .k-label { letter-spacing: var(--label-track); }
h1 { font-size: 30px; line-height: 1.1; }
h2 { font-size: 21px; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.bold { font-weight: 700; }
.nowrap { white-space: nowrap; }
.svg-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-i.sm { width: 15px; height: 15px; }
.svg-i.lg { width: 22px; height: 22px; }

/* ───────── Layout ───────── */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh;
  padding: 22px 14px; display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--line); background: var(--surface-2);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; font-size: 21px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--accent);
  display: grid; place-items: center; color: var(--on-accent);
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-link {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: var(--r-sm);
  color: var(--ink-2); font-weight: 500; font-size: var(--nav-size); text-transform: var(--nav-case); letter-spacing: var(--nav-track);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav-link:hover { background: var(--surface-3); }
.nav-link.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.nav-link.active .svg-i { color: var(--accent); }
.nav-link .count { margin-left: auto; font-size: 12px; background: var(--green-soft); color: var(--green); padding: 1px 8px; border-radius: 99px; }
.side-foot { margin-top: auto; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.side-foot .who { min-width: 0; }
.side-foot .who b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot .who span { font-size: 12px; color: var(--muted); }

.main { min-width: 0; padding: 36px 44px 80px; }
.page { max-width: 1080px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head p { margin-top: 6px; color: var(--muted); }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 13.5px; margin-bottom: 14px; }
.crumb:hover { color: var(--ink); }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 32px 0 14px; }
.section-title h2 { font-size: 17px; }

/* ───────── Surfaces ───────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 22px; }
.card.pad-0 { padding: 0; overflow: hidden; }
.card.hover { transition: border-color .15s, box-shadow .15s, transform .15s; cursor: pointer; }
.card.hover:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.divider { height: 1px; background: var(--line); margin: 18px 0; border: 0; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--r-btn); border: 1px solid var(--line-2);
  background: var(--surface); font-weight: var(--btn-weight); font-size: var(--btn-size); cursor: pointer; white-space: nowrap;
  text-transform: var(--btn-case); letter-spacing: var(--btn-track);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
}
.btn:hover { background: var(--surface-3); border-color: var(--line-3); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-accent:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-3); border-color: transparent; }
.btn-danger { color: var(--red-ink); }
.btn-sm { height: 32px; padding: 0 12px; font-size: calc(var(--btn-size) - 1px); border-radius: var(--r-sm); }
.btn-lg { height: 50px; padding: 0 22px; font-size: calc(var(--btn-size) + 1.5px); border-radius: var(--r); }
.btn-block { width: 100%; }
.btn-icon { width: 34px; height: 34px; padding: 0; border-radius: var(--r-sm); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ───────── Badges ───────── */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.live { background: var(--green-soft); color: var(--green); }
.pill.live .dot { animation: pulse 1.6s infinite; }
.pill.draft { background: var(--surface-3); color: var(--muted); }
.pill.closed { background: var(--surface-3); color: var(--ink-2); }
.pill.anon { background: var(--violet-soft); color: var(--violet); }
.pill.named { background: var(--blue-soft); color: var(--blue); }
.pill.good { background: var(--green-soft); color: var(--green); }
.pill.mid { background: var(--amber-soft); color: var(--amber-ink); }
.pill.low { background: var(--red-soft); color: var(--red-ink); }
.pill.neutral { background: var(--surface-3); color: var(--ink-2); }
.pill .svg-i { width: 13px; height: 13px; stroke-width: 2.2; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* ───────── Forms ───────── */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label, .label { font-weight: 650; font-size: 13.5px; color: var(--ink-2); }
.hint { font-size: 12.5px; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; height: 44px; padding: 0 14px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--ink-2); box-shadow: 0 0 0 4px var(--focus); }
.input.sm, .select.sm { height: 36px; border-radius: var(--r-sm); font-size: 14px; padding: 0 12px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A746A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

.choice-card {
  position: relative; display: flex; gap: 14px; padding: 16px; border-radius: var(--r);
  border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s;
}
.choice-card:hover { border-color: var(--line-3); }
.choice-card.on { border-color: var(--sel); background: var(--surface-2); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card .ic { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; flex: none; }
.choice-card b { display: block; margin-bottom: 2px; }
.choice-card .tick { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.choice-card.on .tick { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.choice-card.on .tick svg { width: 12px; height: 12px; stroke-width: 3; }

.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line-3); cursor: pointer; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--knob); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(18px); }

.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 99px;
  border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 13.5px; cursor: pointer; user-select: none;
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--line-3); }
.chip.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chip.soft.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ───────── KPI / stats ───────── */
.kpi { padding: 18px 20px; }
.kpi .k-label { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.kpi .k-value { font-size: 30px; margin-top: 6px; line-height: 1.1; }
.kpi .k-value small { font-size: 15px; color: var(--faint); font-weight: 700; }
.kpi .k-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.bar { height: 8px; border-radius: 99px; background: var(--track); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: var(--bar); transition: width .8s var(--ease); }
.bar.g > i { background: var(--green); }
.bar.a > i { background: var(--amber); }
.bar.r > i { background: var(--red); }

/* ───────── Lists / tables ───────── */
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); transition: background .15s; }
.list-row:first-child { border-top: 0; }
a.list-row:hover { background: var(--surface-2); }
.date-block { width: 48px; height: 52px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.date-block b { font-size: 19px; line-height: 1; }
.date-block span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-top: 3px; }
.emoji-stack { display: flex; }
.emoji-stack span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--surface); margin-left: -6px; font-size: 14px; }
.emoji-stack span:first-child { margin-left: 0; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: var(--surface-2); }
.table-wrap { overflow-x: auto; }

/* ───────── Dish visuals ───────── */
.dish-ic { width: 46px; height: 46px; border-radius: var(--r); display: grid; place-items: center; font-size: 24px; flex: none; background: var(--surface-2); border: 1px solid var(--line); }
.dish-ic.sm { width: 34px; height: 34px; border-radius: var(--r-sm); font-size: 18px; }
.dish-ic.lg { width: 76px; height: 76px; border-radius: var(--r-lg); font-size: 40px; }
.menu-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.menu-card .meta { min-width: 0; flex: 1; }
.menu-card .desc { font-size: 13.5px; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 6px; background: var(--surface-3); color: var(--ink-2); }
.select-card { position: relative; cursor: pointer; border: 1.5px solid var(--line); transition: border-color .15s, background .15s; }
.select-card:hover { border-color: var(--line-3); }
.select-card.on { border-color: var(--sel); background: var(--surface-2); }
.select-card .tick { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: var(--surface); }
.select-card.on .tick { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.select-card .tick svg { width: 12px; height: 12px; stroke-width: 3; }

/* ───────── Stepper (wizard) ───────── */
.stepper { display: flex; gap: 8px; margin-bottom: 26px; }
.step { flex: 1; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.step .bar-s { height: 4px; border-radius: 99px; background: var(--line-2); }
.step.done .bar-s, .step.cur .bar-s { background: var(--primary); }
.step span { font-size: 12.5px; font-weight: 700; color: var(--faint); }
.step.cur span, .step.done span { color: var(--ink); }
.wiz-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }

.q-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 10px; align-items: start; padding: 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.q-row .q-ops { display: flex; gap: 2px; }
.q-preview { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; color: var(--faint); font-size: 13px; align-items: center; }
.slot-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: center; }

/* ───────── QR ───────── */
.qr-box { background: var(--qr-bg); border-radius: var(--r-lg); padding: 16px; border: 1px solid var(--line); display: inline-block; line-height: 0; }
.qr-box svg { width: 100%; height: auto; display: block; }
.qr-box svg rect { fill: var(--qr-bg); }
.qr-box svg path { fill: #0A0B0A; }
.qr-fallback { width: 100%; aspect-ratio: 1; display: grid; place-items: center; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.4; padding: 12px; }
.live-card { display: grid; grid-template-columns: 1fr 190px; gap: 24px; align-items: center; background: var(--hero-grad); }

/* ───────── Tabs ───────── */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tab { padding: 10px 14px; font-weight: 650; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-bottom-color: var(--ink); }
.tab .n { font-size: 11.5px; background: var(--surface-3); padding: 1px 7px; border-radius: 99px; margin-left: 4px; }

/* ───────── Report ───────── */
.score-big { font-size: 34px; line-height: 1; }
.score-big small { font-size: 15px; color: var(--faint); font-weight: 700; }
.dist { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.dist .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.dist .col i { display: block; width: 100%; border-radius: 5px 5px 2px 2px; background: var(--dist); min-height: 3px; }
.dist .col i.hi { background: var(--bar); }
.dist .col span { font-size: 10.5px; color: var(--faint); font-weight: 700; }
.hbar { display: grid; grid-template-columns: 110px 1fr 42px; gap: 10px; align-items: center; font-size: 13px; margin-top: 8px; }
.hbar .bar { height: 10px; }
.yn-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--track); }
.yn-bar i { display: block; height: 100%; }
.q-block { padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2); }
.q-block h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; }
.quote { padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; }
.quote .by { font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.trend { display: flex; gap: 10px; align-items: flex-end; }
.trend .t { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 56px; }
.trend .t .tb { width: 30px; border-radius: 8px 8px 3px 3px; background: var(--bar); }
.trend .t b { font-size: 13px; }
.trend .t span { font-size: 11px; color: var(--muted); font-weight: 600; text-align: center; }
.filters { display: grid; gap: 14px; }
.filters .f-row { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: start; }
.filters .f-row .label { padding-top: 7px; }

/* ───────── Empty states ───────── */
.empty { text-align: center; padding: 48px 24px; }
.empty .big { font-size: 40px; margin-bottom: 12px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 380px; margin: 0 auto 18px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; margin: 26px 0 8px; }
.steps3 .s { padding: 18px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.steps3 .s .num { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: 13px; display: grid; place-items: center; margin-bottom: 10px; }

/* ───────── Modal & toast ───────── */
.modal-bg { position: fixed; inset: 0; background: var(--overlay); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; z-index: 50; animation: fade .15s; }
.modal { width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 26px; animation: rise .2s; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.emoji-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.emoji-grid button { aspect-ratio: 1; border-radius: var(--r-sm); border: 1.5px solid transparent; background: var(--surface-2); font-size: 20px; cursor: pointer; padding: 0; }
.emoji-grid button.on { border-color: var(--sel); background: var(--surface); }
.toast { position: fixed; left: 50%; top: 20px; transform: translate(-50%, -16px); background: var(--toast-bg); color: var(--toast-ink); padding: 11px 18px; border-radius: var(--r); font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 60; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes fade { from { opacity: 0 } }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.98) } }

/* ───────── Welcome / onboarding ───────── */
.welcome { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.welcome .w-left { padding: 48px 64px; display: flex; flex-direction: column; justify-content: center; max-width: 620px; margin-left: auto; width: 100%; }
.welcome .w-right { background: var(--surface-2); display: grid; place-items: center; padding: 40px; position: relative; overflow: hidden; }
.welcome h1 { font-size: 40px; letter-spacing: -0.035em; margin: 22px 0 12px; }
.welcome .lead { font-size: 17px; color: var(--muted); margin-bottom: 30px; max-width: 460px; }
.feature-list { display: grid; gap: 14px; margin: 0 0 34px; }
.feature-list div { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .fi { width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; background: var(--surface); border: 1px solid var(--line); }
.phone { width: 300px; border-radius: 40px; background: #111211; border: 1px solid rgba(255,255,255,.08); padding: 10px; box-shadow: var(--shadow-lg); transform: rotate(-3deg); }
.phone-screen { border-radius: 31px; background: var(--bg); overflow: hidden; padding: 26px 18px; min-height: 540px; }

/* ───────── Guest (mobile-first) ───────── */
.guest { min-height: 100vh; background: var(--bg); display: flex; justify-content: center; }
.g-wrap { width: 100%; max-width: 460px; padding: 20px 18px 120px; display: flex; flex-direction: column; }
.g-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.g-resto { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.g-resto .avatar { width: 32px; height: 32px; font-size: 13px; }
.g-hero { padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.g-hero h1 { font-size: 26px; margin: 8px 0 8px; }
.privacy-note { display: flex; gap: 12px; text-align: left; padding: 14px; border-radius: var(--r-lg); margin-top: 18px; }
.privacy-note.anon { background: var(--violet-soft); }
.privacy-note.named { background: var(--blue-soft); }
.privacy-note .ic { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--surface); display: grid; place-items: center; flex: none; }
.privacy-note.anon .ic { color: var(--violet); }
.privacy-note.named .ic { color: var(--blue); }
.privacy-note b { display: block; font-size: 14px; }
.privacy-note p { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.g-progress { display: flex; gap: 10px; margin-bottom: 18px; }
.g-pgroup { display: flex; gap: 4px; }
.g-progress i { flex: 1; height: 4px; border-radius: 99px; background: var(--line-2); }
.g-progress i.on { background: var(--primary); }
.g-dish { text-align: center; padding: 8px 0 18px; }
.g-dish .dish-ic { margin: 0 auto 14px; }
.g-dish h1 { font-size: 26px; }
.g-note { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--amber-soft); text-align: left; font-size: 14px; }
.g-note b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--amber-ink); margin-bottom: 2px; }
.g-q { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin-top: 12px; }
.g-q .ql { font-weight: 700; margin-bottom: 14px; }
.rate { display: flex; gap: 8px; }
.rate button { flex: 1; height: 52px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 22px; font-weight: 700; transition: all .12s; display: grid; place-items: center; padding: 0; }
.rate button:active { transform: scale(.95); }
.rate.stars button { color: var(--line-3); font-size: 26px; }
.rate.stars button.on { color: var(--star); border-color: var(--star-line); background: var(--star-soft); }
.rate.faces button { filter: grayscale(1); opacity: .55; font-size: 26px; }
.rate.faces button.on { filter: none; opacity: 1; border-color: var(--sel); background: var(--surface-2); }
.rate.scale { flex-wrap: wrap; gap: 6px; }
.rate.scale button { flex: 0 0 calc(20% - 4.8px); height: 46px; font-size: 16px; }
.rate.scale button.on { background: var(--primary); color: var(--on-primary); border-color: var(--sel); }
.rate.yn button { font-size: 16px; height: 56px; gap: 8px; display: flex; align-items: center; justify-content: center; }
.rate.yn button.on.yes { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.rate.yn button.on.no { background: var(--red-soft); border-color: var(--red); color: var(--red-ink); }
.scale-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.opt-list { display: grid; gap: 8px; }
.opt-list button { text-align: left; height: 48px; padding: 0 16px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.opt-list button.on { border-color: var(--sel); background: var(--surface-2); }
.g-foot { position: fixed; bottom: 0; left: 0; right: 0; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, transparent); display: flex; justify-content: center; }
.g-foot .inner { width: 100%; max-width: 424px; display: flex; gap: 10px; }
.g-thanks { text-align: center; padding: 60px 10px 0; }
.g-thanks .big { font-size: 64px; margin-bottom: 10px; animation: rise .4s; }
.g-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-slots button { height: 52px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; cursor: pointer; }
.g-slots button.on { background: var(--primary); color: var(--on-primary); border-color: var(--sel); }
.g-slots button small { display: block; font-weight: 600; font-size: 11px; opacity: .7; }

/* ───────── Present mode ───────── */
.present { min-height: 100vh; display: grid; place-items: center; background: var(--bg); padding: 40px; text-align: center; position: relative; }
.present .qr-box { width: min(46vh, 440px); padding: 26px; border-radius: 32px; box-shadow: var(--shadow); }
.present h1 { font-size: clamp(30px, 4.5vw, 54px); letter-spacing: -0.04em; margin: 14px 0 6px; }
.present .exit { position: absolute; top: 24px; left: 24px; }
.present .joined { position: absolute; top: 24px; right: 24px; }


/* ───────── Photos ───────── */
.dish-ic.has-img { padding: 0; overflow: hidden; background: var(--surface-2); }
.dish-ic.has-img img, .emoji-stack span.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.emoji-stack span.has-img { overflow: hidden; padding: 0; }
.menu-card.with-photo { flex-direction: column; padding: 0; overflow: hidden; gap: 0; }
.menu-card.with-photo .meta { padding: 16px 18px 18px; width: 100%; }
.menu-photo { width: 100%; aspect-ratio: 16 / 7; overflow: hidden; background: var(--surface-2); }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-drop { border-radius: var(--r-lg); transition: box-shadow .15s; }
.img-drop.over { box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 4px var(--accent); }
.img-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface-2); cursor: pointer; text-align: center; transition: border-color .15s; }
.img-empty:hover { border-color: var(--line-3); }
.img-preview { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.img-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-actions { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.img-actions .btn { background: var(--glass); backdrop-filter: blur(4px); }
.fi { width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; background: var(--surface); border: 1px solid var(--line); }

/* ───────── Allergens ───────── */
.allergen { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 650; background: var(--allergen-bg); color: var(--allergen-ink); border: 1px solid var(--allergen-line); white-space: nowrap; }
.allergen.hit { background: var(--red-soft); color: var(--red-ink); border-color: var(--red-line); box-shadow: 0 0 0 2px var(--red-soft); }
.chip.allergen-chip.on { background: var(--allergen-bg); border-color: var(--allergen-line); color: var(--allergen-ink); }

/* ───────── Wizard: toggles, courses, pacing ───────── */
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2); }
.sub-panel { padding: 16px; border-radius: var(--r-lg); background: var(--green-soft); border: 1px solid var(--green-line); margin-top: -10px; }
.sub-panel .toggle-row { background: var(--surface); }
.course-block { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; background: var(--surface); }
.course-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.course-num { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; flex: none; }
.course-name { font-weight: 700; max-width: 320px; }
.course-empty { padding: 14px; border-radius: var(--r); border: 1.5px dashed var(--line-2); color: var(--muted); font-size: 13px; text-align: center; }
.course-label { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 12px; }
.course-sub { display: flex; align-items: center; gap: 8px; padding: 10px 20px 6px; font-weight: 700; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); background: var(--surface-2); }
.course-sub .course-num { width: 20px; height: 20px; font-size: 11px; }
.q-row.dish-row { grid-template-columns: auto 1fr auto; align-items: center; }
.q-row.dish-row .q-ops { align-items: center; gap: 4px; }
.timer-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }

/* ───────── Live control (host) ───────── */
.live-ctrl { background: var(--live-grad); border-color: var(--green-line); }
.timeline { display: flex; gap: 8px; margin-top: 18px; overflow-x: auto; padding-bottom: 2px; }
.tl { flex: 1; min-width: 150px; display: flex; gap: 10px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); opacity: .75; }
.tl.cur { opacity: 1; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.tl.done { opacity: .55; }
.tl-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.tl.cur .tl-dot { background: var(--green); color: var(--on-green); }
.tl.done .tl-dot { background: var(--primary); color: var(--on-primary); }
.tl-dot .svg-i { width: 12px; height: 12px; stroke-width: 3; }
.tl-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tl-body b { font-size: 13.5px; }
.tl-body .emoji-stack span { width: 24px; height: 24px; font-size: 12px; }

/* ───────── Present mode with "now serving" ───────── */
.present-grid { display: grid; gap: 48px; align-items: center; }
.present.with-now .present-grid { grid-template-columns: auto minmax(280px, 420px); }
.present.with-now .qr-box { width: min(40vh, 380px); }
.present-now { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.present-now h2 { font-size: 34px; letter-spacing: -0.03em; margin-top: 6px; }
.present-ctrl { position: absolute; left: 24px; right: 24px; bottom: 20px; max-width: 900px; margin: 0 auto; text-align: left; }
.present-ctrl .card { padding: 14px 18px; }
.present-ctrl .timeline { display: none; }
.present.with-now { padding-bottom: 140px; }

/* ───────── Guest: follow-along, photos, menu sheet ───────── */
.g-banner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; margin-bottom: 14px; border-radius: var(--r); background: var(--green); color: var(--on-green); font-weight: 700; font-size: 14px; animation: bannerIn .5s ease, bannerOut .6s ease 5s forwards; }
@keyframes bannerIn { from { opacity: 0; transform: translateY(-10px) } }
@keyframes bannerOut { to { opacity: 0; height: 0; padding: 0; margin: 0 } }
.g-timer { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); margin: -6px 0 12px; }
.g-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); }
.g-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-allergens { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.g-warn { display: flex; gap: 10px; text-align: left; margin-top: 14px; padding: 12px 14px; border-radius: var(--r); background: var(--red-soft); color: var(--red-ink); border: 1px solid var(--red-line); }
.g-warn b { display: block; font-size: 14px; }
.g-warn p { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.g-warn.sm { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: 12px; font-weight: 700; border-radius: var(--r-sm); margin-top: 8px; }
.g-wait { text-align: center; padding: 36px 4px 0; }
.g-wait h1 { font-size: 24px; }
.pulse-ring { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 36px; background: var(--surface); border: 1px solid var(--line); animation: ring 2.2s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(46,157,106,.25) } 70% { box-shadow: 0 0 0 22px rgba(46,157,106,0) } 100% { box-shadow: 0 0 0 0 rgba(46,157,106,0) } }
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: var(--overlay); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { width: 100%; max-width: 480px; max-height: 86vh; overflow: auto; background: var(--bg); border-radius: 26px 26px 0 0; padding: 10px 18px calc(28px + env(safe-area-inset-bottom)); animation: sheetUp .25s ease; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0 } }
.sheet-handle { width: 40px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 0 auto 14px; }
.sheet-course { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.menu-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.menu-row-img { width: 64px; height: 64px; border-radius: var(--r); overflow: hidden; flex: none; }
.menu-row-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1000px) {
  .present.with-now .present-grid { grid-template-columns: 1fr; gap: 24px; }
  .present-ctrl { position: static; margin-top: 24px; }
  .present.with-now { padding-bottom: 40px; }
}
@media (max-width: 820px) {
  .q-row.dish-row { grid-template-columns: auto 1fr; }
  .q-row.dish-row .q-ops { grid-column: 1 / -1; justify-content: flex-end; }
}

/* ───────── Responsive ───────── */
@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .welcome { grid-template-columns: 1fr; }
  .welcome .w-right { display: none; }
  .welcome .w-left { margin: 0 auto; padding: 40px 24px; }
}
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; height: auto; flex-direction: row; align-items: center; z-index: 20; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; gap: 2px; }
  .brand { padding: 0 8px 0 2px; font-size: 0; gap: 0; }
  .nav-link { padding: 8px 10px; font-size: 13px; gap: 6px; }
  .nav-link .label-t { display: none; }
  .nav-link .count { display: none; }
  .side-foot { display: none; }
  .main { padding: 24px 16px 80px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .live-card { grid-template-columns: 1fr; }
  .live-card .qr-wrap { max-width: 200px; }
  .steps3 { grid-template-columns: 1fr; }
  .q-row { grid-template-columns: 1fr; }
  .slot-row { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 24px; }
  .hbar { grid-template-columns: 90px 1fr 38px; }
}

/* ───────── Print (reports) ───────── */
@media print {
  body { background: #fff; }
  .side, .no-print, .toast { display: none !important; }
  .app { display: block; }
  .main { padding: 0; }
  .card { box-shadow: none; break-inside: avoid; }
}

/* ───────── Balance ("too little ↔ too much") questions ───────── */
.level { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.level button { height: 50px; border-radius: var(--r); border: 1.5px solid transparent; cursor: pointer; font-size: 20px; transition: all .12s; padding: 0; }
.level button:active { transform: scale(.95); }
.level .l1, .level .l5 { background: var(--red-soft); }
.level .l2, .level .l4 { background: var(--amber-soft); }
.level .l3 { background: var(--green-soft); }
.level .l1.on, .level .l5.on { background: var(--red); border-color: var(--red); }
.level .l2.on, .level .l4.on { background: var(--amber); border-color: var(--amber); }
.level .l3.on { background: var(--green); border-color: var(--green); }
.level-legend { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 650; margin-top: 8px; }
.level-legend span:nth-child(2):not(:last-child) { text-align: center; }
.level-legend span:last-child { text-align: right; }
.level-read { text-align: center; font-size: 13.5px; margin-top: 10px; min-height: 20px; }
.level-edit { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.level-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 2px; background: var(--track); }
.level-bar i { display: block; height: 100%; }
.opt-list button.multi .box { width: 22px; height: 22px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; }
.opt-list button.multi.on .box { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.opt-list button.multi .box .svg-i { width: 13px; height: 13px; stroke-width: 3; }

/* ───────── Question library ───────── */
.modal.wide { max-width: 880px; display: flex; flex-direction: column; padding-bottom: 0; }
.lib-search { position: relative; }
.lib-search .svg-i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.lib-search .input { padding-left: 38px; }
.lib-body { margin-top: 8px; overflow: auto; min-height: 200px; }
.lib-sec { padding-top: 18px; }
.lib-sec h3 { font-size: 14px; margin-bottom: 10px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.lib-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.lib-card:hover { border-color: var(--line-3); }
.lib-card.on { border-color: var(--sel); background: var(--surface-2); }
.lib-card.added { cursor: default; opacity: .6; }
.lib-card .tick { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.lib-card.on .tick { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.lib-card .tick .svg-i { width: 12px; height: 12px; stroke-width: 3; }
.lib-type { font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.lib-prev { font-size: 12px; color: var(--faint); line-height: 1.4; }
.lib-prev b { color: var(--green); font-weight: 700; }
.lib-del { position: absolute; right: 36px; top: 8px; width: 26px; height: 26px; border-radius: var(--r-sm); border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.lib-del:hover { background: var(--red-soft); color: var(--red-ink); }
.lib-foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0 22px; margin-top: 12px; background: var(--surface); border-top: 1px solid var(--line); flex-wrap: wrap; }
.q-preview b { color: var(--green); }
@media (max-width: 820px) { .level-edit { grid-template-columns: 1fr; } .level-edit span { text-align: center; } }

/* ═════════ Brand layer: atmosphere, motion, signature details ═════════ */
html { background: var(--bg); transition: background-color .6s var(--ease); }
body { background: var(--bg); background-image: var(--glow); background-attachment: fixed; transition: background-color .6s var(--ease), color .6s var(--ease); }
/* Film grain for the dark themes — barely there, gives the black some depth. */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: var(--grain-o);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--accent); color: var(--on-accent); }

/* Floating sidebar panel */
.side { margin: 12px 0 12px 12px; height: calc(100vh - 24px); top: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
.side .brand { font-size: 22px; }
.logo-mark { border-radius: var(--r-sm); }
.side-foot { border-radius: var(--r); background: var(--surface); }

/* Smooth, consistent interaction states */
.card, .chip, .tab, .input, .textarea, .select, .choice-card, .select-card, .lib-card, .q-row, .rate button, .opt-list button, .g-slots button, .level button, .list-row, .menu-row, .tl {
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease), opacity .35s var(--ease);
}
.card.hover:hover { transform: translateY(-2px); }
.chip:active, .rate button:active, .opt-list button:active, .g-slots button:active { transform: scale(.97); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--sel); box-shadow: 0 0 0 4px var(--focus); }
.nav-link.active { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-link.active .svg-i { color: var(--accent); }
.tab { transition: color .3s var(--ease), border-color .3s var(--ease); }

/* Text roll on hover — the label slides up and its twin slides in. */
.roll { display: inline-flex; flex-direction: column; height: 1.3em; line-height: 1.3em; overflow: hidden; vertical-align: top; }
.roll > span { transition: transform .5s var(--ease); white-space: nowrap; }
a:hover > .roll > span, button:hover > .roll > span, .nav-link:hover .roll > span { transform: translateY(-100%); }

/* Thin gold rule with a centred diamond */
.decor { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--accent); margin: 14px auto; width: min(260px, 70%); }
.decor i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-line)); }
.decor i:last-child { background: linear-gradient(270deg, transparent, var(--accent-line)); }
.decor b { width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent); flex: none; }

/* Inverted-corner label that sits in the corner of a photo */
.notch { position: absolute; right: 0; bottom: 0; background: var(--surface); border-top-left-radius: var(--r-lg); padding: 9px 14px 0 16px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--ink); }
.notch::before, .notch::after { content: ""; position: absolute; width: var(--r-lg); height: var(--r-lg); background: transparent; border-bottom-right-radius: var(--r-lg); box-shadow: 6px 6px 0 6px var(--surface); pointer-events: none; }
.notch::before { right: 100%; bottom: 0; }
.notch::after { right: 0; bottom: 100%; }
.g-photo, .menu-photo { position: relative; }
.g-photo .notch { background: var(--bg); }
.g-photo .notch::before, .g-photo .notch::after { box-shadow: 6px 6px 0 6px var(--bg); }
.menu-photo img, .g-photo img { transition: transform .9s var(--ease), opacity .5s var(--ease); }
.card.hover:hover .menu-photo img { transform: scale(1.04); }

/* ── Entrances: only on navigation (route, step, tab), never on in-place updates ── */
@keyframes enterUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes blurIn { from { opacity: 0; filter: blur(10px); transform: translateY(10px); } to { opacity: 1; filter: blur(0); transform: none; } }
[data-enter] > * { animation: enterUp .75s var(--ease) both; }
[data-enter] > *:nth-child(2) { animation-delay: .05s; }
[data-enter] > *:nth-child(3) { animation-delay: .1s; }
[data-enter] > *:nth-child(4) { animation-delay: .15s; }
[data-enter] > *:nth-child(5) { animation-delay: .2s; }
[data-enter] > *:nth-child(6) { animation-delay: .25s; }
[data-enter] > *:nth-child(n+7) { animation-delay: .3s; }
[data-enter] h1 { animation: blurIn 1s var(--ease) both .08s; }
[data-enter] .grid.g4 > *, [data-enter] .grid.g3 > *, [data-enter] .lib-grid > * { animation: enterUp .8s var(--ease) both; }
[data-enter] .grid > *:nth-child(2) { animation-delay: .1s; }
[data-enter] .grid > *:nth-child(3) { animation-delay: .15s; }
[data-enter] .grid > *:nth-child(4) { animation-delay: .2s; }
.welcome[data-enter] .w-left > * { animation: enterUp .9s var(--ease) both; }
.welcome[data-enter] .w-left > *:nth-child(2) { animation-delay: .08s; }
.welcome[data-enter] .w-left > *:nth-child(3) { animation-delay: .16s; }
.welcome[data-enter] .w-left > *:nth-child(4) { animation-delay: .24s; }
.welcome[data-enter] .w-left > *:nth-child(5) { animation-delay: .32s; }
.welcome[data-enter] .phone { animation: phoneIn 1.2s var(--ease) both .2s; }
@keyframes phoneIn { from { opacity: 0; transform: rotate(-3deg) translateY(40px) scale(.96); } to { opacity: 1; transform: rotate(-3deg); } }
.present[data-enter] .present-grid > * { animation: blurIn 1.1s var(--ease) both; }
.present[data-enter] .present-grid > *:nth-child(2) { animation-delay: .15s; }

/* Overlays */
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(4px); } }
.modal-bg { animation: fade .35s var(--ease); backdrop-filter: blur(6px); }
.modal { animation: rise .55s var(--ease); border: 1px solid var(--line); background: var(--surface); }
.sheet { animation: sheetUp .55s var(--ease); }
@keyframes sheetUp { from { transform: translateY(60px); opacity: 0; } }
.toast { transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease); filter: blur(4px); }
.toast.show { filter: blur(0); }

/* Theme switch: a slow, soft crossfade (View Transitions API) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .7s; animation-timing-function: var(--ease); }

/* Noir & Lacquer: let display type breathe like a menu card */
[data-theme="noir"] h1, [data-theme="lacquer"] h1 { font-size: 36px; line-height: 1; }
[data-theme="noir"] .page-head p, [data-theme="noir"] .muted { color: var(--muted); }
[data-theme="noir"] .g-hero h1, [data-theme="noir"] .present h1 { letter-spacing: .02em; }

/* ───────── Theme picker ───────── */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.theme-card { position: relative; border-radius: var(--r-lg); border: 1.5px solid var(--line-2); background: var(--bg); color: var(--ink); overflow: hidden; cursor: pointer; font-family: var(--font-body);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .35s var(--ease); }
.theme-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.theme-card.on { border-color: var(--sel); box-shadow: 0 0 0 3px var(--focus); }
.theme-card .tc-top { padding: 16px 16px 14px; background: var(--glow), var(--bg); background-color: var(--bg); }
.theme-card .tc-name { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-track); font-size: 22px; line-height: 1.1; color: var(--ink); }
.theme-card .tc-mood { font-size: 12px; color: var(--muted); margin-top: 4px; }
.theme-card .tc-mock { margin-top: 14px; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.theme-card .tc-mock .tc-btn { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--r-btn); background: var(--primary); color: var(--on-primary); font-size: 10.5px; font-weight: var(--btn-weight); text-transform: var(--btn-case); letter-spacing: var(--btn-track); }
.theme-card .tc-mock .tc-stars { color: var(--star); letter-spacing: 2px; font-size: 13px; }
.theme-card .tc-dots { display: flex; gap: 4px; margin-top: 12px; }
.theme-card .tc-dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .35); }
.theme-card .tc-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.theme-card .tc-check { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-3); display: grid; place-items: center; color: var(--on-primary); }
.theme-card.on .tc-check { background: var(--primary); border-color: var(--primary); }
.theme-card .tc-check .svg-i { width: 12px; height: 12px; stroke-width: 3; }
.theme-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 99px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 13.5px; font-weight: 600; transition: border-color .3s var(--ease), background .3s var(--ease); }
.theme-chip.on { border-color: var(--sel); background: var(--surface-2); }
.theme-chip .dot2 { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(128,128,128,.25); }
.guest-preview { border-radius: var(--r-lg); padding: 16px; border: 1px solid var(--line); background: var(--bg); background-image: var(--glow); color: var(--ink); font-family: var(--font-body); transition: background-color .6s var(--ease), color .6s var(--ease); }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media (max-width: 820px) {
  .side { margin: 0; height: auto; top: 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
  [data-theme="noir"] h1, [data-theme="lacquer"] h1 { font-size: 30px; }
}
@media print { body::after { display: none; } }

/* ═════════ Responsive hardening ═════════ */
/* Grid & flex children may shrink below their content instead of pushing the page wider. */
.grid > *, .split > *, .row > *, .form-grid > *, .q-row > *, .list-row > * { min-width: 0; }
.list-row b, .list-row .small { overflow-wrap: anywhere; }
textarea.autogrow { resize: none; overflow: hidden; line-height: 1.4; padding-top: 8px; padding-bottom: 8px; min-height: 36px; height: 36px; display: block; }
.hbar { grid-template-columns: minmax(84px, 38%) 1fr 40px; align-items: center; }
.hbar-l { overflow-wrap: anywhere; line-height: 1.3; }

/* Guest: header wraps instead of squeezing, controls keep comfortable touch targets */
.g-top { flex-wrap: wrap; gap: 10px; }
.g-resto { min-width: 0; }
.g-resto > :last-child { overflow-wrap: anywhere; }
.g-top > .row { flex-wrap: wrap; justify-content: flex-end; }
.rate.yn button { min-height: 56px; height: auto; padding: 8px 6px; }
.rate button { min-width: 0; }
.opt-list button { height: auto; min-height: 48px; padding: 11px 16px; gap: 12px; line-height: 1.35; text-align: left; }
.g-slots button { height: auto; min-height: 52px; padding: 8px; }
.level-legend.three { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; }
.level-legend.three span:nth-child(2) { text-align: center; white-space: nowrap; }
.level-legend.three span:last-child { text-align: right; }
.g-q .ql, .g-dish h1, .g-hero h1 { overflow-wrap: anywhere; }
.privacy-note { text-align: left; }

/* Present screen fits any viewport */
.present .qr-box { width: min(46vh, 440px, 100%); }
.present.with-now .qr-box { width: min(40vh, 380px, 100%); }
.present-grid > * { min-width: 0; }

@media (max-width: 600px) {
  .stepper { gap: 6px; }
  .step:not(.cur) .stxt { display: none; }
  .step span { font-size: 12px; white-space: nowrap; }
  .page-head { margin-bottom: 20px; }
  .card { padding: 18px; }
  .list-row { padding: 12px 14px; gap: 10px; }
  .list-row .emoji-stack { display: none; }
  .live-ctrl .row.no-print { width: 100%; }
  .live-ctrl .row.no-print .btn { flex: 1; }
  .present { padding: 76px 16px 24px; }
  .present .exit { top: 14px; left: 14px; }
  .present .joined { top: 14px; right: 14px; }
  .modal { padding: 20px 18px 0; border-radius: var(--r-lg); }
  .modal-bg { padding: 10px; }
  .lib-foot { padding-bottom: 16px; }
  .lib-foot > .row { width: 100%; }
  .lib-foot > .row .btn { flex: 1; }
  .wiz-foot .row { flex-wrap: wrap; justify-content: flex-end; }
  .theme-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .theme-card .tc-mock .tiny { display: none; }
}
@media (max-width: 360px) {
  .g-top .pill .lbl { display: none; }
  .g-top .pill { padding: 0 8px; }
  .rate { gap: 5px; }
  .rate.scale button { height: 42px; }
  .theme-grid { grid-template-columns: 1fr; }
}
/* Tablets: wider guest column and roomier controls */
@media (min-width: 700px) {
  .g-wrap { max-width: 620px; padding-top: 28px; }
  .g-foot .inner { max-width: 584px; }
  .rate button { height: 60px; }
  .rate.scale button { height: 52px; }
  .level button { height: 58px; }
}
.app > * { min-width: 0; }
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { white-space: nowrap; flex: none; }
@media (max-width: 820px) { .side { max-width: 100vw; scrollbar-width: none; } .side::-webkit-scrollbar { display: none; } }
.q-block > .row.between { flex-wrap: wrap; gap: 6px 10px; }
.q-block .pill, .card-head .pill, .row.wrap .pill { white-space: normal; height: auto; min-height: 24px; padding-top: 3px; padding-bottom: 3px; line-height: 1.3; }
.q-block h4 { flex-wrap: wrap; }
.chip { max-width: 100%; }
.filters .f-row > * { min-width: 0; }
@media (max-width: 600px) {
  .tab { padding: 10px 10px; }
  .filters .f-row { grid-template-columns: 1fr; gap: 6px; }
  .filters .f-row .label { padding-top: 0; }
  .chip { height: auto; min-height: 32px; padding-top: 5px; padding-bottom: 5px; white-space: normal; line-height: 1.3; }
}

/* ═════════ Delete actions & "Are you sure?" dialog ═════════ */
.btn-danger:hover { background: var(--red-soft); color: var(--red-ink); }
.btn-danger-solid { background: var(--red); border-color: var(--red); color: var(--on-red, #fff); }
.btn-danger-solid:hover { filter: brightness(1.06); background: var(--red); border-color: var(--red); }
.btn-danger-solid[disabled] { opacity: .4; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.confirm-bg { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: var(--overlay); backdrop-filter: blur(6px); animation: fade .3s var(--ease); }
.confirm { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 24px; animation: rise .5s var(--ease); }
.confirm h3 { font-size: 18px; margin-top: 14px; overflow-wrap: anywhere; }
.confirm p { margin-top: 8px; line-height: 1.55; overflow-wrap: anywhere; }
.confirm p b { color: var(--ink); }
.confirm-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.confirm-ic.danger { background: var(--red-soft); color: var(--red-ink); }
.confirm-ic.warn { background: var(--amber-soft); color: var(--amber-ink); }
.confirm-ic .svg-i { width: 20px; height: 20px; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.confirm-bg.out { animation: fadeOut .26s var(--ease) forwards; }
.confirm-bg.out .confirm { animation: sink .26s var(--ease) forwards; }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes sink { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (max-width: 480px) {
  .confirm-bg { align-items: end; }
  .confirm { border-radius: var(--r-lg) var(--r-lg) 0 0; margin: 0 -16px -16px; max-width: none; width: calc(100% + 32px); padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .confirm-actions { flex-direction: column-reverse; }
  .confirm-actions .btn { width: 100%; height: 48px; }
}

/* Session rows: the link fills the row; the delete button sits at the end */
.list-row.s-row { padding: 0 10px 0 0; gap: 4px; }
.s-link { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; padding: 14px 8px 14px 20px; color: inherit; }
.s-row:hover { background: var(--surface-2); }
.row-del, .card-del { opacity: .45; transition: opacity .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.s-row:hover .row-del, .menu-card:hover .card-del, .row-del:focus-visible, .card-del:focus-visible { opacity: 1; }
@media (hover: none) { .row-del, .card-del { opacity: .8; } }
@media (max-width: 600px) { .s-link { padding: 12px 6px 12px 14px; gap: 10px; } }

/* Danger zone */
.danger-zone { border-color: var(--red-line); }
.dz-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.dz-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--line); }
.dz-row:first-child { border-top: 0; }
.dz-row > div { min-width: 0; }
@media (max-width: 600px) { .dz-row { flex-direction: column; align-items: stretch; } .dz-row .btn { width: 100%; } }

/* ═════════ Product lockup: First Taste by NorrOne ═════════ */
.brand { align-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 4px; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-track); font-size: 21px; white-space: nowrap; }
.brand-by { font-family: var(--font-body); font-size: 10.5px; font-weight: 500; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.welcome .brand-name { font-size: 24px; }
.powered { margin: 28px auto 0; text-align: center; font-size: 11px; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--faint); }
.powered span { opacity: .6; margin: 0 4px; }
.present-brand { position: absolute; left: 24px; bottom: 18px; }
.present-brand .powered { margin: 0; }
.present.with-now .present-brand { display: none; }
@media (max-width: 820px) { .brand-text { display: none; } }
@media print { .powered, .present-brand { display: none; } }

/* ═════════ Language & currency ═════════ */
.lang-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-2); }
.lang-switch button { height: 26px; min-width: 32px; padding: 0 8px; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font: inherit; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.on { background: var(--primary); color: var(--on-primary); }
.lang-switch[data-compact] button { height: 24px; min-width: 28px; padding: 0 6px; font-size: 10.5px; }
.w-lang { position: absolute; top: 20px; left: 24px; z-index: 5; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.welcome { position: relative; }
.lang-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-card { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px 8px 10px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; text-align: left; transition: border-color .3s var(--ease), background .3s var(--ease); }
.lang-card:hover { border-color: var(--line-3); }
.lang-card.on { border-color: var(--sel); background: var(--surface-2); }
.lang-card .flag { font-size: 22px; line-height: 1; width: 30px; text-align: center; }
.lang-card .flag.cur { font-family: var(--font-display); font-size: 20px; color: var(--accent); }
.lang-card .lc-txt { display: flex; flex-direction: column; gap: 2px; }
.lang-card b { font-size: 13.5px; }
.lang-card .tc-check { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-3); display: grid; place-items: center; color: var(--on-primary); margin-left: 6px; }
.lang-card.on .tc-check { background: var(--primary); border-color: var(--primary); }
.lang-card .tc-check .svg-i { width: 12px; height: 12px; stroke-width: 3; }
@media (max-width: 600px) { .lang-cards { width: 100%; } .lang-card { flex: 1 1 140px; } }

/* ═════════ Guest: today's menu as a full-screen page ═════════ */
html.gm-lock, html.gm-lock body { overflow: hidden; }
.gmenu { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; background: var(--bg); background-image: var(--glow); color: var(--ink);
  animation: gmIn .6s var(--ease) both; box-shadow: -30px 0 80px -30px rgba(0,0,0,.35); will-change: transform; }
.gmenu.static { animation: none; }
.gmenu.out { animation: gmOut .42s var(--ease-io) both; pointer-events: none; }
@keyframes gmIn { from { transform: translate3d(100%, 0, 0); } to { transform: none; } }
@keyframes gmOut { from { transform: none; } to { transform: translate3d(100%, 0, 0); } }
/* the page underneath eases back, like a native page push */
body.gm-open .guest .g-wrap { animation: gwBack .6s var(--ease) both; }
body.gm-closing .guest .g-wrap { animation: gwFwd .42s var(--ease-io) both; }
@keyframes gwBack { to { transform: translate3d(-18%, 0, 0); opacity: .35; } }
@keyframes gwFwd { from { transform: translate3d(-18%, 0, 0); opacity: .35; } to { transform: none; opacity: 1; } }

.gm-top { flex: none; display: flex; align-items: center; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); position: relative; z-index: 2; }
.gm-top.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 24px -20px rgba(0,0,0,.5); }
.gm-back { flex: none; width: 40px; height: 40px; border-radius: 50%; }
.gm-title { flex: 1; min-width: 0; line-height: 1.25; }
.gm-title b { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-track); font-size: 19px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-tabs { flex: none; display: flex; gap: 6px; padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; background: var(--bg); position: relative; z-index: 2; }
.gm-tabs::-webkit-scrollbar { display: none; }
.gm-tab { flex: none; height: 34px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.gm-tab.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.gm-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.gm-inner { width: 100%; max-width: 640px; margin: 0 auto; padding: 4px 16px calc(48px + env(safe-area-inset-bottom)); }
.gm-hero { text-align: center; padding: 22px 6px 10px; }
.gm-hero h1 { font-size: 30px; line-height: 1.1; overflow-wrap: anywhere; }
.gm-sec { padding-top: 22px; scroll-margin-top: 6px; }
.gm-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.gm-sec-head h2 { font-size: 22px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gm-dish { margin-top: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.gm-dish.warn { border-color: var(--red-line); }
.gm-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.gm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.gm-dish:hover .gm-photo img { transform: scale(1.03); }
.gm-emoji { height: 96px; display: grid; place-items: center; font-size: 46px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.gm-body { padding: 16px 18px 18px; }
.gm-body h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.gm-desc { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.gm-note { margin-top: 10px; font-size: 13.5px; padding: 10px 12px; border-radius: var(--r); background: var(--amber-soft); }
.gm-note b { color: var(--amber-ink); font-size: 11.5px; letter-spacing: var(--label-track); text-transform: uppercase; margin-right: 4px; }
.gm-dish .g-warn.sm { margin-top: 12px; }
/* dishes rise in, one after another, when the page opens */
.gmenu:not(.static) .gm-hero, .gmenu:not(.static) .gm-sec-head, .gmenu:not(.static) .gm-dish { animation: enterUp .7s var(--ease) both; animation-delay: calc(.18s + var(--i, 0) * 55ms); }
.gmenu:not(.static) .gm-hero { animation-delay: .12s; }
@media (min-width: 900px) { .gm-photo { aspect-ratio: 16 / 8; } .gm-hero h1 { font-size: 38px; } }
@media (prefers-reduced-motion: reduce) { .gmenu, .gmenu.out, body.gm-open .guest .g-wrap, body.gm-closing .guest .g-wrap { animation: none !important; } }
.nav-link .count { white-space: nowrap; flex: none; }
@media (max-width: 420px) { .theme-grid { grid-template-columns: 1fr; } }
