/* Food POS pitch demo. Colours come from shared/food_pos/looks.json and are set
   on :root by app.js (applyTheme); these are the classic light fallbacks. */
@font-face { font-family: 'Fraunces'; src: url(fonts/Fraunces.ttf) format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(fonts/Inter.ttf) format('truetype'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #FBF6EC; --surface: #FFFFFF; --surface2: #F3EBDA; --line: #E4D8C2;
  --ink: #1C1B18; --muted: #5E584D; --primary: #14432F; --onPrimary: #FFFFFF;
  --accent: #B5841F; --accentText: #7E5710; --cta: #B4471F; --onCta: #FFFFFF;
  --ok: #1D6B3A; --warn: #8A5A00; --danger: #B3261E;
  --shadow: 0 1px 2px rgba(70, 45, 10, .07), 0 8px 24px rgba(70, 45, 10, .09);
  --r-card: 14px; --r-btn: 12px;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
:root[data-dark="1"] { --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .35); color-scheme: dark; }
:root.big { font-size: 112.5%; }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 1rem/1.45 var(--text); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.noscript { padding: 24px; font-size: 1rem; }

/* ------------------------------------------------------------ stage */
.stage { min-height: 100%; }
.phone { position: relative; height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; }
.app { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.presenter { display: none; }
@media (min-width: 1000px) {
  body { background: #0F2A1E radial-gradient(1200px 700px at 30% 20%, #1F4D38 0%, #0F2A1E 60%, #0A1D15 100%); }
  .stage { display: flex; gap: 32px; align-items: center; justify-content: center; padding: 24px; min-height: 100vh; }
  .phone { width: 400px; height: min(880px, calc(100vh - 48px)); border-radius: 44px; border: 10px solid #0B0B0A; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); flex: none; }
  .presenter { color-scheme: light; display: block; width: 380px; max-height: min(880px, calc(100vh - 48px)); overflow: auto; border-radius: 20px; background: #FBF6EC; color: #1C1B18; padding: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
  .only-phone { display: none !important; }
}

/* ------------------------------------------------------------ type */
.h1, .h2, .h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; margin: 0; line-height: 1.15; font-variation-settings: 'opsz' 72; }
.h1 { font-size: 2rem; }
.h2 { font-size: 1.5rem; }
.h3 { font-size: 1.25rem; }
.lead { font-size: 1.0625rem; color: var(--muted); margin: 6px 0 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.strong { font-weight: 650; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.label { font-size: .875rem; font-weight: 600; color: var(--muted); margin: 0 0 6px; display: block; }
p { margin: 0 0 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ icons */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ------------------------------------------------------------ bars */
.topbar { display: flex; align-items: center; gap: 4px; min-height: 60px; padding: 6px 6px 6px 8px; padding-top: max(6px, env(safe-area-inset-top)); background: var(--surface); border-bottom: 1px solid var(--line); flex: none; }
.topbar .title { flex: 1; min-width: 0; padding: 0 4px; }
.topbar .title .h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .title .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.body { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.wrap { padding: 16px; max-width: 760px; margin: 0 auto; }
.nav { display: flex; background: var(--surface); border-top: 1px solid var(--line); flex: none; padding-bottom: env(safe-area-inset-bottom); }
.nav button { flex: 1; min-height: 60px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .875rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.nav button[aria-current="page"] { color: var(--primary); }
.nav button[aria-current="page"] .ic { stroke-width: 2.3; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 18px; border-radius: var(--r-btn); border: 1px solid transparent; font-weight: 650; font-size: 1rem; cursor: pointer; text-decoration: none; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--primary); color: var(--onPrimary); }
.btn-cta { background: var(--cta); color: var(--onCta); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-quiet { background: transparent; color: var(--primary); padding: 0 12px; }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn:active { transform: translateY(1px); }
.icon-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--surface2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrapr { flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 8px; margin: 0 -16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9375rem; white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--onPrimary); }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--surface2); border-radius: 14px; }
.seg button { flex: 1; min-height: 48px; border: 0; border-radius: 10px; background: transparent; font-weight: 650; cursor: pointer; color: var(--ink); padding: 0 8px; }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow); color: var(--primary); }

/* ------------------------------------------------------------ cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 16px; }
.card + .card { margin-top: 12px; }
.card.flat { box-shadow: none; }
.section { margin: 22px 0 10px; }
.note { font-size: .875rem; color: var(--muted); background: var(--surface2); border-radius: 12px; padding: 10px 12px; }
.banner { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); margin-bottom: 12px; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 650; padding: 2px 10px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.pill.ok { color: var(--ok); } .pill.warn { color: var(--warn); } .pill.danger { color: var(--danger); } .pill.muted { color: var(--muted); }
.badge { display: inline-flex; align-items: flex-start; gap: 6px; max-width: 100%; font-size: .875rem; font-weight: 600; color: var(--ink); background: var(--surface2); border-radius: 12px; padding: 2px 10px 2px 8px; }
.badge::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--accent); }
.badge.ready::before { background: var(--ok); }
/* A ring, not a dot: in most looks --primary is the colour of --ok or of --accent. */
.badge.set_up_with_you::before { background: none; box-shadow: inset 0 0 0 2px var(--primary); }
.example { font-size: .875rem; font-weight: 600; color: var(--accentText); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.kv.total { font-weight: 700; font-size: 1.125rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.done-mark { color: var(--ok); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

/* ------------------------------------------------------------ forms */
.field { display: block; margin-bottom: 12px; }
.input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); color: var(--ink); font-size: 1rem; }
.input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--primary); flex: none; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.stepper .val { min-width: 64px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.switch { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; cursor: pointer; width: 100%; background: none; border: 0; text-align: left; color: var(--ink); }
.switch .knob { width: 52px; height: 30px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.switch .knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.switch[aria-checked="true"] .knob { background: var(--primary); }
.switch[aria-checked="true"] .knob::after { transform: translateX(22px); }

/* ------------------------------------------------------------ home */
.home { position: relative; min-height: 100%; color: #fff; background: #1b1408; }
.hero { position: absolute; inset: 0; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: drift 28s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 9, 4, .55) 0%, rgba(12, 9, 4, .25) 30%, rgba(12, 9, 4, .78) 62%, rgba(12, 9, 4, .94) 100%); }
@keyframes drift { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.16) translate(-3%, -2%); } }
.home-in { position: relative; padding: 20px 16px 28px; padding-top: max(20px, env(safe-area-inset-top)); display: flex; flex-direction: column; min-height: 100%; }
.home-top { display: flex; justify-content: space-between; align-items: center; }
.home-top .kicker { font-weight: 650; letter-spacing: .04em; font-size: .875rem; text-transform: uppercase; color: #F5E6C8; }
.home-top .icon-btn { color: #fff; }
.home h1 { font-family: var(--display); font-weight: 600; font-size: 2.25rem; line-height: 1.08; margin: 18vh 0 10px; max-width: 14ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
.home .sub { color: #F2E8D8; font-size: 1.0625rem; max-width: 34ch; margin-bottom: 20px; }
.doors { display: grid; gap: 12px; }
.door { position: relative; display: flex; align-items: flex-end; min-height: 112px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); background: #2a2014; color: #fff; text-align: left; padding: 0; cursor: pointer; width: 100%; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 4, .86) 0%, rgba(10, 8, 4, .55) 55%, rgba(10, 8, 4, .15) 100%); }
.door .in { position: relative; z-index: 1; padding: 14px 16px; }
.door .t { font-family: var(--display); font-size: 1.375rem; font-weight: 600; display: block; }
.door .d { font-size: .9375rem; color: #F2E8D8; display: block; margin-top: 2px; }
.home .yours-btn { margin-top: 14px; background: #F5E6C8; color: #1C1B18; }
.home .foot { margin-top: auto; padding-top: 20px; font-size: .875rem; color: #E8DCC6; display: flex; gap: 4px 16px; flex-wrap: wrap; align-items: center; }
.home .foot a, .home .foot button { color: #F5E6C8; background: none; border: 0; min-height: 48px; text-decoration: underline; cursor: pointer; padding: 0; font-size: .875rem; }
@media (min-width: 600px) { .doors { grid-template-columns: 1fr 1fr 1fr; } .door { min-height: 180px; } .home h1 { font-size: 2.75rem; } }
@media (min-width: 1000px) { .doors { grid-template-columns: 1fr; } .door { min-height: 104px; } .home h1 { font-size: 2.25rem; margin-top: 10vh; } }

/* ------------------------------------------------------------ menu grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.dish { position: relative; display: flex; flex-direction: column; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; padding: 0; cursor: pointer; box-shadow: var(--shadow); color: var(--ink); width: 100%; }
.dish .pic { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface2); }
.dish .meta { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dish .name { font-weight: 650; font-size: .9375rem; line-height: 1.25; }
.dish .price { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dish .count { position: absolute; top: 8px; right: 8px; min-width: 32px; height: 32px; border-radius: 16px; background: var(--primary); color: var(--onPrimary); font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 8px; font-size: .9375rem; }
.art { display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--tone, #8A6A3A) 18%, var(--surface2)); }
.art svg { width: 58%; height: 78%; }
.cat-h { margin: 20px 0 10px; }

/* ------------------------------------------------------------ order bar */
.orderbar { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 12px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, .06); }
.orderbar .sum { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 4px 0; min-height: 48px; cursor: pointer; color: var(--ink); }
.orderbar .sum .t { font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.orderbar .sum .s { font-size: .875rem; color: var(--muted); display: block; }
.fly { position: fixed; z-index: 50; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }

/* ------------------------------------------------------------ tables */
.tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tables .btn { padding: 0 4px; flex-direction: column; gap: 0; min-height: 56px; }
.tables .btn .small { font-weight: 600; }
.tables .btn.open { border-color: var(--accent); background: var(--surface2); }

/* ------------------------------------------------------------ board */
.ticket { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--r-card); padding: 12px 14px; box-shadow: var(--shadow); }
.ticket + .ticket { margin-top: 10px; }
.ticket.preparing { border-left-color: var(--primary); }
.ticket.ready { border-left-color: var(--ok); opacity: .92; }
.ticket .no { font-family: var(--display); font-size: 1.375rem; font-weight: 600; }
.ticket ul { margin: 8px 0 10px; padding-left: 0; list-style: none; }
.ticket li { padding: 3px 0; font-size: 1.0625rem; }
.ticket li .q { font-weight: 800; margin-right: 6px; }
.arrive { animation: slidein .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes slidein { from { transform: translateY(-14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.col-h { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 8px; }
.count-pill { min-width: 32px; height: 32px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface2); font-weight: 700; padding: 0 10px; }

/* ------------------------------------------------------------ sheets */
.sheets { position: absolute; inset: 0; pointer-events: none; z-index: 30; }
.backdrop { position: absolute; inset: 0; background: rgba(10, 8, 4, .5); pointer-events: auto; animation: fade .2s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92%; overflow-y: auto; background: var(--bg); border-radius: 22px 22px 0 0; pointer-events: auto; animation: rise .28s cubic-bezier(.2, .8, .2, 1); padding-bottom: env(safe-area-inset-bottom); }
.sheet-h { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 8px 8px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.sheet-h .h2, .sheet-h .h3 { flex: 1; min-width: 0; }
.sheet-b { padding: 16px; }
.sheet-story { position: sticky; bottom: 0; z-index: 2; }
.sheet-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-card); }
@media (min-width: 600px) and (max-width: 999px) { .sheet { left: 50%; width: 600px; transform: translateX(-50%); animation: none; } }
@keyframes rise { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.toast { position: absolute; left: 12px; right: 12px; bottom: 84px; z-index: 60; pointer-events: none; display: flex; justify-content: center; }
.toast .t { background: #1C1B18; color: #FBF6EC; padding: 12px 16px; border-radius: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); max-width: 420px; animation: rise .25s; }
.toast .t.warn { background: #5A1712; color: #FFF3EF; }

/* ------------------------------------------------------------ receipt and whatsapp */
.receipt { background: #FFFDF7; color: #1C1B18; font-family: ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace; font-size: .9375rem; padding: 20px 18px 26px; max-width: 340px; margin: 0 auto; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); position: relative; -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 50% 100% / 18px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 50% 100% / 18px 100% repeat-x; }
.receipt .c { text-align: center; }
.receipt hr { border: 0; border-top: 1px dashed #8A8270; margin: 10px 0; }
.receipt .stamp { margin-top: 12px; border: 2px solid #B3261E; color: #B3261E; font-weight: 800; text-align: center; padding: 6px; letter-spacing: .03em; font-family: var(--text); }
.wa { background: #E9DFD2; border-radius: 16px; overflow: hidden; color: #111B21; }
:root[data-dark="1"] .wa { background: #0B141A; color: #E9EDEF; }
.wa-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #075E54; color: #fff; }
.wa-h .av { width: 40px; height: 40px; border-radius: 50%; background: #25D366; color: #073; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #0B3B2E; }
.wa-b { padding: 14px; }
.bubble { background: #fff; color: #111B21; border-radius: 4px 14px 14px 14px; padding: 10px 12px 6px; max-width: 94%; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); font-size: .9375rem; white-space: pre-wrap; }
:root[data-dark="1"] .bubble { background: #1F2C34; color: #E9EDEF; }
.bubble .time { display: block; text-align: right; font-size: .875rem; color: #667781; margin-top: 4px; }
:root[data-dark="1"] .bubble .time { color: #8696A0; }

/* ------------------------------------------------------------ get found */
.search { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 1.0625rem; box-shadow: var(--shadow); }
.result { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.result .ph { width: 64px; height: 64px; border-radius: 10px; background: var(--surface2); display: flex; align-items: center; justify-content: center; color: var(--muted); flex: none; }
.site-hero { position: relative; border-radius: 18px; overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; color: #fff; }
.site-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 4, .05) 30%, rgba(10, 8, 4, .85) 100%); }
.site-hero .in { position: relative; z-index: 1; padding: 18px; }
.site-hero .h1 { color: #fff; }
.site-hero p { color: #F2E8D8; margin: 4px 0 0; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat .f { border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.feat .f .pic { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feat .f .meta { padding: 10px 12px; }
.menu-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dotted var(--line); }
.qr { background: #fff; padding: 14px; border-radius: 16px; width: min(260px, 100%); margin: 0 auto; }
.qr svg { width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------ market */
.timeline { list-style: none; margin: 10px 0 0; padding: 0; }
.timeline li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .9375rem; }
.timeline .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.timeline li.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.timeline li.done .dot .ic { width: 14px; height: 14px; stroke-width: 3; }
.timeline li.now .dot { border-color: var(--accent); background: var(--surface2); }
.timeline li.now { font-weight: 700; }

/* ------------------------------------------------------------ presenter */
.story-bar { flex: none; background: var(--surface2); border-top: 1px solid var(--line); padding: 10px 12px; }
.story-bar .say { font-size: .9375rem; margin: 2px 0 8px; }
.pres h2 { font-family: var(--display); font-size: 1.5rem; margin: 0 0 4px; font-weight: 600; }
.pres h3 { font-family: var(--display); font-size: 1.25rem; margin: 22px 0 8px; font-weight: 600; }
.pres .story { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pres .story .grow { flex: 1; min-width: 0; }
.pres .say { font-size: 1.0625rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 10px 0; }
.pres .check-ok { color: var(--ok); font-weight: 650; }
.pres .check-bad { color: var(--danger); font-weight: 650; }
.pres ul.not { margin: 6px 0 0; padding-left: 20px; }
.pres a { color: var(--primary); }
.presenter .pres { --primary: #14432F; --onPrimary: #fff; --line: #E4D8C2; --surface: #fff; --surface2: #F3EBDA; --ink: #1C1B18; --muted: #5E584D; --bg: #FBF6EC; --accent: #B5841F; --ok: #1D6B3A; --danger: #B3261E; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
:root.calm *, :root.calm *::before, :root.calm *::after { animation: none !important; transition: none !important; }

/* The package cards and the guided walk (plan section 4a) */
.pk + .pk { margin-top: 16px; }
.pk-top { display: flex; gap: 12px; align-items: center; }
.pk-top img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
.pk-for { margin: 10px 0 0; }
.pk-on { margin: 14px 0 0; font-weight: 600; }
.pk-h { font-size: .9375rem; font-weight: 700; margin: 16px 0 6px; }
.pk-l { list-style: none; margin: 0; padding: 0; }
.pk-l li { position: relative; padding: 4px 0 4px 26px; }
.pk-l li::before { position: absolute; left: 2px; top: 4px; font-weight: 700; color: var(--accentText); }
.pk-l.get li::before { content: '\2713'; }
.pk-l.setup li::before { content: '+'; }
.pk-l.not li::before { content: '\2013'; color: var(--muted); }
.pk-acts { display: grid; gap: 10px; margin-top: 16px; }
a.btn { text-decoration: none; }
.walk-bar .say { font-size: 1rem; }
/* A badge that answers a tap is 48 px tall to the finger; the pill keeps its look. */
.badge[data-act] { cursor: pointer; border: solid transparent; border-width: 12px 0; border-radius: 12px / 24px; background-clip: padding-box; margin-block: -4px; }
