/* MyQueueR public page. Everything is scoped under .blp (branch page,
   directory, messages) or .bll (product landing) so the admin can reuse it
   for the live preview. Theme values arrive as CSS variables from
   BL.themeVars(): --p --on-p --p-ink --p-deep --bg --surface --surface-2
   --ink --muted --line --tint --radius --card-radius --cover --shadow */

.blp, .bll { font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.blp *, .blp *::before, .blp *::after, .bll *, .bll *::before, .bll *::after { box-sizing: border-box; }

.blp { background: var(--bg); color: var(--ink); line-height: 1.5; font-size: 16px; color-scheme: light; position: relative; }
.blp[data-mode="dark"] { color-scheme: dark; }
#app > .blp { min-height: 100vh; min-height: 100dvh; }
:where(.blp) a { color: inherit; }
:where(.blp) button { font: inherit; color: inherit; }
.blp :focus-visible { outline: 3px solid var(--p-ink); outline-offset: 2px; }
.blp .ic { flex: none; display: block; }

.blp-shell { max-width: 480px; margin: 0 auto; padding: 0 16px calc(40px + env(safe-area-inset-bottom)); position: relative; }

/* cover + head */
.blp-cover { height: 172px; margin: 0 -16px; background: var(--cover); position: relative; overflow: hidden; border-radius: 0 0 28px 28px; }
.blp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blp-cover.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.22)); }
.blp-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.blp-rings circle { fill: none; stroke: rgba(255,255,255,.17); stroke-width: 1.4; }
@media (min-width: 520px) {
  .blp-shell { padding-top: 24px; }
  .blp-cover { margin: 0; border-radius: 28px; }
}

.blp-head { text-align: center; margin-top: -52px; position: relative; }
.blp-logo { width: 100px; height: 100px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface); box-shadow: 0 0 0 5px var(--bg), 0 10px 28px -10px rgba(0,0,0,.35); overflow: hidden; vertical-align: top; }
.blp-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blp-logo.is-mono { background: linear-gradient(150deg, var(--p), var(--p-deep)); color: var(--on-p); font-weight: 800; font-size: 34px; letter-spacing: -.03em; }
.blp-name { font-size: 25px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; margin: 14px 0 6px; text-wrap: balance; overflow-wrap: anywhere; }
.blp-tagline { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 auto; max-width: 34ch; text-wrap: balance; }

/* quick actions */
.blp-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0 0; }
.blp-quick[data-n="1"] { grid-template-columns: 1fr; }
.blp-quick[data-n="2"] { grid-template-columns: repeat(2, 1fr); }
.blp-quick[data-n="3"] { grid-template-columns: repeat(3, 1fr); }
.blp-qa { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 12px 4px 11px; min-height: 80px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); color: var(--ink); text-decoration: none; font-weight: 650; font-size: clamp(11px, 3.3vw, 12.5px); line-height: 1.2; text-align: center; white-space: nowrap; box-shadow: var(--shadow); cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; -webkit-tap-highlight-color: transparent; }
.blp-qa-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--p-ink); transition: background .16s ease, color .16s ease; }
.blp-qa:hover { border-color: var(--p); }
.blp-qa:hover .blp-qa-ic { background: var(--p); color: var(--on-p); }
.blp-qa:active { transform: scale(.96); }

/* announcement: tinted + dashed, deliberately unlike the featured button */
.blp-ann { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 11px 14px 11px 11px; border: 1.5px dashed var(--p); border-color: color-mix(in srgb, var(--p-ink) 50%, transparent); background: var(--tint); border-radius: var(--card-radius); color: var(--ink); text-decoration: none; font-weight: 650; font-size: 14.5px; line-height: 1.35; min-height: 56px; }
.blp-ann-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--p); color: var(--on-p); display: grid; place-items: center; }
.blp-ann-text { flex: 1; min-width: 0; }
.blp-ann-go { color: var(--p-ink); transition: transform .16s ease; }
a.blp-ann:hover .blp-ann-go { transform: translateX(3px); }

/* link buttons */
.blp-links { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.blp-btn { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 16px 8px 9px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 650; font-size: 15.5px; line-height: 1.3; box-shadow: var(--shadow); overflow: hidden; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; -webkit-tap-highlight-color: transparent; }
.blp-btn-ic { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: var(--surface-2); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.blp[data-shape="pill"] .blp-btn-ic { border-radius: 50%; }
.blp[data-shape="square"] .blp-btn-ic { border-radius: 4px; }
.blp[data-shape="pill"] .blp-btn { padding-right: 20px; }
.blp-btn-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.blp-btn-go { color: var(--muted); opacity: .75; transition: transform .16s ease, opacity .16s ease; }
.blp-btn:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(0,0,0,.35); }
.blp-btn:hover .blp-btn-go { transform: translateX(3px); opacity: 1; }
.blp-btn:active { transform: scale(.985); }
.blp-btn.is-featured { background: linear-gradient(135deg, var(--p), var(--p-deep)); background: var(--p); color: var(--on-p); border-color: transparent; box-shadow: 0 12px 26px -14px var(--p); }
.blp-btn.is-featured .blp-btn-ic { background: color-mix(in srgb, var(--on-p) 17%, transparent); color: var(--on-p); }
.blp-btn.is-featured .blp-btn-go { color: var(--on-p); opacity: .9; }
.blp-btn.is-featured:hover { border-color: transparent; }
.blp-btn.is-featured::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); transform: translateX(-100%); pointer-events: none; }
.blp.is-animated .blp-btn.is-featured::after { animation: blp-sheen 1.6s .9s ease-out 1 both; }

/* cards */
.blp-card { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 18px 18px 20px; box-shadow: var(--shadow); }
.blp-h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin: 0 0 10px; font-weight: 750; }
.blp-about { margin: 0; font-size: 15px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.blp-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.blp-info li { display: flex; gap: 12px; align-items: flex-start; }
.blp-info li > div { min-width: 0; }
.blp-info-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--tint); color: var(--p-ink); display: grid; place-items: center; }
.blp[data-shape="pill"] .blp-info-ic { border-radius: 50%; }
.blp-info-k { display: block; font-size: 12.5px; color: var(--muted); font-weight: 650; margin-bottom: 1px; }
.blp-info-v { display: block; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.blp-info-link { text-decoration: none; color: var(--ink); display: flex; align-items: center; min-height: 44px; margin: -10px 0; }
.blp-info-link:hover { color: var(--p-ink); text-decoration: underline; }
.blp-hours { white-space: pre-line; font-variant-numeric: tabular-nums; }
.blp-info-a { display: inline-flex; align-items: center; min-height: 44px; margin: -4px 0 -6px; color: var(--p-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.blp-info-a:hover { text-decoration: underline; }

/* footer */
.blp-foot { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.blp-share { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 650; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: var(--shadow); transition: border-color .16s ease; }
.blp-share:hover { border-color: var(--p); }
.blp-all { color: var(--p-ink); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; }
.blp-all:hover { text-decoration: underline; }
.blp-made { color: var(--muted); font-size: 12.5px; margin: 4px 0 0; }
.blp-made a { color: inherit; font-weight: 650; }

.blp-draft { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; background: #fef3c7; color: #7c4a03; font-size: 13px; font-weight: 650; border-bottom: 1px solid #f4d48a; }

/* entrance */
.blp.is-animated .blp-in { animation: blp-up .55s cubic-bezier(.2,.75,.25,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes blp-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes blp-sheen { to { transform: translateX(100%); } }

/* directory */
.blp-dir-sec { margin: 26px 0 0; }
.blp-dir-sec.is-first { margin-top: 18px; }
.blp-more-h { margin: 28px 0 0; }
.blp-more-h + .blp-links { margin-top: 12px; }
.blp-dir-sec .blp-h2 { display: flex; align-items: center; gap: 8px; }
.blp-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--tint); color: var(--p-ink); font-size: 11.5px; letter-spacing: 0; }
.blp-dir-sec .blp-search { margin: 0; }
.blp-dir-none { color: var(--muted); margin: 0; }
.blp-dir-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.blp-dir .blp-card { margin-top: 22px; }
.blp-dir-card { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 16px 12px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .16s ease, border-color .16s ease; }
.blp-dir-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.blp-dir-logo { flex: none; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.blp-dir-logo img { width: 100%; height: 100%; object-fit: cover; }
.blp-dir-logo.is-mono { background: var(--accent); color: var(--accent-on); font-weight: 800; font-size: 17px; box-shadow: none; }
.blp-dir-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.blp-dir-name { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.blp-dir-sub { color: var(--muted); font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blp-dir-go { color: var(--muted); }
.blp-dir-empty { text-align: center; color: var(--muted); margin: 18px 0 0; }
.blp-search { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 0 14px; min-height: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }
.blp-search:focus-within { border-color: var(--p); box-shadow: 0 0 0 3px var(--tint); }
.blp-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); min-height: 46px; }

/* message + loading */
.blp-msg .blp-shell { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding-top: 24px; }
.blp-msg-card { width: 100%; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 36px 24px 32px; box-shadow: var(--shadow); }
.blp-msg-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--tint); color: var(--p-ink); }
.blp-msg-title { font-size: 21px; line-height: 1.3; letter-spacing: -.02em; margin: 16px 0 6px; text-wrap: balance; }
.blp-msg-text { color: var(--muted); margin: 0 auto; max-width: 36ch; font-size: 15px; }
.blp-msg-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 20px; min-height: 46px; padding: 0 22px; border-radius: 12px; background: var(--p); color: var(--on-p); font-weight: 700; text-decoration: none; }
.blp-spinner { display: inline-block; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--tint); border-top-color: var(--p); animation: blp-spin .8s linear infinite; }
@keyframes blp-spin { to { transform: rotate(360deg); } }

.blp-skel .blp-cover { background: #e5e8eb; }
.blp-skel .blp-logo { background: #dde1e5; }
.blp-skel .blp-head { display: grid; justify-items: center; }
.sk { display: block; border-radius: 10px; background: linear-gradient(90deg, #e7eaed 0%, #f3f5f6 50%, #e7eaed 100%); background-size: 200% 100%; animation: blp-shimmer 1.3s ease-in-out infinite; }
.sk-title { width: 62%; height: 26px; margin-top: 16px; }
.sk-line { width: 44%; height: 14px; margin-top: 10px; }
.sk-qa { height: 80px; border-radius: 18px; }
.sk-btn { height: 60px; border-radius: 14px; }
@keyframes blp-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* review helper (bottom sheet) */
.blp-sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.blp-sheet-wrap.is-contained { position: absolute; inset: auto 0 auto 0; }
.blp-sheet-bg { position: absolute; inset: 0; background: rgba(10, 12, 16, .5); opacity: 0; transition: opacity .2s ease; }
.blp-sheet { position: relative; width: 100%; max-width: 480px; max-height: 92%; overflow-y: auto; background: var(--surface); color: var(--ink); border-radius: 24px 24px 0 0; padding: 26px 20px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 50px -20px rgba(0,0,0,.35); transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.25,1); text-align: center; }
.blp-sheet-wrap.is-in .blp-sheet-bg { opacity: 1; }
.blp-sheet-wrap.is-in .blp-sheet { transform: none; }
.blp-sheet-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.blp-sheet-x:hover { background: var(--tint); color: var(--ink); }
.blp-sheet-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff4e0; color: #b06000; }
.blp[data-mode="dark"] .blp-sheet-ic { background: rgba(251, 188, 4, .16); color: #fbbc04; }
.blp-sheet-ic .ic { fill: currentColor; }
.blp-sheet-t { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; margin: 12px 0 4px; }
.blp-sheet-p { color: var(--muted); font-size: 14.5px; margin: 0 auto 16px; max-width: 34ch; }
.blp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.blp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.blp-chip .ic { display: none; }
.blp-chip[aria-pressed="true"] { background: var(--p); border-color: var(--p); color: var(--on-p); }
.blp-chip[aria-pressed="true"] .ic { display: block; }
.blp-sheet-l { display: block; text-align: left; font-weight: 650; font-size: 13.5px; margin-bottom: 6px; }
.blp-sheet-ta { display: block; width: 100%; min-height: 84px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.45; resize: vertical; }
.blp-sheet-ta:focus { outline: 0; border-color: var(--p); box-shadow: 0 0 0 3px var(--tint); }
.blp-sheet-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin-top: 14px; border: 0; border-radius: var(--radius); background: var(--p); color: var(--on-p); font-weight: 700; font-size: 15.5px; cursor: pointer; }
.blp-sheet-go.is-done { background: #15803d; color: #fff; }
.blp-sheet-skip { width: 100%; min-height: 46px; margin-top: 6px; border: 0; background: transparent; color: var(--muted); font-weight: 650; font-size: 14.5px; cursor: pointer; border-radius: 12px; }
.blp-sheet-skip:hover { color: var(--ink); background: var(--tint); }
.blp-sheet-fine { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
@media (min-width: 520px) { .blp-sheet-wrap:not(.is-contained) { align-items: center; } .blp-sheet-wrap:not(.is-contained) .blp-sheet { border-radius: 24px; } }

@media (prefers-reduced-motion: reduce) {
  .blp *, .blp *::before, .blp *::after, .bll *, .bll *::before, .bll *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .blp.is-animated .blp-in { animation: none; }
  .blp-btn.is-featured::after { display: none; }
}

/* ------------------------------------------------------------- toasts */
.bl-toasts { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 10000; display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.bl-toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 13px; border-radius: 12px; background: #14181f; color: #fff; font: 500 14px/1.4 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif; box-shadow: 0 12px 32px -8px rgba(0,0,0,.4); opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .2s ease, transform .2s ease; max-width: 100%; }
.bl-toast span { overflow-wrap: anywhere; }
.bl-toast.is-in { opacity: 1; transform: none; }
.bl-toast .ic { color: #8fd3c7; }
.bl-toast.is-success .ic { color: #6ee7b7; }
.bl-toast.is-error { background: #8f1d14; }
.bl-toast.is-error .ic, .bl-toast.is-warn .ic { color: #fecaca; }
.bl-toast.is-warn { background: #7a4a06; }
.bl-toast-act { margin-left: 4px; border: 0; background: rgba(255,255,255,.14); color: #fff; font: 700 13px/1 inherit; padding: 8px 10px; border-radius: 8px; cursor: pointer; min-height: 32px; }
.bl-toast-act:hover { background: rgba(255,255,255,.24); }

/* -------------------------------------------------------------- queue (.blq) */
.blq-cta { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 14px 16px; border-radius: var(--card-radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.blq-cta-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--p-ink); }
.blq-cta-t { flex: 1; display: grid; gap: 2px; min-width: 0; }
.blq-cta-t b { font-weight: 650; font-size: 15.5px; }
.blq-cta-t small { color: var(--muted); font-size: 13px; }
.blq-cta-go { color: var(--muted); }
.blq-cta.is-closed { box-shadow: none; background: transparent; }
.blq-cta.is-closed .blq-cta-ic { background: var(--surface-2); color: var(--muted); }

.blq .blp-shell { padding-top: 12px; }
.blq-top { display: flex; align-items: center; min-height: 44px; }
.blq-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; min-height: 44px; }
.blq-head { text-align: center; margin: 8px 0 20px; }
.blq-logo { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; overflow: hidden; background: var(--p); color: var(--on-p); font-weight: 700; font-size: 20px; }
.blq-logo img { width: 100%; height: 100%; object-fit: cover; }
.blq-title { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.blq-sub { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.blq-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 12px; }
.blq-p { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.blq-hours { white-space: pre-line; margin: 0 0 16px; line-height: 1.6; }
.blq-stats { display: grid; gap: 12px; }
.blq-stats > div { display: grid; gap: 2px; }
.blq-k { color: var(--muted); font-size: 13px; }
.blq-v { font-size: 17px; font-weight: 650; }
.blq-mono { font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.blq-note { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 0 4px; color: var(--muted); font-size: 14px; }
.blq-note .ic { flex: none; margin-top: 2px; }
.blq-form { display: grid; gap: 16px; }
.blq-fld { display: grid; gap: 6px; }
.blq-fld > span { font-weight: 650; font-size: 14px; }
.blq-fld em { font-style: normal; font-weight: 500; color: var(--muted); }
.blq-fld input { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font: inherit; font-size: 16px; }
.blq-fld input:focus { outline: 2px solid var(--p); outline-offset: 1px; }
.blq-step { display: inline-flex; align-items: center; gap: 16px; }
.blq-step button { font-size: 24px; line-height: 1; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.blq-step output { min-width: 32px; text-align: center; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.blq-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.blq-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--p); }
.blq-err { margin: 0; color: #b42318; font-size: 14px; font-weight: 600; }
.blq-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; border: 0; border-radius: var(--radius);
  background: var(--p); color: var(--on-p); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; }
.blq-btn:disabled { opacity: .6; }
.blq-btn-g { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.blq-fine { margin: 0; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.45; }
.blq-ticket { text-align: center; padding: 24px 20px; }
.blq-code { display: block; margin: 4px 0 8px; font: 700 64px/1 ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; color: var(--p-ink); }
.blq-line { margin: 0; font-size: 18px; font-weight: 650; line-height: 1.35; }
.blq-est { margin: 6px 0 0; color: var(--muted); }
.blq-ticket.is-next, .blq-ticket.is-called { border-color: var(--p); }
.blq-ticket.is-called { background: var(--p); color: var(--on-p); }
.blq-ticket.is-called .blq-code, .blq-ticket.is-called .blq-k, .blq-ticket.is-called dt { color: var(--on-p); }
.blq-meta { display: flex; justify-content: center; gap: 24px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.blq-meta div { display: grid; gap: 2px; }
.blq-meta dt { color: var(--muted); font-size: 12.5px; }
.blq-meta dd { margin: 0; font-weight: 650; }
.blq-acts { display: grid; gap: 12px; justify-items: center; margin-top: 8px; }
.blq-link { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 44px; }
.blq-loading { text-align: center; padding: 40px 20px; }
.blq-loading .blp-spinner { margin: 0 auto 12px; }

/* ---------------------------------------------------------- landing (.bll)
   Ink-teal on warm paper. One accent (teal), three text roles, hairlines,
   weights 400–600, 4px rhythm, mono for scan-source tags and figures. */
.bll {
  --g: #0e5e55; --g-ink: #0a453f; --g-soft: #e3ece6;
  --ground: #f7f4ee; --card: #fffdf9; --raised: #efe9df;
  --ink: #1f1b16; --ink-2: #5e554a; --muted: #7b7266; --line: rgba(31, 27, 22, .09);
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  background: var(--ground); color: var(--ink); min-height: 100vh; overflow-x: hidden; line-height: 1.55;
}
:where(.bll) a { color: inherit; }
.bll :focus-visible { outline: 2px solid var(--g); outline-offset: 2px; border-radius: 4px; }
.bll h1, .bll h2, .bll h3 { margin: 0; font-weight: 500; }
html:has(.bll) { scroll-behavior: smooth; }

.bll-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--raised); color: var(--g-ink);
  font: 500 12.5px/1 var(--mono); letter-spacing: 0; white-space: nowrap; }

/* nav */
.bll-nav { max-width: 1160px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.bll-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; text-decoration: none; }
.bll-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--g); color: #fff; display: grid; place-items: center; }
.bll-links { display: flex; gap: 4px; margin-left: auto; }
.bll-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14.5px; padding: 8px 12px; border-radius: 8px; transition: color .15s var(--ease), background-color .15s var(--ease); }
.bll-links a:hover { color: var(--ink); background: var(--raised); }
.bll-nav-cta { min-height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--card);
  font-weight: 500; font-size: 14.5px; text-decoration: none; transition: border-color .15s var(--ease); }
.bll-nav-cta:hover { border-color: rgba(31, 27, 22, .24); }

/* buttons */
.bll-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 15.5px; text-decoration: none; transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease); }
.bll-btn:active { transform: scale(.98); }
.bll-btn-p { background: var(--g); color: #fff; box-shadow: 0 1px 2px rgba(31, 27, 22, .14); }
.bll-btn-p:hover { background: var(--g-ink); }
.bll-btn-g { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.bll-btn-g:hover { border-color: rgba(31, 27, 22, .24); }
.bll-btn-light { background: #fff; color: var(--g-ink); }
.bll-btn-light:hover { background: var(--g-soft); }
.bll-btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, .36); }
.bll-btn-ghost-light:hover { background: rgba(255, 255, 255, .08); }

/* hero */
.bll-hero { max-width: 1160px; margin: 0 auto; padding: 48px 24px 96px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.bll-hero-text h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; max-width: 13ch; }
.bll-lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 36rem; margin: 24px 0 0; }
.bll-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.bll-for { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; max-width: 36rem; }

.bll-hero-art { position: relative; display: flex; justify-content: center; padding: 0 0 0 96px; }
.bll-phone { position: relative; z-index: 1; width: 304px; height: 616px; border-radius: 44px; padding: 10px; background: #1f1b16;
  box-shadow: 0 24px 48px -24px rgba(31, 27, 22, .42), 0 0 0 1px rgba(31, 27, 22, .06); }
.bll-phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; pointer-events: none; user-select: none; }
.bll-phone-screen .blp { min-height: 116%; zoom: .84; }
.bll-phone-screen .blp-qa { font-size: 12.5px; }
.bll-phone-screen .blp-shell { padding-top: 0; }
.bll-phone-screen .blp-cover { margin: 0 -16px; border-radius: 0 0 24px 24px; height: 148px; }
/* the printed table card standing on the counter, same café as the phone */
.bll-card { position: absolute; z-index: 2; left: 0; bottom: -12px; width: 168px; padding: 12px 12px 14px; border-radius: 12px; background: #fffdf9;
  box-shadow: 0 16px 32px -16px rgba(31, 27, 22, .45), 0 0 0 1px rgba(31, 27, 22, .06); transform: rotate(-4deg); text-align: center; }
.bll-card-top { display: grid; justify-items: center; gap: 2px; padding: 12px 8px 10px; margin: -12px -12px 12px; border-radius: 12px 12px 0 0; background: #9a3412; color: #fff; }
.bll-card-logo { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #9a3412; font-weight: 600; font-size: 12px; margin-bottom: 4px; }
.bll-card-top b { font-weight: 600; font-size: 13px; }
.bll-card-top span { font-size: 11px; opacity: .85; }
.bll-card-qr { width: 104px; height: 104px; margin: 0 auto; padding: 8px; border-radius: 8px; border: 1px solid rgba(154, 52, 18, .25); color: #1f1b16; }
.bll-card-qr svg { display: block; width: 100%; height: 100%; }
.bll-card p { margin: 10px 0 8px; font-size: 11.5px; line-height: 1.35; color: var(--ink-2); }
.bll-card .bll-tag { height: 20px; font-size: 11px; }

/* sections */
.bll-sec { max-width: 1160px; margin: 0 auto; padding: 96px 24px 0; scroll-margin-top: 16px; }
.bll-kicker { margin: 0 0 12px; color: var(--g); font-weight: 600; font-size: 14px; }
.bll-sec h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.bll-sec-head { max-width: 30rem; }
.bll-sec-head-wide { max-width: 44rem; margin-bottom: 40px; }
.bll-lead-sm { color: var(--ink-2); font-size: 16.5px; margin: 16px 0 0; max-width: 40rem; }
.bll-lead-sm a { color: var(--g); font-weight: 500; }
.bll-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }

/* benefits */
.bll-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.bll-benefits li { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.bll-b-ic { grid-row: span 2; color: var(--g); padding-top: 2px; }
.bll-benefits h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.bll-benefits p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }

/* where: placement tags */
.bll-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bll-places li { display: grid; justify-items: start; gap: 4px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.bll-places .bll-tag { margin-bottom: 12px; }
.bll-places b { font-weight: 600; font-size: 16px; }
.bll-places span:not(.bll-tag) { color: var(--ink-2); font-size: 14.5px; }

/* numbers */
.bll-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.bll-checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.bll-checks li, .bll-plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.bll-checks .ic, .bll-plan li .ic { flex: none; margin-top: 3px; color: var(--g); }
.bll-dash { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(31, 27, 22, .06); }
.bll-dash-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin-bottom: 16px; }
.bll-dash-top b { font-weight: 600; }
.bll-dash-top span { color: var(--muted); }
.bll-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.bll-kpis div { display: grid; gap: 4px; padding-left: 12px; border-left: 1px solid var(--line); }
.bll-kpis div:first-child { padding-left: 0; border-left: 0; }
.bll-kpis span { color: var(--muted); font-size: 13px; }
.bll-kpis b { font-size: 24px; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.bll-kpis em { font-style: normal; color: #16a34a; font-size: 12.5px; }
.bll-bars { display: flex; align-items: flex-end; gap: 6px; height: 112px; }
.bll-bars i { flex: 1; background: #ded6c8; border-radius: 4px 4px 0 0; }
.bll-bars i.is-now { background: var(--g); }
.bll-bars-ax { display: flex; justify-content: space-between; padding: 8px 0 0; margin-bottom: 20px; border-top: 1px solid var(--line); color: var(--muted); font: 12px/1.3 var(--mono); }
.bll-src { display: grid; gap: 8px; }
.bll-src div { display: grid; grid-template-columns: 88px 1fr 40px; align-items: center; gap: 12px; }
.bll-src i { height: 8px; background: var(--raised); border-radius: 4px; overflow: hidden; }
.bll-src i b { display: block; height: 100%; background: #c8bda9; border-radius: 4px; }
.bll-src .is-top i b { background: var(--g); }
.bll-src div > span { text-align: right; color: var(--ink-2); font: 12.5px/1 var(--mono); font-variant-numeric: tabular-nums; }

/* included */
.bll-incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.bll-incl h3 { font-size: 15px; font-weight: 600; color: var(--g-ink); padding-bottom: 12px; border-bottom: 1px solid rgba(31, 27, 22, .18); }
.bll-incl ul { list-style: none; margin: 0; padding: 0; }
.bll-incl li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }

/* steps */
.bll-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.bll-steps li { padding-top: 20px; border-top: 1px solid rgba(31, 27, 22, .18); }
.bll-steps li > span { display: block; color: var(--g); font: 500 13px/1 var(--mono); margin-bottom: 16px; }
.bll-steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.bll-steps p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* pricing */
.bll-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; }
.bll-plan { display: flex; flex-direction: column; padding: 28px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.bll-plan.is-pro { border-color: var(--g); box-shadow: 0 8px 24px rgba(31, 27, 22, .06); }
.bll-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bll-plan h3 { font-size: 18px; font-weight: 600; }
.bll-plan-tag { color: var(--g); font-weight: 500; font-size: 13px; }
.bll-price { margin: 12px 0 0; font-size: 36px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bll-plan-sub { margin: 4px 0 20px; color: var(--ink-2); font-size: 14.5px; }
.bll-plan ul { list-style: none; margin: 0 0 24px; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }

/* faq */
.bll-faq-list { border-top: 1px solid var(--line); }
.bll-faq details { border-bottom: 1px solid var(--line); }
.bll-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 16px 0; font-weight: 500; font-size: 16px; }
.bll-faq summary::-webkit-details-marker { display: none; }
.bll-faq summary .ic { flex: none; color: var(--muted); transition: transform .2s var(--ease); }
.bll-faq details[open] summary .ic { transform: rotate(180deg); }
.bll-faq details p { margin: -4px 0 0; padding: 0 40px 20px 0; color: var(--ink-2); font-size: 15px; }

/* final */
.bll-final { max-width: 1112px; width: calc(100% - 48px); margin: 96px auto 0; padding: 48px; border-radius: 20px; background: var(--g); color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.bll-final h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.bll-final p { margin: 8px 0 0; color: rgba(255, 255, 255, .8); font-size: 16.5px; }
.bll-final .bll-ctas { margin-top: 0; }
.bll-foot { max-width: 1160px; margin: 0 auto; padding: 32px 24px 40px; display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.bll-foot a { font-weight: 500; }

@media (min-width: 901px) {
  /* the first screen is the hero, without a dead band below it */
  .bll-hero { min-height: calc(100vh - 76px); padding-top: 24px; padding-bottom: 64px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .bll-places, .bll-incl { grid-template-columns: 1fr 1fr; }
  .bll-hero-art { padding-left: 40px; }
}
@media (max-width: 900px) {
  .bll-hero { grid-template-columns: 1fr; padding: 24px 16px 64px; gap: 48px; }
  .bll-hero-art { padding-left: 48px; justify-content: flex-start; max-width: 420px; margin: 0 auto; width: 100%; }
  .bll-sec { padding: 64px 16px 0; }
  .bll-two, .bll-split { grid-template-columns: 1fr; gap: 32px; }
  .bll-places, .bll-steps ol, .bll-incl { grid-template-columns: 1fr; gap: 24px; }
  .bll-benefits { grid-template-columns: 1fr; }
  .bll-links { display: none; }
  .bll-nav { padding: 16px; }
  .bll-nav-cta { margin-left: auto; }
  .bll-plans { grid-template-columns: 1fr; }
  .bll-final { width: calc(100% - 32px); padding: 32px 24px; margin-top: 64px; }
  .bll-foot { padding: 32px 16px 40px; }
}
@media (max-width: 420px) {
  .bll-hero-art { padding-left: 36px; }
  .bll-phone { width: 270px; height: 548px; border-radius: 40px; }
  .bll-phone-screen { border-radius: 30px; }
  .bll-phone-screen .blp { zoom: .74; min-height: 132%; }
  .bll-card { width: 148px; bottom: 24px; }
  .bll-card-qr { width: 84px; height: 84px; }
  .bll-btn { width: 100%; }
  .bll-kpis b { font-size: 19px; }
  .bll-kpis em { font-size: 11px; }
  .bll-plan { padding: 24px 20px; }
}
