/* Interactive device highlights and animated product routines. */
.tower{display:flex;flex-direction:column}
.vt-device-layer{position:relative;z-index:5;flex:0 0 auto;width:calc(100% - 24px);max-width:820px;margin:14px auto 0;display:flex;justify-content:center;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}
.vt-device-labels{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;width:100%}
.vt-device-chip{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid #dce2e8;border-radius:9px;background:#ffffffd9;color:#647181;font-family:inherit;font-size:12px;font-weight:500;line-height:1.3;letter-spacing:-.1px;padding:7px 10px;white-space:nowrap;cursor:pointer;box-shadow:none;transition:background .16s,color .16s,border-color .16s}
.vt-device-chip:hover{background:#edf1f5;color:#263442;border-color:#c6d0db}
.vt-device-chip:focus-visible{outline:2px solid var(--accent,#1d1d1f);outline-offset:3px}
.vt-device-chip.is-selected{background:var(--surface-alt,#ededf0);border-color:var(--accent-line,#1d1d1f);color:var(--ink,#1d1d1f)}
.vt-device-all{min-width:45px}
.vt-device-all.is-selected{background:#171a1f;border-color:#171a1f;color:#fff}
.vt-chip-checkbox{display:grid;place-items:center;flex:0 0 14px;width:14px;height:14px;border:1px solid #bdc8d4;border-radius:4px;background:#fff;box-sizing:border-box}
.vt-chip-checkbox svg{display:block;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.vt-device-chip.is-selected .vt-chip-checkbox{border-color:var(--accent,#1d1d1f);background:var(--accent,#1d1d1f);color:var(--on-accent,#fff)}
.vt-device-chip.is-selected .vt-chip-checkbox svg{opacity:1}
.vt-device-anchor{position:absolute;z-index:4;padding:6px 9px;border-radius:7px;background:#171a1f;color:#fff;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:11px;font-weight:500;line-height:1.25;white-space:nowrap;pointer-events:none;box-shadow:none}
.vt-device-anchor[hidden]{display:none}
.vt-device-anchor:after{position:absolute;content:"";left:var(--vt-pointer-x,50%);bottom:-4px;width:8px;height:8px;background:#171a1f;transform:translateX(-50%) rotate(45deg);border-radius:1px}
.vt-device-anchor[data-side=below]:after{top:-4px;bottom:auto}
.vt-device-anchor[data-side=right]:after{left:-4px;top:var(--vt-pointer-y,50%);bottom:auto;transform:translateY(-50%) rotate(45deg)}
.vt-device-anchor[data-side=left]:after{left:auto;right:-4px;top:var(--vt-pointer-y,50%);bottom:auto;transform:translateY(-50%) rotate(45deg)}
@media(max-width:640px){.vt-device-layer{margin-top:10px;width:calc(100% - 20px)}.vt-device-chip{min-height:32px;padding:7px 8px;font-size:11px;gap:5px}.vt-device-labels{gap:5px}.vt-device-anchor{font-size:10px;padding:5px 8px}}
@media(prefers-reduced-motion:reduce){.vt-device-chip{transition:none}}

/* The routine changes SVG transforms only; the glass building stays stable. */
.vt-routine-floor{opacity:0;transition:opacity .38s ease;pointer-events:none}
.vt-routine-floor.is-active{opacity:1}
.vt-routine-floor .vt-network-line{opacity:.65;transition:opacity .2s}
.vt-routine-floor.is-transmitting .vt-network-line{opacity:1;stroke-width:1.8}
.vt-stop-base{transition:fill .2s,stroke .2s}
.vt-stop-tick{opacity:0;transition:opacity .2s}
.vt-routine-stop.is-complete .vt-stop-base{fill:var(--flow-color)}
.vt-routine-stop.is-complete .vt-stop-tick{opacity:1}
.vt-routine-stop.is-current .vt-stop-halo{animation:vt-stop-breathe 1.4s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.vt-parked-actor{opacity:.85}
.vt-flow-control{position:relative;z-index:3;flex:0 0 auto;display:flex;align-items:center;gap:14px;width:calc(100% - 28px);max-width:440px;margin:6px auto 10px;padding:12px 14px;border:1px solid #e2e6eb;border-radius:15px;background:#fff;color:#263442;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif}
.vt-flow-control[hidden]{display:none}
.vt-flow-toggle{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border:0;border-radius:50%;background:#f1f3f6;color:#647585;cursor:pointer;padding:7px}
.vt-flow-toggle:hover{background:#e6ebf0;color:#263442}
.vt-flow-toggle:focus-visible{outline:2px solid var(--accent,#1d1d1f);outline-offset:2px}
.vt-flow-toggle svg{width:14px;height:14px;display:block}
.vt-ai-update{flex:1;min-width:0}
.vt-ai-update[hidden]{display:none}
.vt-ai-heading{display:flex;align-items:baseline;gap:9px;line-height:1.3;margin-bottom:5px}
.vt-ai-heading strong{font-size:11px;font-weight:600;letter-spacing:.05px;color:#202832}
.vt-ai-heading span{font-size:10px;color:#8a97a4}
.vt-ai-response{font-size:13px;line-height:1.45;font-weight:400;min-height:2.9em;letter-spacing:-.12px;margin:0;color:#405164;overflow-wrap:break-word}
.vt-flow-control.is-ai-off{width:auto;margin:6px auto 10px;padding:0;border:0;background:none}
@keyframes vt-stop-breathe{0%,100%{opacity:.1;scale:.8}50%{opacity:.23;scale:1.15}}
@media(max-width:640px){.vt-flow-control{width:calc(100% - 24px);margin:5px auto 8px;padding:10px 12px;gap:10px;border-radius:13px}.vt-ai-heading{margin-bottom:4px}.vt-ai-response{font-size:12px}.vt-flow-toggle{width:28px;height:28px;flex-basis:28px}.vt-flow-control.is-ai-off{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){.vt-routine-floor,.vt-stop-base,.vt-stop-tick{transition:none}.vt-routine-stop.is-current .vt-stop-halo{animation:none;opacity:.15}}
/* Proportionate walking figure. The routine updates limb paths only while moving. */
.vt-person>path{fill:none;stroke:#405f76;stroke-width:2.65;stroke-linecap:round;stroke-linejoin:round}
.vt-person>.vt-person-torso{stroke-width:3.1}
.vt-person>.vt-person-rear{opacity:.54}
.vt-person.is-tapping .vt-person-phone>rect:first-child{stroke:#3c94c6;stroke-width:1.1}
.vt-routine-floor.is-active .vt-mounted-device{pointer-events:all;cursor:pointer}
.vt-routine-floor:not(.is-active) .vt-mounted-device{pointer-events:none}
.vt-mounted-device>.vt-mount-image{pointer-events:none}
.vt-phone-link,.vt-fob-link{transition:opacity .18s ease}
.vt-beacon-ring{opacity:0;transform-box:fill-box;transform-origin:center}
.vt-routine-floor.is-detecting .vt-beacon-ring{animation:vt-beacon-detect 1.3s ease-out infinite}
.vt-routine-floor.is-paused .vt-beacon-ring{animation-play-state:paused}
@keyframes vt-beacon-detect{0%{opacity:.55;scale:.65}80%{opacity:.12;scale:1.3}100%{opacity:0;scale:1.4}}
@media(prefers-reduced-motion:reduce){.vt-phone-link,.vt-fob-link{transition:none}.vt-routine-floor.is-detecting .vt-beacon-ring{animation:none;opacity:.3}}

/* Stop confirmations share the routine clock: one rise per arrival, never a loop. */
.vt-stop-confirm{pointer-events:none;filter:none}
.vt-stop-confirm text{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.04px}
.vt-gateway-pulse{pointer-events:none}
.vt-routine-floor.is-paused .vt-stop-halo{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.vt-stop-confirm{filter:none}.vt-stop-confirm,.vt-gateway-pulse{transition:none}}
