/* emable Voice LP: shell (sticky header, footer) and hero with the Voice scene.
 * Shell and frame copied from the approved Validator LP hero.css (lines 1 to 188), scene below is new.
 * Loaded after base.css. Every selector is prefixed: .vs- shell, .vh hero, .sc-voice the scene (element prefix vc-). */

/* ---------- Preview strip: the only approval notice on the page ---------- */
.vs-pv{background:#f5f5f5;border-bottom:1px solid #e5e5e5}
.vs-pv p{display:flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding-top:8px;padding-bottom:8px;font-size:13px;line-height:1.45;color:var(--body);text-align:center}
.vs-pv i{width:7px;height:7px;border-radius:50%;flex:none;background:var(--orange);box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 22%,transparent)}

/* ---------- Sticky header ---------- */
.vs-top{position:sticky;top:0;z-index:50;background:rgba(252,252,253,.82);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);border-bottom:1px solid transparent;transition:border-color .3s,background-color .3s}
.vs-top.is-scrolled{border-bottom-color:var(--line);background:rgba(255,255,255,.9)}
.vs-top-in{display:flex;align-items:center;gap:20px;height:68px}
.vs-lockup{display:inline-flex;align-items:center;gap:10px;flex:none;color:var(--ink);text-decoration:none}
.vs-lockup img{width:28px;height:28px}
.vs-lockup-t{display:flex;align-items:baseline;gap:8px;line-height:1}
.vs-lockup-t b{font-size:20px;font-weight:600;letter-spacing:-.03em}
.vs-lockup-t small{font-size:12.5px;font-weight:500;letter-spacing:.01em;color:var(--muted)}
.vs-nav{display:flex;gap:2px;margin-left:auto}
.vs-nav a{padding:8px 12px;border-radius:999px;font-size:14px;line-height:1.4;color:var(--body);text-decoration:none;white-space:nowrap;transition:color .2s,background-color .2s}
.vs-nav a:hover,.vs-nav a[aria-current="true"]{color:var(--ink);background:rgba(12,21,41,.045)}
.vs-act{display:flex;align-items:center;gap:6px;flex:none}
.vs-signin{padding:8px 12px;border-radius:999px;font-size:14px;line-height:1.4;font-weight:500;color:var(--ink);text-decoration:none;white-space:nowrap}
.vs-signin:hover{background:rgba(12,21,41,.045)}

/* ---------- Hero ---------- */
.vh{position:relative;isolation:isolate;overflow:hidden;padding:40px 0 72px;background:linear-gradient(180deg,#fff 0%,var(--bg) 62%,var(--bg) 100%)}
.vh::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(circle at 1px 1px,rgba(12,21,41,.075) 1px,transparent 1.4px);background-size:24px 24px;
  -webkit-mask-image:radial-gradient(ellipse 80% 55% at 50% 26%,#000 22%,transparent 80%);mask-image:radial-gradient(ellipse 80% 55% at 50% 26%,#000 22%,transparent 80%)}
.vh-glow{position:absolute;z-index:-1;left:50%;top:400px;width:1000px;height:480px;margin-left:-500px;border-radius:50%;background:var(--grad);filter:blur(110px);opacity:.13;pointer-events:none}
.vh-in{max-width:1040px;margin:0 auto}
.vh-row{margin-top:22px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px 48px;align-items:end}
.vh-lead{font-size:17px;line-height:1.65;color:var(--body);max-width:58ch}
.vh-act{display:flex;flex-direction:column;align-items:flex-start}
.vh-cta{display:flex;align-items:center;flex-wrap:wrap;gap:16px 26px}
.vh-pill{position:relative;justify-content:center;box-shadow:0 14px 28px -16px rgba(12,21,41,.6)}
.vh-pill::after{content:"";position:absolute;left:20px;right:20px;bottom:-1px;height:2px;border-radius:2px;background:var(--grad);opacity:.9}
.vh-cta2{display:flex;flex-direction:column;gap:2px}
.vh-cta2 a{font-size:15px;font-weight:500;line-height:1.4;color:var(--ink);text-decoration:underline;text-decoration-color:#cfd6df;text-underline-offset:4px;transition:text-decoration-color .2s}
.vh-cta2 a:hover{text-decoration-color:var(--ink)}
.vh-cta2 small{font-size:12.5px;line-height:1.4;color:var(--muted)}

/* Scene frame (pattern: our-work-deck card visual) */
.vh-frame{position:relative;margin:32px 0 0;padding:12px;border-radius:28px;background:#fff;border:1px solid #e6ebf1;
  box-shadow:0 1px 2px rgba(12,21,41,.04),0 60px 100px -60px rgba(12,21,41,.42)}
.vh-frame::before{content:"";position:absolute;left:56px;right:56px;top:-1px;height:2px;border-radius:2px;background:var(--grad);opacity:.85}
.vh-box{position:relative}
/* Hero film (pattern: emable.ai Next Best Action hero film). The same white frame as the scene; 16:9 so nothing jumps
 * before the poster loads. The button pauses or plays; it sits on the film's empty lower right corner. */
.vh-film-box{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;isolation:isolate;border:1px solid #e8edf3;
  background:radial-gradient(70% 65% at 78% 22%,color-mix(in srgb,#52a8d4 16%,transparent),transparent 70%),linear-gradient(180deg,#fbfcfe,#f3f6fa)}
.vh-video{display:block;width:100%;height:100%;object-fit:cover;background:transparent}
.vh-film-btn{appearance:none;position:absolute;right:14px;bottom:14px;z-index:1;display:grid;place-items:center;width:40px;height:40px;padding:0;
  border-radius:50%;border:1px solid rgba(12,21,41,.08);background:rgba(255,255,255,.94);color:var(--ink);cursor:pointer;
  box-shadow:0 1px 2px rgba(12,21,41,.06),0 14px 30px -16px rgba(12,21,41,.45);transition:transform .3s var(--ease),box-shadow .3s ease}
.vh-film-btn:hover{transform:scale(1.06)}
.vh-film-btn:focus-visible{outline:3px solid var(--blue-ink,#1f6f9c);outline-offset:3px}
.vh-film-btn svg{display:none;width:13px;height:13px}
.vh-film-btn[data-state="playing"] .i-pause,.vh-film-btn[data-state="paused"] .i-play{display:block}
.vh-film-btn[data-state="paused"]{width:52px;height:52px;background:var(--ink);color:#fff;border-color:var(--ink)}
.vh-film-btn[data-state="paused"] svg{width:16px;height:16px;margin-left:2px}
.vh-film-btn[hidden]{display:none}
.vh-film-cap{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 8px 2px;font-size:12.5px;line-height:1.45;color:var(--muted);text-align:center}
.vh-film-cap i{flex:none;width:6px;height:6px;border-radius:50%;background:var(--blue,#52a8d4)}

/* The stage: tokens are the deck's scene toolkit (our-work-deck/deck.css .stage). Stage colour blue, as in the deck. */
.vh-stage{
  --c:#52a8d4;--c-ink:#1f6f9c;
  --s-ink:#0c1529;--s-body:#475467;--s-muted:#667085;--s-line:#e6ebf1;--s-line-soft:#eef2f6;--s-fill:#f6f8fb;
  --s-r:14px;--s-r-sm:9px;
  --s-sh:0 1px 2px rgba(12,21,41,.05),0 10px 28px -14px rgba(12,21,41,.22);
  --s-sh-lg:0 2px 4px rgba(12,21,41,.05),0 28px 56px -24px rgba(12,21,41,.34);
  --s-glow:0 24px 60px -22px color-mix(in srgb,var(--c) 60%,transparent);
  --s-soft:color-mix(in srgb,var(--c) 12%,#fff);
  --s-tint:color-mix(in srgb,var(--c) 22%,transparent);
  --s-ease:cubic-bezier(.2,.75,.2,1);
  --s-spring:cubic-bezier(.34,1.4,.64,1);
  position:relative;width:100%;height:440px;border-radius:18px;overflow:hidden;isolation:isolate;
  container:stage / size;
  border:1px solid #e8edf3;
  background:
    radial-gradient(70% 65% at 78% 22%,color-mix(in srgb,var(--c) 20%,transparent),transparent 70%),
    radial-gradient(55% 60% at 8% 100%,color-mix(in srgb,#e74c65 9%,transparent),transparent 70%),
    linear-gradient(180deg,#fbfcfe,#f3f6fa);
  font-size:13px;line-height:1.45;color:var(--s-ink)}
.vh-stage::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(circle at 1px 1px,rgba(12,21,41,.09) 1px,transparent 1.4px);background-size:20px 20px;
  -webkit-mask-image:radial-gradient(ellipse 85% 80% at 50% 50%,#000 30%,transparent 85%);mask-image:radial-gradient(ellipse 85% 80% at 50% 50%,#000 30%,transparent 85%)}
/* Wide frames: hero.js scales an 840 x 470 stage to the frame; CSS reserves the same box so nothing jumps.
 * Frames under 840 px (every desktop from 1280 px up gives about 650 px) get 440 to 470 px from hero.js, growing with the
 * width up to the scaled stage, phones 400 px: the 840:470 ratio alone made them about 360 px high and the report overlapped. */
@media (min-width:960px){
  .vh-box{width:100%;max-width:100%;min-height:440px}
  .vh-stage{position:absolute;inset:0;width:auto;height:auto}
}
.vh-box.is-scaled .vh-stage{position:absolute;left:0;top:0;transform-origin:0 0}
.vh-scene{position:absolute;inset:0;transition:opacity .2s ease}
.vh-scene.is-swapping{opacity:0}
.vh-ph{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:8px;text-align:center}
.vh-ph img{width:56px;height:56px}
.vh-ph b{margin-top:6px;font-size:15px;font-weight:600}
.vh-ph small{font-size:12.5px;color:var(--s-muted)}
/* Steps under the stage (pattern: our-work-deck .steps) */
.vh-bar{display:flex;align-items:flex-start;gap:16px;padding:14px 8px 0}
.vh-steps{position:relative;flex:1 1 auto;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.vh-step{appearance:none;display:flex;flex-direction:column;gap:9px;min-width:0;padding:6px 2px 4px;border:0;border-radius:8px;background:none;text-align:left;cursor:pointer}
.vh-step:disabled{cursor:default}
.vh-step-bar{position:relative;display:block;height:3px;border-radius:3px;background:var(--line-soft);overflow:hidden}
.vh-step-bar i{position:absolute;inset:0;border-radius:inherit;background:var(--grad);transform-origin:0 50%}
.vh-step-l{display:flex;gap:8px;font-size:13.5px;font-weight:500;line-height:1.4;color:var(--muted);transition:color .3s}
.vh-step-l em{font-style:normal;font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--faint);transition:color .3s}
.vh-step[aria-current="step"] .vh-step-l,.vh-step:hover .vh-step-l{color:var(--ink)}
.vh-step[aria-current="step"] .vh-step-l em{color:var(--blue-ink)}
.vh-btn{appearance:none;flex:none;display:grid;place-items:center;width:34px;height:34px;margin-top:2px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;color:var(--ink);transition:border-color .25s,box-shadow .25s}
.vh-btn:hover{border-color:#cfd8e3;box-shadow:0 10px 22px -14px rgba(12,21,41,.35)}
.vh-btn:focus-visible{border-radius:50%}
.vh-btn svg{display:none;width:12px;height:12px}
.vh-btn .i-replay{width:16px;height:16px}
.vh-btn[data-state="playing"] .i-pause,.vh-btn[data-state="paused"] .i-play,.vh-btn[data-state="ended"] .i-replay{display:block}
.vh-cap{margin:8px 8px 2px;font-size:12px;line-height:1.5;color:var(--muted);text-align:right}

/* "What it does": one row of three steps under the scene. Not cards: icon, number, who, one line each. Chevrons join them on wide screens, a rail on phones. */
.vh-how{max-width:1040px;margin:56px auto 0}
.vh-how-t{margin:0}
.vh-how-l{margin-top:20px;padding-top:24px;border-top:1px solid var(--line-soft);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 32px}
.vh-how-s{position:relative;display:flex;align-items:flex-start;gap:16px;min-width:0}
.vh-how-s:not(:last-child)::after{content:"";position:absolute;top:18px;right:-21px;width:9px;height:9px;
  border-top:1.6px solid #b8c2cf;border-right:1.6px solid #b8c2cf;transform:rotate(45deg)}
.vh-how-ic{position:relative;flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:var(--c-ink);
  background:color-mix(in srgb,var(--c) 14%,#fff);border:1px solid color-mix(in srgb,var(--c) 30%,#fff);box-shadow:0 10px 22px -16px color-mix(in srgb,var(--c) 90%,transparent)}
.vh-how-ic svg{width:21px;height:21px}
.vh-how-ic em{position:absolute;right:-7px;top:-7px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:2px solid var(--bg);
  font-style:normal;font-size:12px;font-weight:700;line-height:1;color:#fff;background:var(--ink)}
.vh-how-x{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding-top:1px}
.vh-how-x b{font-size:16px;font-weight:600;line-height:1.4;letter-spacing:-.015em;color:var(--ink);text-wrap:balance}
.vh-who{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px 0 8px;border-radius:999px;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;
  color:var(--body);background:#fff;border:1px solid var(--line)}
.vh-who i{width:6px;height:6px;border-radius:50%;background:var(--c)}

/* Load-in of the hero copy. Keyframes only run when motion is allowed; without them everything is simply visible. */
@media (prefers-reduced-motion:no-preference){
  .vh-in > *{animation:vh-rise .8s var(--ease) both}
  .vh-in > :nth-child(2){animation-delay:.05s}
  .vh-in > :nth-child(3){animation-delay:.14s}
  .vh-in > :nth-child(4){animation-delay:.24s}
}
@keyframes vh-rise{from{opacity:0;transform:translateY(16px)}}

/* ---------- Footer ---------- */
.vs-foot{border-top:1px solid var(--line);background:#fff;padding:36px 0 30px}
.vs-foot-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px}
.vs-foot-brand{display:flex;align-items:center;flex-wrap:wrap;gap:18px}
.vs-foot .vs-lockup img{width:24px;height:24px}
.vs-foot .vs-lockup-t b{font-size:18px}
.vs-foot p,.vs-foot-meta a{font-size:13px;line-height:1.5;color:var(--body)}
.vs-foot-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 22px}
.vs-foot-meta a{text-decoration:none}
.vs-foot-meta a:hover{color:var(--ink)}
.vs-foot .vs-foot-legal{margin-top:20px;padding-top:16px;border-top:1px solid var(--line-soft);font-size:12px;color:var(--muted)}

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .vh-row{grid-template-columns:minmax(0,1fr);align-items:start}
}
@media (max-width:800px){
  .vh-how-l{grid-template-columns:minmax(0,1fr);gap:20px}
  .vh-how-s:not(:last-child)::after{top:54px;bottom:-16px;left:23px;right:auto;width:1px;height:auto;border:0;transform:none;
    background:linear-gradient(180deg,color-mix(in srgb,var(--c) 55%,#fff),var(--line-soft))}
  .vh-how-x{padding-top:0}
}
@media (max-width:960px){
  .vs-nav{display:none}
  .vs-act{margin-left:auto}
}
@media (max-width:640px){
  .vs-pv p{justify-content:flex-start;font-size:12.5px;text-align:left}
  .vs-top-in{height:60px;gap:10px}
  .vs-lockup{gap:8px}
  .vs-lockup img{width:26px;height:26px}
  .vs-lockup-t{flex-direction:column;align-items:flex-start;gap:3px}
  .vs-lockup-t b{font-size:17px}
  .vs-lockup-t small{font-size:12px}
  .vs-act{gap:2px}
  .vs-signin{padding:8px;font-size:13.5px}
  .vs-act .vs-cta{height:38px;padding:0 14px;font-size:13.5px}
  .vs-act .vs-cta svg{display:none}
  .vh{padding:32px 0 64px}
  .vh-lead{font-size:16px}
  .vh-how{margin-top:40px}
  .vh-how-x b{font-size:15px}
  .vh-act,.vh-cta{width:100%}
  .vh-cta{flex-direction:column;align-items:stretch}
  .vh-frame{margin-top:34px;padding:8px;border-radius:22px}
  .vh-frame::before{left:28px;right:28px}
  .vh-stage{height:400px;border-radius:15px}
  .vh-bar{gap:10px;padding:12px 4px 0}
  .vh-steps{gap:8px;padding-bottom:26px}
  .vh-step{padding-bottom:0}
  .vh-step-l span{display:none}
  .vh-step[aria-current="step"] .vh-step-l span{display:block;position:absolute;left:2px;right:2px;bottom:0;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .vh-cap{margin:6px 4px 2px;text-align:left}
  .vh-film-box{border-radius:15px}
  .vh-film-btn{right:10px;bottom:10px;width:36px;height:36px}
  .vh-film-btn[data-state="paused"]{width:46px;height:46px}
  .vh-film-cap{justify-content:flex-start;text-align:left;padding:10px 4px 2px}
  .vs-foot-in{flex-direction:column;align-items:flex-start}
}
@media (max-width:360px){
  .vs-signin{display:none}
}

/* ====================================================================================================================
 * Scene: emable Voice, offer callback (new, built to SCENE-GUIDE.md).
 * Step 0: the case appears centred, a callback request lands, pre-call checks tick, the advisor approves.
 * Step 1: the case moves left, the call console opens, the transcript runs with the AI disclosure and a re-check.
 * Step 2: meeting booked, call ends, the outcome is written to the case with allowed operations, audit and meter.
 * Regular layout only on the 840 x 470 scaled stage; every narrower stage (tablets, phones) uses the compact layout:
 * one panel, the call slides over the case and leaves again, the final still is the completed case.
 * ==================================================================================================================== */
.sc-voice{position:absolute;inset:0;--g:16px;--cw:46cqw;--ph:calc(100cqh - 2 * var(--g));
  --ok:#5bb98c;--ok-ink:#2b7f57;--ok-soft:color-mix(in srgb,#5bb98c 13%,#fff);--ok-line:color-mix(in srgb,#5bb98c 38%,#fff)}
.sc-voice.no-anim,.sc-voice.no-anim *,.sc-voice.no-anim *::before,.sc-voice.no-anim *::after{transition:none!important}
.sc-voice p,.sc-voice ol{margin:0;padding:0;list-style:none}
.sc-voice b{font-weight:600}
.sc-voice small{font-size:12px}
.sc-voice em{font-style:normal}
.sc-voice .vc-s{display:none}
.sc-voice svg{display:block}
.sc-voice .vc-ck{width:12px;height:12px;flex:none}

/* ---------- Panels ---------- */
.sc-voice .vc-crm,.sc-voice .vc-call{position:absolute;top:var(--g);height:var(--ph);display:flex;flex-direction:column;overflow:hidden;
  background:#fff;border:1px solid var(--s-line);border-radius:16px;box-shadow:var(--s-sh-lg);
  transition:opacity .5s ease,translate .85s var(--s-ease),scale .7s var(--s-ease)}
.sc-voice .vc-crm{left:var(--g);width:var(--cw);z-index:1}
.sc-voice .vc-call{right:var(--g);width:calc(100cqw - var(--cw) - 3 * var(--g));z-index:2}
.sc-voice .vc-win{flex:none;display:flex;align-items:center;gap:6px;height:32px;padding:0 12px;background:var(--s-fill);border-bottom:1px solid var(--s-line-soft)}
.sc-voice .vc-win i{width:8px;height:8px;border-radius:50%;background:#dfe5ec}
.sc-voice .vc-win span{margin-left:6px;font-size:12px;font-weight:500;color:var(--s-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-voice .vc-win em{margin-left:auto;font-size:12px;color:var(--s-muted);white-space:nowrap}
.sc-voice .vc-id{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.sc-voice .vc-id b{font-size:13.5px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-voice .vc-id small{line-height:1.35;color:var(--s-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- Case (CRM) ---------- */
.sc-voice .vc-head{flex:none;display:flex;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid var(--s-line-soft)}
.sc-voice .vc-av{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:12px;font-weight:600;color:var(--c-ink);background:var(--s-soft)}
.sc-voice .vc-st{flex:none;display:grid;justify-items:end}
.sc-voice .vc-st > span{grid-area:1/1;display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;transition:opacity .35s ease}
.sc-voice .vc-st-a{color:var(--c-ink);background:var(--s-soft)}
.sc-voice .vc-st-b{color:#a85612;background:color-mix(in srgb,#f69d53 15%,#fff)}
.sc-voice .vc-st-c{color:var(--c-ink);background:#fff;border:1px solid var(--s-tint)}
.sc-voice .vc-st-c i{width:7px;height:7px;border-radius:50%;background:var(--c);box-shadow:0 0 0 3px var(--s-tint)}
.sc-voice .vc-st-d{color:#fff;background:var(--ok-ink)}
.sc-voice .vc-lab{flex:none;padding:10px 14px 2px;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--s-muted)}
.sc-voice .vc-feed{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:6px;padding:6px 12px 10px}
.sc-voice .vc-ev{--h:var(--c);--h-ink:var(--c-ink);flex:none;position:relative;display:flex;align-items:flex-start;gap:10px;padding:7px 10px;border-radius:11px;border:1px solid transparent;
  transition:opacity .45s ease,translate .7s var(--s-ease),box-shadow .5s ease}
.sc-voice .vc-ev > div{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}
.sc-voice .vc-ev b{font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-voice .vc-ev small{line-height:1.35;color:var(--s-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-voice .vc-dot{position:relative;flex:none;display:grid;width:26px;height:26px;border-radius:8px;color:var(--h-ink);background:color-mix(in srgb,var(--h) 14%,#fff);transition:color .35s,background-color .35s}
.sc-voice .vc-dot > svg,.sc-voice .vc-dot > span{grid-area:1/1;place-self:center}
.sc-voice .vc-dot svg{width:15px;height:15px}
.sc-voice .vc-dot > span{transition:opacity .3s ease}
.sc-voice .vc-ev-chk{--h:#5bb98c;--h-ink:#2b7f57}
.sc-voice .vc-ev-out{--h:#5bb98c;--h-ink:#2b7f57;background:var(--ok-soft);border-color:var(--ok-line)}
.sc-voice .vc-tt{display:grid;grid-template-columns:minmax(0,1fr)}
.sc-voice .vc-tt > span{grid-area:1/1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .35s ease}
.sc-voice .vc-chips{display:flex;gap:5px;margin-top:4px;overflow:hidden}
.sc-voice .vc-chip{flex:none;display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px 0 6px;border-radius:999px;font-size:12px;line-height:1;white-space:nowrap;
  color:var(--s-muted);background:var(--s-fill);border:1px solid var(--s-line);transition:color .3s,background-color .3s,border-color .3s}
.sc-voice .vc-chip .vc-ck{transition:opacity .3s ease,scale .45s var(--s-spring)}
.sc-voice .vc-wr{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;height:22px;margin-top:5px;padding:0 9px 0 7px;border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap;
  color:var(--ok-ink);background:#fff;border:1px solid var(--ok-line)}

/* Footer: three states in one fixed box */
.sc-voice .vc-foot{position:relative;flex:none;height:50px;border-top:1px solid var(--s-line-soft)}
.sc-voice .vc-f{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;transition:opacity .35s ease}
.sc-voice .vc-f small{color:var(--s-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-voice .vc-appr{flex:none;display:grid;height:32px;min-width:132px;padding:0 14px;border-radius:999px;font-size:12.5px;font-weight:500;color:#fff;background:var(--s-ink);transition:background-color .35s ease}
.sc-voice .vc-appr > span{grid-area:1/1;place-self:center;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;transition:opacity .3s ease}
.sc-voice .vc-cur{position:absolute;left:calc(100% - 14px - 66px);top:24px;width:20px;height:20px;pointer-events:none;z-index:3;
  transition:opacity .3s ease,translate .8s var(--s-ease)}
.sc-voice .vc-cur svg{width:20px;height:20px;filter:drop-shadow(0 2px 3px rgba(12,21,41,.25))}
.sc-voice .vc-rp{position:absolute;left:-10px;top:-11px;width:28px;height:28px;border-radius:50%;background:var(--c);opacity:0}
.sc-voice .vc-live{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--c-ink);white-space:nowrap}
.sc-voice .vc-live i{width:8px;height:8px;border-radius:50%;background:var(--c);box-shadow:0 0 0 4px var(--s-tint)}
.sc-voice .vc-aud{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--ok-ink);white-space:nowrap}

/* ---------- Call console ---------- */
.sc-voice .vc-chead{flex:none;display:flex;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid var(--s-line-soft)}
.sc-voice .vc-pic{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:10px;color:var(--c-ink);background:var(--s-soft)}
.sc-voice .vc-pic svg{width:16px;height:16px}
.sc-voice .vc-wave{flex:none;display:flex;align-items:center;gap:2px;height:20px;transition:opacity .35s ease}
.sc-voice .vc-wave i{width:3px;height:18px;border-radius:2px;background:var(--c);transform:scaleY(.5)}
.sc-voice .vc-wave i:nth-child(2){transform:scaleY(.85)}
.sc-voice .vc-wave i:nth-child(3){transform:scaleY(.4)}
.sc-voice .vc-wave i:nth-child(4){transform:scaleY(1)}
.sc-voice .vc-wave i:nth-child(5){transform:scaleY(.6)}
.sc-voice .vc-wave i:nth-child(6){transform:scaleY(.3)}
.vh-stage[data-playing="true"] .sc-voice .vc-wave i{animation:vc-wave .9s ease-in-out infinite alternate;animation-delay:calc(var(--k) * -.17s)}
@keyframes vc-wave{from{transform:scaleY(.3)}to{transform:scaleY(1)}}
.sc-voice .vc-time{flex:none;display:grid;font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--s-ink)}
.sc-voice .vc-time > span{grid-area:1/1;transition:opacity .3s ease}
.sc-voice .vc-tx{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:6px;padding:14px 14px 10px}
.sc-voice .vc-tx > li{flex:none;transition:opacity .45s ease,translate .6s var(--s-ease),box-shadow .4s ease}
.sc-voice .vc-m{position:relative;max-width:90%}
.sc-voice .vc-m p{padding:7px 11px;border-radius:12px;font-size:12.5px;line-height:1.4;color:var(--s-ink)}
.sc-voice .vc-ai{align-self:flex-start}
.sc-voice .vc-ai p{background:var(--s-fill);border:1px solid var(--s-line);border-top-left-radius:4px}
.sc-voice .vc-ai p b{display:inline-block;margin-right:6px;padding:0 7px;border-radius:999px;font-size:12px;line-height:18px;color:var(--c-ink);background:var(--s-soft)}
.sc-voice .vc-cl{align-self:flex-end}
.sc-voice .vc-cl p{background:color-mix(in srgb,var(--c) 15%,#fff);border:1px solid color-mix(in srgb,var(--c) 26%,#fff);border-top-right-radius:4px}
.sc-voice .vc-tag{position:absolute;right:-8px;top:-10px;height:20px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:600;line-height:18px;white-space:nowrap;
  color:var(--ok-ink);background:#fff;border:1px solid var(--ok-line);box-shadow:var(--s-sh)}
.sc-voice .vc-tool{display:flex;align-items:center;gap:8px;min-width:0;padding:6px 10px;border-radius:10px;border:1px dashed #cdd5df;background:#fff;font-size:12px}
.sc-voice .vc-tic{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:6px;color:var(--s-body);background:var(--s-fill)}
.sc-voice .vc-tic svg{width:13px;height:13px}
.sc-voice .vc-tool code{min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;color:var(--s-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-voice .vc-res{flex:none;margin-left:auto;display:inline-flex;align-items:center;gap:4px;font-weight:600;color:var(--ok-ink);white-space:nowrap;transition:opacity .35s ease}
.sc-voice .vc-cfoot{position:relative;flex:none;height:44px;border-top:1px solid var(--s-line-soft)}
.sc-voice .vc-cf{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;font-size:12px;color:var(--s-muted);transition:opacity .35s ease}
.sc-voice .vc-take{flex:none;display:inline-flex;align-items:center;height:26px;padding:0 11px;border-radius:999px;border:1px solid var(--s-ink);font-weight:600;color:var(--s-ink)}
.sc-voice .vc-cf2{justify-content:flex-start;gap:6px;font-weight:600;color:var(--ok-ink)}

/* ---------- Base state: nearly empty ---------- */
.sc-voice .vc-crm{opacity:0;translate:calc((100cqw - var(--cw)) / 2 - var(--g)) 12px}
.sc-voice .vc-call{opacity:0;translate:28px 0}
.sc-voice .vc-ev{opacity:0;translate:0 8px}
.sc-voice .vc-chip .vc-ck{opacity:0;scale:.4}
.sc-voice .vc-cur{opacity:0;translate:48px 30px}
.sc-voice .vc-tx > li{opacity:0;translate:0 8px}
.sc-voice .vc-res{opacity:0}
.sc-voice .vc-st-b,.sc-voice .vc-st-c,.sc-voice .vc-st-d,.sc-voice .vc-tt-b,.sc-voice .vc-di-b,.sc-voice .vc-appr-b,
.sc-voice .vc-f1,.sc-voice .vc-f2,.sc-voice .vc-t2,.sc-voice .vc-cf2{opacity:0}

/* ---------- Step 0: signal, checks, approval ---------- */
.sc-voice.is-s0 .vc-crm{opacity:1;translate:calc((100cqw - var(--cw)) / 2 - var(--g)) 0;transition-delay:0s}
.sc-voice.is-s0 .vc-ev-sig{opacity:1;translate:0 0;transition-delay:.45s}
.sc-voice.is-s0 .vc-ev-chk{opacity:1;translate:0 0;transition-delay:.8s}
.sc-voice.is-s0 .vc-chip{color:var(--ok-ink);background:var(--ok-soft);border-color:var(--ok-line);transition-delay:calc(1.05s + var(--k) * .2s)}
.sc-voice.is-s0 .vc-chip .vc-ck{opacity:1;scale:1;transition-delay:calc(1.05s + var(--k) * .2s)}
.sc-voice.is-s0 .vc-cur{opacity:1;translate:0 0;transition-delay:1.2s}
.sc-voice.is-s0 .vc-appr{background:var(--ok-ink);transition-delay:2.1s}
.sc-voice.is-s0 .vc-appr-a{opacity:0;transition-delay:2.1s}
.sc-voice.is-s0 .vc-appr-b{opacity:1;transition-delay:2.1s}
.sc-voice.is-s0 .vc-tt-a,.sc-voice.is-s0 .vc-di-a{opacity:0;transition-delay:2.3s}
.sc-voice.is-s0 .vc-tt-b,.sc-voice.is-s0 .vc-di-b{opacity:1;transition-delay:2.3s}
.sc-voice.is-s0 .vc-ev-chk .vc-dot{--h:#f69d53;--h-ink:#a85612;transition-delay:2.3s}
.sc-voice.is-s0 .vc-st-a{opacity:0;transition-delay:2.3s}
.sc-voice.is-s0 .vc-st-b{opacity:1;transition-delay:2.3s}

/* ---------- Step 1: the case moves aside, the call runs ---------- */
.sc-voice.is-s1 .vc-crm{translate:0 0;transition-delay:0s}
.sc-voice.is-s1 .vc-call{opacity:1;translate:0 0;transition-delay:.25s}
.sc-voice.is-s1 .vc-cur{opacity:0;transition-delay:0s}
.sc-voice.is-s1 .vc-f0{opacity:0;transition-delay:.3s}
.sc-voice.is-s1 .vc-f1{opacity:1;transition-delay:.45s}
.sc-voice.is-s1 .vc-st-b{opacity:0;transition-delay:.5s}
.sc-voice.is-s1 .vc-st-c{opacity:1;transition-delay:.5s}
.sc-voice.is-s1 .vc-ev-call{opacity:1;translate:0 0;transition-delay:.7s}
.sc-voice.is-s1 .vc-tx > li:not(.vc-tool2){opacity:1;translate:0 0;transition-delay:calc(.9s + var(--i) * .3s)}
.sc-voice.is-s1 .vc-tx > li:not(.vc-tool2) .vc-res{opacity:1;transition-delay:1.7s}

/* ---------- Step 2: booked, ended, written back ---------- */
.sc-voice.is-s2 .vc-tool2{opacity:1;translate:0 0;transition-delay:.3s}
.sc-voice.is-s2 .vc-tool2 .vc-res{opacity:1;transition-delay:.6s}
.sc-voice.is-s2 .vc-wave,.sc-voice.is-s2 .vc-t1,.sc-voice.is-s2 .vc-cf1{opacity:0;transition-delay:.8s}
.sc-voice.is-s2 .vc-t2,.sc-voice.is-s2 .vc-cf2{opacity:1;transition-delay:.8s}
.sc-voice.is-s2 .vc-ev-out{opacity:1;translate:0 0;box-shadow:var(--s-glow);transition-delay:1.2s}
.sc-voice.is-s2 .vc-st-c{opacity:0;transition-delay:1.35s}
.sc-voice.is-s2 .vc-st-d{opacity:1;transition-delay:1.35s}
.sc-voice.is-s2 .vc-f1{opacity:0;transition-delay:1.55s}
.sc-voice.is-s2 .vc-f2{opacity:1;transition-delay:1.55s}

/* ---------- Compact: every unscaled stage (tablets and phones) ---------- */
@container stage (max-width:839px){
  .sc-voice{--g:12px}
  .sc-voice .vc-crm,.sc-voice .vc-call{left:max(var(--g),calc(50cqw - 290px));right:max(var(--g),calc(50cqw - 290px));width:auto}
  .sc-voice .vc-l,.sc-voice .vc-lab,.sc-voice .vc-dot,.sc-voice .vc-ev-call small,.sc-voice .vc-chead small,.sc-voice .vc-tic,.sc-voice .vc-tool2,.sc-voice .vc-cfoot,.sc-voice .vc-f0 small{display:none}
  .sc-voice .vc-s{display:inline}
  .sc-voice .vc-head,.sc-voice .vc-chead{padding:8px 12px}
  .sc-voice .vc-feed{gap:5px;padding:8px 10px 8px}
  .sc-voice .vc-ev{padding:6px 10px}
  .sc-voice .vc-f,.sc-voice .vc-cf{padding:0 12px}
  .sc-voice .vc-f0{justify-content:center}
  .sc-voice .vc-cur{left:calc(50% - 3.5px)}
  .sc-voice .vc-tx{padding:13px 12px 8px;gap:6px}
  .sc-voice .vc-m{max-width:92%}

  .sc-voice .vc-crm{translate:0 12px}
  .sc-voice .vc-call{translate:0 36px}
  .sc-voice.is-s0 .vc-crm{translate:0 0}
  .sc-voice.is-s1 .vc-crm{opacity:.5;scale:.96;translate:0 -4px}
  .sc-voice.is-s1 .vc-call{translate:0 0}
  /* The call ends, slides away and the completed case comes back to the front. */
  .sc-voice.is-s2 .vc-call{opacity:0;translate:0 36px;transition-delay:.95s}
  .sc-voice.is-s2 .vc-crm{opacity:1;scale:1;translate:0 0;transition-delay:1.05s}
  .sc-voice.is-s2 .vc-ev-out{transition-delay:1.5s}
  .sc-voice.is-s2 .vc-st-c{transition-delay:1.6s}
  .sc-voice.is-s2 .vc-st-d{transition-delay:1.6s}
  .sc-voice.is-s2 .vc-f1{transition-delay:1.75s}
  .sc-voice.is-s2 .vc-f2{transition-delay:1.75s}
}
