/* ============================================================
   VRS — Landing v7 · cross-surface hero demo
   Admin web console + worker phone, in sync. Namespaced .dv7.
   Reads shared tokens (theme.css + v6-skin.css). Click-driven,
   3 free steps then an email/company gate before the finish.
   ============================================================ */

/* ── hero shell ───────────────────────────────────────────── */
.hero7 { padding: 30px 0 96px; }
.hero7-head { max-width: 860px; margin: 0 auto 26px; text-align: center; }
.hero7-head .display { font-size: clamp(30px, 3.6vw, 48px); margin-top: 14px; line-height: 1.02; }
.hero7-head .lede { margin: 15px auto 0; max-width: 58ch; }
.hero7-cta { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.hero7-hint { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.hero7-hint .kb { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--green-wash); color: var(--accent-text); }
.hero7-hint .kb svg { width: 12px; height: 12px; }

/* ── stage: web console + overlapping phone ───────────────── */
.dv7-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding-right: 246px; }
.dv7-frame { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-pop); overflow: hidden; }
.dv7-bar { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-bottom: 1px solid var(--hairline); background: var(--surface-2); }
.dv7-bar .tl { display: flex; gap: 6px; } .dv7-bar .tl i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dv7-bar .url { margin: 0 auto; display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 6px; padding: 4px 12px; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.dv7-bar .url svg { width: 10px; height: 10px; color: var(--green); }
.dv7-bar .live { position: absolute; right: 13px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.dv7-bar .live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: dv7blink 1.7s infinite; }
@keyframes dv7blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.dv7 { display: grid; grid-template-columns: 172px 1fr; min-height: 620px; }
.dv7-side { border-right: 1px solid var(--hairline); background: color-mix(in oklab, var(--surface) 82%, var(--bg)); padding: 12px 10px; }
.dv7-ws { display: flex; align-items: center; gap: 8px; padding: 6px 6px 12px; }
.dv7-ws .logo { width: 26px; height: 26px; border-radius: 6px; background: #fff; padding: 3px; box-shadow: 0 0 0 1px var(--line); }
.dv7-ws .a { font-size: 12.5px; font-weight: 650; letter-spacing: -0.01em; }
.dv7-ws .b { font-size: 10px; color: var(--text-3); }
.dv7-grp { font-size: 9.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); padding: 11px 7px 5px; }
.dv7-nav { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 500; color: var(--text-2); margin: 1px 0; }
.dv7-nav svg { width: 15px; height: 15px; color: var(--text-3); flex: none; }
.dv7-nav.on { background: var(--surface-2); color: var(--text); font-weight: 600; }
[data-theme="dark"] .dv7-nav.on { background: var(--surface-3); }
.dv7-nav.on svg { color: var(--accent-text); }
.dv7-nav .b { margin-left: auto; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--surface-2); color: var(--text-3); }
.dv7-nav .b.hot { background: var(--pill-amber-bg); color: var(--pill-amber-tx); }
.dv7-nav.locked { opacity: .5; }
.dv7-nav .lk { margin-left: auto; width: 12px; height: 12px; color: var(--text-3); }

.dv7-main { display: flex; flex-direction: column; min-width: 0; }
.dv7-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--hairline); }
.dv7-crumb { font-size: 12.5px; color: var(--text-3); } .dv7-crumb b { color: var(--text); font-weight: 600; }
.dv7-top .right { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.dv7-av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--green-l), var(--green-d)); color: var(--on-green); display: grid; place-items: center; font-size: 10.5px; font-weight: 700; }
.dv7-scroll { padding: 18px; flex: 1; min-width: 0; overflow: visible; }

.dv7-state { display: none; animation: dv7in .45s cubic-bezier(.2,.7,.2,1); }
.dv7-state.on { display: block; }

/* ── constant console height ─────────────────────────────────
   States differ in natural height, which made the frame grow and the
   primary action button jump on step change (e.g. after "Worker clocks
   in"). JS locks .dv7-scroll to the tallest state; these rules pin the
   actions bar to the bottom so the button position never moves. The
   auto bottom-margin on the penultimate child absorbs the leftover
   space, keeping the existing 20px minimum gap above the bar. */
.dv7-scroll { display: flex; flex-direction: column; }
.dv7-guide { flex: none; }
.dv7-state.on { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.dv7-state.on > *:nth-last-child(2) { margin-bottom: auto; }
@keyframes dv7in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* section header inside console */
.dv7-h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.dv7-h .ttl { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.dv7-h .sub { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.dv7-h .bdg { margin-left: auto; }
.bdg { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.bdg .dot { width: 6px; height: 6px; border-radius: 50%; }
.bdg.green { background: var(--green-wash); color: var(--accent-text); } .bdg.green .dot { background: var(--green); }
.bdg.amber { background: var(--pill-amber-bg); color: var(--pill-amber-tx); } .bdg.amber .dot { background: var(--pill-amber-tx); }
.bdg.blue { background: var(--pill-blue-bg); color: var(--pill-blue-tx); } .bdg.blue .dot { background: var(--pill-blue-tx); }

/* mini buttons */
.dv7-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; cursor: pointer; transition: background .14s, transform .1s; font-family: var(--font); }
.dv7-btn:active { transform: scale(.97); }
.dv7-btn svg { width: 13px; height: 13px; }
.dv7-btn.primary { background: var(--green); color: #fff; } .dv7-btn.primary:hover { background: var(--green-d); }
.dv7-btn.outline { border-color: var(--line); color: var(--text); background: var(--surface); } .dv7-btn.outline:hover { background: var(--surface-2); }
.dv7-btn.sm { height: 28px; padding: 0 10px; font-size: 11.5px; }
.dv7-btn.done { background: var(--green-wash); color: var(--accent-text); pointer-events: none; }
.dv7-actions { display: flex; gap: 8px; align-items: center; margin-top: 20px; padding: 12px 18px; background: var(--surface-2); border-top: 1px solid var(--hairline); margin-left: -18px; margin-right: -18px; margin-bottom: -18px; }
.dv7-actions .sp { flex: 1; }
.dv7-actions .note { font-size: 12px; color: var(--text-3); }

/* ── PLANNING grid ────────────────────────────────────────── */
.dv7-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-bottom: 14px; }
.dv7-kpi { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 11px 13px; }
.dv7-kpi .l { font-size: 11px; color: var(--text-3); font-weight: 500; }
.dv7-kpi .v { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; margin-top: 7px; font-variant-numeric: tabular-nums; line-height: 1; transition: color .35s; }
.dv7-kpi .v .u { font-size: 13px; color: var(--text-3); margin-left: 2px; }
.dv7-kpi .d { margin-top: 7px; display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.dv7-kpi .d.up { color: var(--accent-text); background: var(--green-wash); }
.dv7-kpi .d.warn { color: var(--pill-amber-tx); background: var(--pill-amber-bg); }
.dv7-kpi.pulse { animation: dv7pulse 1s ease; }
@keyframes dv7pulse { 0%{ box-shadow: 0 0 0 0 color-mix(in oklab, var(--green) 40%, transparent);} 100%{ box-shadow: 0 0 0 8px transparent;} }

.dv7-grid { display: grid; grid-template-columns: 108px repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.dv7-gh { background: var(--surface-2); font-size: 10.5px; font-weight: 600; color: var(--text-3); padding: 8px 9px; text-align: center; }
.dv7-gh.today { color: var(--accent-text); }
.dv7-gp { background: var(--surface); font-size: 11.5px; font-weight: 600; padding: 9px; display: flex; align-items: center; gap: 7px; }
.dv7-gp .av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; color: #fff; flex: none; }
.dv7-gc { background: var(--surface); min-height: 42px; padding: 5px; display: flex; align-items: stretch; }
.dv7-gc.today { background: color-mix(in oklab, var(--green) 4%, var(--surface)); }
.dv7-chip { flex: 1; border-radius: 5px; padding: 4px 6px; font-size: 9.5px; font-weight: 600; line-height: 1.25; border-left: 3px solid var(--green); background: color-mix(in oklab, var(--green) 10%, var(--surface)); color: var(--text-2); }
.dv7-chip.b { border-left-color: #2A6FDB; background: color-mix(in oklab, #2A6FDB 10%, var(--surface)); }
.dv7-gap { flex: 1; border: 1.5px dashed color-mix(in oklab, var(--pill-amber-tx) 55%, var(--line)); border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--pill-amber-tx); background: var(--pill-amber-bg); cursor: pointer; transition: transform .1s; min-height: 38px; }
.dv7-gap:hover { transform: scale(1.03); }
.dv7-gap.filled { border: 0; }
.dv7-fillnote { margin-top: 12px; font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 7px; }
.dv7-fillnote svg { width: 14px; height: 14px; color: var(--accent-text); }

/* ── result / calculation lines ───────────────────────────── */
.dv7-total { display: flex; align-items: baseline; gap: 9px; padding: 2px 2px 14px; }
.dv7-total .l { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.dv7-total .amt { font-size: 34px; font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dv7-total .u { font-size: 14px; color: var(--text-2); }
.dv7-card { border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.dv7-card-h { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--hairline); }
.dv7-card-h .t { font-size: 13px; font-weight: 650; } .dv7-card-h .s { font-size: 11.5px; color: var(--text-3); font-weight: 400; }
.dv7-card-h .bdg { margin-left: auto; }
.dv7-line { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--hairline); }
.dv7-line:first-child { border-top: 0; }
.dv7-line .lic { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.dv7-line .tx { flex: 1; min-width: 0; }
.dv7-line .tx .a { font-size: 12.5px; font-weight: 600; }
.dv7-line .tx .rule { font-family: var(--mono); font-size: 9.5px; color: var(--text-3); background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 4px; padding: 0 5px; margin-left: 6px; }
.dv7-line .tx .b { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.dv7-line .val { font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; text-align: right; }
.dv7-line .val .k { color: var(--text-3); font-size: 10.5px; display: block; }
.dv7-line .val.g { color: var(--accent-text); }
.dv7-line .val.amber { color: var(--pill-amber-tx); }

/* compliance strip */
.dv7-comp { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.dv7-comp .c { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--hairline); }
.dv7-comp .c svg { width: 12px; height: 12px; }
.dv7-comp .c.ok { color: var(--accent-text); background: var(--green-wash); border-color: transparent; }
.dv7-comp .c.watch { color: var(--pill-amber-tx); background: var(--pill-amber-bg); border-color: transparent; }

/* approval chain */
.dv7-step-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--hairline); }
.dv7-step-row:first-child { border-top: 0; }
.dv7-step-row .ic { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 700; }
.dv7-step-row .ic.done { background: var(--green); color: #fff; }
.dv7-step-row .ic.now { background: var(--pill-amber-bg); color: var(--pill-amber-tx); box-shadow: 0 0 0 4px color-mix(in oklab, var(--pill-amber-tx) 14%, transparent); }
.dv7-step-row .ic.wait { background: var(--surface-2); color: var(--text-3); }
.dv7-step-row .tx { flex: 1; } .dv7-step-row .tx .a { font-size: 12.5px; font-weight: 600; } .dv7-step-row .tx .b { font-size: 11px; color: var(--text-3); }
.dv7-step-row .val { font-family: var(--mono); font-size: 12px; color: var(--text-3); }

/* payroll export rows */
.dv7-exp { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: var(--r-md); margin-top: 10px; }
.dv7-exp .glyph { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 13px; flex: none; }
.dv7-exp .tx { flex: 1; } .dv7-exp .tx .a { font-size: 12.5px; font-weight: 600; } .dv7-exp .tx .b { font-size: 11px; color: var(--text-3); }
.dv7-exp .st { font-size: 11px; font-weight: 600; color: var(--accent-text); display: inline-flex; align-items: center; gap: 5px; } .dv7-exp .st svg { width: 13px; height: 13px; }

/* ── rail ─────────────────────────────────────────────────── */
.dv7-rail { display: flex; align-items: center; padding: 11px 16px; border-top: 1px solid var(--hairline); background: var(--surface-2); }
.dv7-rstep { display: flex; align-items: center; gap: 8px; flex: none; }
.dv7-rstep .idx { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; background: var(--surface-3); color: var(--text-3); transition: all .3s; }
.dv7-rstep .nm { font-size: 11.5px; font-weight: 500; color: var(--text-3); transition: color .3s; white-space: nowrap; }
.dv7-rstep .nm .lk { width: 11px; height: 11px; margin-left: 3px; vertical-align: -1px; }
.dv7-rstep.on .idx { background: var(--green); color: #fff; }
.dv7-rstep.on .nm { color: var(--text); font-weight: 600; }
.dv7-rstep.done .idx { background: var(--green-wash); color: var(--accent-text); }
.dv7-rail .conn { flex: 1; height: 1px; background: var(--line); margin: 0 9px; min-width: 10px; }
.dv7-rstep.done + .conn, .dv7-rstep.on + .conn { background: color-mix(in oklab, var(--green) 45%, var(--line)); }

/* ── worker phone (overlaps right) ────────────────────────── */
.dv7-phone { position: absolute; right: -6px; bottom: 34px; width: 232px; z-index: 12; border-radius: 30px; padding: 7px; background: linear-gradient(160deg, var(--surface-3), var(--surface)); border: 1px solid var(--line); box-shadow: var(--shadow-pop); pointer-events: none; }
.dv7-phscreen { border-radius: 24px; overflow: hidden; background: var(--bg); border: 1px solid var(--hairline); min-height: 420px; position: relative; }
.dv7-phbar { display: flex; justify-content: space-between; padding: 10px 15px 4px; font-size: 10.5px; font-weight: 700; }
.dv7-phtag { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 74px; height: 17px; background: #000; border-radius: 0 0 11px 11px; }
.dv7-phbody { padding: 6px 13px 62px; }
.dv7-phlbl { font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.dv7-phttl { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin-top: 3px; }
.dv7-phscreen .pane { display: none; animation: dv7in .4s ease; }
.dv7-phscreen .pane.on { display: block; }
.dv7-pcard { border: 1px solid var(--hairline); border-radius: 13px; background: var(--surface); padding: 12px; margin-top: 11px; box-shadow: var(--shadow-card); }
.dv7-pcard .chip { font-family: var(--mono); font-size: 8px; font-weight: 700; color: var(--pill-blue-tx); background: var(--pill-blue-bg); border-radius: 999px; padding: 3px 8px; display: inline-block; }
.dv7-pcard h4 { font-size: 14px; font-weight: 700; margin: 8px 0 2px; }
.dv7-pcard .m { font-size: 10.5px; color: var(--text-3); }
.dv7-ptimer { text-align: center; padding: 8px 0 4px; }
.dv7-ptimer .st { font-family: var(--mono); font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); display: inline-flex; align-items: center; gap: 5px; }
.dv7-ptimer .st .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.dv7-ptimer .big { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; margin-top: 6px; }
.dv7-pbtn { display: block; text-align: center; background: var(--green); color: #fff; font-size: 12.5px; font-weight: 700; padding: 10px; border-radius: 11px; margin-top: 12px; }
.dv7-pbig-amt { font-size: 26px; font-weight: 700; color: var(--accent-text); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dv7-pline { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 11px; }
.dv7-pline:first-of-type { border-top: 0; }
.dv7-pline .lic { width: 7px; height: 7px; border-radius: 2px; flex: none; } .dv7-pline .nm { flex: 1; font-weight: 600; } .dv7-pline .v { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dv7-ptab { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around; padding: 9px 6px 12px; border-top: 1px solid var(--hairline); background: var(--glass); backdrop-filter: blur(8px); pointer-events: none; }
.dv7-ptab i { width: 17px; height: 17px; border-radius: 5px; background: var(--surface-3); }
.dv7-ptab i.on { background: var(--green); }
.dv7-pflash { position: absolute; inset: 0; background: var(--green); opacity: 0; pointer-events: none; }

/* ── gate ─────────────────────────────────────────────────── */
.dv7-gate { position: absolute; inset: 0; z-index: 30; display: none; align-items: center; justify-content: center; padding: 22px; }
.dv7-gate.show { display: flex; animation: dv7in .4s cubic-bezier(.2,.7,.2,1); }
.dv7-gate .scrim { position: absolute; inset: 0; background: color-mix(in oklab, var(--bg) 42%, transparent); backdrop-filter: blur(7px) saturate(120%); -webkit-backdrop-filter: blur(7px) saturate(120%); }
.dv7-gcard { position: relative; width: min(430px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); padding: 24px; }
.dv7-gcard .cap { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.dv7-gcard .cap .ico { width: 22px; height: 22px; border-radius: 6px; background: var(--green-wash); display: grid; place-items: center; } .dv7-gcard .cap .ico svg { width: 12px; height: 12px; }
.dv7-gcard h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; margin-top: 13px; }
.dv7-gcard p { font-size: 13px; color: var(--text-2); margin-top: 7px; line-height: 1.5; }
.dv7-fld { margin-top: 13px; }
.dv7-fld label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; } .dv7-fld label .opt { font-weight: 400; color: var(--text-3); }
.dv7-fld input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--text); font-family: var(--font); font-size: 13.5px; transition: border-color .15s, box-shadow .15s; }
.dv7-fld input::placeholder { color: var(--text-3); }
.dv7-fld input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in oklab, var(--green) 22%, transparent); }
.dv7-fld input.err { border-color: #ef4444; }
.dv7-fld .msg { font-size: 11px; color: #ef4444; margin-top: 5px; display: none; } .dv7-fld .msg.show { display: block; }
.dv7-gcard .submit { width: 100%; justify-content: center; height: 42px; margin-top: 18px; }
.dv7-gcard .fine { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 11px; color: var(--text-3); } .dv7-gcard .fine svg { width: 12px; height: 12px; color: var(--accent-text); flex: none; }
.dv7-gcard .skip { display: block; text-align: center; margin-top: 12px; font-size: 12px; color: var(--text-3); cursor: pointer; } .dv7-gcard .skip:hover { color: var(--text-2); }

/* ── toast ────────────────────────────────────────────────── */
.dv7-toast { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 20px); z-index: 20; display: flex; align-items: center; gap: 10px; background: var(--text); color: var(--bg); border-radius: var(--r-md); padding: 10px 15px; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-pop); opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s; max-width: calc(100% - 32px); }
.dv7-toast.show { opacity: 1; transform: translate(-50%, 0); }
.dv7-toast .ic { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; } .dv7-toast .ic svg { width: 12px; height: 12px; }

/* ── step guide banner + next-action cue ──────────────────── */
.dv7-guide { display: flex; align-items: center; gap: 10px; background: var(--green-wash); border: 1px solid color-mix(in oklab, var(--green) 22%, var(--hairline)); border-radius: var(--r-md); padding: 9px 12px; margin-bottom: 14px; }
.dv7-guide .n { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.dv7-guide .t { font-size: 12.5px; font-weight: 600; color: var(--text); }
.dv7-guide .t b { color: var(--accent-text); }
@keyframes dv7cue { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--green) 55%, transparent); } 55% { box-shadow: 0 0 0 8px transparent; } }
@keyframes dv7cuegap { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--pill-amber-tx) 55%, transparent); } 55% { box-shadow: 0 0 0 8px transparent; } }
.dv7-btn.cue { animation: dv7cue 1.8s ease-in-out infinite; }
.dv7-gap.cue { animation: dv7cuegap 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .dv7-btn.cue, .dv7-gap.cue { animation: none; } }

/* ── CLS guard: reserve the demo's height before JS injects it ── */
#vrsDemo7 { min-height: 668px; }
@media (max-width: 1080px) { #vrsDemo7 { min-height: 1122px; } }
@media (max-width: 640px)  { #vrsDemo7 { min-height: 1210px; } }
@media (max-width: 600px)  { #vrsDemo7 { min-height: 0; } } /* hidden below 600px */

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .dv7-wrap { padding-right: 0; }
  .dv7-phone { position: static; width: 100%; max-width: 300px; margin: 18px auto 0; pointer-events: auto; }
  .dv7-ptab { pointer-events: auto; }
}
@media (max-width: 640px) {
  .dv7 { grid-template-columns: 1fr; }
  .dv7-side { display: none; }
  .dv7-kpis { grid-template-columns: 1fr; }
  .dv7-grid { grid-template-columns: 84px repeat(5,1fr); font-size: 9px; }
  .dv7-rail { overflow-x: auto; } .dv7-rstep .nm { display: none; } .dv7-rail .conn { min-width: 8px; }
}

/* ── mobile hero: interactive stepped demo ─────────────────── */
.hero7-mobile-cards { display: none; }

@media (max-width: 600px) {
  #vrsDemo7 { display: none; }
  .hero7-head .lede { max-width: unset; }
  /* the in-card numbered hint ("Tap the highlighted Wed slot…") already
     instructs — the extra hint line above the demo was duplicate text on
     a small screen (tester feedback 2026-08-02) */
  .hero7-hint { display: none; }
  .hero7-mobile-cards { display: flex; flex-direction: column; gap: 0; margin-top: 20px; text-align: left; }

  /* step containers — only .on is visible */
  .hmc-step { display: none; flex-direction: column; gap: 12px; animation: dv7in .35s ease; }
  .hmc-step.on { display: flex; }

  /* cards */
  .hmc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: 13px; }
  .hmc-b { background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; }

  /* header row */
  .hmc-row { display: flex; align-items: center; justify-content: space-between; }
  .hmc-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }

  /* step hint banner */
  .hmc-hint { display: flex; align-items: center; gap: 8px; background: var(--green-wash); border: 1px solid color-mix(in oklab, var(--green) 22%, var(--hairline)); border-radius: 9px; padding: 8px 10px; margin-top: 10px; font-size: 11.5px; font-weight: 600; color: var(--text); }
  .hmc-hint .n { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--on-green); display: grid; place-items: center; font-size: 10px; font-weight: 700; flex: none; }
  .hmc-hint b { color: var(--accent-text); }

  /* kpi stats row — deliberately muted: KPIs are context, the tap target is
     the star (tester feedback 2026-08-02: "KPIs dominate, actions less obvious") */
  .hmc-stats { display: flex; gap: 10px; margin-top: 12px; }
  .hmc-stat { flex: 1; border: 1px solid var(--hairline); border-radius: 9px; padding: 6px 9px 7px; display: flex; flex-direction: column; gap: 2px; background: var(--surface-2); }
  .hmc-stat .k { font-size: 9.5px; color: var(--text-3); }
  .hmc-stat .v { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
  .hmc-stat .pill { align-self: flex-start; margin-top: 2px; }

  /* planning mini-grid */
  .hmc-grid { margin-top: 12px; }
  .hmc-ghead, .hmc-grow { display: grid; grid-template-columns: 56px repeat(4,1fr); gap: 4px; align-items: center; }
  .hmc-ghead span { font-size: 9.5px; color: var(--text-3); text-align: center; font-weight: 600; }
  .hmc-ghead span:first-child { text-align: left; }
  .hmc-ghead span:nth-child(4) { color: var(--accent-text); }
  .hmc-grow { margin-top: 6px; }
  .hmc-grow .who { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; }
  .hmc-grow .c { height: 28px; border-radius: 6px; background: color-mix(in oklab, var(--green) 10%, var(--surface)); border-left: 3px solid var(--green); }
  .hmc-grow .c.wed { background: none; border: 0; display: flex; align-items: stretch; height: 36px; }
  .hmc-assign { flex: 1; border: 2px dashed var(--pill-amber-tx); border-radius: 7px; background: var(--pill-amber-bg); color: var(--pill-amber-tx); font-size: 11.5px; font-weight: 800; font-family: var(--font); cursor: pointer; animation: dv7cuegap 1.8s ease-in-out infinite; }
  .hmc-assign:active { transform: scale(.96); }
  .hmc-note { font-size: 11px; color: var(--accent-text); font-weight: 600; margin-top: 10px; padding: 7px 10px; background: var(--green-wash); border-radius: 7px; }

  /* data lines (clock-in, calc, approval) */
  .hmc-lines { margin-top: 12px; border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
  .hmc-line { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--hairline); }
  .hmc-line:first-child { border-top: 0; }
  .hmc-lic { width: 9px; height: 9px; border-radius: 2px; flex: none; }
  .hmc-lic-done { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
  .hmc-lic-now { width: 22px; height: 22px; border-radius: 50%; background: var(--pill-amber-bg); color: var(--pill-amber-tx); display: grid; place-items: center; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 4px color-mix(in oklab, var(--pill-amber-tx) 14%, transparent); }
  .hmc-ltx { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; }
  .hmc-ltx code { font-family: var(--mono); font-size: 9px; background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 4px; padding: 0 4px; color: var(--text-3); font-weight: 400; margin-left: 5px; }
  .hmc-lsub { font-size: 10.5px; color: var(--text-3); font-weight: 400; margin-top: 1px; }
  .hmc-lval { font-family: var(--mono); font-size: 12px; font-weight: 600; text-align: right; white-space: nowrap; }
  .hmc-lval.g { color: var(--accent-text); }

  /* "your move" cue label above CTA */
  .hmc-cue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--accent-text);
    font-family: var(--mono);
    opacity: .75;
  }
  .hmc-cue::before, .hmc-cue::after {
    content: '';
    flex: 1;
    height: 1px;
    background: color-mix(in oklab, var(--green) 28%, var(--hairline));
  }

  /* action buttons */
  .hmc-next-btn { display: block; width: 100%; margin-top: 8px; background: var(--green); color: var(--on-green); border: 0; border-radius: 10px; padding: 13px 16px; font-size: 13.5px; font-weight: 700; font-family: var(--font); cursor: pointer; text-align: center; animation: dv7cue 1.8s ease-in-out infinite; }
  .hmc-next-btn:active { transform: scale(.98); }
  .hmc-next-btn:disabled { background: var(--green-wash); color: var(--accent-text); animation: none; cursor: default; }
  .hmc-outline-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--text); font-size: 12.5px; font-weight: 600; font-family: var(--font); cursor: pointer; }
  .hmc-outline-btn:active { transform: scale(.97); }

  /* phone-style card */
  .hmc-status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--text); }
  .hmc-applbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 10px; }
  .hmc-sect { font-size: 14px; font-weight: 650; margin-top: 4px; }
  .hmc-shift { border: 1px solid var(--hairline); border-radius: 11px; padding: 11px 12px; margin-top: 10px; background: var(--surface); }
  .hmc-shift-t { font-size: 12.5px; font-weight: 600; margin-top: 6px; }
  .hmc-shift-m { font-size: 11px; color: var(--text-3); margin-top: 2px; }

  /* progress rail */
  .hmc-rail { display: flex; align-items: center; margin-top: 16px; overflow-x: auto; padding: 2px 0 4px; }
  .hmc-rs { display: flex; align-items: center; gap: 5px; flex: none; cursor: pointer; }
  .hmc-ri { width: 20px; height: 20px; border-radius: 50%; background: var(--surface-3); color: var(--text-3); display: grid; place-items: center; font-size: 10px; font-weight: 700; transition: all .25s; }
  .hmc-rn { font-size: 11px; font-weight: 500; color: var(--text-3); white-space: nowrap; transition: color .25s; }
  .hmc-rs.on .hmc-ri { background: var(--green); color: #fff; }
  .hmc-rs.on .hmc-rn { color: var(--text); font-weight: 600; }
  .hmc-rs.done .hmc-ri { background: var(--green-wash); color: var(--accent-text); }
  .hmc-rc { flex: 1; height: 1px; background: var(--line); margin: 0 6px; min-width: 12px; transition: background .25s; }
  .hmc-rc.done { background: color-mix(in oklab, var(--green) 45%, var(--line)); }

  /* ── mobile gate overlay ───────────────────────────────── */
  .hmc-gate {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    /* scrim */
    background: color-mix(in oklab, var(--bg) 45%, transparent);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
  }
  .hmc-gate.show {
    display: flex;
    animation: dv7in .35s cubic-bezier(.2,.7,.2,1);
  }
  .hmc-gcard {
    width: 100%;
    max-height: 92dvh;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 40px color-mix(in oklab, var(--bg) 30%, transparent);
    padding: 22px 20px 34px;
  }
  /* drag handle */
  .hmc-gcard::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--line);
    margin: 0 auto 18px;
  }
  .hmc-gcap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-text);
  }
  .hmc-gico {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: var(--green-wash);
    display: grid;
    place-items: center;
    flex: none;
  }
  .hmc-gico svg { width: 12px; height: 12px; }
  .hmc-gh3, h2.hmc-gh3 {
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin-top: 11px;
  }
  .hmc-gp {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
    margin-top: 7px;
  }
  .hmc-gform { margin-top: 4px; }
  .hmc-gfld { margin-top: 13px; }
  .hmc-gfld label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 6px;
  }
  .hmc-gfld input {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
  }
  .hmc-gfld input::placeholder { color: var(--text-3); }
  .hmc-gfld input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--green) 22%, transparent);
  }
  .hmc-gfld.err input { border-color: #ef4444; }
  .hmc-gmsg {
    font-size: 11px;
    color: #ef4444;
    margin-top: 5px;
    display: none;
  }
  .hmc-gmsg.show { display: block; }
  .hmc-gsubmit {
    width: 100%;
    justify-content: center;
    height: 46px;
    margin-top: 18px;
    font-size: 14px;
  }
  .hmc-gfine {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-3);
  }
  .hmc-gfine svg { width: 12px; height: 12px; color: var(--accent-text); flex: none; }
  .hmc-gskip {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--text-3);
    cursor: pointer;
    padding: 4px 0;
  }
  .hmc-gskip:hover { color: var(--text-2); }
}

/* ── cursor affordance, base scope (sales feedback 2026-08-05) ──
   The hmc-* rules above live inside the max-width:600px block, and the
   dv7 action elements are <span>s — make the hand cursor unconditional
   for every interactive demo control, at every viewport, so no build
   or specificity change can regress it again. */
.dv7-btn, .dv7-gap, .dv7-gcard .skip,
[data-assign], [data-approve], [data-restart], [data-continue],
[data-go], [data-plan-continue], [data-appr-continue],
.hmc-next-btn, .hmc-assign, .hmc-outline-btn, .hmc-gskip,
[data-hmc-go], [data-hmc-approve], [data-hmc-restart] { cursor: pointer; }
.dv7-btn.done, .hmc-next-btn:disabled { cursor: default; }
