/* GENERATED by bin/sync-views.mjs from console/src/challenge-views.css. Do not edit: edit the source and run the script. */
/* The challenge views (challenge-views.ts): cockpit, pulse, runway, ledger, focus. One stylesheet for the console AND
 * the public site (bin/sync-views.mjs copies it to public/kit/), so it names no host colour: every rule reads a --cv-*
 * value, and each host says what those are. Sized in em, so the console shows it at its own text size and a site frame
 * at the frame's. A view is its own container: it lays out by the room it is given, never by the window.
 *
 * Motion. A view ARRIVES once (it fades in, its arcs sweep, its bars grow, its line is drawn) and after that it is
 * patched in place (mount() in the .ts), so every later change is a transition: nothing is ever redrawn from zero
 * while a trader is looking at it. Nothing moves position; only lengths, colours and opacity change. */
.cv {
  /* the console's theme tokens when they exist, a paper palette when they do not (the site's scenes set their own) */
  --cv-surface: var(--surface, #fff); --cv-surface-2: var(--surface-2, #f6f8f5); --cv-line: var(--line, #e1e6e2);
  --cv-ink: var(--ink, #101613); --cv-ink-2: var(--ink-2, #3c4541); --cv-muted: color-mix(in srgb, var(--muted, #59635f) 86%, var(--ink, #101613)); /* small grey text sits on tinted panels here: a shade nearer the ink than the host's */
  --cv-accent: var(--lime, #b7ff00); --cv-on-accent: var(--on-accent, #0a0f0c); --cv-accent-ink: var(--lime-ink, #3f6a06);
  --cv-ok: var(--ok, #15803d); --cv-warn: var(--warn, #b45309); --cv-bad: var(--bad, #c42525); --cv-info: var(--info, #1e4fd1);
  --cv-display: var(--font-display, "Sora Variable", ui-sans-serif, system-ui, sans-serif); --cv-mono: var(--font-mono, ui-monospace, monospace);
  --cv-ease: cubic-bezier(.16, 1, .3, 1); --cv-slow: 900ms;
  /* what the account's state tints: the brand while all is well, amber and red when the allowance runs out */
  --cv-glow: var(--cv-accent);
  container-type: inline-size; display: grid; gap: 1.25em; padding: 1.6em; border-radius: 1.5em; background: var(--cv-surface); color: var(--cv-ink); line-height: 1.4; text-align: left; min-width: 0;
  animation: cv-in 420ms ease-out backwards;
}
.cv.is-warn { --cv-glow: var(--cv-warn); } .cv.is-bad { --cv-glow: var(--cv-bad); }
.cv > * { min-width: 0; }
.cv i { font-style: normal; }
/* the cockpit is a dark instrument whatever the theme around it */
.cv-cockpit { --cv-surface: #0a1210; --cv-surface-2: #111b17; --cv-line: rgba(255, 255, 255, .09); --cv-ink: #f2f6f3; --cv-ink-2: #c7d1cb; --cv-muted: #8f9d96; --cv-accent-ink: var(--cv-accent); --cv-ok: #4ade80; --cv-warn: #f5b04c; --cv-bad: #ff6b6b; --cv-info: #7aa2ff;
  background: radial-gradient(85% 60% at 88% -5%, color-mix(in srgb, var(--cv-glow) 17%, transparent), transparent 70%), radial-gradient(55% 45% at 0% 105%, color-mix(in srgb, var(--cv-glow) 8%, transparent), transparent 70%), linear-gradient(180deg, #0c1512, var(--cv-surface));
  background-color: var(--cv-surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

/* ── shared pieces ─────────────────────────────────────────────────────── */
.cv-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.cv-title { min-width: 0; }
.cv-title b { display: block; font-family: var(--cv-display); font-size: 1.14em; font-weight: 600; letter-spacing: -0.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-title span { display: block; margin-top: .1em; font-size: .8em; color: var(--cv-muted); font-family: var(--cv-mono); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-state { flex: none; display: inline-flex; align-items: center; gap: .55em; padding: .34em .9em .34em .75em; border-radius: 999px; background: var(--cv-surface-2); box-shadow: inset 0 0 0 1px var(--cv-line); font-size: .84em; font-weight: 600; color: var(--cv-ink-2); white-space: nowrap; }
.cv-state::before { content: ""; width: .55em; height: .55em; border-radius: 50%; color: var(--cv-info); background: currentColor; box-shadow: 0 0 0 .22em color-mix(in srgb, currentColor 24%, transparent); animation: cv-live 2.6s ease-in-out infinite; }
.cv-state.is-funded::before { color: var(--cv-ok); }
.cv-state.is-failed::before { color: var(--cv-bad); box-shadow: none; animation: none; } .cv-state.is-closed::before { color: var(--cv-muted); box-shadow: none; animation: none; }
.cv-state.is-quiet::before { color: var(--cv-warn); animation: none; }

.cv-value { display: grid; gap: .2em; align-content: start; }
.cv-value > span { font-size: .86em; color: var(--cv-muted); }
.cv-value > b { font-family: var(--cv-display); font-size: 2.5em; font-weight: 600; line-height: 1.05; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.cv-chips { display: flex; flex-wrap: wrap; gap: .45em; margin-top: .45em; }
.cv-chips:empty { display: none; }
.cv-chip { padding: .24em .8em; border-radius: 999px; font-size: .84em; font-weight: 600; color: var(--cv-ink-2); background: var(--cv-surface-2); box-shadow: inset 0 0 0 1px var(--cv-line); white-space: nowrap; transition: color 300ms, background-color 300ms, box-shadow 300ms; }
.cv-chip.is-pos { color: color-mix(in srgb, var(--cv-ok) 86%, var(--cv-ink)); background: color-mix(in srgb, var(--cv-ok) 9%, var(--cv-surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cv-ok) 28%, transparent); }
.cv-chip.is-neg { color: color-mix(in srgb, var(--cv-bad) 90%, var(--cv-ink)); background: color-mix(in srgb, var(--cv-bad) 8%, var(--cv-surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cv-bad) 28%, transparent); }

.cv-bar { display: block; height: .5em; border-radius: 999px; background: var(--cv-line); overflow: hidden; }
.cv-bar u { display: block; height: 100%; border-radius: inherit; background: var(--cv-ok); transition: width var(--cv-slow) var(--cv-ease), background-color 300ms; animation: cv-grow 1100ms var(--cv-ease) backwards; }
.cv-bar.is-warn u { background: var(--cv-warn); } .cv-bar.is-bad u { background: var(--cv-bad); } .cv-bar.is-accent u { background: var(--cv-accent); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.cv-meters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13em), 1fr)); gap: .9em 1.8em; }
.cv-meter { display: grid; gap: .45em; min-width: 0; align-content: start; }
.cv-meter > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; }
.cv-meter b { font-size: .9em; font-weight: 600; white-space: nowrap; } .cv-meter span { font-size: .84em; font-weight: 600; color: var(--cv-ink-2); text-align: right; white-space: nowrap; } .cv-meter small { font-size: .78em; color: var(--cv-muted); }
.cv-pips { display: flex; gap: .3em; height: .5em; } .cv-pips u { flex: 1 1 0; border-radius: 999px; background: var(--cv-line); transition: background-color 300ms; } .cv-pips u.is-on { background: var(--cv-ok); }

/* the stage path, under every view */
.cv-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .6em; counter-reset: cv-stage; }
.cv-stages li { counter-increment: cv-stage; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .7em; padding: .65em .85em; border-radius: .95em; box-shadow: inset 0 0 0 1px var(--cv-line); font-size: .9em; min-width: 0; }
.cv-stages li::before { content: counter(cv-stage); display: grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; font-size: .82em; font-weight: 700; color: var(--cv-muted); background: var(--cv-surface-2) center / 62% no-repeat; box-shadow: inset 0 0 0 1px var(--cv-line); }
.cv-stages b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cv-stages span { display: block; font-size: .88em; color: var(--cv-muted); }
.cv-stages .is-now { background: color-mix(in srgb, var(--cv-accent) 13%, var(--cv-surface)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cv-accent) 65%, var(--cv-ink)); }
.cv-stages .is-now::before { color: var(--cv-on-accent); background-color: var(--cv-accent); box-shadow: 0 0 0 .28em color-mix(in srgb, var(--cv-accent) 22%, transparent); }
.cv-stages .is-done::before { content: ""; background-color: var(--cv-ok); box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3L14.6 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* a line chart in layers (so the fill can fade without touching the line): .a the fill, .l the line */
.cv-spark svg, .cv-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cv-spark .l path, .cv-plot .l path { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cv-spark .l, .cv-plot .l, .cv-spark .a, .cv-plot .a { animation: cv-draw 1300ms var(--cv-ease) backwards; }

/* ── cockpit ───────────────────────────────────────────────────────────── */
.cv-cock { display: grid; gap: 1.3em; }
.cv-spark { position: relative; height: 4.4em; margin-top: .9em; background: repeating-linear-gradient(180deg, transparent 0 calc(33.33% - 1px), color-mix(in srgb, var(--cv-ink) 7%, transparent) calc(33.33% - 1px) 33.33%); }
.cv-spark .l path { stroke: var(--cv-accent); stroke-width: 2; filter: drop-shadow(0 0 .35em color-mix(in srgb, var(--cv-accent) 55%, transparent)); }
.cv-spark .a { -webkit-mask-image: linear-gradient(#000, transparent 92%), linear-gradient(90deg, #000 93%, transparent 98%); mask-image: linear-gradient(#000, transparent 92%), linear-gradient(90deg, #000 93%, transparent 98%); -webkit-mask-composite: source-in; mask-composite: intersect; } .cv-spark .a path { fill: color-mix(in srgb, var(--cv-accent) 30%, transparent); }
.cv-spark i { position: absolute; width: .62em; height: .62em; margin: -.31em 0 0 -.31em; border-radius: 50%; background: var(--cv-accent); box-shadow: 0 0 0 .3em color-mix(in srgb, var(--cv-accent) 25%, transparent); transition: left var(--cv-slow) var(--cv-ease), top var(--cv-slow) var(--cv-ease); }
.cv-spark i::after { content: ""; position: absolute; inset: -.3em; border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--cv-accent) 60%, transparent); animation: cv-ping 2.6s ease-out infinite; }
.cv-spark-foot { display: flex; justify-content: space-between; gap: 1em; margin-top: .35em; font-size: .76em; color: var(--cv-muted); }
.cv-spark-foot em { font-style: normal; } .cv-spark-foot span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cv-spark-foot b { font-weight: 600; color: var(--cv-ink-2); }
.cv-dials { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; align-items: center; }
.cv-dial { position: relative; aspect-ratio: 1; max-width: 13em; width: 100%; justify-self: center; }
.cv-dial::before { content: ""; position: absolute; inset: 17%; border-radius: 50%; color: var(--cv-ok); background: radial-gradient(closest-side, color-mix(in srgb, currentColor 13%, transparent), transparent); transition: color 300ms; }
.cv-dial.is-warn::before { color: var(--cv-warn); } .cv-dial.is-bad::before { color: var(--cv-bad); } .cv-dial.is-accent::before { color: var(--cv-accent); }
.cv-dial svg { position: relative; width: 100%; height: 100%; transform: rotate(135deg); overflow: visible; }
.cv-dial circle, .cv-dial path { fill: none; }
.cv-dial .k { stroke: var(--cv-muted); stroke-width: 2.2; stroke-dasharray: .4 2.6; opacity: .5; }
.cv-dial .k.is-major { stroke: var(--cv-ink-2); stroke-width: 3.6; stroke-dasharray: .7 18.05; opacity: .85; }
.cv-dial .t { stroke: var(--cv-line); stroke-width: 7.5; stroke-linecap: round; }
.cv-dial .v { stroke: var(--cv-ok); color: var(--cv-ok); stroke-width: 7.5; stroke-linecap: round; filter: drop-shadow(0 0 .3em color-mix(in srgb, currentColor 60%, transparent)); transition: stroke-dasharray var(--cv-slow) var(--cv-ease), stroke 300ms; animation: cv-sweep 1300ms var(--cv-ease) backwards; }
.cv-dial .n { stroke: var(--cv-surface); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset var(--cv-slow) var(--cv-ease); animation: cv-knob 1300ms var(--cv-ease) backwards; }
.cv-dial.is-warn .v { stroke: var(--cv-warn); color: var(--cv-warn); } .cv-dial.is-bad .v { stroke: var(--cv-bad); color: var(--cv-bad); } .cv-dial.is-accent .v { stroke: var(--cv-accent); color: var(--cv-accent); }
.cv-dial-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .25em; padding: 0 19%; text-align: center; }
.cv-dial-in b { font-family: var(--cv-display); font-size: 1.9em; font-weight: 600; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.cv-dial-in span { font-size: .74em; line-height: 1.3; color: var(--cv-muted); }
.cv-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7em; }
.cv-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cv-facts > div { padding: .9em 1em; border-radius: 1.05em; background: linear-gradient(180deg, color-mix(in srgb, var(--cv-ink) 4%, var(--cv-surface-2)), var(--cv-surface-2)); box-shadow: inset 0 0 0 1px var(--cv-line), inset 0 1px 0 color-mix(in srgb, var(--cv-ink) 6%, transparent); min-width: 0; }
.cv-facts span { display: flex; align-items: center; gap: .5em; font-size: .8em; color: var(--cv-muted); }
.cv-facts span i { flex: none; width: .5em; height: .5em; border-radius: 50%; background: var(--cv-muted); opacity: .55; transition: background-color 300ms; } .cv-facts span i.is-ok { background: var(--cv-ok); opacity: 1; } .cv-facts span i.is-warn { background: var(--cv-warn); opacity: 1; } .cv-facts span i.is-bad { background: var(--cv-bad); opacity: 1; }
.cv-facts b { display: block; margin-top: .2em; font-family: var(--cv-display); font-size: 1.08em; font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cv-facts small { display: block; margin-top: .1em; font-size: .76em; color: var(--cv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (min-width: 44em) {
  .cv-cock { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 2.6em; }
  .cv-facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } .cv-facts > div:last-child:nth-child(odd) { grid-column: auto; }
  .cv-value > b { font-size: 3.1em; }
  .cv-spark { height: 6.4em; }
}

/* ── pulse ─────────────────────────────────────────────────────────────── */
.cv-plot { position: relative; height: 15em; border-radius: 1.15em; background: linear-gradient(180deg, var(--cv-surface-2), color-mix(in srgb, var(--cv-surface-2) 55%, var(--cv-surface))); box-shadow: inset 0 0 0 1px var(--cv-line); overflow: hidden; --cv-trace: var(--cv-accent-ink); --cv-wash: var(--cv-accent); }
.cv-plot.is-warn { --cv-trace: var(--cv-warn); --cv-wash: var(--cv-warn); } .cv-plot.is-bad { --cv-trace: var(--cv-bad); --cv-wash: var(--cv-bad); }
.cv-plot .z-floor { fill: color-mix(in srgb, var(--cv-bad) 10%, transparent); } .cv-plot .z-target { fill: color-mix(in srgb, var(--cv-ok) 9%, transparent); }
.cv-plot .g { stroke-width: 1.2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; stroke: var(--cv-muted); }
.cv-plot .g.is-target { stroke: var(--cv-ok); } .cv-plot .g.is-floor { stroke: var(--cv-bad); stroke-dasharray: none; } .cv-plot .g.is-day { stroke: var(--cv-warn); } .cv-plot .g.is-start { opacity: .6; }
.cv-plot .l path { stroke: var(--cv-trace); stroke-width: 2.4; transition: stroke 300ms; }
.cv-plot .a { -webkit-mask-image: linear-gradient(#000 10%, rgba(0, 0, 0, .25)), linear-gradient(90deg, #000 92%, transparent 96%); mask-image: linear-gradient(#000 10%, rgba(0, 0, 0, .25)), linear-gradient(90deg, #000 92%, transparent 96%); -webkit-mask-composite: source-in; mask-composite: intersect; } .cv-plot .a path { fill: color-mix(in srgb, var(--cv-wash) 26%, transparent); transition: fill 300ms; }
.cv-tag { position: absolute; left: .9em; transform: translateY(-50%); padding: .14em .65em; border-radius: 999px; font-size: .74em; font-weight: 500; white-space: nowrap; color: var(--cv-ink-2); background: var(--cv-surface); box-shadow: inset 0 0 0 1px var(--cv-line), 0 .2em .6em -.3em rgba(0, 0, 0, .25); transition: top var(--cv-slow) var(--cv-ease); }
.cv-tag b { font-weight: 700; } .cv-tag.is-target b { color: var(--cv-ok); } .cv-tag.is-floor b { color: var(--cv-bad); } .cv-tag.is-day b { color: var(--cv-warn); }
.cv-now { position: absolute; width: .8em; height: .8em; margin: -.4em 0 0 -.4em; border-radius: 50%; background: var(--cv-trace); box-shadow: 0 0 0 .2em var(--cv-surface-2), 0 0 0 .45em color-mix(in srgb, var(--cv-wash) 45%, transparent); transition: top var(--cv-slow) var(--cv-ease), background-color 300ms; }
.cv-now::after { content: ""; position: absolute; inset: -.55em; border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--cv-trace) 55%, transparent); animation: cv-ping 2.6s ease-out infinite; }
.cv-now b { position: absolute; right: -.35em; bottom: 1.45em; padding: .2em .65em; border-radius: .6em; font-size: .78em; font-weight: 700; white-space: nowrap; color: var(--cv-surface); background: var(--cv-ink); box-shadow: 0 .3em .9em -.3em rgba(0, 0, 0, .4); }
.cv-now.is-under b { bottom: auto; top: 1.45em; }
.cv-plot-note { margin: -.5em 0 0; font-size: .78em; color: var(--cv-muted); }
@container (min-width: 44em) { .cv-plot { height: 19em; } .cv-pulse .cv-value > b { font-size: 3.1em; } }
@container (max-width: 30em) { .cv-plot { height: 12em; } .cv-pulse .cv-meters { gap: .65em; } }

/* ── runway ────────────────────────────────────────────────────────────── */
.cv-way { display: grid; gap: .55em; padding: 3em 1.4em 1.1em; border-radius: 1.15em; background: linear-gradient(180deg, var(--cv-surface-2), color-mix(in srgb, var(--cv-surface-2) 55%, var(--cv-surface))); box-shadow: inset 0 0 0 1px var(--cv-line); }
.cv-way-line { position: relative; height: .8em; border-radius: 999px; background: var(--cv-line); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08); }
.cv-way-line::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .35; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--cv-muted) calc(10% - 1px) 10%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.cv-way-fill { position: absolute; top: 0; bottom: 0; z-index: 1; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--cv-ok) 70%, var(--cv-surface)), var(--cv-ok)); transition: width var(--cv-slow) var(--cv-ease), left var(--cv-slow) var(--cv-ease); animation: cv-in 900ms ease-out backwards; }
.cv-way-fill.is-down, .cv-way-fill.is-bad { background: linear-gradient(90deg, var(--cv-bad), color-mix(in srgb, var(--cv-bad) 70%, var(--cv-surface))); } .cv-way-fill.is-warn { background: linear-gradient(90deg, color-mix(in srgb, var(--cv-warn) 70%, var(--cv-surface)), var(--cv-warn)); }
.cv-way-start { position: absolute; z-index: 2; top: -.4em; bottom: -.4em; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--cv-ink-2); opacity: .65; }
.cv-way-now { position: absolute; z-index: 3; top: 50%; width: 1.5em; height: 1.5em; margin: -.75em 0 0 -.75em; border-radius: 50%; background: var(--cv-surface); box-shadow: 0 0 0 .24em var(--cv-ink), 0 .35em .9em rgba(0, 0, 0, .28); transition: left var(--cv-slow) var(--cv-ease); animation: cv-slide 1300ms var(--cv-ease) backwards; }
.cv-way-now::before { content: ""; position: absolute; inset: .42em; border-radius: 50%; background: var(--cv-glow); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.cv-way-now b { position: absolute; left: 50%; bottom: 2.2em; transform: translateX(-50%); padding: .22em .7em; border-radius: .6em; font-size: .8em; font-weight: 700; white-space: nowrap; color: var(--cv-surface); background: var(--cv-ink); box-shadow: 0 .3em .9em -.3em rgba(0, 0, 0, .4); }
.cv-way-now b::after { content: ""; position: absolute; left: 50%; top: 100%; width: .5em; height: .5em; margin: -.27em 0 0 -.25em; transform: rotate(45deg); background: inherit; border-radius: .1em; }
.cv-way-now.is-l b { left: -.6em; transform: none; } .cv-way-now.is-l b::after { left: 1.5em; } .cv-way-now.is-r b { left: auto; right: -.6em; transform: none; } .cv-way-now.is-r b::after { left: auto; right: 1.25em; }
/* the two distances, each written under the stretch it measures */
.cv-way-legs { display: flex; margin-top: .25em; font-size: .78em; color: var(--cv-muted); }
.cv-way-legs span { box-sizing: border-box; min-width: 0; height: 1.9em; padding: .55em .5em 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top: 1px solid color-mix(in srgb, var(--cv-muted) 45%, transparent); border-inline: 1px solid color-mix(in srgb, var(--cv-muted) 45%, transparent); border-radius: .25em .25em 0 0; transition: width var(--cv-slow) var(--cv-ease); }
.cv-way-legs span + span { border-left: 0; }
.cv-way-legs b { font-weight: 700; color: var(--cv-ink-2); } .cv-way-legs .is-tight b, .cv-way-legs .is-tight i { display: none; }
.cv-way-ends { position: relative; display: flex; justify-content: space-between; gap: 1em; font-size: .84em; }
.cv-way-ends span { display: block; color: var(--cv-muted); } .cv-way-ends b { font-weight: 600; }
.cv-way-ends .is-right { text-align: right; } .cv-way-ends .is-mid { position: absolute; top: 0; transform: translateX(-50%); text-align: center; }
.cv-objs { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 2.4em; }
.cv-objs li { display: grid; grid-template-columns: 1.5em minmax(0, 1fr); gap: .8em; align-items: start; padding: .72em 0; border-top: 1px solid var(--cv-line); }
.cv-objs li:first-child { border-top: 0; }
.cv-objs i { position: relative; width: 1.4em; height: 1.4em; margin-top: .1em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--cv-muted); background: center / .85em no-repeat; }
.cv-objs i.is-ring { box-shadow: none; } .cv-objs i svg { position: absolute; inset: -.1em; width: calc(100% + .2em); height: calc(100% + .2em); transform: rotate(-90deg); }
.cv-objs i circle { fill: none; stroke-width: 2.4; } .cv-objs i .t { stroke: color-mix(in srgb, var(--cv-muted) 38%, transparent); } .cv-objs i .v { stroke: var(--cv-accent-ink); stroke-linecap: round; transition: stroke-dasharray var(--cv-slow) var(--cv-ease); animation: cv-sweep 1300ms var(--cv-ease) backwards; }
.cv-objs .is-done i { box-shadow: none; background-color: var(--cv-ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3L14.6 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cv-objs .is-risk i { box-shadow: none; background-color: var(--cv-warn); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5.5v5.5M10 14.2v.3' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cv-objs b { display: block; font-weight: 600; font-size: .97em; } .cv-objs span { display: block; font-size: .86em; color: var(--cv-muted); }
@container (max-width: 30em) { .cv-way-ends .is-mid:not(.is-clear) { display: none; } .cv-way-legs i { display: none; } .cv-way { padding-inline: 1.1em; } }
@container (min-width: 44em) { .cv-objs { grid-template-columns: 1fr 1fr; } .cv-objs li:nth-child(2) { border-top: 0; } .cv-runway .cv-value > b { font-size: 3.1em; } }

/* ── ledger ────────────────────────────────────────────────────────────── */
.cv-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17em), 1fr)); gap: .8em; }
.cv-group { padding: 1em 1.1em .45em; border-radius: 1.05em; background: linear-gradient(180deg, var(--cv-surface-2), color-mix(in srgb, var(--cv-surface-2) 45%, var(--cv-surface))); box-shadow: inset 0 0 0 1px var(--cv-line); min-width: 0; }
.cv-group > p { display: flex; align-items: center; gap: .6em; margin: 0 0 .35em; font-size: .72em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--cv-accent-ink) 68%, var(--cv-ink)); }
.cv-group > p::before { content: ""; width: .7em; height: .7em; border-radius: .2em; background: var(--cv-accent); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.cv-group dl { margin: 0; }
.cv-group dl > div { display: grid; grid-template-columns: auto minmax(1em, 1fr) auto; align-items: baseline; column-gap: .6em; padding: .58em 0; border-top: 1px solid var(--cv-line); }
.cv-group dl > div:first-child { border-top: 0; }
.cv-group dt { flex: none; font-size: .88em; color: var(--cv-muted); white-space: nowrap; }
.cv-group dl i { height: .9em; border-bottom: 1px dotted color-mix(in srgb, var(--cv-muted) 55%, transparent); }
.cv-group dd { margin: 0; text-align: right; min-width: 0; }
.cv-group dd b { display: block; font-family: var(--cv-mono); font-size: .97em; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.cv-group dd.is-note { grid-column: 1 / -1; margin-top: .1em; font-size: .78em; color: var(--cv-muted); text-wrap: balance; }

/* ── focus ─────────────────────────────────────────────────────────────── */
.cv-focus { background: radial-gradient(70% 46% at 50% 0%, color-mix(in srgb, var(--cv-glow) 17%, transparent), transparent 72%), var(--cv-surface); }
.cv-focus-main { position: relative; display: grid; justify-items: center; text-align: center; padding-top: .4em; }
.cv-arc { width: min(100%, 23em); height: auto; overflow: visible; }
.cv-arc path { fill: none; stroke-width: 3.6; stroke-linecap: round; } .cv-arc .t { stroke: var(--cv-line); }
.cv-arc .k { stroke: var(--cv-muted); stroke-width: 1.4; stroke-dasharray: .35 2.15; stroke-linecap: butt; opacity: .5; }
.cv-arc .v { stroke: var(--cv-ok); color: var(--cv-ok); filter: drop-shadow(0 .1em .35em color-mix(in srgb, currentColor 45%, transparent)); transition: stroke-dasharray var(--cv-slow) var(--cv-ease), stroke 300ms; animation: cv-sweep 1300ms var(--cv-ease) backwards; }
.cv-arc .n { stroke: var(--cv-surface); stroke-width: 1.5; transition: stroke-dashoffset var(--cv-slow) var(--cv-ease); animation: cv-knob 1300ms var(--cv-ease) backwards; }
.cv-arc.is-warn .v { stroke: var(--cv-warn); color: var(--cv-warn); } .cv-arc.is-bad .v { stroke: var(--cv-bad); color: var(--cv-bad); }
.cv-focus-main > div { display: grid; gap: .25em; justify-items: center; margin-top: -4.5em; padding: 0 1em; }
.cv-focus-main span { font-size: .84em; color: var(--cv-muted); }
.cv-focus-main b { font-family: var(--cv-display); font-size: 2.3em; font-weight: 600; line-height: 1.05; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv-focus-main em { margin-top: 1.1em; font-style: normal; font-size: .8em; color: var(--cv-muted); max-width: 30em; }
.cv-focus-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14em), 1fr)); gap: 0 1.6em; border-top: 1px solid var(--cv-line); }
.cv-focus-rows > div { display: grid; grid-template-columns: 1fr auto; column-gap: 1em; align-items: baseline; padding: .7em 0; border-bottom: 1px solid var(--cv-line); min-width: 0; }
.cv-focus-rows span { font-size: .88em; color: var(--cv-muted); } .cv-focus-rows b { font-weight: 600; text-align: right; white-space: nowrap; } .cv-focus-rows small { grid-column: 1 / -1; font-size: .76em; color: var(--cv-muted); text-align: right; }
@container (min-width: 44em) {
  .cv-focus-main b { font-size: 3.3em; } .cv-focus-main > div { margin-top: -5.6em; } .cv-arc { width: 31em; }
  .cv-focus-rows > div { grid-template-columns: 1fr; text-align: left; } .cv-focus-rows b, .cv-focus-rows small { text-align: left; } .cv-focus-rows b { font-family: var(--cv-display); font-size: 1.2em; letter-spacing: -.015em; }
}
@container (max-width: 24em) { .cv-value > b { font-size: 2.05em; } .cv-focus-main b { font-size: 2em; } .cv-focus-main > div { margin-top: -4.1em; } .cv-dial-in b { font-size: 1.55em; } .cv-dial { max-width: 10.5em; } .cv-spark { height: 3.6em; } }

/* arriving, and being alive. An arrival fills BACKWARDS only: an animation that kept filling forwards would sit on the
   property for good, and the transitions that make later changes glide would never be seen. */
@keyframes cv-in { from { opacity: 0; } }
@keyframes cv-sweep { from { stroke-dasharray: 0 100; } }
@keyframes cv-knob { from { stroke-dashoffset: 0; } }
@keyframes cv-grow { from { width: 0; } }
@keyframes cv-slide { from { left: 0; } }
@keyframes cv-draw { from { clip-path: inset(-30% 100% -30% -5%); } to { clip-path: inset(-30% -5% -30% -5%); } }
@keyframes cv-ping { 0% { transform: scale(.7); opacity: .9; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes cv-live { 50% { box-shadow: 0 0 0 .34em color-mix(in srgb, currentColor 10%, transparent); } }
@media (prefers-reduced-motion: reduce) { .cv, .cv *, .cv *::before, .cv *::after { animation: none !important; transition: none !important; } }
