/* ==== CONTRACT-V30 P1: the overview, a verdict you can see through ===========================================
   The dial whose arcs show what the score is made of, the waterfall from 100 down to the score, the what-if beside
   the reading, the score ribbon, and the vital signs as instruments. Loaded after styles.css, whose CONTRACT-V11
   section still lays out the page (.cv-hero, .cv-body, Fix first, the board); this file adds the new parts and all
   of the page's movement. Classes cv-*; colour from the .t-<tone> classes and the theme's tokens, so every theme
   and both designs follow.

   MOVEMENT, all of it:
   - the arrival (.cv-arrive, put on once per server in a visit and taken off after a second): the verdict's words,
     one sweep round the dial that draws each arc as it passes, the waterfall's steps, Fix first, the vital signs -
     in reading order, finished inside a second. Opacity and transform, and stroke-dashoffset on the dial's own
     small drawing.
   - an answer to the reader's hand: an arc's marks fanning out, a what-if arc appearing, a fill moving to a new
     live reading (transform), the live mark's single beat when a reading arrives.
   Nothing here runs without end, so nothing runs off screen or in a hidden tab. styles.css stills all of it under
   Animation: Off and reduced motion (".cv-hero *, .cv-body *"), and every state is complete without it. */

/* ---- the verdict's frame ---- */
.cv-hero { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) minmax(252px, 300px); align-items: start; padding: 16px 20px 16px; }
.cv-hero.is-if { border-style: dashed; border-color: var(--accent-bd); }
/* Without room for three columns the ribbon goes UNDER THE DIAL: the verdict keeps its width, the dial's column is
   not half empty, and the whole verdict is shorter (a first-time viewer's remark on the 1366 px picture). */
@media (min-width: 761px) and (max-width: 1500px) {
  .cv-hero { grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); }
  .cv-ringbox { grid-column: 1; grid-row: 1; }
  .cv-verdict { grid-column: 2; grid-row: 1 / span 2; }
  .cv-trend { grid-column: 1; grid-row: 2; grid-template-columns: minmax(0, 1fr); padding: 12px 0 0; border-left: none; border-top: 1px solid var(--hairline); }
}
@media (max-width: 760px) { .cv-hero { grid-template-columns: minmax(0, 1fr); padding: 14px 14px; } .cv-trend { grid-template-columns: minmax(0, 1fr); } }
.cv-verdict { padding-top: 6px; }

/* ---- the dial ---- */
.cv-ring .cv-areag { cursor: pointer; outline: none; }
.cv-ring .cv-hit { fill: none; stroke: transparent; stroke-width: 46; pointer-events: stroke; }
.cv-ring .cv-slot { fill: none; stroke: var(--border); stroke-width: 14; }
.cv-ring .cv-lost { fill: none; stroke: var(--tone); stroke-width: 14; opacity: .2; }
.cv-ring .cv-seg { transition: stroke-width .15s ease-out; }
.cv-ring .cv-seg.gone, .cv-ring .cv-ifarc.gone { opacity: 0; }
.cv-ring .cv-areag.hl .cv-seg, .cv-ring .cv-areag.hl .cv-lost { stroke-width: 18; }
.cv-ring .cv-areag:focus-visible .cv-hit { stroke: var(--accent); opacity: .16; }
.cv-ring .cv-areag.pin .cv-lt { text-decoration: underline; text-underline-offset: 3px; }
/* the centre of the dial in its own box: the box starts left of 0 when a long label widened it (--ox, from CoreRing) */
.cv-ring .cv-sweep, .cv-ring .cv-marks { transform-box: view-box; transform-origin: var(--ox, 240px) 170px; }
.cv-ring .cv-marks { animation: cvFan .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes cvFan { from { opacity: 0; transform: scale(.965); } }
/* an arc pointed at: its missing length is its findings, each as wide as its share */
.cv-ring .cv-mk { fill: none; stroke: var(--tone); stroke-width: 18; opacity: .92; }
.cv-ring .cv-mk.fixed { stroke: var(--accent); opacity: .5; }
.cv-ring .cv-lc { fill: var(--text-2); font-family: var(--mono); }
.cv-ring .cv-lif { fill: var(--accent); }
/* the what-if: beside the reading, thinner, in the accent - never over it */
.cv-ring .cv-ifarc { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; animation: cvFade .2s ease-out both; }
.cv-ring .cv-sif { fill: none; stroke: var(--accent); stroke-width: 5; stroke-dasharray: 3 4; animation: cvFade .2s ease-out both; }
.cv-ring .cv-big.if { fill: var(--accent); }
.cv-ring .cv-state.if { fill: var(--accent); letter-spacing: .24em; }
.cv-ring .cv-was { font: 500 11.5px/1 var(--font); fill: var(--text-3); }
@keyframes cvFade { from { opacity: 0; } }
@keyframes cvIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes cvDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* ---- the what-if, said in words ---- */
.cv-ifbar, .cv-route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border-radius: 8px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.cv-ifbar { margin: 2px 0 10px; padding: 9px 12px; border: 1px dashed var(--accent-bd); background: var(--accent-bg); }
.cv-route { margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--border); background: var(--bg-2); }
.cv-route.on { border: 1px dashed var(--accent-bd); background: var(--accent-bg); }
.cv-iftag, .cv-rk { font: 700 10.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.cv-ifs { flex: 1 1 260px; min-width: 0; }
.cv-ifs b { margin-right: 5px; font-size: 15px; font-weight: 650; color: var(--accent); white-space: nowrap; }
.cv-ifs.dim { color: var(--text-3); }
.cv-ifc { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; flex: none; }
.cv-fixfoot .cv-ifc { margin: 0 auto 0 0; }
.cv-fixfoot .cv-if { order: -1; }
.cv-cost { font-size: 11.5px; font-weight: 600; color: var(--tone); white-space: nowrap; cursor: help; }
.cv-cost.zero { color: var(--text-3); font-weight: 500; }
.cv-if { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-3); white-space: nowrap; cursor: pointer; user-select: none; }
.cv-if input { width: 14px; height: 14px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.cv-if.on { color: var(--accent); }
.cv-fix.iffixed, .cv-row.iffixed { border-style: dashed; border-color: var(--accent-bd); background: var(--bg-2); }
.cv-fix.iffixed .cv-fixt, .cv-row.iffixed .cv-rt { color: var(--text-3); }
.cv-step { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1px solid var(--border-2); font-size: 11px; font-weight: 600; color: var(--text-2); }
.cv-fixtop { flex-wrap: wrap; row-gap: 6px; }
.cv-rowh { display: flex; align-items: center; min-width: 0; }
.cv-rowh .cv-rowb { flex: 1 1 auto; width: auto; min-width: 0; }
.cv-rowh .cv-ifc { padding-right: 11px; gap: 8px; }
.cv-row .cv-if span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cv-row .cv-cost { display: none; }
.cv-rowc { font-size: 12px; }
.cv-sc { margin-left: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0; color: var(--tone); }
.cv-sif2 { font-style: normal; color: var(--accent); }

/* ---- why the score is what it is: the waterfall, and an area's findings ---- */
/* one box, two faces: the waterfall, and - laid over it while an arc is pointed at - that area's findings */
.cv-whyc { position: relative; margin: 12px 0 12px; max-width: 640px; }
.cv-whyc.hot > .cv-why:first-child { visibility: hidden; }
.cv-why { padding-top: 11px; border-top: 1px solid var(--hairline); }
.cv-why.none { min-height: 96px; }
.cv-whyc > .cv-why.area { position: absolute; inset: 0; display: flex; flex-direction: column; }
.cv-why.area .cv-al { flex: 1 1 auto; min-height: 0; align-content: start; }
.cv-whyh { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.cv-whyh b { font: 700 12px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.cv-why.area .cv-whyh b { color: var(--tone); }
.cv-whyh span { font-size: 12px; color: var(--text-3); }
.cv-whyp { margin: 7px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--text-3); max-width: 76ch; }
.cv-wf { display: grid; gap: 2px; margin: 9px 0 0; }
.cv-wft { position: relative; height: 19px; }
.cv-wfb { position: absolute; top: 4px; bottom: 4px; min-width: 3px; border-radius: 2px; background: var(--tone); }
.cv-wfr.tot .cv-wfb, .cv-wfr.end .cv-wfb { top: 0; bottom: 0; border-radius: 3px; }
.cv-wfr.tot .cv-wfb { background: none; border: 1px solid var(--border-2); }
.cv-wfr.end .cv-wfb { background: var(--tone-bg); border: 1px solid var(--tone-bd); border-right: 2px solid var(--tone); }
/* one step for many findings of a severity: the same solid bar, ruled into its findings by the eye of the label */
.cv-wfr.grp .cv-wfb { background: var(--tone); opacity: .82; }
.cv-wfr.fixed .cv-wfb { background: none; border: 1px dashed var(--accent); }
.cv-wfr.fixed .cv-wfn { color: var(--text-3); text-decoration: line-through; }
.cv-wfl { position: absolute; top: 0; height: 19px; display: flex; align-items: center; gap: 7px; padding: 0 8px; min-width: 0; white-space: nowrap; font-size: 12px; line-height: 19px; color: var(--text-2); }
.cv-wfl.l { justify-content: flex-end; }
.cv-wfl.in { left: 0; right: 0; }
.cv-wfc { flex: none; font-weight: 650; color: var(--tone); font-variant-numeric: tabular-nums; }
.cv-wfr.tot .cv-wfc { color: var(--text-2); }
.cv-wfn { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cv-wfr.tot .cv-wfn, .cv-wfr.end .cv-wfn { color: var(--text-3); }
.cv-al { list-style: none; margin: 9px 0 0; padding: 0 4px 0 0; display: grid; gap: 5px; overflow: auto; scrollbar-width: thin; }
.cv-al li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12.5px; line-height: 1.35; color: var(--text-2); }
.cv-alm { display: block; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
.cv-alm b { display: block; height: 100%; border-radius: 3px; background: var(--tone); }
.cv-alt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-alc { font-size: 11.5px; color: var(--tone); white-space: nowrap; cursor: help; }
.cv-al li.fixed .cv-alt { color: var(--text-3); text-decoration: line-through; }
.cv-al li.fixed .cv-alm b { background: none; border: 1px dashed var(--accent); box-sizing: border-box; }

/* ---- where it is going: the score ribbon ---- */
.cv-trend { gap: 10px; align-content: start; padding-top: 6px; }
.cv-rib { display: grid; gap: 3px; min-width: 0; }
.cv-ribh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cv-ribh .k { font: 600 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.cv-ribh .v { font-size: 14px; font-weight: 600; }
.cv-ribsvg { display: block; width: 100%; height: auto; overflow: visible; outline: none; touch-action: pan-y; }
.cv-ribsvg[tabindex] { cursor: crosshair; }
.cv-ribsvg:focus-visible { outline: 1px solid var(--accent-bd); outline-offset: 4px; border-radius: 4px; }
.cv-ribg { stroke: var(--hairline); stroke-width: 1; }
.cv-riba { font: 500 9.5px/1 var(--mono); fill: var(--text-3); }
.cv-ribf { fill: var(--tone); opacity: .07; }
.cv-ribl { fill: none; stroke: var(--tone); stroke-width: 1.6; stroke-linejoin: round; }
.cv-ribsvg.s .cv-ribl { stroke: var(--text-2); stroke-width: 1.3; }
.cv-ribb { fill: var(--accent); opacity: .4; }
.cv-ribe { fill: var(--tone); stroke: var(--surface-1); stroke-width: 1.5; }
.cv-ribm line { stroke: var(--border-2); stroke-width: 1; stroke-dasharray: 2 2; }
.cv-ribm.opened path { fill: var(--serious); }
.cv-ribm.closed path { fill: var(--ok); }
.cv-ribc line { stroke: var(--text-2); stroke-width: 1; }
.cv-ribc circle { fill: var(--surface-1); stroke: var(--text); stroke-width: 1.5; }
.cv-ribr { min-height: 16px; font-size: 11.5px; line-height: 16px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cv-rib.two .cv-ribr { color: var(--text-3); }
.cv-due { display: flex; align-items: center; gap: 8px; padding-top: 9px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--text-2); }
.cv-due i { width: 7px; height: 7px; flex: none; border-radius: 50%; border: 1.5px solid var(--accent); }

/* ---- the vital signs as instruments ---- */
.cv-inst { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 16px; align-items: start; margin-top: 6px; }
.cv-inst > .cv-scale { margin-top: 0; }
.cv-inst > .cv-scale:only-child { grid-column: 1 / -1; }
.cv-trace { display: block; width: 132px; height: 30px; overflow: visible; }
.cv-trace.none { visibility: hidden; }
.cv-tl { fill: none; stroke: var(--text-2); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.cv-tw { stroke: var(--warning); stroke-width: 1; stroke-dasharray: 2 3; opacity: .75; }
.cv-ts { stroke: var(--serious); stroke-width: 1; stroke-dasharray: 2 3; opacity: .75; }
.cv-td { fill: var(--tone); stroke: var(--surface-1); stroke-width: 1.2; }
.cv-td.live { fill: var(--surface-1); stroke: var(--tone); stroke-width: 1.8; }
.cv-gauge.t-muted .cv-td { fill: var(--text-3); }
/* a live sign's mark beats once when a reading arrives (the element is new with every reading), and rests */
.cv-beat { animation: cvBeat .7s ease-out both; }
@keyframes cvBeat { from { transform: scale(2); opacity: .35; } }
@media (max-width: 560px) { .cv-inst { grid-template-columns: minmax(0, 1fr) 92px; gap: 12px; } .cv-trace { width: 92px; } }

/* ---- the arrival: reading order, inside a second, once ---- */
.cv-arrive .cv-verdict > * { animation: cvIn .3s cubic-bezier(.2, .7, .2, 1) both; }
.cv-arrive .cv-verdict > :nth-child(2) { animation-delay: 40ms; }
.cv-arrive .cv-verdict > :nth-child(3) { animation-delay: 80ms; }
.cv-arrive .cv-verdict > :nth-child(4) { animation-delay: 120ms; }
.cv-arrive .cv-verdict > :nth-child(n+5) { animation-delay: 260ms; }
.cv-arrive .cv-ring .cv-sweep { animation: cvSweep .75s linear both 80ms; }
@keyframes cvSweep { 0% { opacity: 0; transform: rotate(-40deg); } 10% { opacity: 1; } 86% { opacity: 1; } 100% { opacity: 0; transform: rotate(320deg); } }
.cv-arrive .cv-ring .cv-seg { stroke-dasharray: 100; animation: cvDraw .22s ease-out both; animation-delay: calc(var(--i) * 125ms + 90ms); }
.cv-arrive .cv-ring .cv-lost, .cv-arrive .cv-ring .cv-lab { animation: cvFade .25s ease-out both; animation-delay: calc(var(--i) * 125ms + 190ms); }
.cv-arrive .cv-ring .cv-sarc { animation: cvSarc .6s cubic-bezier(.2, .7, .2, 1) both .16s; }
.cv-arrive .cv-ring .cv-big, .cv-arrive .cv-ring .cv-of, .cv-arrive .cv-ring .cv-state { animation: cvFade .3s ease-out both .1s; }
.cv-arrive .cv-wfr { animation: cvIn .26s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * 45ms + 330ms); }
.cv-arrive .cv-trend { animation: cvFade .35s ease-out both .34s; }
.cv-arrive .cv-ribsvg:not(.s) .cv-ribl { stroke-dasharray: 100; animation: cvDraw .5s ease-out both .42s; }
.cv-arrive .cv-fixp, .cv-arrive .cv-vitp, .cv-arrive .cv-sysp, .cv-arrive .cv-all { animation: cvFade .3s ease-out both; }
.cv-arrive .cv-fixp { animation-delay: .3s; }
.cv-arrive .cv-vitp { animation-delay: .5s; }
.cv-arrive .cv-sysp, .cv-arrive .cv-all { animation-delay: .6s; }
.cv-arrive .cv-fix { animation: cvRise .32s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(min(var(--d, 0), 6) * 40ms + 400ms); }
.cv-arrive .cv-row { animation: cvRise .28s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(min(var(--d, 0), 6) * 30ms + 500ms); }
.cv-arrive .cv-fill { animation: cvFillIn .4s cubic-bezier(.2, .7, .2, 1) both .56s; }
@keyframes cvFillIn { from { transform: translateX(-100%); } }

/* what a first-time viewer could not read at 1366 px: the dial's labels a size up, the server's name in one piece */
.cv-ring .cv-lt { font-size: 14.5px; }
.cv-ring .cv-ls { font-size: 13.5px; }
.cv-ring .cv-lc { font-size: 13px; }
.cv-nm { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.cv-topa { flex: none; padding: 3px 8px; border-radius: 4px; font: 700 10.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--tone); background: var(--tone-bg); border: 1px solid var(--tone-bd); white-space: nowrap; }

/* the worst finding's one action, under the verdict's sentence */
.cv-topact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 9px 0 0; max-width: 68ch; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.cv-topn { flex: 1 1 260px; min-width: 0; }
.cv-topn b { color: var(--text); }

/* the table is one key away: the key, on the folded table's line */
.cv-key { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-right: 9px; padding: 0 4px; border-radius: 4px; border: 1px solid var(--border-2); border-bottom-width: 2px;
  font: 600 11px/1 var(--mono); letter-spacing: 0; color: var(--text-2); background: var(--bg-2); vertical-align: 1px; }

/* ---- any width: nothing in the overview can push the page wider than its column ---- */
/* (.cv-body was the one that could: its folded alert table's one-line summary set the width of the whole column) */
.cv-body, .cv-side, .cv-gauges, .cv-board { grid-template-columns: minmax(0, 1fr); }
.cv-gk { min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.cv-gs { flex: 1 1 0; }
.cv-gv { flex: none; }
.cv-verdict, .cv-ringbox, .cv-trend, .cv-why, .cv-wf, .cv-rib { min-width: 0; }
.cv-sl { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* Ekalix Next gives a system's page less width - its own menu and the list of sections stand beside it - so the same
   layouts come a step earlier there (above 1200 px, where that list is a column). */
@media (min-width: 1200px) and (max-width: 1760px) {
  :root[data-ekx-template="next"] .cv-hero { grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); }
  :root[data-ekx-template="next"] .cv-ringbox { grid-column: 1; grid-row: 1; }
  :root[data-ekx-template="next"] .cv-verdict { grid-column: 2; grid-row: 1 / span 2; }
  :root[data-ekx-template="next"] .cv-trend { grid-column: 1; grid-row: 2; grid-template-columns: minmax(0, 1fr); padding: 12px 0 0; border-left: none; border-top: 1px solid var(--hairline); }
}
@media (min-width: 1200px) and (max-width: 1420px) {
  :root[data-ekx-template="next"] .cv-main, :root[data-ekx-template="next"] .cv-main.cv-two { grid-template-columns: minmax(0, 1fr); }
}
/* ...and its own heading rules (.nx-app h2, h3) would flatten the verdict's sentence and the panel heads: the
   overview keeps its type in both designs. */
:root[data-ekx-template] .cv-hero h2.cv-h { margin: 8px 0; font: 700 clamp(24px, 2.6vw, 34px)/1.12 var(--font); letter-spacing: .01em; }
:root[data-ekx-template] .cv-panel .cv-ph h2 { margin: 0; font: 700 15px/1 var(--font); letter-spacing: .1em; }
:root[data-ekx-template] .cv-fix h3.cv-fixt { margin: 8px 0 3px; font-size: 16px; font-weight: 650; line-height: 1.3; letter-spacing: 0; }
/* a ribbon under the verdict (the narrower layouts) keeps the size it was drawn for */
.cv-trend > .cv-rib { max-width: 460px; }
/* without a graphics card (data-gfx="soft": a Remote Desktop session, a server) every frame is drawn on the CPU, and a
   beat with each reading would keep the page drawing a third of the time: there the live mark rests, as the product's
   other marks do (styles.css, 12.2); Animation: Full brings it back. */
:root[data-gfx="soft"]:not([data-motion-pref="full"]) .cv-beat { animation: none; }
:root[data-gfx="soft"]:not([data-motion-pref="full"]) .cv-fill { transition: none; }

/* ==== CONTRACT-V30, Amendment 1: the look - a lit instrument, one material, fewer words =========================
   The dial is three still drawings lit from the top left (CoreRing): the base (the shadow on the page, the bezel, the
   recessed face, the channels the arcs run in), the glow (a blurred copy of what is lit, one filter on a drawing
   that does not change while it is on screen) and the ring (the arcs with the light on them, the gaps, the labels,
   the number, the glass). The ribbon and the vital signs are the chart kit's material (chartkit.css). None of it
   moves by itself; the arrival only fades whole drawings in (opacity on a layer). */
.cv-dial { position: relative; max-width: 400px; margin: 0 auto; }
.cv-dial > svg { display: block; width: 100%; height: auto; overflow: visible; }
.cv-ringbase, .cv-ringglow { position: absolute; inset: 0; height: 100%; pointer-events: none; }
.cv-dial > .cv-ring { position: relative; max-width: none; margin: 0; }
.cv-bezel { fill: none; stroke-width: 14; stroke: var(--ck-metal-b); }
/* the light and the shade on the bezel: nine nested arcs each, so they fall off without a step the eye can find */
.cv-bezel.lit { stroke: var(--ck-metal-a); opacity: .075; }
.cv-bezel.shade { stroke: var(--ck-metal-c); opacity: .085; }
.cv-face { fill: color-mix(in srgb, var(--ck-face-a) 45%, var(--ck-face-b)); }
.cv-rim { fill: none; stroke: var(--ck-lo-soft); stroke-width: 1; }
.cv-wall { fill: none; stroke-width: 1.5; }
.cv-wall.lo { stroke: var(--ck-lo); }
.cv-wall.hi { stroke: var(--ck-hi); }
.cv-chan { fill: none; stroke: var(--ck-groove); stroke-width: 16.8; }
.cv-chan.s { stroke-width: 8.8; }
.cv-bridge { stroke-width: 9; stroke: color-mix(in srgb, var(--ck-face-a) 45%, var(--ck-face-b)); }
/* the glow: three wider, fainter copies of each kept arc (no filter). An area where nothing was found glows at full
   strength, one with only a note a step calmer, any other at half. */
.cv-ringglow .cv-gl { fill: none; stroke: var(--tone); --gk: .5; }
.cv-ringglow .cv-gl.whole { --gk: 1; }
.cv-ringglow .cv-gl.calm { --gk: .3; }
.cv-ringglow .cv-gl.g1 { stroke-width: 17; opacity: calc(var(--ck-glow) * var(--gk) * .30); }
.cv-ringglow .cv-gl.g2 { stroke-width: 23; opacity: calc(var(--ck-glow) * var(--gk) * .17); }
.cv-ringglow .cv-gl.g3 { stroke-width: 30; opacity: calc(var(--ck-glow) * var(--gk) * .09); }
.cv-ringglow .cv-gl.s { --gk: .8; stroke-dasharray: var(--slen) 700; }
.cv-ringglow .cv-gl.s.g1 { stroke-width: 8.5; }
.cv-ringglow .cv-gl.s.g2 { stroke-width: 12; }
.cv-ringglow .cv-gl.s.g3 { stroke-width: 16; }
.cv-ring .cv-areag.quiet .cv-seg { opacity: .8; }
.cv-ring .cv-areag.quiet .cv-lit.hi { opacity: calc(var(--ck-sheen-a) * .5); }
/* the arcs: raised in their channel, the light on them; a gap is the dark channel with a hairline where the arc was */
.cv-ring .cv-slot { stroke: none; }
.cv-ring .cv-seg { stroke-width: 12.6; }
/* the light on an arc: a thin band of light along it, toward its outer edge, and a thin band of shade along its inner
   edge - two plain strokes (a radial sheen was a gradient of seven stops: shader programs of its own on a first visit) */
.cv-ring .cv-lit { fill: none; pointer-events: none; }
.cv-ring .cv-lit.hi { stroke: #fff; stroke-width: 3.2; opacity: var(--ck-sheen-a); }
.cv-ring .cv-lit.lo { stroke: #000; stroke-width: 2.8; opacity: var(--ck-sheen-b); }
.cv-ring .cv-areag.hl .cv-seg { stroke-width: 15.6; }
.cv-ring .cv-lost { fill: none; stroke: var(--tone); stroke-width: 1.2; stroke-dasharray: 1.5 3.6; opacity: .62; }
.cv-ring .cv-areag.hl .cv-lost { stroke-width: 1.2; }
.cv-ring .cv-mk { stroke-width: 12.6; }
.cv-ring .cv-sarc { stroke-width: 5.6; }
.cv-ring .cv-sarcl { fill: none; stroke-linecap: round; stroke-dasharray: var(--slen) 700; pointer-events: none; }
.cv-ring .cv-sarcl.hi { stroke-width: 1.5; }
.cv-ring .cv-sarcl.lo { stroke-width: 1.3; }
/* the shadow the dial leaves on the page: six discs, each a little smaller and each faint, so no step shows - in Daylight
   three stronger ones were rings the eye could count */
.cv-ringbase .cv-shd { fill: var(--ck-drop); opacity: .1; }
.cv-ring .cv-spec { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: calc(var(--ck-glass) * 1.5); }
.cv-ring .cv-big { font-size: 66px; }
.cv-ring .cv-big.sh { fill: var(--ck-lo); }
.cv-ring .cv-glass { pointer-events: none; }
.cv-arrive .cv-ringbase { animation: cvFade .3s ease-out both; }
.cv-arrive .cv-ringglow { animation: cvFade .4s ease-out both .6s; }
.cv-arrive .cv-ring .cv-lit, .cv-arrive .cv-ring .cv-glass { animation: cvFade .3s ease-out both .68s; }

/* ---- the ribbon and the vital signs: the chart kit's material ---- */
.cv-ribsvg.ck-chart { color: var(--tone); }
.cv-ribsvg.ck-chart.s { color: var(--text-2); }
.cv-ribsvg.ck-chart .cv-ribf { opacity: 1; }
.cv-ribsvg.ck-chart .cv-ribe { stroke: none; color: var(--tone); }
.cv-ribsvg.ck-chart.s .cv-ribl { stroke: currentColor; stroke-width: 1.5; }
.cv-ribsvg.ck-chart.s .ck-lineglow { --gk: .5; }
.cv-ribm .ck-mark { stroke: none; }
.cv-ribm.opened .ck-mark { fill: var(--serious); }
.cv-ribm.closed .ck-mark { fill: var(--ok); }
.cv-ribm .ck-stem { stroke-dasharray: none; }
.cv-arrive .cv-ribsvg .ck-lineglow { animation: cvFade .3s ease-out both .8s; }
.cv-due i.ck-bead { width: 8px; height: 8px; border: none; --tone: var(--accent); }
.cv-bar.ck-track { position: absolute; top: 5px; height: 11px; border-radius: 6px; }
.cv-fill.ck-fill { border-radius: 6px; }
.cv-mark.ck-tick { top: 2px; height: 17px; border-radius: 0; background: none; }
.cv-mark.ck-tick::before { content: ''; position: absolute; left: -2px; top: -3px; width: 6px; height: 3px; border-radius: 1.5px; background: var(--m); }
.cv-mark.ck-tick span { top: 20px; }
.cv-scale { height: 36px; }
.cv-ends { top: 22px; }
.cv-gv .hmd.ck-bead, .cv-read b .hmd.ck-bead { width: 9px; height: 9px; border: none; margin-left: 8px; vertical-align: 1px; --tone: var(--ok); }
.cv-trace.ck-chart { color: var(--text-2); }
.cv-trace .cv-tg { --gk: .55; }
.cv-trace .cv-tg .g1 { stroke-width: 3.2; }
.cv-trace .cv-tg .g2 { stroke-width: 5.2; }
.cv-trace .cv-tg .g3 { stroke-width: 7.6; }
.cv-trace .cv-td { stroke: none; }
.cv-gauge .cv-trace .cv-td { color: var(--tone); }
.cv-gauge.t-muted .cv-trace .cv-td { color: var(--text-3); }

/* ---- fewer words: how the score is counted, behind one quiet control ---- */
.cv-how { position: relative; margin-left: auto; font-size: 11.5px; }
.cv-how > summary { list-style: none; cursor: pointer; color: var(--text-3); white-space: nowrap; border-bottom: 1px dotted var(--border-2); border-radius: 2px; }
.cv-how > summary::-webkit-details-marker { display: none; }
.cv-how > summary:hover, .cv-how[open] > summary { color: var(--text); }
.cv-how > summary:focus-visible { outline: 2px solid var(--accent-bd); outline-offset: 3px; }
.cv-howp { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: min(440px, 86vw); padding: 12px 14px 4px; border-radius: 10px;
  border: 1px solid var(--border-2); background: var(--raised, var(--surface-2)); box-shadow: 0 0 0 1px var(--ck-lo-soft), 0 1px 0 var(--ck-hi-soft) inset;
  font-size: 12.5px; line-height: 1.5; color: var(--text-2); text-align: left; }
.cv-howp p { margin: 0 0 9px; }
.cv-howp b { color: var(--text); font: inherit; font-weight: 650; letter-spacing: 0; text-transform: none; white-space: normal; }
.cv-whyh { flex-wrap: nowrap; }
.cv-whyh span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-why.none { min-height: 0; }
/* the leading finding's cost, and the area that costs the score most */
.cv-most { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-3); max-width: 68ch; }
.cv-link { appearance: none; border: none; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; border-bottom: 1px solid var(--accent-bd); }
.cv-link:hover { color: var(--text); }
.cv-link:focus-visible { outline: 2px solid var(--accent-bd); outline-offset: 2px; border-radius: 2px; }
.cv-rib.two .cv-ribr { font-size: 11px; }
/* a phone: the count under "Why" wraps instead of being cut */
@media (max-width: 560px) { .cv-whyh { flex-wrap: wrap; } .cv-whyh span { white-space: normal; } }

/* ==== The fix round after the look pass ==========================================================================
   Live against collected: what the Sentinel has open now and the last collection did not find is ONE line in the
   verdict, with the live mark; a reading over its limit is said beside its area's label, never worn as the area's
   collected severity; the tally says how many are live. */
.cv-live { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--text); max-width: 68ch; }
.cv-live .ck-bead { width: 9px; height: 9px; margin-right: 8px; vertical-align: 0; --tone: var(--ok); }
.cv-live b { font-weight: 700; margin-right: 2px; }
.cv-lived { color: var(--text-3); }
.cv-live .cv-link { margin-left: 4px; }
.cv-tally span.cv-tlive { color: var(--text-2); }
.cv-tally span.cv-tlive .ck-bead { width: 8px; height: 8px; --tone: var(--ok); }
.cv-ring .cv-lnow { font-size: 12.5px; }
.cv-ring .cv-lnow .cv-lv { fill: var(--ok); }
/* the ribbon: its time axis and one quiet legend line */
.cv-ribt { font-size: 9.5px; }
.cv-ribk { margin-top: 3px; font-size: 11px; line-height: 1.4; color: var(--text-3); }
.cv-ribk .o { color: var(--serious); margin-right: 3px; font-size: 9px; }
.cv-ribk .c { color: var(--ok); margin-right: 3px; font-size: 9px; }
/* the next step of the whole page */
.cv-topact .btn.cv-go { white-space: nowrap; }
/* ...primary by its fill and its weight; no blurred shadow (a kind of drawing Next's system page has not met) */
.cv-topact .btn.cv-go, :root[data-theme] .cv-topact .btn.cv-go, :root[data-theme] .cv-topact .btn.cv-go:hover:not(:disabled) { box-shadow: none; }
/* Next gives every button the text colour around it: this one keeps the colour that reads on its fill */
:root[data-ekx-template="next"] .nx-app .cv-topact .btn.cv-go { color: var(--on-accent); font-weight: 700; }

/* ==== CONTRACT-V30 P4: the overview's charts share one cursor (chartkit.js cursor) ===================================
   Point at the score ribbon or at any vital sign's trace: every trace shows that collection - a hairline, a bead on the
   line and the reading, said in a plate under the trace (out of the layout, so nothing moves; the sign's own value stays readable). */
.cv-inst { position: relative; }
.cv-trace { cursor: crosshair; }
.cv-tcur line { stroke: var(--text-2); stroke-width: 1; }
.cv-tcur circle { fill: var(--surface-1); stroke: var(--text); stroke-width: 1.3; }
.cv-tread { position: absolute; right: 0; top: calc(100% + 3px); padding: 1px 6px; border-radius: 4px; background: var(--text); color: var(--bg);
  font-size: 10.5px; font-weight: 700; line-height: 14px; white-space: nowrap; pointer-events: none; }
