/* =====================================================================================================================
   claims-flow.css: the Claims page's claims in Janne's four columns, behind ?claims=flow (21 October 2026). Markup: ../../prototype/
   app/claims-flow.js; the record is README 62. Janne: "the claim cards could also follow this style of logic" (a campaigns list),
   and his columns: the claim type with its number under it, a much shorter status (Received, Being assessed, Processed), the
   decision, the compensation, "the exact same order" for ongoing and past claims. The lean round, the same day: no column heads on
   the cards ("they are cards"), less text, an empty compensation until there is one, only the date while we decide, no date on a
   decision, the round arrow at the end of each card, "Paid" with the amount.
   - One grid for every card, row and the past list's header row: the claim (the rest of the width), Status, Decision,
     Compensation and the arrow's 40, the same widths on both lists, so the cards and the list stand in one set of columns. The
     past list keeps its header row (16 ink-2, the glance table's column head); the cards have none.
   - One line a cell: the value at 16 (the money's figure Bold, tabular figures). Only the claim cell has a second line, the claim
     number at 12 ink-2 (Janne's order), and the status its bar while the claim moves: 72 by 6, a third or two thirds, the data blue
     on its pale track; Processed has no bar.
   - The surfaces: an ongoing claim is a plain white card with one 1 px line (16 corners, 32 in, 12 between; Janne's reference,
     21 October 2026), a past claim a row on white between hairlines (16 above and below, 32 in, the cards' content edges).
   - An ongoing card is one link (an <a>): the whole card hovers with the green wash, presses with the pressed green, shows the
     keyboard's ring inside its edge, the name turns deep green and underlined, and its round arrow (base.css .v8-arrow) turns
     deep green with it, as on Home's task rows. The arrow ends the card, centred on its height (review of the lean round: on the
     values' line it sat 16 from the top and 34 from the bottom, and read as top-aligned).
   - A past row is one link too (the claim's link covers the row, ::after), with the same wash; it has no arrow (a long list's
     hover is its cue), and its arrow track stays empty so the columns hold. A row with nothing to open (a sample) never hovers.
   - The decision's mark is drawn here (.v8-fl-mk), the same disc as the coverage glance's .v8-mk (ix-glance-i.css, a variant
     stylesheet another workflow owns). Since the simple round (21 October 2026) the only mark is her turn: the lime clock
     before what she has to send (the "needs you" lime with its inner ring, as the badge's dot). A claim waiting for us has none:
     its date starts where the marks start. Once the glance settles, the disc belongs in base.css for both (for Janne).
   - Narrower lists: under 840 the claim runs across the top with the arrow at its end, and its three values sit in three columns
     under its words, the past list's header row over them (Decision at least 196, so "Decision by 30 September", 190, keeps one
     line); under 560 (phones) Status and Decision side by side, a waiting claim's date on its own line under Status, and
     Compensation under Status when there is one, the mark left out (the word says it). There the header row is for screen
     readers only.
   Every size and weight !important (type-scale.js snaps the rest), 16 and 12 at 400 and 700, no font-size in a query.
   ===================================================================================================================== */

#v8 #app .v8-fl { --fl-px: var(--v8-6); --fl-py: var(--v8-6); --fl-gap: var(--v8-5); --fl-c2: 120px; --fl-c3: 200px; --fl-c4: 160px; --fl-c5: 40px;
  display: block; min-width: 0; color: var(--v8-ink); }
#v8 #app .v8-fl-past { --fl-py: var(--v8-4); }
#v8 #app .v8-fl :is(.v8-fl-c, .v8-fl-c *) { font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; font-variant-numeric: tabular-nums; }
#v8 #app .v8-fl .v8-fl-c b { font-weight: 700 !important; }
/* The claim number, and while a search is on what happened: 12 ink-2, 2 under the type */
#v8 #app .v8-fl .v8-fl-c :is(.v8-fl-n, .v8-fl-w) { font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; }
#v8 #app .v8-fl :is(.v8-fl-n, .v8-fl-w) { display: block; margin-top: 2px; color: var(--v8-ink-2); }

/* The grid: the header row, every card and every row */
#v8 #app .v8-fl-h, #v8 #app .v8-fl-r { display: grid; grid-template-columns: minmax(0, 1fr) var(--fl-c2) var(--fl-c3) var(--fl-c4) var(--fl-c5); column-gap: var(--fl-gap); align-items: start; padding: 0 var(--fl-px); }
#v8 #app .v8-fl-c { min-width: 0; }
#v8 #app .v8-fl-h { padding-bottom: var(--v8-2); }
#v8 #app .v8-fl-h .v8-fl-c { color: var(--v8-ink-2); }
#v8 #app .v8-fl-r { position: relative; padding-top: var(--fl-py); padding-bottom: var(--fl-py); }

/* Ongoing: a list of cards, each card its link. The plain card (Janne, 21 October 2026, with a reference: "I think this very
   simple style would work the best"): white, one 1 px line, the portal's 16 corners, 32 in, 12 between. The line is an inset
   shadow, not a border, so it takes no room: the cards' content edges stay 32 in from their outer edges, as the past list's */
#v8 #app ul.v8-fl-on { display: grid; gap: var(--v8-3); margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-fl-li { display: block; margin: 0; padding: 0; }
#v8 #app a.v8-fl-card { border-radius: var(--v8-r); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); color: var(--v8-ink); text-decoration: none; transition: background-color .16s ease-out; }
/* Past: rows on white between hairlines, one over the first row and one under each */
#v8 #app .v8-fl-past .v8-fl-b { border-top: 1px solid var(--v8-line); }
#v8 #app .v8-fl-past .v8-fl-r { border-bottom: 1px solid var(--v8-line); }
/* A long past list keeps its header row in view while she scrolls it (from 20 rows up to hundreds): sticky on white, its 1 px
   line drawn on the body's top hairline, so at rest there is one line, and rows slide under it */
#v8 #app .v8-fl-past .v8-fl-hg { position: sticky; top: 0; z-index: 1; padding-top: var(--v8-3); background: var(--v8-white); box-shadow: 0 1px 0 var(--v8-line); }
/* Under the past claims' toolbar the header row's words start 24 down (the 12 above them is the sticky row's own air at the
   window's top edge) */
#v8 #app .v8-fl-past { margin-top: calc(-1 * var(--v8-3)); }
#v8 #app .v8c-past .v8-fl-past { margin-top: calc(var(--v8-2) - var(--v8-3)); }
/* The saved draft keeps its own card, the first of the cards, 8 above them */
#v8 #app .v8-fl-draft { margin-bottom: var(--v8-stack); }

/* Claim: the type (green) and the number under it. No insurance icon (simple round, 21 October 2026): the type's words name the
   insurance, and the icon said it again */
#v8 #app .v8-fl-c1 { display: block; }
#v8 #app .v8-fl-a { display: block; min-width: 0; color: var(--v8-green-t); text-decoration: none; }
#v8 #app .v8-fl-t { display: block; text-decoration: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
#v8 #app .v8-fl .v8-fl-n { white-space: nowrap; }
#v8 #app .v8-fl-a.v8-fl-off { color: var(--v8-ink); }
/* A past row's link covers the row: one target */
#v8 #app a.v8-fl-a::after { content: ""; position: absolute; inset: 0; }

/* Status: the step's word, and while the claim moves the short bar under it (7 above, 5 below). The bar is positioned for its
   fill, so on a past row it would paint over the link's cover: it takes no pointer, and the row stays one target */
#v8 #app .v8-fl-c2 { display: grid; justify-items: start; }
#v8 #app .v8-fl-bar { position: relative; display: block; width: 72px; height: 6px; margin: 7px 0 5px; overflow: hidden; border-radius: var(--v8-r-pill);
  background: color-mix(in srgb, var(--v8-data-base) 16%, var(--v8-white)); box-shadow: 0 0 0 1px rgb(255 255 255 / .7); pointer-events: none; }
#v8 #app .v8-fl-bar > i { position: absolute; inset: 0 auto 0 0; display: block; border-radius: var(--v8-r-pill); background: var(--v8-data-base); }

/* Decision: the word, or only the date while we decide. Approved and Rejected have no mark (simple round: the disc said the word
   again); the only mark left is the lime clock on a card that waits for her */
#v8 #app .v8-fl-c3 { display: flex; align-items: flex-start; gap: var(--v8-2); }
/* The mark, the coverage glance's disc (ix-glance-i.css .v8-mk), drawn here too: a 24 disc with its 16 icon */
#v8 #app .v8-fl .v8-fl-mk { display: inline-grid; place-items: center; flex: none; box-sizing: border-box; width: 24px; height: 24px; border-radius: 50%; }
#v8 #app .v8-fl .v8-fl-mk svg.i { width: 16px; height: 16px; overflow: visible; }
#v8 #app .v8-fl .v8-fl-mk svg.i :is(path, g > path) { stroke: currentColor; stroke-width: 1px; stroke-linejoin: round; paint-order: stroke; }
/* Her turn: the lime clock, the portal's "needs you" (the lime with its 1.5 inner ring, as the badge's dot), the clock in deep
   green. Only on a card that waits for her */
#v8 #app .v8-fl .v8-fl-mk.v8-mk-need { background: var(--v8-lime); box-shadow: inset 0 0 0 1.5px var(--v8-lime-edge); color: var(--v8-deep); }
/* A claim that waits for her: what to send and by when, over Decision and the empty Compensation */
#v8 #app .v8-fl-r-need .v8-fl-c3 { grid-column: 3 / 5; }
#v8 #app .v8-fl-r-need .v8-fl-c4 { display: none; }

/* Compensation: "To be paid" or "Paid" and the amount (Bold); empty until there is one */
#v8 #app .v8-fl-c4 { display: grid; justify-items: start; }

/* The row's end: the "View claim" chip cue (README 111; it was the round arrow), centred on the row's height. It darkens with the
   row's hover and focus by base.css's one rule */
#v8 #app .v8-fl-go { grid-column: 5; justify-self: end; align-self: center; }

/* Hover, pressed and focus: the whole card, the whole row */
@media (hover: hover) {
  #v8 #app a.v8-fl-card:hover, #v8 #app .v8-fl-r:has(a.v8-fl-a:hover) { background: var(--v8-hover); }
  #v8 #app :is(a.v8-fl-card:hover, .v8-fl-r:has(a.v8-fl-a:hover)) .v8-fl-t { color: var(--v8-deep); text-decoration-line: underline; }
  #v8 #app a.v8-fl-card:hover .v8-arrow { background: var(--v8-deep); box-shadow: none; color: var(--v8-white); }
}
#v8 #app a.v8-fl-a:focus-visible { outline: none !important; }
#v8 #app :is(a.v8-fl-card:focus-visible, .v8-fl-r:has(a.v8-fl-a:focus-visible)) { background: var(--v8-hover); outline: var(--v8-focus) !important; outline-offset: -2px !important; box-shadow: var(--v8-focus-glow-in) !important; }
#v8 #app :is(a.v8-fl-card:focus-visible, .v8-fl-r:has(a.v8-fl-a:focus-visible)) .v8-fl-t { color: var(--v8-deep); text-decoration-line: underline; }
#v8 #app a.v8-fl-card:focus-visible .v8-arrow { background: var(--v8-deep); box-shadow: none; color: var(--v8-white); }
#v8 #app :is(a.v8-fl-card:active, .v8-fl-r:has(a.v8-fl-a:active)) { background: var(--v8-pressed); }
@media (prefers-reduced-motion: reduce) { #v8 #app a.v8-fl-card { transition: none; } }

/* ---------- Narrower lists ---------- */
/* Under 960: 16 between the columns */
@container v8ctl (max-width: 959px) {
  #v8 #app .v8-fl { --fl-gap: var(--v8-4); }
}
/* Under 840: the claim across the top with the arrow at its end, its three values in three columns under it, from the same left
   edge (no icon to indent past). Status takes what "Being assessed" needs (112); Decision at least 196, so the longest date line,
   "Decision by 30 September" (190), keeps one line (review of the lean round: at a 1024 window's 600 list it had 181 and wrapped);
   Compensation takes the rest and runs on under the arrow ("To be paid 1.150 €" still fits). The past list's header row stays,
   its three words over the three columns; "Claim" is for screen readers, since the claim runs across */
@container v8ctl (max-width: 839px) {
  #v8 #app :is(.v8-fl-r, .v8-fl-h) { grid-template-columns: 112px minmax(196px, 1.2fr) minmax(0, 1fr) 40px; row-gap: var(--v8-3); }
  #v8 #app .v8-fl-r .v8-fl-c1 { grid-column: 1 / -1; }
  #v8 #app .v8-fl-card .v8-fl-c1 { grid-column: 1 / 4; grid-row: 1; }
  #v8 #app .v8-fl-go { grid-column: 4; grid-row: 1; align-self: center; margin-top: 0; }
  #v8 #app .v8-fl-r .v8-fl-c2 { grid-column: 1; }
  #v8 #app .v8-fl-r .v8-fl-c3 { grid-column: 2; }
  #v8 #app .v8-fl-r .v8-fl-c4 { grid-column: 3 / -1; }
  #v8 #app .v8-fl-r-need .v8-fl-c3 { grid-column: 2 / -1; }
  #v8 #app .v8-fl-h .v8-fl-c1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  #v8 #app .v8-fl-h .v8-fl-c2 { grid-column: 1; }
  #v8 #app .v8-fl-h .v8-fl-c3 { grid-column: 2; }
  #v8 #app .v8-fl-h .v8-fl-c4 { grid-column: 3 / -1; }
}
/* Under 720 (a 1024 window's 600 list): 24 in; phones 16 (below) */
@container v8ctl (max-width: 719px) {
  #v8 #app .v8-fl { --fl-px: var(--v8-5); --fl-py: var(--v8-5); }
  #v8 #app .v8-fl-past { --fl-py: var(--v8-4); }
}
/* Under 560 (phones, 320 included): Status and Decision side by side, Compensation under Status,
   the arrow at the end of the claim's line. A waiting claim's date (v8-fl-c3-by) takes its own line under Status: beside it there
   were 166 at 390 and 96 at 320, so "Decision by 30 September" (190) wrapped. The mark is left out (the word carries the
   decision; her request says it is her turn). An empty Compensation takes no line: out of the grid's flow, so it adds no gap, and
   still a cell for screen readers. The header row is for screen readers only */
@container v8ctl (max-width: 559px) {
  #v8 #app .v8-fl .v8-fl-hg { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  #v8 #app .v8-fl { --fl-gap: var(--v8-3); --fl-px: var(--v8-4); --fl-py: var(--v8-4); }
  #v8 #app .v8-fl-r { grid-template-columns: 112px minmax(0, 1fr) 40px; }
  #v8 #app .v8-fl-card .v8-fl-c1 { grid-column: 1 / 3; }
  #v8 #app .v8-fl-go { grid-column: 3; }
  #v8 #app .v8-fl-r .v8-fl-c2 { grid-column: 1; }
  #v8 #app .v8-fl-r .v8-fl-c3 { grid-column: 2 / -1; }
  #v8 #app .v8-fl-r .v8-fl-c3.v8-fl-c3-by { grid-column: 1 / -1; }
  #v8 #app .v8-fl-r .v8-fl-c4 { grid-column: 1 / -1; }
  #v8 #app .v8-fl-r .v8-fl-c4:empty { position: absolute; }
  #v8 #app .v8-fl .v8-fl-mk { display: none; }
  #v8 #app .v8-fl-r-need .v8-fl-c3 { grid-column: 1 / -1; }
}

@media (forced-colors: active) {
  #v8 #app a.v8-fl-card { border: 1px solid CanvasText; }
  #v8 #app .v8-fl-bar { forced-color-adjust: none; background: Canvas; box-shadow: inset 0 0 0 1px CanvasText; }
  #v8 #app .v8-fl-bar > i { background: CanvasText; }
  #v8 #app .v8-fl .v8-fl-mk { border: 1px solid CanvasText; }
  #v8 #app .v8-fl .v8-fl-mk svg.i { color: CanvasText; }
}

/* =====================================================================================================================
   THE K STYLE (21 October 2026, late). Janne, on the coverage glance's variant K (ix-glance-k.css): "We should be using these
   similar kinds of symbols elsewhere, and the same kind of boxes and corner radii", then "Let's try these new stylings in the
   ongoing claims". This block restyles what is above; where they differ, this holds. README 62, "The K style".
   - Boxes: the ongoing claims are ONE white box (one 1 px --v8-line, radius 8) split by hairlines, as K's summary tiles; no
     card per claim, so four strokes become one.
   - Marks: K's 24 rounded square (radius 6, a light tint, a 16 glyph) before the decision, 12 before its word in ink, Regular:
     the green check on mint (Approved), the cross on gray (Rejected, calm), the blue clock for anything still moving.
   - Headings: the section titles 20 Bold ink, the line under them 16 ink-2 (K's head, Coda's ratio).
   - The past table: K's gray band with Bold ink column heads (radius 8), no line under it, hairlines between rows only; rows
     24 above and below (88 high, as K's).
   - Columns: the claim a little wider, Status, Decision and Compensation equal, all filling the width (K: "fill container").
   - The arrow: kept, but as a subtle button (no ring, the green arrow, a round wash with the card's hover), so it reads as
     the cue K's subtle buttons are, not a second outlined control.
   ===================================================================================================================== */

/* Headings: 24 Bold ink like every page section title (Janne, 30 October 2026), the line 16 ink-2. Only sections that hold this file's lists */
#v8 #app section.v8-sec:has(.v8-fl) > .v8-sh h2.v8-h2 { color: var(--v8-ink); font-size: var(--v8c-fs-24, 24px) !important; line-height: var(--v8c-lh-24, 32px) !important; font-weight: 700 !important; }
#v8 #app section.v8-sec:has(.v8-fl) > .v8-sh p.v8-line { color: var(--v8-ink-2); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }

/* Rows: 24 in and 24 above and below, cards and past rows alike */
#v8 #app .v8-fl, #v8 #app .v8-fl-past { --fl-px: var(--v8-5); --fl-py: var(--v8-5); }

/* Ongoing: one box, hairlines between the claims */
#v8 #app ul.v8-fl-on { gap: 0; overflow: hidden; border-radius: var(--v8-r-sm); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app ul.v8-fl-on > .v8-fl-li + .v8-fl-li { border-top: 1px solid var(--v8-line); }
#v8 #app a.v8-fl-card { border-radius: 0; background: transparent; box-shadow: none; }
/* The box's line is drawn over the rows' wash, so a hovered first or last row keeps the box's edge */
#v8 #app ul.v8-fl-on { position: relative; }
#v8 #app ul.v8-fl-on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--v8-line); pointer-events: none; }

/* The marks */
#v8 #app .v8-fl-c3 { gap: var(--v8-3); }
#v8 #app .v8-fl .v8-fl-mk { display: inline-grid; place-items: center; flex: none; box-sizing: border-box; width: 24px; height: 24px; border-radius: var(--v8-r-tag); box-shadow: none; }
#v8 #app .v8-fl .v8-fl-mk svg.i { width: 16px; height: 16px; overflow: visible; }
#v8 #app .v8-fl .v8-fl-mk svg.i :is(path, g > path) { stroke: currentColor; stroke-width: 1px; stroke-linejoin: round; paint-order: stroke; }
#v8 #app .v8-fl .v8-fl-mk-ok { background: var(--v8-mint); color: var(--v8-green-t); }
#v8 #app .v8-fl .v8-fl-mk-no { background: var(--v8-gray); color: var(--v8-ink-2); }
#v8 #app .v8-fl .v8-fl-mk-wait { background: var(--v8-blue); color: var(--v8-blue-ink); }
#v8 #app .v8-fl .v8-fl-c3 .v8-fl-v { color: var(--v8-ink); }

/* The past table: the gray band, Bold ink heads, no line under it, hairlines between rows only */
#v8 #app .v8-fl-past .v8-fl-hg { box-shadow: none; padding-bottom: var(--v8-1); }
#v8 #app .v8-fl-h { padding-top: var(--v8-3); padding-bottom: var(--v8-3); border-radius: var(--v8-r-sm); background: var(--v8-gray); }
#v8 #app .v8-fl-h .v8-fl-c { color: var(--v8-ink); font-weight: 700 !important; white-space: nowrap; }
#v8 #app .v8-fl-past .v8-fl-b { border-top: 0; }
#v8 #app .v8-fl-past .v8-fl-b > .v8-fl-r:last-child { border-bottom: 0; }

/* Columns from 840: four equal columns filling the width (K: "fill container"), each with a floor that keeps its longest line on
   one line, measured with ?claims=many: the claim 232 ("Damage to others' things claim"), Status 112 ("Being assessed", 109),
   Decision 226 (the mark, 12, and "Decision by 30 September", 190), Compensation 132 ("To be paid 1.150 €", 131). At 1440 that
   is 232, 188, 226, 188. From 840 to 879 (a 1280 window's 856 list, 16 apart) the three values sit at their floors and the claim
   takes the rest (234 at 856), so it is the one that gives way below 854, and nothing runs out of the row */
@container v8ctl (min-width: 840px) {
  #v8 #app .v8-fl-h, #v8 #app .v8-fl-r { grid-template-columns: minmax(232px, 1fr) minmax(112px, 1fr) minmax(226px, 1fr) minmax(132px, 1fr) var(--fl-c5); }
}
@container v8ctl (min-width: 840px) and (max-width: 879px) {
  #v8 #app .v8-fl-h, #v8 #app .v8-fl-r { grid-template-columns: minmax(0, 1fr) 112px 226px 132px var(--fl-c5); }
}
/* Under 840: Decision takes the mark too, so at least 232 (it was 196) */
@container v8ctl (max-width: 839px) {
  #v8 #app :is(.v8-fl-r, .v8-fl-h) { grid-template-columns: 112px minmax(232px, 1.2fr) minmax(0, 1fr) 40px; }
}

/* The saved draft: K's box too (white, one line, radius 8, 24 in; it was a gray 16 card), its icon K's plain gray line icon, and
   Continue and Delete draft as K's subtle buttons (green text, no outline or underline, the green wash on hover, the focus ring,
   44 high, the words on the text's edge) */
#v8 #app .v8-fl-draft .v8-hm-row { border-radius: var(--v8-r-sm); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); padding: var(--v8-5); }
#v8 #app .v8-fl-draft .v8-hm-ric { background: transparent; color: var(--v8-ink-2); }
#v8 #app .v8-fl-draft .v8-hm-ric svg.i, #v8 #app .v8-fl-draft .v8-hm-ric svg.i * { color: var(--v8-ink-2); fill: currentColor; }
#v8 #app .v8-fl-draft .v8-hm-ra { gap: var(--v8-3); }
#v8 #app .v8-fl-draft .v8-hm-ra :is(.v8-btn, .v8-link) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--v8-2); border: 0; border-radius: var(--v8-r-pill); background: transparent; box-shadow: none; color: var(--v8-green-t); text-decoration: none !important; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
#v8 #app .v8-fl-draft .v8-hm-ra > :first-child { margin-left: calc(-1 * var(--v8-2)); }
#v8 #app .v8-fl-draft .v8-hm-ra :is(.v8-btn, .v8-link):hover { background: var(--v8-hover); color: var(--v8-green-t); }
#v8 #app .v8-fl-draft .v8-hm-ra :is(.v8-btn, .v8-link):active { background: var(--v8-pressed); }
#v8 #app .v8-fl-draft .v8-hm-ra :is(.v8-btn, .v8-link):focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
@media (forced-colors: active) { #v8 #app .v8-fl-draft .v8-hm-row { border: 1px solid CanvasText; } #v8 #app .v8-fl-draft .v8-hm-ra :is(.v8-btn, .v8-link) { text-decoration: underline !important; } }


/* Phones keep the marks (K keeps its markers at every width) */
@container v8ctl (max-width: 559px) {
  #v8 #app .v8-fl .v8-fl-mk { display: inline-grid; }
  #v8 #app .v8-fl-r { grid-template-columns: 112px minmax(0, 1fr) 40px; }
  #v8 #app .v8-fl, #v8 #app .v8-fl-past { --fl-px: var(--v8-4); --fl-py: var(--v8-5); }
}
@media (forced-colors: active) {
  #v8 #app a.v8-fl-card { border: 0; }
  #v8 #app ul.v8-fl-on { border: 1px solid CanvasText; }
  #v8 #app .v8-fl-h { border: 1px solid CanvasText; }
}

/* =====================================================================================================================
   THE LEAN K ROUND (21 October 2026, night). Janne, with what we decided: no Status column ("would these cards benefit from the
   fact that we wouldn't even have those blue graphs there at all ... Is it rejected or approved, and when will the decision
   come?"), so the row is the claim, the Decision, the Compensation and the arrow, the three sharing the width evenly; no Bold
   date after a marker (README 63: the text after a marker is regular ink); Rejected on a light red marker ("one more color ...
   light red"); the amount in a mint tag ("the amount: €1,150. That would be inside the green box"). This block restyles what is above; where they differ, this holds. README 62, the note before 63.
   ===================================================================================================================== */

/* The grid: three columns and the arrow's track, placed by name, so a missing cell never shifts the others */
#v8 #app .v8-fl-h, #v8 #app .v8-fl-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) var(--fl-c5); }
#v8 #app :is(.v8-fl-r, .v8-fl-h) .v8-fl-c1 { grid-column: 1; grid-row: 1; }
#v8 #app :is(.v8-fl-r, .v8-fl-h) .v8-fl-c3 { grid-column: 2; grid-row: 1; }
#v8 #app :is(.v8-fl-r, .v8-fl-h) .v8-fl-c4 { grid-column: 3; grid-row: 1; }
#v8 #app .v8-fl-go { grid-column: 4; grid-row: 1; }
#v8 #app .v8-fl-r-need .v8-fl-c3 { grid-column: 2 / 4; }
/* Compensation: the words and the amount's tag on the values' line */
#v8 #app .v8-fl-c4 { display: flex; align-items: flex-start; gap: var(--v8-3); }
#v8 #app .v8-fl .v8-fl-c4 .v8-fl-v { color: var(--v8-ink); }
/* Rejected: the cross on a light tint of the portal's red (--v8-red, 4.0:1 on the tint; the glyph is a graphic, 3:1) */
#v8 #app .v8-fl .v8-fl-mk-rej { background: color-mix(in srgb, var(--v8-red) 10%, var(--v8-white)); color: var(--v8-red); }

/* From 840: equal thirds, each with a floor for its longest line: the claim 200 ("Damage to others' things"), Decision 226
   (marker, 12, "Decision by 30 September"), Compensation 170 ("To be paid" and the 1.150 € tag) */
@container v8ctl (min-width: 840px) {
  #v8 #app .v8-fl-h, #v8 #app .v8-fl-r { grid-template-columns: minmax(200px, 1fr) minmax(226px, 1fr) minmax(170px, 1fr) var(--fl-c5); }
}
/* Under 840: the claim across the top with the arrow at its end, Decision and Compensation side by side under it */
@container v8ctl (max-width: 839px) {
  #v8 #app .v8-fl-h, #v8 #app .v8-fl-r { grid-template-columns: minmax(232px, 1fr) minmax(0, 1fr) 40px; }
  #v8 #app .v8-fl-r .v8-fl-c1 { grid-column: 1 / -1; grid-row: 1; }
  #v8 #app .v8-fl-card .v8-fl-c1 { grid-column: 1 / 3; }
  #v8 #app .v8-fl-go { grid-column: 3; grid-row: 1; }
  #v8 #app :is(.v8-fl-r, .v8-fl-h) .v8-fl-c3 { grid-column: 1; grid-row: 2; }
  #v8 #app :is(.v8-fl-r, .v8-fl-h) .v8-fl-c4 { grid-column: 2 / -1; grid-row: 2; }
  #v8 #app .v8-fl-h .v8-fl-c3 { grid-row: 1; }
  #v8 #app .v8-fl-h .v8-fl-c4 { grid-row: 1; }
  #v8 #app .v8-fl-r-need .v8-fl-c3 { grid-column: 1 / -1; }
}
/* Under 560 (phones): Decision and Compensation stacked under the claim; an empty Compensation takes no line (above) */
@container v8ctl (max-width: 559px) {
  #v8 #app .v8-fl-h, #v8 #app .v8-fl-r { grid-template-columns: minmax(0, 1fr) 40px; }
  #v8 #app .v8-fl-card .v8-fl-c1 { grid-column: 1; }
  #v8 #app .v8-fl-go { grid-column: 2; }
  #v8 #app :is(.v8-fl-r, .v8-fl-h) .v8-fl-c3 { grid-column: 1 / -1; grid-row: 2; }
  #v8 #app :is(.v8-fl-r, .v8-fl-h) .v8-fl-c4 { grid-column: 1 / -1; grid-row: 3; }
}
/* The amount in a mint tag (Janne, the same night: "the amount: €1,150. That would be inside the green box"): no marker in the
   Compensation column; "To be paid" in ink, then the amount on mint, 8 corners (--v8-r-sm), deep green, Regular, 24 high as the
   markers (deep green on mint 9.7:1) */
#v8 #app .v8-fl .v8-fl-c4 .v8-fl-amt { display: inline-block; padding: 0 var(--v8-2); border-radius: var(--v8-r-sm); background: var(--v8-mint); color: var(--v8-deep); font-weight: 400 !important; white-space: nowrap; }
@media (forced-colors: active) { #v8 #app .v8-fl .v8-fl-c4 .v8-fl-amt { border: 1px solid CanvasText; } }

/* The insurance's icon tile before every claim (Janne, the same night: "I do think that these green icons would benefit the
   ongoing claims too"): Home's tile (home.css .v8-hm-ric: mint, 8 corners, the green 24 icon), 44 here, so a row stays 88 (22
   above and below). The claim cell is a grid: the tile, then the type, the number and, while a search is on, what happened.
   From 840 the row's cells centre on the tile; the header's "Claim" starts on the tile's edge */
#v8 #app .v8-fl-r .v8-fl-c1 { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--v8-4); align-items: center; }
#v8 #app .v8-fl-r .v8-fl-c1 > :not(.v8-fl-ic) { grid-column: 2; }
#v8 #app .v8-fl-ic { grid-column: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--v8-r-sm); background: var(--v8-mint); }
#v8 #app .v8-fl-ic svg.i { display: block; width: 24px; height: 24px; fill: var(--v8-green-t); color: var(--v8-green-t); }
#v8 #app .v8-fl, #v8 #app .v8-fl-past { --fl-py: 22px; }
@container v8ctl (min-width: 840px) {
  #v8 #app .v8-fl-r { align-items: center; }
  #v8 #app .v8-fl-h, #v8 #app .v8-fl-r { grid-template-columns: minmax(260px, 1fr) minmax(226px, 1fr) minmax(170px, 1fr) var(--fl-c5); }
}
@container v8ctl (max-width: 559px) {
  #v8 #app .v8-fl, #v8 #app .v8-fl-past { --fl-py: var(--v8-5); }
}
@media (forced-colors: active) { #v8 #app .v8-fl-ic { border: 1px solid CanvasText; } #v8 #app .v8-fl-ic svg.i { fill: CanvasText; } }
/* A past claim's tile (the archive): light gray, the icon ink-2 (the name keeps its link green). Every ongoing claim stays mint */
#v8 #app .v8-fl-ic.v8-fl-ic-done { background: var(--v8-gray); }
#v8 #app .v8-fl-ic.v8-fl-ic-done svg.i { fill: var(--v8-ink-2); color: var(--v8-ink-2); }
/* Hover, press and focus: the tile turns white on the row's green wash, as Home's rows (home.css .v8-hm-ric; Janne: "the hover
   effect is so that the colored square should turn into white"), both lists */
#v8 #app :is(a.v8-fl-card:is(:hover, :active, :focus-visible), .v8-fl-r:has(a.v8-fl-a:is(:hover, :active, :focus-visible))) .v8-fl-ic { background: var(--v8-white); }

/* =====================================================================================================================
   THE BOXED TABLE (21 October 2026, night). Janne: "When you have the header in gray, could you have the stroke go around? Combine
   the styles of the ongoing and past claims, so both will have a header and both will have a stroke that goes around the corners.
   Remember that the header shouldn't have a corner radius in the bottom-left and right corners because it's touching into them,
   like it's inside the table." Then, the same night: "add stroke at the bottom of the grey areas too", "Also mark some kind of
   sorting at the top of the headers", and an empty cell shows a dash.
   - Both lists are ONE box each (.v8-fl-box: white, 1 px --v8-line, 8 corners) with the gray band inside its top, filling its width:
     the band's top corners 7 (the box's 8 less its 1 px line, so the curves run parallel), its bottom corners square, no gap round
     it, a 1 px --v8-line along its bottom. Then the rows on hairlines. Both lists are ARIA tables now (claims-flow.js), in the same
     columns. No overflow: hidden on the box, so the past band can stay sticky; the last row's wash takes the box's inner corners.
   - The heads sort (claims-flow.js "Sorting by the column heads"): a button per head, 16 Bold ink, no underline, the up and down
     pair after the word in ink-2 at rest, one arrow in ink while it sorts; a gray wash on hover, 44 high (it overhangs the band's 24
     line by 10 above and below, so the band stays 48).
   - The claim's type is 16 Bold (the row's header, as K's insurance names), still link green.
   - Under 560 (phones) the columns stack, so the band goes (screen readers keep the heads as words) and the box stays.
   README 62, the last note before 63.
   ===================================================================================================================== */
#v8 #app .v8-fl-box { border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
/* The band: no air round it (the white 12 above and 4 under it, and the past list's pull-up for them, are gone); its line below */
#v8 #app .v8-fl-box .v8-fl-hg { padding: 0; background: transparent; box-shadow: none; }
#v8 #app .v8-fl-box .v8-fl-h { border-radius: calc(var(--v8-r-sm) - 1px) calc(var(--v8-r-sm) - 1px) 0 0; border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-fl-box.v8-fl-past { margin-top: 0; }
#v8 #app .v8c-past .v8-fl-box.v8-fl-past { margin-top: var(--v8-2); }
/* Rows: hairlines between them only, in both lists */
#v8 #app .v8-fl-box .v8-fl-b { border-top: 0; }
#v8 #app .v8-fl-box .v8-fl-b > .v8-fl-r { border-bottom: 0; }
#v8 #app .v8-fl-box .v8-fl-b > .v8-fl-r + .v8-fl-r { border-top: 1px solid var(--v8-line); }
/* The last row's hover, press and focus wash follows the box's inner corners */
#v8 #app .v8-fl-box .v8-fl-b > .v8-fl-r:last-child { border-radius: 0 0 calc(var(--v8-r-sm) - 1px) calc(var(--v8-r-sm) - 1px); }
#v8 #app .v8-fl-r { transition: background-color .16s ease-out; }
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-fl-r { transition: none; } }
/* The claim's type, Bold */
#v8 #app .v8-fl .v8-fl-c .v8-fl-t { font-weight: 700 !important; }
/* An empty cell's dash, ink-2 */
#v8 #app .v8-fl .v8-fl-c4 .v8-fl-none { color: var(--v8-ink-2); }

/* The sort heads. The button and a plain copy of its words: the button shows where the heads sort, the words where they don't (the
   paged past list with its toolbar, and phones, where the heads are for screen readers only) */
#v8 #app .v8-fl-hx { display: none; }
#v8 #app .v8-fl .v8-fl-h .v8-fl-sb { display: inline-flex; align-items: center; gap: var(--v8-1); min-height: 44px; margin: -10px 0 -10px calc(-1 * var(--v8-2)); padding: 0 var(--v8-2); border: 0; border-radius: var(--v8-r-tag); background: transparent; color: var(--v8-ink); cursor: pointer; font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; text-align: left; text-decoration: none; white-space: nowrap; }
#v8 #app .v8-fl .v8-fl-sb .v8-fl-si { display: inline-grid; place-items: center; width: 16px; height: 16px; color: var(--v8-ink-2); }
#v8 #app .v8-fl .v8-fl-sb.is-on .v8-fl-si { color: var(--v8-ink); }
#v8 #app .v8-fl .v8-fl-sb svg.i { width: 16px; height: 16px; fill: currentColor; }
@media (hover: hover) { #v8 #app .v8-fl .v8-fl-sb:hover { background: color-mix(in srgb, var(--v8-ink) 7%, var(--v8-gray)); } }
#v8 #app .v8-fl .v8-fl-sb:active { background: color-mix(in srgb, var(--v8-ink) 12%, var(--v8-gray)); }
#v8 #app .v8-fl .v8-fl-sb:focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
/* The paged past list (the toolbar's Sort keeps the order there): words, not buttons */
#v8 #app .v8c-past .v8-fl-sb { display: none !important; }
#v8 #app .v8c-past .v8-fl-hx { display: inline; }
/* Under 840 the claim runs across the row, so "Claim" is for screen readers there (as before): its button goes with it */
@container v8ctl (max-width: 839px) {
  #v8 #app .v8-fl-h .v8-fl-c1 .v8-fl-sb { display: none; }
  #v8 #app .v8-fl-h .v8-fl-c1 .v8-fl-hx { display: inline; }
}

/* Section titles 24 Bold ink (Janne, 30 October 2026: one size for every page section title, the one Your policies and Claims
   were designed with; replaces his 21 October 20). Repeated here with html#v8 in front */
html#v8 #app section.v8-sec:has(.v8-fl) > .v8-sh h2.v8-h2 { color: var(--v8-ink); font-size: var(--v8c-fs-24, 24px) !important; line-height: var(--v8c-lh-24, 32px) !important; font-weight: 700 !important; }

/* Phones: the band goes (screen readers keep the heads as words), the box stays; an empty cell's dash goes too (stacked, a lone
   dash reads as a gap), its words stay for screen readers */
@container v8ctl (max-width: 559px) {
  #v8 #app .v8-fl .v8-fl-sb { display: none !important; }
  #v8 #app .v8-fl .v8-fl-hx { display: inline; }
  #v8 #app .v8-fl-box .v8-fl-b > .v8-fl-r:first-child { border-radius: calc(var(--v8-r-sm) - 1px) calc(var(--v8-r-sm) - 1px) 0 0; }
  #v8 #app .v8-fl-box .v8-fl-b > .v8-fl-r:only-child { border-radius: calc(var(--v8-r-sm) - 1px); }
  #v8 #app .v8-fl-r .v8-fl-c4:has(> .v8-fl-none) { position: absolute; }
  #v8 #app .v8-fl .v8-fl-none > [aria-hidden] { display: none; }
}
@media (forced-colors: active) {
  #v8 #app .v8-fl-box { border-color: CanvasText; }
  #v8 #app .v8-fl-box .v8-fl-h { border: 0; border-bottom: 1px solid CanvasText; }
  #v8 #app .v8-fl .v8-fl-sb { color: ButtonText; }
}

/* ---------- README 111 (22 October 2026): the rows end in the "View claim" chip cue, not the arrow ----------
   The last track is the chip's width (104 at 16 Regular), set, not max-content, so the head band (which has no chip) keeps its
   columns over the rows' columns; no cell is pushed to a second line at 1440. From 560 to
   839 of the box the claim keeps clear of the chip (it no longer runs under a 40 px arrow); under 560 the chip sits under the
   row's cells, left, as Payments' View invoice does on a phone. The chip's look and its darker step with the row: base.css */
#v8 #app .v8-fl { --fl-c5: 104px; }
#v8 #app .v8-fl-go { display: flex; }
@container v8ctl (max-width: 839px) {
  #v8 #app .v8-fl-h, #v8 #app .v8-fl-r { grid-template-columns: minmax(232px, 1fr) minmax(0, 1fr) 104px; }
  #v8 #app .v8-fl-r .v8-fl-c1 { grid-column: 1 / 3; }
}
@container v8ctl (max-width: 559px) {
  #v8 #app .v8-fl-h, #v8 #app .v8-fl-r { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .v8-fl-r .v8-fl-c1, #v8 #app .v8-fl-card .v8-fl-c1 { grid-column: 1; }
  #v8 #app .v8-fl-go { grid-column: 1; grid-row: 4; justify-self: start; }
  /* An empty Compensation is out of the flow (above), so the chip takes its line and no empty row adds a second gap */
  #v8 #app .v8-fl-r:has(.v8-fl-c4 > .v8-fl-none) .v8-fl-go, #v8 #app .v8-fl-r-need .v8-fl-go { grid-row: 3; }
}
/* ---------- Only the button is a link (README 148) ----------
   Janne, 22 October 2026: "It's also those claims that have a whole row that is hoverable, but then there's a View Claim button. You
   should take the hover effect away, and it should be only the View Claim button ... That should be the general rule." The claim's
   name is plain text (ink, never link green: nothing on it is clickable), the row has no hover, and "View claim" is a real link in
   its own cell with the chip's own hover, press and focus ring */
#v8 #app .v8-fl-a { color: var(--v8-ink); }
#v8 #app .v8-fl-go .v8-fl-view { white-space: nowrap; }
