/* Voice Studio, the three cards (B1, r19; client 340, 344, 345, 348, 349). The three cards inside the tiles are the same size, and each
   plays a short script people know. The cards keep their r14 looks (white card, glass card, white card); only their size and contents
   are new. Words are all in the HTML; vs-cards.js only shows, hides and moves them. */
.vs-b .vs-ui{width:min(400px,100%);height:440px;display:flex;flex-direction:column;overflow:hidden;padding:18px 20px}

/* 1. a caller's words transcribed as she speaks; the agent goes through the systems to Returns; then connected */
.vs-scs{position:relative;flex:1;margin-top:14px}
.vs-sc{position:absolute;inset:0;display:flex;flex-direction:column;opacity:0;transform:translateY(10px);transition:opacity var(--t2) var(--ease),transform var(--t2) var(--ease)}
.vs-sc.on{opacity:1;transform:none}
.vs-sc[data-sc="0"]{justify-content:center;gap:18px}
.vs-k1-wave{display:block;width:100%;height:84px}
.vs-said span{opacity:.12;transition:opacity .25s var(--ease)}
.vs-said span.on{opacity:1}
.vs-k1 .vs-said{min-height:2.7em;font:var(--w-h3) var(--s-lede)/1.35 var(--f);letter-spacing:-.012em;color:var(--ink)}
.vs-k1-q{padding-bottom:12px;border-bottom:1px dashed var(--iline);font:400 var(--s-body)/1.4 var(--f);color:var(--ink2)}
.vs-k1-sys{display:flex;flex-direction:column;gap:8px;margin:14px 0 0;padding:0;list-style:none}
.vs-k1-sys li{display:flex;align-items:center;justify-content:space-between;height:46px;padding:0 14px;border-radius:10px;box-shadow:inset 0 0 0 1px rgba(14,15,15,.14);font:500 var(--s-body)/1 var(--f);color:var(--ink2);transition:box-shadow .25s,background-color .25s,color .25s}
.vs-k1-sys li.scan{box-shadow:inset 0 0 0 1.5px rgba(14,15,15,.6);color:var(--ink)}
.vs-k1-sys li.on{box-shadow:inset 0 0 0 1.5px var(--verm);background:rgba(226,70,42,.06);color:var(--ink)}
.vs-k1-sys li .vs-tick{width:20px;height:20px;transform:scale(0);transition:transform .35s var(--spring)}
.vs-k1-sys li .vs-tick::after{left:7px;top:4px;width:5px;height:9px}
.vs-k1-sys li.on .vs-tick{transform:none}
.vs-sc[data-sc="2"]{align-items:center;justify-content:center;gap:16px;text-align:center}
.vs-tick--lg{width:64px;height:64px}
.vs-tick--lg::after{left:23px;top:13px;width:14px;height:26px;border-width:0 4px 4px 0}
.vs-sc.on .vs-tick--lg{animation:vs-pop .55s var(--spring)}
@keyframes vs-pop{from{transform:scale(.4)}to{transform:none}}
.vs-k1-ok{font:var(--w-h3) var(--s-lede)/1.3 var(--f);letter-spacing:-.012em;color:var(--ink)}
.vs-sc[data-sc="2"] .vs-chip{box-shadow:inset 0 0 0 1.5px var(--verm);color:var(--ink)}

/* 2. one voice saying the same line in English and Spanish, transcribed as it speaks; then the list scrolls through twelve more */
.vs-k2-win{position:relative;flex:1;margin-top:2px;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 14px,#000 calc(100% - 30px),transparent);mask-image:linear-gradient(180deg,transparent 0,#000 14px,#000 calc(100% - 30px),transparent);transition:opacity var(--t2) var(--ease)}
.vs-k2-win.out{opacity:0}
.vs-k2-list{margin:0;padding:0;list-style:none;will-change:transform}
.vs-k2 .vs-say{padding:14px 0 12px}
.vs-k2 .vs-say+.vs-say{margin-top:0}
.vs-k2 .vs-play{cursor:default;width:40px;height:40px}
.vs-k2 .vs-play::after{left:15px;top:12px}
.vs-k2 .vs-say-b canvas{height:28px;margin:4px 0 6px}
.vs-k2 .vs-say-b p{font:400 var(--s-body)/1.4 var(--f);color:var(--ink)}

/* 3. callers on a turning ring; each one's intent is saved to the log as they come round */
.vs-k3-ring{position:relative;flex:none;height:116px;margin:12px 0 8px}
.vs-av{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff;will-change:transform}
.vs-av.front{box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--verm)}
.vs-k3-log{flex:1;display:flex;flex-direction:column;padding-top:12px;border-top:1px solid var(--iline)}
.vs-k3-log>.small{display:block;margin-bottom:4px;color:var(--ink2)}
.vs-k3-rows{position:relative;flex:1;margin:0;padding:0;list-style:none;overflow:hidden}
.vs-k3-rows li{position:absolute;left:0;right:0;top:0;height:52px;display:flex;align-items:center;gap:12px;border-bottom:1px dashed var(--iline);opacity:0;transform:translateY(calc(var(--r,0) * 52px - 14px));transition:transform var(--t2) var(--ease),opacity var(--t2) var(--ease)}
.vs-k3-rows li.on{opacity:var(--o,1);transform:translateY(calc(var(--r,0) * 52px))}
.vs-k3-rows img{flex:none;width:32px;height:32px;border-radius:50%;object-fit:cover}
.vs-k3-rows span{flex:1;font:560 var(--s-body)/1.2 var(--f);color:var(--ink)}
.vs-k3-rows .vs-tick{width:18px;height:18px;transform:scale(0);transition:transform .35s var(--spring) .35s}
.vs-k3-rows .vs-tick::after{left:6px;top:3px;width:5px;height:9px}
.vs-k3-rows li.on .vs-tick{transform:none}

@media (max-width:760px){
  .vs-b .vs-ui{height:420px;padding:16px 16px}
}
@media (prefers-reduced-motion:reduce){
  .vs-sc,.vs-said span,.vs-k1-sys li,.vs-k1-sys li .vs-tick,.vs-k2-win,.vs-k3-rows li,.vs-k3-rows .vs-tick{transition:none!important}
  .vs-sc.on .vs-tick--lg{animation:none}
}
