/* v8 claimflow: the claim flow, reimagined (17 October 2026). Spec: ../../old/explore/visual/CLAIMS-SPEC.md inside VISUAL-SPEC.md
   (8.4 the flow shell, 25 the claim flow). Views: ../../prototype/app/v8-claimflow.js. Builds on base.css: the flow's top bar,
   the tokens, badges, buttons, fields, the insight's tag, the hero and status plate on the sent page.
   In-app rules start with #v8 #app (2 ids); !important only on font-size and font-weight (the older #app * weight rule) and
   where an older class is restyled. No font-size inside a media query: layout responds, type does not. */

/* ---------- The shell: base.css's one flow frame (harmonised 18 October 2026) ----------
   The bar and the page on the same 1176, centred; the question in 6 columns, the claim as a white sheet on the rounded gray stage
   in 5 (one empty column between), pinned under the bar while the sheet fits the window */
#v8 #app .v8-cf-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--v8-gutter); max-width: 1176px; margin: 0 auto; align-items: start; }
#v8 #app .v8-cf-col { grid-column: 1 / span 6; min-width: 0; }
#v8 #app .v8-cf-col > * { max-width: 640px; }
#v8 #app .v8-cf-col .v8-fbody { margin-top: var(--v8-6); }
#v8 #app .v8-cf-sheet { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-white); color: var(--v8-ink); }
@media (min-width: 1024px) {
  #v8 #app .v8-cf .v8-fpv.v8-cf-stage { grid-column: 8 / span 5; position: relative; top: auto; min-width: 0; padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
  #v8 #app .v8-cf .v8-fpv.v8-cf-stage:has(.v8-cf-pin) { position: sticky; top: 96px; }
  #v8 #app .v8-cf .v8-fpv-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #v8 #app .v8-cf .v8-cf-pvx { display: none; }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1024px) { @container app (max-width: 1279px) {
  #v8 #app .v8-cf-col { grid-column: 1 / span 7; }
  #v8 #app .v8-cf .v8-fpv.v8-cf-stage { grid-column: 8 / span 5; padding: var(--v8-4); }
} }
/* "Saved", for 2 seconds after a change, in the top bar */
#v8 #app .v8-cf-saved { color: var(--v8-ink-2); }
#v8 #app .v8-cf-saved[hidden] { display: none; }
@media (max-width: 639px) { #v8 #app .v8-cf-saved { display: none; } }

/* The foot: Back and Continue at the column's end, 48 above; on phones a white dock at the window's foot. Since 18 October 2026
   the claim's summary row is the answers bar under the top bar (end of this file); the .v8-cf-sum rules stay for dock()'s
   withSum, which no step uses now */
#v8 #app .v8-cf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--v8-4); }
#v8 #app .v8-cf-sum { display: none; }
@media (min-width: 1024px) {
  #v8 #app .v8-cf-dock { margin-top: var(--v8-8); }
}
@media (max-width: 1023px) {
  #v8 #app .v8-cf-g { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .v8-cf-col { grid-column: 1; padding-bottom: 112px; }
  #v8 #app .v8-cf-doorg .v8-cf-col { padding-bottom: 0; }
  #v8 #app .v8-cf-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding-bottom: env(safe-area-inset-bottom); background: var(--v8-white); border-top: 1px solid var(--v8-line); }
  #v8 #app .v8-cf-sum { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-4); min-height: 52px; padding: 4px var(--page-x); }
  #v8 #app .v8-cf-sum p { display: flex; flex-wrap: wrap; gap: 0 var(--v8-2); max-width: none; }
  #v8 #app .v8-cf-sum b { font-weight: 700 !important; }
  #v8 #app .v8-cf-sum span { color: var(--v8-ink-2); }
  #v8 #app .v8-cf-sum .v8-link { min-height: 44px; flex: none; }
  #v8 #app .v8-cf-foot { flex-wrap: nowrap; padding: 12px var(--page-x); }
  #v8 #app .v8-cf-sum + .v8-cf-foot { border-top: 1px solid var(--v8-line); }
  #v8 #app .v8-cf-foot > :last-child { flex: 1; }
  /* A long primary ("Continue the claim yourself") wraps inside its pill instead of running off a 320 screen; Back keeps its width */
  #v8 #app .v8-cf-foot > .v8-btn { min-width: 0; }
  #v8 #app .v8-cf-foot > .v8-btn:last-child { height: auto; min-height: 44px; padding-block: 10px; white-space: normal; text-align: center; }
  #v8 #app .v8-cf-foot > .v8-btn:not(:last-child) { flex: none; }
  /* The phone's sheet: the bottom sheet base.css draws, with the white claim sheet inside */
  #v8 #app .v8-cf .v8-fpv-h h2 { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; color: var(--v8-ink); }
  #v8 #app .v8-cf-sheet { margin: 0 var(--v8-4) var(--v8-5); padding: var(--v8-5); }
  /* The conversation's field sits in the dock, above "Your claim", always in view and never under anything */
  #v8 #app .v8-cf-dock-ask .v8-cf-ask-1 { margin: 12px var(--page-x) 4px; }
  #v8 #app .v8-cf-tellp .v8-cf-col { padding-bottom: 180px; }
  /* The "Prototype screens" pill never sits on the flow's content (VISUAL-SPEC 23): on a phone the claim flow has no tab bar
     to stand on, so it waits on the pages around the flow (Claims, Home) */
  #v8.v8-in-flow:has(.v8-cf) body .proto { display: none; }
}
@media (max-width: 399px) {
  #v8 #app .v8-cf-opts-2 { --c: 1; }
}

/* ---------- The claim sheet: the claim page in miniature, at real sizes (28, 20, 16, 12) ---------- */
#v8 #app .v8-cf-shead { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--v8-2) var(--v8-3); }
/* Before she has answered: one gray line on the gray stage, no empty sheet (review fr-claims, 18 October 2026) */
#v8 #app .v8-cf-sheet:has(> .v8-cf-empty) { padding: 0; background: transparent; }
#v8 #app .v8-cf-empty { margin: 0; color: var(--v8-ink-2); }
#v8 #app .v8-cf-stitle { font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; letter-spacing: -0.01em; font-weight: 700 !important; color: var(--v8-deep); text-wrap: balance; }
#v8 #app .v8-cf-stitle.v8-cf-none { color: var(--v8-ink-2); }
#v8 #app .v8-cf-swhat { margin-top: var(--v8-2); color: var(--v8-ink); }
#v8 #app .v8-cf-swhat .v8-badge { margin-left: var(--v8-1); }   /* on the line's baseline (README 192) */
/* The facts: one per row (value 20 ink, its label 16 gray under it), hairlines between; the badge or Change at the row's right */
#v8 #app .v8-cf-facts { display: grid; margin-top: var(--v8-5); border-top: 1px solid var(--v8-line); }
#v8 #app .v8-cf .v8-err-on :is(.v8-input, textarea.v8-input) { box-shadow: inset 0 0 0 2px var(--v8-red) !important; }
#v8 #app .v8-cf-fact { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-2) var(--v8-4); min-width: 0; padding: var(--v8-3) 0; border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-cf-fx { display: grid; gap: 2px; min-width: 0; }
#v8 #app .v8-cf-fact:last-child { border-bottom: 0; }
#v8 #app .v8-cf-fv { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 400 !important; color: var(--v8-ink); font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
#v8 #app .v8-cf-fv .v8-notyet { font-size: var(--v8-fs-20) !important; }
#v8 #app .v8-cf-fl { color: var(--v8-ink-2); }
#v8 #app .v8-cf-fb { display: flex; flex: none; align-items: center; gap: var(--v8-3); max-width: 100%; }
#v8 #app .v8-cf-chg { justify-self: start; min-height: 24px; }
#v8 #app .v8-cf-ans { margin-top: var(--v8-5); padding-top: var(--v8-4); border-top: 1px solid var(--v8-line); }
#v8 #app .v8-cf-ans-t { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; letter-spacing: -0.01em; color: var(--v8-ink); text-wrap: balance; }
#v8 #app .v8-cf-ans .v8-cl { margin-top: var(--v8-2); }
#v8 #app .v8-cf-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--v8-1) var(--v8-4); margin-top: var(--v8-5); padding-top: var(--v8-4); border-top: 1px solid var(--v8-line); }
#v8 #app .v8-cf-row > span { color: var(--v8-ink-2); }
#v8 #app .v8-cf-row > b { font-weight: 400 !important; color: var(--v8-ink); text-align: right; font-variant-numeric: tabular-nums; }
#v8 #app .v8-cf-row > b .v8-badge { margin-left: var(--v8-2); }
#v8 #app .v8-cf-rowl { margin-top: var(--v8-2); }
/* The deductible: the figure (20) with "your deductible" under it, as the sheet's facts (round G review) */
#v8 #app .v8-cf-row.v8-cf-rowf { display: grid; justify-items: start; justify-content: start; gap: 2px; }
/* The phone drawer: the page behind it doesn't scroll */
html.v8-cf-lock, html.v8-cf-lock body { overflow: hidden; }
#v8 #app .v8-cf-pay > b { flex: 1 1 200px; }
/* The estimate: the one dark green insight, with the leaf corner (96 on the sheet) */
#v8 #app .v8-cf-ins { margin-top: var(--v8-5); padding: var(--v8-5); border-radius: var(--v8-r) 96px var(--v8-r) var(--v8-r); background: var(--v8-deep); color: var(--v8-white); }
#v8 #app .v8-cf-ins :is(h3, h4) { max-width: 22ch; font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; letter-spacing: -0.01em; font-weight: 700 !important; color: var(--v8-white); text-wrap: balance; }
#v8 #app .v8-cf-ins .v8-tag { margin-top: var(--v8-3); }
#v8 #app .v8-cf-ins-plate { margin-top: var(--v8-5); padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-white); color: var(--v8-ink); }
#v8 #app .v8-cf-ins > p { margin-top: var(--v8-4); color: var(--v8-hover); }
#v8 #app .v8-cf-ins .v8-sum li { grid-template-columns: 96px minmax(0, 1fr); gap: var(--v8-3); }
/* The notes are V8.info now (the integrator, 18 October 2026): blue for information, attention for the below-deductible estimate */
#v8 #app .v8-cf-note { margin-top: var(--v8-5); }
#v8 #app .v8-form > .v8-cf-note, #v8 #app .v8-form > .v8-cf-calm { margin-top: 0 !important; }
/* What we still need, and the attachments, as the claim page lists them */
#v8 #app .v8-cf-sblock { margin-top: var(--v8-6); }
#v8 #app .v8-cf-sh { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; letter-spacing: -0.01em; font-weight: 700 !important; color: var(--v8-ink); }
#v8 #app .v8-cf-sblock > .v8-cl { margin-top: var(--v8-3); }
#v8 #app .v8-cf-need { margin-top: var(--v8-3); }
#v8 #app .v8-cf-need li { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-4); padding: var(--v8-3) 0; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-cf-need li:first-child { border-top: 0; padding-top: 0; }
#v8 #app .v8-cf-atts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--v8-2); margin-top: var(--v8-3); }
#v8 #app .v8-cf-atts li { display: grid; align-content: start; gap: var(--v8-2); min-width: 0; padding: var(--v8-2); border-radius: var(--v8-r-sm); background: var(--v8-gray); }
#v8 #app .v8-cf-att-v { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--v8-r-sm); background: var(--v8-white); }
#v8 #app .v8-cf-att-v img { width: 100%; height: 100%; object-fit: cover; }
#v8 #app .v8-cf-att-doc { box-shadow: inset 0 0 0 1px var(--v8-line); color: var(--v8-green); }
#v8 #app .v8-cf-att-doc svg.i, #v8 #app .v8-cf-thdoc svg.i { width: 24px; height: 24px; color: var(--v8-green); }
#v8 #app .v8-cf-att-n { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; color: var(--v8-ink); }
/* The full page on Check and send: the same parts, at the claim page's size */
#v8 #app .v8-cf-page .v8-cf-ins { padding: var(--v8-6); border-top-right-radius: var(--v8-leaf); }
#v8 #app .v8-cf-page .v8-cf-atts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#v8 #app .v8-cf-dl { margin-top: var(--v8-3); }
#v8 #app .v8-cf-dl > div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: var(--v8-4); padding: var(--v8-4) 0; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-cf-dl > div:first-child { border-top: 0; padding-top: var(--v8-2); }
#v8 #app .v8-cf-dl dt { color: var(--v8-ink-2); }
#v8 #app .v8-cf-dl dd { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--v8-4); min-width: 0; color: var(--v8-ink); }
#v8 #app .v8-cf-dl dd > span { min-width: 0; overflow-wrap: break-word; }
/* Where a value was read from (a photo, a report): the green check and the words, under the value */
#v8 #app .v8-cf-src { display: flex; align-items: center; gap: 6px; margin-top: var(--v8-1); color: var(--v8-ink-2); }
#v8 #app .v8-cf-src svg.i { flex: none; width: 20px; height: 20px; color: var(--v8-green); }
#v8 #app .v8-cf-dl .v8-cf-chg { flex: none; }
#v8 #app .v8-cf-fresh, #v8 #app .v8-cf-sheet .v8-fresh { border-radius: var(--v8-r-sm); }

/* ---------- Screen 1: What happened? The one flow frame on white: the ask field beside the claim's sheet, then the eight kinds ---------- */
#v8 #app .v8-cf-in { max-width: 1176px; margin: 0 auto; }
#v8 #app .v8-cf-doorg .v8-fine { margin-top: var(--v8-4); }
/* The draft she hasn't sent: the first thing after the top bar */
#v8 #app .v8-cf-draft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--v8-4) var(--v8-6); margin-bottom: var(--v8-8); padding: var(--v8-5) var(--v8-6); border-radius: var(--v8-r); background: var(--v8-white); }
#v8 #app .v8-cf-draft .v8-cl { margin-top: var(--v8-2); }
#v8 #app .v8-cf-draft .v8-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--v8-5); }
/* The assistant's field: a textarea in the rainbow ring, Add a photo and the round send in its foot */
#v8 #app .v8-cf-ask { position: relative; display: block; margin-top: 0; padding: var(--v8-4) var(--v8-4) var(--v8-2) 52px; border: 3px solid transparent; border-radius: var(--v8-r); background-color: transparent; background-image: linear-gradient(#fff, #fff), var(--v8-ring); background-clip: padding-box, border-box; background-origin: border-box; }
#v8 #app .v8-cf-ask:hover, #v8 #app .v8-cf-ask:focus-within { animation: ai-turn 3s linear infinite; }
#v8 #app .v8-cf-ask:focus-within { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .v8-cf-ask-sp { position: absolute; left: 18px; top: 16px; font-size: var(--v8-fs-20) !important; line-height: 24px !important; }
#v8 #app .v8-cf-ask textarea { display: block; width: 100%; min-height: 72px; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: none !important; background: transparent !important; color: var(--v8-ink); font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; resize: none; }
#v8 #app .v8-cf-ask textarea::placeholder { color: var(--v8-ink-2); opacity: 1; }
#v8 #app .v8-cf-ask-f { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-4); margin-top: var(--v8-2); }
#v8 #app .v8-cf-photo { min-height: 44px; }
#v8 #app .v8-cf-photo svg.i { width: 20px; height: 20px; }
#v8 #app .v8-cf-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--v8-green); color: var(--v8-white); cursor: pointer; transition: background-color .16s ease-out; }
#v8 #app .v8-cf-send svg.i { width: 20px; height: 20px; color: var(--v8-white); }
@media (hover: hover) { #v8 #app .v8-cf-send:hover { background: var(--v8-deep); } }
#v8 #app .v8-cf-iconb { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--v8-ink); cursor: pointer; }
@media (hover: hover) { #v8 #app .v8-cf-iconb:hover { background: var(--v8-hover); } }
#v8 #app .v8-cf-iconb svg.i { width: 24px; height: 24px; }
/* The white part: Or choose what happened, the kind cards, the urgent strip */
#v8 #app .v8-cf-in.v8-cf-white { padding: var(--v8-10) 0 0; }
#v8 #app .v8-cf-white .v8-line { margin-top: var(--v8-3); }
#v8 #app .v8-cf-kinds { margin: var(--v8-5) 0 0; padding: 0; border: 0; min-width: 0; }
#v8 #app .v8-cf-kg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--v8-cards); }
#v8 #app .v8-cf-kind { position: relative; display: flex; flex-direction: column; min-height: 264px; padding: var(--v8-5); color: var(--v8-ink); cursor: pointer; overflow-wrap: break-word; }
#v8 #app .v8-cf-kart { display: block; flex: none; width: 64px; height: 64px; }
#v8 #app .v8-cf-kart :is(img, svg) { display: block; width: 64px !important; height: 64px !important; }
/* A kind without its Fennia illustration yet (water, theft, fire): its Fennia icon at 40 in green on a 64 white disc, which reads
   on the gray card as the illustrations do */
#v8 #app .v8-cf-kdisc { display: grid; place-items: center; border-radius: 50%; background: var(--v8-white); }
#v8 #app .v8-cf-kdisc svg.i { width: 40px !important; height: 40px !important; color: var(--v8-green); }
/* The radio at the card's top right: what says "choose one" at rest, on touch too. Its look and every state of the card are
   base.css 22's (the integrator, 18 October 2026); here only its place */
#v8 #app .v8-cf-radio { position: absolute; top: 20px; right: 20px; }
#v8 #app .v8-cf-kt { display: grid; gap: var(--v8-2); margin-top: var(--v8-6); }
#v8 #app .v8-cf-kf { margin-top: auto; padding-top: var(--v8-5); color: var(--v8-ink); }
#v8 #app .v8-cf-gap, #v8 #app .v8-cf-more { margin-top: var(--v8-5) !important; }
/* One copy of Need urgent help? at a time: under the ask field on phones and tablets, at the foot from 1024 */
#v8 #app .v8-cf-urgent-m { margin-top: var(--v8-6) !important; }
@media (min-width: 1024px) { #v8 #app .v8-cf-urgent-m { display: none; } }
@media (max-width: 1023px) { #v8 #app .v8-cf-urgent-d { display: none; } }
#v8 #app .v8-cf-urgent { margin-top: var(--v8-10); padding: var(--v8-6); border-radius: var(--v8-r); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app .v8-cf-urgent ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--v8-5); margin-top: var(--v8-5); }
#v8 #app .v8-cf-urgent li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--v8-4); row-gap: var(--v8-1); align-content: start; }
#v8 #app .v8-cf-uic { grid-row: 1 / span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--v8-mint); }
#v8 #app .v8-cf-uic svg.i { width: 24px; height: 24px; color: var(--v8-green); }
#v8 #app .v8-cf-ut { display: grid; }
#v8 #app .v8-cf-ut b { font-weight: 700 !important; }
#v8 #app .v8-cf-ut > span { color: var(--v8-ink-2); }
#v8 #app .v8-cf-urgent li > .v8-cf-tel { grid-column: 2; justify-self: start; min-height: 44px; font-variant-numeric: tabular-nums; }
@media (max-width: 1279px) { #v8 #app .v8-cf-kg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { #v8 #app .v8-cf-kg { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 1023px) {
  #v8 #app .v8-cf-in.v8-cf-white { padding: var(--v8-9) 0 0; }
  #v8 #app .v8-cf-kg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #v8 #app .v8-cf-urgent ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  #v8 #app .v8-cf-kg { grid-template-columns: minmax(0, 1fr); gap: var(--v8-3); }
  #v8 #app .v8-cf-kind { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--v8-4); min-height: 0; padding: var(--v8-4) 56px var(--v8-4) var(--v8-5); }
  #v8 #app .v8-cf-radio { top: 16px; right: 16px; }
  #v8 #app .v8-cf-kart, #v8 #app .v8-cf-kart :is(img, svg) { width: 48px !important; height: 48px !important; }
  #v8 #app .v8-cf-kdisc svg.i { width: 32px !important; height: 32px !important; }
  #v8 #app .v8-cf-kart { grid-row: 1 / span 2; }
  #v8 #app .v8-cf-kt { grid-column: 2; margin: 0; padding: 0; }
  #v8 #app .v8-cf-kf { grid-column: 2; margin-top: 0; padding-top: var(--v8-2); }
  #v8 #app .v8-cf-urgent { padding: var(--v8-5); }
  #v8 #app .v8-cf-draft { padding: var(--v8-5); }
  #v8 #app .v8-cf-draft .v8-acts .v8-btn { width: 100%; }
  #v8 #app .v8-cf-ask { padding-left: 44px; }
  #v8 #app .v8-cf-ask-sp { left: 14px; }
}

/* ---------- Screen 2: Tell us. Her words on mint at the right, the assistant's on gray at the left ---------- */
#v8 #app .v8-cf-log { display: grid; gap: var(--v8-4); }
#v8 #app .v8-cf-log > li { display: grid; max-width: 560px; }
#v8 #app .v8-cf-log > li > p:not(.v8-cf-who) { padding: 12px 16px; border-radius: var(--v8-r); }
#v8 #app .v8-cf-me { justify-self: end; justify-items: end; margin-left: 48px; }
#v8 #app .v8-cf-me > p { border-bottom-right-radius: var(--v8-r-tag) !important; background: var(--v8-mint); color: var(--v8-ink); }
#v8 #app .v8-cf-ai { justify-self: start; margin-right: 32px; }
#v8 #app .v8-cf-ai > p:not(.v8-cf-who) { border-bottom-left-radius: var(--v8-r-tag) !important; background: var(--v8-gray); color: var(--v8-ink); }
#v8 #app .v8-cf-who { display: flex; align-items: center; gap: 8px; margin-bottom: var(--v8-2); color: var(--v8-ink-2); }
#v8 #app .v8-cf-who .v8-sp { font-size: var(--v8-fs-16) !important; }
#v8 #app .v8-cf-mphoto img { display: block; width: 160px; height: 160px; border-radius: var(--v8-r); border-bottom-right-radius: var(--v8-r-tag); object-fit: cover; }
#v8 #app .v8-cf-pills { display: flex; flex-wrap: wrap; gap: var(--v8-2); margin-top: var(--v8-3); }
#v8 #app .v8-cf-pills button { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--v8-r-pill); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-green); color: var(--v8-green-t); font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; text-align: left; cursor: pointer; transition: background-color .16s ease-out; }
@media (hover: hover) { #v8 #app .v8-cf-pills button:hover { background: var(--v8-hover); } }
#v8 #app .v8-cf-dots { display: flex; gap: 6px; padding: 18px 16px !important; }
#v8 #app .v8-cf-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--v8-ink-2); animation: v8-cf-dot 1s ease-in-out infinite; }
#v8 #app .v8-cf-dots i:nth-child(2) { animation-delay: .15s; } #v8 #app .v8-cf-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes v8-cf-dot { 50% { opacity: .3; } }
/* The conversation's field: one line in the rainbow ring, growing to about five lines as she writes (then it scrolls). It sits
   in the dock: pinned to the column's foot on a desktop, above "Your claim" on a phone, so it's always in view */
#v8 #app .v8-cf-ask-1 { display: flex; align-items: flex-end; gap: var(--v8-2); margin: 0; padding: 6px 6px 6px 48px; border-radius: 28px; }
#v8 #app .v8-cf-ask-1 .v8-cf-ask-sp { top: 16px; transform: none; }
#v8 #app .v8-cf-ask-1 textarea { flex: 1; min-height: 44px; height: 44px; max-height: 140px; padding: 10px 0 !important; box-sizing: border-box; overflow-y: hidden; }
#v8 #app .v8-cf-ask-1.v8-cf-tall { border-radius: 24px; }
#v8 #app .v8-cf-ask-1 .v8-cf-ask-f { margin: 0; gap: 4px; }
#v8 #app .v8-cf-dock-ask { display: block; }
@media (min-width: 1024px) {
  #v8 #app .v8-cf-dock.v8-cf-dock-ask { position: sticky; bottom: 0; z-index: 5; margin-top: var(--v8-6); padding: var(--v8-4) 0 var(--v8-5); background: var(--v8-white); box-shadow: 0 -16px 16px -16px rgba(255, 255, 255, 1); }
}
/* The date the assistant asks for, inline under its question */
#v8 #app .v8-cf-dform { display: flex; flex-wrap: wrap; align-items: center; gap: var(--v8-2); margin-top: var(--v8-3); }
#v8 #app .v8-cf-dform .v8-input { width: auto; min-width: 200px; max-width: 100%; }
/* What she sent: the file, as a chip on mint (her side), its name in full */
#v8 #app .v8-cf-mfile { display: inline-flex; align-items: center; gap: var(--v8-3); max-width: 320px; padding: 8px 16px 8px 8px; border-radius: var(--v8-r); border-bottom-right-radius: var(--v8-r-tag); background: var(--v8-mint); color: var(--v8-ink); }
#v8 #app .v8-cf-mfile-i { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--v8-r-sm); background: var(--v8-white); }
#v8 #app .v8-cf-mfile-i svg.i { width: 24px; height: 24px; color: var(--v8-green); }
#v8 #app .v8-cf-mfile-n { min-width: 0; overflow-wrap: break-word; }
#v8 #app .v8-cf-alt { margin-top: var(--v8-4); }
#v8 #app .v8-cf-fineai { margin-top: var(--v8-2); }

/* ---------- Screen 3: First things. Fennia's steps on a mint help panel, numbers in green discs ---------- */
#v8 #app .v8-cf-steps { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-mint); }
#v8 #app .v8-cf-steps ol { display: grid; gap: var(--v8-5); margin-top: var(--v8-6); }
#v8 #app .v8-cf-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--v8-4); }
#v8 #app .v8-cf-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--v8-green); color: var(--v8-white); font-weight: 700 !important; font-variant-numeric: tabular-nums; }
#v8 #app .v8-cf-steps li > span:last-child { display: grid; gap: var(--v8-1); padding-top: 4px; }
#v8 #app .v8-cf-steps li b { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; letter-spacing: -0.01em; font-weight: 700 !important; }
#v8 #app .v8-cf-steps li b + span { color: var(--v8-ink); }
#v8 #app .v8-cf-steps .v8-link { display: inline; min-height: 0; }
#v8 #app .v8-cf-steps .v8-link svg.i { width: 16px; height: 16px; vertical-align: -2px; margin-left: 2px; }
/* The injury variant: the nurse first, and what to show at the clinic */
#v8 #app .v8-cf-nurse { display: grid; gap: var(--v8-4); }
#v8 #app .v8-cf-nc { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-cf-nc .v8-cn { margin-top: var(--v8-6); }
#v8 #app .v8-cf-nc p { margin-top: var(--v8-2); }
#v8 #app .v8-cf-nc .v8-acts { display: flex; flex-wrap: wrap; gap: var(--v8-4); margin-top: var(--v8-5); }
#v8 #app .v8-cf-clinic { padding: var(--v8-6); border-radius: var(--v8-r); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app .v8-cf-clinic ul { margin-top: var(--v8-4); }
#v8 #app .v8-cf-clinic li { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-4); padding: var(--v8-3) 0; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-cf-clinic li > span { display: grid; }
#v8 #app .v8-cf-clinic li b { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 400 !important; }
#v8 #app .v8-cf-clinic li b + span { color: var(--v8-ink-2); }
#v8 #app .v8-cf-p { margin-top: var(--v8-5); }

/* ---------- Screen 4: The details. Sections, labels above fields, two-option answers as large choice cards ---------- */
#v8 #app .v8-cf-sec + .v8-cf-sec { margin-top: var(--v8-8); }
#v8 #app .v8-cf-sec > .v8-form { margin-top: var(--v8-5); }
#v8 #app .v8-cf-q { min-width: 0; margin: 0; padding: 0; border: 0; }
#v8 #app .v8-cf-q > .v8-label { margin-bottom: var(--v8-2); }
#v8 #app .v8-cf-q > .v8-hint { margin-bottom: var(--v8-2); }
#v8 #app .v8-hint { color: var(--v8-ink-2); }
#v8 #app .v8-cf-opts { display: grid; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); gap: var(--v8-3); margin-top: var(--v8-2); }
#v8 #app .v8-cf-opts-1 { --c: 1; } #v8 #app .v8-cf-opts-3 { --c: 3; }
#v8 #app .v8-cf-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--v8-3); min-height: 56px; padding: 12px 56px 12px 20px; color: var(--v8-ink); cursor: pointer; }
#v8 #app .v8-cf-opt-t { display: grid; gap: 2px; min-width: 0; }
#v8 #app .v8-cf-opt-t > span { color: var(--v8-ink-2); }
/* The control at rest, so a choice looks like a choice before anything is picked: a radio or a checkbox, 24. Its look and the
   row's states (rest, hover, chosen, focus, error) are base.css 22's (the integrator, 18 October 2026); base.css also puts it at
   the row's left, as Fennia's option row does. Here only its place and the hidden check until chosen */
#v8 #app .v8-cf-opt-ck { position: absolute; top: 50%; right: 16px; display: grid; place-items: center; margin-top: -12px; }
#v8 #app .v8-cf-opt-ck svg.i { display: none; width: 16px; height: 16px; color: var(--v8-white); }
#v8 #app .v8-cf-q .v8-err { margin-top: var(--v8-2); }
#v8 #app .v8-cf-chips { display: flex; flex-wrap: wrap; gap: var(--v8-2); }
/* The day and time choices are Fennia's horizontal radio rows, drawn with their states by base.css 22 */
#v8 #app .v8-cf-chip { border: 0; font: inherit; font-size: var(--v8-fs-16) !important; cursor: pointer; }
#v8 #app .v8-cf-date .v8-cf-chips { margin: var(--v8-1) 0 var(--v8-2); }
#v8 #app .v8-cf-dfield { max-width: 280px; }
#v8 #app .v8-cf-words { color: var(--v8-ink-2); }
#v8 #app .v8-cf-words:empty { display: none; }
#v8 #app .v8-cf-words .v8-badge { margin-left: var(--v8-2); }
#v8 #app .v8-cf-year { max-width: 160px; }
#v8 #app .v8-cf-fw > .v8-check { margin-top: var(--v8-2); }
#v8 #app .v8-cf-aib { margin-top: var(--v8-2); }
#v8 #app .v8-cf-calm { color: var(--v8-ink); }
#v8 #app .v8-cf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--v8-4); margin-top: var(--v8-2); }
#v8 #app .v8-cf-two > .v8-field + .v8-field { margin-top: 0; }
#v8 #app .v8-cf-items ol { display: grid; gap: var(--v8-3); margin: var(--v8-2) 0 var(--v8-4); }
#v8 #app .v8-cf-items li { padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-cf-items .v8-input { background: var(--v8-white) !important; }
#v8 #app .v8-cf-itn { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-4); font-weight: 700 !important; }
#v8 #app .v8-cf-itn .v8-link { font-weight: 400 !important; }
#v8 #app .v8-btn svg.i { width: 20px; height: 20px; }
/* The error summary: a white card with a red edge all round, the messages as links to their fields */
#v8 #app .v8-cf-errsum { margin-bottom: var(--v8-7); padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-white); box-shadow: inset 0 0 0 2px var(--v8-red); }
#v8 #app .v8-cf-errsum:focus { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .v8-cf-errsum ul { display: grid; gap: var(--v8-2); margin-top: var(--v8-3); }
#v8 #app .v8-cf-errsum .v8-link { color: var(--v8-red) !important; text-decoration-color: currentColor; }

/* ---------- Screen 5: Photos and documents. A checklist: each row its reason, its badge and its own Add ---------- */
#v8 #app .v8-cf-sec > .v8-cf-docs { margin-top: var(--v8-5); }
#v8 #app .v8-cf-docs { display: grid; gap: var(--v8-3); }
#v8 #app .v8-cf-doc { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: var(--v8-4) var(--v8-4); align-items: start; padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-cf-dic svg.i { width: 32px; height: 32px; color: var(--v8-green); }
#v8 #app .v8-cf-dtx { min-width: 0; }
#v8 #app .v8-cf-dtx .v8-cl { margin-top: var(--v8-2); }
#v8 #app .v8-cf-dr { display: flex; flex-direction: column; align-items: flex-end; gap: var(--v8-3); }
#v8 #app .v8-cf-dr .v8-btn { white-space: nowrap; }
#v8 #app .v8-cf-add .v8-btn { cursor: pointer; }
#v8 #app .v8-cf-dr > .v8-cf-add { margin-left: auto; }
#v8 #app .v8-cf-add:has(input:focus-visible) .v8-btn { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .v8-cf-read { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--v8-2); margin-top: var(--v8-3); color: var(--v8-ink); }
#v8 #app .v8-cf-read svg.i { width: 20px; height: 20px; color: var(--v8-green); }
#v8 #app .v8-cf-unread { color: var(--v8-ink-2); }
#v8 #app .v8-cf-ths { display: flex; flex-wrap: wrap; gap: var(--v8-4); margin-top: var(--v8-4); }
#v8 #app .v8-cf-th { position: relative; display: grid; align-content: start; gap: 4px; width: 120px; }
#v8 #app .v8-cf-thv { position: relative; display: grid; place-items: center; width: 96px; height: 96px; overflow: hidden; border-radius: var(--v8-r-sm); background: var(--v8-white); }
#v8 #app .v8-cf-thv img { width: 100%; height: 100%; object-fit: cover; }
#v8 #app .v8-cf-thdoc { box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app .v8-cf-thn { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; margin-top: 4px; }
#v8 #app .v8-cf-thm { display: flex; align-items: center; gap: 4px; color: var(--v8-ink-2); }
#v8 #app .v8-cf-th-fail .v8-cf-thm { color: var(--v8-ink); }
#v8 #app .v8-cf-thm svg.i { width: 20px; height: 20px; color: var(--v8-red); }
#v8 #app .v8-cf-th-up .v8-cf-thv img, #v8 #app .v8-cf-th-read .v8-cf-thv img { opacity: .6; }
#v8 #app .v8-cf-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--v8-line); }
#v8 #app .v8-cf-bar i { display: block; height: 100%; background: var(--v8-green); transform-origin: left; animation: v8-cf-up 1s ease-out both; }
@keyframes v8-cf-up { from { transform: scaleX(.05); } to { transform: scaleX(1); } }
#v8 #app .v8-cf-th .v8-link { justify-self: start; }
#v8 #app .v8-ib.v8-cf-rm { position: absolute; top: -12px; left: 72px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--v8-ink); cursor: pointer; }
#v8 #app .v8-ib.v8-cf-rm::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); transition: background-color .16s ease-out; }
@media (hover: hover) { #v8 #app .v8-ib.v8-cf-rm:hover::before { background: var(--v8-hover); } }
#v8 #app .v8-ib.v8-cf-rm svg.i { position: relative; width: 18px; height: 18px; }
#v8 #app .v8-cf-link { margin-top: var(--v8-7); padding: var(--v8-6); border-radius: var(--v8-r); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app .v8-cf-link .v8-cl { margin-top: var(--v8-2); }
#v8 #app .v8-cf-link .v8-acts { margin-top: var(--v8-5); }
#v8 #app .v8-cf-dropv { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; background: rgba(230, 250, 231, .94); box-shadow: inset 0 0 0 4px var(--v8-green); pointer-events: none; }
#v8 #app .v8-cf-dropv p { display: flex; align-items: center; gap: var(--v8-3); color: var(--v8-deep); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
#v8 #app .v8-cf-dropv svg.i { width: 32px; height: 32px; color: var(--v8-green); }
#v8 #app .v8-cf-drag .v8-cf-dropv { display: grid; }
#v8 .v8-cf-mlist { display: grid; gap: var(--v8-2); margin: 0 0 var(--v8-4); padding-left: 0; list-style: none; }
#v8 .v8-cf-mlist li { padding: var(--v8-3) var(--v8-4); border-radius: var(--v8-r-sm); background: var(--v8-gray); font-weight: 700 !important; }
@media (max-width: 639px) {
  #v8 #app .v8-cf-doc { grid-template-columns: 32px minmax(0, 1fr); padding: var(--v8-4) var(--v8-4) var(--v8-5); }
  #v8 #app .v8-cf-dr { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  #v8 #app .v8-cf-two { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .v8-cf-opts-3 { --c: 1; }
}

/* ---------- Screen 6: Check and send. The claim page drafted on the gray stage, Ready to send? beside it ---------- */
/* The title and its line span the top; the drafted page and Ready to send? start on one line under them */
#v8 #app .v8-cf-rg { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--v8-gutter); align-items: start; max-width: 1176px; margin: 0 auto; }
#v8 #app .v8-cf-rhead { grid-column: 1 / span 8; min-width: 0; }
#v8 #app .v8-cf-rhead > .v8-fline { margin-top: var(--v8-4); }
#v8 #app .v8-cf-rmain { grid-column: 1 / span 8; min-width: 0; margin-top: var(--v8-6); }
#v8 #app .v8-cf-rstage { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-cf-page { padding: var(--v8-8); border-radius: var(--v8-r); background: var(--v8-white); color: var(--v8-ink); }
#v8 #app .v8-cf-raside { grid-column: 9 / span 4; grid-row: 2; position: sticky; top: 104px; min-width: 0; margin-top: var(--v8-6); }
#v8 #app .v8-cf-send-c { padding: var(--v8-6); border-radius: var(--v8-r); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app .v8-cf-send-c > p { margin-top: var(--v8-3); }
#v8 #app .v8-cf-send-c > p:first-of-type { color: var(--v8-ink); }
#v8 #app .v8-cf-send-b { margin-top: var(--v8-5); }
#v8 #app .v8-cf-send-b .v8-btn { width: 100%; }
#v8 #app .v8-btn[aria-disabled="true"]:not(.v8-unbuilt) { cursor: progress; background: var(--v8-deep); }   /* the sending state only; a button into a flow not built yet keeps its own look (README 145) */
#v8 #app .v8-cf-rback { margin-top: var(--v8-4); }
#v8 #app .v8-cf-rdock { display: none; }
#v8 #app .v8-cf-fail { margin-bottom: var(--v8-6); padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-white); box-shadow: inset 0 0 0 2px var(--v8-red); }
#v8 #app .v8-cf-fail p { margin-top: var(--v8-2); }
#v8 #app .v8-cf-fail-a { margin-top: var(--v8-4); }
@media (max-width: 1279px) {
  #v8 #app .v8-cf-rmain, #v8 #app .v8-cf-rhead { grid-column: 1 / span 7; }
  #v8 #app .v8-cf-raside { grid-column: 8 / span 5; }
  #v8 #app .v8-cf-page { padding: var(--v8-6); }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) {
  #v8 #app .v8-cf-rmain, #v8 #app .v8-cf-rhead { grid-column: 1 / span 7; }
  #v8 #app .v8-cf-raside { grid-column: 8 / span 5; }
  #v8 #app .v8-cf-page { padding: var(--v8-6); }}
@media (max-width: 1023px) {
  #v8 #app .v8-cf-rg { grid-template-columns: minmax(0, 1fr); padding-bottom: 168px; }
  #v8 #app .v8-cf-rmain, #v8 #app .v8-cf-raside, #v8 #app .v8-cf-rhead { grid-column: 1; }
  #v8 #app .v8-cf-raside { grid-row: auto; position: static; margin-top: var(--v8-6); }
  #v8 #app .v8-cf-rstage { margin-left: calc(-1 * var(--page-x)); margin-right: calc(-1 * var(--page-x)); padding: var(--v8-4); border-radius: 0; }
  #v8 #app .v8-cf-page { padding: var(--v8-5); }
  #v8 #app .v8-cf-page .v8-cf-atts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #v8 #app .v8-cf-page .v8-cf-ins { border-top-right-radius: 96px; padding: var(--v8-5); }
  #v8 #app .v8-cf-dl > div { grid-template-columns: minmax(0, 1fr); gap: var(--v8-1); }
}
@media (max-width: 479px) {
  #v8 #app .v8-cf-row > b { flex-basis: 100%; text-align: left; }
  #v8 #app .v8-cf-ins { padding: var(--v8-5) var(--v8-4); }
  #v8 #app .v8-cf-ins-plate { padding: var(--v8-4); }
  #v8 #app .v8-cf-ins .v8-sum li { grid-template-columns: 80px minmax(0, 1fr); }
  #v8 #app .v8-cf-fact { flex-wrap: wrap; }
  #v8 #app .v8-cf-atts, #v8 #app .v8-cf-page .v8-cf-atts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Screen 7: the claim's own page, as it arrives ---------- */
#v8 #app .v8-cf-sent .v8-status-t { display: flex; align-items: flex-start; gap: var(--v8-3); }
#v8 #app .v8-cf-ok { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin-top: -4px; border-radius: 50%; background: var(--v8-green); }
#v8 #app .v8-cf-ok svg { width: 20px; height: 20px; fill: none; stroke: var(--v8-white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; animation: v8-cf-draw .48s ease-out .2s both; }
@keyframes v8-cf-draw { from { stroke-dashoffset: 24; } }
#v8 #app .v8-cf-cno { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-3); margin-top: var(--v8-4); padding: var(--v8-2) 0 var(--v8-2) var(--v8-4); border-radius: var(--v8-r-sm); background: var(--v8-gray); }
#v8 #app .v8-cf-cno b { font-weight: 400 !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
#v8 #app .v8-cf-sent .v8-cf-add { display: inline-block; }

/* ---------- Motion: values arrive (fade and rise, a mint wash); nothing else moves. Off with reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  #v8 #app .v8-cf-ask, #v8 #app .v8-cf-dots i, #v8 #app .v8-cf-ok svg, #v8 #app .v8-cf-bar i { animation: none !important; }
}
#v8[data-motion="off"] #app :is(.v8-cf-ask, .v8-cf-dots i, .v8-cf-ok svg, .v8-cf-bar i) { animation: none !important; }

/* ---------- Your answers on a phone (reference study, plan item 18, 18 October 2026) ----------
   Under 1024 the claim sheet opens from the flow bar: an answers bar under the top bar (sticky with it: the file icon, "Your
   answers" Bold with what's still needed beside it, a chevron), and a drawer that drops from the top over the step (white sheet
   on the gray stage, the head "Your answers" with its X, Change at each section's right, "Back to ..." pinned at its foot). It
   replaces the dock's old summary row, so the foot holds only Back and Continue. From 1024 the sheet stands beside the questions
   as before, with no Change links (Check and send has them) */
#v8 #app .v8-cf-abar, #v8 #app .v8-cf-pvf { display: none; }
@media (min-width: 1024px) { #v8 #app .v8-cf-chg-e { display: none !important; } }
@media (max-width: 1023px) {
  #v8 #app .v8-cf-abar { position: sticky; top: 64px; z-index: 29; display: block; padding: 4px var(--page-x) 0; background: var(--v8-white); border-bottom: 1px solid var(--v8-line); }
  #v8 #app .v8-cf-ab { display: flex; align-items: center; gap: var(--v8-3); width: 100%; min-height: 52px; padding: 0; border: 0; background: none; color: var(--v8-ink); font: inherit; text-align: left; cursor: pointer; }
  #v8 #app .v8-cf-ab:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; border-radius: var(--v8-r-sm); box-shadow: var(--v8-focus-glow) !important; }
  #v8 #app .v8-cf-abi, #v8 #app .v8-cf-abc { display: grid; place-items: center; flex: none; width: 24px; height: 24px; }
  #v8 #app .v8-cf-abi svg.i { width: 24px; height: 24px; color: var(--v8-green); }
  #v8 #app .v8-cf-abc svg.i { width: 20px; height: 20px; color: var(--v8-ink); transition: transform .2s var(--v8-ease); }
  #v8 #app .v8-cf-ab[aria-expanded="true"] .v8-cf-abc svg.i { transform: rotate(180deg); }
  #v8 #app .v8-cf-abt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--v8-2); flex: 1; min-width: 0; }
  #v8 #app .v8-cf-abt b { font-weight: 700 !important; }
  #v8 #app .v8-cf-abt span { color: var(--v8-ink-2); }
  /* The drawer: from the top, down to 56 above the window's foot so the page shows it is a layer over the step */
  #v8 #app .v8-cf .v8-fpv { inset: 0 0 auto 0; max-height: calc(100dvh - 56px); border-radius: 0 0 var(--v8-r) var(--v8-r); transform: translateY(-105%); }
  #v8 #app .v8-cf.v8-sheet-on .v8-fpv { transform: none; }
  #v8 #app .v8-cf .v8-fpv-h { min-height: 64px; padding: 4px var(--v8-2) 4px var(--page-x); }
  #v8 #app .v8-cf .v8-cf-sheet { margin: 0 var(--v8-4) var(--v8-4); }
  #v8 #app .v8-cf-pvf { position: sticky; bottom: 0; display: block; padding: 12px var(--v8-4) calc(12px + env(safe-area-inset-bottom)); background: var(--v8-gray); }
  #v8 #app .v8-cf-pvf .v8-btn { width: 100%; }
  /* Change at the right of a fact, of what happened, and of the documents' first block */
  #v8 #app .v8-cf-swhat-e { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--v8-4); }
  #v8 #app .v8-cf-shr { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-4); }
  #v8 #app .v8-cf-chg-e { flex: none; display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
  /* A fact with its Change keeps both on one row: a long label wraps under its value, Change stays at the right of the value */
  #v8 #app .v8-cf-fact:has(.v8-cf-chg-e) { flex-wrap: nowrap; align-items: flex-start; }
  #v8 #app .v8-cf-fact:has(.v8-cf-chg-e) .v8-cf-fb { margin-top: 2px; }
  /* The status ("From your words", the mark and its 16 word since README 192) goes under the value and its label, so it never squeezes
     the value: the fact is a grid, the value and Change on its first row, the status under the value */
  #v8 #app .v8-cf-fact:has(.v8-cf-chg-e) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--v8-2) var(--v8-4); }
  #v8 #app .v8-cf-fact:has(.v8-cf-chg-e) .v8-cf-fb { display: contents; }
  #v8 #app .v8-cf-fact:has(.v8-cf-chg-e) .v8-cf-fx { grid-column: 1; grid-row: 1; }
  #v8 #app .v8-cf-fact:has(.v8-cf-chg-e) .v8-cf-fb > .v8-cf-chg-e { grid-column: 2; grid-row: 1; }
  #v8 #app .v8-cf-fact:has(.v8-cf-chg-e) .v8-cf-fb > .v8-badge { grid-column: 1; grid-row: 2; justify-self: start; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { #v8 #app .v8-cf .v8-fpv, #v8 #app .v8-cf-abc svg.i { transition: none; } }
/* The kind cards' Continue (README 142, the audit's D16): choosing a card only marks it; this button, 24 under the cards and on their
   left edge, moves on. Its error sits under the cards (base.css .v8-err) */
#v8 #app .v8-cf-kgo { margin-top: var(--v8-5); }
#v8 #app .v8-cf-kinds .v8-err { margin-top: var(--v8-4); }
