/* HoloNotes shared screen. Dark, picture first. Built by stage.js.
   Sizes are in em so the whole screen scales with the display.
   --tone is the accent of the thing on screen: alert, warn, watch, good, note. */

.ex-stage {
    --side: clamp(320px, 27vw, 500px);
    --vx-bg: #02050d;
    --vx-ink: #eef4ff;
    --vx-sub: rgba(208, 223, 255, .7);
    --vx-dim: rgba(208, 223, 255, .42);
    --vx-line: rgba(130, 180, 255, .18);
    --vx-glass: rgba(120, 165, 255, .07);
    --vx-cyan: #62d6ff;
    --vx-teal: #37e8c2;
    --vx-violet: #a98bff;
    --tone: var(--vx-cyan);
    --vx-ease: cubic-bezier(.2, .7, .2, 1);
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--side);
    overflow: hidden;
    background: var(--vx-bg);
    color: var(--vx-ink);
    color-scheme: dark;
    font-size: clamp(15px, 1.12vw, 24px);
}
.ex-stage.hidden { display: none; }

/* Slow light behind everything, and a faint grid that fades toward the edges. */
.ex-stage::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(38% 42% at 28% 38%, rgba(56, 120, 255, .2), transparent 70%),
        radial-gradient(34% 40% at 64% 70%, rgba(40, 220, 190, .13), transparent 70%),
        radial-gradient(26% 30% at 78% 18%, rgba(160, 120, 255, .12), transparent 70%);
    animation: vxAurora 26s ease-in-out infinite alternate;
    pointer-events: none;
}
.ex-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(130, 180, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(130, 180, 255, .055) 1px, transparent 1px);
    background-size: 3.2em 3.2em;
    -webkit-mask-image: radial-gradient(70% 70% at 40% 50%, #000 0%, transparent 100%);
    mask-image: radial-gradient(70% 70% at 40% 50%, #000 0%, transparent 100%);
    pointer-events: none;
}
.ex-stage > * { position: relative; z-index: 1; }
.ex-stage button { font-family: inherit; }
.ex-stage :focus-visible { outline: 2px solid var(--vx-cyan); outline-offset: 3px; }

.vx-tone-alert { --tone: #ff5d52; }
.vx-tone-warn { --tone: #ffb24a; }
.vx-tone-watch { --tone: #6bb6ff; }
.vx-tone-good { --tone: #37e8c2; }
.vx-tone-note { --tone: #8fd0ff; }

/* ── Frame ────────────────────────────────────────────────────────────── */

.ex-stage-main { display: flex; min-width: 0; min-height: 0; }
.vx-deck {
    position: relative;
    flex: 1;
    display: grid;
    /* The column may not grow past the screen, however long the strip of scenes is. */
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    min-width: 0;
    min-height: 0;
    padding: 1.4em 2.2em .8em;
}
.vx-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vx-deck > :not(.vx-particles) { position: relative; }

.vx-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2em .9em; padding-right: 5.5em; }
.vx-head img { height: 1.15em; width: auto; align-self: center; filter: brightness(1.25) saturate(1.1); }
.vx-head h1 { margin: 0; font-size: 1.3em; font-weight: 600; letter-spacing: -.02em; }
.vx-head p { margin: 0; color: var(--vx-sub); font-size: .88em; }

/* The view reaches into the deck's side margins, so a label beside the picture is not cut off there. */
.vx-view { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; margin: 0 -2.2em; padding: 0 2.2em; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--vx-line) transparent; }
.vx-scene {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
    gap: 1em 2.6em;
    padding: .8em 0;
    animation: vxSceneIn .7s var(--vx-ease) both;
}
.vx-scene--wide { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 1.6em; }
.vx-scene--overview { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }

/* A flash around the screen when Carey's answer opens a scene. */
.vx-deck.is-called .vx-view { animation: vxCalled 1.6s var(--vx-ease); }

/* ── Hologram ─────────────────────────────────────────────────────────── */

.vx-holo { display: flex; flex-direction: column; align-items: center; gap: .9em; margin: 0; min-width: 0; }
.vx-holo-box {
    position: relative;
    width: min(100%, 62vh);
    aspect-ratio: 1;
    transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform .3s ease-out;
}
.vx-holo--wide .vx-holo-box { width: 100%; aspect-ratio: 922 / 634; }
.vx-holo-layers {
    position: absolute;
    inset: 0;
    -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
    animation: vxFloat 7s ease-in-out infinite;
}
.vx-holo--wide .vx-holo-layers {
    -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
}
/* An upper tooth hangs down from the gum. */
.vx-holo.is-flipped .vx-holo-layers { scale: 1 -1; }
/* The picture after it is of the upper jaw, so the tooth shown first is turned to match. */
.vx-holo.is-under-flipped .vx-img--under { scale: 1 -1; }
.vx-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}
.vx-img.is-missing { visibility: hidden; }
.vx-holo.is-revealed:not(.vx-holo--wipe):not(.vx-holo--fade) .vx-img--main { animation: vxAppear 1.1s var(--vx-ease) both; }

/* Two matching pictures: the second is wiped in across the first. */
.vx-holo--wipe .vx-img--main { clip-path: inset(0 100% 0 0); transition: clip-path 1.5s cubic-bezier(.6, 0, .2, 1); }
.vx-holo--wipe.is-revealed .vx-img--main { clip-path: inset(0 0 0 0); }
.vx-wipe {
    position: absolute;
    top: 8%;
    bottom: 8%;
    left: 0;
    width: 2px;
    margin-left: -1px;
    background: linear-gradient(transparent, var(--tone) 20%, #fff 50%, var(--tone) 80%, transparent);
    box-shadow: 0 0 1.4em .3em color-mix(in srgb, var(--tone) 60%, transparent);
    opacity: 0;
    transition: left 1.5s cubic-bezier(.6, 0, .2, 1), opacity .25s;
}
.vx-holo--wipe.is-revealed .vx-wipe { left: 100%; }
.vx-holo--wipe.is-wiping .vx-wipe { opacity: 1; }
/* Two pictures that do not line up fade into each other instead. */
.vx-holo--fade .vx-img { transition: opacity 1.1s ease, filter 1.1s ease; }
.vx-holo--fade .vx-img--main { opacity: 0; filter: blur(.5em); }
.vx-holo--fade.is-revealed .vx-img--main { opacity: 1; filter: none; }
.vx-holo--fade.is-revealed .vx-img--under { opacity: 0; filter: blur(.5em); }

/* What the patient feels, drawn over the picture once it is on screen. */
.vx-fx {
    position: absolute;
    height: auto;
    aspect-ratio: 1;
    translate: -50% -50%;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity .6s ease;
}
.vx-fx.is-missing { display: none; }
.vx-holo.is-revealed .vx-fx { opacity: .92; transition-delay: 1.3s; animation: vxThrob 1.5s ease-in-out 1.9s infinite; }
.vx-holo.is-revealed .vx-fx--sensitivity { animation: vxZing 2.6s ease-in-out 1.9s infinite; }
.vx-holo.is-revealed .vx-fx--swelling { animation-duration: 2.2s; }
/* A brush or a water flosser, laid over the picture of what it cleans. Its working end sits on
   its spot: the tool is moved so that end is there, then turned and mirrored about it. */
.vx-tool {
    position: absolute;
    height: auto;
    aspect-ratio: 1;
    transform-origin: var(--tip-x) var(--tip-y);
    translate: calc(var(--tip-x) * -1) calc(var(--tip-y) * -1);
    rotate: var(--turn, 0deg);
    scale: var(--mirror, 1) 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}
.vx-tool.is-missing { display: none; }
/* The picture is drawn a little smaller, from its bottom edge, when the tool needs room above it. */
.vx-holo.has-tool .vx-img,
.vx-art > img:first-child { scale: var(--shrink, 1); transform-origin: 50% 100%; }
.vx-holo .vx-tool { opacity: 0; transition: opacity .6s ease; }
.vx-holo.is-revealed .vx-tool { opacity: 1; transition-delay: 1.1s; animation: vxBrush 1.2s ease-in-out 1.7s infinite; }
.vx-holo.is-revealed .vx-tool--flosser { animation: vxJet 1.4s ease-in-out 1.7s infinite; }
.vx-holo.is-revealed .vx-tool--floss { animation: vxFloss 1.3s ease-in-out 1.7s infinite; }
/* "If we wait": the same feeling, stronger. */
.vx-holo.is-revealed .vx-fx.is-more { opacity: 1; animation-duration: 1.1s; filter: saturate(1.25) brightness(1.15); }

/* Where to look. */
.vx-hot { position: absolute; width: 0; height: 0; opacity: 0; transition: opacity .5s; }
.vx-holo.is-revealed .vx-hot { opacity: 1; transition-delay: 1.1s; }
.vx-hot i {
    position: absolute;
    left: -1.7em;
    top: -1.7em;
    width: 3.4em;
    height: 3.4em;
    border: 2px solid var(--tone);
    border-radius: 50%;
    box-shadow: 0 0 1em color-mix(in srgb, var(--tone) 55%, transparent);
    animation: vxPing 2.7s cubic-bezier(.2, .6, .3, 1) infinite;
}
.vx-hot i:nth-child(2) { animation-delay: .9s; }
.vx-hot i:nth-child(3) { animation-delay: 1.8s; }

.vx-scan {
    position: absolute;
    left: 5%;
    right: 5%;
    top: 4%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vx-cyan), #fff, var(--vx-cyan), transparent);
    box-shadow: 0 0 1.6em .35em rgba(98, 214, 255, .35);
    opacity: 0;
    animation: vxScan 6.5s ease-in-out infinite;
    pointer-events: none;
}

/* Lines and labels drawn on the picture. */
.vx-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vx-line {
    fill: none;
    stroke: var(--vx-dim);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: vxDraw .7s ease-out forwards;
    animation-delay: calc(.5s + var(--i, 0) * .12s);
}
.vx-line--hot { stroke: var(--tone); stroke-width: 1.5; animation-delay: 2.3s; filter: drop-shadow(0 0 .3em var(--tone)); }
.vx-note {
    position: absolute;
    translate: 0 -50%;
    font-size: .7em;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--vx-dim);
    white-space: nowrap;
    animation: vxFade .6s ease-out both;
    animation-delay: calc(.9s + var(--i, 0) * .12s);
    pointer-events: none;
}
.vx-note--part { right: 88.5%; }
.vx-note--hot {
    max-width: 13em;
    padding: .35em .7em;
    border-radius: .6em;
    border: 1px solid color-mix(in srgb, var(--tone) 60%, transparent);
    background: color-mix(in srgb, var(--tone) 14%, rgba(2, 5, 13, .82));
    color: #fff;
    font-size: .78em;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: none;
    white-space: normal;
    line-height: 1.2;
    box-shadow: 0 0 1.4em color-mix(in srgb, var(--tone) 30%, transparent);
    animation-delay: 2.8s;
}

.vx-corner { position: absolute; width: 1.5em; height: 1.5em; border: 0 solid color-mix(in srgb, var(--vx-cyan) 55%, transparent); pointer-events: none; }
.vx-corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vx-corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vx-corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vx-corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vx-illus {
    position: absolute;
    right: 2.4em;
    bottom: .5em;
    font-size: .58em;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--vx-dim);
    pointer-events: none;
}

/* The disc of light the picture stands on. */
.vx-base {
    position: relative;
    width: min(62%, 40vh);
    height: 2.2em;
    margin-top: -2.4em;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--tone) 40%, transparent), transparent 72%);
    pointer-events: none;
}
.vx-base::before, .vx-base::after {
    content: "";
    position: absolute;
    inset: 22% 8%;
    border: 1px solid color-mix(in srgb, var(--tone) 70%, transparent);
    border-radius: 50%;
    animation: vxBase 3.4s ease-out infinite;
}
.vx-base::after { animation-delay: 1.7s; }
.vx-holo--wide .vx-base { display: none; }

/* The clock ring on "If we wait". */
.vx-time {
    position: absolute;
    inset: 3%;
    border: 2px dashed color-mix(in srgb, var(--tone) 55%, transparent);
    border-radius: 50%;
    -webkit-mask-image: conic-gradient(#000 0 28%, transparent 62%, #000 100%);
    mask-image: conic-gradient(#000 0 28%, transparent 62%, #000 100%);
    animation: vxSpin 14s linear infinite;
    pointer-events: none;
}

.vx-switch {
    display: inline-flex;
    gap: .2em;
    padding: .25em;
    border: 1px solid var(--vx-line);
    border-radius: 999px;
    background: var(--vx-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.vx-switch button {
    padding: .42em 1.15em;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--vx-sub);
    font-size: .8em;
    font-weight: 500;
    transition: background .25s, color .25s, box-shadow .25s;
}
.vx-switch button:hover { color: var(--vx-ink); }
.vx-switch button[aria-pressed="true"] {
    background: color-mix(in srgb, var(--tone) 22%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 65%, transparent), 0 0 1.2em color-mix(in srgb, var(--tone) 25%, transparent);
    color: #fff;
}

/* ── Words beside the picture ─────────────────────────────────────────── */

.vx-info { display: flex; flex-direction: column; align-items: flex-start; gap: 1em; min-width: 0; }
.vx-info > * { animation: vxRise .65s var(--vx-ease) both; }
.vx-info > :nth-child(1) { animation-delay: .1s; }
.vx-info > :nth-child(2) { animation-delay: .18s; }
.vx-info > :nth-child(3) { animation-delay: .28s; }
.vx-info > :nth-child(4) { animation-delay: .38s; }
.vx-info > :nth-child(5) { animation-delay: .48s; }
.vx-info > :nth-child(n + 6) { animation-delay: .58s; }
.vx-info--center { align-items: center; text-align: center; gap: .5em; }

.vx-eyebrow { margin: 0; color: var(--vx-cyan); font-size: .72em; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.vx-title {
    margin: 0;
    font-size: 2.6em;
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.035em;
    text-wrap: balance;
    background: linear-gradient(180deg, #fff 30%, #a9cbff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.vx-tags { display: flex; flex-wrap: wrap; gap: .5em; }
.vx-tag {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .38em .9em;
    border: 1px solid var(--vx-line);
    border-radius: 999px;
    background: var(--vx-glass);
    color: var(--vx-sub);
    font-size: .8em;
    font-weight: 500;
}
.vx-tag--tone, .vx-tag--link {
    border-color: color-mix(in srgb, var(--tone) 55%, transparent);
    background: color-mix(in srgb, var(--tone) 12%, transparent);
    color: color-mix(in srgb, var(--tone) 70%, #fff);
}
.vx-tag--tone::before {
    content: "";
    width: .55em;
    height: .55em;
    border-radius: 50%;
    background: var(--tone);
    box-shadow: 0 0 .7em var(--tone);
    animation: vxBlink 1.8s ease-in-out infinite;
}
button.vx-tag--link { transition: background .2s; }
button.vx-tag--link:hover { background: color-mix(in srgb, var(--tone) 24%, transparent); }

.vx-caption-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: .5em; }
.vx-caption { margin: 0; max-width: 32em; color: var(--vx-sub); font-size: 1.12em; line-height: 1.45; }
.vx-more {
    padding: .3em .9em;
    border: 1px solid var(--vx-line);
    border-radius: 999px;
    background: transparent;
    color: var(--vx-dim);
    font-size: .74em;
    font-weight: 500;
    letter-spacing: .04em;
    transition: color .2s, border-color .2s;
}
.vx-more:hover { color: var(--vx-ink); border-color: var(--vx-cyan); }

.vx-jumps { display: flex; flex-wrap: wrap; gap: .6em; }
.vx-jump {
    display: inline-flex;
    align-items: center;
    gap: .7em;
    padding: .6em 1.1em;
    border: 1px solid color-mix(in srgb, var(--tone) 55%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--tone) 12%, transparent);
    color: #fff;
    font-size: .9em;
    font-weight: 500;
    text-align: left;
    transition: background .2s, box-shadow .2s;
}
.vx-jump i { color: var(--tone); font-size: .85em; transition: translate .2s; }
.vx-jump:hover { background: color-mix(in srgb, var(--tone) 22%, transparent); box-shadow: 0 0 1.6em color-mix(in srgb, var(--tone) 25%, transparent); }
.vx-jump:hover i { translate: .25em 0; }

/* Where it is: the small tooth chart. */
.vx-where { display: flex; align-items: center; gap: 1em; }
.vx-arch { flex: none; width: 11.5em; height: auto; overflow: visible; }
.vx-arch-tooth rect { fill: rgba(130, 180, 255, .05); stroke: rgba(130, 180, 255, .3); stroke-width: 1.4; }
.vx-arch-tooth.is-soft rect { fill: color-mix(in srgb, var(--tone) 20%, transparent); stroke: color-mix(in srgb, var(--tone) 70%, transparent); }
.vx-arch-tooth.is-lit rect {
    fill: var(--tone);
    stroke: #fff;
    stroke-width: 2;
    filter: drop-shadow(0 0 8px var(--tone));
    animation: vxBlink 1.8s ease-in-out infinite;
}
.vx-arch-tooth text { font-family: var(--font); font-size: 13px; font-weight: 700; fill: #02050d; pointer-events: none; }
.vx-arch-side { font-family: var(--font); font-size: 15px; fill: var(--vx-dim); letter-spacing: .04em; }
.vx-where-text { display: flex; flex-direction: column; gap: .15em; }
.vx-where-text strong { font-size: 1.05em; font-weight: 600; }
.vx-where-text span { color: var(--vx-sub); font-size: .88em; }

/* Steps of a treatment. */
.vx-steps { position: relative; display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.vx-steps li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .9em;
    padding-bottom: .85em;
    animation: vxRise .5s var(--vx-ease) both;
    animation-delay: calc(.7s + var(--i) * .22s);
}
.vx-steps li:last-child { padding-bottom: 0; }
.vx-steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: .95em;
    top: 2em;
    bottom: .1em;
    width: 2px;
    margin-left: -1px;
    background: linear-gradient(var(--tone), color-mix(in srgb, var(--tone) 20%, transparent));
    opacity: .55;
}
.vx-step-dot {
    flex: none;
    display: grid;
    place-items: center;
    width: 1.9em;
    height: 1.9em;
    border: 1px solid var(--tone);
    border-radius: 50%;
    background: color-mix(in srgb, var(--tone) 16%, #02050d);
    box-shadow: 0 0 1em color-mix(in srgb, var(--tone) 35%, transparent);
    color: #fff;
    font-size: .82em;
    font-weight: 600;
}
.vx-step-text { padding-top: .2em; color: var(--vx-ink); font-size: .98em; line-height: 1.35; }

/* ── Overview ─────────────────────────────────────────────────────────── */

/* A lit tooth. One layer gives the tooth in the picture the finding's colour, the other is the light on it. */
.vx-lit {
    position: absolute;
    translate: -50% -50%;
    scale: 1.18;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--tone) 68%, transparent 100%);
    mix-blend-mode: color;
    pointer-events: none;
    animation: vxFade .5s ease-out 1s backwards;
    transition: opacity .25s;
}
.vx-lit--glow {
    scale: 1.25;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--tone) 80%, #fff) 0%, color-mix(in srgb, var(--tone) 55%, transparent) 55%, transparent 100%);
    mix-blend-mode: screen;
    animation: vxFade .5s ease-out 1s backwards, vxLit 2.4s ease-in-out 1.5s infinite;
}
/* A finding with only an area lights it softly. */
.vx-lit.is-soft { opacity: .7; }
.vx-lit--glow.is-soft { opacity: .45; animation: vxFade .5s ease-out 1s backwards; }

/* The spot to press, drawn as a ring around the lit teeth. */
.vx-marker {
    position: absolute;
    translate: -50% -50%;
    box-sizing: border-box;
    width: calc(var(--w) + 1.1em);
    height: calc(var(--h) + 1.1em);
    min-width: 2em;
    padding: 0;
    border: 1.5px solid color-mix(in srgb, var(--tone) 80%, #fff);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 1.1em color-mix(in srgb, var(--tone) 60%, transparent), inset 0 0 .9em color-mix(in srgb, var(--tone) 28%, transparent);
    cursor: pointer;
    animation: vxFade .5s ease-out 1s backwards;
    transition: opacity .25s, scale .2s var(--vx-ease);
}
.vx-marker::after {
    content: "";
    position: absolute;
    inset: -.3em;
    border: 2px solid var(--tone);
    border-radius: 50%;
    animation: vxPing 2.4s cubic-bezier(.2, .6, .3, 1) infinite;
    pointer-events: none;
}
.vx-marker:hover { scale: 1.06; }
.vx-marker.is-soft { border: 1px dashed color-mix(in srgb, var(--tone) 65%, transparent); box-shadow: none; }
.vx-marker.is-soft::after { display: none; }
/* While one finding is pointed at, the others step back. */
.vx-holo-layers.is-pointing .vx-lit:not(.is-pointed),
.vx-holo-layers.is-pointing .vx-marker:not(.is-pointed) { opacity: .2; animation: none; }

/* Which side of the mouth is which, on the front view. */
.vx-side {
    position: absolute;
    top: .5em;
    font-size: .62em;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--vx-sub);
    pointer-events: none;
}
.vx-side--right { left: 2.4em; }
.vx-side--left { right: 2.4em; }

.vx-rows { display: flex; flex-direction: column; align-self: stretch; gap: .5em; }
.vx-row {
    display: flex;
    align-items: center;
    gap: .8em;
    padding: .62em .9em .62em .62em;
    border: 1px solid var(--vx-line);
    border-radius: 1em;
    background: var(--vx-glass);
    color: var(--vx-ink);
    text-align: left;
    transition: border-color .2s, background .2s, translate .2s var(--vx-ease);
}
.vx-row:hover { border-color: color-mix(in srgb, var(--tone) 70%, transparent); background: color-mix(in srgb, var(--tone) 10%, transparent); translate: .25em 0; }
.vx-row-num {
    flex: none;
    display: grid;
    place-items: center;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background: var(--tone);
    box-shadow: 0 0 1em color-mix(in srgb, var(--tone) 50%, transparent);
    color: #02050d;
    font-size: .82em;
    font-weight: 700;
}
.vx-row-dot { flex: none; display: grid; place-items: center; width: 2em; height: 2em; font-size: .82em; }
.vx-row-dot::before {
    content: "";
    width: .8em;
    height: .8em;
    border-radius: 50%;
    background: var(--tone);
    box-shadow: 0 0 0 .28em color-mix(in srgb, var(--tone) 26%, transparent), 0 0 1em var(--tone);
}
.vx-row.is-pointed { border-color: color-mix(in srgb, var(--tone) 70%, transparent); background: color-mix(in srgb, var(--tone) 10%, transparent); }
.vx-row-title { flex: 1; min-width: 0; font-size: 1em; font-weight: 500; line-height: 1.25; }
.vx-row-tag { flex: none; color: color-mix(in srgb, var(--tone) 75%, #fff); font-size: .72em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ── Options ──────────────────────────────────────────────────────────── */

.vx-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(15em, 1fr)); gap: 1.1em; align-items: stretch; }
.vx-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55em;
    padding: 1em 1.2em 1.2em;
    border: 1px solid var(--vx-line);
    border-radius: 1.4em;
    background: var(--vx-glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    animation: vxRise .65s var(--vx-ease) both;
    transition: border-color .3s, box-shadow .3s;
}
.vx-option:nth-child(2) { animation-delay: .14s; }
.vx-option:nth-child(n + 3) { animation-delay: .28s; }
.vx-option--pick { border-color: color-mix(in srgb, var(--tone) 65%, transparent); box-shadow: 0 0 2.6em color-mix(in srgb, var(--tone) 16%, transparent); }
.vx-option.is-spot { border-color: var(--vx-cyan); box-shadow: 0 0 0 2px var(--vx-cyan), 0 0 3em rgba(98, 214, 255, .3); }
.vx-option-art { align-self: stretch; height: min(13em, 26vh); }
.vx-option-art img {
    display: block;
    width: auto;
    height: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
    object-fit: contain;
    /* The pictures sit on black. Fading the edge and screening lets them float on the card. */
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
/* A picture with a tool laid over it: the two float on the card as one. */
.vx-option-art .vx-art {
    position: relative;
    display: block;
    height: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.vx-option-art .vx-art img { margin: 0; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; }
.vx-option-art .vx-art > img:first-child { width: 100%; }
.vx-option-art .vx-art .vx-tool { height: auto; }
.vx-option-label {
    padding: .25em .8em;
    border: 1px solid color-mix(in srgb, var(--tone) 55%, transparent);
    border-radius: 999px;
    color: color-mix(in srgb, var(--tone) 75%, #fff);
    font-size: .7em;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.vx-option h3 { margin: 0; font-size: 1.3em; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.vx-option p { margin: 0; color: var(--vx-sub); font-size: .92em; line-height: 1.4; }
.vx-needs {
    display: flex;
    align-items: baseline;
    gap: .7em;
    padding: .5em .85em;
    border: 1px solid rgba(98, 214, 255, .22);
    border-radius: .8em;
    background: rgba(98, 214, 255, .07);
    color: var(--vx-ink);
    font-size: .88em;
    line-height: 1.35;
}
.vx-needs b { flex: none; color: var(--vx-cyan); font-size: .78em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.vx-info > .vx-needs { align-self: flex-start; max-width: 34em; }
.vx-info > .vx-points { font-size: 1em; }
.vx-points { display: flex; flex-direction: column; gap: .3em; margin: 0; padding: 0; list-style: none; font-size: .9em; line-height: 1.35; }
.vx-points li { position: relative; padding-left: 1.5em; }
.vx-points li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.vx-points--pro li::before { content: "+"; color: var(--vx-teal); }
.vx-points--con li::before { content: "\2212"; color: #ff7a70; }

/* ── Strip of scenes ──────────────────────────────────────────────────── */

.vx-rail { display: flex; align-items: center; gap: .7em; padding-top: .7em; }
.vx-rail-list { flex: 1; display: flex; gap: .35em; min-width: 0; padding: .3em; overflow-x: auto; scrollbar-width: none; }
.vx-rail-list::-webkit-scrollbar { display: none; }
.vx-stop {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .55em;
    padding: .22em;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--vx-sub);
    transition: background .25s, border-color .25s;
}
.vx-stop img {
    width: 2.7em;
    height: 2.7em;
    border: 1px solid var(--vx-line);
    border-radius: 50%;
    background: #000;
    object-fit: cover;
    opacity: .6;
    transition: opacity .25s, border-color .25s, box-shadow .25s;
}
.vx-stop span { display: none; max-width: 13em; padding-right: .9em; overflow: hidden; font-size: .82em; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.vx-stop:hover img { opacity: 1; }
.vx-stop[aria-current="true"] { border-color: color-mix(in srgb, var(--tone) 55%, transparent); background: color-mix(in srgb, var(--tone) 12%, transparent); color: #fff; }
.vx-stop[aria-current="true"] img { opacity: 1; border-color: var(--tone); box-shadow: 0 0 1em color-mix(in srgb, var(--tone) 45%, transparent); }
.vx-stop[aria-current="true"] span { display: inline; }
.vx-nav {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.7em;
    height: 2.7em;
    padding: 0;
    border: 1px solid var(--vx-line);
    border-radius: 50%;
    background: var(--vx-glass);
    color: var(--vx-ink);
    font-size: .9em;
    transition: border-color .2s, background .2s, opacity .2s;
}
.vx-nav:hover:not(:disabled) { border-color: var(--vx-cyan); background: rgba(98, 214, 255, .14); }
.vx-nav:disabled { opacity: .3; cursor: default; }
.vx-nav--next:not(:disabled) { border-color: rgba(98, 214, 255, .5); box-shadow: 0 0 1.4em rgba(98, 214, 255, .18); }
.vx-count { flex: none; color: var(--vx-dim); font-size: .78em; font-variant-numeric: tabular-nums; letter-spacing: .08em; }

/* Play: Carey reads each screen aloud and turns the pages. */
.vx-play {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .6em;
    height: 2.7em;
    padding: 0 1.2em 0 1.05em;
    border: 1px solid rgba(98, 214, 255, .6);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(98, 214, 255, .26), rgba(96, 118, 255, .26));
    color: #fff;
    font-size: .9em;
    font-weight: 600;
    letter-spacing: .01em;
    box-shadow: 0 0 1.6em rgba(98, 214, 255, .22);
    transition: border-color .2s, background .2s, box-shadow .2s, opacity .2s;
}
.vx-play[hidden] { display: none; }
.vx-play > i { width: 1em; font-size: .86em; text-align: center; }
.vx-play:hover:not(:disabled) { border-color: var(--vx-cyan); background: linear-gradient(135deg, rgba(98, 214, 255, .4), rgba(96, 118, 255, .36)); }
.vx-play:disabled { opacity: .5; box-shadow: none; cursor: default; }
/* Carey's voice is still being made: the button says so, and can be read. */
.vx-play.is-pending:disabled { opacity: .78; cursor: progress; }
.vx-play.is-playing { border-color: var(--vx-cyan); box-shadow: 0 0 2em rgba(98, 214, 255, .38); }
/* Three bars that move while Carey is speaking. */
.vx-play-bars { display: none; align-items: flex-end; gap: .15em; height: .95em; }
.vx-play.is-playing .vx-play-bars { display: inline-flex; }
.vx-play-bars i { width: .17em; height: 100%; border-radius: 1px; background: var(--vx-cyan); transform-origin: bottom; animation: vx-bars 1s ease-in-out infinite; }
.vx-play-bars i:nth-child(2) { animation-delay: -.35s; }
.vx-play-bars i:nth-child(3) { animation-delay: -.7s; }
@keyframes vx-bars {
    0%, 100% { transform: scaleY(.3); }
    50% { transform: scaleY(1); }
}
/* The card Carey is reading, on a screen that has several. */
.vx-option.is-reading { border-color: var(--vx-cyan); box-shadow: 0 0 0 1px var(--vx-cyan), 0 0 2.4em rgba(98, 214, 255, .22); }
.vx-foot { margin: 0; padding-top: .5em; color: var(--vx-dim); font-size: .66em; text-align: center; letter-spacing: .02em; }

.ex-stage-exit {
    position: absolute;
    z-index: 2;
    top: 1.3em;
    right: calc(var(--side) + 1.6em);
    padding: .4em 1em;
    border: 1px solid var(--vx-line);
    border-radius: 999px;
    background: var(--vx-glass);
    color: var(--vx-sub);
    font-size: .76em;
    font-weight: 500;
    transition: color .2s, border-color .2s;
}
.ex-stage-exit:hover { color: #fff; border-color: var(--vx-cyan); }

/* The screen is up and the visit is on its way. */
.ex-stage-opening {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2em;
    color: var(--vx-sub);
    font-size: 1.05em;
}
.ex-stage-opening p { margin: 0; }
.ex-stage-opening ~ .ex-stage-exit { right: 1.6em; }

/* On a patient's own link, the practice's name sits where Exit would be. */
.ex-stage-office {
    position: absolute;
    z-index: 2;
    top: 1.3em;
    right: calc(var(--side) + 1.6em);
    max-width: 46%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .15em;
    text-align: right;
    line-height: 1.25;
    pointer-events: none;
}
.ex-stage-office strong { color: var(--vx-ink); font-size: .84em; font-weight: 600; }
.ex-stage-office span { display: inline-flex; align-items: center; gap: .45em; color: var(--vx-dim); font-size: .66em; letter-spacing: .02em; }
/* Brightened so the blue end of the logo reads on the dark screen. */
.ex-stage-office img { height: 1.2em; width: auto; filter: brightness(1.5) saturate(.9); }

/* ── Carey ────────────────────────────────────────────────────────────── */

.ex-stage-side {
    display: flex;
    min-height: 0;
    padding: 1.5em 1.3em 1.2em;
    border-left: 1px solid var(--vx-line);
    background: linear-gradient(180deg, rgba(90, 140, 255, .1), rgba(40, 220, 190, .04) 60%, rgba(2, 5, 13, .2));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
.ex-stage .carey-panel--present { flex: 1; gap: .9em; }
.ex-stage .carey-head { flex-direction: column; gap: .3em; padding-top: .3em; text-align: center; }
.ex-stage .carey-name { font-size: 1.45em; }
.ex-stage .carey-status { color: var(--vx-sub); font-size: .92em; }
.ex-stage .carey-scroll { flex: 1; padding: .2em; scrollbar-width: thin; scrollbar-color: var(--vx-line) transparent; }
/* With room to spare the questions rest at the bottom, by the text box. */
.ex-stage .carey-chips { margin-top: auto; }
.ex-stage .carey-bubble { font-size: .94em; }
.ex-stage .carey-bubble--question { border: 1px solid rgba(130, 180, 255, .35); background: rgba(90, 140, 255, .2); color: #fff; }
.ex-stage .carey-bubble--answer { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--vx-line); color: var(--vx-ink); }
.ex-stage .carey-bubble--error { background: rgba(255, 93, 82, .14); color: #ffb9b3; }
.ex-stage .carey-chip {
    background: rgba(98, 214, 255, .07);
    box-shadow: inset 0 0 0 1px rgba(98, 214, 255, .35);
    color: #c4ecff;
    font-size: .86em;
}
.ex-stage .carey-chip:hover:not(:disabled) { background: rgba(98, 214, 255, .18); }
.ex-stage .carey-input { border-color: var(--vx-line); background: rgba(255, 255, 255, .06); color: #fff; font-size: .94em; }
.ex-stage .carey-input::placeholder { color: var(--vx-dim); }
.ex-stage .carey-input:focus { border-color: var(--vx-cyan); box-shadow: 0 0 0 3px rgba(98, 214, 255, .16); }
.ex-stage .carey-send { background: linear-gradient(135deg, #2f7bff, #16c79a); color: #fff; font-size: .94em; }
.ex-stage .carey-send:hover:not(:disabled) { background: linear-gradient(135deg, #4a8dff, #22dcae); }
.ex-stage .carey-send:disabled { background: rgba(255, 255, 255, .1); color: var(--vx-dim); }

/* ── Motion ───────────────────────────────────────────────────────────── */

@keyframes vxAurora {
    from { transform: translate3d(-2%, -1%, 0) scale(1); }
    to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
@keyframes vxSceneIn {
    from { opacity: 0; transform: translateY(1.2em); filter: blur(.5em); }
    to { opacity: 1; transform: none; filter: none; }
}
/* Along the brush head, back and forth. */
@keyframes vxBrush {
    0%, 100% { transform: translateX(-2.5%); }
    50% { transform: translateX(2.5%); }
}
/* Up and down against the side of the tooth. */
@keyframes vxFloss {
    0%, 100% { transform: translateY(-1.5%); }
    50% { transform: translateY(1.5%); }
}
@keyframes vxJet {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.4); }
}
@keyframes vxAppear {
    from { opacity: 0; transform: scale(.92); filter: blur(.8em) brightness(2); }
    to { opacity: 1; transform: none; filter: none; }
}
@keyframes vxRise {
    from { opacity: 0; transform: translateY(.9em); }
    to { opacity: 1; transform: none; }
}
@keyframes vxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vxFloat { 0%, 100% { translate: 0 -.8%; } 50% { translate: 0 .8%; } }
@keyframes vxThrob {
    0%, 100% { scale: .95; opacity: .6; }
    45% { scale: 1.05; opacity: 1; }
}
@keyframes vxZing {
    0%, 62%, 100% { scale: .97; opacity: .3; }
    70% { scale: 1.04; opacity: 1; }
    78% { scale: 1; opacity: .55; }
    86% { scale: 1.03; opacity: 1; }
}
@keyframes vxPing {
    0% { transform: scale(.35); opacity: 1; }
    80%, 100% { transform: scale(1.5); opacity: 0; }
}
@keyframes vxScan {
    0% { top: 4%; opacity: 0; }
    6% { opacity: .9; }
    38% { top: 96%; opacity: .9; }
    44%, 100% { top: 96%; opacity: 0; }
}
@keyframes vxDraw { to { stroke-dashoffset: 0; } }
@keyframes vxBase {
    0% { transform: scale(.5); opacity: .9; }
    100% { transform: scale(1.5); opacity: 0; }
}
@keyframes vxBlink { 50% { opacity: .5; } }
@keyframes vxLit { 50% { opacity: .55; } }
@keyframes vxSpin { to { transform: rotate(360deg); } }
@keyframes vxCalled {
    0% { box-shadow: inset 0 0 0 0 rgba(98, 214, 255, 0); }
    25% { box-shadow: inset 0 0 6em -1em rgba(98, 214, 255, .35); }
    100% { box-shadow: inset 0 0 0 0 rgba(98, 214, 255, 0); }
}

/* ── Upright tablet or narrow window: Carey moves under the scene ─────── */

@media (max-width: 900px), (orientation: portrait) {
    .ex-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; font-size: clamp(15px, 2vw, 22px); }
    .vx-deck { padding: 1.1em 1.1em .5em; }
    .vx-view { margin: 0 -1.1em; padding: 0 1.1em; }
    .vx-scene, .vx-scene--overview { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 1em 1.6em; }
    .vx-scene--wide { grid-template-columns: minmax(0, 1fr); }
    .vx-holo-box { width: min(100%, 40vh); }
    .vx-title { font-size: 2em; }
    .vx-note--part, .vx-line--part { display: none; }
    .ex-stage-exit, .ex-stage-office { right: 1.1em; top: 1em; }
    .ex-stage-side { max-height: 40vh; padding: .9em 1.1em 1em; border-left: 0; border-top: 1px solid var(--vx-line); }
    .ex-stage .carey-panel--present { gap: .6em; }
    .ex-stage .carey-head { flex-direction: row; padding-top: 0; text-align: left; }
    .ex-stage .carey-orb { --orb-size: 3.4em !important; transition: width .3s var(--vx-ease), height .3s var(--vx-ease); }

    /* Carey's title bar opens and folds the panel, so the pictures can have the screen. */
    .ex-stage .carey-head { position: relative; padding-right: 3em; }
    .ex-stage .carey-head-text { min-width: 0; }
    .ex-stage .carey-toggle {
        position: absolute;
        inset: -.5em -.4em;
        display: block;
        padding: 0;
        border: 0;
        border-radius: 1em;
        background: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .ex-stage .carey-toggle span {
        position: absolute;
        right: .4em;
        top: 50%;
        width: 2.2em;
        height: 2.2em;
        margin-top: -1.1em;
        border: 1px solid var(--vx-line);
        border-radius: 50%;
        background: var(--vx-glass);
    }
    .ex-stage .carey-toggle span::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: .55em;
        height: .55em;
        margin: -.42em 0 0 -.3em;
        border-right: 2px solid var(--vx-cyan);
        border-bottom: 2px solid var(--vx-cyan);
        transform: rotate(45deg);
        transition: transform .3s var(--vx-ease), margin .3s var(--vx-ease);
    }
    .ex-stage .carey-panel.is-collapsed .carey-toggle span::before { margin-top: -.14em; transform: rotate(-135deg); }
    .ex-stage .carey-panel.is-collapsed > :not(.carey-head) { display: none; }
    .ex-stage .carey-panel.is-collapsed .carey-orb { --orb-size: 2.5em !important; }
    .ex-stage .carey-panel.is-collapsed .carey-name { font-size: 1.1em; }
    .ex-stage .carey-panel.is-collapsed .carey-status { margin: 0; font-size: .82em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ex-stage.is-carey-closed .ex-stage-side { padding: .55em 1.1em .6em; }
}

/* A phone: the picture sits above the words. */
@media (max-width: 620px) {
    .vx-scene, .vx-scene--overview { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 1.1em; }
    .vx-holo-box { width: min(100%, 30vh); }
    .vx-title { font-size: 1.7em; }
    .vx-stop[aria-current="true"] span { display: none; }
    /* Play is a round button like the arrows. */
    .vx-play { justify-content: center; width: 2.7em; padding: 0; }
    .vx-play-label, .vx-play.is-playing .vx-play-bars { display: none; }
    .vx-rail { gap: .45em; }
    /* Opened on a phone, Carey may take more of the screen: the patient asked for it. */
    .ex-stage-side { max-height: 52vh; }
}

/* Without motion every picture and label is simply there. */
@media (prefers-reduced-motion: reduce) {
    .ex-stage::before,
    .ex-stage [class^="vx-"],
    .ex-stage [class*=" vx-"],
    .ex-stage [class^="vx-"]::before,
    .ex-stage [class^="vx-"]::after,
    .ex-stage [class*=" vx-"]::before,
    .ex-stage [class*=" vx-"]::after { animation: none !important; transition: none !important; }
    .vx-line { stroke-dashoffset: 0; }
    .vx-scan, .vx-hot i:not(:first-child), .vx-marker::after, .vx-base::after { display: none; }
    .vx-hot i { transform: none; opacity: .9; }
    .vx-holo.is-revealed .vx-fx { opacity: .92; }
}

/* ── A visit in another language ──────────────────────────────────────── */

/* The screen is worded in the language of the note (i18n.js). English is drawn by the
   rules above. These only loosen the type for words that are longer, taller, or written
   in another script or direction. */

/* Accents and marks above and below the line need more room than English capitals. */
.vx-deck--translated .vx-title { padding: .06em 0 .1em; line-height: 1.16; overflow-wrap: break-word; }
.vx-deck--translated .vx-option h3 { line-height: 1.25; overflow-wrap: break-word; }
.vx-deck--translated .vx-row-tag { max-width: 45%; text-align: end; }
.vx-deck--translated .vx-side { letter-spacing: .12em; }
/* The names of the parts of a tooth sit in the narrow margin beside the picture. A longer word
   is set in lower case, and two words may take two lines. */
.vx-deck--translated .vx-note--part {
    width: max-content;
    max-width: 6.4em;
    line-height: 1.1;
    letter-spacing: .04em;
    text-align: right;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Scripts with no capitals: the wide and the tight spacing of the Latin headings are dropped. */
.vx-deck--script .vx-title { line-height: 1.3; letter-spacing: 0; word-break: keep-all; }
.vx-deck--script .vx-head h1,
.vx-deck--script .vx-option h3 { letter-spacing: 0; }
.vx-deck--script .vx-eyebrow,
.vx-deck--script .vx-side,
.vx-deck--script .vx-switch button,
.vx-deck--script .vx-option-label,
.vx-deck--script .vx-needs b,
.vx-deck--script .vx-row-tag,
.vx-deck--script .vx-illus { letter-spacing: .04em; }
.vx-deck--script .vx-eyebrow { font-size: .8em; }

/* Arabic and Hebrew. The words run right to left. The pictures, the strip of scenes and
   "your right / your left" stay where they are: they follow the mouth, not the writing. */
.vx-deck--rtl * { letter-spacing: 0 !important; }
.vx-deck--rtl .vx-head,
.vx-deck--rtl .vx-info,
.vx-deck--rtl .vx-option,
.vx-deck--rtl .vx-foot { direction: rtl; }
.vx-deck--rtl .vx-stop span,
.vx-deck--rtl .vx-note { direction: rtl; }
.vx-deck--rtl .vx-row { padding: .62em .62em .62em .9em; text-align: right; }
.vx-deck--rtl .vx-row:hover { translate: -.25em 0; }
.vx-deck--rtl .vx-jump { text-align: right; }
.vx-deck--rtl .vx-jump i { scale: -1 1; }
.vx-deck--rtl .vx-jump:hover i { translate: -.25em 0; }
.vx-deck--rtl .vx-steps li:not(:last-child)::before { left: auto; right: .95em; margin: 0 -1px 0 0; }
.vx-deck--rtl .vx-points li { padding: 0 1.5em 0 0; }
.vx-deck--rtl .vx-points li::before { left: auto; right: 0; }

.ex-stage .carey-panel--rtl { direction: rtl; }
.ex-stage .carey-panel--rtl .carey-bubble--question { border-bottom-right-radius: 1.2em; border-bottom-left-radius: .4em; }
.ex-stage .carey-panel--rtl .carey-bubble--answer { border-bottom-left-radius: 1.2em; border-bottom-right-radius: .4em; }
@media (max-width: 900px), (orientation: portrait) {
    .ex-stage .carey-panel--rtl .carey-head { text-align: right; }
}
