/* qlr.me — warm off-white ground, navy ink, teal for "go", coral for "end".
   Archivo throughout; big radii, pill buttons with a round arrow chip. */

:root {
  --navy: #223d49;
  --teal: #259284;
  --teal-deep: #145e55;
  --yellow: #e6bc5f;
  --orange: #f29756;
  --coral: #e46347;
  --ground: #efebe4;
  --sand: #f7f4ef;
  --cream: #f4f1ec;
  --butter: #fbf3e1;
  --surface: #fff;
  --divider: rgba(34, 61, 73, .12);
  /* The design's .55 grey is ~3:1 on these grounds; .72 keeps the look
     and reaches 4.5:1 for body-size text. */
  --muted: rgba(34, 61, 73, .72);
  --on-navy: rgba(244, 241, 236, .75);
  --on-navy-dim: rgba(244, 241, 236, .62);
  --gutter: clamp(20px, 5vw, 72px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* "hidden" wins over display: flex/grid */
html, body { margin: 0; padding: 0; background: var(--ground); }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--navy);
}
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--teal); text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: rgba(37, 146, 132, .25); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@keyframes qlrDot { 0%, 100% { opacity: .2 } 50% { opacity: 1 } }
@keyframes qlrScan { from { top: 0 } to { top: calc(100% - 2px) } }
@keyframes qlrFill { from { width: 0% } to { width: 100% } }
@keyframes qlrIn { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ── Type helpers ─────────────────────────────────────────────── */
.kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--muted);
}
.kicker--dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--coral); flex: none;
}
.muted { color: var(--muted); }
.brand-mark { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.brand-mark:hover { color: var(--navy); text-decoration: none; }
.brand-mark span { color: var(--coral); }
.brand-mark { position: relative; }
/* "beta" sits under ".me", inside the logo's width. */
.env-badge {
  position: absolute; right: 0; bottom: -9px; padding: 1px 5px; border-radius: 999px;
  background: var(--yellow); color: var(--navy); line-height: 1.3;
  font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}

/* ── Pills (buttons and links) ────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 12px; width: fit-content;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  padding: 9px 9px 9px 24px; font-size: 15px; font-weight: 600; line-height: 1.2;
  background: transparent; color: inherit; text-decoration: none;
  transition: background-color .15s, border-color .15s, opacity .15s;
}
.pill:hover { text-decoration: none; }
.pill:disabled, .pill[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.pill__arrow {
  width: 32px; height: 32px; flex: none; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; background: var(--ground);
}
.pill--dark { background: var(--navy); color: #fff; }
.pill--dark:hover { background: #1a313b; color: #fff; }
.pill--dark .pill__arrow { background: var(--teal); }
.pill--light { background: var(--surface); color: var(--navy); border-color: var(--divider); }
.pill--light:hover { background: var(--sand); color: var(--navy); }
.pill--outline { border-color: var(--divider); color: var(--navy); padding: 13px 24px; }
.pill--outline:not(:disabled):hover { background: var(--sand); }
.pill--teal { background: var(--teal); color: #fff; font-size: 16px; padding: 10px 10px 10px 26px; }
.pill--teal:hover { background: var(--teal-deep); color: #fff; }
.pill--teal .pill__arrow { width: 34px; height: 34px; background: rgba(255, 255, 255, .2); }
.pill--on-navy { border-color: rgba(244, 241, 236, .25); color: rgba(244, 241, 236, .85); padding-left: 22px; }
.pill--on-navy:hover { background: rgba(244, 241, 236, .08); color: #fff; }
.pill--on-navy .pill__arrow { width: 30px; height: 30px; background: rgba(244, 241, 236, .14); }

.avatar {
  flex: none; border-radius: 999px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
  width: 30px; height: 30px; font-size: 12px;
}
.avatar--md { width: 48px; height: 48px; font-size: 15px; }
.avatar--lg { width: 92px; height: 92px; font-size: 32px; color: var(--cream); }

.live-dot {
  width: 7px; height: 7px; flex: none; border-radius: 999px; background: currentColor;
  animation: qlrDot 1.4s ease-in-out infinite;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px; width: fit-content;
  border-radius: 999px; padding: 8px 16px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
.badge--teal { background: var(--teal); color: #fff; }

/* ── Top bar ──────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  background: rgba(239, 235, 228, .92); backdrop-filter: blur(10px);
}
.identity {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--divider); border-radius: 999px;
  padding: 6px 18px 6px 6px; font-size: 14px; font-weight: 600;
}

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--surface); border-radius: 28px; padding: 28px;
  display: flex; flex-direction: column;
}
.card--navy { background: var(--navy); color: var(--cream); }
.card--navy .kicker { color: var(--on-navy-dim); }
.card--coral { background: var(--coral); color: #fff; }
.card--soft { background: rgba(244, 241, 236, .07); border-radius: 20px; }
.card-action {
  border: 0; width: 100%; text-align: left; cursor: pointer; border-radius: 28px;
  padding: 26px clamp(20px, 2.4vw, 32px);
}
.card-action:hover { filter: brightness(.96); }
.card-action__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-action__title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.card-action__note { display: block; font-size: 14px; opacity: .9; margin-top: 8px; }
.card-action .pill__arrow { width: 38px; height: 38px; background: rgba(255, 255, 255, .22); }

.kv { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--divider); }
.kv:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; font-weight: 700; font-size: 15px; }

.progress { height: 6px; border-radius: 999px; background: rgba(244, 241, 236, .16); overflow: hidden; }
.progress__bar { height: 100%; border-radius: 999px; background: var(--teal); }
.progress__bar--loop { animation: qlrFill 2s linear infinite; } /* = handlers.QRRotation */
.progress__bar--once { animation: qlrFill 4s linear forwards; }

.qr-frame { background: var(--cream); border-radius: 12px; padding: 6px; }
.qr-frame img { width: 100%; height: auto; image-rendering: pixelated; border-radius: 6px; }

.chip {
  border: 1px solid var(--divider); border-radius: 999px; padding: 7px 14px; font-size: 13px;
}

/* ── Landing ──────────────────────────────────────────────────── */
.hero {
  padding: clamp(40px, 7vw, 56px) var(--gutter) clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__eyebrow {
  border: 1px solid var(--divider); border-radius: 999px; padding: 7px 16px; letter-spacing: .12em;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 116px); line-height: 1; letter-spacing: -.04em; font-weight: 800;
  margin-top: 26px; max-width: 12ch; text-wrap: balance;
}
.hero > p, .hero__text > p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--muted); max-width: 54ch; margin-top: 22px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

.section { padding: clamp(30px, 5vw, 70px) var(--gutter); background: var(--sand); }
.section--first { border-radius: 32px 32px 0 0; }
.section--last { padding-bottom: clamp(50px, 7vw, 100px); }

.preview-grid {
  padding: 0 var(--gutter) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;
}
.preview-grid .card { min-height: 340px; border-radius: 24px; gap: 20px; justify-content: space-between; }
.home-qr { width: min(190px, 66%); align-self: center; }
.home-qr img:not(.is-on) { display: none; }
.points-big { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 16px; }
.points-big small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.usual { background: var(--butter); border-radius: 14px; padding: 12px; display: flex; gap: 12px; align-items: center; }
.usual__icon {
  width: 60px; height: 60px; flex: none; border-radius: 10px; background: var(--surface);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}

.photo { padding: 0 var(--gutter) clamp(40px, 6vw, 80px); }
.photo img {
  width: 100%; height: clamp(280px, 42vw, 520px); border-radius: 28px;
  object-fit: cover; object-position: 50% 9%;
}

.statement {
  font-size: clamp(22px, 2.6vw, 36px); line-height: 1.4; letter-spacing: -.02em;
  max-width: 36ch; margin: 22px 0 0 auto;
}
.statement span { color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.split--center { align-items: center; margin-top: 22px; }
.split .section-aside { padding-top: 44px; }
.statement--split { margin: 0; max-width: 40ch; }
.split--flip { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; margin-top: 8px; }
.split--steps { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; }
.split--steps .steps { margin-top: 16px; }
.split--steps .section-aside { padding-top: 16px; }
.section-lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); max-width: 52ch; margin-top: 18px; }
.why-qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.why-qr .home-qr { width: min(220px, 80%); background: none; padding: 0; }
.why-qr__note { font-size: 12.5px; color: var(--muted); text-align: center; }
.section-head { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.section-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-top: 16px; }
.section-aside { font-size: 15px; color: var(--muted); max-width: 38ch; line-height: 1.6; padding-top: 44px; }

.steps { list-style: none; margin: 36px 0 0; padding: 0; }
.step {
  display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 24px;
  padding: 26px 0; border-top: 1px solid var(--divider);
}
.step__n { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: rgba(34, 61, 73, .45); }
.step:first-child .step__n { color: var(--coral); }
.step__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: baseline; }
.step__title { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; }
.step__text { font-size: 15px; line-height: 1.6; color: var(--muted); }

.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.use { border-radius: 22px; padding: 26px; gap: 10px; min-height: 190px; }
.use__kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.use__title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.use__text { color: var(--muted); line-height: 1.6; }
/* Kicker tones darkened from the brand hues so the small caps stay legible. */
.tone-teal { color: var(--teal-deep); }
.tone-orange { color: #a8571c; }
.tone-yellow { color: #8a6414; }
.tone-coral { color: #b8432b; }
.tone-navy { color: var(--navy); }

.protect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.protect__lead { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.protect__title { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.protect__host { gap: 16px; }
.stat-list { gap: 0; padding-top: 10px; padding-bottom: 10px; justify-content: center; }
.stat-list__row { display: grid; gap: 4px; padding: 14px 0; }
.stat-list__row + .stat-list__row { border-top: 1px solid var(--divider); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat { border-radius: 20px; padding: 18px 20px; min-height: 0; gap: 6px; justify-content: flex-start; }
.stat__value { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat__label { font-size: 14px; line-height: 1.4; color: var(--muted); }
.card--navy .stat__label { color: var(--on-navy-dim); }
.card--coral .stat__label { color: #fff; }

.footer {
  background: var(--navy); color: var(--cream); border-radius: 32px 32px 0 0;
  padding: clamp(50px, 7vw, 110px) var(--gutter) clamp(30px, 4vw, 50px);
}
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.footer__title { font-size: clamp(32px, 4.4vw, 62px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; max-width: 18ch; }
.footer .pill--teal { margin-top: 28px; }
.footer__legal { background: rgba(244, 241, 236, .07); border-radius: 26px; padding: clamp(24px, 2.6vw, 34px); gap: 16px; }
.footer__legal h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--on-navy); }
.footer__legal li { display: flex; gap: 12px; }
.footer__legal li::before { content: "—"; color: var(--teal); font-weight: 800; }
.footer__rule { height: 1px; background: rgba(244, 241, 236, .18); margin: clamp(40px, 6vw, 80px) 0 22px; }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--on-navy-dim); }
.footer__base b { font-weight: 400; color: var(--coral); }

/* ── Shop screen ──────────────────────────────────────────────── */
.app { flex: 1; display: flex; flex-direction: column; padding: 0 clamp(14px, 3vw, 32px) clamp(14px, 3vw, 32px); }
#merchant-panel { flex: 1; display: flex; flex-direction: column; }


.checked-in { flex: 1; min-height: 78vh; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 16px; }
.animate-in { animation: qlrIn .25s ease-out; }
.profile { padding: clamp(26px, 3.4vw, 52px); }
.profile .badge .live-dot { color: #fff; animation-duration: 1.6s; }
.profile__who { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.profile__name { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.profile__meta { color: var(--muted); margin-top: 6px; }
.profile__tiles { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.tile-points { background: var(--sand); border-radius: 22px; padding: 24px 28px; min-width: 200px; }
.tile-points__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tile-points__value { font-size: clamp(56px, 6vw, 80px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.tile-order { background: var(--butter); border-radius: 22px; padding: 20px; max-width: 260px; min-width: 200px; }
.tile-order__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.tile-order__value { font-size: 17px; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.tile-order__usual { font-size: 13px; color: var(--muted); margin-top: 4px; }
.profile__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 32px; }
.profile__actions form { display: contents; }
.side { display: flex; flex-direction: column; gap: 16px; }
.purchases { padding: 26px clamp(20px, 2.4vw, 32px); flex: 1; }
.purchase-days { margin-top: 12px; display: flex; flex-direction: column; gap: 18px; }
.purchase-day__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; }
.line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--divider); font-size: 16px; }
.line b { font-weight: 700; }
.empty { color: var(--muted); margin-top: 12px; }

/* ── Customer screens ─────────────────────────────────────────── */
#client-view { flex: 1; display: flex; flex-direction: column; }
.scan { flex: 1; min-height: 74vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 16px; }
.camera {
  position: relative; overflow: hidden; min-height: 56vh; border-radius: 28px;
  background: linear-gradient(150deg, #1d3540, #0f2026 60%, #1a3138);
}
.camera #qr-reader { position: absolute; inset: 0; border: 0 !important; }
.camera #qr-reader video { width: 100% !important; height: 100% !important; object-fit: cover; }
.camera #qr-reader img, .camera #qr-reader__dashboard, .camera #qr-reader__header_message { display: none !important; }
.viewfinder {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(400px, 58%); aspect-ratio: 1; border-radius: 24px;
  border: 2px solid rgba(244, 241, 236, .2); overflow: hidden; pointer-events: none;
}
.viewfinder i { position: absolute; width: 42px; height: 42px; border: 0 solid var(--teal); }
.viewfinder i:nth-child(1) { left: 0; top: 0; border-width: 4px 0 0 4px; border-radius: 22px 0 0 0; }
.viewfinder i:nth-child(2) { right: 0; top: 0; border-width: 4px 4px 0 0; border-radius: 0 22px 0 0; }
.viewfinder i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 4px 4px; border-radius: 0 0 0 22px; }
.viewfinder i:nth-child(4) { right: 0; bottom: 0; border-width: 0 4px 4px 0; border-radius: 0 0 22px 0; }
.viewfinder::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--teal);
  animation: qlrScan 2.4s ease-in-out infinite alternate;
}
.camera__hint { position: absolute; left: 0; bottom: 0; padding: 26px clamp(20px, 3vw, 44px); color: var(--on-navy); }
.scan__card { padding: clamp(28px, 3.4vw, 48px); justify-content: center; gap: 22px; }
.scan__title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.rule { height: 1px; background: var(--divider); border: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.scan-status { font-size: 14px; }
.scan-status--error { color: #b8432b; font-weight: 600; }

.session { flex: 1; min-height: 74vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: 16px; }
.session__main { padding: clamp(26px, 3.2vw, 46px); }
.session__badge { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; padding: 9px 18px; gap: 10px; }
.session__badge .live-dot { color: #fff; animation-duration: 1.6s; }
.menu { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.menu form { display: contents; }
.menu-item {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1px solid var(--divider); border-radius: 999px; padding: 9px 16px;
  font-size: 14px; font-weight: 600; background: transparent; color: var(--navy);
}
.menu-item:hover { background: var(--sand); }
.menu-item small { font-size: 13px; font-weight: 600; color: var(--muted); }
.menu-item--usual { border-color: var(--navy); }
.menu-item--deal { border-color: var(--orange); }
.menu-item[aria-pressed="true"] { background: var(--teal); border-color: transparent; color: #fff; }
.menu-item--deal[aria-pressed="true"] { background: #c46a28; }
.menu-item[aria-pressed="true"] small { color: rgba(255, 255, 255, .85); }
.balance { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.balance__value { font-size: clamp(48px, 5.4vw, 74px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.balance__rule { color: var(--muted); text-align: right; line-height: 1.5; }
.reward { background: var(--sand); border-radius: 22px; padding: 22px 24px; margin-top: 20px; }
.reward__head { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 600; }
.reward .progress { height: 12px; background: rgba(34, 61, 73, .1); margin-top: 14px; }
.reward .progress__bar { transition: width .4s ease; }
.reward__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.reward__cta { font-size: 16px; font-weight: 600; margin-top: 14px; }
.history { margin-top: 26px; }
.history .line { padding: 15px 0; border-top: 0; border-bottom: 1px solid var(--divider); }
.history .line span:last-child { display: flex; gap: 16px; }
.finish { padding: 26px clamp(20px, 2.4vw, 32px); gap: 12px; }
.finish .pill { width: 100%; justify-content: space-between; padding: 12px 12px 12px 22px; border: 1px solid var(--divider); }
.finish .pill:hover { background: var(--sand); }
.finish .pill__arrow { width: 30px; height: 30px; background: var(--sand); }
.card-action--signout .card-action__title { font-size: 20px; }
.card-action--signout .pill__arrow { width: 36px; height: 36px; }

.shops-card { padding: clamp(28px, 3.4vw, 52px); }
.shops-card__head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.shops-card__title { font-size: clamp(34px, 4.2vw, 58px); font-weight: 700; letter-spacing: -.035em; margin-top: 10px; line-height: 1.05; }
.shop-list { list-style: none; margin: 30px 0 0; padding: 0; }
.shop-row {
  display: flex; align-items: center; gap: 20px; padding: 22px 0;
  border-top: 1px solid var(--divider); color: var(--navy);
}
.shop-row:hover { color: var(--navy); text-decoration: none; background: rgba(34, 61, 73, .03); }
.shop-row .avatar { width: 54px; height: 54px; font-size: 17px; }
.shop-row__name { font-size: clamp(19px, 1.9vw, 26px); font-weight: 700; letter-spacing: -.02em; }
.shop-row__detail { font-size: 14px; color: var(--muted); margin-top: 3px; }
.shop-row__points { text-align: right; }
.shop-row__points b { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.shop-row__points small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.shop-row .pill__arrow { width: 36px; height: 36px; background: var(--sand); }

.tabbar-wrap { position: sticky; bottom: 0; z-index: 20; padding: 14px 0 18px; display: flex; justify-content: center; }
.tabbar {
  display: flex; gap: 6px; background: var(--navy); border-radius: 999px; padding: 7px;
  box-shadow: 0 12px 32px rgba(34, 61, 73, .24);
}
.tabbar a, .tabbar span {
  padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: rgba(244, 241, 236, .7);
}
.tabbar a:hover { color: #fff; text-decoration: none; }
.tabbar a[aria-current="page"] { background: var(--teal); color: #fff; }
.tabbar span { color: rgba(244, 241, 236, .45); cursor: not-allowed; }

/* ── Narrow screens ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .checked-in, .scan, .session, .protect { grid-template-columns: minmax(0, 1fr); }
  .step__body { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .section-aside { padding-top: 0; }
  .statement { margin-left: 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .split .section-aside { padding-top: 0; }
}
@media (max-width: 640px) {
  .topbar { gap: 10px; padding: 12px 16px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .camera { min-height: 62vh; }
  .viewfinder { width: 72%; }
  .balance__rule { text-align: left; }
}

/* ── Forms, account and management pages ─────────────────────── */
.narrow { max-width: 720px; width: 100%; margin: 0 auto; }
.form-card { padding: clamp(24px, 4vw, 44px); gap: 14px; }
.form-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.form .pill { margin-top: 4px; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--navy);
  background: var(--sand); border: 1px solid var(--divider); border-radius: 14px; padding: 12px 14px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.code-input { font-size: 28px !important; letter-spacing: .3em; font-weight: 700 !important; max-width: 240px; }
.form-error { background: #fdeeea; color: #8f3420; border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.form-notice { background: var(--butter); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.list { list-style: none; margin: 0; padding: 0; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--divider); }
.list-row small { display: block; font-size: 13px; }
.pair-code { background: var(--butter); border-radius: 20px; padding: 18px 22px; }
.pair-code__value { font-size: 48px; font-weight: 800; letter-spacing: .2em; line-height: 1.1; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--divider); }
.table td { padding: 10px 6px; border-bottom: 1px solid var(--divider); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
a.identity { color: var(--navy); }
a.identity:hover { text-decoration: none; background: var(--sand); }
.card-action--signout { width: 100%; }
form .card-action { display: block; }

.shop-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 16px; min-width: 0; }
.shop-switch .kicker { margin-right: 4px; }
.shop-switch__select { font: inherit; font-size: 15px; font-weight: 700; color: var(--navy); background: var(--surface); border: 1px solid var(--divider); border-radius: 999px; padding: 8px 36px 8px 16px; max-width: 100%; min-width: 0; cursor: pointer;
  appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2714%27 height=%2714%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23223d49%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.shop-switch__select:hover { border-color: rgba(34, 61, 73, .3); }

.pw-cell { white-space: nowrap; }
.pw-cell form { margin: 0; }
.pw-cell .pill { padding: 6px 14px; font-size: 13px; }
.pw-value { font: 600 14px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--butter); border-radius: 8px; padding: 6px 10px; margin-right: 8px; user-select: all; }
.row-reset td { background: rgba(230, 188, 95, .12); }
.wide { max-width: 1040px; width: 100%; margin: 0 auto; }
.table-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.table--users td:nth-child(1), .table--users td:nth-child(4) { white-space: nowrap; }

/* ── Merchant dashboard ───────────────────────────────────────── */
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 4px 4px 18px; }
.shop-title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-top: 6px; }
.shop-tabs { display: flex; gap: 6px; background: var(--surface); border-radius: 999px; padding: 5px; }
.shop-tabs a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy); }
.shop-tabs a:hover { text-decoration: none; background: var(--sand); }
.shop-tabs a[aria-current="page"] { background: var(--navy); color: #fff; }
.dash-section { margin: 0 0 16px; }
.dash-section > .kicker { margin: 8px 4px 10px; }
.dash-card { padding: clamp(20px, 2.6vw, 30px); gap: 14px; margin-bottom: 16px; border-radius: 24px; }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dash-title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.dash-head .muted { font-size: 13px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px; }
.dash-grid .dash-card { margin-bottom: 0; }
.dash-grid + .dash-section, .dash-grid + .dash-grid { margin-top: 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tiles--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { background: var(--surface); border-radius: 18px; padding: 16px 18px; }
.tile--flat { background: var(--sand); }
.tile__label { font-size: 13px; color: var(--muted); font-weight: 600; }
.tile__value { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-top: 4px; }
.tile__delta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.tile__delta--up, .tile__delta--down { color: var(--navy); font-weight: 600; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart__grid { stroke: var(--divider); stroke-width: 1; }
.chart__tick { font-size: 11px; fill: var(--muted); }
.chart__value { font-size: 12px; font-weight: 700; fill: var(--navy); }
.chart__bar path { fill: var(--teal); }
.chart__bar--current path { fill: #9CD2C9; }
.chart__bar:hover path { fill: var(--teal-deep); }
.table-view summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--teal-deep); width: fit-content; }
.table-view .table { margin-top: 8px; }
.heat-wrap { overflow-x: auto; }
.heat { display: block; max-width: none; }
.heat__cell:hover { stroke: var(--navy); stroke-width: 1.5; }
.heat-foot { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13.5px; }
.heat-legend { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.heat-legend span { width: 18px; height: 12px; border-radius: 3px; display: inline-block; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.items td:first-child { position: relative; min-width: 160px; }
.items__name { position: relative; z-index: 1; }
.items__bar { display: block; height: 4px; border-radius: 4px; background: var(--teal); margin-top: 5px; }
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.part { background: var(--sand); border-radius: 16px; padding: 14px 16px; }
.part__label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.part__item { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 3px 0; }
@media (max-width: 640px) { .parts, .tiles--two { grid-template-columns: minmax(0, 1fr); } }
.chart-scroll { overflow-x: auto; }
.chart-scroll .chart { min-width: 560px; }
.table--nowrap td, .table--nowrap th, .items td.num, .items th { white-space: nowrap; }
.period-switch { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 4px 14px; }
.period-switch .kicker { margin-right: 6px; }
.period-switch a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy); background: var(--surface); }
.period-switch a:hover { text-decoration: none; background: var(--sand); }
.period-switch a[aria-current="page"] { background: var(--navy); color: #fff; }
.dash-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.dash-bar .period-switch { margin: 0 4px; }
.export { position: relative; }
.export summary { list-style: none; cursor: pointer; padding: 7px 16px; font-size: 14px; background: var(--surface); }
.export summary::-webkit-details-marker { display: none; }
.export[open] summary.pill, .export[open] summary.pill:hover { background: var(--navy); color: #fff; border-color: transparent; }
.export__form { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(320px, 90vw);
  background: var(--surface); border-radius: 18px; padding: 18px; box-shadow: 0 12px 32px rgba(34, 61, 73, .18);
  display: flex; flex-direction: column; gap: 12px; }
.export__form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.export__form legend { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.export__form label { font-size: 14px; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.export__hint { font-size: 12.5px; }
@media (max-width: 640px) { .export__form { left: 0; right: auto; } }

/* ── Menu editor ──────────────────────────────────────────────── */
.form-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.menu-card { margin-top: 16px; }
.menu-table td { vertical-align: middle; }
.menu-table__order { width: 72px; white-space: nowrap; }
.menu-table__order form { display: inline; }
.menu-table__actions { white-space: nowrap; text-align: right; }
.menu-table__actions form { display: inline; }
.menu-table__actions .pill { padding: 6px 12px; font-size: 13px; margin-left: 4px; }
.menu-table tr.is-hidden .cell-input { color: var(--muted); }
.cell-input { font: inherit; font-size: 14px; color: var(--navy); background: transparent; border: 1px solid transparent; border-radius: 10px; padding: 7px 9px; width: 100%; min-width: 120px; }
.cell-input:hover { border-color: var(--divider); }
.cell-input:focus-visible { background: var(--sand); border-color: var(--teal); outline: none; }
.cell-input--price { min-width: 80px; max-width: 110px; font-variant-numeric: tabular-nums; }
.icon-btn { width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--divider); background: var(--surface); color: var(--navy); cursor: pointer; font-size: 14px; }
.icon-btn:hover:not(:disabled) { background: var(--sand); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 8px; margin: 4px 4px 0 9px; background: var(--sand); color: var(--muted); }
.tag--deal { background: #fde7d6; color: #8a4513; }
.pill--danger { color: #b8432b; }
.pill--danger:not(:disabled):hover { background: #fdeeea; }
@media (max-width: 640px) { .form-cols { grid-template-columns: minmax(0, 1fr); } }
.wide > .form-notice, .wide > .form-error { margin: 0 0 14px; }

/* ── Business, employee, work areas ───────────────────────────── */
.biz-id { display: flex; align-items: center; gap: 14px; }
.biz-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: var(--surface); }
.biz-logo--big { width: 84px; height: 84px; flex: none; }
.biz-logo--empty { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; color: var(--muted); background: var(--sand); }
.logo-row { display: flex; gap: 16px; align-items: center; }
.store-card { margin-top: 16px; }
.hours-form { gap: 8px; }
.hours-row { display: grid; grid-template-columns: 130px 1fr auto 1fr; gap: 8px; align-items: center; }
.hours-row input[type=time] { font: inherit; font-size: 14px; color: var(--navy); background: var(--sand); border: 1px solid var(--divider); border-radius: 10px; padding: 6px 8px; min-width: 0; }
.hours-day { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
@media (max-width: 640px) { .hours-row { grid-template-columns: 110px 1fr auto 1fr; } }

/* ── Counter display (kiosk) ──────────────────────────────────── */
/* A passive screen: the site bar shows until full screen; then nothing
   can be tapped. Stage is navy, or the store's photo under a tint. */
.kiosk { background: var(--navy); }
.kiosk-chrome { background: var(--ground); }
.kiosk-chrome__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 0 var(--gutter) 14px; }
.kiosk-chrome__bar p { max-width: 70ch; font-size: 14px; }
.is-fullscreen .kiosk-chrome { display: none; }
.is-fullscreen .kiosk-main { pointer-events: none; user-select: none; -webkit-user-select: none; cursor: none; }
.kiosk-main { flex: 1; display: flex; }
.kiosk-stage { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.kiosk-chrome ~ .kiosk-main .kiosk-stage { min-height: calc(100vh - 140px); }
.is-fullscreen .kiosk-main .kiosk-stage { min-height: 100vh; }
.kiosk-stage__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.kiosk-stage__tint { position: absolute; inset: 0; background: #0b1a20; z-index: -1; }
.kiosk-stage--photo .kiosk-title, .kiosk-stage--photo .kiosk-welcome { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.kiosk-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(24px, 4vw, 56px) clamp(24px, 5vw, 72px); }
.kiosk-act { display: flex; flex-direction: column; align-items: flex-start; }
.kiosk-title { font-size: clamp(34px, 4.4vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.kiosk-sub { font-size: clamp(16px, 1.5vw, 21px); color: rgba(255, 255, 255, .82); margin: 12px 0 26px; }
.kiosk-qr { background: #fff; border-radius: 24px; padding: clamp(14px, 1.6vw, 22px); width: min(46vh, 34vw, 440px); box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.kiosk-qr img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.kiosk-arrivals { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; min-height: 2em; }
.kiosk-arrival { font-size: clamp(18px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.01em; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 20px; width: fit-content; backdrop-filter: blur(6px); }
.kiosk-arrival:first-child { background: var(--teal); }
.kiosk-info { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.kiosk-brand { display: flex; align-items: center; gap: 14px; }
.kiosk-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: contain; background: #fff; flex: none; }
.kiosk-logo--text { display: flex; align-items: center; justify-content: center; background: var(--teal); color: #fff; font-weight: 800; font-size: 22px; }
.kiosk-hello { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.kiosk-welcome { font-size: clamp(30px, 3.6vw, 54px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.kiosk-serving { font-size: clamp(18px, 1.7vw, 24px); color: rgba(255, 255, 255, .9); margin-top: -6px; }
.kiosk-deal { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; padding: 18px 22px; width: min(100%, 460px); backdrop-filter: blur(8px); }
.kiosk-deal__kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--orange); }
.kiosk-deal__title { display: flex; justify-content: space-between; gap: 16px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; margin-top: 4px; }
.kiosk-deal__title span { color: var(--yellow); }
.kiosk-deal__note { font-size: 14px; color: rgba(255, 255, 255, .78); margin-top: 2px; }
.kiosk-hours { font-size: 13.5px; color: rgba(255, 255, 255, .78); width: min(100%, 300px); }
.kiosk-hours__today { font-weight: 700; color: #fff; font-size: 15px; margin-bottom: 4px; }
.kiosk-hours ul { list-style: none; margin: 0; padding: 0; }
.kiosk-hours li { display: flex; justify-content: space-between; gap: 12px; }
.kiosk-hours li.is-today { color: #fff; font-weight: 600; }
.kiosk-foot { display: flex; justify-content: space-between; gap: 12px; padding: 0 clamp(24px, 5vw, 72px) 18px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.kiosk-foot b { color: var(--coral); font-weight: 800; }
.kiosk-foot span:first-child { font-weight: 800; color: #fff; }
@media (max-width: 760px) {
  .kiosk-grid { grid-template-columns: 1fr; }
  .kiosk-qr { width: min(78vw, 360px); }
}

/* "Who is serving" switch (/o/). */
.serving { display: flex; align-items: center; gap: 4px; background: var(--surface); border-radius: 999px; padding: 4px; width: fit-content; flex-wrap: wrap; }
.serving form { display: contents; }
.serving__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); padding: 0 8px 0 10px; }
.serving__opt { border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; transition: background-color .2s; }
.serving__opt:hover { background: var(--sand); }
.serving__opt[aria-pressed="true"] { background: var(--teal); color: #fff; }
.serving__select { font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); border: 0; background: var(--sand); border-radius: 999px; padding: 8px 12px; }
/* ── Staff and schedules ──────────────────────────────────────── */
.form-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-cols--4 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.form-cols--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.checks legend { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.checks label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.checks__active { margin-left: auto; font-weight: 600; }
.checks__row { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.checks__row small { display: block; }
.staff-list { display: flex; flex-direction: column; gap: 12px; }
.staff-card { background: var(--sand); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.staff-card.is-gone { opacity: .6; }
.staff-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.staff-card__name { font-weight: 700; font-size: 16px; }
.staff-card__email { font-size: 13px; }
.staff-card__stats { margin-left: auto; display: flex; gap: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.staff-card__stats b { color: var(--navy); }
.staff-card .field input, .staff-card .field select { background: var(--surface); }
.pw-new { display: inline-flex; align-items: center; gap: 6px; }
.sched td, .sched th { white-space: nowrap; vertical-align: top; }
.sched__cell { min-width: 92px; }
.sched th { font-size: 11px; }
.shift { display: flex; align-items: flex-start; gap: 4px; background: var(--accent-100, #E8F4F2); border-radius: 8px; padding: 4px 6px; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; }
.shift small { display: block; font-weight: 400; color: var(--muted); }
.shift__del { margin-left: auto; }
.shift__del button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; }
.shift__del button:hover { color: #b8432b; }
.serving--bar { width: fit-content; margin: -6px 4px 16px; }
@media (max-width: 900px) { .form-cols--3, .form-cols--4, .form-cols--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.adjust { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--sand); border-radius: 14px; padding: 10px 12px; }
.adjust select, .adjust__amount { font: inherit; font-size: 14px; color: var(--navy); background: var(--surface); border: 1px solid var(--divider); border-radius: 10px; padding: 7px 9px; }
.adjust__amount { width: 80px; }
.prices td { vertical-align: middle; }
.prices .cell-input--price { text-align: right; margin-left: auto; display: block; }
.is-hidden-price::placeholder { color: #b8432b; }

/* ── Home: features ───────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 28px; }
.feature { border-radius: 22px; padding: 26px; gap: 10px; }
.feature__list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.feature__list li { display: flex; gap: 10px; }
.feature__list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 999px; background: var(--teal); margin-top: 8px; }

/* Greeting after a scan, on the phone and on the counter. */
.hello { font-size: 15px; font-weight: 600; color: var(--teal-deep); margin: 0 0 12px; }
.hello a { color: inherit; text-decoration: underline; }
.hello--wave { animation: qlrHello .6s ease-out; }
@keyframes qlrHello { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hello--wave { animation: none; } }

/* Live "checked in now" line on store pages. */
.live-count { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.live-count .live-dot { display: none; }
.live-count--on { color: var(--teal-deep); font-weight: 600; }
.live-count--on .live-dot { display: inline-block; color: var(--teal); }

/* ── Orders desk (/o/) ─────────────────────────────────────────── */
.orders-hint { margin: -6px 4px 16px; font-size: 14px; }
.orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.orders > .form-error, .orders > .pill { grid-column: 1 / -1; width: fit-content; }
.orders-empty { grid-column: 1 / -1; padding: 28px; }
.order { padding: 22px; gap: 16px; }
.order__who { display: flex; align-items: center; gap: 14px; }
.order__name { font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.order__meta { font-size: 13px; }
.order__points { margin-left: auto; text-align: right; font-size: 13px; color: var(--muted); white-space: nowrap; }
.order__points b { display: block; font-size: 26px; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.order__pick { background: var(--sand); border-radius: 18px; padding: 14px 16px; }
.order__pick--on { background: var(--butter); }
.order__item { font-size: 19px; font-weight: 700; margin-top: 2px; }
.order__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.order__end { color: var(--coral); border-color: rgba(228, 99, 71, .4); }
.order__history summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--teal-deep); }
.order__history .line { font-size: 14px; }

/* Counter background preview (/s/displays). */
.bg-preview { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; background: var(--navy); color: #fff; padding: 36px 28px; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; }
.bg-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bg-preview__tint { position: absolute; inset: 0; background: #0b1a20; z-index: -1; }
.bg-preview__title { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.bg-preview__sub { font-size: 16px; opacity: .9; }

.store-link { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 2px; }
.store-link a { color: var(--muted); }
.store-link a:hover { color: var(--teal-deep); }
.store-link__copy { border: 1px solid var(--divider); background: var(--surface); border-radius: 999px; padding: 2px 10px; font: inherit; font-size: 12px; font-weight: 600; color: var(--navy); cursor: pointer; }

/* ── Store notes ───────────────────────────────────────────────── */
.notes { display: grid; gap: 16px; }
.note { padding: clamp(20px, 3vw, 32px); gap: 14px; }
.note__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.note__who { font-size: 14px; }
.note__last { font-size: 13px; text-align: right; }
.note__body { width: 100%; font: inherit; font-size: 15px; line-height: 1.55; border: 1px solid var(--divider); border-radius: 16px; padding: 14px 16px; background: var(--sand); color: var(--navy); resize: vertical; }
.note__history summary { cursor: pointer; font-weight: 600; color: var(--teal-deep); font-size: 14px; }
.rev { border-top: 1px solid var(--divider); padding: 12px 0 4px; }
.rev__head { font-size: 13.5px; }
.rev__diff { margin: 6px 0 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.rev__add { color: #1b6e48; background: #e3f4ea; display: inline-block; width: 100%; padding: 0 6px; border-radius: 4px; }
.rev__del { color: #9c2f1a; background: #fbe6e1; display: inline-block; width: 100%; padding: 0 6px; border-radius: 4px; }
.rev__none { font-size: 13px; }

/* Collapsible "Add an employee" (/b/staff). */
.hire { padding-top: 18px; padding-bottom: 18px; }
.hire__toggle { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; cursor: pointer; list-style: none; }
.hire__toggle::-webkit-details-marker { display: none; }
.hire__toggle .pill { pointer-events: none; }
.hire[open] .hire__toggle .pill__arrow { transform: rotate(45deg); }
.hire[open] .hire__toggle { margin-bottom: 18px; }

/* Help tooltip: hover, keyboard focus, or tap. */
.tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; cursor: help; vertical-align: 1px; margin-left: 4px; }
.tip__box { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: min(300px, 80vw); background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 400; line-height: 1.5; text-transform: none; letter-spacing: 0; padding: 10px 12px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 20; text-align: left; }
.tip:hover .tip__box, .tip:focus .tip__box, .tip:focus-within .tip__box { opacity: 1; visibility: visible; }

/* ── Schedule grid ─────────────────────────────────────────────── */
.sched-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sched-week { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.sched-week a { font-weight: 700; }
.sched-week__today { font-size: 13px; font-weight: 600 !important; }
.sched-help { font-size: 13px; margin: 6px 0 10px; }
.sched-legend { display: inline-flex; gap: 6px 10px; flex-wrap: wrap; align-items: center; margin-left: 6px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 2px; }
.lg--shift { background: #d5ece8; }
.lg--off { background: #fbe3b6; }
.lg--sick { background: #f6d4cc; }
.lg--closed { background: repeating-linear-gradient(135deg, #e9e5de 0 4px, #f4f1ec 4px 8px); }
.lg--gap { background: var(--coral); }
.sched td.sched__cell { user-select: none; -webkit-user-select: none; touch-action: none; cursor: cell; min-width: 92px; vertical-align: top; }
.sched .is-closed { background: repeating-linear-gradient(135deg, rgba(34, 61, 73, .05) 0 6px, transparent 6px 12px); }
.sched td.is-picked { background: rgba(37, 146, 132, .16); box-shadow: inset 0 0 0 2px var(--teal); }
.sched td.is-drop { box-shadow: inset 0 0 0 2px var(--orange); }
.sched td.is-off--vacation { background: #fdf1d8; }
.sched td.is-off--sick { background: #fbe7e2; }
.sched td.is-off--other { background: #efeae2; }
.sched .shift { cursor: grab; }
.off { display: inline-flex; align-items: center; gap: 4px; border-radius: 8px; padding: 3px 8px; font-size: 12.5px; font-weight: 700; background: #fbe3b6; color: #7a4d06; }
.off--sick { background: #f6d4cc; color: #8b2c19; }
.off--other { background: #e5dfd5; color: var(--navy); }
.sched-open th, .sched-open td { font-size: 12px; vertical-align: top; padding-top: 6px; padding-bottom: 8px; }
.sched-open__h { display: block; font-weight: 600; color: var(--navy); }
.cover { position: relative; display: block; height: 6px; border-radius: 3px; background: #d5ece8; margin: 4px 0 2px; overflow: hidden; }
.cover i { position: absolute; top: 0; bottom: 0; background: var(--teal); }
.cover i.is-short { background: var(--coral); }
.cover i.is-extra { background: var(--orange); }
.sched-extra { display: block; color: #8a4513; line-height: 1.3; }
.lg--extra { background: var(--orange); }
.sched-needed { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.sched-needed input { width: 64px; font: inherit; padding: 6px 8px; border: 1px solid var(--divider); border-radius: 10px; margin-left: 6px; }
.sched .shift { touch-action: none; }
.shift-ghost { position: fixed; z-index: 50; pointer-events: none; opacity: .9; transform: translate(-50%, -60%) rotate(-2deg); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.sched-gap { display: block; color: #9c2f1a; line-height: 1.3; }
.sched-open__note { font-size: 12px; }
.plan { border: 0; border-radius: 22px; padding: 22px; width: min(420px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); color: var(--navy); }
.plan::backdrop { background: rgba(11, 26, 32, .35); }
.plan__title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.plan__what { display: flex; gap: 16px; border: 0; padding: 0; margin: 0; }
.plan__what label { display: flex; gap: 6px; align-items: center; font-weight: 600; }
.staff-card__off { color: #7a4d06; background: #fdf1d8; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; }

/* ── News banner, news, ideas ──────────────────────────────────── */
.news-banner { display: flex; align-items: center; gap: 12px; margin: 0 var(--gutter) 12px; padding: 10px 12px 10px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; }
.news-banner a { color: #fff; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-banner a:hover { text-decoration: underline; }
.news-banner__tag { background: var(--coral); border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.news-banner__x { border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 28px; height: 28px; border-radius: 999px; font-size: 18px; line-height: 1; cursor: pointer; flex: none; }
.news-banner__x:hover { background: rgba(255, 255, 255, .26); }
.news-head { margin: 4px 4px 18px; }
.news-post { padding: clamp(20px, 3vw, 32px); gap: 10px; margin-bottom: 16px; }
.news-post__title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.news-post__date { font-size: 13px; }
.news-admin { margin-bottom: 8px; }
.admin-tabs { margin: 0 0 16px; width: fit-content; }
.ideas { list-style: none; margin: 0; padding: 0; }
.idea { border-top: 1px solid var(--divider); padding: 14px 0; }
.idea__head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.idea__meta { font-size: 13px; }
.idea__body { margin-top: 6px; }
.idea__status { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; background: var(--sand); color: var(--muted); }
.idea__status--planned { background: #fdf1d8; color: #7a4d06; }
.idea__status--done { background: #d5ece8; color: var(--teal-deep); }
.idea__status--declined { background: #efeae2; }
.idea__reply { margin-top: 10px; background: var(--sand); border-radius: 14px; padding: 10px 14px; }
.idea__answer { margin-top: 10px; }
.link-button { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--coral); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ── Check-in log (/i/) ────────────────────────────────────────── */
.info-filter { align-items: flex-end; margin-bottom: 14px; }
.info-counts { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; margin-top: 6px; }
.info-table td { font-size: 13px; vertical-align: top; white-space: nowrap; }
.info-table summary { cursor: pointer; }
.info-details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 12px; margin: 8px 0 0; white-space: normal; width: min(560px, 80vw); font-size: 12px; }
.info-details dt { color: var(--muted); }
.info-details dd { margin: 0; word-break: break-all; }
@media (max-width: 640px) {
  .shop-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .shop-tabs::-webkit-scrollbar { display: none; }
  .shop-tabs a { white-space: nowrap; }
}
/* Keep wide content (tables, file inputs) inside the page on phones. */
.app > *, .dash-grid > *, .card { min-width: 0; }
.table-scroll { max-width: 100%; position: relative; } /* keeps .sr-only labels inside the scroll box */
.logo-row { flex-wrap: wrap; }
.field input[type="file"] { max-width: 100%; }

/* ── Top bar: logo · page menu · account ───────────────────────── */
.topbar { flex-wrap: nowrap; gap: 0 !important; } /* spacing set per item below */
.topbar .brand-mark { margin-right: 12px; }
.brand-mark { flex: none; }
.nav-cta { flex: none; margin-left: 15px; display: flex; align-items: center; gap: 8px; }
.identity { padding: 4px 14px 4px 4px; }
.identity:hover { text-decoration: none; border-color: rgba(34, 61, 73, .3); }
.nav-login { padding: 8px 18px; font-size: 14px; }
.pagemenu { position: relative; min-width: 0; margin: 0 0 0 auto; } /* right, 15px from the account */
.pagemenu__btn { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; max-width: 100%;
  background: var(--surface); border: 1px solid var(--divider); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; color: var(--navy); }
.pagemenu__btn::-webkit-details-marker { display: none; }
.pagemenu__btn:hover { border-color: rgba(34, 61, 73, .3); }
.pagemenu[open] .pagemenu__btn { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagemenu__now { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pagemenu__chev { flex: none; transition: transform .15s; }
.pagemenu[open] .pagemenu__chev { transform: rotate(180deg); }
.nav-ico { flex: none; }
.pagemenu__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow-y: auto;
  background: var(--surface); border-radius: 22px; box-shadow: 0 20px 50px rgba(11, 26, 32, .2); padding: 10px;
}
/* One column per kind (right now · place · business · qlr.me), inside the scroll box. */
.pagemenu__cols { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 4px 10px; }
.pagemenu__panel--1 { --cols: 1; width: min(300px, calc(100vw - 32px)); }
.pagemenu__panel--3 { --cols: 3; width: min(820px, calc(100vw - 32px)); }
.pagemenu__panel--4 { --cols: 4; width: min(1080px, calc(100vw - 32px)); }
.pagemenu__col + .pagemenu__col { border-left: 1px solid var(--divider); padding-left: 6px; }
.pagemenu__group { padding: 6px; break-inside: avoid; }
.pagemenu__title { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); padding: 4px 10px 6px; }
.pagemenu__group a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.pagemenu__group a:hover { background: var(--sand); text-decoration: none; }
.pagemenu__group a[aria-current="page"] { background: var(--teal); color: #fff; }
@media (max-width: 640px) {
  .identity { padding: 4px; }
  .identity__name { display: none; }
  .pagemenu__cols { grid-template-columns: 1fr; }
  .pagemenu__col + .pagemenu__col { border-left: 0; padding-left: 0; border-top: 1px solid var(--divider); padding-top: 4px; }
  .pagemenu__panel { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; transform: none; }
}

.pair-code { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pair-code__qr { width: 180px; height: 180px; background: #fff; border-radius: 16px; padding: 10px; image-rendering: pixelated; flex: none; }

/* Counter screen, waiting-list mode. */
.kiosk-wait { min-height: 1em; }
.kiosk-wait__n { font-size: clamp(20px, 2vw, 28px); font-weight: 700; }
.kiosk-wait__est { font-size: clamp(16px, 1.5vw, 20px); color: rgba(255, 255, 255, .85); }
.kiosk-calling { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: clamp(18px, 1.8vw, 26px); font-weight: 700; }
.kiosk-calling span { background: var(--teal); border-radius: 999px; padding: 6px 16px; }
.kiosk-calling b { background: #fff; color: var(--navy); border-radius: 12px; padding: 4px 12px; font-weight: 800; }

/* ── Guest waiting screen (/c/wait) ────────────────────────────── */
.join { align-items: center; text-align: center; gap: 12px; }
.join__spin { width: 36px; height: 36px; border-radius: 999px; border: 4px solid var(--sand); border-top-color: var(--teal); animation: qlrSpin .8s linear infinite; }
@keyframes qlrSpin { to { transform: rotate(360deg); } }
.wait-card { align-items: center; text-align: center; gap: 10px; padding: clamp(24px, 5vw, 44px) 24px; }
.wait-card__top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1b6e48; background: #e3f4ea; border-radius: 999px; padding: 4px 10px; }
.live i { width: 8px; height: 8px; border-radius: 999px; background: #22a05a; animation: qlrDot 1.6s ease-in-out infinite; }
.live.is-stale { color: var(--muted); background: var(--sand); }
.live.is-stale i { background: #b8b2a8; animation: none; }
.wait-num { font-size: clamp(72px, 24vw, 132px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 12px 0 4px; }
.wait-title { font-size: clamp(22px, 6vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.wait-ahead { font-size: 18px; font-weight: 600; }
.wait-est { font-size: 16px; color: var(--muted); }
.wait-party { font-size: 15px; font-weight: 600; color: var(--teal-deep); }
.wait-help { font-size: 14px; max-width: 36ch; }
.wait-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.wait-awake { font-size: 12.5px; }
.waitbody[data-status="called"] .wait-card { background: var(--teal); color: #fff; }
.waitbody[data-status="called"] .wait-card .kicker, .waitbody[data-status="called"] .wait-est, .waitbody[data-status="called"] .muted { color: rgba(255, 255, 255, .85); }
.waitbody[data-status="called"] .wait-title { font-size: clamp(30px, 9vw, 44px); }
.waitbody[data-status="called"] .wait-party { color: #fff; }
.wait-flash { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; animation: qlrFlash .45s steps(1) 3; cursor: pointer; background: var(--navy); }
.wait-flash p { font-size: 30vw; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.wait-flash small { font-size: 7vw; font-weight: 700; }
.wait-flash[hidden] { display: none; }
@keyframes qlrFlash { 0% { background: var(--coral); } 33% { background: var(--teal); } 66% { background: var(--navy); } }
@media (prefers-reduced-motion: reduce) { .wait-flash { animation: none; background: var(--coral); } }

/* ── Host waiting list (/w/) ───────────────────────────────────── */
.wl { display: grid; gap: 16px; }
.wl > .pill { width: fit-content; }
.wl-tiles .tile__value small { font-size: .5em; color: var(--muted); margin-left: 2px; }
.tile__value--sm { font-size: clamp(20px, 2.2vw, 28px); }
.wl-list { display: grid; gap: 10px; }
.wl-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "num info meta" "num actions actions"; gap: 10px 18px; padding: 16px 20px; align-items: center; }
.wl-row.is-called { box-shadow: inset 0 0 0 2px var(--teal); }
.wl-row.is-flashed .wl-row__num { animation: qlrFlashText .6s steps(1) infinite; }
@keyframes qlrFlashText { 0% { color: var(--coral); } 50% { color: var(--teal); } }
.wl-row__num { grid-area: num; font-size: 40px; font-weight: 800; letter-spacing: -.04em; min-width: 72px; }
.wl-row__info { grid-area: info; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wl-row__meta { grid-area: meta; text-align: right; font-size: 13px; }
.wl-row__time { font-weight: 600; }
.wl-row__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 8px; }
.wl-input { font: inherit; font-size: 15px; font-weight: 600; color: var(--navy); background: var(--sand); border: 1px solid transparent; border-radius: 12px; padding: 8px 12px; min-width: 0; width: 180px; }
.wl-input:focus { border-color: var(--teal); outline: none; background: #fff; }
.wl-input--note { font-weight: 400; width: 240px; }
.wl-sizes { display: flex; gap: 4px; border: 0; padding: 0; margin: 0; }
.wl-sizes input { position: absolute; opacity: 0; pointer-events: none; }
.wl-sizes span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; border-radius: 10px; background: var(--sand); font-weight: 700; font-size: 14px; cursor: pointer; }
.wl-sizes input:checked + span { background: var(--navy); color: #fff; }
.wl-sizes input:focus-visible + span { outline: 2px solid var(--teal); }
.wl-remove { color: var(--coral); border-color: rgba(228, 99, 71, .4); }
.wl-add summary, .wl-recent summary { cursor: pointer; font-size: 18px; }
@media (max-width: 640px) {
  .wl-row { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "num meta" "info info" "actions actions"; padding: 14px; }
  .wl-row__num { font-size: 32px; }
  .wl-row__meta { text-align: right; }
  .wl-input, .wl-input--note { width: 100%; }
}

/* Store features (/b/stores). */
.features { display: grid; gap: 8px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--divider); }
.feature-opt { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.feature-opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.feature-opt b { display: block; }
.feature-opt small { color: var(--muted); font-size: 13px; }
.features .pill { width: fit-content; margin-top: 4px; }

.wait-size { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; }
.wait-size__opts { flex-wrap: wrap; justify-content: center; }
.wait-size__opts button { border: 0; min-width: 40px; height: 40px; border-radius: 12px; background: var(--sand); font: inherit; font-weight: 700; font-size: 15px; color: var(--navy); cursor: pointer; }
.wait-size__opts button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.waitbody[data-status="called"] .wait-size__opts button { background: rgba(255, 255, 255, .2); color: #fff; }
.waitbody[data-status="called"] .wait-size__opts button[aria-pressed="true"] { background: #fff; color: var(--teal-deep); }

/* Home page previews: the guest's phone and the host's list. */
.home-guest { gap: 6px; }
.home-guest__num { font-size: 72px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-top: 10px; }
.home-guest__line { font-size: 18px; font-weight: 700; }
.home-host { display: grid; gap: 8px; margin-top: 4px; }
.home-host__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; background: var(--sand); border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.home-host__row b { font-size: 18px; font-weight: 800; }
.home-host__row em { font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.home-host__row.is-called { box-shadow: inset 0 0 0 2px var(--teal); background: #e3f4ef; }
.home-team__row { grid-template-columns: 12px minmax(0, 1fr) auto; }
.home-team__row i { width: 10px; height: 10px; border-radius: 999px; }
.home-team__row.is-gap { background: #fdecea; color: #a8321f; }
.home-team__row.is-gap i { box-shadow: inset 0 0 0 2px #d0533b; }
.home-team__row.is-gap em { color: #a8321f; }
.home-sched, .home-heat { overflow: hidden; }
.mini-sched-wrap, .mini-heat-wrap { overflow-x: auto; margin-right: -28px; padding-right: 28px; scrollbar-width: thin; }
.mini-sched { border-collapse: separate; border-spacing: 3px 4px; font-size: 12.5px; white-space: nowrap; margin-left: -3px; }
.mini-sched th { font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 4px; }
.mini-sched tbody th { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--navy); padding-right: 10px; }
.mini-sched td { min-width: 52px; padding: 0; }
.mini-sched__open td { font-size: 11.5px; font-weight: 600; color: var(--navy); padding: 0 4px 2px; border-bottom: 3px solid var(--teal); }
.mini-sched__open td.is-closed { border-bottom-color: transparent; color: var(--muted); }
.mini-sched .is-closed { background: repeating-linear-gradient(135deg, rgba(34, 61, 73, .07) 0 5px, transparent 5px 10px); border-radius: 6px; }
.ms { display: inline-block; padding: 5px 8px; border-radius: 8px; font-weight: 600; font-size: 12px; }
.ms--shift { background: #e3f1ee; color: var(--teal-deep); }
.ms--sick { background: #fbe1da; color: #9c2f1a; }
.ms--vac { background: #fbe9c4; color: #7a4a0c; }
.ms--closed { background: #efeae2; color: var(--muted); }
.mini-sched__legend { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-sched__legend .ms { font-size: 11px; padding: 3px 8px; }
.mini-heat { display: grid; grid-template-columns: 34px repeat(14, 38px); gap: 4px; font-size: 11.5px; color: var(--muted); width: max-content; }
.mini-heat__h { white-space: nowrap; overflow: visible; font-size: 11px; }
.mini-heat__d { position: sticky; left: 0; background: var(--surface); align-self: center; z-index: 1; }
.mini-heat i { height: 26px; border-radius: 6px; }
.l0 { background: #f3f1ec; } .l1 { background: #cfe4df; } .l2 { background: #72b0a5; } .l3 { background: #3d7a6f; } .l4 { background: #21463f; }
.mini-heat-foot { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: 13px; }
.mini-heat-legend { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.mini-heat-legend i { width: 16px; height: 11px; border-radius: 3px; display: inline-block; }
.home-event__title { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.home-event__count { font-size: 16px; color: var(--muted); margin-bottom: 10px; }
.home-event__count b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; color: var(--ink, var(--navy)); }
.progress--light { background: var(--sand); }
.home-host__row.is-called em { color: var(--teal-deep); font-weight: 700; }

/* The waiting screen is one colour edge to edge: the page, not a card. */
html:has(.waitbody), .waitbody { background: var(--surface); }
.waitbody .topbar { background: transparent; backdrop-filter: none; }
.waitbody .wait-card { background: transparent; box-shadow: none; padding-top: 8px; }
html:has(.waitbody[data-status="called"]), .waitbody[data-status="called"] { background: var(--teal); }
.waitbody[data-status="called"] .wait-card { background: transparent; }
.waitbody[data-status="called"] .brand-mark { color: #fff; }
.waitbody[data-status="called"] .pagemenu__btn, .waitbody[data-status="called"] .identity { background: rgba(255, 255, 255, .16); border-color: transparent; color: #fff; }
.waitbody[data-status="called"] .live { background: rgba(255, 255, 255, .2); color: #fff; }
.waitbody[data-status="called"] .wait-sound { background: rgba(255, 255, 255, .2); }
.waitbody[data-status="called"] .link-button { color: #fff; }
.wait-sound:disabled { opacity: .8; cursor: default; }
.waitbody[data-status="called"] .live i { background: #fff; }

/* Home footer: both buttons the same height. */
.footer .hero__ctas { align-items: center; }
.footer .hero__ctas .pill { margin-top: 0; min-height: 56px; }
/* Small footer on every other page. */
.site-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 28px var(--gutter) 32px; margin-top: 32px; border-top: 1px solid var(--divider); font-size: 13.5px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot nav a { color: var(--navy); font-weight: 600; }
.brand-mark--sm { font-size: 17px; }
.waitbody .site-foot { border-top-color: transparent; }
.waitbody[data-status="called"] .site-foot, .waitbody[data-status="called"] .site-foot a, .waitbody[data-status="called"] .site-foot .muted { color: rgba(255, 255, 255, .85); }
.card--navy .stat__label { color: var(--on-navy); }
.card--coral .stat__label { color: rgba(255, 255, 255, .9); }

/* Loyalty: visit banner and settings. */
.visit-banner { background: var(--butter); border: 1px solid #f0d9a6; color: #6b4a08; border-radius: 16px; padding: 12px 16px; font-weight: 700; margin: 14px 0; }
.waitbody[data-status="called"] .visit-banner { background: #fff; color: var(--teal-deep); border-color: transparent; }
.loyalty-prog { border: 1px solid var(--divider); border-radius: 18px; padding: 16px; margin: 0; display: grid; gap: 12px; }
.loyalty-prog--off { align-content: start; gap: 6px; background: var(--sand); border-style: dashed; }
.loyalty-prog--off p { margin: 0; }
.loyalty-form .pill { width: fit-content; }
.order__guest { font-size: 13.5px; font-weight: 600; }
.wl-give { padding: 4px 12px; font-size: 13px; }

/* VIP badge (staff screens only). */
.vip { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; background: #fdf1d8; color: #7a4d06; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 800; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.wl-row__num { display: flex; flex-direction: column; align-items: flex-start; }
.wl-row__who { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.wl-row__num .vip { margin-left: 0; margin-top: 2px; }
/* Firefox gives date/time/file inputs a wide minimum: let fields shrink to
   their column so forms never push the page sideways on a phone. */
input, select, textarea { min-width: 0; max-width: 100%; }
.hours-row > * { min-width: 0; }
.hours-row input[type="time"] { width: 100%; }
.is-negative { color: #b8432b; }

.tag--approved { background: #d5ece8; color: var(--teal-deep); }
.catalog-pick { margin-bottom: 4px; }
.catalog-pick .pill { padding: 6px 14px; font-size: 13px; }
.catalog-new td { background: var(--sand); }

/* Menu categories: order on /s/menu, headings on the guest's phone. */
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cat-row { display: flex; align-items: center; gap: 10px; }
.cat-row__move { display: flex; gap: 4px; }
.cat-row__name { display: flex; gap: 8px; align-items: center; flex: 1; min-width: 0; }
.cat-row__name .cell-input { max-width: 260px; font-weight: 600; }
.menu-cat { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin: 16px 0 0; }
.menu-cat--again { color: var(--teal-deep); }

/* "Checked in at" bar on the guest's phone, in the place's colour */
.place-bar {
  --place: var(--teal); --on-place: #fff;
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  padding: 10px 16px 10px 10px; border-radius: 18px;
  background: var(--place); color: var(--on-place);
}
.place-bar__logo { width: 40px; height: 40px; flex: none; border-radius: 12px; object-fit: cover; background: #fff; }
.place-bar__logo--text { display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--place); }
.place-bar__name { flex: 1; min-width: 0; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.place-bar__name small { display: block; font-size: 12px; font-weight: 500; opacity: .85; }
.place-bar__live { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.9); }
.place-bar__live .live-dot { width: 10px; height: 10px; color: #22c55e; animation-duration: 1.6s; }
.picked { margin-top: 12px; font-size: 14px; color: var(--teal-deep); }
.color-input { width: 64px; height: 44px; padding: 2px; border-radius: 10px; }

/* Product photos: upload tiles on the catalog and menu tables */
.photo-col { width: 72px; text-align: center; }
.photo-up {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; cursor: pointer;
  border: 1.5px dashed var(--divider); border-radius: 12px; overflow: hidden;
  color: var(--muted); font-size: 20px; background: var(--cream);
}
.photo-up:hover, .photo-up:focus-within { border-color: var(--teal); color: var(--teal-deep); }
.photo-up img { width: 100%; height: 100%; object-fit: cover; }
.photo-up:has(img) { border-style: solid; }
.photo-up.is-busy { opacity: .5; }
.photo-up__rm { display: block; margin: 4px auto 0; font-size: 12px; }

/* Guest menu: photos, picked items with a bin and − n + below */
.menu { align-items: flex-start; }
.menu-item--photo { padding-left: 5px; }
.menu-item__img { width: 34px; height: 34px; flex: none; border-radius: 999px; object-fit: cover; background: var(--sand); }
.menu-item__bin { flex: none; margin-left: -2px; opacity: .9; }
.menu-pick { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.qty { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: var(--sand); }
.qty__btn {
  width: 34px; height: 34px; border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--navy); font-size: 20px; font-weight: 700; line-height: 1;
  box-shadow: 0 1px 2px rgba(29, 43, 54, .12);
}
.qty__btn:disabled { opacity: .4; cursor: default; }
.qty__n { min-width: 28px; text-align: center; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* /o order desk: tickets, left to right in check-in order */
.tickets { display: flex; flex-direction: column; gap: 14px; }
.tickets > .form-error, .tickets > .pill { width: fit-content; }
.tickets__row {
  display: flex; gap: 14px; align-items: stretch; overflow-x: auto;
  scroll-snap-type: x proximity; padding: 2px 2px 12px; margin: 0 -2px;
}
.ticket {
  flex: 0 0 272px; scroll-snap-align: start; display: flex; flex-direction: column;
  background: #fff; border-radius: 18px; border: 1px solid var(--divider);
  border-top: 6px solid var(--teal); box-shadow: 0 2px 6px rgba(29, 43, 54, .06);
}
.ticket--warn { border-top-color: var(--orange); }
.ticket--late { border-top-color: var(--coral); }
.ticket--warn .ticket__age { color: #b8641f; font-weight: 700; }
.ticket--late .ticket__age { color: #b8432b; font-weight: 700; }
.ticket--flash { animation: ticketFlash 1.4s ease-out; }
@keyframes ticketFlash { 0%, 30% { background: var(--butter); box-shadow: 0 0 0 4px var(--butter); } 100% { background: #fff; } }
@media (prefers-reduced-motion: reduce) { .ticket--flash { animation: none; outline: 3px solid var(--butter); } }
.ticket__head { padding: 12px 14px 10px; border-bottom: 1px dashed var(--divider); }
.ticket__no { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.ticket__no b { color: var(--navy); font-size: 15px; }
.ticket__who { display: flex; align-items: center; gap: 10px; }
.ticket__name { font-size: 17px; font-weight: 700; line-height: 1.2; }
.ticket__meta { font-size: 12.5px; color: var(--muted); }
.ticket__body { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.ticket__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticket__lines li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.ticket__lines img, .ticket__nophoto { width: 36px; height: 36px; flex: none; border-radius: 10px; object-fit: cover; background: var(--sand); }
.ticket__qty { font-weight: 800; min-width: 26px; font-variant-numeric: tabular-nums; }
.ticket__item { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.ticket__total { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--divider); font-size: 14px; color: var(--muted); }
.ticket__total b { color: var(--navy); font-size: 16px; }
.ticket__empty { color: var(--muted); font-style: italic; padding: 10px 0; }
.ticket__reward { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--butter); font-size: 13.5px; font-weight: 600; }
.pill--sm { padding: 6px 12px; font-size: 13px; min-height: 0; }
.ticket__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px 14px; }
.ticket__btn { flex: 1; justify-content: center; padding-left: 10px; padding-right: 10px; }
.ticket--accepted { border-top-color: var(--navy); }
.ticket__no { display: flex; justify-content: space-between; gap: 8px; }
.ticket__ok { color: var(--teal-deep); font-weight: 700; }
.ticket__quick { font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.ticket__sep { margin: 0 6px; color: var(--muted); font-weight: 400; }
.avatar--temp { background: var(--butter); color: var(--navy); font-size: 13px; font-weight: 800; }
.cell-input--quick { width: 72px; text-transform: none; }
.ticket__more summary {
  list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--divider); font-size: 20px; font-weight: 700; line-height: 1;
}
.ticket__more summary::-webkit-details-marker { display: none; }
.ticket__more[open] { flex-basis: 100%; }
.ticket__more[open] summary { background: var(--sand); margin-left: auto; }
.ticket__menu {
  margin-top: 8px; padding: 12px; display: grid; gap: 8px;
  background: var(--cream); border-radius: 14px; font-size: 14px;
}
.ticket__menu a { font-weight: 600; }
.ticket__menu .line { font-size: 13px; }
.ticket__end { color: #b8432b; text-align: left; }
@media (max-width: 640px) {
  .tickets__row { flex-direction: column; overflow: visible; }
  .ticket { flex-basis: auto; }
}
.place-bar__as { margin-top: 2px; }
.temp-id { margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--butter); font-size: 14px; }
.temp-id b { font-size: 17px; }
.temp-id a { color: inherit; text-decoration: underline; }
.order-state { margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: #e3f3ef; color: var(--teal-deep); font-size: 14px; font-weight: 600; }
.order-state--locked { background: var(--navy); color: #fff; }
.menu-item--static { cursor: default; }
.menu-item--static:hover { background: transparent; }
.menu-item--static[aria-pressed="true"]:hover { background: var(--teal); }
.menu-item[aria-disabled="true"] { opacity: .4; }
.upload-bar { flex-basis: 100%; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.upload-bar progress { width: 100%; height: 8px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; overflow: hidden; background: var(--sand); }
.upload-bar progress::-webkit-progress-bar { background: var(--sand); border-radius: 999px; }
.upload-bar progress::-webkit-progress-value { background: var(--teal); border-radius: 999px; transition: width .2s; }
.upload-bar progress::-moz-progress-bar { background: var(--teal); border-radius: 999px; }
.photo-col .upload-bar span { display: none; }
.fs-only, .ios-only { display: none; }
.can-fs .fs-only { display: inline-flex; }
.can-a2hs .ios-only { display: block; }
@media (display-mode: standalone) { .site-footer { padding-bottom: env(safe-area-inset-bottom); } }

/* Order desk: "Update order" window */
.order-edit { width: min(1040px, 96vw); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; box-shadow: 0 24px 60px rgba(29, 43, 54, .3); }
.order-edit::backdrop { background: rgba(29, 43, 54, .45); }
.order-edit form { display: flex; flex-direction: column; max-height: 92vh; }
.oe-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--divider); }
.oe-head h2 { font-size: 19px; font-weight: 700; }
.oe-x { width: 38px; height: 38px; border: 0; border-radius: 999px; background: var(--sand); font-size: 22px; cursor: pointer; }
.oe-body { overflow-y: auto; padding: 4px 20px 16px; }
.oe-body .menu-cat { margin-top: 14px; }
.oe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; margin-top: 8px; }
.oe-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid var(--divider); border-radius: 14px; }
.oe-item.is-on { border-color: var(--teal); background: #e3f3ef; }
.oe-item img, .oe-nophoto { width: 44px; height: 44px; flex: none; border-radius: 10px; object-fit: cover; background: var(--sand); }
.oe-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.25; }
.oe-name small { display: block; color: var(--muted); font-weight: 500; }
.oe-qty { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--sand); }
.oe-qty input { width: 34px; border: 0; background: transparent; text-align: center; font-size: 16px; font-weight: 700; -moz-appearance: textfield; }
.oe-qty input::-webkit-inner-spin-button, .oe-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.oe-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--divider); background: #fff; }
.oe-foot p { margin-right: auto; font-size: 15px; }
.order-state--updated { background: var(--butter); color: var(--navy); }
.order-state--updated.is-new { animation: ticketFlash 1.6s ease-out 2; }

/* Home: the four verticals (2 × 2) and the business box (full width) */
.verticals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.vertical { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.vertical:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(29, 43, 54, .1); text-decoration: none; color: inherit; }
.vertical:hover .vertical__more { text-decoration: underline; }
.ev-card:hover, .ev-hold__head:hover, .list-row a:hover { text-decoration: none; color: inherit; }
.vertical__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy); }
.vertical--business { grid-column: 1 / -1; background: var(--navy); color: var(--cream); }
.vertical--business .use__kicker, .vertical--business .vertical__more { color: var(--cream); }
.vertical--business .feature__list { color: var(--on-navy); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.vertical--business .feature__list li::before { background: var(--orange); }
.verticals--small .vertical { padding: 20px; }
.verticals--small .feature__list { display: none; }
.verticals--small .vertical--business { grid-column: auto; }
@media (max-width: 720px) {
  .verticals { grid-template-columns: 1fr; }
  .vertical--business .feature__list { grid-template-columns: 1fr; }
}
.vertical--business .pill__arrow { background: var(--orange); color: var(--navy); }
.use__kicker .tag { vertical-align: 1px; margin-left: 6px; padding-top: 2px; padding-bottom: 2px; }
.kiosk-event { display: inline-block; margin-bottom: 10px; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 18px;
  background: hsl(var(--ev-hue) 55% 42%); color: #fff; }

/* Events */
.ev-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.ev-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 22px 28px; color: inherit; text-decoration: none; overflow: hidden; }
.ev-card__band { position: absolute; inset: 0 auto 0 0; width: 8px; background: hsl(var(--ev-hue) 55% 45%); }
.ev-card__when { font-size: 13px; font-weight: 700; color: hsl(var(--ev-hue) 55% 32%); }
.ev-card__title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.tag--live { background: #e3f3ef; color: var(--teal-deep); }
.ev-hero { padding: 30px; background: linear-gradient(135deg, hsl(var(--ev-hue) 55% 40%), hsl(calc(var(--ev-hue) + 30) 55% 30%)); color: #fff; }
.ev-hero .kicker { color: rgba(255, 255, 255, .8); }
.ev-hero__title { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-top: 8px; }
.ev-hero__when { margin-top: 10px; font-weight: 600; }
.ev-hero__about { margin-top: 14px; max-width: 60ch; line-height: 1.6; opacity: .92; white-space: pre-line; }
.ev-types { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ev-type { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--divider); border-radius: 14px; }
.ev-type small { display: block; color: var(--muted); font-weight: 600; }
.ev-type select { min-width: 72px; }
.ev-fine { font-size: 13px; }
.ev-hold { border-left: 8px solid hsl(var(--ev-hue) 55% 45%); }
.ev-hold__head { display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; font-size: 18px; }
.ev-topay { font-size: 14px; }
.ev-give summary { cursor: pointer; font-weight: 600; color: var(--teal-deep); }
.ev-give .form-row { margin-top: 10px; }
.ev-count { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-count__opt input { position: absolute; opacity: 0; }
.ev-count__opt span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; border: 2px solid var(--divider); font-size: 22px; font-weight: 800; cursor: pointer; }
.ev-count__opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.ev-count__opt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.list-row.is-current { background: var(--sand); border-radius: 10px; }
.list-row a { display: flex; flex-direction: column; color: inherit; text-decoration: none; }

/* The live pass: the event's colour while fresh, red once used */
.pass { --pass: hsl(var(--ev-hue) 60% 38%); --pass-2: hsl(calc(var(--ev-hue) + 35) 60% 28%);
  margin: 0; min-height: 100dvh; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--pass), var(--pass-2)); }
.pass--stale { --pass: #b3261e; --pass-2: #6e1410; }
.pass__edge { position: fixed; z-index: 2; overflow: hidden; white-space: nowrap; background: rgba(0, 0, 0, .22);
  font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pass__edge span { display: inline-block; animation: passRun 14s linear infinite; padding: 6px 0; }
.pass__edge--top { top: 0; left: 0; right: 0; }
.pass__edge--bottom { bottom: 0; left: 0; right: 0; }
.pass__edge--bottom span { animation-direction: reverse; }
.pass__edge--left, .pass__edge--right { top: 0; bottom: 0; width: 30px; writing-mode: vertical-rl; }
.pass__edge--left { left: 0; transform: rotate(180deg); }
.pass__edge--right { right: 0; }
.pass__edge--left span, .pass__edge--right span { animation-name: passRunV; padding: 0 6px; }
@keyframes passRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes passRunV { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.pass__main { position: relative; z-index: 1; min-height: 100dvh; box-sizing: border-box; padding: 48px 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.pass__icon { width: min(46vw, 220px); aspect-ratio: 1; border-radius: 999px; display: grid; place-items: center; background: #fff; color: var(--pass);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .25); animation: passPulse 1.6s ease-in-out infinite; }
.pass__icon svg { width: 62%; height: 62%; }
@keyframes passPulse { 50% { box-shadow: 0 0 0 22px rgba(255, 255, 255, .12); } }
.pass .pass__no, .pass--stale .pass__ok { display: none; }
.pass--stale .pass__no { display: inline; }
.pass--stale svg.pass__no { display: block; }
.pass__status { font-size: clamp(28px, 9vw, 54px); font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.pass__people { font-size: 22px; }
.pass__people b { font-size: clamp(54px, 18vw, 96px); line-height: 1; display: block; }
.pass__clock { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.pass__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; width: min(100%, 520px); margin: 12px 0 0; text-align: left;
  background: rgba(0, 0, 0, .18); border-radius: 18px; padding: 14px 16px; }
.pass__facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.pass__facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.pass__code { font-family: ui-monospace, monospace; font-size: 18px; letter-spacing: .12em; }
.pass__pay { grid-column: 1 / -1; }
.pass__back { color: #fff; opacity: .85; margin-top: 6px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .pass__edge span { animation-duration: 40s; } .pass__icon { animation: none; } }
.field textarea { font: inherit; line-height: 1.5; resize: vertical; min-height: 84px; }
.un-status { min-height: 1.2em; margin: -6px 0 4px; font-size: 13px; font-weight: 600; }
.un-ok { color: var(--teal-deep); }
.un-bad { color: #b8432b; }
.share-box { border: 2px solid var(--teal); }
.share-box__msg { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; line-height: 1.5; padding: 12px; border-radius: 14px; border: 1px solid var(--divider); background: var(--cream); resize: vertical; }
.ev-give__how { margin-top: 12px; font-size: 14px; }
.push-box { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--sand); display: grid; gap: 8px; font-size: 14px; }
.push-box > * { display: none; }
.push-box[data-state="off"] .push-box__off, .push-box[data-state="on"] .push-box__on,
.push-box[data-state="denied"] .push-box__denied, .push-box[data-state="ios"] .push-box__ios { display: block; }
.push-box[data-state="off"] .pill.push-box__off { display: inline-flex; width: fit-content; }
/* Wide menus (owners, admins) sit against the window's right edge, not the button's. */
.pagemenu__panel--3, .pagemenu__panel--4 { position: fixed; top: 68px; right: 16px; }
.pagemenu__rule { border: 0; border-top: 1px solid var(--divider); margin: 2px 10px 6px; }
.pagemenu__group:has(.pagemenu__rule) { padding-top: 0; }
/* The place (or business) picker sits in the header, left of the page menu. */
.picker { margin: 0 8px 0 auto; min-width: 0; flex: 0 1 auto; }
.picker + .pagemenu { margin-left: 0; }
.picker__select { font: inherit; font-size: 14px; font-weight: 700; color: var(--navy); background: var(--surface); border: 1px solid var(--divider);
  border-radius: 999px; padding: 8px 32px 8px 14px; max-width: 220px; min-width: 0; text-overflow: ellipsis; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23223d49' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.picker__select:hover { border-color: rgba(34, 61, 73, .3); }
@media (max-width: 640px) { .picker__select { max-width: 34vw; padding-right: 26px; background-position: right 8px center; } }
.where-names { display: flex; flex-wrap: wrap; gap: 6px; }
.where-name { padding: 4px 10px; border-radius: 999px; background: var(--sand); color: var(--navy); font-weight: 600; font-size: 13.5px; }
.where-name:hover { text-decoration: none; background: var(--divider); }
tr.is-quiet td { color: var(--muted); }
@media (max-width: 640px) {
  .picker { margin-right: 6px; }
  .picker + .pagemenu .pagemenu__now { display: none; } /* the icon is enough beside a picker */
  .picker__select { max-width: 42vw; }
}
.ev-door { flex-basis: 100%; font-size: 12.5px; }
.ev-night { color: #a8571c; }
.list-row:has(.ev-door) { flex-wrap: wrap; row-gap: 4px; }
.place-clock { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: -4px 0 16px; padding: 10px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--divider); }
.place-clock__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.place-clock__time { font-size: 18px; font-variant-numeric: tabular-nums; }
/* Event mode: the code alone on the left; the event, its time and how to come in on the right */
.kiosk-act--event { justify-content: center; }
.kiosk-ev { display: grid; gap: 10px; margin-top: 6px; }
.kiosk-ev__when { display: inline-block; width: fit-content; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: clamp(18px, 1.8vw, 26px);
  background: hsl(var(--ev-hue) 55% 42%); color: #fff; }
.kiosk-ev__title { font-size: clamp(34px, 4.4vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.kiosk-ev__place { font-size: clamp(16px, 1.5vw, 21px); color: rgba(255, 255, 255, .75); }
.kiosk-ev .kiosk-sub { margin: 8px 0 0; max-width: 32ch; }

/* Event screen: the code fills the left third; the event takes two thirds. */
.kiosk-grid--event { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; }
.kiosk-grid--event .kiosk-act { align-items: stretch; justify-content: center; }
.kiosk-grid--event .kiosk-qr { width: 100%; max-width: min(100%, 78vh); margin: 0 auto; }
.kiosk-grid--event .kiosk-arrivals { display: none; }
.kiosk-grid--event .kiosk-info { justify-content: center; }
/* The square logo spans the two lines beside it: the event's name, then its time @ the place. */
.kiosk-ev__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; gap: clamp(16px, 2vw, 28px); }
.kiosk-ev__id { display: grid; gap: 6px; align-content: center; min-width: 0; }
.kiosk-logo--big { width: auto; height: 100%; min-height: 72px; aspect-ratio: 1 / 1; border-radius: 20px; object-fit: cover; }
.kiosk-logo--big.kiosk-logo--text { font-size: clamp(28px, 3vw, 48px); }
.kiosk-ev__title { overflow-wrap: anywhere; }

/* Footer of every counter screen: bigger brand (with beta) and line. */
.kiosk-foot { font-size: clamp(15px, 1.3vw, 19px); align-items: flex-end; }
.kiosk-foot__brand { position: relative; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; }
.kiosk-foot__brand .env-badge { font-size: 9px; bottom: -11px; }

.kiosk-ev__line { font-size: clamp(18px, 1.8vw, 28px); color: rgba(255, 255, 255, .85); }
.kiosk-ev__line .kiosk-ev__when { all: unset; font-weight: 800; color: hsl(var(--ev-hue) 75% 68%); }
.kiosk-ev__rule { border: 0; border-top: 1px solid rgba(255, 255, 255, .22); margin: clamp(8px, 1.4vh, 18px) 0; }
.kiosk-ev__about { font-size: clamp(16px, 1.5vw, 22px); line-height: 1.5; color: rgba(255, 255, 255, .88); max-width: 52ch; white-space: pre-line; }
.kiosk-ev__agenda { margin-top: 6px; }
.kiosk-ev__agenda p { font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: rgba(255, 255, 255, .7); }
.kiosk-ev__agenda ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: clamp(16px, 1.5vw, 22px); }
.kiosk-qr-note { margin-top: 14px; font-size: clamp(13px, 1vw, 16px); line-height: 1.45; color: rgba(255, 255, 255, .78); text-align: center; }
.ev-agenda { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .25); }
.ev-agenda__title { font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.ev-agenda ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.screen-now { font-size: 15px; }
.screen-modes { display: grid; gap: 8px; }

/* Team: one compact row per person; tap to edit, › for their page */
.team-row { border-top: 1px solid var(--divider); }
.team-row.is-gone { opacity: .6; }
.team-row__sum { display: grid; grid-template-columns: auto minmax(140px, 1.3fr) auto minmax(160px, 1.6fr) minmax(0, 1.2fr) auto; align-items: center; gap: 8px 16px;
  padding: 12px 4px; cursor: pointer; list-style: none; }
.team-row__sum::-webkit-details-marker { display: none; }
.team-row__sum:hover { background: var(--cream); border-radius: 14px; }
.team-row__who { display: flex; flex-direction: column; min-width: 0; }
.team-row__who small { font-size: 12.5px; }
.team-row__rate { font-weight: 700; white-space: nowrap; }
.team-row__status { font-size: 14px; font-weight: 600; color: var(--muted); }
.team-row__status--now { color: var(--teal-deep); }
.team-row__status--now::before { content: "● "; color: #22a565; }
.team-row__status--next { color: var(--navy); }
.team-row__places { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--sand); font-size: 12.5px; font-weight: 600; color: var(--navy); }
.team-row__open { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--divider); font-size: 20px; font-weight: 700; color: var(--navy); }
.team-row__open:hover { background: var(--sand); text-decoration: none; }
.team-row__edit { padding: 6px 4px 18px 60px; }
.team-row[open] .team-row__sum { background: var(--cream); border-radius: 14px; }
.team-status { font-size: 16px; margin: -6px 0 18px; }
.team-off { display: flex; flex-wrap: wrap; gap: 6px; }
.crumb { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
tr.is-current td { background: var(--cream); }
@media (max-width: 860px) {
  .team-row__sum { grid-template-columns: auto minmax(0, 1fr) auto; }
  .team-row__rate { grid-column: 3; grid-row: 1; }
  .team-row__status, .team-row__places { grid-column: 2 / -1; }
  .team-row__open { grid-column: 3; grid-row: 2; }
  .team-row__edit { padding-left: 4px; }
}

/* Business overview: each place in its own colour */
.share-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--sand); margin: 4px 0 8px; }
.share-bar span { height: 100%; }
.share-bar span + span { box-shadow: -2px 0 0 #fff; }
.share-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.share-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.place-row td:first-child { border-left: 4px solid var(--place); padding-left: 12px; }
.place-dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; background: var(--place); margin-right: 8px; vertical-align: 1px; }
.cell-bar { display: block; height: 4px; border-radius: 999px; background: var(--sand); margin-top: 4px; min-width: 60px; }
.cell-bar i { display: block; height: 100%; border-radius: 999px; background: var(--place); }
.tag--best { background: #fdf0c2; color: #7a5a00; }
.picker { position: relative; }
.picker__icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); display: flex; }
.picker__icon + .picker__select { padding-left: 36px; }
.chip--place::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--place); margin-right: 6px; vertical-align: 1px; }
/* Place settings → Features: options in a grid, then the button */
.feature-form { display: grid; gap: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px 28px; }
.feature-form .pill { width: fit-content; }
.picker--next { margin-left: 0; }
@media (max-width: 640px) { .picker--next .picker__select, .picker:has(+ .picker--next) .picker__select { max-width: 28vw; } }

/* Page colours: header and footer in the warm ground, the page itself white;
   cards and tiles then stand out with a hairline and a soft shadow. */
html, body { background: var(--surface); }
.topbar { background: #f3f1ec; border-bottom: 1px solid var(--divider); margin-bottom: 18px; }
.site-foot { background: var(--ground); border-top: 1px solid var(--divider); margin-top: 40px; }
.card, .tile { border: 1px solid var(--divider); box-shadow: 0 1px 2px rgba(29, 43, 54, .04); }
.card--navy, .card--coral, .kiosk .card { border-color: transparent; }
.kiosk { background: var(--navy); }
/* A name that leads to its page (a guest, a team member, a place, an event). */
a.ent { color: inherit; text-decoration: underline; text-decoration-color: rgba(34, 61, 73, .25); text-underline-offset: 3px; }
a.ent:hover { color: var(--teal-deep); text-decoration-color: currentColor; }
a.chip { text-decoration: none; }
a.chip:hover { background: var(--divider); text-decoration: none; }
/* The dark box keeps its light text on hover. */
.vertical--business:hover { color: var(--cream); }
.vertical--business:hover .vertical__more { color: var(--cream); }

/* Home hero: faint squares of the rotating code behind the headline. */
.hero--qr { position: relative; isolation: isolate; overflow: hidden; }
.hero__qr { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Feature boxes: the emoji in a tile on the left, the words beside it */
.vertical { flex-direction: row; align-items: flex-start; gap: clamp(16px, 2vw, 24px); }
.vertical__emoji { flex: none; width: clamp(56px, 6vw, 76px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 20px;
  background: var(--cream); font-size: clamp(30px, 3.4vw, 40px); line-height: 1; }
.vertical--business .vertical__emoji { background: rgba(255, 255, 255, .1); }
.vertical__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
.vertical__body .vertical__more { margin-top: auto; }
.verticals--small .vertical__emoji { width: 48px; font-size: 26px; border-radius: 14px; }
.feature-hero__emoji { font-size: .82em; line-height: 1; vertical-align: .02em; }
@media (max-width: 480px) { .vertical { flex-direction: column; } }

/* Home: the photo on the left third, the three previews on the right two thirds */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: clamp(40px, 6vw, 80px) var(--gutter); align-items: stretch; }
.showcase .preview-grid { padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.showcase__photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; min-height: 420px; outline: none; }
.showcase__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-info { position: absolute; right: 12px; bottom: 12px; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .85); color: var(--navy); font: italic 700 15px/1 Georgia, serif; opacity: 0; transition: opacity .2s; }
.photo-credit { position: absolute; right: 48px; bottom: 12px; max-width: calc(100% - 60px); line-height: 18px; padding: 5px 12px; border-radius: 999px;
  background: rgba(20, 30, 36, .82); color: #fff; font-size: 12.5px; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.photo-credit a { color: #fff; text-decoration: underline; }
.has-credit:hover .photo-info, .has-credit:focus-within .photo-info { opacity: 1; }
.has-credit:hover .photo-credit, .has-credit:focus-within .photo-credit { opacity: 1; transform: none; pointer-events: auto; }
.band { background: var(--sand); }
.parallax .photo-info, .parallax .photo-credit { right: auto; }
.parallax .photo-info { right: var(--gutter); bottom: 16px; }
.parallax .photo-credit { right: calc(var(--gutter) + 36px); bottom: 16px; }
.parallax { position: relative; margin: 0; height: 300px; border-radius: 0; overflow: hidden; outline: none; }
.parallax img { position: absolute; left: 0; top: -120px; width: 100%; height: calc(100% + 240px); object-fit: cover; object-position: 50% 55%; will-change: transform; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .photo-info { opacity: 1; }
}
@media (max-width: 640px) { .showcase .preview-grid { grid-template-columns: 1fr; } }
.hero--qr .hero__eyebrow { background: #fff; }

/* ── Pricing ──────────────────────────────────────────────────── */
.beta-note { display: flex; align-items: flex-start; gap: 14px; max-width: 640px; margin: 28px auto 0; padding: 16px 20px; border-radius: 20px; background: #fdf0c2; text-align: left; }
.beta-note p { margin: 0; font-size: 15px; color: #5c4400; max-width: none; }
.beta-note__badge { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #f5c542; color: #3d2d00; border-radius: 999px; padding: 4px 10px; margin-top: 2px; }
.plans { display: grid; gap: 16px; margin-top: 28px; }
.tier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; border-radius: 24px; overflow: hidden; }
.tier__head { display: flex; flex-direction: column; gap: 8px; min-height: 100%; }
.tier__head .vertical__emoji { width: 56px; margin-bottom: 4px; }
.tier__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
.tier__price b { font-size: clamp(36px, 4vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tier__price span { color: var(--muted); font-size: 14px; }
.tier__alt { font-weight: 700; font-size: 15px; }
.tier__note { font-size: 14px; color: var(--teal-deep); font-weight: 600; }
.tier__h { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.tier__demo { min-width: 0; background: var(--sand); border-radius: 18px; padding: 16px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 12px; overflow: hidden; }
.tier__demo .home-host__row:not(.is-called) { background: #fff; }
.tier__demo .mini-heat__d { background: var(--sand); }
.tier__demo .mini-sched-wrap, .tier__demo .mini-heat-wrap { margin-right: -16px; padding-right: 16px; }
.tier__demo .progress--light { background: #fff; }
.tier--business { background: var(--navy); color: var(--cream); border-color: transparent; }
.tier--business .tier__price span, .tier--business .tier__h, .tier--business .feature__list { color: var(--on-navy); }
.tier--business .tier__note { color: #9ad8cc; }
.tier--business .use__kicker { color: #f6b37f; }
.tier--business .vertical__more { color: var(--cream); }
.tier--business .vertical__emoji { background: rgba(255, 255, 255, .08); }
.tier--business .feature__list li::before { background: var(--orange); }
.mini-sales__bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 110px; align-items: end; }
.mini-sales__bars span { position: relative; height: var(--h); background: #72b0a5; border-radius: 6px 6px 3px 3px; }
.mini-sales__bars span.is-top { background: var(--teal-deep); }
.mini-sales__bars i { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11px; color: var(--muted); }
.mini-sales__best { display: grid; gap: 6px; margin-top: 18px; }
.mini-sales__best p { display: flex; justify-content: space-between; background: #fff; border-radius: 10px; padding: 7px 10px; font-size: 13px; margin: 0; }
.estimator { gap: 14px; }
.estimator fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.estimator__places { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.estimator__places input { width: 80px; font: inherit; padding: 8px 10px; border: 1px solid var(--divider); border-radius: 12px; }
.estimator__opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--sand); cursor: pointer; }
.estimator__opt:has(select) { grid-template-columns: 1fr auto; }
.estimator__opt em { font-style: normal; color: var(--muted); font-size: 14px; }
.estimator__opt input { width: 18px; height: 18px; accent-color: var(--teal-deep); }
.estimator__opt select { font: inherit; font-size: 14px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--divider); background: #fff; }
.estimator__biz { font-size: 14px; padding: 10px 12px; border-radius: 14px; background: #e3f1ee; color: var(--teal-deep); font-weight: 600; margin: 0; }
.estimator__total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--divider); padding-top: 14px; margin: 4px 0 0; }
.estimator__total b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.estimator__total span { color: var(--muted); }
.estimator__beta { margin: 0; font-size: 14px; }
.faq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.faq p { line-height: 1.6; font-size: 14.5px; }
@media (max-width: 900px) {
  .tier { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.tier--business .tier__demo { color: var(--navy); }
.tier--business .pill__arrow { background: var(--orange); color: var(--navy); }
.bundle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; border-radius: 24px; background: var(--teal-deep); color: #fff; border-color: transparent; }
.bundle .use__kicker { color: #bfe6de; }
.bundle .tier__price span { color: rgba(255, 255, 255, .8); }
.bundle__save { display: inline-block; width: fit-content; margin-top: 8px; background: #f5c542; color: #3d2d00; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 4px 10px; }
.bundle__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 600; }
.bundle__list li { display: flex; align-items: center; gap: 10px; }
.bundle__list span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .14); }
.bundle__rule { margin: 0; line-height: 1.6; color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.estimator__bundle { font-size: 14px; padding: 10px 12px; border-radius: 14px; background: #fdf0c2; color: #5c4400; font-weight: 600; margin: 0; }
@media (max-width: 900px) { .bundle { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* ── Sample app views (marketing pages) ───────────────────────── */
.split--steps-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.split--steps-flip .phone { margin-top: 28px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 18px; min-width: 0; }
.footer__links a { white-space: nowrap; }
.footer__links a { color: inherit; }
.phone { width: min(250px, 100%); aspect-ratio: 9 / 18.5; border-radius: 38px; border: 9px solid #1d2b33; background: #fff; box-shadow: 0 18px 40px rgba(29, 43, 54, .18); overflow: hidden; position: relative; flex: none; }
.phone--dark { background: linear-gradient(160deg, #1f3a44, #13252c); color: #fff; }
.phone__screen { position: absolute; inset: 0; padding: 26px 18px 18px; display: flex; flex-direction: column; }
.demo-scan .phone__screen { align-items: center; justify-content: center; gap: 18px; }
.demo-scan__finder { position: relative; width: 78%; aspect-ratio: 1; padding: 12px; }
.demo-scan__finder img { width: 100%; height: 100%; border-radius: 8px; image-rendering: pixelated; display: block; animation: qlrScanFocus 6s ease-in-out infinite; }
.demo-scan__finder i { position: absolute; width: 22%; height: 22%; border: 3px solid #2bb3a0; }
.demo-scan__finder .c1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.demo-scan__finder .c2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.demo-scan__finder .c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.demo-scan__finder .c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.demo-scan__line { position: absolute; left: 8%; right: 8%; height: 3px; border-radius: 3px; background: #2bb3a0; box-shadow: 0 0 14px 3px rgba(43, 179, 160, .6); top: 12%; animation: qlrScanLine 6s ease-in-out infinite; }
.demo-scan__hint { font-size: 12.5px; color: rgba(255, 255, 255, .75); text-align: center; margin: 0; }
.demo-scan__ok { position: absolute; left: 14px; right: 14px; bottom: 18px; background: #fff; color: var(--navy); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; animation: qlrScanOk 6s ease-in-out infinite; }
.demo-scan__ok span { grid-row: span 2; width: 34px; height: 34px; border-radius: 999px; background: #22a05a; color: #fff; display: grid; place-items: center; font-weight: 800; }
.demo-scan__ok small { color: var(--muted); font-size: 12px; }
@keyframes qlrScanLine { 0%, 8% { top: 12%; opacity: 1; } 28% { top: 86%; } 46% { top: 12%; opacity: 1; } 50%, 100% { top: 50%; opacity: 0; } }
@keyframes qlrScanFocus { 0%, 46% { opacity: 1; transform: none; } 52%, 92% { opacity: .35; transform: scale(.94); } 100% { opacity: 1; transform: none; } }
@keyframes qlrScanOk { 0%, 48% { opacity: 0; transform: translateY(16px); } 54%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .demo-scan__line, .demo-scan__finder img, .demo-scan__ok { animation: none; } .demo-scan__line { display: none; } }

.demo-wait { align-items: center; text-align: center; gap: 8px; }
.demo-wait__place { font-weight: 700; font-size: 14px; margin: 0; }
.demo-wait__num { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 18px 0 4px; }
.demo-wait__line { font-weight: 700; margin: 0; }
.demo-wait__dots { display: flex; gap: 8px; margin: 10px 0; }
.demo-wait__dots i { width: 22px; height: 8px; border-radius: 8px; background: var(--sand); }
.demo-wait__dots i.is-done { background: #cfe4df; }
.demo-wait__dots i.is-you { background: var(--teal); }
.demo-wait__meta { color: var(--muted); font-size: 13px; margin: 0; }
.demo-wait__btns { margin-top: auto; display: grid; gap: 8px; width: 100%; }
.demo-wait__btns span { border: 1px solid var(--divider); border-radius: 999px; padding: 9px; font-size: 13px; font-weight: 600; }

.demo-nopager { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.demo-nopager__pager { position: relative; display: grid; justify-items: center; gap: 4px; padding: 20px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--divider); text-align: center; }
.demo-nopager__pager span { font-size: 48px; line-height: 1; filter: grayscale(1); opacity: .55; }
.demo-nopager__pager::after { content: ""; position: absolute; left: 18px; right: 18px; top: 42px; height: 4px; border-radius: 4px; background: var(--coral); transform: rotate(-24deg); }
.demo-nopager__pager b { text-decoration: line-through; color: var(--muted); }
.demo-nopager__pager small { color: var(--teal-deep); font-weight: 700; font-size: 12px; max-width: 14ch; }
.demo-lock { align-items: center; padding-top: 40px; }
.demo-lock__time { font-size: 52px; font-weight: 300; letter-spacing: -.02em; margin: 0; line-height: 1; }
.demo-lock__date { font-size: 13px; opacity: .8; margin: 6px 0 0; }
.demo-lock__note { margin-top: 26px; width: 100%; background: rgba(255, 255, 255, .92); color: var(--navy); border-radius: 18px; padding: 12px 14px; font-size: 13px; line-height: 1.35; animation: qlrRing 3s ease-in-out infinite; }
.demo-lock__note p { margin: 0; }
.demo-lock__app { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 4px !important; text-transform: uppercase; letter-spacing: .06em; }
@keyframes qlrRing { 0%, 70%, 100% { transform: none; } 74% { transform: rotate(-2deg); } 78% { transform: rotate(2deg); } 82% { transform: rotate(-1.5deg); } 86% { transform: rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .demo-lock__note { animation: none; } }

.demo-host-panel { width: min(440px, 100%); gap: 14px; }
.demo-host-panel__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.demo-host-panel__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.demo-host-panel__btns .pill { padding: 9px 18px; pointer-events: none; }

.feat-rows { display: grid; gap: clamp(40px, 6vw, 80px); }
.feat-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feat-row--flip .feat-row__text { order: 2; }
.feat-row__text .section-title { margin: 0 0 18px; }
.feat-row__text .feature__list { font-size: 16px; gap: 12px; }
.feat-row__demo { display: flex; justify-content: center; padding: clamp(20px, 3vw, 36px); border-radius: 28px; background: #ebe6dd; min-width: 0; }
@media (max-width: 900px) {
  .split--steps-flip { grid-template-columns: minmax(0, 1fr); }
  .split--steps-flip .phone { margin-left: auto; margin-right: auto; }
  .feat-row { grid-template-columns: minmax(0, 1fr); }
  .feat-row--flip .feat-row__text { order: 0; }
}
.demo-nopager { flex-wrap: nowrap; }
.demo-nopager .phone { width: 210px; }
.demo-nopager__pager { flex: none; }
@media (max-width: 520px) { .demo-nopager { flex-wrap: wrap; } }
.demo-panel { width: min(440px, 100%); gap: 14px; }
.demo-panel .tier__h { margin: 0; }
.demo-loyal { gap: 12px; }
.demo-loyal__ok { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 0; }
.demo-loyal__ok span { width: 22px; height: 22px; border-radius: 999px; background: #22a05a; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.demo-loyal__hi { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 0; }
.demo-loyal__card { background: var(--sand); border-radius: 16px; padding: 12px; display: grid; gap: 8px; }
.demo-loyal__card p { margin: 0; font-size: 12px; }
.demo-loyal__stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.demo-loyal__stamps i { aspect-ratio: 1; border-radius: 999px; border: 2px dashed #cfc8bd; display: grid; place-items: center; font-style: normal; font-size: 13px; color: transparent; }
.demo-loyal__stamps i.on { border: 0; background: #fff; color: inherit; }
.demo-loyal__stamps i.new { box-shadow: 0 0 0 2px var(--teal); animation: qlrStamp 2.4s ease-in-out infinite; }
.demo-loyal__stamps i.gift { color: inherit; border-color: var(--orange); }
@keyframes qlrStamp { 0%, 60%, 100% { transform: none; } 70% { transform: scale(1.25); } 80% { transform: scale(.95); } }
.demo-loyal__pts b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.demo-loyal .progress--light { background: #fff; }
.demo-guest__top { display: flex; gap: 12px; align-items: center; }
.demo-guest__top p { margin: 2px 0 0; font-size: 13px; }
.demo-guest__top .tag { margin-left: 4px; }
.demo-guest__av { width: 48px; height: 48px; border-radius: 999px; background: #fde7d6; color: #8a4513; display: grid; place-items: center; font-weight: 800; flex: none; }
.demo-guest__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.demo-guest__stats p { margin: 0; background: var(--sand); border-radius: 14px; padding: 10px; display: grid; }
.demo-guest__stats b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.demo-guest__stats span { font-size: 12px; color: var(--muted); }
.demo-guest__chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.demo-guest__note { margin: 0; font-size: 13px; color: var(--muted); font-style: italic; }
.demo-menu { gap: 8px; }
.demo-menu .tier__h { margin: 6px 0 0; font-size: 11px; }
.demo-menu__place { font-weight: 800; margin: 0; }
.demo-menu__deal { font-size: 12px; margin: 0; background: #fdf3ea; border-radius: 10px; padding: 6px 8px; }
.demo-menu__deal .tag { margin: 0 4px 0 0; }
.demo-menu__item { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; }
.demo-menu__item p { margin: 0; display: grid; font-size: 13px; }
.demo-menu__item small { color: var(--muted); }
.demo-menu__pic { width: 40px; height: 40px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; font-size: 20px; }
.demo-menu__qty { font-size: 13px; color: var(--muted); border: 1px solid var(--divider); border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.demo-menu__qty b { color: var(--navy); margin: 0 4px; }
.demo-menu__add { width: 28px; height: 28px; border-radius: 999px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.demo-menu__cta { margin-top: auto; background: var(--navy); color: #fff; border-radius: 999px; padding: 11px; text-align: center; font-weight: 700; font-size: 14px; }
.demo-pass { gap: 10px; }
.demo-pass__title { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 0; }
.demo-pass .muted { margin: 0; font-size: 13px; }
.demo-pass__ok { background: #22a05a; color: #fff; border-radius: 18px; padding: 18px 14px; display: grid; gap: 4px; text-align: center; margin-top: 8px; }
.demo-pass__ok b { font-size: 22px; }
.demo-pass__ok span { font-size: 12.5px; opacity: .9; }
.demo-pass__rows { display: grid; gap: 6px; }
.demo-pass__rows p { margin: 0; display: flex; justify-content: space-between; background: var(--sand); border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.demo-pass__send { margin-top: auto; border: 1px solid var(--divider); border-radius: 999px; padding: 10px; text-align: center; font-size: 13px; font-weight: 600; }
.demo-places__row { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; background: var(--sand); border-radius: 14px; padding: 12px; }
.demo-places__row i { width: 10px; height: 36px; border-radius: 6px; background: var(--place); }
.demo-places__row p { margin: 0; display: grid; font-size: 14px; }
.demo-places__row small { color: var(--muted); font-size: 12px; }
.demo-places__row span { display: grid; text-align: right; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .demo-loyal__stamps i.new { animation: none; } }
.demo-loyal__ok em { font-style: normal; }
.demo-loyal__stamps { gap: 4px; }
.demo-loyal__stamps i { font-size: 11px; min-width: 0; }
.demo-loyal__card { min-width: 0; }
.how__phone { display: flex; justify-content: center; align-items: flex-start; }
.split--steps-flip .how__phone .phone { margin-top: 0; }
.split--steps-flip .section-aside { padding-top: 12px; max-width: 60ch; }
.how__phone { align-self: center; }
.split--steps-flip .steps { margin-top: 28px; }
/* More sample views */
.demo-form { display: grid; gap: 10px; }
.demo-field { margin: 0; display: grid; gap: 4px; }
.demo-field > span { font-size: 12px; color: var(--muted); font-weight: 600; }
.demo-field > b { font-weight: 600; border: 1px solid var(--divider); border-radius: 12px; padding: 9px 12px; }
.demo-sizes { display: flex; gap: 6px; margin: 0; flex-wrap: wrap; }
.demo-sizes i { font-style: normal; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; display: grid; place-items: center; background: var(--sand); font-weight: 700; }
.demo-sizes i.on { background: var(--navy); color: #fff; }
.demo-feats i.on { background: #e3f1ee; color: inherit; box-shadow: inset 0 0 0 2px var(--teal); }
.demo-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.demo-kpis p { margin: 0; background: var(--sand); border-radius: 14px; padding: 10px; display: grid; }
.demo-kpis b { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.demo-kpis span { font-size: 11.5px; color: var(--muted); }
.demo-wait-bars { height: 90px; margin-bottom: 18px; }
.demo-note { margin: 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.demo-note b { color: var(--navy); }
.demo-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.demo-toggle { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--sand); border-radius: 14px; padding: 10px 12px; }
.demo-toggle p { margin: 0; display: grid; font-size: 14px; }
.demo-toggle small { color: var(--muted); font-size: 12px; }
.demo-toggle i { width: 40px; height: 24px; border-radius: 999px; background: #cfc8bd; position: relative; }
.demo-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 999px; background: #fff; transition: left .2s; }
.demo-toggle.on i { background: var(--teal); }
.demo-toggle.on i::after { left: 19px; }
.demo-vip b { font-size: 16px; }
.demo-vip__btn { border: 1px solid var(--divider); border-radius: 999px; padding: 3px 9px; color: var(--navy) !important; font-weight: 600; }
.demo-board { width: min(520px, 100%); }
.demo-board__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.demo-board__cols .tier__h { margin-bottom: 6px; }
.demo-ticket { background: #fff; border: 1px solid var(--divider); border-radius: 14px; padding: 10px; display: grid; gap: 4px; font-size: 12.5px; }
.demo-ticket small { color: var(--muted); font-size: 11px; }
.demo-ticket p { margin: 2px 0 4px; line-height: 1.45; }
.demo-ticket s { color: var(--muted); }
.demo-ticket .pill { padding: 6px 10px; font-size: 12px; justify-content: center; width: 100%; pointer-events: none; }
.demo-ticket.is-acc { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.demo-ticket.is-ready { background: #e3f1ee; }
.demo-board .demo-board__cols > div { background: var(--sand); border-radius: 14px; padding: 8px; }
.demo-people { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-people span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--sand); font-weight: 600; font-size: 14px; }
.demo-people i { width: 28px; height: 28px; border-radius: 999px; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; }
.demo-people span.on { background: var(--navy); color: #fff; }
.demo-people span.on i { background: var(--teal); color: #fff; }
.demo-itemheat { grid-template-columns: 74px repeat(10, 30px); }
.demo-itemheat i { height: 24px; }
.demo-search { border: 2px solid var(--teal); border-radius: 12px; padding: 9px 12px; font-weight: 600; }
.demo-search span::after { content: "|"; color: var(--teal); animation: qlrBlink 1s steps(1) infinite; margin-left: 1px; }
@keyframes qlrBlink { 50% { opacity: 0; } }
.demo-pick { box-shadow: inset 0 0 0 2px var(--teal); background: #e3f1ee !important; }
.demo-fin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; height: 120px; align-items: end; margin-bottom: 18px; }
.demo-fin div { position: relative; height: 100%; }
.demo-fin span { position: absolute; inset: 0; }
.demo-fin span::before, .demo-fin span::after { content: ""; position: absolute; bottom: 0; width: 44%; border-radius: 5px 5px 2px 2px; }
.demo-fin span::before { left: 4%; height: var(--r); background: #72b0a5; }
.demo-fin span::after { right: 4%; height: var(--e); background: #e46347; }
.demo-fin i { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11px; color: var(--muted); }
.demo-catalog td { font-size: 12.5px; padding: 4px 6px; }
.demo-catalog tbody th { white-space: nowrap; }
.demo-gap { margin: 0; color: #9c2f1a; background: #fbe7e2; border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.demo-total { margin: 0; display: flex; justify-content: space-between; border-top: 1px solid var(--divider); padding-top: 10px; font-size: 14px; }
/* Home: six boxes, three per row; the business box is one of them. */
.verticals:not(.verticals--small) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.verticals .vertical--business { grid-column: auto; }
.vertical--business .feature__list { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1100px) { .verticals:not(.verticals--small) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .verticals:not(.verticals--small) { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1101px) { .verticals:not(.verticals--small) .vertical { flex-direction: column; } }
/* Place overview */
.ov { gap: 16px; }
.ov__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ov__head .dash-title { display: flex; align-items: center; gap: 10px; }
.ov__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy); white-space: nowrap; }
.ov__more .pill__arrow { width: 28px; height: 28px; }
.ov__tiles { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.ov__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ov__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--sand); border-radius: 12px; font-size: 14px; }
.ov__lines b { font-weight: 600; color: var(--muted); white-space: nowrap; }
.ov-group { margin: 28px 0 4px; }
.ov-off { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.ov-off__card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; background: transparent; border-style: dashed; }
.ov-off__emoji { font-size: 30px; grid-row: span 2; }
.ov-off__title { font-weight: 700; margin: 0; }
.ov-off__card .muted { margin: 2px 0 0; font-size: 13.5px; }
.ov-off__btns { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.ov-off__btns .pill { padding: 7px 14px; font-size: 13.5px; }
.ov-off__ask { font-size: 13px; }
.ov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ov-grid .ov { margin: 0; }
@media (max-width: 900px) { .ov-grid { grid-template-columns: minmax(0, 1fr); } }
.kiosk-onshift { font-size: 15px; color: rgba(244, 241, 236, .8); margin: 8px 0 0; }
.kiosk-onshift span { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(43, 179, 160, .25); color: #bfe6de; border-radius: 999px; padding: 3px 9px; margin-right: 6px; }
.serving__on { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: #22a05a; margin-right: 6px; vertical-align: 1px; }
.serving__select--more { max-width: 140px; }
/* /c/s/: the team member's screen */
.staffscr { max-width: 520px; margin: 0 auto; width: 100%; display: grid; gap: 14px; }
.staffscr__status { text-align: center; gap: 10px; align-items: center; }
.staffscr__state { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; background: var(--sand); color: var(--muted); }
.staffscr__state.is-in { background: #e3f4ea; color: #1b6e48; }
.staffscr__hi { font-size: clamp(26px, 6vw, 34px); font-weight: 800; letter-spacing: -.03em; margin: 0; }
.staffscr__btn { width: 100%; justify-content: center; font-size: 18px; padding: 18px 24px; }
.staffscr__btn.is-out { background: var(--coral); border-color: var(--coral); color: #fff; }
.staffscr__rows { display: grid; gap: 6px; }
.staffscr__rows p { margin: 0; display: flex; justify-content: space-between; gap: 12px; background: var(--sand); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; }
.staffscr__rows span { color: var(--muted); }
.staffscr__rows b { text-align: right; }
.staffscr__guest { text-align: center; }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.sched-pub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sched-pub .tag { margin: 0; }
.tag--draft { background: #fdf0c2; color: #7a5a00; }
/* Timesheets */
.ts-bar { margin-bottom: 4px; }
.ts-card { gap: 16px; }
.ts-note { font-size: 13px; }
.ts-back { margin: 0; font-size: 14px; }
.ts-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ts-days td { vertical-align: top; }
.ts-entry { display: grid; gap: 2px; padding: 4px 0; }
.ts-entry + .ts-entry { border-top: 1px dashed var(--divider); }
.ts-entry.is-auto { background: #fdf0c2; border-radius: 10px; padding: 6px 8px; }
.ts-edit { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ts-edit input[type=time] { font: inherit; font-size: 14px; padding: 4px 6px; border: 1px solid var(--divider); border-radius: 8px; }
.ts-btn { padding: 4px 12px; font-size: 13px; }
.ts-del { border: 0; background: none; font-size: 18px; color: var(--muted); cursor: pointer; }
.ts-flag { color: #7a5a00; font-weight: 600; }
.ts-add summary { list-style: none; cursor: pointer; width: fit-content; }
.ts-add summary::-webkit-details-marker { display: none; }
.ts-add form { margin-top: 14px; align-items: end; }
@media print {
  .topbar, .site-foot, .ts-bar form, .ts-bar a.pill, .ts-bar button, .ts-add, .ts-del, .ts-btn, .biz-head, .business-head, .ts-back { display: none !important; }
  .ts-edit input[type=time] { border: 0; padding: 0; }
  body, .app { background: #fff !important; }
  .card { border: 0; box-shadow: none; }
}
/* Labour cost vs sales */
.lab-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lab-over { color: #b8432b; }
.lab-barcol { width: 34%; min-width: 120px; }
.lab-bar { position: relative; display: block; height: 10px; background: var(--sand); border-radius: 999px; }
.lab-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: #72b0a5; }
.lab-bar i.is-over { background: var(--coral); }
.lab-bar b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--navy); border-radius: 2px; }
.lab-note { font-size: 13px; }
/* Swaps and availability */
.swap-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.swap-row > span { display: grid; gap: 2px; }
.swap-btn { padding: 6px 14px; font-size: 13.5px; }
.swap-btns { display: flex; gap: 6px; }
.swap-offer summary { list-style: none; cursor: pointer; }
.swap-offer summary::-webkit-details-marker { display: none; }
.swap-offer[open] summary { display: none; }
.swap-offer__form { display: flex; gap: 6px; flex-wrap: wrap; }
.swap-offer__form input { font: inherit; font-size: 14px; padding: 6px 10px; border: 1px solid var(--divider); border-radius: 10px; min-width: 200px; }
.swap-note { font-size: 13px; }
.avail-form { display: grid; gap: 8px; margin-top: 8px; }
.avail-row { display: grid; grid-template-columns: 110px auto 1fr; align-items: center; gap: 10px; padding: 8px 10px; background: var(--sand); border-radius: 12px; }
.avail-row select, .avail-row input { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--divider); border-radius: 10px; background: #fff; }
.avail-form .pill { width: fit-content; margin-top: 6px; }
@media (max-width: 560px) { .avail-row { grid-template-columns: 1fr; } }
/* Schedule: availability */
.sched td.is-unavail { background: repeating-linear-gradient(135deg, rgba(34, 61, 73, .06) 0 6px, transparent 6px 12px); }
.sched .avail-note { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
.sched .is-conflict .shift, .shift.is-conflict { box-shadow: inset 0 0 0 2px var(--coral); }
.sched .busy-note { display: block; font-size: 11px; color: #8a4513; line-height: 1.3; }
.sched-conflicts { margin: 6px 0; font-size: 13.5px; color: #9c2f1a; background: #fbe7e2; border-radius: 10px; padding: 8px 12px; }
.lg--unavail { background: repeating-linear-gradient(135deg, rgba(34, 61, 73, .25) 0 3px, transparent 3px 6px); }
/* Home: compact steps, smaller phone */
.steps--compact .step { padding: 8px 0; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; }
.steps--compact .step__body { display: block; }
.steps--compact .step__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.how__phone .phone { width: min(200px, 100%); }
.demo-scan__logo { position: absolute; top: 20px; left: 0; right: 0; margin: 0; text-align: center; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.demo-scan__logo span { color: var(--coral); }
.section-lead b { color: var(--navy); }
.section-lead--full { max-width: none; }
@media (max-width: 640px) { .steps--compact .step__title { white-space: normal; } }
/* Login with demo accounts */
.login-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; max-width: 960px; margin: 0 auto; width: 100%; }
.demo-login__list { display: grid; gap: 8px; margin-top: 8px; }
.demo-login__btn { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; text-align: left; font: inherit; color: inherit; background: var(--sand); border: 1px solid transparent; border-radius: 16px; padding: 12px 12px 12px 14px; cursor: pointer; }
.demo-login__btn:hover { border-color: var(--teal); background: #fff; }
.demo-login__btn small { display: block; color: var(--muted); font-size: 13px; }
.demo-login__emoji { font-size: 24px; }
@media (max-width: 760px) { .login-wrap { grid-template-columns: minmax(0, 1fr); } }
.demo-banner { background: #fdf0c2; color: #5c4400; font-size: 14px; text-align: center; padding: 8px 16px; margin: -18px 0 18px; }
.demo-banner a { color: inherit; text-decoration: underline; }

/* Public beta: the banner, /beta and /start */
.beta-banner { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fdf0c2; color: #5c4400; font-size: 14px; padding: 7px 12px 7px 16px; margin: -18px 0 18px; }
.beta-banner a { color: inherit; text-decoration: underline; font-weight: 600; }
.beta-banner__tag { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #f5c542; color: #3d2d00; border-radius: 999px; padding: 2px 9px; }
.beta-banner__x { flex: none; border: 0; background: rgba(92, 68, 0, .1); color: inherit; width: 26px; height: 26px; border-radius: 999px; font-size: 17px; line-height: 1; cursor: pointer; }
.beta-banner__x:hover { background: rgba(92, 68, 0, .2); }
.beta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.beta-card { padding: 24px; }
.beta-card p { margin: 0; }
.beta-card__emoji { font-size: 30px; display: block; margin-bottom: 10px; }
.beta-card__title { font-size: 20px; margin: 0 0 8px; }
.beta-steps { margin: 18px 0; padding-left: 22px; display: grid; gap: 10px; font-size: 17px; max-width: 720px; }
.start-features { border: 0; padding: 0; margin: 8px 0 4px; display: grid; gap: 8px; }
.start-features legend { font-weight: 700; padding: 0; margin-bottom: 2px; }
.start-features > p { margin: 0 0 6px; font-size: 14px; }
.start-feature { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--divider); border-radius: 16px; cursor: pointer; }
.start-feature:has(input:checked) { border-color: var(--navy); background: var(--sand); }
.start-feature input { width: 20px; height: 20px; flex: none; accent-color: var(--navy); }
.start-feature__emoji { font-size: 22px; flex: none; }
.start-feature__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.start-feature__text small, .start-feature__price small { color: var(--muted); font-size: 13px; }
.start-feature__price { flex: none; text-align: right; display: flex; flex-direction: column; }
.start-feature__price s { color: var(--muted); font-weight: 400; }
.welcome { padding: 24px; margin-bottom: 18px; border: 2px solid #f5c542; }
.welcome .section-title { margin: 4px 0 8px; }
.welcome__steps { padding-left: 22px; display: grid; gap: 6px; }
@media (max-width: 560px) {
  .beta-banner { justify-content: flex-start; font-size: 13px; }
  .start-feature { flex-wrap: wrap; }
  .start-feature__price { flex-direction: row; gap: 6px; align-items: baseline; width: 100%; padding-left: 32px; text-align: left; }
}
.kind-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kind-pick legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 6px; }
.kind-pick__opt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--divider); border-radius: 999px; cursor: pointer; font-size: 15px; }
.kind-pick__opt:has(input:checked) { border-color: var(--navy); background: var(--sand); font-weight: 600; }
.kind-pick__opt input { accent-color: var(--navy); margin: 0; }
.idea__kind { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; background: var(--sand); color: var(--navy); vertical-align: 2px; }
.idea__kind--bug { background: #fbe0da; color: #8a2a17; }
.idea__kind--improvement { background: #dff0ea; color: #1d5a48; }
.beta-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.beta-col { padding: 28px; }
.beta-col .section-title { margin: 6px 0 4px; }
.beta-col .beta-steps { font-size: 16px; }
.beta-founding { background: #fdf0c2; color: #5c4400; border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; font-size: 15px; }
@media (max-width: 820px) { .beta-two { grid-template-columns: 1fr; } }
.start-feature--all { background: var(--sand); border-style: dashed; }
.start-feature--all input { margin-left: 0; }
.start-feature--info { cursor: default; border-style: dashed; }
.idea__url { word-break: break-all; }
.feedback-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--divider); font-size: 18px; text-decoration: none; flex: none; }
.feedback-btn:hover { box-shadow: 0 0 0 1.5px var(--navy); }
/* Counter screen at night */
.kiosk-sleep { position: fixed; inset: 0; z-index: 50; background: #000; color: rgba(255, 255, 255, .38); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; cursor: none; }
.kiosk-sleep p { margin: 0; }
.kiosk-sleep__clock { font-size: clamp(56px, 12vw, 140px); font-weight: 700; letter-spacing: -.02em; color: rgba(255, 255, 255, .32); font-variant-numeric: tabular-nums; }
.kiosk-sleep__name { font-size: 22px; font-weight: 600; }
.kiosk-sleep__opens { font-size: 18px; }
.kiosk-sleep--dim { animation: sleep-drift 240s ease-in-out infinite alternate; }
@keyframes sleep-drift { from { padding-top: 0; } to { padding-top: 8vh; } } /* moves slowly: no burn-in */
/* Admin: releases */
.releases-head { margin-bottom: 18px; }
.releases { display: flex; flex-direction: column; gap: 14px; }
.release { padding: 22px 24px; }
.release--current { box-shadow: 0 0 0 2px var(--teal); }
.release__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.release__title { font-size: 22px; margin: 0; }
.release__date { margin: 4px 0 0; font-size: 14px; }
.release__version { flex: none; position: relative; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 15px; letter-spacing: .02em; color: var(--navy); background: var(--sand); border-radius: 999px; padding: 8px 14px; font-variant-numeric: tabular-nums; }
.release__version:hover { background: var(--butter); }
.release__version.is-copied { background: #dff0ea; }
.release__copied { position: absolute; right: 0; top: calc(100% + 4px); font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--muted); }
.release__body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 14px; }
.release__list { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.release__summary { margin: 0; color: var(--muted); }
.releases-pages { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
@media (max-width: 720px) { .release__body { grid-template-columns: 1fr; } }

/* Side menu (laptop and desktop, people at work): the menu down the left,
   always open; the top bar keeps the place picker and the account. */
.sidenav { display: none; }
@media (min-width: 1100px) {
  body:not(.kiosk):has(> .sidenav) { padding-left: 248px; }
  body:not(.kiosk):has(> .sidenav) > .topbar { margin-left: -248px; }
  body:not(.kiosk):has(> .sidenav) .pagemenu { display: none; }
  body:not(.kiosk) > .sidenav {
    display: block; position: fixed; z-index: 20; left: 0; top: 0; bottom: 0; width: 248px;
    padding: 92px 12px 24px; overflow-y: auto; overscroll-behavior: contain;
    background: #f3f1ec; border-right: 1px solid var(--divider);
  }
  body:not(.kiosk):has(> .sidenav) .nav-cta { margin-left: auto; }
}
.sidenav__group { margin-bottom: 6px; }
.sidenav__title { margin: 14px 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidenav__rule { border: 0; border-top: 1px solid var(--divider); margin: 8px 10px; }
.sidenav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; }
.sidenav a:hover { background: rgba(255, 255, 255, .7); }
.sidenav a[aria-current="page"] { background: #fff; box-shadow: 0 0 0 1px var(--divider); }
.sidenav a .nav-ico { flex: none; opacity: .8; }
.sidenav__fold summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; }
.sidenav__fold summary::-webkit-details-marker { display: none; }
.sidenav__fold summary::after { content: "▸"; font-size: 10px; }
.sidenav__fold[open] summary::after { content: "▾"; }

/* Bottom bar (phones and tablets, people with an account) */
.appbar { display: none; }
@media (max-width: 1099px) {
  body:not(.kiosk) > .appbar {
    display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    /* The home indicator's space doubles as the bottom padding. */
    padding: 2px 6px var(--appbar-pb); background: #fff; border-top: 1px solid var(--divider);
    box-shadow: 0 -6px 20px rgba(34, 61, 73, .06);
  }
  /* The bar is --appbar-h plus its bottom padding: the page ends exactly above it. */
  body:not(.kiosk):has(> .appbar) { padding-bottom: calc(var(--appbar-h) + var(--appbar-pb)); }
  body:not(.kiosk):has(> .appbar) .pagemenu { display: none; }
  body:not(.kiosk):has(> .appbar) .nav-cta { margin-left: auto; }
  body:has(> .appbar) .tabbar-wrap { bottom: calc(var(--appbar-h) + var(--appbar-pb)); }
  .appbar > * { flex: 1; min-width: 0; }
  .appbar__tab { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 3px 2px; border-radius: 12px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-decoration: none; list-style: none; cursor: pointer; text-align: center; }
  .appbar__tab::-webkit-details-marker { display: none; }
  .appbar__tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .appbar__tab .nav-ico { width: 21px; height: 21px; }
  .appbar__tab[aria-current="page"], .appbar__tab.is-current, .appbar__group[open] > .appbar__tab { color: var(--teal-deep); }
  .appbar__group[open] > .appbar__tab { background: var(--sand); }
  .appbar__sheet {
    position: fixed; left: 0; right: 0; bottom: calc(var(--appbar-h) + var(--appbar-pb));
    max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-radius: 22px 22px 0 0; padding: 14px 14px 18px;
    box-shadow: 0 -14px 40px rgba(34, 61, 73, .18); animation: sheet-up .16s ease-out;
  }
  @keyframes sheet-up { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
  .appbar__title { margin: 6px 6px 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .appbar__rule { border: 0; border-top: 1px solid var(--divider); margin: 12px 6px; }
  .appbar__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .appbar__grid a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: 16px; background: var(--sand); font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.25; }
  .appbar__grid a[aria-current="page"] { background: var(--navy); color: #fff; }
  html.appbar-open body::after { content: ""; position: fixed; inset: 0; z-index: 35; background: rgba(34, 61, 73, .25); }
}

/* Visitors: qlr.me's links in the top bar (laptop and wider) */
.publinks { display: none; }
@media (min-width: 1024px) {
  .publinks { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
  .pagemenu--visitor { display: none; }
  .topbar:has(> .publinks) .nav-cta { margin-left: auto; }
}
.publinks > a, .publinks summary { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: none; cursor: pointer; }
.publinks > a:hover, .publinks summary:hover, .publinks details[open] summary { background: rgba(255, 255, 255, .8); text-decoration: none; }
.publinks summary { list-style: none; display: flex; align-items: center; gap: 5px; }
.publinks summary::-webkit-details-marker { display: none; }
.publinks__features { position: relative; }
.publinks__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 250px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(34, 61, 73, .16); }
.publinks__panel a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: none; }
.publinks__panel a:hover { background: var(--sand); }
.nav-start { padding: 8px 18px; font-size: 14px; }
@media (max-width: 640px) { .nav-start { display: none; } }

/* Account menu */
.acct { position: relative; }
.acct > summary { list-style: none; cursor: pointer; }
.acct > summary::-webkit-details-marker { display: none; }
.acct[open] > summary { border-color: rgba(34, 61, 73, .35); }
.acct__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 45; width: 250px; padding: 8px; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(34, 61, 73, .18); }
.acct__who { margin: 6px 12px 6px; font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct__title { margin: 4px 12px 2px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.acct__panel hr { border: 0; border-top: 1px solid var(--divider); margin: 6px 8px; }
.acct__panel a, .acct__panel button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 8px 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: none; cursor: pointer; text-align: left; }
.acct__panel a:hover, .acct__panel button:hover { background: var(--sand); text-decoration: none; }
.acct__panel form { margin: 0; }
@media (max-width: 640px) { .identity__name { display: none; } .acct > summary.identity { padding: 4px; } }
.news-admin__actions { display: flex; align-items: center; gap: 14px; margin: -4px 0 18px; }
.news-admin__actions form { margin: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
/* The news bell */
.bell { position: relative; }
.bell > summary { list-style: none; cursor: pointer; position: relative; color: var(--navy); }
.bell > summary::-webkit-details-marker { display: none; }
.bell__count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #f3f1ec; }
.bell__panel { position: absolute; right: -50px; top: calc(100% + 8px); z-index: 45; width: min(340px, calc(100vw - 24px)); padding: 10px; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(34, 61, 73, .18); }
.bell__head { margin: 4px 8px 8px; font-size: 15px; }
.bell__item { display: block; padding: 9px 10px; border-radius: 12px; color: var(--navy); text-decoration: none; }
.bell__item:hover { background: var(--sand); text-decoration: none; }
.bell__item.is-new { background: #fdf6e3; }
.bell__title { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.bell__meta { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.bell__imp, .news-imp { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #fbe0da; color: #8a2a17; border-radius: 999px; padding: 2px 7px; vertical-align: 1px; }
.bell__all { display: block; margin: 6px 4px 2px; padding: 8px 10px; font-weight: 700; font-size: 14px; color: var(--teal-deep); }
.bell__loading, .bell__empty { margin: 8px; }
.news-admin__meta { font-size: 13.5px; }
/* Phones: no bell in the top bar; the account bubble carries the number
   and the account menu has News near the top. */
.acct > summary.identity { position: relative; }
.acct__count { display: none; position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #f3f1ec; }
.acct__badge { margin-left: auto; font-size: 11.5px; font-weight: 800; background: var(--coral); color: #fff; border-radius: 999px; padding: 2px 8px; }
@media (max-width: 640px) {
  .bell { display: none; }
  .acct__count { display: block; }
}
/* Admin: growth */
.growth-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.growth-ranges { display: flex; gap: 6px; }
.growth-ranges .pill { padding: 6px 14px; font-size: 13.5px; }
.growth tr.is-current td { background: var(--sand); }
.growth__visits { position: relative; min-width: 160px; }
.growth__bar { position: absolute; left: 0; top: 7px; bottom: 7px; background: rgba(37, 146, 132, .22); border-radius: 6px; }
.growth__n { position: relative; padding-left: 8px; font-variant-numeric: tabular-nums; font-weight: 600; }
.team-code { margin: 12px 0; padding: 16px 18px; border-radius: 18px; background: var(--sand); border: 2px dashed rgba(34, 61, 73, .25); }
.team-code__label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.team-code__value { margin: 4px 0 6px; font-size: 34px; font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.limit-form select { padding: 4px 8px; border-radius: 8px; border: 1px solid var(--divider); background: #fff; font: inherit; font-size: 13.5px; }
.confirm-box { margin: 12px 0 16px; padding: 14px 16px; border-radius: 16px; background: #fdf0c2; color: #5c4400; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.confirm-box p { margin: 0; flex: 1 1 260px; }
.confirm-box form { margin: 0; }
.delete-account > summary { cursor: pointer; color: #b8432b; font-weight: 600; font-size: 14.5px; }
.delete-account[open] > summary { margin-bottom: 8px; }
.nav-demo { padding: 8px 18px; font-size: 14px; }
.pill.nav-demo { background: var(--coral); color: #fff; border-color: var(--coral); }
.pill.nav-demo:hover { background: #cf5235; border-color: #cf5235; text-decoration: none; }
@media (max-width: 899px) { .nav-demo { display: none; } } /* on phones it's in the menu */
.offers { border: 2px solid #f5c542; }
.offer { flex-wrap: wrap; gap: 10px; }
.offer__btns { display: flex; gap: 8px; }
.offer__btns form { margin: 0; }
/* Admin: review */
.review-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--divider); margin-bottom: 12px; }
.review-tab { padding: 10px 14px; font-weight: 700; font-size: 14.5px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.review-tab span { font-weight: 600; font-size: 12.5px; background: var(--sand); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.review-tab.is-on { color: var(--navy); border-bottom-color: var(--navy); }
.review-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.review-filters .pill { padding: 7px 14px; font-size: 13.5px; }
.review-list { display: flex; flex-direction: column; gap: 10px; }
.review-item { padding: 18px 20px; }
.review-item--deactivated { opacity: .7; }
.review-item__top { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.review-item__kind { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.review-item__name { margin: 4px 0 2px; font-size: 19px; }
.review-item__detail { margin: 0; font-size: 13.5px; }
.review-item__actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.review-item__actions form { margin: 0; }
.review-item__actions .pill { padding: 6px 12px; font-size: 13px; }
.review-status { text-transform: capitalize; }
.review-status--suspicious { color: #9c5a00; }
.review-status--deactivated { color: #b8432b; }
.review-status--approved { color: var(--teal-deep); }
.verified-badge { color: var(--teal-deep); font-weight: 800; }
.review-reports { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #fbe7e2; color: #8a2a17; font-size: 14px; }
.review-reports ul { margin: 4px 0 0; padding-left: 18px; }
.review-verify { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #dff0ea; font-size: 14px; }
.review-verify p { margin: 0 0 8px; }
.review-verify code { font-size: 15px; font-weight: 700; }
.report-link { margin: 18px 0 0; text-align: center; font-size: 13px; }
.report-link a { color: var(--muted); }
.report-reasons { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.report-reasons legend { font-weight: 700; margin-bottom: 6px; }
.place-bar__name .verified-badge, .verified-badge--chip { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #dff0ea; vertical-align: middle; }
.verify-code { font: 700 22px/1.2 ui-monospace, monospace; letter-spacing: .06em; background: var(--sand); padding: 10px 14px; border-radius: 12px; display: inline-block; user-select: all; }
.demo-team-login > summary { cursor: pointer; font-size: 14px; }
.demo-team-login[open] > summary { margin-bottom: 12px; }
.acct__who small { font-weight: 500; color: var(--muted); }
.env-badge--demo { background: var(--teal); color: #fff; }
.acct__panel { max-height: calc(100vh - 90px); overflow-y: auto; }
.acct__sub > summary { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.acct__sub > summary::-webkit-details-marker { display: none; }
.acct__sub > summary:hover { background: var(--sand); }
.acct__chev { margin-left: auto; transition: transform .15s; }
.acct__sub[open] .acct__chev { transform: rotate(180deg); }
.acct__sub > a { padding-left: 26px; font-size: 14px; }

/* Stacked blocks in a page always have room between them (cards, tiles,
   grids); dash cards already carry their own bottom margin. */
.app > :is(.card:not(.dash-card), .tiles, .dash-grid, .stats) + :is(.card, .tiles, .dash-grid, .stats) { margin-top: 16px; }
/* Dropdowns look and size like the text fields next to them (Safari draws
   its own small grey box otherwise). */
.field select {
  -webkit-appearance: none; appearance: none; min-height: 50px; line-height: 1.5;
  padding-right: 40px; background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23223d49' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.field input:not([type=checkbox]):not([type=radio]):not([type=file]) { min-height: 50px; line-height: 1.5; }
.field input[type=date], .field input[type=time] { -webkit-appearance: none; appearance: none; }
/* A pill without its round arrow: even padding, the same height as one with. */
main .pill:not(:has(.pill__arrow)):not(.pill--sm):not(.link-button) { padding: 14px 24px; }
.app > .sched-bar + :is(.card, .tiles, .dash-grid, .stats, section) { margin-top: 12px; }
.simulate { display: grid; gap: 10px; }
.simulate .demo-login__btn { width: 100%; }
.form-row--center { align-items: center; }
.legal { gap: 10px; line-height: 1.6; }
.legal h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 18px 0 2px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal__short { background: var(--sand); border-radius: 14px; padding: 12px 16px; }
/* The demo's header: act as one of the sample people. */
.publinks--actas { gap: 2px; }
.publinks__lead { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.publinks--actas form { margin: 0; }
.publinks--actas button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--navy); cursor: pointer; }
.publinks--actas button:hover { background: rgba(255, 255, 255, .8); }
.acct__panel form { margin: 0; }
.acct__emoji { width: 18px; text-align: center; font-size: 15px; }
.demo-team-login { padding: 14px 22px !important; }
/* The demo's notice, left of the account or Log in button. */
.demo-note { position: relative; }
.demo-note > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; background: #dff0ea; color: var(--teal-deep); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.demo-note > summary::-webkit-details-marker { display: none; }
.demo-note__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 45; width: 300px; padding: 14px 16px; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(34, 61, 73, .18); font-size: 14px; line-height: 1.5; color: var(--navy); }
.demo-note__panel ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
@media (max-width: 600px) { .demo-note__label { display: none; } }
/* The demo's note: resets nightly, content isn't ours, no email. The
   full box on wide screens; the "Demo: resets every night" pill below. */
.demo-info { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--navy); background: #e3f1ee; border: 1px solid rgba(37, 146, 132, .25); border-radius: 12px; padding: 7px 11px; }
.demo-info--nav { max-width: 470px; font-size: 12px; padding: 6px 10px; }
.demo-info--page { font-size: 14px; padding: 10px 14px; }
@media (max-width: 1379px) { .demo-info--nav { display: none; } }
@media (min-width: 1380px) { .nav-cta > .demo-note { display: none; } }
.publinks__lead { white-space: nowrap; }
/* Phone menu: "Features" folds its pages; "Try the demo" in the logo's orange. */
.pagemenu__fold > summary { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.pagemenu__fold > summary::-webkit-details-marker { display: none; }
.pagemenu__fold > summary:hover { background: var(--sand); }
.pagemenu__fold[open] .acct__chev { transform: rotate(180deg); }
.pagemenu__fold > a { padding-left: 26px; font-size: 14px; }
.pagemenu__group a.pagemenu__accent { background: var(--coral); color: #fff; margin-top: 6px; }
.pagemenu__group a.pagemenu__accent:hover { background: #cf5235; }
/* Toast: a short confirmation after a redirect, gone by itself. */
.toast { position: fixed; z-index: 60; left: 50%; top: 18px; transform: translateX(-50%); max-width: calc(100vw - 32px);
  background: var(--teal-deep, #1d7468); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(34, 61, 73, .25); animation: toast-in .25s ease-out; transition: opacity .5s, transform .5s; }
.toast--out { opacity: 0; transform: translate(-50%, -10px); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -10px); } }
.qa__item { border-top: 1px solid var(--divider); padding: 12px 0; }
.qa__item summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after { content: "+"; font-weight: 400; color: var(--muted); }
.qa__item[open] summary::after { content: "−"; }
.qa__item p { margin: 8px 0 0; }

/* Bottom bar padding: half the phone's gesture area (iPhone home bar,
   Android gesture line) is enough to keep the tabs clear of it. */
:root { --appbar-pb: max(4px, calc(env(safe-area-inset-bottom) * .25)); }
.nowrap { white-space: nowrap; }
/* Guest's loyalty card (after a check-in) and the ordering fold below it. */
.loyalty-card { margin-top: 20px; display: grid; gap: 12px; }
.loyalty-card__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.loyalty-card__stats > div { background: var(--sand); border-radius: 14px; padding: 12px 14px; }
.loyalty-card__label { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.loyalty-card__value { margin: 2px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.loyalty-card__value--text { font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.order-fold { margin-top: 22px; }
.order-fold > summary { list-style: none; cursor: pointer; width: 100%; justify-content: space-between; }
.order-fold > summary::-webkit-details-marker { display: none; }
.order-fold[open] > summary .pill__arrow { transform: rotate(180deg); }
.order-fold__body { margin-top: 18px; }

/* Checked in: a screen of its own. No card frame; the place's bar runs
   the full width and stays under the header while scrolling. */
.session > .session__main { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 0; }
.place-bar--session {
  grid-column: 1 / -1; position: sticky; top: var(--topbar-h, 64px); z-index: 20;
  margin: -18px calc(-1 * clamp(14px, 3vw, 32px)) 0; border-radius: 0;
  padding: 12px clamp(14px, 3vw, 32px);
}
.session { row-gap: 8px; }
.earn-rule { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--sand); font-size: 14px; font-weight: 600; }
.place-bar__pts { flex: none; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 13px; font-weight: 600; white-space: nowrap; }
.place-bar__pts b { font-size: 15px; font-weight: 800; }
/* How it works */
.how-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.how-index a { display: inline-flex; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--divider); color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; }
.how { gap: 16px; scroll-margin-top: calc(var(--topbar-h, 70px) + 12px); }
.how__head { display: grid; gap: 4px; }
.how__title { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.how__steps { list-style: none; counter-reset: how; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.how__steps li { counter-increment: how; background: var(--sand); border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; align-content: start; font-size: 14.5px; line-height: 1.5; }
.how__steps li::before { content: counter(how); font-weight: 800; font-size: 13px; color: var(--coral); }
.how__who { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep, #1d7468); }
.how__more { margin-top: 2px; }
/* How it works: pick a story */
.story-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.story-pick__card { gap: 6px; text-decoration: none; color: var(--navy); }
.story-pick__card:hover { text-decoration: none; box-shadow: 0 0 0 2px var(--teal); }
.story-pick__card b { font-size: 20px; letter-spacing: -.01em; line-height: 1.25; }
.story-pick__emoji { font-size: 30px; }
.story-pick__go { margin-top: 6px; font-weight: 700; color: var(--teal-deep, #1d7468); }
.how-detail-title { margin: 36px 0 0; font-size: 22px; text-align: center; }
/* A story: the place on the left, the guest on the right, one row per step */
.story { position: relative; display: grid; gap: 10px; }
.story__heads { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.story__heads span:last-child { text-align: right; }
.story__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.story__steps::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--divider); transform: translateX(-1px); }
.story__step { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; position: relative; }
.story__step > .story__card { grid-column: 1; }
.story__step--guest > .story__card { grid-column: 2; }
.story__card { background: var(--surface); border-radius: 22px; padding: 16px; display: grid; gap: 10px; align-content: start; }
.story__step--guest .story__card { background: #e9f4f0; }
.story__who { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.story__img { width: 100%; border-radius: 14px; display: block; background: var(--sand); }
.story__img--todo { aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--muted); font-size: 13px; border: 1px dashed var(--divider); }
.story__title { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; display: flex; gap: 10px; align-items: baseline; }
.story__num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; }
.story__step--guest .story__num { background: var(--teal); }
.story__text { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 760px) {
  .story__heads, .story__steps::before { display: none; }
  .story__step { grid-template-columns: 1fr; gap: 0; }
  .story__step > .story__card, .story__step--guest > .story__card { grid-column: 1; }
  .story__step--guest > .story__card { margin-left: 24px; }
  .story__step:not(.story__step--guest) > .story__card { margin-right: 24px; }
}
/* Phone pictures stay phone-sized; wide ones fill the card. */
.story__img:not(.story__img--todo) { width: auto; max-width: 100%; max-height: 460px; margin: 0 auto; object-fit: contain; }

/* With a place picker, the picker takes the free space (margin-left: auto)
   and sits right next to the buttons, not in the middle of the bar. */
body:not(.kiosk) .topbar:has(> .picker) > .nav-cta { margin-left: 12px; }
.plain-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: inherit; }
.plain-fieldset:disabled input { opacity: .75; cursor: not-allowed; }

/* A menu group's title with its settings gear on the right. */
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.group-head > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-gear { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: -6px -4px -6px 0; border-radius: 999px; color: var(--muted); flex: none; text-transform: none; letter-spacing: 0; }
.group-gear:hover { background: var(--sand); color: var(--navy); text-decoration: none; }
.group-gear[aria-current="page"] { background: var(--teal); color: #fff; }

/* How it works, as a guest's journey: a numbered line down the middle of
   the text, pictures alternating sides; one column on phones. */
.journey { margin: 8px 0 28px; }
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.journey__step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.journey__step:nth-child(even) .journey__media { order: -1; }
.journey__body { position: relative; padding-left: 64px; }
.journey__body::before { content: ""; position: absolute; left: 21px; top: 48px; bottom: -40px; border-left: 2px dashed var(--divider); }
.journey__step:last-child .journey__body::before { display: none; }
.journey__num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.journey__title { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; margin: 6px 0 8px; }
.journey__text { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.journey__place { margin: 12px 0 0; padding: 10px 12px; background: var(--sand); border-radius: 12px; font-size: 14px; line-height: 1.45; }
.journey__place-tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); margin-right: 4px; }
.journey__media img, .journey__todo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 18px; box-shadow: 0 10px 30px rgba(34, 61, 73, .12); background: #fff; }
.journey__todo { display: flex; align-items: center; justify-content: center; background: var(--sand); color: var(--muted); font-weight: 700; box-shadow: none; border: 2px dashed var(--divider); }
.journey-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 8px 0 18px; padding: 22px 8px; background: var(--surface); border-radius: 22px; }
.journey-perk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 4px 14px; color: var(--navy); }
.journey-perk + .journey-perk { border-left: 1px solid var(--divider); }
.journey-perk .nav-ico { width: 26px; height: 26px; color: var(--teal-deep); }
.journey-perk small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.journey-setup { margin: 0 0 18px; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .journey__step { grid-template-columns: 1fr; gap: 14px; }
  .journey__step:nth-child(even) .journey__media { order: 0; }
  .journey__body::before { display: none; }
  .journey__body { padding-left: 56px; }
  .journey-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .journey-perk:nth-child(3) { border-left: 0; }
}

/* A story's hero with its illustration: text left, picture right. */
.journey-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; margin: 12px 0 40px; }
.journey-hero h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; margin: 12px 0 14px; }
.journey-hero .hero__lead { margin: 0; text-align: left; max-width: 34em; }
.journey-hero .hero__eyebrow { display: inline-flex; }
.journey-hero__img { width: 100%; height: auto; display: block; } /* transparent edges: it fades into the page */
@media (max-width: 760px) {
  .journey-hero { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
}

/* Home "How it works": the illustration, its edges fading into the page. */
.how__art { display: flex; align-items: center; justify-content: center; min-width: 0; }
.how__art img { display: block; width: 100%; max-width: 640px; height: auto; }
/* Home "How it works": illustration, text and steps on the left half; the
   animated scan on the right half. Phones: one column, scan after. */
.split--steps-flip:has(> .how__left) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.how__left .how__art { margin-bottom: 18px; }
.how__left .how__art { justify-content: flex-start; }
.how__left .how__art img { max-width: 420px; }
.split--steps-flip:has(> .how__left) .how__phone .phone { width: min(300px, 100%); }
@media (max-width: 899px) { .split--steps-flip:has(> .how__left) { grid-template-columns: 1fr; gap: 28px; } }

/* The story chooser: each story's illustration above its card's text. */
.story-pick__img { display: block; width: 100%; height: auto; margin: -6px 0 6px; }

/* Home hero: text on the left, the animated scan on the right. */
@media (min-width: 900px) {
  .hero--split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; text-align: left; padding-left: max(var(--gutter), calc((100% - 1240px) / 2)); padding-right: max(var(--gutter), calc((100% - 1240px) / 2)); }
  .hero--split .hero__text { display: flex; flex-direction: column; align-items: flex-start; }
  .hero--split h1 { font-size: clamp(48px, 6vw, 92px); }
  .hero--split .hero__ctas { justify-content: flex-start; }
}
.hero__scan { display: flex; justify-content: center; }
.hero__scan .phone { width: min(280px, 100%); }
@media (max-width: 899px) { .hero__scan { margin-top: 32px; } .hero__scan .phone { width: min(230px, 70vw); } }

/* Home "How it works": the four steps as boxes in a row, then the stories. */
.step-row { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step-box { display: flex; flex-direction: column; gap: 8px; padding: 22px; margin: 0; }
.step-box__n { font-size: 26px; font-weight: 800; color: var(--coral); letter-spacing: -.02em; }
.step-box b { font-size: 19px; line-height: 1.25; color: var(--navy); }
.step-box small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.home-stories__title { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 36px 0 14px; }
@media (max-width: 899px) { .step-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .step-row { grid-template-columns: 1fr; } }
.section:has(> .step-row) > .section-aside { max-width: none; padding-top: 6px; }
#look > span:empty, #verify > span:empty { position: absolute; } /* landing anchors after a save */
.sidenav a.group-gear[aria-current="page"], .pagemenu a.group-gear[aria-current="page"], .appbar a.group-gear[aria-current="page"] { background: var(--teal); color: #fff; box-shadow: none; }

:root { --appbar-h: 49px; } /* the bottom bar without its bottom padding */
/* File fields shrink to the screen: a long "no file selected" (French,
   say) must not push the page sideways. */
.field input[type="file"] { width: 100%; min-width: 0; }
.form-row > .field { min-width: 0; max-width: 100%; flex: 1 1 220px; }
/* The env badge hangs under the logo: lift the pair so it lines up with
   the buttons beside it. */
.topbar .brand-mark:has(.env-badge) { transform: translateY(-4px); }
.form-row:has(> .field) { align-items: flex-end; } /* a button beside a field keeps its own height */
.field input[type="file"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Firefox keeps its long label otherwise */
.kiosk-awake { font-size: 13px; margin: 0; }

/* The guest's waiting page: the place's colour as a banner, then the rest
   full width (no card). */
.wait-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 18px; background: var(--brand, var(--teal)); color: #fff; margin-bottom: 8px; }
.wait-banner b { font-size: 18px; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wait-banner .live { background: rgba(255, 255, 255, .22); color: #fff; flex: none; }
.waitbody .wait-card { border: 0; padding-left: 0; padding-right: 0; display: flex; flex-direction: column; }
.wait-size__more { font-size: 12.5px; margin: 0; }
.wait-name { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; width: 100%; }
.wait-name__row { display: flex; gap: 8px; justify-content: center; width: 100%; max-width: 340px; }
.wait-name__row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--divider); background: #fff; font: inherit; font-size: 16px; color: var(--navy); }
.wait-name__msg { font-size: 13px; margin: 0; }
.wait-leave { text-align: center; margin: 18px 0 0; }
.report-link a { text-decoration: underline; }
.waitbody[data-status="called"] .wait-banner { background: rgba(255, 255, 255, .18); }
.waitbody[data-status="called"] .wait-name__row input { background: rgba(255, 255, 255, .95); }
/* The guest's number, back to their place in line from any page. */
.wait-chip { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; padding: 6px 12px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; flex: none; }
.wait-chip:hover { color: #fff; text-decoration: none; background: var(--teal-deep); }
.wait-chip i { width: 8px; height: 8px; border-radius: 50%; background: #9ef0d9; box-shadow: 0 0 0 3px rgba(158, 240, 217, .3); }
.waitbody[data-status="called"] .wait-chip { background: rgba(255, 255, 255, .2); }
.topbar:has(.wait-chip) .pagemenu__now { display: none; } /* room for the guest's number */

/* Guest screen (check-in and waiting list): the title across the top with
   the logo, then the code on a third and the place on two thirds. */
.kiosk-grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: clamp(28px, 4vw, 64px); row-gap: clamp(16px, 2.4vw, 32px); align-items: center; }
.kiosk-head { grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.kiosk-head .kiosk-sub { margin: 6px 0 0; }
.kiosk-head__logo { width: clamp(56px, 6vw, 92px); height: clamp(56px, 6vw, 92px); border-radius: 20px; }
.kiosk-grid--split .kiosk-act { align-items: stretch; }
.kiosk-grid--split .kiosk-qr { width: 100%; max-width: min(100%, 52vh); }
.kiosk-scan-here { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: clamp(16px, 1.6vw, 22px); font-weight: 700; color: #fff; max-width: min(100%, 52vh); }
.kiosk-scan-here::before, .kiosk-scan-here::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .45); }
.kiosk-scan-here svg { color: var(--yellow); flex: none; }
.kiosk-count { display: inline-flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); padding: 12px 22px 12px 18px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.kiosk-count__icon { width: clamp(36px, 3.6vw, 52px); height: clamp(36px, 3.6vw, 52px); color: var(--yellow); flex: none; }
.kiosk-count b { font-size: clamp(44px, 5vw, 76px); line-height: 1; font-weight: 800; color: var(--yellow); letter-spacing: -.03em; }
.kiosk-count span { font-size: clamp(18px, 1.9vw, 26px); font-weight: 600; display: flex; flex-direction: column; }
.kiosk-count small { font-size: clamp(13px, 1.2vw, 16px); font-weight: 500; color: rgba(255, 255, 255, .8); }
@media (max-width: 760px) { .kiosk-grid--split { grid-template-columns: 1fr; } }

.wait-chip { background: var(--brand, var(--teal)); }
.wait-chip:hover { background: var(--brand, var(--teal-deep)); filter: brightness(.92); }
.wait-rule { width: 100%; border: 0; border-top: 1px solid var(--divider); margin: 18px 0 10px; }
.wait-title b { font-weight: 800; }
/* On the waiting page: a solid top bar, and the place's banner stuck right under it. */
.waitbody .topbar { background: var(--surface); }
.waitbody .wait-banner { position: sticky; top: calc(var(--topbar-h, 64px) + 8px); z-index: 25; box-shadow: 0 0 0 8px var(--surface), 0 14px 18px rgba(34, 61, 73, .1); } /* the page colour fills around it: nothing shows through */
.waitbody[data-status="called"] .topbar { background: var(--teal); }
.waitbody[data-status="called"] .wait-rule { border-top-color: rgba(255, 255, 255, .3); }
.waitbody[data-status="called"] .wait-banner { box-shadow: 0 0 0 8px var(--teal); }

/* The guest's "your turn" screen: the place's phone, and two flashes of
   the place's colour. */
.wait-phone { font-size: 16px; margin-top: 6px; }
.wait-phone a { color: inherit; font-weight: 800; text-decoration: underline; }
@keyframes wait-blink { 0%, 50%, 100% { background-color: var(--teal); } 25%, 75% { background-color: var(--blink); } }
html:has(.waitbody.is-blink), .waitbody.is-blink, .waitbody.is-blink .topbar { animation: wait-blink 2.4s ease-in-out 1; }
.waitbody[data-status="called"] .wait-rule { display: none; }
.waitbody[data-status="called"] .push-box, .waitbody[data-status="called"] .wait-awake { display: none !important; } /* the call has come: nothing to set up */
.waitbody[data-status="called"] .wait-title { line-height: 1.08; text-wrap: balance; }
.waitbody[data-status="called"] .site-foot, .waitbody[data-status="called"] .site-foot a { color: var(--navy); } /* the footer keeps its own colours on the green screen */
.waitbody[data-status="called"] .site-foot .muted, .waitbody[data-status="called"] .site-foot p { color: var(--muted); }

.wait-share { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 18px; }
.wait-share__msg { font-size: 13.5px; text-align: center; max-width: 34em; margin: 0; }

.wait-help__next { display: block; margin-top: 8px; }
.wait-help__next a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; }
.waitbody[data-status="seated"] .push-box, .waitbody[data-status="seated"] .wait-awake, .waitbody[data-status="seated"] .wait-rule { display: none !important; }
.waitbody[data-status="seated"] .wait-title { line-height: 1.12; text-wrap: balance; }
.waitbody[data-status="seated"] .wait-num { font-size: clamp(56px, 18vw, 110px); }
.wait-num__ok { font-size: .45em; vertical-align: .32em; margin-right: .15em; }

/* Waiting page: given party size and name fold into one line; qlr.me's
   short pitch and the account invitation. */
.wait-summary { font-size: 16px; font-weight: 600; margin: 4px 0 0; text-align: center; }
.wait-summary .link-button { color: var(--teal-deep); font-weight: 700; text-decoration: underline; }
.wait-promo { width: 100%; max-width: 460px; margin: 18px auto 0; padding: 16px 18px; border-radius: 18px; background: var(--sand); text-align: left; font-size: 14.5px; line-height: 1.5; color: var(--navy); }
.wait-promo p + p, .wait-promo p + a { margin-top: 8px; }
.wait-promo--account { background: #fdf3e3; border: 1px solid #f2dcb4; }
.wait-promo__title { font-weight: 800; font-size: 16.5px; margin-bottom: 4px; }
.wait-promo--account .pill { margin-top: 12px; }
.wait-about summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.wait-about summary::-webkit-details-marker { display: none; }
.wait-about summary::after { content: "+"; font-size: 20px; font-weight: 600; color: var(--muted); }
.wait-about[open] summary::after { content: "−"; }
.wait-about p { margin-top: 8px; }
.wait-about a { color: var(--teal-deep); font-weight: 700; }

/* "You're on the waiting list," then the parties ahead, bolder, on their own line. */
.waitbody[data-status="waiting"] .wait-title { line-height: 1.12; }
.waitbody[data-status="waiting"] .wait-title b { display: block; font-weight: 900; margin-top: 2px; }
.wait-promo__title a { color: var(--teal-deep); text-decoration: underline; }
.wait-awake:empty { display: none; }
.waitbody[data-status="waiting"] .wait-title { font-weight: 600; } /* the parties ahead (bold) stand out */
.journey-setup { margin-bottom: clamp(28px, 4vw, 48px); } /* under the perks, before the steps */

/* Guest screen, take 2: the same space above the title as between it and
   the code; the waiting count on the title's line, at the right; the
   place's name large under a small "Welcome @", with a line in its colour;
   the deal with its photo. */
.kiosk-grid--split { padding-top: clamp(36px, 7vh, 80px); row-gap: clamp(36px, 7vh, 80px); }
.kiosk-head .kiosk-wait { margin-left: auto; min-height: 0; }
.kiosk-welcome small { display: block; font-size: .42em; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .8); margin-bottom: 4px; }
.kiosk-grid--split .kiosk-welcome { font-size: clamp(38px, 4.8vw, 72px); }
.kiosk-rule { display: block; width: clamp(80px, 12vw, 160px); height: 5px; border-radius: 999px; background: var(--brand); margin-top: -4px; }
.kiosk-deal--photo { display: flex; align-items: center; gap: 16px; padding: 12px 22px 12px 12px; }
.kiosk-deal__img { width: clamp(72px, 7vw, 108px); height: clamp(72px, 7vw, 108px); border-radius: 14px; object-fit: cover; flex: none; }
.kiosk-deal__body { flex: 1; min-width: 0; }
.kiosk-grid--split .kiosk-deal { width: min(100%, 600px); }

/* Guest screen v3: the place's colour on the count, its icon and the
   "Scan here" phone; its note; short opening hours centred at the bottom. */
.kiosk-rule { background: var(--brand); }
.kiosk-count__icon, .kiosk-count b, .kiosk-scan-here svg { color: var(--brand); filter: brightness(1.35) saturate(1.1); }
.kiosk-note { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .88); white-space: pre-line; max-width: 34em; }
.kiosk-hours--bottom { width: 100%; text-align: center; padding: 0 clamp(24px, 5vw, 72px) 12px; font-size: clamp(14px, 1.3vw, 17px); }
.kiosk-hours--bottom p { margin: 2px 0; }
.kiosk-hours--bottom .kiosk-hours__today { margin-bottom: 4px; }
.kiosk-foot { align-items: flex-end; }
.kiosk-foot .kiosk-hours--bottom { width: auto; padding: 0; flex: 1; color: rgba(255, 255, 255, .85); }
/* Check-in mode: the deal of the day at the top right, on the title's line. */
.kiosk-head .kiosk-deal { margin-left: auto; width: auto; max-width: min(46%, 520px); }
.kiosk-head .kiosk-deal__img { width: clamp(56px, 5.5vw, 80px); height: clamp(56px, 5.5vw, 80px); border-radius: 12px; }
.kiosk-head .kiosk-deal--photo { padding: 10px 20px 10px 10px; }
.kiosk-grid--split { padding-bottom: clamp(12px, 2vh, 28px); }
.kiosk-grid--split .kiosk-qr, .kiosk-scan-here { max-width: min(100%, 48vh); }

/* Event mode in the same frame as check-in and the waiting list. */
.kiosk-grid--ev .kiosk-arrivals { display: none; }
.kiosk-head .kiosk-count { margin-left: auto; }
.kiosk-ev__time { font-weight: 700; color: #fff; }
.kiosk-agenda { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kiosk-agenda li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); font-size: clamp(13px, 1.2vw, 16px); font-weight: 600; counter-increment: ag; }
.kiosk-agenda li::before { content: counter(ag) ". "; color: var(--brand); filter: brightness(1.35); font-weight: 800; }

/* Pricing: the currency switch. */
.cur-switch { display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-size: 14px; }
.cur-switch a { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--divider); color: var(--navy); font-weight: 700; text-decoration: none; background: var(--surface); }
.cur-switch a[aria-current="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* How it works: the demo's live guest screen, opened on demand. The frame
   keeps the tablet's 16:10 shape and scales the screen inside it. */
.live-try { margin: 8px 0 28px; }
.live-try__head { margin-bottom: 14px; }
.live-try__frame { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #0b1a20; box-shadow: 0 14px 40px rgba(34, 61, 73, .18); }
.live-try__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); }
.live-try__go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(16px, 2.2vw, 22px); padding: 16px 28px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); white-space: nowrap; }
.live-try__frame.is-live .live-try__shot, .live-try__frame.is-live .live-try__go { display: none; }
/* The screen is drawn for 1280 × 800 and scaled to the frame's width. */
.live-try__iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; }
.live-try__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 14.5px; }
.live-try__foot a { color: var(--teal-deep); font-weight: 700; }

/* See it live: the picture on a third, the text on two thirds; opened,
   the live screen takes the full width. */
.live-try { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 28px; align-items: center; }
.live-try .live-try__head { margin: 0; }
.live-try__open2 { margin-top: 14px; }
.live-try__foot { grid-column: 1 / -1; margin-top: 0; }
.live-try__go { font-size: clamp(14px, 1.4vw, 17px); padding: 12px 20px; }
.live-try.is-open .live-try__frame { grid-column: 1 / -1; order: 2; }
.live-try.is-open .live-try__head { grid-column: 1 / -1; order: 1; }
.live-try.is-open .live-try__open2 { display: none; }
.live-try.is-open .live-try__foot { order: 3; }
@media (max-width: 700px) { .live-try { grid-template-columns: 1fr; } }

/* Demo: the "pretend you scanned" buttons first, the camera last. */
.scan--demo .scan__demo { grid-column: 1 / -1; order: -1; }
.scan--demo .camera { order: 2; }
.feature-hero__what { margin-top: 10px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; color: var(--teal-deep); }

/* ── Screens: the TV's link page and picture screens ─────────── */
.sign { margin: 0; min-height: 100vh; background: var(--bar, #000); color: #fff; overflow: hidden; cursor: none; }
.sign--link { background: var(--navy); cursor: default; }
.sign__stage { position: fixed; inset: 0; overflow: hidden; background: var(--bar, #000); }
.sign__stage--cw, .sign__stage--ccw { inset: auto; top: 50%; left: 50%; width: 100vh; height: 100vw; }
.sign__stage--cw { transform: translate(-50%, -50%) rotate(90deg); }
.sign__stage--ccw { transform: translate(-50%, -50%) rotate(-90deg); }
.sign__pic { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; animation: sign-drift 1800s linear infinite; }
.sign__pic.is-on { opacity: 1; }
.sign--dim .sign__stage { filter: brightness(.25); }
.sign--black, .sign--black .sign__stage { background: #000; }
.sign--black .sign__stage > * { visibility: hidden; }
.sign__text { position: absolute; z-index: 1; margin: 0; padding: 2.4vmin 4vmin; color: #fff; background: var(--text-bg, transparent); font-weight: 800; font-size: clamp(22px, 4.6vmin, 140px); line-height: 1.15; white-space: pre-line; overflow-wrap: anywhere; }
.sign__text[hidden] { display: none; }
.sign__text--top, .sign__text--bottom { left: 0; right: 0; text-align: center; }
.sign__text--top { top: 0; }
.sign__text--bottom { bottom: 0; }
.sign__text--top-left, .sign__text--top-right, .sign__text--bottom-left, .sign__text--bottom-right { max-width: 46%; border-radius: 1.6vmin; }
.sign__text--top-left { top: 4vmin; left: 4vmin; }
.sign__text--top-right { top: 4vmin; right: 4vmin; text-align: right; }
.sign__text--bottom-left { bottom: 4vmin; left: 4vmin; }
.sign__text--bottom-right { bottom: 4vmin; right: 4vmin; text-align: right; }
.sign__text--bare { text-shadow: 0 .06em .3em rgba(0, 0, 0, .85), 0 0 .08em rgba(0, 0, 0, .9); }
.sign__pic--cover { object-fit: cover; }
.sign__pic--contain { object-fit: contain; }
/* Burn-in protection: a slow drift of a few pixels, invisible from a step away. */
@keyframes sign-drift {
  0%, 100% { transform: translate(0, 0) scale(1.006); }
  25% { transform: translate(3px, -2px) scale(1.006); }
  50% { transform: translate(-2px, 3px) scale(1.006); }
  75% { transform: translate(-3px, -3px) scale(1.006); }
}
.sign__pic--contain { animation-name: sign-drift-contain; }
@keyframes sign-drift-contain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(3px, -2px); }
  50% { transform: translate(-2px, 3px); }
  75% { transform: translate(-3px, -3px); }
}
.screen-group { padding-top: 14px; border-top: 1px solid var(--divider); margin-top: 14px; }
.screen-group__who { margin: 0; font-size: 14px; }
.screen-group-note { font-size: 14px; margin: 0 0 8px; }
/* Live slides and the QR code in a corner (Screens, phase 3). */
.sign__live { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8vmin; background: var(--navy); opacity: 0; transition: opacity 1s ease; text-align: center; }
.sign__live.is-on { opacity: 1; }
.sign__live-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.sign__live-body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2.4vmin; max-width: 90%; }
.sign__live h1 { margin: 0; font-size: clamp(32px, 10vmin, 260px); line-height: 1.05; font-weight: 800; overflow-wrap: anywhere; }
.sign__kicker { margin: 0; padding: .3em .9em; border-radius: 99px; background: var(--coral, #ff6b5b); font-weight: 800; font-size: clamp(16px, 4vmin, 96px); text-transform: uppercase; letter-spacing: .06em; }
.sign__live-sub { margin: 0; font-size: clamp(16px, 4.4vmin, 110px); opacity: .9; }
.sign__price { margin: 0; font-size: clamp(32px, 12vmin, 300px); font-weight: 800; font-variant-numeric: tabular-nums; }
.sign__numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 3vmin 6vmin; margin: 0; }
.sign__numbers b { font-size: clamp(48px, 24vmin, 600px); line-height: 1; font-variant-numeric: tabular-nums; }
.sign__code { width: min(58vmin, 70vw); aspect-ratio: 1; padding: 2vmin; border-radius: 2vmin; background: #fff; image-rendering: pixelated; }
.sign__code-label { margin: 0; font-size: clamp(20px, 6vmin, 150px); font-weight: 800; }
.sign-qr { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1vmin; padding: 1.4vmin; border-radius: 1.6vmin; background: #fff; color: #111; max-width: 30vmin; text-align: center; }
.sign-qr img { display: block; width: 24vmin; height: 24vmin; image-rendering: pixelated; }
.sign-qr img:not([src]) { visibility: hidden; }
.sign-qr span { font-weight: 800; font-size: clamp(12px, 2.2vmin, 56px); line-height: 1.15; }
.sign-qr--top-left { top: 4vmin; left: 4vmin; }
.sign-qr--top-right { top: 4vmin; right: 4vmin; }
.sign-qr--bottom-left { bottom: 4vmin; left: 4vmin; }
.sign-qr--bottom-right { bottom: 4vmin; right: 4vmin; }
.sign__code:not([src]) { visibility: hidden; }
.sign__live--code.is-on ~ .sign-qr { opacity: 0; }
.sign-qr { transition: opacity 1s ease; }
.sign__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6em; padding: 6vmin; text-align: center; font-size: clamp(18px, 3vmin, 48px); background: var(--navy); }
.sign__small { opacity: .7; font-size: .7em; max-width: 40ch; }
.sign__id { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2vmin; background: rgba(0, 0, 0, .72); }
.sign__id[hidden], .sign__hint[hidden] { display: none; }
.sign__id b { font-size: 30vmin; line-height: 1; }
.sign__id span { font-size: 5vmin; font-variant-numeric: tabular-nums; }
.sign__hint { position: fixed; left: 50%; bottom: 3vmin; transform: translateX(-50%); margin: 0; padding: .5em 1em; border-radius: 99px; background: rgba(0, 0, 0, .6); font-size: clamp(14px, 2vmin, 28px); }
.link-tv { min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 6vmin; padding: 6vmin; box-sizing: border-box; }
.link-tv__qr { flex: none; background: #fff; border-radius: 3vmin; padding: 2.5vmin; }
.link-tv__qr img { display: block; width: 52vmin; height: 52vmin; image-rendering: pixelated; }
.link-tv__text { max-width: 60ch; font-size: clamp(16px, 2.4vmin, 40px); }
.link-tv__text h1 { font-size: 2.2em; line-height: 1.05; margin: .2em 0 .6em; }
.link-tv__brand { font-weight: 800; opacity: .8; margin: 0; }
.link-tv__brand span { color: var(--mint, #7fe3c7); }
.link-tv__steps { padding-left: 1.2em; line-height: 1.6; margin: 0 0 1.2em; }
.link-tv__or { opacity: .8; margin: 0; }
.link-tv__code { font-size: 3.2em; font-weight: 800; letter-spacing: .12em; margin: .1em 0 .3em; font-variant-numeric: tabular-nums; }
.link-tv__note { opacity: .6; font-size: .8em; margin: 0; }
@media (max-aspect-ratio: 1/1) { .link-tv { flex-direction: column; text-align: center; } .link-tv__steps { text-align: left; display: inline-block; } }
.demo-tv { position: relative; width: 100%; max-width: 360px; margin: 0 auto 14px; }
.demo-tv__screen { aspect-ratio: 16 / 9; border: 6px solid #1d1d1f; border-radius: 10px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px; box-sizing: border-box; overflow: hidden; }
.demo-tv__foot { display: block; width: 30%; height: 6px; margin: 0 auto; background: #1d1d1f; border-radius: 0 0 6px 6px; }
.demo-tv__qr { flex: none; width: 34%; aspect-ratio: 1; border-radius: 6px; border: 6px solid #fff; background: repeating-conic-gradient(#1d1d1f 0 25%, #fff 0 50%) 0 0 / 14% 14%; }
.demo-tv__text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.demo-tv__text small { opacity: .7; }
.demo-tv__text em { font-style: normal; font-weight: 800; letter-spacing: .1em; font-size: 18px; }
.demo-tv__screen--pic { flex-direction: column; gap: 2px; background: linear-gradient(135deg, #e07a5f, #f2cc8f); }
.demo-tv__screen--pic b { font-size: 22px; }
.demo-confirm { max-width: 300px; margin: 0 auto; display: grid; gap: 8px; }
.demo-tv__screen--live { position: relative; text-align: center; }
.demo-tv__screen--live .demo-tv__text { align-items: center; }
.demo-tv__kicker { padding: 2px 10px; border-radius: 99px; background: var(--coral); opacity: 1 !important; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.demo-tv__num { font-size: 40px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.demo-tv__qr--corner { position: absolute; top: 8px; right: 8px; width: 15%; border-width: 3px; border-radius: 4px; }
.demo-turn { display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.demo-turn .demo-tv { max-width: 260px; margin: 0; }
.demo-tv--portrait { width: 110px; }
.demo-tv--portrait .demo-tv__screen { aspect-ratio: 9 / 16; }
.demo-screens { display: grid; gap: 10px; }
.demo-screens p { display: flex; align-items: center; gap: 12px; margin: 0; }
.demo-screens p > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.demo-screens small { color: var(--muted, #6b7280); font-size: 12px; }
.demo-screens__pic { flex: none; width: 56px; aspect-ratio: 16 / 9; border-radius: 4px; background: linear-gradient(135deg, #e07a5f, #f2cc8f); }
.demo-screens__pic--b { width: 18px; aspect-ratio: 9 / 16; margin: 0 19px; background: linear-gradient(135deg, #3d405b, #81b29a); }
.demo-screens__pic--c { background: var(--navy); }
.demo-screens__on { font-style: normal; font-size: 12px; color: #1f8a5b; }
.screens { display: grid; gap: 10px; padding: 0; }
.screen-row { list-style: none; border: 1px solid var(--line, #e5e1d8); border-radius: 14px; padding: 12px 14px; scroll-margin-top: 90px; }
.screen-row:target { border-color: var(--teal, #259284); }
.screen-row__head { display: flex; align-items: center; gap: 12px; }
.screen-row__thumb { flex: none; width: 72px; height: 41px; object-fit: cover; border-radius: 6px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.screen-row__thumb--tall { width: 23px; height: 41px; margin: 0 24px 0 25px; }
.screen-row__what { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.screen-row__what small { font-size: 13px; }
.screen-row__on { color: #1f8a5b; font-weight: 600; }
.screen-row__moves { display: flex; gap: 4px; }
.screen-row__moves form { margin: 0; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line, #e5e1d8); background: transparent; font-size: 16px; cursor: pointer; }
.screen-row__more { margin-top: 8px; }
.screen-row__more summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.screen-row__more[open] summary { margin-bottom: 10px; }
.screen-pic { align-items: flex-end; }
.screen-opts { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.screen-opts label { display: flex; align-items: flex-start; gap: 8px; }
.screen-opts label input[type=radio] { margin-top: .25em; flex: none; }
.screen-opts label.screen-opts__every { flex-wrap: wrap; align-items: center; }
.screen-opts label.screen-opts__every input[type=radio] { margin-top: 0; }
.color-input--small { width: 44px; height: 30px; padding: 0; }
.screen-row__remove { margin-top: 10px; }
.link-button--danger { color: #b42318; }
.link-steps { padding-left: 1.2em; margin: 0 0 12px; line-height: 1.6; }
.code-input--small { font-size: 20px; letter-spacing: .1em; max-width: 12ch; }
.sign--black .sign__stage > .sign__id { visibility: visible; }
.screen-pics { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.screen-pics li { display: flex; align-items: center; gap: 8px; }
.screen-pics__img { width: 80px; height: 45px; object-fit: cover; border-radius: 5px; background: var(--navy); }
.screen-pics__img--tall { width: 26px; height: 45px; margin: 0 27px; }
.screen-pics__secs { display: flex; align-items: center; gap: 6px; flex: 1; margin: 0; }
.screen-pics__secs { min-width: 0; }
.screen-pics__secs label { display: flex; align-items: center; gap: 4px; }
.screen-pics .screen-pics__secs input, .screen-opts input.num-input { width: 3.6em; min-width: 0; padding: 6px 6px; border: 1px solid var(--line, #e5e1d8); border-radius: 8px; font: inherit; background: #fff; }
.screen-pics .icon-btn { width: 30px; height: 30px; font-size: 14px; }
.screen-pics .screen-row__moves form { flex-wrap: nowrap; }
.screen-pics .screen-row__moves form { display: flex; gap: 4px; }
.screen-overlay + .tier__h { margin-top: 22px; }
.screen-overlay { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line, #e5e1d8); }
.screen-overlay textarea { width: 100%; box-sizing: border-box; }
.screen-opts__inline { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.field--short { max-width: 9em; }
.tier__h .muted { font-weight: 400; text-transform: none; letter-spacing: 0; }
.screen-pics li { gap: 6px; }
.screen-pics__img { width: 56px; height: 32px; }
.screen-pics__img--tall { width: 18px; height: 32px; margin: 0 19px; }
.screen-pics__secs { flex: none; gap: 4px; }
.screen-pics .screen-row__moves { margin-left: auto; flex: none; }
.screen-pics .screen-row__moves form { gap: 2px; }
.screen-pics .icon-btn { width: 28px; height: 28px; padding: 0; }
