/* v5 feature visuals: the stylesheet for _shared/visuals/*.php (loaded by _shared/feature-visual.php)
   Animated pictures that stand in for a feature's image or video, drawn in HTML and CSS. Used by the v5 feature block on vizor.cloud and by
   other sites (vector-networks.com loads this file from vizor.cloud), so it does not rely on any other stylesheet: the colours are set here, from
   the style guide (blue, orange, ink, text, muted, page, blue tint, border strong).

   The frame is 16:9 like the screenshots it replaces. It is a container, and everything inside is sized in em from one font-size set in cqw, so the
   whole picture scales with the card it sits in. */

.v5fv {
    --v5fv-blue: #2491eb;
    --v5fv-blue-tint: #e9f4fd;
    --v5fv-blue-text: #1a6fb8;
    --v5fv-ink: #232122;
    --v5fv-text: #575556;
    --v5fv-muted: #8a8888;
    --v5fv-border: #dbe4ee;
    --v5fv-orange-tint: #fef3e2;
    --v5fv-orange-text: #a86a00;
    --v5fv-orange-cta: #fbb03b;
    --v5fv-grey-tint: #f1f0f0;
    --v5fv-danger: #b3261e;
    --v5fv-danger-tint: #fdecea;
    --v5fv-dur: 8s;

    container-type: inline-size;
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f9fd 0%, #e9f4fd 100%);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--v5fv-text);
}

/* No background of its own ('v5fv--clear', for over a glow): no card colour, border or clip, so the label, box and row sit straight on what is behind. Their own
   white cards and shadows are unchanged. The small caption is the only text that sat on the card colour, so it takes its colour from --v5fv-clear-cap (set by the page;
   white-ish by default, for a dark background). */
.v5fv--clear { z-index: 1; overflow: visible; border: 0; border-radius: 0; background: none; }
.v5fv--clear .v5fv-cap { color: var(--v5fv-clear-cap, rgba(255, 255, 255, .85)); }

/* The markup has the hidden attribute, so without this stylesheet it stays hidden and the fallback image (v5_feature_visual's third argument) shows; this file shows the visual and hides the fallback. */
.v5fv-fallback { display: none; }

.v5fv *,
.v5fv *::before,
.v5fv *::after { box-sizing: border-box; }

.v5fv-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 6%;
    padding: 0 6%;
    font-size: clamp(10px, 2.3cqw, 24px);   /* about 22px in a 960px-wide card, never under 10px; everything below is in em */
    line-height: 1.3;
    text-align: left;
}

/* ---------- the label being scanned ---------- */
.v5fv-label {
    position: relative;
    flex: 0 0 33%;
    overflow: hidden;
    padding: .9em 1em .6em;
    border: .14em solid var(--v5fv-border);
    border-radius: 1em;
    background: #ffffff;
    box-shadow: 0 .9em 2.2em rgba(20, 60, 100, .18);
    text-align: center;
    transform: rotate(-3deg);
    animation: v5fv-label var(--v5fv-dur) ease-in-out infinite;
}

.v5fv-label svg { display: block; width: 100%; height: 4.6em; fill: var(--v5fv-ink); }

.v5fv-tag {
    display: block;
    margin-top: .5em;
    font: 700 .95em ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .12em;
    color: var(--v5fv-ink);
}

/* the laser: a red line that sweeps down the label once */
.v5fv-beam {
    position: absolute;
    left: 0;
    right: 0;
    top: 8%;
    height: .25em;
    border-radius: .2em;
    background: #ff2a2a;
    box-shadow: 0 0 1em .35em rgba(255, 42, 42, .55);
    opacity: 0;
    animation: v5fv-beam var(--v5fv-dur) linear infinite;
}

/* ---------- the box the code lands in, and the asset it finds ---------- */
.v5fv-side { flex: 1; min-width: 0; }

.v5fv-cap { margin: 0 0 .45em .9em; font-size: .72em; font-weight: 700; color: var(--v5fv-muted); }

.v5fv-input {
    display: flex;
    align-items: center;
    gap: .7em;
    height: 2.9em;
    padding: 0 .55em 0 1.1em;
    border: .12em solid var(--v5fv-blue);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 0 .3em rgba(36, 145, 235, .18);
    animation: v5fv-input var(--v5fv-dur) ease-in-out infinite;
}

.v5fv-typed {
    flex: 1;
    min-width: 0;
    font-size: 1.02em;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--v5fv-ink);
    white-space: nowrap;
    overflow: hidden;
    animation: v5fv-typed var(--v5fv-dur) steps(1, end) infinite;
}

.v5fv-ok {
    flex: none;
    padding: .28em .8em;
    border-radius: 999px;
    background: var(--v5fv-blue);
    font-size: .68em;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    animation: v5fv-ok var(--v5fv-dur) ease-out infinite;
}

.v5fv-row {
    display: flex;
    align-items: center;
    gap: .7em;
    margin-top: .9em;
    padding: .65em .8em;
    border-radius: .9em;
    background: #ffffff;
    box-shadow: 0 .5em 1.3em rgba(20, 60, 100, .12), 0 0 0 1px var(--v5fv-border);
    animation: v5fv-row var(--v5fv-dur) ease-out infinite;
}

/* the app's Chromebook icon (mockups/images/icons/asset-chromebook.svg): a pale orange tile, the laptop in orange, the blue circle in the screen */
.v5fv-ic { flex: none; display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: .6em; background: #fef3e2; }
.v5fv-ic svg { width: 1.5em; height: 1.5em; fill: none; stroke: #e6a02a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v5fv-ic svg circle { stroke: var(--v5fv-blue); }
.v5fv-rt { flex: 1; min-width: 0; }
.v5fv-rt b { display: block; font-size: .8em; font-weight: 700; color: var(--v5fv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v5fv-rt span { display: block; font-size: .66em; color: var(--v5fv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the app's status badge (data-table.css .status-badge--assigned: blue tint, blue text, a dot). The app's badge is 12.5px with a 1.5 line height, 5px 11px 5px 9px padding, a 7px dot and a 7px gap (28.75px tall); those are the em values here. */
.v5fv-st { flex: none; display: inline-flex; align-items: center; gap: .56em; padding: .4em .88em .4em .72em; line-height: 1.5; border-radius: 999px; background: var(--v5fv-blue-tint); font-size: .66em; font-weight: 700; color: var(--v5fv-blue-text); white-space: nowrap; }
.v5fv-st::before { content: ""; flex: none; width: .56em; height: .56em; border-radius: 50%; background: currentColor; }

/* ---------- the timeline (all pieces share one 8s clock, so they stay in step) ----------
    0 -  8%  the label slides in          10 - 20%  the laser sweeps down once (0.8s)     22%  the code lands in the box, "Scanned" pops
   28 - 34%  the asset slides up          92 - 97%  everything fades together, then it starts again
   The label stays solid all the way through (it is not dimmed once scanned). */
@keyframes v5fv-label {
    0%        { opacity: 0; transform: translateX(-30%) rotate(-7deg); }
    8%, 92%   { opacity: 1; transform: rotate(-3deg); }
    97%, 100% { opacity: 0; transform: rotate(-3deg); }
}

@keyframes v5fv-beam {   /* once, top to bottom, then off */
    0%, 9%    { opacity: 0; top: 8%; }
    10%       { opacity: 1; top: 8%; }
    20%       { opacity: 1; top: 86%; }
    21%, 100% { opacity: 0; top: 86%; }
}

@keyframes v5fv-input {
    0%, 21%   { border-color: var(--v5fv-border); box-shadow: none; }
    22%, 92%  { border-color: var(--v5fv-blue); box-shadow: 0 0 0 .3em rgba(36, 145, 235, .18); }
    97%, 100% { border-color: var(--v5fv-border); box-shadow: none; }
}

@keyframes v5fv-typed {
    0%, 21%   { opacity: 0; }
    22%, 94%  { opacity: 1; }
    95%, 100% { opacity: 0; }
}

@keyframes v5fv-ok {
    0%, 22%   { opacity: 0; transform: scale(.6); }
    25%       { opacity: 1; transform: scale(1.1); }
    27%, 90%  { opacity: 1; transform: scale(1); }
    94%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes v5fv-row {
    0%, 28%   { opacity: 0; transform: translateY(45%); }
    34%, 90%  { opacity: 1; transform: none; }
    96%, 100% { opacity: 0; transform: none; }
}

/* The script (visuals.js) starts a visual when it scrolls into view and pauses it when it leaves. Without the script it simply plays. */
.v5fv--js:not(.is-playing) .v5fv-stage *,
.v5fv--js:not(.is-playing) .v5fv-stage *::before,
.v5fv--js:not(.is-playing) .v5fv-stage *::after { animation-play-state: paused; }

/* Reduced motion: the finished frame, no laser (every piece's own style, without its animation, is that frame). */
@media (prefers-reduced-motion: reduce) {
    .v5fv-stage *,
    .v5fv-stage *::before { animation: none !important; }
    .v5fv-beam { display: none; }
    .v5fv-label { opacity: 1; }
}

/* a narrow card (a phone): the label gives the box more room, and the smallest text goes, since it would be too small to read */
@container (max-width: 520px) {   /* 16:9 only; the 1:1 card has its own rule below */
    .v5fv:not(.v5fv--square) .v5fv-label { flex-basis: 30%; padding: .7em .7em .5em; }
    .v5fv:not(.v5fv--square) .v5fv-stage { gap: 4%; padding: 0 5%; }
    .v5fv:not(.v5fv--square) .v5fv-cap, .v5fv:not(.v5fv--square) .v5fv-rt span { display: none; }
    .v5fv:not(.v5fv--square) .v5fv-tag { font-size: .8em; letter-spacing: .06em; }
    .v5fv:not(.v5fv--square) .v5fv-typed { font-size: .9em; }
    .v5fv:not(.v5fv--square) .v5fv-ok { font-size: .75em; padding: .25em .6em; }
    .v5fv:not(.v5fv--square) .v5fv-rt b { font-size: .9em; }
    .v5fv:not(.v5fv--square) .v5fv-st { font-size: .75em; }
}

/* ---------- 1:1 ('v5fv--square') ----------
   Same pieces, stacked: the label on top, the box and the asset row under it. The stage is wider relative to its height than in 16:9, so the text is larger
   (more of the card's width). The label slides in from above instead of from the left. */
.v5fv--square { aspect-ratio: 1 / 1; }
.v5fv--square .v5fv-stage { flex-direction: column; justify-content: center; align-items: stretch; gap: 7%; padding: 0 8%; font-size: clamp(10px, 3.6cqw, 26px); }
.v5fv--square .v5fv-label { flex: none; align-self: center; width: 62%; animation-name: v5fv-label-sq; }
.v5fv--square .v5fv-side { flex: none; }

@keyframes v5fv-label-sq {
    0%        { opacity: 0; transform: translateY(-35%) rotate(-7deg); }
    8%, 92%   { opacity: 1; transform: rotate(-3deg); }
    97%, 100% { opacity: 0; transform: rotate(-3deg); }
}

@container (max-width: 300px) {
    .v5fv--square .v5fv-cap, .v5fv--square .v5fv-rt span { display: none; }
}


/* ---------- status rows ('status-rows') ----------
   Every status badge in rows that scroll sideways. The badges are the app's (data-table.css .status-badge), in em like the asset row's: 12.5px with a 1.5 line height,
   5px 11px 5px 9px padding, a 7px dot and gap, a 1.5px outline, a 2px ring and a 13px arrow. The rows fill the width and fade out at both edges. */
.v5fv--status .v5fv-stage { flex-direction: column; justify-content: center; align-items: stretch; gap: .5em; padding: 0; font-size: clamp(10px, 2.8cqw, 26px); }
.v5fv--status.v5fv--square .v5fv-stage { font-size: clamp(10px, 3.6cqw, 26px); }   /* after the 1:1 rule above, which would otherwise pad the rows in */

.v5fv-srow {
    flex: none;
    overflow: hidden;
    padding: .35em 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.v5fv-srow--extra { display: none; }                            /* the 16:9 frame has no room for these two */
.v5fv--square .v5fv-srow--extra { display: block; }

/* the track holds the badges twice over and slides left by exactly one copy, so it loops without a jump; a row can run the other way */
.v5fv-strack { display: flex; width: max-content; animation: v5fv-scroll var(--v5fv-trip, 30s) linear infinite; }
.v5fv-srow--rev .v5fv-strack { animation-direction: reverse; }
@keyframes v5fv-scroll { to { transform: translateX(-50%); } }

.v5fv-b {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .56em;
    margin-right: .8em;
    padding: .4em .88em .4em .72em;
    border-radius: 999px;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}
.v5fv-b::before { content: ""; flex: none; width: .56em; height: .56em; border-radius: 50%; background: currentColor; }

.v5fv-b--assigned { background: var(--v5fv-blue-tint); color: var(--v5fv-blue-text); }
.v5fv-b--stock    { background: var(--v5fv-grey-tint); color: var(--v5fv-text); }
.v5fv-b--repair   { background: var(--v5fv-orange-tint); color: var(--v5fv-orange-text); }
.v5fv-b--retired  { background: #ffffff; color: var(--v5fv-muted); box-shadow: inset 0 0 0 .12em #dcdfe4; }
.v5fv-b--lost     { background: var(--v5fv-danger-tint); color: var(--v5fv-danger); animation: v5fv-glow 1.4s ease-in-out infinite; }

/* waiting on someone: a hollow ring that pulses */
.v5fv-b--pending { background: var(--v5fv-orange-tint); color: var(--v5fv-orange-text); }
.v5fv-b--pending::before { background: transparent; box-shadow: inset 0 0 0 .16em currentColor; animation: v5fv-ring 1.3s ease-in-out infinite; }

/* on its way out: white with an orange outline */
.v5fv-b--retiring { background: #ffffff; color: var(--v5fv-orange-text); box-shadow: inset 0 0 0 .12em var(--v5fv-orange-cta); }

/* on the move: an arrow instead of the dot (blue towards a person, gray back to storage) */
.v5fv-b--out { background: var(--v5fv-blue-tint); color: var(--v5fv-blue-text); }
.v5fv-b--in  { background: var(--v5fv-grey-tint); color: var(--v5fv-text); }
.v5fv-b--out::before, .v5fv-b--in::before { width: auto; height: auto; border-radius: 0; background: none; font-size: 1.04em; line-height: 1; }
.v5fv-b--out::before { content: "\2192"; animation: v5fv-nudge-r .9s ease-in-out infinite; }
.v5fv-b--in::before  { content: "\2190"; animation: v5fv-nudge-l .9s ease-in-out infinite; }

@keyframes v5fv-ring    { 50% { box-shadow: inset 0 0 0 .2em currentColor, 0 0 0 .5em rgba(168, 106, 0, .2); } }
@keyframes v5fv-nudge-r { 50% { transform: translateX(.3em); } }
@keyframes v5fv-nudge-l { 50% { transform: translateX(-.3em); } }
@keyframes v5fv-glow    { 50% { box-shadow: 0 0 0 .45em rgba(179, 38, 30, .18); } }


/* ---------- hero widgets ('hero-widgets') ----------
   The hero's widget cluster: five cards in two staggered columns (the right column sits lower, which gives the floating, layered look). It has no 16:9 or 1:1
   shape, its height follows the cards. Every size is written as a number of --u, one 660th of the picture's width, so the whole cluster scales with the
   space it is given (1 --u is calc(1 * var(--u)) in a calc(660 * var(--u))-wide picture, the size it was designed at). On a narrow picture the cards stop floating and sit in a tidy grid (below). */
.v5fv--widgets { aspect-ratio: auto; overflow: visible; --v5fv-card-line: transparent; }
.v5fv--widgets:not(.v5fv--clear) { overflow: hidden; }
.v5fv--widgets .v5fv-stage {
    --u: calc(100cqw / 660);
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(20 * var(--u));
    align-items: start;
    padding: calc(8 * var(--u)) 0 calc(28 * var(--u));
    font-size: calc(14 * var(--u));
}
.v5fv--widgets:not(.v5fv--clear) .v5fv-stage { padding: calc(28 * var(--u)) calc(28 * var(--u)) calc(48 * var(--u)); }
.v5fv-hw-col { display: flex; flex-direction: column; gap: calc(20 * var(--u)); min-width: 0; }
.v5fv-hw-col--b { margin-top: calc(64 * var(--u)); }

.v5fv-hw-card {
    background: #ffffff;
    color: #575556;
    border-radius: calc(18 * var(--u));
    padding: calc(20 * var(--u)) calc(22 * var(--u)) calc(22 * var(--u));
    box-shadow: 0 0 0 calc(1 * var(--u)) var(--v5fv-card-line, transparent), var(--v5fv-card-shadow, 0 calc(22 * var(--u)) calc(54 * var(--u)) rgba(10, 40, 70, 0.32));
    animation: v5fv-hw-bob 7s ease-in-out infinite;
}
.v5fv-hw-total { animation-delay: -1s; }
.v5fv-hw-donut { animation-delay: -2.5s; }
.v5fv-hw-links { animation-delay: -4s; }
.v5fv-hw-gauge { animation-delay: -1.8s; }
.v5fv-hw-inv   { animation-delay: -3.4s; }

.v5fv-hw-title { margin: 0 0 calc(12 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 700; color: #575556; line-height: 1.3; }

/* total widget */
.v5fv-hw-total-num { font-size: calc(62 * var(--u)); line-height: 1; font-weight: 800; letter-spacing: -0.035em; color: #232122; font-variant-numeric: tabular-nums; }
.v5fv-hw-total-sub { margin: calc(6 * var(--u)) 0 calc(16 * var(--u)); font-size: calc(13 * var(--u)); color: #8a8888; }
.v5fv-hw-seg { display: flex; gap: calc(3 * var(--u)); height: calc(12 * var(--u)); }
.v5fv-hw-seg i { display: block; height: 100%; width: var(--w); border-radius: calc(999 * var(--u)); transform-origin: left; animation: v5fv-hw-growx 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
.v5fv-hw-tleg { list-style: none; margin: calc(14 * var(--u)) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: calc(9 * var(--u)) calc(14 * var(--u)); }
.v5fv-hw-tleg li { display: flex; align-items: center; gap: calc(7 * var(--u)); font-size: calc(12.5 * var(--u)); font-weight: 600; color: #575556; line-height: 1.25; }
.v5fv-hw-tleg i { flex: none; width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: calc(3 * var(--u)); }
.v5fv-hw-tleg b { margin-left: auto; color: #232122; font-variant-numeric: tabular-nums; }

/* gauge */
.v5fv-hw-gwrap { position: relative; max-width: calc(280 * var(--u)); margin: 0 auto; }
.v5fv-hw-gwrap svg { display: block; width: 100%; height: auto; overflow: visible; }
.v5fv-hw-gtrack { fill: none; stroke: #edf2f7; stroke-width: 11; stroke-linecap: round; }
.v5fv-hw-gfill { fill: none; stroke: #2491eb; stroke-width: 11; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--v5fv-hw-off, 37); animation: v5fv-hw-gauge 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
.v5fv-hw-gtick { stroke: #ffffff; stroke-width: 1.5; }
.v5fv-hw-gval { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: calc(38 * var(--u)); line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: #232122; }
.v5fv-hw-gcap { margin: calc(10 * var(--u)) 0 0; text-align: center; font-size: calc(12.5 * var(--u)); color: #8a8888; }

/* donut */
.v5fv-hw-drow { display: flex; align-items: center; gap: calc(16 * var(--u)); }
.v5fv-hw-dn { flex: none; width: calc(108 * var(--u)); height: calc(108 * var(--u)); transform: rotate(-90deg); overflow: visible; }
.v5fv-hw-dn circle { fill: none; stroke-width: 6; }
.v5fv-hw-dn .v5fv-hw-dseg { animation: v5fv-hw-draw 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both; }
.v5fv-hw-dleg { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: calc(8 * var(--u)); min-width: 0; flex: 1; }
.v5fv-hw-dleg li { display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(12.5 * var(--u)); font-weight: 600; color: #575556; line-height: 1.25; }
.v5fv-hw-dleg i { flex: none; width: calc(10 * var(--u)); height: calc(10 * var(--u)); border-radius: calc(3 * var(--u)); }
.v5fv-hw-dleg b { margin-left: auto; padding-left: calc(6 * var(--u)); color: #232122; font-variant-numeric: tabular-nums; }

/* quick link (a single card) */
.v5fv-hw-links { padding: calc(16 * var(--u)) calc(18 * var(--u)); }
.v5fv-hw-link { display: flex; align-items: center; gap: calc(14 * var(--u)); }
.v5fv-hw-lic { flex: none; width: calc(46 * var(--u)); height: calc(46 * var(--u)); border-radius: calc(13 * var(--u)); background: #e9f4fd; display: flex; align-items: center; justify-content: center; }
.v5fv-hw-lic svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); fill: none; stroke: #2491eb; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v5fv-hw-lt { flex: 1; min-width: 0; }
.v5fv-hw-lt b { display: block; font-size: calc(15 * var(--u)); font-weight: 700; color: #232122; line-height: 1.3; }
.v5fv-hw-lt span { display: block; margin-top: calc(2 * var(--u)); font-size: calc(12.5 * var(--u)); color: #8a8888; line-height: 1.4; }
.v5fv-hw-chev { flex: none; width: calc(18 * var(--u)); height: calc(18 * var(--u)); fill: none; stroke: #b6bcc4; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* device inventory */
.v5fv-hw-inv-head { display: flex; align-items: center; justify-content: space-between; gap: calc(8 * var(--u)); margin-bottom: calc(12 * var(--u)); }
.v5fv-hw-inv-head .v5fv-hw-title { margin: 0; }
.v5fv-hw-sync { font-size: calc(11 * var(--u)); font-weight: 700; padding: calc(3 * var(--u)) calc(9 * var(--u)); border-radius: calc(999 * var(--u)); background: #e9f5ea; color: #2f9e44; white-space: nowrap; }
.v5fv-hw-rows { display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
.v5fv-hw-row { display: flex; align-items: center; gap: calc(11 * var(--u)); background: #f5f9fd; border-radius: calc(12 * var(--u)); padding: calc(10 * var(--u)) calc(12 * var(--u)); }
.v5fv-hw-ic { flex: none; width: calc(34 * var(--u)); height: calc(34 * var(--u)); border-radius: calc(10 * var(--u)); display: flex; align-items: center; justify-content: center; }
.v5fv-hw-ic svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); fill: none; stroke: #ffffff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v5fv-hw-ic--blue { background: #2491eb; } .v5fv-hw-ic--orange { background: #fbb03b; } .v5fv-hw-ic--orange svg { stroke: #232122; } .v5fv-hw-ic--grey { background: #575556; }
.v5fv-hw-rt { flex: 1; min-width: 0; }
.v5fv-hw-rt b { display: block; font-size: calc(13.5 * var(--u)); font-weight: 700; color: #232122; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v5fv-hw-rt span { display: block; font-size: calc(12 * var(--u)); color: #8a8888; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v5fv-hw-st { flex: none; font-size: calc(12 * var(--u)); font-weight: 700; }
.v5fv-hw-st--ok { color: #2f9e44; } .v5fv-hw-st--warn { color: #d98a00; } .v5fv-hw-st--mute { color: #575556; }

@keyframes v5fv-hw-growx { from { transform: scaleX(0); } }
@keyframes v5fv-hw-gauge { from { stroke-dashoffset: 100; } }
@keyframes v5fv-hw-draw  { from { stroke-dasharray: 0 100; } }
@keyframes v5fv-hw-bob   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* a narrow picture (a phone): the cards stop floating and sit in a tidy grid, so nothing overlaps or runs off the edge. The two columns dissolve (display: contents)
   and each card is placed with `order`. It is drawn at 360 wide instead of 660, so the text stays readable. */
@container (max-width: 520px) {
    .v5fv--widgets .v5fv-stage { --u: calc(100cqw / 360); gap: calc(14 * var(--u)); padding: 0; }
    .v5fv--widgets:not(.v5fv--clear) .v5fv-stage { padding: calc(14 * var(--u)); }
    .v5fv-hw-col { display: contents; }
    .v5fv-hw-card { animation: none; padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(18 * var(--u)); }
    .v5fv-hw-total { order: 1; grid-column: 1 / -1; }
    .v5fv-hw-gauge { order: 2; }
    .v5fv-hw-donut { order: 3; }
    .v5fv-hw-links { order: 4; grid-column: 1 / -1; }
    .v5fv-hw-inv   { order: 5; grid-column: 1 / -1; }
    .v5fv-hw-drow { flex-direction: column; align-items: flex-start; }
    .v5fv-hw-total-num { font-size: calc(54 * var(--u)); }
    .v5fv-hw-gval { font-size: calc(30 * var(--u)); }
}


/* ---------- simple status list ('status-simple') ----------
   Five statuses, large, with the app's badge looks (the .v5fv-b rules above). One under the other in the 1:1 shape; in the 16:9 shape they sit in a centred row
   that wraps. They appear one after another on the shared clock, hold, then fade together before the loop starts again. */
.v5fv--statussimple .v5fv-stage {
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: .7em .8em;
    padding: 0 8%;
    font-size: clamp(11px, 2.9cqw, 26px);
}

.v5fv--statussimple.v5fv--square .v5fv-stage {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: .9em;
    padding: 0;
    font-size: clamp(14px, 5.4cqw, 38px);
}

.v5fv--statussimple .v5fv-ss { margin: 0; animation: v5fv-ss-in var(--v5fv-dur) ease-out backwards infinite; animation-delay: calc(var(--i) * .3s); }
/* Lost keeps its glow as well as the entrance */
.v5fv--statussimple .v5fv-b--lost { animation: v5fv-ss-in var(--v5fv-dur) ease-out backwards infinite, v5fv-glow 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * .3s), 0s; }

@keyframes v5fv-ss-in {
    0%        { opacity: 0; transform: translateY(.6em) scale(.94); }
    8%, 88%   { opacity: 1; transform: none; }
    96%, 100% { opacity: 0; transform: none; }
}


/* ---------- repair categories ('repair-categories') ----------
   A ticket form in the style guide's dropdown style (css/forms.css in the mock-ups): a pale field (white with a blue edge while it is open), a floating white list with 16px
   corners and a deep shadow, rows with rounded corners, and the chosen row as a selected row (pale blue with a straight blue bar on its left). Sizes are the style guide's
   (15px type, 9 x 12px field padding, 10px row corners) in em. The final frame, which reduced motion shows, is the list open with Broken screen chosen. */
.v5fv--dropdown .v5fv-stage {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: stretch;
    gap: 1em;
    padding: 0 9%;
    font-size: clamp(10px, 3.3cqw, 24px);
    font-weight: 500;
    color: var(--v5fv-ink);
}

/* 16:9: the two fields side by side, the list under the Category one */
.v5fv--dropdown:not(.v5fv--square) .v5fv-stage { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: start; gap: 1em 1.6em; padding: 0 7%; font-size: clamp(10px, 2.1cqw, 22px); }

.v5fv-dd-field { min-width: 0; }
.v5fv-dd-label { display: block; margin: 0 0 .4em; font-size: .93em; font-weight: 600; line-height: 1.35; color: var(--v5fv-text); }

.v5fv-dd-box {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2.6em;
    padding: .6em .8em;
    border: .1em solid transparent;
    border-radius: .67em;
    background: #f5f9fd;
    line-height: 1.4;
}

.v5fv-dd-val { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v5fv-dd-ph  { position: absolute; left: .8em; opacity: 0; color: var(--v5fv-muted); white-space: nowrap; }

/* the arrow, in the grey of the other arrows; it turns over while the list is open (so it is turned in the final frame, and in the Category field only) */
.v5fv-dd-chev { flex: none; width: .5em; height: .5em; margin: 0 .35em 0 .8em; border: solid var(--v5fv-muted); border-width: 0 .14em .14em 0; transform: translateY(-.15em) rotate(45deg); }
.v5fv-dd-box--cat .v5fv-dd-chev { transform: translateY(.1em) rotate(225deg); }

/* the Category field while its list is open: white with a blue edge (the style guide's focus) */
.v5fv-dd-box--cat { border-color: var(--v5fv-blue); background: #ffffff; animation: v5fv-dd-focus var(--v5fv-dd-dur, var(--v5fv-dur)) ease-in-out infinite; }

/* the list: a floating white panel */
.v5fv-dd-panel {
    position: relative;
    margin-top: .5em;
    padding: .4em;
    border-radius: 1.07em;
    background: #ffffff;
    box-shadow: 0 1.07em 2.4em rgba(20, 30, 60, .16), 0 0 0 .07em #ececec;
    animation: v5fv-dd-panel var(--v5fv-dur) ease-in-out infinite;
}

.v5fv-dd-panel ul { position: relative; list-style: none; margin: 0; padding: 0; }
.v5fv-dd-panel li { display: flex; align-items: center; height: 2.6em; margin: 0; padding: 0 .8em; border-radius: .67em; white-space: nowrap; color: var(--v5fv-ink); }

/* the chosen row: as a selected grid row (pale blue with a straight blue bar on the left) */
.v5fv-dd-chosen { background: #f6fafe; box-shadow: inset .2em 0 0 var(--v5fv-blue); border-radius: 0 !important; animation: v5fv-dd-chosen var(--v5fv-dur) ease-in-out infinite; }

/* the row the pointer is on: blue tint, moving down from the first row to Broken screen; it is off in the final frame, where the chosen row stands instead */
.v5fv-dd-hover { position: absolute; left: .4em; right: .4em; top: .4em; height: 2.6em; border-radius: .67em; background: var(--v5fv-blue-tint); opacity: 0; animation: v5fv-dd-hover var(--v5fv-dur) ease-in-out infinite; }

/* the field's text: "Select a category" until Broken screen is chosen */
.v5fv-dd-val--pick { animation: v5fv-dd-pick var(--v5fv-dur) ease-in-out infinite; }
.v5fv-dd-ph { animation: v5fv-dd-ph var(--v5fv-dur) ease-in-out infinite; }

@keyframes v5fv-dd-focus {
    0%, 4%    { border-color: transparent; background: #f5f9fd; }
    9%, 88%   { border-color: var(--v5fv-blue); background: #ffffff; }
    95%, 100% { border-color: transparent; background: #f5f9fd; }
}
@keyframes v5fv-dd-panel {
    0%, 5%    { opacity: 0; transform: translateY(-.5em); }
    11%, 88%  { opacity: 1; transform: none; }
    94%, 100% { opacity: 0; transform: translateY(-.5em); }
}
@keyframes v5fv-dd-hover {
    0%, 14%   { opacity: 0; transform: translateY(0); }
    16%       { opacity: 1; transform: translateY(0); }
    26%       { opacity: 1; transform: translateY(2.6em); }
    36%       { opacity: 1; transform: translateY(5.2em); }
    39%, 100% { opacity: 0; transform: translateY(5.2em); }
}
@keyframes v5fv-dd-chosen {
    0%, 36%   { background: transparent; box-shadow: inset 0 0 0 var(--v5fv-blue); }
    40%, 100% { background: #f6fafe; box-shadow: inset .2em 0 0 var(--v5fv-blue); }
}
@keyframes v5fv-dd-pick {
    0%, 38%   { opacity: 0; }
    42%, 90%  { opacity: 1; }
    95%, 100% { opacity: 0; }
}
@keyframes v5fv-dd-ph {
    0%, 8%    { opacity: 1; }
    12%, 88%  { opacity: 0; }
    95%, 100% { opacity: 1; }
}


/* ---------- an asset's journey ('asset-journey') ----------
   The picture for the top of the home page: three pills (Track IT, Assign IT, Fix IT) over one Chromebook card whose status and event change with each. Like hero-widgets it has no
   fixed shape: every size is a number of --u, one 480th of the picture's width, so it scales with the space it is given. The final frame, which reduced motion shows, is
   Fix IT. The timeline is the shared 8 seconds: Track IT 4-30%, Assign IT 34-60%, Fix IT 64-90%, then everything fades back to the start. */
.v5fv--journey { aspect-ratio: auto; overflow: visible; }
.v5fv--journey:not(.v5fv--clear) { overflow: hidden; }

.v5fv--journey .v5fv-stage {
    --u: calc(100cqw / 480);
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: calc(18 * var(--u));
    padding: calc(8 * var(--u)) 0 calc(28 * var(--u));
    font-size: calc(14 * var(--u));
    line-height: 1.3;
}

.v5fv--journey:not(.v5fv--clear) .v5fv-stage { padding: calc(28 * var(--u)) calc(28 * var(--u)) calc(36 * var(--u)); }

/* ---- the three jobs ---- */
.v5fv-aj-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(12 * var(--u)); }

.v5fv-aj-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(8 * var(--u));
    height: calc(46 * var(--u));
    border: calc(1.5 * var(--u)) solid #dbe4ee;
    border-radius: calc(999 * var(--u));
    background: #ffffff;
    color: #575556;
    font-size: calc(15 * var(--u));
    font-weight: 700;
    white-space: nowrap;
}

.v5fv-aj-pill svg { flex: none; width: calc(18 * var(--u)); height: calc(18 * var(--u)); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the finished frame: Track IT and Assign IT done (blue tint), Fix IT the one in hand (orange) */
.v5fv-aj-pill--1, .v5fv-aj-pill--2 { border-color: #cfe5f8; background: #e9f4fd; color: #1a6fb8; }
.v5fv-aj-pill--3 { border-color: var(--v5fv-orange-cta); background: var(--v5fv-orange-cta); color: #232122; box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(251, 176, 59, 0.40); }

.v5fv-aj-pill--1 { animation: v5fv-aj-p1 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-aj-pill--2 { animation: v5fv-aj-p2 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-aj-pill--3 { animation: v5fv-aj-p3 var(--v5fv-dur) ease-in-out infinite; }

/* ---- the asset ---- */
.v5fv-aj-card {
    background: #ffffff;
    color: #575556;
    border-radius: calc(20 * var(--u));
    padding: calc(20 * var(--u)) calc(22 * var(--u)) calc(22 * var(--u));
    box-shadow: 0 0 0 calc(1 * var(--u)) var(--v5fv-card-line, transparent), var(--v5fv-card-shadow, 0 calc(22 * var(--u)) calc(54 * var(--u)) rgba(10, 40, 70, 0.26));
    animation: v5fv-aj-card var(--v5fv-dur) ease-in-out infinite;
}

.v5fv-aj-head { display: flex; align-items: center; gap: calc(14 * var(--u)); }
.v5fv-aj-ic { flex: none; width: calc(46 * var(--u)); height: calc(46 * var(--u)); border-radius: calc(13 * var(--u)); background: #e9f4fd; display: flex; align-items: center; justify-content: center; }
.v5fv-aj-ic svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); fill: none; stroke: #2491eb; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v5fv-aj-rt { flex: 1; min-width: 0; }
.v5fv-aj-rt b { display: block; font-size: calc(17 * var(--u)); font-weight: 700; color: #232122; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v5fv-aj-rt span { display: block; margin-top: calc(2 * var(--u)); font-size: calc(13 * var(--u)); color: #8a8888; line-height: 1.3; }

/* the status badges sit in the same place and cross-fade (their look is the app's, from the status-rows rules above) */
.v5fv-aj-status { flex: none; display: grid; justify-items: end; }
.v5fv-aj-badge { grid-area: 1 / 1; margin: 0; font-size: calc(13 * var(--u)); opacity: 0; }
.v5fv-aj-badge--3 { opacity: 1; }
.v5fv-aj-badge--1 { animation: v5fv-aj-b1 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-aj-badge--2 { animation: v5fv-aj-b2 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-aj-badge--3 { animation: v5fv-aj-b3 var(--v5fv-dur) ease-in-out infinite; }

/* what happened: one line at a time, in the same place */
.v5fv-aj-events { display: grid; margin-top: calc(18 * var(--u)); padding-top: calc(16 * var(--u)); border-top: calc(1.5 * var(--u)) solid #edf2f7; }
.v5fv-aj-event { grid-area: 1 / 1; display: flex; align-items: center; gap: calc(12 * var(--u)); min-height: calc(34 * var(--u)); font-size: calc(15 * var(--u)); font-weight: 600; color: #232122; opacity: 0; }
.v5fv-aj-event--3 { opacity: 1; }
.v5fv-aj-eic { flex: none; width: calc(34 * var(--u)); height: calc(34 * var(--u)); border-radius: calc(10 * var(--u)); background: #e9f4fd; display: flex; align-items: center; justify-content: center; }
.v5fv-aj-eic svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); fill: none; stroke: #2491eb; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v5fv-aj-event--1 { animation: v5fv-aj-b1 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-aj-event--2 { animation: v5fv-aj-b2 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-aj-event--3 { animation: v5fv-aj-b3 var(--v5fv-dur) ease-in-out infinite; }

@keyframes v5fv-aj-card {
    0%        { opacity: 0; transform: translateY(calc(10 * var(--u))); }
    5%, 92%   { opacity: 1; transform: none; }
    98%, 100% { opacity: 0; transform: none; }
}

@keyframes v5fv-aj-b1 { 0%, 3% { opacity: 0; } 7%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes v5fv-aj-b2 { 0%, 33% { opacity: 0; } 37%, 60% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes v5fv-aj-b3 { 0%, 63% { opacity: 0; } 67%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }

@keyframes v5fv-aj-p1 {
    0%, 3%    { border-color: #dbe4ee; background: #ffffff; color: #575556; box-shadow: none; }
    7%, 30%   { border-color: var(--v5fv-orange-cta); background: var(--v5fv-orange-cta); color: #232122; box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(251, 176, 59, 0.40); }
    36%, 92%  { border-color: #cfe5f8; background: #e9f4fd; color: #1a6fb8; box-shadow: none; }
    98%, 100% { border-color: #dbe4ee; background: #ffffff; color: #575556; box-shadow: none; }
}
@keyframes v5fv-aj-p2 {
    0%, 33%   { border-color: #dbe4ee; background: #ffffff; color: #575556; box-shadow: none; }
    37%, 60%  { border-color: var(--v5fv-orange-cta); background: var(--v5fv-orange-cta); color: #232122; box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(251, 176, 59, 0.40); }
    66%, 92%  { border-color: #cfe5f8; background: #e9f4fd; color: #1a6fb8; box-shadow: none; }
    98%, 100% { border-color: #dbe4ee; background: #ffffff; color: #575556; box-shadow: none; }
}
@keyframes v5fv-aj-p3 {
    0%, 63%   { border-color: #dbe4ee; background: #ffffff; color: #575556; box-shadow: none; }
    67%, 92%  { border-color: var(--v5fv-orange-cta); background: var(--v5fv-orange-cta); color: #232122; box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(251, 176, 59, 0.40); }
    98%, 100% { border-color: #dbe4ee; background: #ffffff; color: #575556; box-shadow: none; }
}

/* a narrow picture (a phone): drawn at 360 wide instead of 560 so the text stays readable; the pills lose their icons and the status badge goes under the name */
@container (max-width: 420px) {
    .v5fv--journey .v5fv-stage { --u: calc(100cqw / 360); gap: calc(14 * var(--u)); }
    .v5fv--journey:not(.v5fv--clear) .v5fv-stage { padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(24 * var(--u)); }
    .v5fv-aj-pill svg { display: none; }
    .v5fv-aj-pill { height: calc(40 * var(--u)); font-size: calc(14 * var(--u)); }
    .v5fv-aj-card { padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(18 * var(--u)); }
    .v5fv-aj-head { flex-wrap: wrap; }
    .v5fv-aj-status { flex-basis: 100%; justify-items: start; padding-left: calc(60 * var(--u)); }
}


/* ---------- Track IT, Assign IT ('track-assign-fix') ----------
   One picture for the top of the home page, built from the other visuals, with nothing that fades in or out: every part is on screen all the time and only moves in place.
     - Track IT: the status badges of status-rows, big, in one row that scrolls sideways;
     - the device inventory (hero-widgets rows): a type with its asset tag under it, who has it, and its status;
     - Assign IT: the barcode-scan visual (the label and the box the tag lands in) with the check-in option of the mock-ups under it, Requires Repair. Scanning fills
       the box, then Requires Repair is ticked and the status of the device with that tag changes from Assigned to In Repair in the inventory, and the new status is highlighted.
   Like hero-widgets it has no fixed shape: every size is a number of --u, one 560th of the picture's width, so it scales with the space it is given. The timeline is the
   shared 8 seconds: the laser sweeps at 10-20%, the tag lands at 22%, Requires Repair is ticked at 60-62%, the status changes at 63-65% and is highlighted until the end. With reduced
   motion nothing moves and it shows the finished frame (In Repair). */
.v5fv--combo { aspect-ratio: auto; overflow: visible; }
.v5fv--combo:not(.v5fv--clear) { overflow: hidden; }

.v5fv--combo .v5fv-stage {
    --u: calc(100cqw / 560);
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: calc(18 * var(--u));
    padding: calc(4 * var(--u)) 0 calc(8 * var(--u));
    font-size: calc(14 * var(--u));
    line-height: 1.3;
    /* the barcode-scan pieces are drawn in em; this is the size of its em here (it is about 22px in a 960px picture) */
    --v5fv-tc-scan: calc(15 * var(--u));
}

.v5fv--combo:not(.v5fv--clear) .v5fv-stage { padding: calc(28 * var(--u)) calc(28 * var(--u)) calc(36 * var(--u)); }

/* ---- Track IT: the statuses, big, scrolling (the status-rows row and track, with the badges four times over so half of it is wider than the picture) ---- */
.v5fv--combo .v5fv-srow { font-size: calc(19 * var(--u)); padding: calc(6 * var(--u)) 0; }
.v5fv--combo .v5fv-strack { --v5fv-trip: 28s; }
.v5fv--combo .v5fv-b { margin-right: calc(12 * var(--u)); }

/* ---- the inventory ---- */
.v5fv-tc-inv { align-self: center; width: 88%; --v5fv-tc-rowshadow: var(--v5fv-card-shadow, 0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(10, 40, 70, 0.22)); }
.v5fv-tc-inv .v5fv-hw-rows { gap: calc(7 * var(--u)); }
/* every row is positioned, so a row's shadow falls behind the row under it (a positioned row paints over the plain ones below it, which put the shadow of the highlighted row on top of the next row and made it look grey) */
.v5fv-tc-inv .v5fv-hw-row {
    position: relative;
    padding: calc(7 * var(--u)) calc(12 * var(--u));
    background: #ffffff;
    box-shadow: var(--v5fv-tc-rowshadow);
}
.v5fv-tc-inv .v5fv-hw-ic { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
/* the type and tag take a fixed width and the status a fixed width, so the name has the same space between them in every row and is centred in it */
.v5fv-tc-inv .v5fv-hw-rt { flex: none; width: calc(128 * var(--u)); }
.v5fv-tc-who { flex: 1; min-width: 0; text-align: center; font-size: calc(12.5 * var(--u)); font-weight: 600; color: #232122; white-space: nowrap; }
.v5fv-tc-who--none { font-weight: 500; color: #8a8888; }
/* the status column: every badge starts at the same left edge, so the names and the statuses line up down the rows */
.v5fv-tc-stcol { flex: none; display: flex; justify-content: flex-start; width: calc(84 * var(--u)); }
.v5fv-tc-inv .v5fv-b { margin: 0; font-size: calc(12 * var(--u)); }

/* the device icons: the app's colours (a Chromebook is orange with a blue dot, an iPad and a laptop are blue) */
.v5fv-tc-dev svg { stroke: #2491eb; }
.v5fv-tc-dev--chromebook { background: #fef3e2; }
.v5fv-tc-dev--chromebook svg { stroke: #e6a02a; }
.v5fv-tc-dev--chromebook svg circle { stroke: #2491eb; }
.v5fv-tc-dev--ipad, .v5fv-tc-dev--laptop { background: #e9f4fd; }
.v5fv-tc-dev--ipad svg path { stroke: #575556; }

/* a status that changes: both badges sit in one cell, and one fades out as the other fades in */
.v5fv-tc-swap { display: inline-grid; justify-items: end; align-items: center; }
.v5fv-tc-swap > * { grid-area: 1 / 1; }
.v5fv-tc-sa { animation: v5fv-tc-sa var(--v5fv-dur) ease-in-out infinite; }
.v5fv-tc-sr { opacity: 0; animation: v5fv-tc-sr var(--v5fv-dur) ease-in-out infinite; }
.v5fv-tc-swap .v5fv-st { margin: 0; }

/* The inventory row of the scanned tag, once its status is In Repair: a band of light runs once around its border (the check-in activity log's new-entry effect, mock-ups checkin.css
   .checkin__log-item.is-new, in orange so it shows on the blue), then it keeps a pale orange fill and an orange outline. */
.v5fv-tc-inv .v5fv-hw-row--hl { position: relative; animation: v5fv-tc-rowhl var(--v5fv-dur) ease-in-out infinite; }
.v5fv-tc-inv .v5fv-hw-row--hl::after {
    content: "";
    position: absolute;
    inset: calc(-1 * var(--u));
    padding: calc(3 * var(--u));   /* the thickness of the border that lights up */
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, #fbb03b 50%, transparent 70%) 160% 0 / 250% 100% no-repeat;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: v5fv-tc-shimmer var(--v5fv-dur) ease-out infinite;
}

/* ---- Assign IT: the barcode-scan visual (the label and the box), with the check-in option from the mock-ups under it ---- */
.v5fv-tc-scan { display: flex; align-items: center; gap: 6%; width: 92%; margin-top: calc(12 * var(--u)); font-size: var(--v5fv-tc-scan); line-height: 1.3; }
/* barcode-scan fades its label in and out; here it stays (only the laser, the typing and the status move) */
.v5fv-tc-scan .v5fv-label { animation: none; opacity: 1; transform: rotate(-3deg); }
/* the tag stays on one line under the barcode (at some widths it wrapped after the second dash) */
.v5fv-tc-scan .v5fv-tag { white-space: nowrap; letter-spacing: .08em; }
.v5fv-tc-scan .v5fv-cap { margin: 0 0 .4em .9em; font-size: .85em; }

/* Requires Repair: a tick option of the check-in panel, centred under the box (action/mockups/css/checkin.css .checkin__flag). Requires Repair gets ticked after the scan. */
.v5fv-tc-flags { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(10 * var(--u)); margin-top: calc(14 * var(--u)); }
.v5fv-tc-flag {
    display: inline-flex;
    align-items: center;
    gap: calc(8 * var(--u));
    padding: calc(8 * var(--u)) calc(14 * var(--u)) calc(8 * var(--u)) calc(10 * var(--u));
    border: calc(1.5 * var(--u)) solid var(--v5fv-border);
    border-radius: 999px;
    background: #ffffff;
    font-size: calc(14 * var(--u));
    font-weight: 700;
    line-height: 1.3;
    color: var(--v5fv-ink);
    white-space: nowrap;
}
.v5fv-tc-flagbox {
    flex: none;
    width: calc(18 * var(--u));
    height: calc(18 * var(--u));
    border: calc(2 * var(--u)) solid #c3ccd6;
    border-radius: calc(5 * var(--u));
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 0 no-repeat;
}
.v5fv-tc-flag--on { animation: v5fv-tc-flag var(--v5fv-dur) ease-in-out infinite; }
.v5fv-tc-flag--on .v5fv-tc-flagbox { animation: v5fv-tc-flagbox var(--v5fv-dur) ease-in-out infinite; }

@keyframes v5fv-tc-sa { 0%, 62% { opacity: 1; } 65%, 99% { opacity: 0; } 100% { opacity: 1; } }
@keyframes v5fv-tc-sr {
    0%, 62%   { opacity: 0; transform: none; box-shadow: none; }
    65%       { opacity: 1; transform: scale(1.12); box-shadow: 0 0 0 .45em rgba(251, 176, 59, .4); }
    69%, 99%  { opacity: 1; transform: none; box-shadow: 0 0 0 .3em rgba(251, 176, 59, .35); }
    100%      { opacity: 0; transform: none; box-shadow: none; }
}

@keyframes v5fv-tc-flag {
    0%, 59%   { border-color: #dbe4ee; background: #ffffff; color: #232122; }
    62%, 99%  { border-color: #2491eb; background: #e9f4fd; color: #1a6fb8; }
    100%      { border-color: #dbe4ee; background: #ffffff; color: #232122; }
}
@keyframes v5fv-tc-flagbox {
    0%, 59%   { border-color: #c3ccd6; background-color: #ffffff; background-size: 0; }
    62%, 99%  { border-color: #2491eb; background-color: #2491eb; background-size: calc(14 * var(--u)); }
    100%      { border-color: #c3ccd6; background-color: #ffffff; background-size: 0; }
}
@keyframes v5fv-tc-rowhl {
    0%, 63%   { background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); }
    66%, 75%  { background: #fffaf1; box-shadow: var(--v5fv-tc-rowshadow); }
    80%, 99%  { background: #fff4e0; box-shadow: 0 0 0 calc(2.5 * var(--u)) #fbb03b, var(--v5fv-tc-rowshadow); }
    100%      { background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); }
}
@keyframes v5fv-tc-shimmer {
    0%, 64%   { background-position: 160% 0; }
    77%, 100% { background-position: -60% 0; }
}

/* Reduced motion: the finished frame. Requires Repair is ticked and the status is In Repair in the inventory. */
@media (prefers-reduced-motion: reduce) {
    .v5fv-tc-sa { opacity: 0; }
    .v5fv-tc-sr { opacity: 1; }
    .v5fv-tc-flag--on { border-color: #2491eb; background: #e9f4fd; color: #1a6fb8; }
    .v5fv-tc-flag--on .v5fv-tc-flagbox { border-color: #2491eb; background-color: #2491eb; background-size: calc(14 * var(--u)); }
    .v5fv-tc-inv .v5fv-hw-row--hl { background: #fff4e0; box-shadow: 0 0 0 calc(2.5 * var(--u)) #fbb03b, var(--v5fv-tc-rowshadow); }
    .v5fv-tc-inv .v5fv-hw-row--hl::after { display: none; }
}

/* a narrow picture (a phone): drawn at 360 wide instead of 560 so the text stays readable, and the pieces are wider so each still has room */
@container (max-width: 420px) {
    .v5fv--combo .v5fv-stage { --u: calc(100cqw / 360); gap: calc(18 * var(--u)); --v5fv-tc-scan: calc(12.5 * var(--u)); }
    .v5fv--combo:not(.v5fv--clear) .v5fv-stage { padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(24 * var(--u)); }
    .v5fv--combo .v5fv-srow { font-size: calc(16 * var(--u)); }
    .v5fv-tc-inv { width: 100%; }
    .v5fv-tc-scan { width: 100%; }
    .v5fv-tc-who { font-size: calc(11.5 * var(--u)); }
    .v5fv-tc-inv .v5fv-hw-rt { width: calc(92 * var(--u)); }
    .v5fv-tc-stcol { width: calc(70 * var(--u)); }
    .v5fv-tc-inv .v5fv-hw-row { gap: calc(8 * var(--u)); padding: calc(7 * var(--u)) calc(9 * var(--u)); }
    .v5fv-tc-inv .v5fv-hw-rt b { font-size: calc(12.5 * var(--u)); }
    .v5fv-tc-inv .v5fv-hw-rt span { font-size: calc(10.5 * var(--u)); }
    .v5fv-tc-inv .v5fv-b { font-size: calc(11 * var(--u)); }
    /* the scan: the label above, the box and the options under it across the whole width */
    .v5fv-tc-scan { flex-direction: column; align-items: stretch; gap: calc(22 * var(--u)); }
    .v5fv-tc-scan .v5fv-label { flex: none; width: 52%; align-self: flex-start; margin-left: 4%; }
}


/* ---------- Track IT, Assign IT, widget ('track-assign-fix-widget') ----------
   A copy of 'track-assign-fix' (it shares every rule above: the scrolling statuses and the scan with Requires Repair) whose device inventory is swapped for a dashboard widget from the
   mock-ups: "Chromebooks out for repair" (action/mockups css/widgets.css .kpi-card and data/widgets.js kpi-chromebooks-repair: the icon and title, a big count in the warning orange; the card's foot, "Total across all sites" and the View repairs link, is left out and the count is bigger). After the scan, when Requires Repair is ticked (60-62%), the count goes from 27 to 28 (63-65%) and the card gets
   the check-in activity log's new-entry effect (the band of light round its border, then an orange outline), the same as the inventory row of 'track-assign-fix'. */
.v5fv-tc-kpi {
    --v5fv-tc-rowshadow: var(--v5fv-card-shadow, 0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(10, 40, 70, 0.22));
    position: relative;
    align-self: center;
    width: 54%;
    display: flex;
    flex-direction: column;
    padding: calc(18 * var(--u)) calc(22 * var(--u)) calc(20 * var(--u));
    border-radius: calc(18 * var(--u));
    background: #ffffff;
    box-shadow: var(--v5fv-tc-rowshadow);
    animation: v5fv-tc-rowhl var(--v5fv-dur) ease-in-out infinite;
}
.v5fv-tc-kpi::after {
    content: "";
    position: absolute;
    inset: calc(-1 * var(--u));
    padding: calc(3 * var(--u));   /* the thickness of the border that lights up */
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, #fbb03b 50%, transparent 70%) 160% 0 / 250% 100% no-repeat;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: v5fv-tc-shimmer var(--v5fv-dur) ease-out infinite;
}
.v5fv-tc-kpi-head { display: flex; align-items: center; gap: calc(12 * var(--u)); }
.v5fv-tc-kpi-ic { flex: none; width: calc(44 * var(--u)); height: calc(44 * var(--u)); }
.v5fv-tc-kpi-head span { font-size: calc(15 * var(--u)); font-weight: 700; line-height: 1.3; color: var(--v5fv-ink); }
.v5fv-tc-kpi-value { display: grid; justify-items: start; margin: calc(2 * var(--u)) 0 0; padding-top: calc(10 * var(--u)); font-size: calc(104 * var(--u)); line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: #fbb03b; font-variant-numeric: tabular-nums; }
.v5fv-tc-kpi-value > * { grid-area: 1 / 1; }
.v5fv-tc-n1 { animation: v5fv-tc-sa var(--v5fv-dur) ease-in-out infinite; }
.v5fv-tc-n2 { opacity: 0; animation: v5fv-tc-n2 var(--v5fv-dur) ease-in-out infinite; }

@keyframes v5fv-tc-n2 {
    0%, 62%   { opacity: 0; transform: none; }
    65%       { opacity: 1; transform: scale(1.12); }
    69%, 99%  { opacity: 1; transform: none; }
    100%      { opacity: 0; transform: none; }
}

/* Reduced motion: the finished frame, the count 28 and the card outlined */
@media (prefers-reduced-motion: reduce) {
    .v5fv-tc-n1 { opacity: 0; }
    .v5fv-tc-n2 { opacity: 1; }
    .v5fv-tc-kpi { background: #fff4e0; box-shadow: 0 0 0 calc(2.5 * var(--u)) #fbb03b, var(--v5fv-tc-rowshadow); }
    .v5fv-tc-kpi::after { display: none; }
}

@container (max-width: 420px) {
    .v5fv-tc-kpi { width: 78%; }
}


/* ---------- Home page hero ('homepage-hero') ----------
   A copy of 'track-assign-fix-widget' (it shares every rule above) without the Requires Repair option and with room above and below the widget: the widget card keeps clear of the scrolling
   statuses over it and the scan under it. The room is in the picture's own unit (--u), so it grows and shrinks with the picture, on a phone too. */
.v5fv--hh .v5fv-tc-kpi { margin-block: calc(22 * var(--u)); }


/* ---------- K-12 hero ('k12-hero') ----------
   A device being handed to a student: the device row, the student's card, the scan, and the scrolling statuses at the bottom. It uses the 'combo' layout, scan and statuses above, and the
   scan's timings: as "Scanned" appears the fields change (the asset tag on the student's card; the student's name and Assigned on the device) and both cards light up (the rules at the end). */
.v5fv-kh-card {
    --v5fv-tc-rowshadow: var(--v5fv-card-shadow, 0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(10, 40, 70, 0.22));
    position: relative;
    align-self: center;
    width: 82%;
    border-radius: calc(18 * var(--u));
    background: #ffffff;
    box-shadow: var(--v5fv-tc-rowshadow);
}
.v5fv--kh .v5fv-tc-scan { margin-block: calc(10 * var(--u)); }

/* the device row (an inventory row of 'track-assign-fix'), as wide as the student's card, whose assigned user is blank until the scan, then the student */
.v5fv--kh .v5fv-tc-inv { width: 82%; }
.v5fv--kh .v5fv-kh-user { justify-items: center; }
.v5fv--kh .v5fv-tc-inv .v5fv-hw-row { gap: calc(12 * var(--u)); padding: calc(15 * var(--u)) calc(20 * var(--u)); border-radius: calc(18 * var(--u)); }
.v5fv--kh .v5fv-tc-inv .v5fv-hw-ic { width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: calc(12 * var(--u)); }
.v5fv--kh .v5fv-tc-inv .v5fv-hw-ic svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.v5fv--kh .v5fv-tc-inv .v5fv-hw-rt { width: calc(122 * var(--u)); }
.v5fv--kh .v5fv-tc-inv .v5fv-hw-rt b { font-size: calc(16.5 * var(--u)); }
.v5fv--kh .v5fv-tc-inv .v5fv-hw-rt span { font-size: calc(13 * var(--u)); }
.v5fv--kh .v5fv-tc-inv .v5fv-tc-who { font-size: calc(15 * var(--u)); }
.v5fv--kh .v5fv-tc-inv .v5fv-tc-stcol { width: calc(116 * var(--u)); }
.v5fv--kh .v5fv-tc-inv .v5fv-b { font-size: calc(14 * var(--u)); }

.v5fv-kh-student { display: flex; align-items: center; gap: calc(14 * var(--u)); padding: calc(16 * var(--u)) calc(20 * var(--u)); }
.v5fv-kh-avatar { flex: none; display: flex; align-items: center; justify-content: center; width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: 50%; background: #e9f4fd; font-size: calc(17 * var(--u)); font-weight: 700; color: #1a6fb8; }
.v5fv-kh-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v5fv-kh-who b { font-size: calc(18 * var(--u)); font-weight: 700; color: var(--v5fv-ink); }
.v5fv-kh-sub { font-size: calc(13 * var(--u)); color: #6f6d6e; }
.v5fv-kh-asset { flex: none; font-size: calc(16 * var(--u)); font-weight: 600; color: #232122; white-space: nowrap; }

/* a phone: the cards take the full width */
@container (max-width: 420px) {
    .v5fv-kh-card { width: 100%; }
    .v5fv--kh .v5fv-tc-inv { width: 100%; }
    .v5fv--kh .v5fv-tc-inv .v5fv-hw-row { gap: calc(6 * var(--u)); padding: calc(11 * var(--u)) calc(12 * var(--u)); }
    .v5fv--kh .v5fv-tc-inv .v5fv-hw-ic { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
    .v5fv--kh .v5fv-tc-inv .v5fv-hw-ic svg { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }
    .v5fv--kh .v5fv-tc-inv .v5fv-hw-rt { width: calc(98 * var(--u)); }
    .v5fv--kh .v5fv-tc-inv .v5fv-hw-rt b { font-size: calc(13 * var(--u)); }
    .v5fv--kh .v5fv-tc-inv .v5fv-hw-rt span { font-size: calc(10.5 * var(--u)); }
    .v5fv--kh .v5fv-tc-inv .v5fv-tc-who { font-size: calc(12 * var(--u)); }
    .v5fv--kh .v5fv-tc-inv .v5fv-tc-stcol { width: calc(90 * var(--u)); }
    .v5fv--kh .v5fv-tc-inv .v5fv-b { font-size: calc(11 * var(--u)); }
    .v5fv-kh-student { padding: calc(12 * var(--u)) calc(14 * var(--u)); gap: calc(10 * var(--u)); }
    .v5fv-kh-sub { font-size: calc(11 * var(--u)); }
    .v5fv-kh-asset { font-size: calc(12 * var(--u)); }
}

/* with its own background the picture has padding round it, so the cards take more of what is left, or the device row's columns run into each other */
@container (min-width: 421px) {
    .v5fv--kh:not(.v5fv--clear) .v5fv-kh-card,
    .v5fv--kh:not(.v5fv--clear) .v5fv-tc-inv { width: 92%; }
}

/* The cards update as "Scanned" appears (v5fv-ok, 22-25% of the loop), not later as in the other combo visuals, and change back as the scan resets. Each field simply changes (the old value
   goes before the new one comes, with none of the pop and orange ring of v5fv-tc-sr); each card as a whole lights up with the check-in activity log's new-entry effect. */
.v5fv--kh .v5fv-tc-sa { animation-name: v5fv-kh-sa; }
.v5fv--kh .v5fv-tc-sr { animation-name: v5fv-kh-sr; }
.v5fv--kh .v5fv-kh-asset { justify-items: center; }   /* <None> sits in the middle of the room the asset tag takes */
.v5fv-kh-student,
.v5fv--kh .v5fv-tc-inv .v5fv-hw-row { position: relative; animation: v5fv-kh-card var(--v5fv-dur) ease-in-out infinite; }
.v5fv-kh-student::after,
.v5fv--kh .v5fv-tc-inv .v5fv-hw-row::after {
    content: "";
    position: absolute;
    inset: calc(-1 * var(--u));
    padding: calc(3 * var(--u));   /* the thickness of the border that lights up */
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, #fbb03b 50%, transparent 70%) 160% 0 / 250% 100% no-repeat;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: v5fv-kh-shimmer var(--v5fv-dur) ease-out infinite;
}
@keyframes v5fv-kh-sa { 0%, 22% { opacity: 1; } 23.5%, 94% { opacity: 0; } 95.5%, 100% { opacity: 1; } }
@keyframes v5fv-kh-sr { 0%, 23.5% { opacity: 0; } 25%, 92.5% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes v5fv-kh-card {
    0%, 22%   { background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); }
    25%, 34%  { background: #fffaf1; box-shadow: var(--v5fv-tc-rowshadow); }
    39%, 92%  { background: #fff4e0; box-shadow: 0 0 0 calc(2.5 * var(--u)) #fbb03b, var(--v5fv-tc-rowshadow); }
    96%, 100% { background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); }
}
@keyframes v5fv-kh-shimmer {
    0%, 23%   { background-position: 160% 0; }
    36%, 100% { background-position: -60% 0; }
}

/* Still pictures (reduced motion, and the fallback images, which are captured that way): the finished frame, without the highlight */
@media (prefers-reduced-motion: reduce) {
    .v5fv-kh-student,
    .v5fv--kh .v5fv-tc-inv .v5fv-hw-row { background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); }
    .v5fv-kh-student::after,
    .v5fv--kh .v5fv-tc-inv .v5fv-hw-row::after { display: none; }
}

/* ---------- Home page hero: the same card timing as the K-12 hero ----------
   The count goes up and the widget card lights up as "Scanned" appears, and both go back as the scan resets (the v5fv-kh-* timings above). Still pictures (reduced motion, and the
   fallback images, which are captured that way) show the finished frame, the count 28, without the highlight. */
.v5fv--hh .v5fv-tc-kpi { animation-name: v5fv-kh-card; }
.v5fv--hh .v5fv-tc-kpi::after { animation-name: v5fv-kh-shimmer; }
.v5fv--hh .v5fv-tc-n1 { animation-name: v5fv-kh-sa; }
.v5fv--hh .v5fv-tc-n2 { animation-name: v5fv-hh-n2; }
@keyframes v5fv-hh-n2 {
    0%, 23.5%  { opacity: 0; transform: none; }
    25%        { opacity: 1; transform: scale(1.12); }
    29%, 92.5% { opacity: 1; transform: none; }
    94%, 100%  { opacity: 0; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .v5fv--hh .v5fv-tc-kpi { background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); }
}

/* ---------- School integrations ('sis-lookup', 'sis-family-email', 'gac-sync', 'gac-loaner') ----------
   Square pictures of white cards, one under the other. Every size is a number of --u, one 560th of the picture's width. Things change in up to four steps of the shared 8 seconds, at about
   22%, 37%, 52% and 64%: .v5fv-ed-a<step> is what is there before the step and .v5fv-ed-b<step> what is there after it. A card lights up as a whole (.v5fv-ed-lit1 at the first step,
   .v5fv-ed-lit2 at the second; the check-in activity log's new-entry effect, as in the heroes), never the single fields. A piece's own style, without its animation, is the finished frame,
   which is what reduced motion and the fallback images show, without the highlight. */
.v5fv--ed { aspect-ratio: 1 / 1; }
.v5fv--ed .v5fv-stage {
    --u: calc(100cqw / 560);
    --v5fv-tc-rowshadow: var(--v5fv-card-shadow, 0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(10, 40, 70, 0.14));   /* here, where --u is set */
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: calc(18 * var(--u));
    padding: calc(30 * var(--u)) calc(34 * var(--u));
    font-size: calc(17 * var(--u));
    line-height: 1.3;
}

.v5fv-ed-card { position: relative; border-radius: calc(18 * var(--u)); background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); padding: calc(16 * var(--u)) calc(20 * var(--u)); }
.v5fv-ed-head { display: flex; align-items: center; gap: calc(14 * var(--u)); }
.v5fv-ed-title { flex: 1; min-width: 0; display: block; text-align: left; }
.v5fv-ed-title b { display: block; font-size: calc(19 * var(--u)); font-weight: 700; color: var(--v5fv-ink); white-space: nowrap; }
.v5fv-ed-title span { display: block; font-size: calc(15 * var(--u)); color: #6f6d6e; white-space: nowrap; }
.v5fv-ed-swap-left { display: grid; justify-items: start; }
.v5fv-ed-title.v5fv-ed-swap-left > span { color: inherit; font-size: inherit; }
.v5fv-ed-swap-left > span > span { font-size: calc(15 * var(--u)); color: #6f6d6e; }

.v5fv-ed-ic { flex: none; display: grid; place-items: center; width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: calc(12 * var(--u)); background: var(--v5fv-blue-tint); }
.v5fv-ed-ic svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); fill: none; stroke: var(--v5fv-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v5fv-ed-ic--chromebook { background: #fef3e2; }
.v5fv-ed-ic--chromebook svg { stroke: #e6a02a; }
.v5fv-ed-ic--chromebook svg circle { stroke: var(--v5fv-blue); }
.v5fv-ed-avatar { flex: none; display: flex; align-items: center; justify-content: center; width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: 50%; background: var(--v5fv-blue-tint); font-size: calc(17 * var(--u)); font-weight: 700; color: var(--v5fv-blue-text); }
.v5fv-ed-avatar--empty { background: #eef1f5; }
.v5fv--ed .v5fv-b { flex: none; margin: 0; font-size: calc(15 * var(--u)); }
.v5fv-ed-chip { flex: none; padding: calc(5 * var(--u)) calc(12 * var(--u)); border: calc(1.5 * var(--u)) solid var(--v5fv-border); border-radius: 999px; font-size: calc(14 * var(--u)); font-weight: 700; color: var(--v5fv-blue-text); white-space: nowrap; }

.v5fv-ed-fields { margin: calc(12 * var(--u)) 0 0; }
.v5fv-ed-fields > div { display: flex; align-items: center; justify-content: space-between; gap: calc(12 * var(--u)); min-height: calc(40 * var(--u)); border-top: calc(1.5 * var(--u)) solid #e8edf3; }
.v5fv-ed-fields dt { margin: 0; font-size: calc(16 * var(--u)); font-weight: 500; color: #6f6d6e; white-space: nowrap; }
.v5fv-ed-fields dd { margin: 0; font-size: calc(17 * var(--u)); font-weight: 600; color: #232122; white-space: nowrap; }
.v5fv-ed-fields dd .v5fv-tc-who--none { font-weight: 500; color: #8a8888; }
.v5fv-ed-bar { display: block; width: calc(var(--w) * var(--u)); height: calc(12 * var(--u)); border-radius: 999px; background: #e8edf3; }
.v5fv-ed-bar + .v5fv-ed-bar { margin-top: calc(10 * var(--u)); }

/* the look-up box and its "Found" / "Sent" pill */
/* the two paragraphs: strong enough selectors that the feature block's style for its own paragraphs (.v5-fb .v5-fb-item p) does not resize them */
.v5fv.v5fv--ed p.v5fv-ed-cap { margin: 0 0 calc(8 * var(--u)) calc(16 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 700; color: #6f6d6e; }
.v5fv-ed-search { display: flex; align-items: center; gap: calc(12 * var(--u)); height: calc(58 * var(--u)); padding: 0 calc(10 * var(--u)) 0 calc(20 * var(--u)); border: calc(2 * var(--u)) solid var(--v5fv-blue); border-radius: 999px; background: #ffffff; }
.v5fv-ed-search svg { flex: none; width: calc(22 * var(--u)); height: calc(22 * var(--u)); fill: none; stroke: #8a8888; stroke-width: 2.2; stroke-linecap: round; }
.v5fv-ed-typed { margin-right: auto; font-size: calc(22 * var(--u)); font-weight: 600; letter-spacing: .08em; color: var(--v5fv-ink); animation: v5fv-ed-type var(--v5fv-dur) steps(5, end) infinite; }
.v5fv-ed-found { flex: none; padding: calc(7 * var(--u)) calc(14 * var(--u)); border-radius: 999px; background: var(--v5fv-blue); font-size: calc(15 * var(--u)); font-weight: 800; color: #ffffff; white-space: nowrap; }
.v5fv.v5fv--ed p.v5fv-ed-body { margin: calc(12 * var(--u)) 0 0; padding-top: calc(12 * var(--u)); border-top: calc(1.5 * var(--u)) solid #e8edf3; font-size: calc(16 * var(--u)); line-height: 1.5; color: #575556; }

/* the round arrow between two cards, with or without a word */
.v5fv-ed-link { align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); min-width: calc(46 * var(--u)); height: calc(46 * var(--u)); border-radius: 999px; background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); font-size: calc(15 * var(--u)); font-weight: 700; color: var(--v5fv-blue-text); }
.v5fv-ed-link svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); fill: none; stroke: var(--v5fv-blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.v5fv-ed-link--label { padding: 0 calc(18 * var(--u)); }
.v5fv-ed-spin svg { animation: v5fv-ed-spin var(--v5fv-dur) ease-in-out infinite; }

/* 'gac-sync': one card with more rows (so a little less room between things), and under the sync arrows the other system as its icon with its name. The icon's white surround takes the
   tile's colour while the tile is lit (multiply). */
.v5fv--gacs .v5fv-stage { gap: calc(14 * var(--u)); }
.v5fv--gacs .v5fv-ed-fields > div { min-height: calc(38 * var(--u)); }
.v5fv-ed-app { display: flex; flex-direction: column; align-items: center; gap: calc(8 * var(--u)); }
.v5fv-ed-app b { font-size: calc(19 * var(--u)); font-weight: 700; color: var(--v5fv-ink); white-space: nowrap; }
.v5fv-ed-app-tile { position: relative; display: grid; place-items: center; width: calc(80 * var(--u)); height: calc(80 * var(--u)); border-radius: calc(18 * var(--u)); background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); }
.v5fv-ed-app-icon { width: calc(64 * var(--u)); height: calc(64 * var(--u)); background: center / contain no-repeat; mix-blend-mode: multiply; }
.v5fv-ed-app-icon--gac { background-image: url(google-admin-console-icon.png); }

/* the automatic steps */
.v5fv-ed-steps { margin: calc(12 * var(--u)) 0 0; padding: 0; list-style: none; }
.v5fv-ed-steps li { display: flex; align-items: center; gap: calc(14 * var(--u)); padding: calc(11 * var(--u)) 0 calc(3 * var(--u)); margin: 0; border-top: calc(1.5 * var(--u)) solid #e8edf3; }
.v5fv-ed-steps .v5fv-ed-title b { font-size: calc(17 * var(--u)); }
.v5fv-ed-tick-swap { flex: none; width: calc(48 * var(--u)); justify-items: center; }
.v5fv-ed-tick { display: flex; align-items: center; justify-content: center; width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; background: var(--v5fv-blue); font-size: calc(17 * var(--u)); font-weight: 800; color: #ffffff; }
.v5fv-ed-tick--wait { background: transparent; border: calc(3 * var(--u)) dashed #c5d2e0; }

/* ---- the steps ---- */
.v5fv-ed-a1, .v5fv-ed-a2, .v5fv-ed-a3, .v5fv-ed-a4 { opacity: 0; }   /* gone in the finished frame */
.v5fv-ed-a1 { animation: v5fv-kh-sa var(--v5fv-dur) ease-in-out infinite; }
.v5fv-ed-b1 { animation: v5fv-kh-sr var(--v5fv-dur) ease-in-out infinite; }
.v5fv-ed-a2 { animation: v5fv-ed-a2 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-ed-b2 { animation: v5fv-ed-b2 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-ed-a3 { animation: v5fv-ed-a3 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-ed-b3 { animation: v5fv-ed-b3 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-ed-a4 { animation: v5fv-ed-a4 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-ed-b4 { animation: v5fv-ed-b4 var(--v5fv-dur) ease-in-out infinite; }
@keyframes v5fv-ed-a2 { 0%, 37% { opacity: 1; } 38.5%, 94% { opacity: 0; } 95.5%, 100% { opacity: 1; } }
@keyframes v5fv-ed-b2 { 0%, 38.5% { opacity: 0; } 40%, 92.5% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes v5fv-ed-a3 { 0%, 52% { opacity: 1; } 53.5%, 94% { opacity: 0; } 95.5%, 100% { opacity: 1; } }
@keyframes v5fv-ed-b3 { 0%, 53.5% { opacity: 0; } 55%, 92.5% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes v5fv-ed-a4 { 0%, 64% { opacity: 1; } 65.5%, 94% { opacity: 0; } 95.5%, 100% { opacity: 1; } }
@keyframes v5fv-ed-b4 { 0%, 65.5% { opacity: 0; } 67%, 92.5% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* the number is typed in before the first step */
@keyframes v5fv-ed-type { 0%, 6% { clip-path: inset(0 100% 0 0); } 19%, 92.5% { clip-path: inset(0 0 0 0); } 94%, 100% { clip-path: inset(0 100% 0 0); } }

/* the email arrives at the second step */
.v5fv-ed-in2 { animation: v5fv-ed-in2 var(--v5fv-dur) ease-out infinite; }
@keyframes v5fv-ed-in2 { 0%, 34% { opacity: 0; transform: translateY(18%); } 41%, 92.5% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }

/* the sync arrows turn as something crosses over: after the first step (to Google) and after the third (back to VIZOR) */
@keyframes v5fv-ed-spin { 0%, 25% { transform: rotate(0deg); } 38% { transform: rotate(360deg); } 54% { transform: rotate(360deg); } 66%, 100% { transform: rotate(720deg); } }

/* ---- the cards that light up ---- */
.v5fv-ed-lit1 { animation: v5fv-kh-card var(--v5fv-dur) ease-in-out infinite; }
.v5fv-ed-lit2 { animation: v5fv-ed-lit2 var(--v5fv-dur) ease-in-out infinite; }
.v5fv-ed-lit1::after,
.v5fv-ed-lit2::after {
    content: "";
    position: absolute;
    inset: calc(-1 * var(--u));
    padding: calc(3 * var(--u));
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, #fbb03b 50%, transparent 70%) 160% 0 / 250% 100% no-repeat;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}
.v5fv-ed-lit1::after { animation: v5fv-kh-shimmer var(--v5fv-dur) ease-out infinite; }
.v5fv-ed-lit2::after { animation: v5fv-ed-shimmer2 var(--v5fv-dur) ease-out infinite; }
@keyframes v5fv-ed-lit2 {
    0%, 37%   { background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); }
    40%, 49%  { background: #fffaf1; box-shadow: var(--v5fv-tc-rowshadow); }
    54%, 92%  { background: #fff4e0; box-shadow: 0 0 0 calc(2.5 * var(--u)) #fbb03b, var(--v5fv-tc-rowshadow); }
    96%, 100% { background: #ffffff; box-shadow: var(--v5fv-tc-rowshadow); }
}
@keyframes v5fv-ed-shimmer2 {
    0%, 38%   { background-position: 160% 0; }
    51%, 100% { background-position: -60% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .v5fv-ed-lit1::after,
    .v5fv-ed-lit2::after { display: none; }
}
