/* Effortless Flow V1 styles. Base carried over from the prototype lab, rebranded. */

/* Layout: lab = index of four prototypes; flows = phone on a stage with a side panel (full screen on phones);
   console = app shell with tabs. Business brand colours arrive inline as --b / --b-ink / --b2. */
:root {
  --bg: #EEF0F5; --surface: #FFFFFF; --surface-2: #E6E9F1; --ink: #12151E; --muted: #586073; --line: #D5D9E3;
  --accent: #B9532F; --accent-ink: #FFFFFF; --accent-soft: #FBE9E2;
  --star: #D99500; --star-off: #B4BAC8;
  --alert: #D42F3B; --alert-soft: #FCE6E8; --ok: #0F8A58; --ok-soft: #DCF3E8; --warn: #A86200; --warn-soft: #FFF0D3;
  --bezel: #0B0D12; --g-blue: #1A73E8; --paper: #FBFBF8; --paper-ink: #1E1E1E;
  --b: #2747F5; --b-ink: #FFFFFF; --b2: #E9A23B;
  --font-display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-ui: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --shadow: 0 1px 2px rgba(18, 21, 30, .06), 0 10px 30px rgba(18, 21, 30, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0F15; --surface: #151922; --surface-2: #1D2230; --ink: #ECEEF5; --muted: #9AA2B5; --line: #2A3043;
    --accent: #E8896A; --accent-ink: #160D09; --accent-soft: #3A2219;
    --star: #F7B928; --star-off: #394055;
    --alert: #FF6470; --alert-soft: #3A1A21; --ok: #3DCB8C; --ok-soft: #13301F; --warn: #F1AA3A; --warn-soft: #3A2A10;
    --bezel: #000000; --g-blue: #8AB4F8; --paper: #1A1D24; --paper-ink: #E8E8E2;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C0F15; --surface: #151922; --surface-2: #1D2230; --ink: #ECEEF5; --muted: #9AA2B5; --line: #2A3043;
  --accent: #E8896A; --accent-ink: #160D09; --accent-soft: #3A2219;
  --star: #F7B928; --star-off: #394055;
  --alert: #FF6470; --alert-soft: #3A1A21; --ok: #3DCB8C; --ok-soft: #13301F; --warn: #F1AA3A; --warn-soft: #3A2A10;
  --bezel: #000000; --g-blue: #8AB4F8; --paper: #1A1D24; --paper-ink: #E8E8E2;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font-body); -webkit-font-smoothing: antialiased; }
#app { min-height: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--font-mono); font-size: .92em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 18px; font-weight: 600; cursor: pointer; transition: transform .12s ease, background .15s ease; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; }
.btn.small { padding: 7px 13px; font-size: 13.5px; }
.btn.big { padding: 15px 22px; font-size: 16.5px; width: 100%; }
.btn.grow { flex: 1; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; font-size: 13.5px; cursor: pointer; text-align: left; }
.linkbtn:disabled { opacity: .45; cursor: default; }
input[type=text], select, textarea { width: 100%; border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 9px 11px; }
textarea { resize: vertical; line-height: 1.5; }
select { appearance: auto; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 12px; }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 9px; font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.toggle { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; cursor: pointer; }
.toggle input { margin-top: 3px; accent-color: var(--accent); }
.toggle em { color: var(--muted); font-style: normal; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill.new { background: var(--alert-soft); color: var(--alert); }
.pill.contacted { background: var(--warn-soft); color: var(--warn); }
.pill.resolved, .pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.ex { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.pill.live { background: var(--accent-soft); color: var(--accent); }
.syncpill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.syncpill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.syncpill.live::before { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.syncpill.readonly::before, .syncpill.local::before { background: var(--warn); }

/* stars */
.stars { display: inline-flex; gap: 6px; }
.star { border: 0; background: none; padding: 2px; cursor: pointer; line-height: 0; transition: transform .15s ease; }
.star svg { width: 30px; height: 30px; fill: var(--star-off); transition: fill .12s ease; }
.star.on svg { fill: var(--star); }
.star:hover { transform: scale(1.08); }
.star.picked { animation: pop .35s ease; }
.stars.xl .star svg { width: 52px; height: 52px; }
.stars.lg .star svg { width: 40px; height: 40px; }
.stars.g .star svg { width: 36px; height: 36px; }
.stars.sm .star svg { width: 20px; height: 20px; }
.stars.sm { gap: 1px; }
.starrow { color: var(--star); letter-spacing: 1px; font-size: 14px; white-space: nowrap; }
.starrow i { color: var(--star-off); font-style: normal; }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 14px; font-weight: 500; font-size: 14.5px; cursor: pointer; transition: background .12s, border-color .12s, transform .12s; }
.chip:active { transform: scale(.95); }
.chip.on { background: var(--b); border-color: var(--b); color: var(--b-ink); animation: pop .25s ease; }
.chips.static .chip { cursor: default; padding: 5px 11px; font-size: 13px; animation: none; }
.chips.static.neg .chip.on { background: var(--alert-soft); border-color: transparent; color: var(--alert); }
.chips.static.pos .chip.on { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.chiplabel { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-block: 6px 2px; }
.chiplabel em { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; }
.chipsets { display: flex; flex-direction: column; gap: 14px; }

/* ---------- lab ---------- */
.lab { max-width: 1080px; margin: 0 auto; padding: 40px 20px 56px; display: flex; flex-direction: column; gap: 40px; }
.eyebrow { font: 600 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.lab-hero { display: flex; flex-direction: column; gap: 14px; }
.lab-hero h1 { font-size: clamp(52px, 11vw, 112px); font-weight: 800; letter-spacing: -0.045em; line-height: .9; }
.wordmark { background: linear-gradient(transparent 68%, var(--accent-soft) 68%); padding-right: .08em; }
.lede { font-size: clamp(17px, 2.2vw, 21px); max-width: 60ch; line-height: 1.45; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.howto > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-top: 2px solid var(--ink); }
.howto b { font: 700 13px/1 var(--font-mono); background: var(--ink); color: var(--bg); border-radius: 50%; min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.proto-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.proto-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; transition: transform .15s ease, border-color .15s ease; min-width: 0; }
.proto-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.proto-code { font: 800 44px/1 var(--font-display); color: var(--accent); letter-spacing: -0.04em; }
.proto-title { font: 700 22px/1.1 var(--font-display); }
.proto-tests { color: var(--ink); }
.proto-best { color: var(--muted); font-size: 13.5px; }
.proto-best em { font-style: normal; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .07em; margin-right: 4px; }
.proto-open { margin-top: 6px; font-weight: 700; color: var(--accent); }
.proto-card.console { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.proto-card.console .proto-tests { color: var(--bg); }
.proto-card.console .proto-best { color: var(--surface-2); opacity: .8; }
.proto-card.console .proto-code, .proto-card.console .proto-open { color: var(--b2); }
.lab-settings h2, .rules h2 { font-size: 24px; margin-bottom: 4px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-top: 14px; }
.rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; margin-top: 14px; }
.rules-grid h3 { font-size: 16px; margin-bottom: 4px; }
.rules-grid p { color: var(--muted); font-size: 14px; }
.rules-grid > div { border-left: 3px solid var(--ok); padding-left: 12px; }
.lab-foot { border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- flow page ---------- */
.flowpage { min-height: 100%; }
.flownav { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.flownav .back, .console-head .back { font-weight: 600; text-decoration: none; color: var(--muted); white-space: nowrap; }
.flowtitle { flex: 1; font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flowtitle b { font-family: var(--font-display); color: var(--accent); margin-right: 4px; }
.flowgrid { display: grid; grid-template-columns: 404px minmax(280px, 360px); gap: 36px; justify-content: center; align-items: start; padding: 28px 20px; }
.phone { width: 404px; height: min(840px, calc(100dvh - 120px)); min-height: 640px; padding: 9px; border-radius: 52px; background: var(--bezel); box-shadow: var(--shadow); position: sticky; top: 76px; }
.screen { height: 100%; border-radius: 44px; overflow: hidden auto; background: var(--surface); position: relative; display: flex; flex-direction: column; }
.paneltoggle, .sheet-close { display: none; }
.demopanel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.demopanel-inner { display: flex; flex-direction: column; gap: 22px; }
.demopanel section { display: flex; flex-direction: column; gap: 12px; }
.demopanel h3 { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.seg.wrap button { flex: 1 1 auto; }
.evlog { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.evlog li { display: grid; grid-template-columns: 46px 1fr auto; gap: 8px; font-size: 13.5px; align-items: baseline; animation: slidein .3s ease; }
.evlog time { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.evlog b { font-family: var(--font-mono); font-size: 12.5px; color: var(--ok); white-space: nowrap; }
@keyframes slidein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }
.sync { border-top: 1px dashed var(--line); padding-top: 12px; }

/* customer screen */
.brandbar { display: flex; align-items: center; gap: 10px; padding: 46px 18px 12px; }
.logo { width: 40px; height: 40px; border-radius: 12px; background: var(--b); color: var(--b-ink); font: 800 14px/1 var(--font-display); display: inline-flex; align-items: center; justify-content: center; letter-spacing: -0.02em; flex: none; }
.bizname { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bizname strong { font-family: var(--font-display); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bizname span { font-size: 12px; color: var(--muted); }
.brandbar-end { display: flex; gap: 6px; align-items: center; }
.locchip { font: 600 11.5px/1 var(--font-mono); padding: 6px 8px; border-radius: 8px; background: var(--surface-2); white-space: nowrap; }
.langbtn { border: 1.5px solid var(--line); background: transparent; border-radius: 8px; padding: 4px 8px; font: 700 12px/1.2 var(--font-mono); cursor: pointer; }
.runbar { display: flex; align-items: center; gap: 12px; padding: 0 18px 4px; }
.progress { display: flex; gap: 5px; flex: 1; }
.progress i { height: 5px; flex: 1; border-radius: 3px; background: var(--surface-2); transition: background .25s ease; }
.progress i.on { background: var(--b); }
.stopwatch { font: 600 14px/1 var(--font-mono); padding: 5px 9px; border-radius: 8px; background: var(--surface-2); font-variant-numeric: tabular-nums; }
.stopwatch.over { color: var(--warn); }
.screen-body { flex: 1; padding: 14px 20px 18px; display: flex; flex-direction: column; }
.step { display: flex; flex-direction: column; gap: 14px; animation: slidein .25s ease; }
.step h2 { font-size: 26px; font-weight: 700; }
.step.center { align-items: center; text-align: center; padding-top: 30px; gap: 18px; }
.step.center h2 { font-size: 30px; }
.stepnav { display: flex; gap: 10px; margin-top: 8px; }
.screen .btn.solid { background: var(--b); border-color: var(--b); color: var(--b-ink); }
.fineprint { font-size: 12px; color: var(--muted); text-align: center; }
.powered { text-align: center; font-size: 11.5px; color: var(--muted); padding: 10px 0 18px; letter-spacing: .02em; }
.powered b { font-family: var(--font-display); font-weight: 700; color: var(--ink); }

/* tap card */
.tapscreen { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 18px; }
.tapscreen h2 { font-size: 22px; }
.nfccard { position: relative; width: 250px; aspect-ratio: 1.586; max-width: 100%; border-radius: 18px; border: 0; cursor: pointer; padding: 18px; text-align: left; color: var(--b-ink); background: var(--b); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); transition: transform .2s ease; overflow: hidden; }
.nfccard:hover { transform: translateY(-3px) rotate(-1deg); }
.nfccard:active { transform: scale(.97); }
.nfccard-logo { font: 800 26px/1 var(--font-display); }
.nfccard-name { font: 700 15px/1.2 var(--font-display); }
.nfccard-cta { font-size: 12.5px; opacity: .85; }
.nfccard-loc { position: absolute; right: 14px; bottom: 14px; font: 600 11px/1 var(--font-mono); background: rgba(0, 0, 0, .2); color: inherit; padding: 5px 7px; border-radius: 6px; }
.nfc-waves { position: absolute; right: 16px; top: 14px; width: 34px; height: 34px; }
.nfc-waves i { position: absolute; inset: 0; border: 2px solid currentColor; border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(45deg) scale(.4); opacity: 0; animation: wave 2s ease-out infinite; }
.nfc-waves i:nth-child(2) { animation-delay: .4s; }
.nfc-waves i:nth-child(3) { animation-delay: .8s; }
@keyframes wave { 0% { transform: rotate(45deg) scale(.3); opacity: .9; } 100% { transform: rotate(45deg) scale(1.1); opacity: 0; } }

/* help + follow-up */
.help { border: 1.5px solid var(--alert); background: var(--alert-soft); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.help p { font-weight: 600; }
.help-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.help.answered { border-color: transparent; background: var(--surface-2); font-size: 14px; }
.help.answered.yes { background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.followbtn { font-size: 13.5px; }
.follow { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }

/* voice */
.voicebox { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.micbtn { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--b); color: var(--b-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform .15s ease; }
.micbtn svg { width: 28px; height: 28px; fill: currentColor; }
.micbtn:active { transform: scale(.94); }
.voicebox.big .micbtn { width: 96px; height: 96px; }
.voicebox.big .micbtn svg { width: 40px; height: 40px; }
.pulse { position: absolute; inset: -8px; border-radius: 50%; border: 3px solid var(--b); animation: pulse 1.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }
.voice-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.kbhint { font-size: 13px; background: var(--surface-2); padding: 8px 12px; border-radius: 10px; text-align: center; }
.kbmic { margin-right: 2px; }
.voicebox textarea { min-height: 64px; }
.linkbtn.sample { font-size: 12.5px; color: var(--muted); border-bottom: 1px dashed var(--line); }

/* draft */
.draft, .livedraft { display: flex; flex-direction: column; gap: 6px; }
.draft-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.draft-src { font: 600 11.5px/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.draft-src.ai { color: var(--ok); }
.draft textarea, .livedraft textarea { font-size: 16px; background: var(--paper); color: var(--paper-ink); border-color: var(--line); min-height: 120px; }
.livedraft.busy textarea { border-style: dashed; }
.shimmer, .shimmer-line { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface) 50%, var(--surface-2) 75%) !important; background-size: 200% 100% !important; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.gbtn { margin-top: 4px; }
.g-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); color: var(--g-blue); font: 800 13px/22px var(--font-body); }
.toast { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; z-index: 40; white-space: nowrap; animation: slidein .2s ease; }

/* simulated google sheet */
.gsheet-wrap { position: absolute; inset: 0; background: rgba(8, 10, 14, .55); display: flex; align-items: flex-end; z-index: 30; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.gsheet { width: 100%; background: var(--surface); border-radius: 22px 22px 0 0; padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 10px; animation: rise .28s cubic-bezier(.2, .8, .2, 1); max-height: 92%; overflow: auto; }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.gsheet-top { display: flex; justify-content: space-between; align-items: center; }
.g-word { font: 700 17px/1 var(--font-body); color: var(--muted); letter-spacing: -0.01em; }
.g-close { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
.g-biz { font-weight: 700; font-size: 17px; }
.g-title { font-size: 13px; color: var(--muted); margin-top: -6px; }
.g-user { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.g-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.g-stars-hint { font-size: 12.5px; color: var(--muted); }
.g-field { position: relative; }
.g-field textarea { border-radius: 6px; min-height: 110px; }
.g-paste { position: absolute; left: 12px; top: 10px; border: 0; background: var(--ink); color: var(--bg); border-radius: 8px; padding: 6px 12px; font-weight: 600; font-size: 13px; cursor: pointer; animation: pop .4s ease; }
.g-post { align-self: flex-end; border: 0; background: var(--g-blue); color: var(--surface); padding: 10px 24px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.g-post:disabled { opacity: .4; cursor: not-allowed; }
.g-note { font-size: 11.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }

/* done */
.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 24px; animation: slidein .3s ease; }
.done h2 { font-size: 26px; }
.stamp { width: 84px; height: 84px; border-radius: 50%; background: var(--b); color: var(--b-ink); font-size: 42px; display: inline-flex; align-items: center; justify-content: center; animation: stamp .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes stamp { from { transform: scale(.2) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.timer-big { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 22px; border-radius: var(--r-md); background: var(--surface-2); }
.timer-big span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.timer-big b { font: 700 46px/1.05 var(--font-mono); font-variant-numeric: tabular-nums; }
.timer-big em { font-style: normal; font-size: 12px; color: var(--muted); }
.timer-big.good b { color: var(--ok); }
.timer-big.slow b { color: var(--warn); }

/* voice-first */
.voicefirst h2 { font-size: 24px; }
.vf-head { display: flex; justify-content: space-between; align-items: center; }
.tapfallback summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }

/* chat */
.screen-body.chat { padding: 0; overflow: auto; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 2; }
.chat-head div { flex: 1; display: flex; flex-direction: column; }
.chat-head div span { font-size: 12px; color: var(--muted); }
.bot-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--b); color: var(--b-ink); font: 800 11px/32px var(--font-display); text-align: center; }
.msgs { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 8px; flex: 1; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 15px; animation: slidein .2s ease; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--b); color: var(--b-ink); border-bottom-right-radius: 6px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.draftmsg { max-width: 92%; background: var(--paper) !important; color: var(--paper-ink); border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.draftmsg p { font-size: 15.5px; }
.shimmer-line { color: transparent; border-radius: 6px; min-height: 3em; }
.draftmsg-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.composer { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 12px 16px; }
.composer:empty { display: none; }
.qr { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.qr > .stars { align-self: center; }
.qr-row { flex-direction: row; justify-content: center; }
.qr-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- console ---------- */
.console { min-height: 100%; display: flex; flex-direction: column; }
.console-head { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: var(--surface); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ch-title { display: flex; flex-direction: column; flex: 1; min-width: 160px; }
.ch-title b { font-family: var(--font-display); font-size: 17px; }
.ch-title span { font-size: 12.5px; color: var(--muted); }
.ch-title span b { font-size: 12.5px; color: var(--accent); }
.ch-end { display: flex; gap: 10px; align-items: center; }
.ch-end select { width: auto; }
.tabs { display: flex; gap: 2px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { position: relative; border: 0; background: none; padding: 12px 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--accent); }
.badge { position: absolute; top: 9px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--alert); }
.tabbody { flex: 1; }
.tabpad { max-width: 1180px; margin: 0 auto; padding: 22px 20px 32px; display: flex; flex-direction: column; gap: 22px; }
.tabpad h3 { font-size: 18px; }
.console-foot { padding: 14px 20px 22px; text-align: center; border-top: 1px solid var(--line); }

.live-grid { display: grid; grid-template-columns: 300px 320px minmax(0, 1fr); gap: 18px; padding: 20px; max-width: 1400px; margin: 0 auto; align-items: start; }
.ownerphone { background: var(--bezel); border-radius: 34px; padding: 8px; position: sticky; top: 12px; }
.op-head { background: var(--surface); border-radius: 27px 27px 0 0; padding: 18px 16px 10px; display: flex; flex-direction: column; text-align: center; border-bottom: 1px solid var(--line); }
.op-head span { font-size: 11.5px; color: var(--muted); }
.op-body { background: var(--surface); height: 430px; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.sms { text-align: left; border: 0; background: var(--surface-2); padding: 10px 12px; border-radius: 16px 16px 16px 5px; font-size: 13.5px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; max-width: 94%; color: var(--ink); }
.sms time { font-size: 11px; color: var(--muted); }
.sms.tone-go { box-shadow: inset 3px 0 0 var(--ok); }
.sms.tone-stop { box-shadow: inset 3px 0 0 var(--warn); }
.sms.fresh { animation: smsin .5s cubic-bezier(.2, 1.4, .4, 1); }
.sms.ex { opacity: .78; }
@keyframes smsin { from { transform: translateY(14px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.op-foot { background: var(--surface); border-radius: 0 0 27px 27px; padding: 10px 14px 16px; font-size: 11.5px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
.caselist { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.caselist h3 { font-size: 14px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.count { font-size: 11px; background: var(--surface-2); color: var(--ink); padding: 2px 7px; border-radius: 999px; letter-spacing: 0; }
.writing, .cases { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.writing li { display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 14px; flex-wrap: wrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); animation: blink 1.4s infinite; flex: none; }
.dot.red { background: var(--alert); }
.case { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 5px; padding: 12px 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.case.sel { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.case-mid { font-size: 14px; }
.casedetail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.casedetail.empty { min-height: 200px; justify-content: center; text-align: center; }
.cd-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 16px; }
.cd-head > div { flex: 1; }
.livebar { display: flex; gap: 8px; align-items: center; background: var(--ok-soft); color: var(--ok); padding: 8px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: 13.5px; }
.cd-block { display: flex; flex-direction: column; gap: 8px; }
.cd-block h4, .steps h4 { font-size: 12px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.cd-block.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cd-block.two > div { display: flex; flex-direction: column; gap: 4px; }
.go { color: var(--ok); }
.stop { color: var(--warn); }
blockquote { margin: 0; padding: 8px 14px; border-left: 3px solid var(--line); font-style: italic; color: var(--muted); }
.posted { background: var(--paper); color: var(--paper-ink); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.posted.pending { border-style: dashed; }
.guardrail { background: var(--warn-soft); color: var(--ink); border-radius: var(--r-sm); padding: 10px 14px; font-size: 13.5px; }
.guardrail b { color: var(--warn); }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); }
.steps li.done { border-color: var(--ok); background: linear-gradient(var(--ok-soft), transparent 60%); }
.steps li.done h4 { color: var(--ok); }
.row { display: flex; gap: 8px; flex-wrap: wrap; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpis.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi b { font: 700 28px/1.15 var(--font-display); font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 12px; color: var(--muted); }
.benchbar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px 10px; }
.bb-track { position: relative; height: 34px; background: var(--surface-2); border-radius: 8px; overflow: hidden; }
.bb-zone { position: absolute; top: 0; bottom: 0; background: var(--ok-soft); color: var(--ok); font-size: 11.5px; font-weight: 700; padding: 0 8px; display: flex; align-items: center; justify-content: flex-end; white-space: nowrap; overflow: hidden; }
.bb-you { position: absolute; left: 0; top: 9px; height: 16px; background: var(--b); border-radius: 0 6px 6px 0; transition: width .4s ease; }
.bb-avg { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed var(--ink); font-size: 10.5px; font-weight: 700; z-index: 2; }
.bb-avg i { display: none; }
.bb-scale { display: flex; justify-content: space-between; font: 11px var(--font-mono); color: var(--muted); padding-top: 4px; }
.reviewlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.reviewlist li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.rv-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rv-foot { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.verified { color: var(--ok); font-weight: 600; }
.replied { color: var(--accent); font-weight: 600; }

.insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.insights section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.insights .wide { grid-column: 1 / -1; }
.bars { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 140px) 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.bar-track { height: 14px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; transition: width .4s ease; }
.bars.neg .bar-fill { background: var(--alert); }
.bar-val { font: 600 12.5px var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.placemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.placemap.desk { grid-template-columns: minmax(0, 220px); }
.place { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; aspect-ratio: 1.2; justify-content: center; text-align: center; }
.placemap.desk .place, .placemap.tech .place { aspect-ratio: auto; }
.place b { font-family: var(--font-display); font-size: 14px; }
.place.hot { border-color: var(--alert); background: var(--alert-soft); }
.place.hot em { color: var(--alert); font-style: normal; font-weight: 700; }
.place.cur { box-shadow: 0 0 0 3px var(--accent-soft); }

.billing { display: grid !important; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.billing section { display: flex; flex-direction: column; gap: 14px; }
.planpick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plan { text-align: left; border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 14px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.plan b { font-family: var(--font-display); font-size: 15.5px; }
.plan span { font-size: 13px; color: var(--muted); }
.plan.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sliders { display: flex; flex-direction: column; gap: 14px; }
.slider { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 13.5px; }
.slider b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.slider input { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
.receipt { background: var(--paper); color: var(--paper-ink); font-family: var(--font-mono); font-size: 12.5px; padding: 22px 20px 26px; border-radius: 4px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 420px; justify-self: center; width: 100%; }
.receipt::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(-45deg, transparent 6px, var(--paper) 0) 0 0 / 12px 8px repeat-x, linear-gradient(45deg, transparent 6px, var(--paper) 0) 0 0 / 12px 8px repeat-x; }
.rc-head { display: flex; flex-direction: column; align-items: center; gap: 2px; border-bottom: 1px dashed currentColor; padding-bottom: 12px; text-align: center; }
.rc-head b { font-size: 16px; letter-spacing: .2em; }
.rc-lines { display: flex; flex-direction: column; gap: 8px; }
.rc-line { display: flex; justify-content: space-between; gap: 12px; }
.rc-line.muted { opacity: .65; }
.rc-line b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-total { display: flex; justify-content: space-between; border-top: 1px dashed currentColor; padding-top: 10px; font-size: 16px; font-weight: 700; }
.rc-foot { font-size: 11.5px; opacity: .75; text-align: center; line-height: 1.6; }

.setup p.muted { max-width: 70ch; }
.setup-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.setup-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; counter-increment: s; min-width: 0; }
.setup-steps h4 { font-size: 16px; display: flex; gap: 10px; align-items: center; }
.setup-steps h4::before { content: counter(s); font: 700 12px/1 var(--font-mono); background: var(--ink); color: var(--bg); border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }
.claim { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.cardids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 14px; font-size: 13px; max-height: 180px; overflow: auto; }
.cardids li { display: flex; gap: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.pitch .namegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.namecard { text-align: left; border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; min-width: 0; }
.namecard b { font: 800 28px/1 var(--font-display); letter-spacing: -0.03em; }
.namecard span { font-size: 13px; color: var(--muted); }
.namecard em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent); margin-top: auto; }
.namecard.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; margin-top: 12px; align-items: start; }
.calc-out { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ramp { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 190px; padding: 12px 12px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); position: relative; }
.ramp-col { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; height: 100%; gap: 4px; }
.ramp-bar { display: flex; flex-direction: column-reverse; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; overflow: hidden; transition: height .3s ease; }
.ramp-bar .ag { display: block; background: var(--b2); width: 100%; }
.ramp-m { font: 10.5px var(--font-mono); color: var(--muted); text-align: center; padding-bottom: 6px; }
.ramp-legend { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; padding: 8px 0 10px; border-top: 1px solid var(--line); }
.ramp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.ramp-legend i.d { background: var(--accent); }
.ramp-legend i.a { background: var(--b2); }
.ramp { grid-template-rows: 1fr auto; }


/* ---------- final review ---------- */
.review-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--accent-soft); border: 1.5px solid var(--accent); color: var(--ink); text-decoration: none; }
.review-cta b { font-family: var(--font-display); font-size: 19px; display: block; margin-bottom: 2px; }
.review-cta:hover { transform: translateY(-1px); }
.back-link { font-weight: 600; text-decoration: none; color: var(--muted); }
.review-title { font-size: clamp(36px, 7vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
.review section { display: flex; flex-direction: column; gap: 14px; }
.review h2 { font-size: 22px; }
.review h3 { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.rate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rate-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rate-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rate-top b { font-family: var(--font-display); font-size: 16px; }
.rate-top a { font-weight: 600; font-size: 13.5px; text-decoration: none; }
.rate-card .stars.sm .star svg { width: 28px; height: 28px; }
.feat-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.feat-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.feat-list li:first-child { border-top: 0; }
.feat-list li > span { min-width: 0; flex: 1 1 220px; }
.seg.verdict button.on.keep { background: var(--ok-soft); color: var(--ok); }
.seg.verdict button.on.maybe { background: var(--warn-soft); color: var(--warn); }
.seg.verdict button.on.drop { background: var(--alert-soft); color: var(--alert); }
.pick-list { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.pick-list .seg { display: flex; }
.draft-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.draft-src.self { color: var(--accent); }
@media (max-width: 640px) {
  .rate-grid { grid-template-columns: minmax(0, 1fr); }
  .review-cta { flex-direction: column; align-items: flex-start; }
}


/* ---------- v0.3: drill-down bubbles ---------- */
.drill { display: flex; flex-direction: column; gap: 10px; }
.picked { display: flex; flex-wrap: wrap; gap: 6px; }
.pickchip { display: inline-flex; align-items: stretch; border-radius: 999px; background: var(--surface-2); overflow: hidden; max-width: 100%; animation: pop .25s ease; }
.pickchip.focus { box-shadow: 0 0 0 2px var(--b); }
.pc-main { border: 0; background: transparent; padding: 6px 4px 6px 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: left; min-width: 0; }
.pc-main em { font-style: normal; font-weight: 500; color: var(--muted); }
.pc-x { border: 0; background: transparent; padding: 0 11px 0 6px; font-size: 17px; line-height: 1; color: var(--muted); cursor: pointer; }
.pickchip.neg .pc-main { color: var(--alert); }
.pickchip.pos .pc-main { color: var(--ok); }
.drillgrid { min-height: 96px; }
.chip.kid { border-style: dashed; border-color: var(--b); background: transparent; animation: kidin .28s cubic-bezier(.2, .9, .3, 1.2); }
.chip.kid.on { border-style: solid; background: var(--b); color: var(--b-ink); }
.kid-mark { margin-right: 5px; opacity: .6; font-weight: 700; }
@keyframes kidin { from { opacity: 0; transform: translateY(6px) scale(.95); } to { opacity: 1; transform: none; } }
.drill.mid .chip.tpos::before, .drill.mid .chip.tneg::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.drill.mid .chip.tpos::before { background: var(--ok); }
.drill.mid .chip.tneg::before { background: var(--alert); }

/* ---------- v0.3: voice-first live card + review in focus ---------- */
.livecard { border: 1.5px dashed var(--line); border-radius: var(--r-md); padding: 12px 14px; background: var(--paper); color: var(--paper-ink); display: flex; flex-direction: column; gap: 6px; transition: border-color .2s ease; }
.livecard.has { border-style: solid; border-color: var(--b); }
.livecard p { font-size: 16px; line-height: 1.45; min-height: 2.9em; }
.livecard:not(.has) p { color: var(--muted); font-size: 14px; }
.livecard.busy .draft-src::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--b); animation: blink 1s infinite; vertical-align: 1px; }
.review-focus .vf-head h2 { font-size: 24px; }
.reviewcard { border: 2px solid var(--b); border-radius: var(--r-lg); background: var(--paper); color: var(--paper-ink); padding: 14px; display: flex; flex-direction: column; gap: 10px; animation: focusin .38s cubic-bezier(.2, .9, .3, 1.15); box-shadow: var(--shadow); }
.reviewcard textarea { border: 0; background: transparent; color: inherit; font-size: 17px; line-height: 1.5; padding: 2px 0; min-height: 132px; resize: none; }
.reviewcard textarea:focus-visible { outline: none; }
.rcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.reviewcard .draft-actions { border-top: 1px solid var(--line); padding-top: 10px; }
@keyframes focusin { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- v0.3: console live focus ---------- */
.livewrap { display: flex; flex-direction: column; }
.livefocus { margin: 20px 20px 0; max-width: 1360px; align-self: center; width: calc(100% - 40px); border: 2px solid var(--alert); background: var(--alert-soft); border-radius: var(--r-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; animation: focusin .35s ease, redpulse 1.4s ease-in-out .35s infinite; }
@keyframes redpulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--alert) 45%, transparent); } 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--alert) 0%, transparent); } }
.lf-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lf-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--alert); color: var(--surface); font: 700 12px/1 var(--font-mono); letter-spacing: .12em; padding: 6px 10px; border-radius: 999px; }
.lf-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface); animation: blink 1s infinite; }
.lf-where { font: 800 clamp(24px, 3.4vw, 34px)/1.1 var(--font-display); letter-spacing: -0.02em; }
.lf-time { font: 600 14px var(--font-mono); color: var(--alert); font-variant-numeric: tabular-nums; }
.lf-more { font-size: 13px; color: var(--muted); }
.lf-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.lf-said, .lf-visit { background: var(--surface); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lf-body h4 { font: 600 11.5px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.lf-visit p { font: 700 19px/1.3 var(--font-display); }
.lf-visit.go p { color: var(--ok); }
.lf-visit.stop p { color: var(--warn); }
.lf-visit.wait p { color: var(--muted); font-weight: 600; font-size: 16px; }
.lf-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; flex-wrap: wrap; }
.caselist.hot { border-radius: var(--r-md); outline: 2px solid var(--alert); outline-offset: 6px; animation: redoutline 1.4s ease-in-out infinite; }
@keyframes redoutline { 0%, 100% { outline-color: var(--alert); } 50% { outline-color: transparent; } }

/* ---------- v0.3: lab tags ---------- */
.proto-code { display: flex; align-items: center; gap: 10px; }
.proto-tag { font: 700 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.proto-tag.pick { background: var(--ok-soft); color: var(--ok); }
.proto-tag.dropped { background: var(--surface-2); color: var(--muted); }
.proto-card.is-dropped { opacity: .55; }
@media (max-width: 899px) {
  .livefocus { margin: 14px 16px 0; width: calc(100% - 32px); }
  .lf-body { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .live-grid { grid-template-columns: 280px minmax(0, 1fr); }
  .live-grid .casedetail { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .flowgrid { display: block; padding: 0; }
  .phone { width: 100%; height: auto; min-height: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; position: static; }
  .screen { border-radius: 0; overflow: visible; min-height: calc(100dvh - 54px); }
  .brandbar { padding-top: 14px; }
  .paneltoggle { display: inline-flex; }
  .demopanel { position: fixed; left: 0; right: 0; bottom: 0; max-height: 82dvh; overflow-y: auto; border-radius: 22px 22px 0 0; z-index: 50; transform: translateY(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .demopanel.open { transform: none; }
  .sheet-close { display: block; margin-left: auto; margin-bottom: 8px; border: 0; background: var(--surface-2); border-radius: 999px; padding: 6px 12px; font-weight: 600; cursor: pointer; }
  .gsheet-wrap, .toast { position: fixed; }
  .screen-body.chat { overflow: visible; }
  .chat-head { top: 54px; }
  .live-grid { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .ownerphone { position: static; }
  .op-body { height: 300px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insights, .billing, .calc-grid, .setup-steps { grid-template-columns: minmax(0, 1fr) !important; }
  .pitch .namegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .howto, .rules-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lab { padding-top: 24px; gap: 30px; }
  .proto-grid, .settings-grid, .planpick, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .ch-end { width: 100%; justify-content: space-between; }
  .step.center h2 { font-size: 26px; }
  .stars.xl .star svg { width: 46px; height: 46px; }
  .bar-row { grid-template-columns: 96px 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ================================================================ Effortless Flow V1 */
/* Display face is Instrument Serif (one weight): keep headings at 400; small UI headings use Inter. */
h1, h2, .step h2, .step.center h2, .done h2, .review-focus .vf-head h2 { font-weight: 400; letter-spacing: -0.01em; }
h3, h4, .tabpad h3, .caselist h3, .cd-block h4, .steps h4, .lf-body h4 { font-family: var(--font-ui); }
.bizname strong, .lf-where, .kpi b, .proto-title, .logo, .namecard b { font-family: var(--font-ui); font-weight: 700; letter-spacing: -0.01em; }
.lf-where { font-weight: 800; }
.wordmark-ef { font-family: var(--font-display); font-size: 1.05em; letter-spacing: 0.01em; color: var(--ink); white-space: nowrap; }
.wordmark-ef em { font-style: italic; }
.wordmark-ef.sm { font-size: 15px; }

/* customer page: one calm column, full height on phones */
.page-card { background: var(--surface); }
.cust { max-width: 520px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; background: var(--surface); }
.cust .brandbar { padding-top: max(14px, env(safe-area-inset-top, 0px)); }
.cust .screen-body { flex: 1; }
.cust .powered { display: flex; justify-content: center; align-items: baseline; gap: 6px; padding-bottom: max(18px, env(safe-area-inset-bottom, 0px)); }
.cust .btn.solid { background: var(--b); border-color: var(--b); color: var(--b-ink); }
.sent .sent-text { background: var(--paper); color: var(--paper-ink); font-size: 15px; }
a.btn { text-decoration: none; }
.center-msg { justify-content: center; align-items: center; text-align: center; padding: 24px; gap: 10px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--surface-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 560px) { .page-card { background: var(--bg); } .cust { margin-block: 24px; min-height: calc(100dvh - 48px); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; } }

/* owner console */
.page-owner { background: var(--bg); }
.owner-msg { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; }
.live-grid.two { grid-template-columns: 340px minmax(0, 1fr); }
.setup { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.setup-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.setup-card.wide { grid-column: 1 / -1; }
.row.between { justify-content: space-between; align-items: center; }
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.qrcard { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; background: var(--surface); }
.qrcard .qr { width: 132px; height: 132px; background: #fff; border-radius: 8px; padding: 4px; }
.qrcard .qr svg { width: 100%; height: 100%; display: block; }
.qrcard .mono { word-break: break-all; color: var(--muted); }
.print-sheet { display: none; }
@media print {
  body * { visibility: hidden !important; }
  .print-sheet, .print-sheet * { visibility: visible !important; }
  .print-sheet { display: grid !important; position: absolute; inset: 0; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 24px; background: #fff; color: #111; }
  .print-card { border: 1px dashed #999; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; break-inside: avoid; font-family: Inter, sans-serif; }
  .print-card .qr { width: 170px; height: 170px; }
  .print-card .qr svg { width: 100%; height: 100%; }
  .print-card b { font-size: 16px; } .print-card span { font-size: 13px; } .print-card em { font-style: normal; font-size: 12px; color: #555; }
}
@media (max-width: 899px) {
  .live-grid.two { grid-template-columns: minmax(0, 1fr); }
  .setup { grid-template-columns: minmax(0, 1fr) !important; }
}

/* home */
.page-home { background: var(--bg); }
.home { max-width: 720px; margin: 0 auto; padding: 56px 20px 48px; display: flex; flex-direction: column; gap: 22px; }
.home-mark .wordmark-ef { font-size: 28px; }
.home h1 { font-size: clamp(40px, 8vw, 68px); line-height: 1.02; }
.home-lede { font-size: 19px; max-width: 58ch; }
.home-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.home-points li { padding-left: 16px; border-left: 3px solid var(--accent); }
.home-cta .btn { width: auto; display: inline-flex; }
.home-foot { color: var(--muted); font-size: 14px; }

/* admin / master tracker */
.admin .ch-end { flex-wrap: wrap; }
.kpis.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.adm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.adm-card.wide { grid-column: 1 / -1; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.adm-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-table td { padding: 8px; border-bottom: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }
.daily { width: 100%; height: auto; }
.daily .grid { stroke: var(--line); stroke-width: 1; }
.daily .tick { fill: var(--muted); font: 11px var(--font-mono); }
.daily .opened { fill: var(--surface-2); }
.daily .sent { fill: var(--accent); }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 10px; vertical-align: -1px; }
.key.opened { background: var(--surface-2); border: 1px solid var(--line); }
.key.sent { background: var(--accent); }
.raw pre { white-space: pre-wrap; background: var(--surface-2); border-radius: var(--r-sm); padding: 12px; overflow-x: auto; }
.adm-err { margin: 12px 20px 0; padding: 10px 14px; border-radius: var(--r-sm); background: var(--alert-soft); color: var(--alert); }
.owner-msg form input { width: 260px; max-width: 100%; }
@media (max-width: 1100px) { .kpis.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .adm-grid { grid-template-columns: minmax(0, 1fr); } .kpis.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* "Caught them before they left?" */
.caught { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13.5px; font-weight: 600; }
.caught .seg button.on.yes { background: var(--ok-soft); color: var(--ok); }
.caught .seg button.on.no { background: var(--warn-soft); color: var(--warn); }
.savebox { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); background: var(--ok-soft); }
.savebox span { font-size: 12.5px; font-weight: 600; color: var(--ok); }
.savebox b { font: 700 26px/1.1 var(--font-ui); color: var(--ink); font-variant-numeric: tabular-nums; }
.savebox em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ---- demo bar (card + owner pages of demo businesses) */
.demobar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 600; position: sticky; top: 0; z-index: 30; }
.demobar a { color: var(--bg); text-decoration: none; white-space: nowrap; }
.demobar a.go { background: var(--accent); color: var(--accent-ink); padding: 4px 10px; border-radius: 999px; }
.demobar span { opacity: .75; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 380px) { .demobar span { display: none; } }
.demo-note { background: var(--accent-soft); border-color: transparent; color: var(--ink); font-size: 14px; margin: 0; }

/* ---- /demo page */
.page-demo { background: var(--bg); }
.dm-top { max-width: 1400px; margin: 0 auto; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dm-mark { text-decoration: none; color: var(--ink); }
.dm-mark .wordmark-ef { font-size: 24px; }
.dm { max-width: 1400px; margin: 0 auto; padding: 0 16px 56px; display: flex; flex-direction: column; gap: 24px; }
.dm-intro { display: flex; flex-direction: column; gap: 12px; }
.dm-intro h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.02; }
.dm-lede { font-size: 17.5px; max-width: 62ch; margin: 0; }
.dm-pick { align-self: flex-start; flex-wrap: wrap; max-width: 100%; }
.dm-pick button { white-space: nowrap; }
.dm-mobile { display: flex; flex-direction: column; gap: 12px; }
.dm-step { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 14px; padding: 18px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; transition: transform .12s ease, border-color .15s ease; }
.dm-step:active { transform: scale(.99); }
.dm-step:hover { border-color: var(--accent); }
.dm-step b { font: 700 15px/1 var(--font-mono); background: var(--accent); color: var(--accent-ink); border-radius: 50%; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; }
.dm-step span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dm-step strong { font: 400 22px/1.1 var(--font-display); }
.dm-step em { font-style: normal; color: var(--muted); font-size: 14px; }
.dm-step i { font-style: normal; color: var(--accent); font-weight: 700; font-size: 18px; }
.dm-tip { margin: 0; font-size: 14px; color: var(--muted); }
.dm-stage { display: none; }
.dm-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.dm-phone { width: 390px; height: min(820px, calc(100vh - 120px)); min-height: 620px; border: 10px solid var(--bezel); border-radius: 46px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 50px rgba(10, 14, 30, .18); }
.dm-owner { height: min(820px, calc(100vh - 120px)); min-height: 620px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: 0 10px 30px rgba(10, 14, 30, .08); }
.dm-phone iframe, .dm-owner iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--surface); }
.dm-side { display: flex; flex-direction: column; gap: 10px; padding-top: 30px; }
.dm-side p { margin: 0; }
.dm-qr { width: 170px; height: 170px; background: #fff; border-radius: var(--r-md); padding: 8px; border: 1px solid var(--line); }
.dm-qr svg { width: 100%; height: 100%; display: block; }
.dm-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dm-points { display: grid; grid-template-columns: 1fr; gap: 12px; }
.dm-points > div { padding-left: 14px; border-left: 3px solid var(--accent); font-size: 15px; }
@media (min-width: 760px) { .dm-points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1060px) {
  .dm { gap: 18px; }
  .dm-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 6px; }
  .dm-intro h1 { font-size: 46px; }
  .dm-lede { font-size: 15.5px; grid-row: 2; }
  .dm-pick { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
  .dm-mobile { display: none; }
  .dm-stage { display: grid; grid-template-columns: 390px minmax(0, 1fr) 190px; gap: 24px; align-items: start; }
  .dm-phone, .dm-owner { height: max(600px, min(840px, calc(100vh - 210px))); min-height: 0; }
}
.home-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.home-how { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: how; }
.home-how li { counter-increment: how; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: baseline; }
.home-how li::before { content: counter(how); font: 700 13px/1 var(--font-mono); background: var(--ink); color: var(--bg); border-radius: 50%; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; }

/* ---- demo: card tap + pretend Google review page */
.nfccard.tapped { animation: tapbuzz .45s ease; }
@keyframes tapbuzz { 0% { transform: scale(1); } 30% { transform: scale(.94) rotate(-1deg); } 60% { transform: scale(1.03); } 100% { transform: scale(1); box-shadow: 0 0 0 6px color-mix(in srgb, var(--b) 35%, transparent), 0 18px 40px -12px rgba(0, 0, 0, .45); } }
.gpage { position: fixed; inset: 0; z-index: 50; background: #fff; color: #202124; display: flex; flex-direction: column; animation: rise .3s ease; font-family: var(--font-body); }
.gs-demo { background: #FEF7E0; color: #7A5B00; font-size: 12px; font-weight: 600; text-align: center; padding: 6px 12px; }
.gs-top { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #E8EAED; }
.gs-x { border: 0; background: none; font-size: 20px; color: #5F6368; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; }
.gs-biz { font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-post { border: 0; border-radius: 20px; padding: 9px 20px; font-weight: 600; font-size: 14px; background: #1A73E8; color: #fff; cursor: pointer; }
.gs-post:disabled { background: #E8EAED; color: #9AA0A6; cursor: default; }
.gs-body { padding: 18px 18px 24px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.gs-who { display: flex; align-items: center; gap: 12px; }
.gs-who span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.gs-who b { font-weight: 500; font-size: 15px; }
.gs-who em { font-style: normal; color: #5F6368; font-size: 13px; }
.gs-avatar { width: 40px; height: 40px; border-radius: 50%; background: #7B1FA2; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.gs-stars { display: flex; justify-content: center; gap: 10px; padding: 6px 0 0; }
.gs-star { border: 0; background: none; font-size: 40px; line-height: 1; color: #DADCE0; cursor: pointer; padding: 0; transition: transform .12s ease, color .12s ease; }
.gs-star.on { color: #FBBC04; }
.gs-star:active { transform: scale(1.2); }
.gs-hint { margin: -6px 0 0; text-align: center; color: #1A73E8; font-size: 13px; font-weight: 600; animation: blink 1.6s ease-in-out infinite; }
.gs-box { position: relative; }
.gs-box textarea { width: 100%; min-height: 150px; border: 1px solid #DADCE0; border-radius: 8px; padding: 12px; font: 15px/1.5 var(--font-body); color: #202124; background: #fff; resize: vertical; }
.gs-box textarea:focus { outline: 2px solid #1A73E8; border-color: transparent; }
.gs-paste { position: absolute; left: 12px; top: 44px; border: 0; border-radius: 10px; background: #202124; color: #fff; font-weight: 600; font-size: 15px; padding: 10px 16px; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); animation: rise .25s ease; }
.gs-paste::before { content: ''; position: absolute; left: 22px; top: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: #202124; }
.gs-done { position: absolute; inset: 0; background: rgba(255, 255, 255, .96); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; animation: fade .25s ease; }
.gs-done b { font-size: 22px; font-weight: 600; }
.gs-done span { color: #5F6368; max-width: 30ch; }
.gs-check { width: 72px; height: 72px; border-radius: 50%; background: #1E8E3E; color: #fff; font-size: 38px; display: inline-flex; align-items: center; justify-content: center; animation: stamp .45s cubic-bezier(.2, 1.6, .4, 1); }

/* ---- V2: make it right, photo, email copy */
.help.mir .help-actions { flex-wrap: wrap; }
.help.later { display: flex; flex-direction: column; gap: 8px; }
.mir-later { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.mir-later input { font-weight: 400; }
.photopick { display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.photopick input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pp-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px dashed var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; color: var(--muted); background: transparent; }
.photopick:hover .pp-btn, .photopick:focus-within .pp-btn { border-color: var(--b); color: var(--ink); }
.pp-btn svg { width: 18px; height: 18px; }
.photopick.has { justify-content: flex-start; background: var(--surface-2); border-radius: var(--r-md); padding: 8px; cursor: default; }
.photopick.has img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; flex: none; }
.photopick.has span { flex: 1; color: var(--muted); }
.emailme { align-self: center; }
.emailme.open { align-self: stretch; display: flex; flex-direction: column; gap: 6px; }
.emailme.open .row { display: flex; gap: 8px; }
.emailme.open input { flex: 1; }
.emailme.done { text-align: center; }
.gs-photos { display: flex; align-items: center; gap: 10px; color: #5F6368; font-size: 13px; }
.gs-photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }

/* ---- V2 owner: shift bar, alert numbers, accept case */
.shiftbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); margin-bottom: 14px; }
.shift-master { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--muted); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; cursor: pointer; }
.shift-master i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.shift-master.on { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); }
.shift-master.on i { background: var(--ok); }
.shift-chip { border: 1.5px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 5px 11px; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.shift-chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.shift-chip:disabled { opacity: .5; cursor: default; }
.numrows { display: flex; flex-direction: column; gap: 8px; }
.numrow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
@media (max-width: 560px) { .numrow { grid-template-columns: 1fr 1fr; } }
.accept { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: var(--r-md); background: var(--accent-soft); font-size: 14px; }
.accept.done { background: var(--surface-2); color: var(--muted); }
.cd-block.extras { display: flex; flex-wrap: wrap; gap: 6px; }
.lf-visit.later { border-color: var(--accent); }
b.later { color: var(--accent); }

/* ---- Fleet (cards, chips, agencies) */
.fleet .tablewrap { overflow-x: auto; }
.fleet .adm-table td { vertical-align: middle; }
.fleet .adm-table tr.sel td { background: var(--accent-soft); }
.fleet .adm-table tr.off td { opacity: .55; }
.fleet input.cell, .fleet select.cell { padding: 5px 8px; font-size: 13px; min-width: 110px; }
.fleet input.cell.num { width: 70px; min-width: 0; }
.fleet .field.inline { flex-direction: row; align-items: center; gap: 6px; }
.fleet .row.wrap { flex-wrap: wrap; gap: 8px; align-items: center; }
.fleet .stack { display: flex; flex-direction: column; gap: 10px; }
.fleet ul.plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.fleet .breakall { word-break: break-all; }
.fleet .portal { background: var(--surface-2); border-radius: var(--r-md); padding: 10px 12px; }
.chipwriter { border: 1px dashed var(--line); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.chipwriter .err { color: var(--alert); }

/* ---- customer photos in the owner console */
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.thumbs a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.thumbs img { width: 120px; height: 120px; object-fit: cover; display: block; background: var(--surface-2); }
.thumbs.small img { width: 64px; height: 64px; }

/* ---- manager code (public demo alert numbers) */
.unlock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface-2); }
.unlock input { width: 110px; letter-spacing: .2em; }
.unlock.compact { padding: 6px 8px; }
.numlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.numlist li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shift-chip .mono { font-size: 11.5px; opacity: .8; }

/* ---- flow v2.5: big mic prompt, small photo, AI-writer note */
.voice-label.big { font: 400 24px/1.2 var(--font-display); color: var(--ink); text-align: center; max-width: 15em; margin: 4px auto 0; text-wrap: balance; }
.ai-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ---- V2.6 talk screen: glowing mic, 3-across words, 3x3 when tapped first */
.voicefirst { align-items: stretch; }
.voicebox.hero { gap: 10px; }
.mic-halo { position: relative; width: 210px; height: 210px; display: grid; place-items: center; margin: 4px auto 0; }
.mic-halo::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--b) 30%, transparent) 0%, color-mix(in srgb, var(--b) 10%, transparent) 45%, transparent 70%); animation: halo-breathe 3.4s ease-in-out infinite; }
.mic-halo .ring { position: absolute; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--b) 55%, transparent); pointer-events: none; }
.mic-halo .r1 { inset: 22px; animation: halo-ring 3.4s ease-in-out infinite; }
.mic-halo .r2 { inset: 4px; opacity: .45; animation: halo-ring 3.4s ease-in-out infinite .6s; }
.voicebox.hero .micbtn { width: 142px; height: 142px; box-shadow: 0 0 40px color-mix(in srgb, var(--b) 45%, transparent), inset 0 -8px 20px rgba(0, 0, 0, .08); }
.voicebox.hero .micbtn svg { width: 54px; height: 54px; }
@keyframes halo-breathe { 0%, 100% { transform: scale(.94); opacity: .75; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes halo-ring { 0%, 100% { transform: scale(.97); opacity: .9; } 50% { transform: scale(1.03); opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .mic-halo::before, .mic-halo .ring { animation: none; } }
.voicebox.mini .mini-row { display: flex; align-items: center; gap: 12px; justify-content: center; }
.voicebox.mini .micbtn { width: 48px; height: 48px; }
.voicebox.mini .micbtn svg { width: 22px; height: 22px; }
.prefertype { align-self: center; font-size: 13px; color: var(--muted); }
.voicefirst .photopick { align-self: center; }
.voicefirst .pp-btn { border-radius: 18px; padding: 10px 22px; }
.voicefirst .drillgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-height: 0; }
.voicefirst .drillgrid .chip { border-radius: 14px; padding: 10px 6px; font-size: 13.5px; text-align: center; line-height: 1.2; min-height: 46px; display: flex; align-items: center; justify-content: center; }
.voicefirst .drillgrid .chip .kid-mark { margin-right: 3px; }

/* ---- V2.7 look: glass, waveform mic, listening state, step bar, shop scene */
.cust { position: relative; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--b) 7%, var(--surface)) 0%, var(--surface) 60%); }
.cust > .brandbar, .cust > .screen-body, .cust > .powered { position: relative; z-index: 1; }
.locchip, .langbtn { border-radius: 999px; }
.stepnav { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; margin: -6px 0 2px; }
.stepback { border: 0; background: none; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; padding: 0 4px; }
.stepbar { display: flex; gap: 6px; justify-content: center; }
.stepbar i { width: 28px; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.stepbar i.on { background: var(--b); }

/* stars screen */
.stars-hero { padding-top: 22px; }
.stars-hero h2 { font-size: 34px; line-height: 1.1; }
.infopill { display: flex; align-items: center; gap: 10px; text-align: left; font-size: 13.5px; color: var(--muted); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); background: color-mix(in srgb, var(--surface-2) 70%, transparent); backdrop-filter: blur(6px); border-radius: 18px; padding: 10px 16px; max-width: 34ch; margin: 6px auto 0; }
.spark { color: var(--b); font-size: 18px; flex: none; }
.shopscene { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 0; background-size: cover; background-position: center bottom; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%); mask-image: linear-gradient(to bottom, transparent 0%, #000 45%); opacity: .9; }
.shopscene:not([style]) { background: linear-gradient(to bottom, transparent, #1a1410 70%), radial-gradient(60% 50% at 50% 100%, rgba(255, 190, 120, .16), transparent 70%); }
.shopscene .lamp { position: absolute; top: 18%; width: 74px; height: 120px; border-radius: 40px 40px 6px 6px; border: 2px solid rgba(255, 214, 160, .55); box-shadow: 0 0 22px rgba(255, 200, 140, .35), inset 0 0 18px rgba(255, 200, 140, .15); }
.shopscene .l1 { left: 8%; } .shopscene .l2 { left: 40%; opacity: .75; } .shopscene .l3 { right: 8%; }
.shopscene .chair { position: absolute; left: 50%; bottom: 14%; width: 120px; height: 110px; transform: translateX(-50%); border-radius: 26px 26px 10px 10px; background: linear-gradient(#2a2420, #15110e); box-shadow: 0 0 0 1px rgba(255, 220, 180, .08), 0 18px 30px rgba(0, 0, 0, .6); }
.shopscene .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(to top, rgba(255, 190, 120, .1), transparent); }
.shopscene:not(.barber) .chair { display: none; }

/* mic with waveform */
.mic-stage { display: flex; align-items: center; justify-content: center; gap: 4px; }
.wave { display: flex; align-items: center; gap: 4px; height: 60px; opacity: .45; }
.wave i { width: 2px; height: var(--h); border-radius: 2px; background: var(--b); }
.voicefirst.listening .wave { opacity: 1; }
.voicefirst.listening .wave i { animation: wave-bar .9s ease-in-out infinite var(--d); }
@keyframes wave-bar { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1.6); } }
.voicefirst.listening .micbtn { box-shadow: 0 0 0 6px color-mix(in srgb, var(--b) 35%, transparent), 0 0 60px color-mix(in srgb, var(--b) 70%, transparent); }
.voicefirst.listening .mic-halo::before { animation-duration: 1.4s; }
.voicebox.hero .pulse { display: none; }
.listen-dots { display: flex; gap: 8px; justify-content: center; margin-top: 2px; }
.listen-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .3; animation: blink 1.2s infinite; }
.listen-dots i:nth-child(2) { animation-delay: .2s; } .listen-dots i:nth-child(3) { animation-delay: .4s; } .listen-dots i:nth-child(4) { animation-delay: .6s; }
.btn.stoprec { background: color-mix(in srgb, var(--surface-2) 80%, transparent); border-color: color-mix(in srgb, var(--ink) 20%, transparent); color: var(--ink); }
.btn.stoprec .sq { width: 14px; height: 14px; border-radius: 3px; background: var(--b); }
@media (max-width: 380px) { .wave i:nth-child(-n+4) { display: none; } }

/* glass controls */
.voicefirst .pp-btn { border: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent); background: color-mix(in srgb, var(--surface-2) 45%, transparent); color: var(--ink); }
.voicefirst .drillgrid .chip { background: color-mix(in srgb, var(--surface-2) 55%, transparent); border-color: color-mix(in srgb, var(--ink) 14%, transparent); }
.voicefirst .drillgrid .chip.on { background: color-mix(in srgb, var(--b) 22%, transparent); border-color: var(--b); }
.words-head { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.words-head h3 { font: 400 24px/1.15 var(--font-display); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.cust .btn.solid.big { border-radius: 999px; box-shadow: 0 8px 26px color-mix(in srgb, var(--b) 30%, transparent); }
.wave { height: 84px; gap: 5px; }
.wave i { height: calc(var(--h) * 1.7); width: 2.5px; }
/* real shop photo behind the stars screen */
.shopscene[style] { height: 60%; opacity: 1; background-size: cover; background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 14%, #000 32%); mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 14%, #000 32%); }
.shopscene[style]::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 30%); }
.cust:has(.shopscene[style]) .powered { text-shadow: 0 1px 6px rgba(0,0,0,.8); color: #e8e2d8; }
.shopscene[style] { background-position: 12% top; }
.cust:has(.shopscene[style]) { background: radial-gradient(120% 60% at 50% 0%, #1b1712 0%, #0d0b09 70%); }
.cust:has(.shopscene[style]) .infopill { background: rgba(20, 17, 14, .55); border-color: rgba(255, 235, 210, .16); }
.shopscene[style] { height: 54%; background-position: 8% top; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.7) 8%, #000 20%); mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.7) 8%, #000 20%); }
/* real shop photo: sits right under the stars content and fills the rest of the screen */
.cust:has(.shopphoto) { background: radial-gradient(120% 60% at 50% 0%, #1b1712 0%, #0d0b09 70%); }
.cust:has(.shopphoto) .screen-body { flex: 0 0 auto; }
.cust:has(.shopphoto) .infopill { background: rgba(20, 17, 14, .55); border-color: rgba(255, 235, 210, .16); }
.shopphoto { position: relative; flex: 1 1 auto; min-height: 300px; margin-top: -36px; background-size: cover; background-position: 10% top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%); mask-image: linear-gradient(to bottom, transparent 0%, #000 18%); }
.cust:has(.shopphoto) .powered { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: #e8e2d8; text-shadow: 0 1px 6px rgba(0,0,0,.8); }

/* ---- shop photo continuity + homepage photo */
.cust.has-hero { background: radial-gradient(120% 60% at 50% 0%, #1b1712 0%, #0d0b09 70%); }
.cust.has-hero::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 46%; z-index: 0; pointer-events: none; background-image: var(--hero); background-size: cover; background-position: center 30%; filter: blur(28px) saturate(1.1); opacity: .16; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.cust.has-hero:has(.shopphoto)::before { display: none; }
.cust.has-hero .infopill { background: rgba(20, 17, 14, .55); border-color: rgba(255, 235, 210, .16); }
.shopphoto.end { min-height: 260px; }
.home-photo { margin: 6px 0 0; border-radius: var(--r-lg); overflow: hidden; position: relative; border: 1px solid var(--line); }
.home-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 640; object-fit: cover; object-position: center 40%; }
.home-photo figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12.5px; font-weight: 600; color: #f1ebe2; background: rgba(13, 11, 9, .6); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 12px; }
.home-how li { display: block; position: relative; padding-left: 38px; }
.home-how li::before { position: absolute; left: 0; top: 0; }
/* small phones (iPhone SE / mini): keep the mic centred and inside the screen */
@media (max-width: 360px) {
  .wave { display: none; }
  .mic-halo { width: 180px; height: 180px; }
  .voicebox.hero .micbtn { width: 122px; height: 122px; }
  .voice-label.big { font-size: 22px; }
  .stars-hero h2 { font-size: 29px; }
}

/* ---- "Give us a chance to help" (above Copy & post, a touch more prominent) */
.btn.helpbtn { flex-direction: column; gap: 2px; background: #F3ECE2; border-color: #F3ECE2; color: #15110D; border-radius: 999px; font-size: 17.5px; padding-block: 14px; box-shadow: 0 0 0 4px rgba(243, 236, 226, .14), 0 10px 28px rgba(0, 0, 0, .35); }
.btn.helpbtn:active { transform: scale(.98); }
.helpbtn-sub { font-size: 12.5px; font-weight: 500; opacity: .8; }
.channelseg button { padding: 5px 10px; font-size: 12.5px; }
.numrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) auto auto; }
@media (max-width: 640px) { .numrow { grid-template-columns: 1fr 1fr; } }
.helpask { border-color: rgba(243, 236, 226, .35); background: rgba(243, 236, 226, .08); }
.helpask label { font-weight: 600; }
.helpask .row { display: flex; gap: 8px; }
.helpask input { flex: 1; min-width: 0; }
.btn.helpbtn { flex-direction: row; gap: 10px; }
.btn.helpbtn .mail-ico { width: 22px; height: 22px; flex: none; }

/* ---- /demo: pick a category, name the business, then the demo */
.dm-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.dm-catbtn { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; background: #1b1712 center / cover no-repeat; color: #fff; text-align: left; transition: transform .15s ease, box-shadow .15s ease; }
.dm-catbtn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 7, 6, .82) 0%, rgba(8, 7, 6, .25) 55%, rgba(8, 7, 6, 0) 100%); }
.dm-catbtn span { position: relative; z-index: 1; padding: 12px 14px; font: 600 15.5px/1.2 var(--font-body); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.dm-catbtn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 14, 30, .22); }
.dm-catbtn:active { transform: scale(.98); }
.dm-catbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.dm-samples a { color: inherit; font-weight: 600; }
.dm-back { align-self: flex-start; font-weight: 600; color: var(--muted); }
.dm-nameform { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 640px; }
.dm-namethumb { display: none; }
.dm-nameform input[type=text] { font-size: 20px; padding: 14px 16px; border-radius: var(--r-md); }
.dm-again { margin: 0; }
.dm-run { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 640px) {
  .dm-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .dm-nameform { grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; }
  .dm-namethumb { display: block; width: 96px; height: 64px; object-fit: cover; border-radius: var(--r-sm); }
}
@media (min-width: 1060px) {
  .dm-cat, .dm-namestep { display: flex; }
  .dm-cat[hidden], .dm-namestep[hidden], .dm-run[hidden] { display: none; }
  .dm-cats { max-width: 1040px; }
  .dm-run .dm-intro .dm-again { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}
.dm [hidden] { display: none !important; }

/* ---- /value: what's one kept customer worth? */
.vc { max-width: 1180px; margin: 0 auto; padding: 8px 16px 56px; display: flex; flex-direction: column; gap: 28px; }
.vc-head { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.vc-head h1 { font: 400 clamp(34px, 6vw, 58px)/1.05 var(--font-display); margin: 0; }
.vc-head p { margin: 0; max-width: 46ch; font-size: 17px; color: var(--muted); }
.vc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.vc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; min-width: 0; }
.vc-inputs { display: flex; flex-direction: column; gap: 24px; }
.vc-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: baseline; }
.vc-field label { font-weight: 600; font-size: 15.5px; }
.vc-field output { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.vc-row { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 14px; align-items: center; }
.vc-row input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }
.vc input[type=number] { width: 100%; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: var(--r-sm); padding: 10px 12px; font: 600 16px/1.2 var(--font-body); font-variant-numeric: tabular-nums; }
.vc-hint { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: var(--muted); }
.vc-result { display: flex; flex-direction: column; gap: 10px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, var(--surface)) 0%, var(--surface) 65%); }
.vc-flag { align-self: flex-start; font: 700 11.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; padding: 8px 12px; border-radius: 999px; background: rgba(217, 164, 65, .18); color: #E9B24B; }
.vc-lead { margin: 6px 0 0; font-size: 17px; color: var(--muted); }
.vc-big { margin: 0; font: 700 clamp(44px, 9vw, 76px)/1 var(--font-body); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vc-sub { margin: 0; font-size: 15.5px; color: var(--muted); }
.vc-rows { margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
.vc-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; }
.vc-rows dt { color: var(--muted); font-size: 15px; }
.vc-rows dd { margin: 0; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vc-plan { display: inline-flex; align-items: center; gap: 4px; }
.vc-plan input[type=number] { width: 84px; padding: 6px 8px; text-align: right; }
.vc-note { margin: 6px 0 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); font-size: 13.5px; color: var(--muted); }
.vc-foot { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 0; }
@media (min-width: 900px) { .vc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } .vc-card { padding: 30px; } }
.vc-sticky { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: opacity .2s ease, transform .2s ease; }
.vc-sticky span { font-size: 13px; font-weight: 600; opacity: .8; }
.vc-sticky b { font-size: 22px; font-variant-numeric: tabular-nums; }
.vc-result-seen .vc-sticky { opacity: 0; transform: translateY(20px); pointer-events: none; }
.page-value .vc { padding-bottom: 96px; }
@media (min-width: 900px) { .vc-sticky { display: none; } .page-value .vc { padding-bottom: 56px; } }
.vc-type { margin-top: 6px; }
.vc-type button { font-size: 15px; padding: 9px 18px; }
.vc-row-one { grid-template-columns: minmax(0, 200px); }
.vc-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vc-chip { font-size: 13.5px; padding: 7px 12px; }
.vc-clear { font-size: 13px; color: var(--muted); }
.vc-rows .vc-strong dt { color: var(--ink); font-weight: 600; }
.vc-rows .vc-strong { border-bottom: 1px solid var(--line); }
.vc-mode { margin-bottom: 4px; }
.vc-mode button { font-size: 15px; padding: 9px 18px; }
.vc-range { font-size: clamp(34px, 6.4vw, 56px); }
.vc-head [hidden] { display: none; }
.vc [hidden] { display: none !important; }
.vc-sticky b { white-space: nowrap; font-size: clamp(16px, 5vw, 22px); } .vc-sticky span { min-width: 0; }
.vc-steps { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: vcs; border-top: 1px solid var(--line); padding-top: 8px; }
.vc-steps li { counter-increment: vcs; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; }
.vc-steps li::before { content: counter(vcs); font: 700 13px/1 var(--font-mono); background: var(--accent); color: var(--accent-ink); border-radius: 50%; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; }
.vc-steps span { color: var(--muted); font-size: 15px; }
.vc-steps b { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vc-steps li:last-child b { color: var(--accent); }
.vc-note b { color: var(--ink); }
.vc-row { grid-template-columns: minmax(0, 1fr) 130px; }
.helpwhere { display: flex; flex-direction: column; gap: 10px; }
.hw-q { margin: 0; font-weight: 600; font-size: 16px; text-align: center; }
.hw-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hw-btns .btn { padding-block: 13px; }
.hw-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 6px 0 4px; }
.helpask #help-where { width: 100%; margin-bottom: 2px; }
.hw-back { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---- Deploy to customer demo (/demo) and saved demos (/saved) ---- */
.dm-topr { display: inline-flex; align-items: center; gap: 10px; }
.dm-deploy { max-width: 640px; margin: 26px auto 0; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.dm-deploy h2 { margin: 0 0 4px; font: 400 26px/1.15 var(--font-display); }
.dm-deploy[hidden], .dp-form[hidden], .dp-done[hidden], .sv [hidden] { display: none !important; }
.dp-form { display: grid; gap: 12px; margin-top: 12px; }
.dp-field { display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.dp-field > span:first-child { font-weight: 600; }
.dp-url { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
.dp-url:focus-within { border-color: var(--accent); }
.dp-host { padding: 0 0 0 11px; font: 600 13px/1 var(--font-mono); color: var(--muted); white-space: nowrap; }
.dp-url input { border: 0 !important; background: transparent !important; padding-left: 2px !important; font-family: var(--font-mono); min-width: 0; }
.dp-done { margin-top: 12px; display: grid; gap: 8px; }
.dp-link { margin: 0; word-break: break-all; font-size: 17px; }
.dp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sv { max-width: 720px; margin: 0 auto; padding: 0 16px 60px; }
.sv-lock { display: grid; gap: 8px; max-width: 360px; margin: 18px 0; }
.sv-lockrow { display: flex; gap: 8px; }
.sv-list { display: grid; gap: 14px; margin-top: 18px; }
.sv-card { border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 14px; display: grid; gap: 10px; }
.sv-card.hl { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sv-head { display: flex; gap: 12px; align-items: center; }
.sv-thumb { flex: none; width: 64px; height: 64px; border-radius: 12px; background: var(--surface-2) center / cover no-repeat; }
.sv-meta h2 { margin: 0; font: 400 24px/1.15 var(--font-display); }
.sv-meta p { margin: 2px 0 0; }
.sv-url code { display: block; padding: 9px 11px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 13.5px; word-break: break-all; }
.sv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-edit { display: grid; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.sv-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.sv-pic { aspect-ratio: 1; border: 2px solid transparent; border-radius: 12px; background: var(--surface-2) center / cover no-repeat; cursor: pointer; padding: 0; }
.sv-pic.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.dp-field input[type=password], .sv-lock input[type=password] { width: 100%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--r-sm); padding: 9px 11px; font: inherit; }
.sv-lock input[type=password] { flex: 1; min-width: 0; }
.sv-edit input[type=file] { font-size: 13px; }
.dp-done .pill { justify-self: start; }

/* "Show more" under the topic bubbles */
.morebtn { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 10px auto 0; padding: 8px 16px; border: 0; background: transparent; color: var(--accent); font: 600 14px/1 var(--font-ui); cursor: pointer; border-radius: 999px; }
.morebtn:active { transform: scale(.97); }
.morebtn svg { transition: transform .18s ease; }
.morebtn.open svg { transform: rotate(180deg); }
.cust .morebtn { color: var(--b2, var(--accent)); }
