/* =====================================================================================================================
   VISUAL SYSTEM v8, "Fennia green moments" (17 October 2026). The foundations: tokens, the shell, the page types, the zones
   and every shared component. Spec: ../../old/explore/visual/VISUAL-SPEC.md. Usage and markup: ./README.md.
   Area files (home.css, policies.css, ...) load after this one and only add what their pages need.

   SPECIFICITY STRATEGY (read before writing a rule)
   app/v8-base.js sets <html id="v8"> unless ?v8=off or ?art=a|b|c. Every rule here starts with #v8:
   - Inside the app:      #v8 #app .v8-thing        (2 ids)  beats every older rule, which has at most one id (#app)
   - Overlays on <body>:  #v8 .v8-thing / #v8 body .old-thing   (1 id)  beats the older overlay rules (no ids)
   - New markup uses only v8- classes, so the older 5.800 lines never match it. Two older rules still reach it because they
     match by element, with !important: `#app, #app * { font-weight: 400 !important }` and a few font-size rules. So every
     weight here is declared with !important, and our 2-id selectors win among the !importants.
   - Restyling OLDER markup (the shell, .btn, .pc0, the drawers, the document viewer, toasts): the older rules use !important,
     so these use !important too, and the 2-id prefix wins.
   - No font-size inside a media or container query: layout responds, type does not. Only the five sizes 40/28/20/16/12.
   ===================================================================================================================== */

/* ---------- 1. Tokens (sections 4 to 7) ---------- */
:root {
  /* Neutrals */
  --v8-ink: #333333;        /* all text, figures, icons on white */
  --v8-ink-2: #5E5E5E;      /* secondary text (6.5:1 white, 5.9:1 gray, 5.9:1 mint) */
  --v8-off: #ADADAD;        /* a step not reached, the "off" dot; never text */
  --v8-line: #DDDDDD;       /* hairlines, badge outline, plate dividers */
  --v8-line-2: #D6D6D6;     /* the 1 px stroke of a white card among gray ones: Claims' past claim cards (20 October 2026) */
  --v8-field: #8C8C8C;     /* field and checkbox outlines (3.4:1 on white) */
  --v8-gray: var(--fennia-neutral-10, #F9F9F9);   /* cards on white, the paperwork band, flow stages, table header bands. Fennia Neutral-10 since 21 October 2026, night (Janne: "This is much fresher, so let's use this lighter gray everywhere"; it was Neutral-15 #F5F5F5) */
  --v8-white: #FFFFFF;
  /* Data: Fennia's data/categorical colours, in a fixed order (README 30; explore/charts/SPEC.md section 4). Charts never use the
     greens: green is Fennia's action and success colour. The order is ours (nothing in Fennia's file orders them): a chart takes
     data-1 onwards, largest or most important first. Ratios are on white */
  --v8-data-1: #1C69FF;     /* aqua/100 = data/categorical-2. 4,65:1 (4,27 on the gray card) */
  --v8-data-2: #770F67;     /* plum/100 = data/categorical-6. 10,25:1 */
  --v8-data-3: #FF7104;     /* orange/100 = data/categorical-8. 2,76:1: takes the edge */
  --v8-data-4: #C1D6FF;     /* aqua/10 = data/categorical-1. 1,47:1: takes the edge */
  --v8-data-5: #FFC01F;     /* turmeric/100 = data/categorical-7. 1,64:1: takes the edge */
  --v8-data-6: #D80081;     /* pink/100 = data/categorical-5. 4,95:1. branch-insights-wow: a sixth policy (the accountant has six), cyber insurance */
  --v8-data-edge: #5E5E5E;  /* text/neutral-subtle, 6,48:1: the 1 px inside edge of a mark under 3:1, and the hatch's lines */
  --v8-data-gap: #FFFFFF;   /* the 2 px between marks that touch (ring parts, the parts of a stacked bar) */
  /* What stays with her: a 6 px tile of #5E5E5E diagonals over white, always with the edge. An SVG tile, not a repeating
     gradient, which leaves seams. Shape, not hue, so it survives greyscale, every colour blindness and forced colours */
  --v8-data-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M-1 1l2-2M0 6l6-6M5 7l2-2' stroke='%235E5E5E' stroke-width='1.5'/%3E%3C/svg%3E");
  --v8-data-base: var(--v8-data-1);   /* what Fennia pays (no policy of hers named), what it is measured against, a one-series chart */
  --v8-data-yours: var(--v8-data-2);  /* her own number in a comparison: You, your claims */
  /* Greens */
  --v8-green: #008A28;      /* primary fill, done dots, the arrow disc, icon discs, chosen edges */
  --v8-green-t: #00700B;    /* every green text: links, cues (5.8:1 gray, 5.5:1 mint); hover edges */
  --v8-deep: #004C07;       /* page titles on mint, the insight, primary hover, the focus ring */
  --v8-mint: #E6FAE7;       /* the answer zone, help panels in flows, her chat bubbles */
  --v8-hover: #D5F7D7;      /* hover wash; body text on dark green (9:1) */
  --v8-pressed: #B8EABB;    /* pressed; the edge of suggestion chips on mint */
  /* Accent and alarm */
  --v8-lime: #E9F368;       /* something to notice (README 169, 170): the full lime on dots; counts and tags take --v8-new. Not on Insights since README 168 */
  /* The Fennia insight's own surface (README 37, 18 October 2026, night): Fennia's Secondary 20, the lime tag's family. Nothing
     else may use it. ONE token on purpose: if Janne picks gray or white for the insight, this line is the whole change (on gray
     the blue bars fall from 4,5:1 to 4,27:1, still above 3:1 for a graphic) */
  --v8-insight-bg: #FFFFD2;
  /* Round S (19 October 2026): the edge of the white chart panel inside the insight, one shade down the pale lime family. Decorative
     (the white fill already separates the panel; WCAG 1.4.11 asks nothing of it), so it is soft, not 3:1. "transparent" turns it off */
  --v8-insight-edge: #E3DC8A;
  /* 20 October 2026 (README 37, the new anatomy): the insight is a white card with the edge above, and its left panel is the
     pale lime. --v8-insight-card is the card's ground (white; --v8-insight-bg is the one-line swap); --v8-insight-panel the
     panel's lime, Fennia's lime #E9F368 at about 40 % on white. Nothing else may use them */
  --v8-insight-card: #FFFFFF;
  --v8-insight-panel: #F6FAC3;
  --v8-lime-edge: #7A8500;  /* the lime dot's inner ring */
  --v8-blue: #EEF3FF;       /* the claim progress card (the old page's light blue card, 18 October 2026); ink on it 11.4:1, ink-2 5.8:1 */
  --v8-blue-ink: #0052CC;   /* the track on the blue card: done dots, the current ring, done lines (6.1:1 on the blue) */
  --v8-blue-line: #B9C9EE;  /* the track's lines ahead on the blue card */
  --v8-blue-off: #8DA3D6;   /* a step not reached on the blue card, the ring (2.3:1, decorative: never text, and every step's own
                               words carry its state, "Expected by ...") */
  --v8-red: #D63D29;        /* not covered, rejected, overdue; error text and edge (4.6:1) */
  --v8-new: #F6FAC3;        /* something to notice, on a count or tag: the fainter lime (README 170; Fennia's lime at about 40 %); deep green on it */
  --v8-new-edge: color-mix(in srgb, #7A8500 35%, #FFFFFF);   /* a slightly darker edge, the blue tags' recipe (Blue-100 35 % into white) */
  --v8-scrim: rgba(51, 51, 51, .24);   /* half as dark since README 228 (Janne, 10 November 2026: "I don't like this amount of darkening ... It just looks very dark"); was .48 */

  /* Type: five sizes. 40/44 title and hero figure, 28/32 section and card figure, 20/24 card title (20/28 the lead),
     16/24 everything read, 14/20 badges, tags, counts, helper and error text, the side menu. Never smaller (README 194) */
  --v8-fs-40: 40px; --v8-lh-40: 44px;
  --v8-fs-28: 28px; --v8-lh-28: 32px;
  --v8-fs-20: 20px; --v8-lh-20: 24px; --v8-lh-lead: 28px;
  --v8-fs-16: 16px; --v8-lh-16: 24px;
  --v8-fs-14: 14px; --v8-lh-14: 20px;   /* the smallest size (README 194): badges, tags, counts, helper and error text, the side menu */
  --v8-fs-12: var(--v8-fs-14); --v8-lh-12: var(--v8-lh-14);   /* retired 8 November 2026 (README 194): nothing is smaller than 14; kept only as an alias */

  /* Spacing on 4 and 8 */
  --v8-1: 4px;  --v8-2: 8px;  --v8-3: 12px; --v8-4: 16px; --v8-5: 24px; --v8-6: 32px;
  --v8-7: 40px; --v8-8: 48px; --v8-9: 64px; --v8-10: 80px; --v8-11: 96px;
  --v8-sec: 80px;           /* between sections; 64 below 640 */
  --v8-group: 40px;         /* between groups inside a section */
  --v8-gutter: 24px;        /* grid gutter; 16 below 640 */
  --v8-cards: 16px;         /* between cards in a grid */
  --v8-stack: 8px;          /* between the separate gray cards of a stack (README 36) */
  --v8-top: 72px;           /* top of the mint zone to its first line; 24 below 1024 */
  --v8-hero-b: 64px;        /* under the plate to the mint zone's foot; 48 below 1024 */
  --v8-scene-u: 96px;       /* one piece of Home's scene; 64 below 1360, 40 below 1024 */
  --v8-page-b: 96px;       /* the page's own bottom padding, which the band cancels */
  --v8-measure: 700px;      /* running text */
  --v8-lead-w: 600px;       /* the lead under a title */
  --v8-rail: 256px;         /* the side menu from 1024 (264 until README 80) */

  /* Radii, strokes, shadows, focus */
  --v8-r: 16px;             /* cards, plates, the insight, modals, stages */
  --v8-r-sm: 8px;           /* fields, photo strips, thumbnails, the document sheet, row hover */
  --v8-r-in: 12px;          /* a container inside a 16 card: the insight's white panel, a table card in a tile (Janne, 19 October 2026: inner corners slightly less than the outer, not much tighter) */
  --v8-r-tag: 4px;          /* badges, the lime tag, file chips */
  --v8-r-pill: 999px;       /* buttons, chips, the ask field, the segmented control */
  --v8-leaf: 160px;         /* the insight's top-right corner; 96 below 1024 */
  --v8-edge-hover: inset 0 0 0 1.5px #00700B;
  --v8-edge-chosen: inset 0 0 0 2px #008A28;
  --v8-shadow-pop: 0 2px 8px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .12);   /* only on what floats */
  --v8-focus: 1px solid #008A28;   /* the edge of keyboard focus, README 187: 4,5:1 on white */
  --v8-focus-glow: 0 0 0 4px rgba(46, 170, 74, .28);   /* its light green glow, outside the edge */
  --v8-focus-glow-in: inset 0 0 0 4px rgba(46, 170, 74, .28);   /* the same inside, for rows a parent would clip */
  /* Strokes, README 188. Widths: */
  --v8-stroke: 1px;         /* every hairline and control edge at rest */
  --v8-stroke-chosen: 1.5px;   /* a chosen card, a chosen chip */
  --v8-stroke-strong: 2px;  /* the dashed edge, a checkbox, the switch's off track, an error */
  --v8-band: 8px;           /* the wide band: white round an insurance card's panel, the tray round its cards */
  --v8-band-s: 4px;         /* the thin white band round a small square */
  /* Colours: --v8-line (hairlines), --v8-line-2 (a white card among gray), --v8-field (controls), --v8-green (chosen, focus), --v8-red (errors), and: */
  --v8-dash: #2EAA4A;       /* the dashed edge of what she doesn't have (3:1 on white); SVG dashes write it as %232EAA4A */
  --v8-ease: cubic-bezier(.2, .7, .2, 1);
  /* The AI ring is the assistant's blue band, no longer the rainbow (README 217) */
  --v8-ring: linear-gradient(120deg, #C7D4FC 0%, #D0D3FB 30%, #D9CEF7 55%, #E6D2F0 75%, #C9D6FC 100%);
}
@media (max-width: 1359px) { :root { --v8-scene-u: 64px; } }
@media (max-width: 1023px) { :root { --v8-leaf: 96px; --v8-top: 24px; --v8-hero-b: 48px; --v8-scene-u: 40px; } }
@media (max-width: 639px) { :root { --v8-sec: 64px; --v8-gutter: 16px; } }

/* ---------- 2. Global base ---------- */
#v8 body { background: var(--v8-white); color: var(--v8-ink); }
#v8 #app { color: var(--v8-ink); }
#v8 ::selection { background: var(--v8-hover); color: var(--v8-ink); }
/* One focus ring: the colour everywhere (the older rules keep their geometry). The insight is white since 18 October 2026, so it
   takes the same deep green ring */
#v8 :focus-visible, #v8 :focus-visible::after, #v8 :has(> :focus-visible) { outline-color: #008A28 !important; }   /* colour only: no ring appears where none was */
#v8 #app :where([class*="v8-"]) :focus-visible, #v8 #app [class*="v8-"]:focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
/* Visually hidden, still read and focusable (inputs inside choice cards) */
#v8 .v8-vh { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; opacity: 0; }
/* Full bleed: the zones run from the side menu's edge to the window's right edge. --v8-bleed is the distance from the content's
   edge to the page's edge; the page clips the few pixels a classic scrollbar would add */
/* The push layout (README 135, from branch-ai-drawer, 22 October 2026): #app is a size container named "app". When the AI drawer
   docks, #app gives it its width, and every desktop breakpoint (1099 and up) also answers to #app's width through @container app
   (the blocks marked "push" in the system's files, made by tools/containerize.mjs), so the page reflows as in a narrower window.
   With the drawer closed #app is the window's width, so the same breakpoints trigger as before. The bleed counts from #app's width
   (100cqw), not the window's */
#v8 #app { container: app / inline-size; }
#v8 #app .page-in { --v8-bleed: calc((100cqw - var(--v8-rail) - 100%) / 2); }
@media (max-width: 1023px) { #v8 #app .page-in { --v8-bleed: var(--page-x); } }
#v8 #app main.page { overflow-x: clip; padding-bottom: var(--v8-page-b) !important; }
#v8 #app :where([class*="v8-"]) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
#v8 #app :where([class*="v8-"]) :where(h1, h2, h3, h4, p, dl, dd, figure, fieldset) { margin: 0; }
#v8 #app :where([class*="v8-"]) :where(fieldset) { padding: 0; border: 0; min-width: 0; }
#v8 #app :where([class*="v8-"]) :where(b, strong) { font-weight: 700 !important; }
#v8 #app :where([class*="v8-"]) :where(p, li, dd, dt, span, a, button, label, td, th) { font-variant-numeric: tabular-nums; }
#v8 #app :where(.v8-hero, .v8-sec, .v8-ins, .v8-band, .v8-flow, .v8-gm) :where(p) { max-width: var(--v8-measure); text-wrap: pretty; }
#v8 #app :where(.v8-hero, .v8-sec, .v8-ins, .v8-band, .v8-flow, .v8-gm) :where(h1, h2, h3) { text-wrap: balance; }
#v8 #app :where(.v8-card, .v8-pc, .v8-help, .v8-certc, .v8-tiles li, .v8-plate) { overflow-wrap: anywhere; }

/* ---------- 3. Type ---------- */
#v8 #app .v8-title { font-size: var(--v8-fs-40) !important; line-height: var(--v8-lh-40) !important; letter-spacing: -0.02em; font-weight: 700 !important; color: var(--v8-deep) !important; }
#v8 #app .v8-h2 { 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-ink); }
#v8 #app .v8-h3, #v8 #app .v8-cn, #v8 #app .v8-plate-h { 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-lead { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-lead) !important; font-weight: 400 !important; color: var(--v8-ink); max-width: var(--v8-lead-w) !important; }
#v8 #app .v8-line, #v8 #app .v8-cl { font-size: var(--v8-fs-16); line-height: var(--v8-lh-16); font-weight: 400 !important; color: var(--v8-ink-2); }
#v8 #app .v8-f40 { display: block; font-size: var(--v8-fs-40) !important; line-height: var(--v8-lh-40) !important; letter-spacing: -0.02em; font-weight: 400 !important; color: var(--v8-ink); font-variant-numeric: tabular-nums; }
#v8 #app .v8-f28 { display: block; font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; letter-spacing: -0.01em; font-weight: 400 !important; color: var(--v8-ink); font-variant-numeric: tabular-nums; }
#v8 #app .v8-fig { display: grid; gap: var(--v8-1); }
#v8 #app :is(.v8-f28, .v8-f40) { overflow-wrap: normal; }
#v8 #app .v8-fig > span { color: var(--v8-ink-2); }
#v8 #app .v8-fig40 { gap: var(--v8-2); }
#v8 :is(#app, .v8-dlgw) .v8-price { color: var(--v8-ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
#v8 :is(#app, .v8-dlgw) .v8-price b { color: var(--v8-ink); font-weight: 700 !important; }

/* ---------- 4. Buttons and links (section 14) ---------- */
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; 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; font-weight: 400 !important; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .16s ease-out, box-shadow .16s ease-out, color .16s ease-out; }
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn svg.i { width: 20px; height: 20px; flex: none; }
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-1 { background: var(--v8-green); box-shadow: none; color: var(--v8-white); }
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-w { background: var(--v8-white); box-shadow: none; color: var(--v8-deep); }
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-x { box-shadow: inset 0 0 0 1px var(--v8-red); color: var(--v8-red); }
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-ai { --ai-a: 200deg; border: 2px solid transparent; box-shadow: none; padding: 0 20px 0 16px; background-color: transparent; background-image: linear-gradient(#fff, #fff), var(--v8-ring); background-clip: padding-box, border-box; background-origin: border-box; color: var(--v8-ink); }
#v8 #app .v8-sp, #v8 #app .v8-ask-sp { font-size: var(--v8-fs-16); line-height: 1; background: conic-gradient(#FF5A5F, #FFD43B, #5BC24E, #22B8CF, #3D7BF5, #9B5DE5, #FF5A5F); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (hover: hover) {
  #v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn:hover { background: var(--v8-hover); }
  #v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-1:hover { background: var(--v8-deep); }
  #v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-x:hover { background: var(--v8-white); box-shadow: inset 0 0 0 2px var(--v8-red); }
  #v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-ai:hover, #v8 #app .v8-btn-ai:focus-visible { background-color: transparent; background-image: linear-gradient(#fff, #fff), var(--v8-ring); background-clip: padding-box, border-box; background-origin: border-box; animation: ai-turn 2.4s linear infinite; }
}
/* On a narrow phone a long label wraps inside its pill instead of running off the screen ("Continue the claim yourself" in a
   flow's foot, "See your recommended policies" in an empty state); the pill grows in height, never past the column */
@media (max-width: 479px) {
  #v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn { max-width: 100%; padding-top: 10px; padding-bottom: 10px; white-space: normal; text-align: center; }
}   /* a flow foot's own narrow-phone rule is in section 16 */
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn:active { background: var(--v8-pressed); }
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-1:active { background: var(--v8-deep); }
/* Text links and cues: green, the underline at 40 % that fills on hover */
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-link { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; padding: 0; border: 0; background: none; color: var(--v8-green-t); font: inherit; font-size: var(--v8-fs-16) !important; font-weight: 400 !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 112, 11, .4); cursor: pointer; }
#v8 :is(#app, .v8-dlgw) .v8-link svg.i { width: 20px; height: 20px; }
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-link:hover { text-decoration-color: currentColor; }
#v8 #app .v8-link-w { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--v8-white); font: inherit; font-size: var(--v8-fs-16) !important; font-weight: 400 !important; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
#v8 #app .v8-link-w:hover { color: var(--v8-lime); }
#v8 #app .v8-cue { color: var(--v8-green-t); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 112, 11, .4); transition: text-decoration-color .16s ease-out; }
/* Icon buttons: 44, round, transparent, the icon 24 in ink */
#v8 :is(#app, .v8-dlgw, .cov-drawer, .dv-wrap, .aiw) .v8-ib { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--v8-ink); cursor: pointer; transition: background-color .16s ease-out; }
#v8 :is(#app, .v8-dlgw, .cov-drawer, .dv-wrap, .aiw) .v8-ib svg.i { width: 24px; height: 24px; }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw, .cov-drawer, .dv-wrap, .aiw) .v8-ib:hover, #v8 #app .v8-ib[aria-expanded="true"] { background: var(--v8-hover); } }
#v8 :is(#app, .v8-dlgw) .v8-ib.v8-copied { color: var(--v8-green-t); }   /* V8.copy: the check for 2 seconds after copying */
/* V8.copy is link green on every page, as the invoice numbers are (18 October 2026, night; Janne on Payments: "all the clickable
   elements, like the copying sign. I would like to make that green, the same way the invoice number is green"). #00700B is 6,5:1
   on white, 5,9:1 on gray and 4,9:1 on the hover wash; on hover the wash and the deep green; on focus the deep 2 px ring, tight */
#v8 :is(#app, .v8-dlgw, .cov-drawer, .dv-wrap, .aiw) .v8-ib[data-act="v8-copy"] { color: var(--v8-green-t); }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw, .cov-drawer, .dv-wrap, .aiw) .v8-ib[data-act="v8-copy"]:hover { background: var(--v8-hover); color: var(--v8-deep); } }
#v8 :is(#app, .v8-dlgw, .cov-drawer, .dv-wrap, .aiw) .v8-ib[data-act="v8-copy"]:focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
/* The arrow disc: 40 round green, Fennia's arrow 20 white. A real link on the claim card has a 44 hit area */
#v8 #app .v8-arrow { position: relative; display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--v8-green); color: var(--v8-white); transition: background-color .16s ease-out; }
#v8 #app .v8-arrow svg.i { width: 20px; height: 20px; }
#v8 #app a.v8-arrow::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; }
#v8 #app a.v8-arrow:hover { background: var(--v8-deep); }
#v8 #app .v8-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--v8-4); }
@media (pointer: coarse) { #v8 #app :is(.v8-acts, .v8-ffoot, .v8-sh-act, .v8-ins-acts) > .v8-link, #v8 #app .v8-btn-link { min-height: 44px; } }
/* .v8-btn-link: a text link that stands alone as an action (not inside a sentence), 44 high on touch screens */
#v8 #app .v8-btn-link { display: inline-flex; align-items: center; }

/* The older buttons everywhere, brought onto the tokens: 44 pills, green primary, white secondary with a green edge */
#v8 #app .btn, #v8 body .cov-drawer .btn, #v8 body .dv-wrap .btn { min-height: 44px !important; border-radius: var(--v8-r-pill) !important; font-size: var(--v8-fs-16) !important; font-weight: 400 !important; }
#v8 #app .btn-primary, #v8 body .cov-drawer .btn-primary { background: var(--v8-green) !important; border-color: var(--v8-green) !important; color: var(--v8-white) !important; }
#v8 #app .btn-primary:hover, #v8 body .cov-drawer .btn-primary:hover { background: var(--v8-deep) !important; border-color: var(--v8-deep) !important; }
#v8 #app .btn-secondary, #v8 body .cov-drawer .btn-secondary { background: var(--v8-white) !important; border: 1px solid var(--v8-green) !important; box-shadow: none !important; color: var(--v8-green-t) !important; }
#v8 #app .btn-secondary:hover, #v8 body .cov-drawer .btn-secondary:hover { background: var(--v8-hover) !important; }
#v8 #app .btn-secondary svg.i { color: currentColor !important; }

/* ---------- 5. Status: the mark and the word (README 192, 8 November 2026) ----------
   V8.badge(kind, word). Janne retired the white tag with the gray edge and the coloured dot ("this is not the style we should be
   using ... we use different tags in this design of the portal"), so a status everywhere is the Claims list's decision cell
   (claims-flow.css .v8-fl-mk, home.css .v8-hm-mk): a 24 curved square (the tag corner) of a light tint with its 16 glyph, 12 to
   the word, the word 16 Regular ink. No box, no edge, no dot. One rule for every place a status can be: the page, dialogs and
   drawers, the command bar and both assistant panels.
   - The word sets the badge's baseline (align-self: baseline on the only baseline item), so in running text it sits on the line's
     baseline like any word, and a 24 badge fits a 24 line without pushing it. Where space runs out the word wraps (the mark stays
     beside its first line) rather than running out of its cell.
   - Tints, README 169's map: ok mint and the check (done); wait the info blue and the clock (still moving; the speech bubble for what the assistant drafted from her words);
     need the notice lime with its soft edge (needs you; a suggestion takes the star); rej Fennia's Red-10 and the heavier cross (rejected,
     overdue: base.css's redder No, README 90's sibling); no Fennia's Neutral-20 (not included, later, ending).
   - Glyphs are graphics: each passes 3:1 on its tint (green-t 5.8, blue-ink 6.1, deep on the lime 9.5, red 3.8, ink-2 5.6). */
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-badge { display: inline-flex; align-items: flex-start; gap: var(--v8-3); max-width: 100%; min-width: 0; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; text-align: left; vertical-align: baseline; }
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-badge > .v8-b-w { align-self: baseline; min-width: 0; overflow-wrap: normal; color: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; }
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk { display: inline-grid; place-items: center; flex: none; box-sizing: border-box; width: 24px; height: 24px; border-radius: var(--v8-r-tag); }
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk svg.i { width: 16px; height: 16px; overflow: visible; color: currentColor; fill: currentColor; }
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk svg.i :is(path, g > path) { stroke: currentColor; stroke-width: 1px; stroke-linejoin: round; paint-order: stroke; }
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk-ok { background: var(--v8-mint); color: var(--v8-green-t); }
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk-wait { background: var(--v8-blue); color: var(--v8-blue-ink); }
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk-need { background: var(--v8-new); box-shadow: inset 0 0 0 1px var(--v8-new-edge); color: var(--v8-deep); }
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk-rej { background: var(--fennia-red-10, #F9E3E0); color: var(--fennia-red-100, #D63D29); }
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk-rej svg.i :is(path, g > path) { stroke-width: 1.4px; }
#v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk-no { background: var(--fennia-neutral-20, #EFEFEF); color: var(--v8-ink-2); }
/* Inside a facts value (the boxed facts, the facts row) the word takes the value's Bold, as a claim page's facts say "Approved" */
#v8 #app :is(.v8-fbox-v, .v8pk-fv, .v8-frow-v) .v8-badge { font-weight: 700 !important; }
/* A chosen or hovered option row is mint or the green wash: a mark on it turns white, as README 90's row marks do */
#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .v8-bj-pick, .v8-choice):is(:hover, :has(input:checked)) .v8-b-mk { background: var(--v8-white); box-shadow: none; }
@media (forced-colors: active) {
  #v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk { border: 1px solid CanvasText; box-shadow: none; }
  #v8 :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .cmdk) .v8-b-mk svg.i { color: CanvasText; fill: CanvasText; }
}
/* The lime tag (README 37): words only, a 1 px #7A8500 inside edge so the pill keeps its shape on the insight's pale lime */
#v8 #app .v8-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: var(--v8-r-tag); background: var(--v8-lime); box-shadow: inset 0 0 0 1px var(--v8-lime-edge); color: var(--v8-deep); font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 700 !important; white-space: nowrap; }
#v8 #app .v8-tag svg.i { width: 16px; height: 16px; color: var(--v8-deep); }
/* The insight's tag (round Q): the mark inside it, a 20 dark green disc with the lime person-and-shield at 14, so the mark, the
   words and the lime read as one lockup. 24 tall, 2 in at the disc's side */
#v8 #app .v8-tag.v8-tag-ins { gap: 6px; padding: 2px 10px 2px 2px; border-radius: 999px; }
#v8 #app .v8-tag-mk { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--v8-deep); }
#v8 #app .v8-tag.v8-tag-ins .v8-tag-mk svg.i { width: 14px; height: 14px; color: var(--v8-lime); fill: currentColor; }

/* ---------- 6. The hero: the mint answer zone (sections 9, 20) ---------- */
#v8 #app .v8-hero { position: relative; overflow: hidden; margin: calc(-1 * var(--page-top)) calc(-1 * var(--v8-bleed)) 0 !important; padding: var(--v8-top) var(--v8-bleed) var(--v8-hero-b); background: var(--v8-mint); }
#v8 #app .v8-hero.v8-floor { padding-bottom: var(--v8-hero-b); }
#v8 #app .v8-back { margin-bottom: var(--v8-5); }
#v8 #app .v8-hero .hw-back, #v8 #app .v8-back .hw-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin: -6px 0; color: var(--v8-green-t) !important; font-size: var(--v8-fs-16) !important; text-decoration: none; }
#v8 #app .v8-hero .hw-bc { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--v8-white) !important; color: var(--v8-green) !important; transition: background-color .16s ease-out; }
#v8 #app .v8-hero .hw-bc svg.i { width: 20px; height: 20px; }
#v8 #app .v8-hero .hw-back:hover { text-decoration: underline; text-underline-offset: 3px; }
#v8 #app .v8-hero .hw-back:hover .hw-bc { background: var(--v8-hover) !important; }
#v8 #app .v8-hero-g { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--v8-gutter); align-items: start; }
#v8 #app .v8-hero-tx { grid-column: 1 / span 8; min-width: 0; }
#v8 #app .v8-hero-home .v8-hero-tx { max-width: 640px; }
@media (max-width: 1199px) { #v8 #app .v8-hero:not(.v8-hero-art) .v8-hero-tx { grid-column: 1 / -1; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { #v8 #app .v8-hero:not(.v8-hero-art) .v8-hero-tx { grid-column: 1 / -1; }}
/* The town (240 wide, 64 tall, right-aligned on the plate) reaches up into the text's last line. From 1024 to 1199 the text runs the
   full width, so a long lead ran behind the buildings ("How you compare" at 1024; integration, 18 October 2026): there the text
   keeps clear of the town's 240 plus a gutter */
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1024px) { @container app (max-width: 1199px) { #v8 #app .v8-hero:has(> .v8-hero-base > .v8-town:not(.v8-town-s)):not(:has(.v8-hero-acts)) .v8-hero-tx { padding-right: calc(240px + var(--v8-gutter)); } } }
#v8 #app .v8-hero .v8-lead { margin-top: var(--v8-4); }
/* The meta line runs inline: the badge, then the text on the same line, wrapping under it (never a badge alone above the text) */
#v8 #app .v8-meta { display: block; margin-top: var(--v8-4); color: var(--v8-ink-2); }
#v8 #app .v8-meta > .v8-badge { margin-right: var(--v8-3); }   /* on the line's baseline, word to word (README 192) */
#v8 #app .v8-hero-acts { margin-top: var(--v8-6); }
#v8 #app .v8-hero .v8-btn-2 { background: var(--v8-white); }
#v8 #app .v8-hero .v8-askw { margin-top: var(--v8-6); }
/* The disc: 224 white, the 128 illustration, in the art span (the last four columns). Harmonised 18 October 2026: the text and
   the disc both start at the top, so the title sits 24 under the back link on every detail page and the disc's top meets the title's */
#v8 #app .v8-disc { grid-column: 9 / span 4; justify-self: center; display: grid; place-items: center; width: min(224px, 100%); height: auto; aspect-ratio: 1; margin-bottom: var(--v8-4); border-radius: 50%; background: var(--v8-white); }
#v8 #app .v8-disc :is(img, svg) { width: 128px !important; height: 128px !important; }
/* The base: what the pieces stand on (the plate or the card row), 48 under the hero's text */
#v8 #app .v8-hero-base { position: relative; margin-top: var(--v8-8); }
#v8 #app .v8-hero-base > .v8-plate, #v8 #app .v8-hero-base > .v8-grid { position: relative; z-index: 1; }
/* Home below 1024: the suggestions follow the cards in the mint zone (V8.hero's { after }), 32 under them where the cards are 16
   apart, so they read as a second group, above the town like the cards */
#v8 #app .v8-hero-base > .v8-sugs { position: relative; z-index: 1; margin-top: var(--v8-6); }
/* The town: pieces stand exactly on the top edge of the base, right-aligned to the content; never on text */
#v8 #app .v8-town { position: absolute; right: 0; bottom: 100%; z-index: 2; display: flex; align-items: flex-end; pointer-events: none; }
#v8 #app .v8-town img { display: block; width: 64px; height: 64px; }
#v8 #app .v8-town img + img { margin-left: 24px; }   /* an 88 pitch: each piece stands on its own, never a lump (VISUAL-SPEC 20.3; 8 read as one blob, 18 October 2026) */
#v8 #app .v8-town-detail { left: calc((100% + var(--v8-gutter)) * 2 / 3); justify-content: space-between; }
#v8 #app .v8-town-detail img + img { margin-left: 0; }
#v8 #app .v8-town-s { display: none; }
#v8 #app .v8-floor > .v8-town { bottom: 0; right: max(var(--page-x), calc((100% - var(--content-max)) / 2)); }   /* % of the hero, which is full bleed */
#v8 #app .v8-floor > .v8-town-detail { left: calc(max(var(--page-x), calc((100% - var(--content-max)) / 2)) + (100% - 2 * max(var(--page-x), calc((100% - var(--content-max)) / 2)) + var(--v8-gutter)) * 2 / 3); }
/* Home's scene (V8.town("home")): pieces abut and stack as in Fennia's green moment banner, so the group reads as one street rather
   than the 88 pitch's separate pieces; it shrinks with the room instead of dropping pieces */
#v8 #app .v8-town.v8-scene { display: block; width: calc(3 * var(--v8-scene-u)); height: calc(2 * var(--v8-scene-u)); }
#v8 #app .v8-town.v8-scene img { position: absolute; left: calc(var(--x) * var(--v8-scene-u)); bottom: calc(var(--y) * var(--v8-scene-u)); width: var(--v8-scene-u); height: var(--v8-scene-u); margin: 0; }
/* It stands on the tile below, so it ends where the tile's corner curve ends and its top edge runs straight: one corner radius in
   from the content edge, never a building hanging over the curve */
#v8 #app .v8-floor > .v8-town.v8-scene { right: calc(max(var(--page-x), calc((100% - var(--content-max)) / 2)) + var(--v8-r)); }
/* A card row shorter than its three columns (Emma's or the broker's Home: one or two live facts) leaves the right of the row
   empty, so the pieces would float over mint. There they stand on the mint floor instead, in the 64 under the cards, right-
   aligned to the content, as on a hero without a plate (18 October 2026) */
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1200px) { @container app (min-width: 1200px) {
  #v8 #app .v8-hero-base:has(> .v8-grid-3 > li:only-child, > .v8-grid-3 > li:nth-child(2):last-child) > .v8-town { bottom: calc(-1 * var(--v8-hero-b)); }
} }
/* The town never stands on the hero's actions (the integrator, 18 October 2026; review lr-claims found it on Claims at 1024, and
   Payments' three buttons had it too). The pieces stand on the plate, 48 under the actions; where the content is too narrow for
   the row and the town side by side, the plate steps down so the pieces stand clear under the row: two or more actions under a
   1200 window, three or more under 1360 */
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1024px) { @container app (max-width: 1199px) {
  #v8 #app .v8-hero:has(.v8-hero-acts > :nth-child(2)) > .v8-hero-base:has(> .v8-town) { margin-top: calc(64px + var(--v8-6)); }
} }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1024px) { @container app (min-width: 1200px) and (max-width: 1359px) {
  #v8 #app .v8-hero:has(.v8-hero-acts > :nth-child(3)) > .v8-hero-base:has(> .v8-town) { margin-top: calc(64px + var(--v8-6)); }
} }
@media (max-width: 1023px) {
  #v8 #app .v8-town:not(.v8-town-s, .v8-scene) { display: none; }
  #v8 #app .v8-town-s { display: flex; }
  #v8 #app .v8-town-s img { width: 32px; height: 32px; }
  #v8 #app .v8-town-s img + img { margin-left: 12px; }   /* the same air as from 1024, at half the size */
  #v8 #app .v8-town-s img:nth-child(n+4) { display: none; }   /* three pieces on phones */
  #v8 #app .v8-floor > .v8-town-s { right: var(--page-x); }
  #v8 #app .v8-hero-g { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .v8-hero-tx { grid-column: 1; }
  #v8 #app .v8-disc { display: none; }
}
@media (max-width: 639px) {
  #v8 #app .v8-hero-acts { flex-direction: column; align-items: stretch; }
  #v8 #app .v8-hero-acts > * { width: 100%; }
}

/* The lean hero (README 35, 18 October 2026, night; Janne: "the policy should have much less in the hero ... the hero should be
   reusable"). A list, Home or inbox hero: the title, one sentence, at most two actions, at most one strip, the town. The strip
   stands 32 under the actions and the mint ends 40 under it; without a strip the mint ends 64 (48 below 1024) under the actions.
   The page's first section starts 64 under the hero (48 below 640), where a section after a section is 80 (64). The town's
   step-down under heroes with two or three actions (above) still applies, since it is the more specific rule */
#v8 #app .v8-hero-lean > .v8-hero-base { margin-top: var(--v8-6); }
/* A lean hero under a section (a notice) has its back link in the top 32 of the mint, and the title 16 under it, so the back link
   costs 24, not 57 (19 October 2026, round j: the loyalty notice was 473 against the 440 budget) */
#v8 #app .v8-hero-lean:has(> .v8-back) { padding-top: 40px; }
#v8 #app .v8-hero-lean > .v8-back { margin-bottom: var(--v8-4); }
@media (max-width: 1023px) { #v8 #app .v8-hero-lean:has(> .v8-back) { padding-top: var(--v8-4); } }
#v8 #app .v8-hero-lean:not(.v8-floor) { padding-bottom: var(--v8-7); }
#v8 #app .v8-hero-lean + :is(.v8-sec, .v8-ins-w, .v8-band) { margin-top: var(--v8-9) !important; }
/* From 1024 to 1199 two actions and the 240 town don't fit one line, and the older rule above steps the plate down 64 for the
   pieces, which put Claims' hero at 504 and Payments' at 480. A lean hero there takes the phone's small town instead (three 32
   pieces, 120 wide), which stands in the 32 above the strip beside the buttons, so the strip keeps its place */
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1024px) { @container app (max-width: 1199px) {
  #v8 #app .v8-hero-lean:has(.v8-hero-acts > :nth-child(2)) > .v8-hero-base:has(> .v8-town) { margin-top: var(--v8-6); }
  #v8 #app .v8-hero-lean:has(.v8-hero-acts > :nth-child(2)) .v8-town:not(.v8-town-s, .v8-scene) { display: none; }
  #v8 #app .v8-hero-lean:has(.v8-hero-acts > :nth-child(2)) .v8-town-s { display: flex; }
  #v8 #app .v8-hero-lean .v8-town-s img { width: 32px; height: 32px; }
  #v8 #app .v8-hero-lean .v8-town-s img + img { margin-left: 12px; }
  #v8 #app .v8-hero-lean .v8-town-s img:nth-child(n+4) { display: none; }
} }
@media (max-width: 639px) {
  #v8 #app .v8-hero-lean:not(.v8-floor) { padding-bottom: var(--v8-6); }
  #v8 #app .v8-hero-lean + :is(.v8-sec, .v8-ins-w, .v8-band) { margin-top: var(--v8-8) !important; }
}

/* The top-level hero (README 72, 21 October 2026, Jordi's round): a page in the side menu (V8.hero's nav: true). White and
   without the town, so the green moment stays Home's. The title starts at 80, level with the side menu's search field (both
   44 tall); the actions sit on the title's line at the right, a 40 button centred on its 44; the figures stand on one hairline
   that closes the header, and without figures space alone does. Home, its sub-pages, notices and detail pages are unchanged */
#v8 #app .v8-hero.v8-hero-lean.v8-hero-nav { padding-bottom: 0; overflow: visible; background: var(--v8-white); }   /* no town to clip; the figures' shadow shows */
#v8 #app .v8-hero.v8-hero-lean.v8-hero-nav:not(:has(> .v8-back)) { padding-top: 80px; }
#v8 #app .v8-hero-nav .v8-hero-g { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--v8-6); }
#v8 #app .v8-hero-nav .v8-hero-tx { flex: 1 1 26rem; max-width: 760px; }
#v8 #app .v8-hero-nav .v8-lead { margin-top: var(--v8-2); }
#v8 #app .v8-hero-side { flex: 0 1 auto; display: flex; align-items: center; min-width: 0; min-height: var(--v8-lh-40); }
#v8 #app .v8-hero-side .v8-hero-acts { margin-top: 0; }
#v8 #app .v8-hero-nav .hw-bc { background: var(--v8-mint) !important; }
#v8 #app .v8-hero-nav .hw-back:hover .hw-bc { background: var(--v8-hover) !important; }
#v8 #app .v8-hero-nav > .v8-hero-base { margin-top: var(--v8-7); }
/* The figures in one white panel under the header (Jordi, after Shopify's metrics bar): Home's tile surface, 16 corners, the
   three-layer shadow and a transparent border that forced colours draw; the strip's own hairlines divide the cells */
#v8 #app .v8-hero-nav > .v8-hero-base > .v8-plate { padding: var(--v8-5); border: 1px solid transparent; border-radius: var(--v8-r); background: var(--v8-white);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 1px 2px -1px rgb(0 0 0 / .06), 0 2px 4px 0 rgb(0 0 0 / .04); }
#v8 #app .v8-hero-nav + :is(.v8-sec, .v8-ins-w, .v8-band, section, div) { margin-top: var(--v8-8) !important; }
/* Policies' two halves in the panel: 24 apart and 24 after the divider, the panel's own inset, so the loyalty half keeps the 440
   its bars need beside the figure (policies.css v8ploy) */
#v8 #app .v8-hero-nav .v8p-duo { column-gap: var(--v8-5); }
/* push: this query never matched before (nothing above .v8p-duo-b was a container); #app is one now, so it is pinned to a name no element has, to keep it as it was */
@container v8p-duo-none (min-width: 900px) { #v8 #app .v8-hero-nav .v8p-duo-b { padding-left: var(--v8-5); } }
/* The loyalty saving at the price's 28 and on its line, as the figures on Claims and Payments sit level (the sparkles scaled with it) */
#v8 #app .v8-hero-nav .v8p-loy .v8p-loy-fig { font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; }
#v8 #app .v8-hero-nav .v8p-loy-s1 { width: 14px; height: 16px; margin-top: -3px; }
#v8 #app .v8-hero-nav .v8p-loy-s2 { width: 8px; height: 9px; margin-top: 14px; }
#v8 #app .v8-hero-nav .v8p-loy-w { row-gap: 0; }   /* the title's own 16 below it, as on the price's side */
@media (max-width: 1023px) {
  #v8 #app .v8-hero.v8-hero-lean.v8-hero-nav:not(:has(> .v8-back)) { padding-top: var(--v8-6); }
}
@media (max-width: 639px) {
  #v8 #app .v8-hero-side { flex-basis: 100%; }
  #v8 #app .v8-hero-side .v8-hero-acts { flex: 1 1 auto; }
  #v8 #app .v8-hero-nav + :is(.v8-sec, .v8-ins-w, .v8-band, section, div) { margin-top: var(--v8-7) !important; }
}

/* The white hero (V8.hero({ white: true }), 18 October 2026): the policy and claim pages' old top in v8. White, no town, no disc.
   The back link at the mint hero's height, the 128 illustration beside the title and its text (96 above them below 640), then
   the facts row 48 under the actions */
#v8 #app .v8-hero.v8-hero-w { padding-bottom: 0; background: var(--v8-white); overflow: visible; }
#v8 #app .v8-hero-w .hw-bc { background: var(--v8-mint) !important; }
#v8 #app .v8-hero-w .hw-back:hover .hw-bc { background: var(--v8-hover) !important; }
#v8 #app .v8-hw-g { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; column-gap: var(--v8-6); }
#v8 #app .v8-hw-art .v8-hw-g { grid-template-columns: 128px minmax(0, 1fr); }
#v8 #app .v8-hw-ill { display: block; width: 128px; height: 128px; }
#v8 #app .v8-hw-ill :is(img, svg) { display: block; width: 128px !important; height: 128px !important; }
#v8 #app .v8-hw-tx { min-width: 0; }
#v8 #app .v8-hero-w .v8-hero-acts { margin-top: var(--v8-5); }
/* Phones: the illustration at 64 beside the title, the line and the actions under both across the width (SPEC simplify 3.2; round
   j, 19 October 2026: the 96 art above the title put the policy heroes at 704 to 772 at 390, against the 600 budget) */
@media (max-width: 639px) {
  #v8 #app .v8-hw-art .v8-hw-g { grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--v8-4); row-gap: 0; align-items: center; }
  #v8 #app .v8-hw-art .v8-hw-tx { display: contents; }
  #v8 #app .v8-hw-art .v8-hw-tx > :not(h1) { grid-column: 1 / -1; }
  #v8 #app .v8-hw-art .v8-hw-tx > h1 { grid-column: 2; margin: 0; }
  #v8 #app .v8-hw-ill, #v8 #app .v8-hw-ill :is(img, svg) { width: 64px !important; height: 64px !important; }
  #v8 #app .v8-hero.v8-hero-w .v8-frow-w { margin-top: var(--v8-6); }
}
/* The facts row (V8.factRow): a hairline above and below, hairlines between, each value 20 Bold ink (or a badge) with its label
   under it. Side by side from a 720 row; two a row from 340; one a row below. Values never glue: a long one wraps in its cell */
#v8 #app .v8-hero-w .v8-frow-w { margin-top: var(--v8-8); }
#v8 #app .v8-frow-w { container: v8frow / inline-size; }
#v8 #app .v8-frow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min-content, auto); justify-content: stretch; border-top: 1px solid var(--v8-line); border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-frow li { display: grid; align-content: start; gap: var(--v8-1); min-width: 0; padding: var(--v8-5) var(--v8-5) var(--v8-5) var(--v8-5); border-left: 1px solid var(--v8-line); }
#v8 #app .v8-frow li:first-child { padding-left: 0; border-left: 0; }
#v8 #app .v8-frow-v { display: block; min-height: 24px; color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; letter-spacing: -0.01em; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
#v8 #app .v8-frow-v :not(.v8-badge, .v8-badge *) { font-weight: 700 !important; }   /* a wrapped value (.nw) stays Bold; the older #app * rule sets 400 */
#v8 #app .v8-frow-l { color: var(--v8-ink-2); }
@container v8frow (max-width: 719px) {
  #v8 #app .v8-frow { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; }
  #v8 #app .v8-frow li { padding: var(--v8-4) 0 var(--v8-4) var(--v8-4); }
  #v8 #app .v8-frow li:nth-child(odd) { padding-left: 0; border-left: 0; }
  #v8 #app .v8-frow li:nth-child(n+3) { border-top: 1px solid var(--v8-line); }
  #v8 #app .v8-frow-3 li:last-child { grid-column: 1 / -1; }
}
@container v8frow (max-width: 339px) {
  #v8 #app .v8-frow { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .v8-frow li { padding: var(--v8-4) 0; border-left: 0; }
  #v8 #app .v8-frow li + li { border-top: 1px solid var(--v8-line); }
}

/* ---------- 7. Plates, facts, the status, the track (section 11) ---------- */
#v8 #app .v8-plate { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-white); color: var(--v8-ink); }
#v8 #app .v8-plate-h { margin-bottom: var(--v8-4); }
/* A hero's plate titled as the page's first section (an h2 under the h1: Payments' "Your next payment", an invoice notice's): 28 Bold,
   the section titles' size, with the facts 24 under it (moved from payments.css 18 October 2026, night, so both read alike) */
#v8 #app h2.v8-plate-h { margin: 0 0 var(--v8-5); font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; font-weight: 700 !important; color: var(--v8-ink); }
#v8 #app .v8-facts { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
#v8 #app .v8-facts-2 { --n: 2; } #v8 #app .v8-facts-1 { --n: 1; }
#v8 #app .v8-facts li { display: grid; align-content: start; gap: var(--v8-2); min-width: 0; }
#v8 #app .v8-facts li + li { padding-left: var(--v8-6); margin-left: var(--v8-6); border-left: 1px solid var(--v8-line); }
#v8 #app .v8-facts li > span { color: var(--v8-ink-2); max-width: 28ch; }
/* The facts plate follows its own width, not the window's (harmonised 18 October 2026, from policies.css): side by side from a
   760 plate; below, one fact a row with a rule between, and from 480 the figure in a 216 column beside its label */
#v8 #app .v8-plate:has(> .v8-facts) { container: v8facts / inline-size; }
@container v8facts (max-width: 759px) {
  #v8 #app .v8-facts { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .v8-facts li { padding: var(--v8-4) 0; }
  #v8 #app .v8-facts li:first-child { padding-top: 0; }
  #v8 #app .v8-facts li:last-child { padding-bottom: 0; }
  #v8 #app .v8-facts li + li { margin-left: 0; padding-left: 0; border-left: 0; border-top: 1px solid var(--v8-line); }
}
/* The strip (V8.facts(list, { strip: true }); README 35): the lean hero's one white plate, 24 in (16 below 640), two or three
   figures side by side with a hairline between: the figure 28 Bold deep green, its label 16 secondary 4 under it. One row at
   every width, so it overrides the facts plate's own stacking above; under 640 three cells put the first across the top (under
   it a hairline) and the other two side by side. A cell may lead with one small visual (.v8-strip-a: the price ring, 72, 56
   below 640). An older facts plate in a lean hero gets the class from V8.hero, so its 40 figures read at 28 too */
#v8 #app .v8-plate.v8-strip { padding: var(--v8-5); }
#v8 #app .v8-strip > .v8-plate-h { display: none; }
#v8 #app .v8-strip > .v8-facts { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0; }
#v8 #app .v8-strip > .v8-facts > li { display: flex; align-items: flex-start; gap: var(--v8-4); min-width: 0; margin: 0; padding: 0 var(--v8-5); border: 0; box-shadow: inset 1px 0 0 var(--v8-line); }
#v8 #app .v8-strip > .v8-facts > li:first-child { padding-left: 0; box-shadow: none; }
#v8 #app .v8-strip > .v8-facts > li:last-child { padding-right: 0; }
#v8 #app .v8-strip > .v8-facts > li.v8-strip-a { align-items: center; }
#v8 #app .v8-strip .v8-facts .v8-strip-f, #v8 #app .v8-strip > .v8-facts > li:not(:has(> .v8-strip-f)) { display: flex; flex-direction: column; gap: var(--v8-1); min-width: 0; max-width: none; color: var(--v8-ink); }
#v8 #app .v8-strip :is(.v8-f28, .v8-f40) { color: var(--v8-deep) !important; font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; font-weight: 700 !important; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
/* The label only: a span straight in the cell or its figure block, never one inside the figure's <b> (round j: it greyed a notice's
   date figure) */
#v8 #app .v8-strip .v8-facts li > span:not(.v8-strip-f):not(.v8-strip-art), #v8 #app .v8-strip .v8-facts .v8-strip-f > span { max-width: none; color: var(--v8-ink-2); }
/* With the ring (or another visual) in the first of three cells, that cell gets a quarter more room for its label beside the art
   (round j: Policies' hero 428 at 1440, the spec's measure; at 1024 the third cell's label still wraps to three lines) */
@media (min-width: 640px) { #v8 #app .v8-strip > .v8-facts-3:has(> li.v8-strip-a:first-child) { grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); } }
#v8 #app .v8-strip-art { flex: none; display: block; width: 72px; height: 72px; }
#v8 #app .v8-strip-art > :is(svg, img) { display: block; width: 100% !important; height: 100% !important; }
@media (max-width: 639px) {
  #v8 #app .v8-plate.v8-strip { padding: var(--v8-4); }
  #v8 #app .v8-strip > .v8-facts > li { padding: 0 var(--v8-3); }
  #v8 #app .v8-strip-art { width: 56px; height: 56px; }
  #v8 #app .v8-strip > .v8-facts-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--v8-4); }
  #v8 #app .v8-strip > .v8-facts-3 > li:first-child { grid-column: 1 / -1; padding: 0 0 var(--v8-4); box-shadow: inset 0 -1px 0 var(--v8-line); }
  #v8 #app .v8-strip > .v8-facts-3 > li:nth-child(2) { padding-left: 0; box-shadow: none; }
  /* Two cells, the first with a visual (the just-joined Policies' ring): a half cell can't hold the ring and its figure, so the
     second cell goes under the first (moved here from policies.css, round j) */
  #v8 #app .v8-strip > .v8-facts-2:has(> li.v8-strip-a:first-child) { grid-template-columns: minmax(0, 1fr); row-gap: var(--v8-4); }
  #v8 #app .v8-strip > .v8-facts-2:has(> li.v8-strip-a:first-child) > li:first-child { padding: 0 0 var(--v8-4); box-shadow: inset 0 -1px 0 var(--v8-line); }
  #v8 #app .v8-strip > .v8-facts-2:has(> li.v8-strip-a:first-child) > li:nth-child(2) { padding-left: 0; box-shadow: none; }
}

/* The label stays under its figure at every width (18 October 2026, night: from 480 to 759 the label sat beside the figure, 19 px
   lower, against the "labels under figures" rule; the plate is a little taller at 1024 instead) */
/* The status plate: the figure and its label, 16, then the sentence (a stray brace here dropped this rule until 18 October) */
#v8 #app .v8-status-t { margin-top: var(--v8-4); color: var(--v8-ink); }
#v8 #app .v8-status .v8-acts { margin-top: var(--v8-5); }
#v8 #app .v8-status .v8-track { margin-top: var(--v8-6); }
/* The track: equal columns, a 32 dot, the name, its date; vertical below 640 (and always with .v8-track-v) */
#v8 #app .v8-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
#v8 #app .v8-track li { position: relative; display: grid; align-content: start; gap: 4px; padding-right: var(--v8-4); }
#v8 #app .v8-track li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 40px; right: 8px; height: 2px; border-radius: 1px; background: var(--v8-line); }
#v8 #app .v8-track li.done:not(:last-child)::after { background: var(--v8-green); }
#v8 #app .v8-dot { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 50%; background: var(--v8-white); box-shadow: inset 0 0 0 2px var(--v8-off); color: var(--v8-white); }
#v8 #app .v8-dot svg.i { width: 20px; height: 20px; }
#v8 #app .v8-track .done .v8-dot { background: var(--v8-green); box-shadow: none; }
#v8 #app .v8-track .now .v8-dot { box-shadow: inset 0 0 0 3px var(--v8-green); }
#v8 #app .v8-track .now .v8-dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--v8-green); }
#v8 #app .v8-sn { color: var(--v8-ink); }
#v8 #app .v8-track .now .v8-sn { font-weight: 700 !important; }
#v8 #app .v8-sd { color: var(--v8-ink-2); }
#v8 #app .v8-track :is(.v8-sn, .v8-sd) { overflow-wrap: normal; }
#v8 #app .v8-track-v { grid-auto-flow: row; gap: var(--v8-5); }
#v8 #app .v8-track-v li { padding: 4px 0 0 48px; min-height: 56px; }
#v8 #app .v8-track-v .v8-dot { position: absolute; left: 0; top: 0; margin: 0; }
#v8 #app .v8-track-v li:not(:last-child)::after { top: 40px; bottom: -16px; left: 15px; right: auto; width: 2px; height: auto; }
@media (max-width: 639px) {
  #v8 #app .v8-track { grid-auto-flow: row; gap: var(--v8-5); }
  #v8 #app .v8-track li { padding: 4px 0 0 48px; min-height: 56px; }
  #v8 #app .v8-track .v8-dot { position: absolute; left: 0; top: 0; margin: 0; }
  #v8 #app .v8-track li:not(:last-child)::after { top: 40px; bottom: -16px; left: 15px; right: auto; width: 2px; height: auto; }
}

/* ---------- 8. Sections, groups, the insight, the band (sections 6, 18) ---------- */
#v8 #app .v8-sec, #v8 #app .v8-ins-w, #v8 #app .v8-band { margin-top: var(--v8-sec) !important; }
#v8 #app .v8-sh { display: block; }
#v8 #app .v8-sh .v8-line { margin-top: var(--v8-3); }
#v8 #app .v8-sh-a { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--v8-4) var(--v8-5); }
#v8 #app .v8-sh + * { margin-top: var(--v8-5) !important; }
#v8 #app .v8-group { margin-top: var(--v8-group); }
#v8 #app .v8-group > .v8-line { margin-top: var(--v8-2); }
#v8 #app .v8-group > .v8-h3 + :not(.v8-line), #v8 #app .v8-group > .v8-line + * { margin-top: var(--v8-4); }
#v8 #app .v8-nc { display: grid; gap: var(--v8-3); }
#v8 #app .v8-nc li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--v8-3); align-items: start; }
#v8 #app .v8-nc svg.i { width: 20px; height: 20px; margin-top: 2px; color: var(--v8-ink-2); }

/* ---------- The Fennia insight (README 37; the new anatomy 20 October 2026) ----------
   Janne, 20 October 2026, with a a reference reference: "this has good aesthetic to communicate this is an insight. u still havent
   figured out nice styling in thos insights". One horizontal white card, 16 corners, a 1 px pale olive edge (--v8-insight-edge).
   On its left a 120 wide pale lime panel (--v8-insight-panel) with the mark at 44 in deep green and "Fennia Insight" (12 Bold deep
   green) under it, and a notch on the panel's right edge pointing at the words. Then the finding (20 Bold deep green), at most one
   figure (28 Regular ink, its label beside it), one sentence (16 ink). The chart, if any, under the words across the card. The one
   action is the round 48 green arrow at the right, level with the words.
   Markup (V8.insight): section.v8-ins.v8-insx > .v8-ins-main (.v8-ins-head > h.v8-ins-t, .v8-ins-fig, .v8-ins-text),
   p.v8-ins-pan (.v8-ins-pmk, .v8-ins-pl), .v8-ins-chart, .v8-ins-go (.v8-ins-gow or .sr, .v8-ins-goc). .v8-ins-ch has a chart,
   .v8-ins-one is one card-wide link. The rules start at .v8-ins-w > section.v8-ins.v8-insx so the older per-page grids (home.css)
   never reach the new card. Sizes from the card's own width (.v8-ins-w is the container): the side panel from 560, a top strip
   below (phones, side columns). Type never changes in a query */
#v8 #app .v8-ins-w { container: v8ins / inline-size; min-width: 0; }
#v8 #app :is(.v8-grid, .v8-stack, .v8-pair) > li > .v8-ins-w, #v8 #app :is(.v8-pair, .v8-band-aside) > .v8-ins-w { margin-top: 0 !important; }
#v8 #app :is(div, li):not(.page-in) > .v8-ins-w:first-child { margin-top: 0 !important; }
#v8 #app .v8-group > .v8-ins-w { margin-top: var(--v8-4) !important; }
#v8 #app .v8-ins-w > section.v8-ins.v8-insx {
  position: relative; display: grid; align-items: stretch; height: 100%; margin: 0 !important; padding: 0; gap: 0;
  grid-template-columns: 120px minmax(0, 1fr) auto; grid-template-rows: auto auto;
  grid-template-areas: "pan main go" "pan chart chart";
  border: 1px solid var(--v8-insight-edge); border-radius: var(--v8-r) !important; background: var(--v8-insight-card) !important; box-shadow: none; color: var(--v8-ink);
  transition: background-color .16s ease-out;
}
#v8 #app .v8-insx > .v8-ins-main { grid-area: main; align-self: center; min-width: 0; padding: var(--v8-5) var(--v8-5) var(--v8-5) var(--v8-6); }
#v8 #app .v8-insx.v8-ins-hasgo > .v8-ins-main { padding-right: var(--v8-5); }
#v8 #app .v8-insx.v8-ins-ch > .v8-ins-main { padding-bottom: 0; }
/* The panel: the card's left edge, full height, its corners inside the card's (16 outside, the 1 px edge, so 15); the mark and the
   words centred on the first row (the words), the notch level with them. Subgrid, so the first row is the words' row */
#v8 #app .v8-insx > .v8-ins-pan { position: relative; grid-area: pan; grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; justify-items: center; min-height: 120px; max-width: none; margin: 0; padding: 0; border-radius: calc(var(--v8-r) - 1px) 0 0 calc(var(--v8-r) - 1px); background: var(--v8-insight-panel); color: var(--v8-deep); }
#v8 #app .v8-ins-pan { grid-template-columns: minmax(0, 1fr); }
#v8 #app .v8-ins-pan::before { content: ""; grid-row: 1; grid-column: 1; align-self: center; justify-self: end; width: 18px; height: 18px; margin-right: -9px; background: var(--v8-insight-panel); transform: rotate(45deg); border-radius: 2px; }
#v8 #app .v8-ins-pin { grid-row: 1; grid-column: 1; align-self: center; display: grid; justify-items: center; gap: var(--v8-2); padding: var(--v8-5) var(--v8-2); }
#v8 #app .v8-ins-pmk { display: grid; place-items: center; width: 44px; height: 44px; }
#v8 #app .v8-ins-pmk svg.i { width: 44px; height: 44px; color: var(--v8-deep); fill: currentColor; }
#v8 #app .v8-ins-pl { color: var(--v8-deep); font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 700 !important; text-align: center; white-space: nowrap; }
/* The words: the finding, the figure, the sentence */
#v8 #app .v8-ins-head { display: block; min-width: 0; }
#v8 #app .v8-ins-t { max-width: 44ch; margin: 0; color: var(--v8-deep) !important; font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; letter-spacing: -0.01em; text-wrap: balance; }
#v8 #app .v8-ins-fig { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--v8-2); max-width: none; margin: var(--v8-3) 0 0; }
#v8 #app .v8-ins-fig > b { color: var(--v8-ink) !important; font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; font-weight: 400 !important; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
#v8 #app .v8-ins-fig > span { color: var(--v8-ink) !important; }
#v8 #app .v8-ins-text { max-width: 60ch; margin-top: var(--v8-2); }
#v8 #app .v8-ins-fig + .v8-ins-text { margin-top: var(--v8-2); }
#v8 #app .v8-ins-text p { margin: 0; color: var(--v8-ink) !important; }
#v8 #app .v8-ins-text p + p { margin-top: var(--v8-2); }
#v8 #app .v8-ins-text .v8-ins-fine { color: var(--v8-ink) !important; }
/* The chart: under the words, across the card to the action's edge, calm: no panel of its own, a hairline above it */
#v8 #app .v8-insx > .v8-ins-chart { grid-area: chart; min-width: 0; margin: var(--v8-5) var(--v8-6) var(--v8-6); padding: var(--v8-5) 0 0; border-top: 1px solid var(--v8-line); border-radius: 0; background: none; box-shadow: none; }
/* The action: Fennia's round arrow, 48, green with a white arrow; its words beside it when it changes something */
#v8 #app .v8-insx > .v8-ins-go { grid-area: go; align-self: center; justify-self: end; display: inline-flex; align-items: center; gap: var(--v8-3); min-height: 48px; margin: var(--v8-5) var(--v8-6) var(--v8-5) 0; padding: 0; border: 0; border-radius: var(--v8-r-pill); background: none; color: var(--v8-green-t); font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; text-decoration: none; cursor: pointer; }
#v8 #app .v8-insx.v8-ins-ch > .v8-ins-go { margin-bottom: 0; }
#v8 #app .v8-ins-gow { max-width: 14em; text-align: right; text-wrap: balance; }
#v8 #app .v8-ins-goc { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--v8-green); color: var(--v8-white); transition: background-color .16s ease-out; }
#v8 #app .v8-ins-goc svg.i { width: 24px; height: 24px; color: var(--v8-white); fill: currentColor; }
#v8 #app .v8-ins-go:focus-visible { outline: none !important; }
#v8 #app .v8-ins-go:focus-visible .v8-ins-goc { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .v8-ins-go.v8-ins-go-w:focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .v8-ins-go.v8-ins-go-w:focus-visible .v8-ins-goc { outline: none; }
@media (hover: hover) {
  #v8 #app .v8-ins-go:hover .v8-ins-goc { background: var(--v8-deep); }
  #v8 #app .v8-ins-go:hover .v8-ins-gow { text-decoration: underline; text-underline-offset: 3px; }
}
/* One action, a link, no chart: the whole card is the link (its arrow stretched over the card), the green wash on hover */
#v8 #app .v8-ins-one > .v8-ins-go::after { content: ""; position: absolute; inset: -1px; border-radius: var(--v8-r); }
@media (hover: hover) { #v8 #app .v8-ins-w > section.v8-ins.v8-ins-one:hover { background: var(--v8-hover) !important; } }
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-ins, #v8 #app .v8-ins-goc { transition: none; } }
/* A middling card (560 to 799): an action with its words would squeeze the words into a narrow column, so it takes its own row
   under the sentence, the disc at the right; the panel still spans the card */
@container v8ins (min-width: 560px) and (max-width: 799px) {
  #v8 #app .v8-ins-w > section.v8-ins.v8-insx:has(> .v8-ins-go-w) { grid-template-rows: auto auto auto; grid-template-areas: "pan main main" "pan go go" "pan chart chart"; }
  #v8 #app .v8-insx:has(> .v8-ins-go-w) > .v8-ins-main { padding-bottom: 0; }
  #v8 #app .v8-insx > .v8-ins-go.v8-ins-go-w { margin: var(--v8-4) var(--v8-6) var(--v8-5) 0; }
  #v8 #app .v8-insx.v8-ins-ch > .v8-ins-go.v8-ins-go-w { margin-bottom: 0; }
}
/* Narrow cards (phones, side columns): the panel is a strip across the top, the mark and the words in a row, the notch pointing
   down at the finding; the arrow beside the words, the chart under them */
@container v8ins (max-width: 559px) {
  #v8 #app .v8-ins-w > section.v8-ins.v8-insx { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; grid-template-areas: "pan pan" "main go" "chart chart"; }
  #v8 #app .v8-insx > .v8-ins-pan { grid-row: auto; display: block; justify-items: normal; min-height: 0; padding: 0; border-radius: calc(var(--v8-r) - 1px) calc(var(--v8-r) - 1px) 0 0; }
  #v8 #app .v8-ins-pan::before { position: absolute; left: calc(var(--v8-5) + 7px); bottom: -9px; margin: 0; }
  #v8 #app .v8-ins-pin { display: flex; align-items: center; justify-self: stretch; gap: var(--v8-2); padding: var(--v8-2) var(--v8-5); }
  #v8 #app .v8-ins-pmk { width: 32px; height: 32px; }
  #v8 #app .v8-ins-pmk svg.i { width: 32px; height: 32px; }
  #v8 #app .v8-ins-pl { text-align: left; }
  #v8 #app .v8-insx > .v8-ins-main { padding: var(--v8-5) var(--v8-4) var(--v8-5) var(--v8-5); }
  #v8 #app .v8-insx.v8-ins-ch > .v8-ins-main { padding-bottom: 0; }
  #v8 #app .v8-insx > .v8-ins-go { margin: var(--v8-5) var(--v8-5) var(--v8-5) 0; }
  #v8 #app .v8-insx.v8-ins-ch > .v8-ins-go { margin-bottom: 0; }
  #v8 #app .v8-insx > .v8-ins-chart { margin: var(--v8-5) var(--v8-5) var(--v8-5); }
  /* An action with its words takes its own row under the sentence, the disc at the right */
  #v8 #app .v8-ins-w > section.v8-ins.v8-insx:has(> .v8-ins-go-w) { grid-template-areas: "pan pan" "main main" "go go" "chart chart"; }
  #v8 #app .v8-insx > .v8-ins-go.v8-ins-go-w { justify-self: end; margin: var(--v8-4) var(--v8-5) var(--v8-5); }
  #v8 #app .v8-insx.v8-ins-ch > .v8-ins-go.v8-ins-go-w { margin-bottom: 0; }
  #v8 #app .v8-insx:has(> .v8-ins-go-w) > .v8-ins-main { padding-bottom: 0; }
}
/* The cover status words defined (V8.fitDefs, round Q): one quiet list at the foot of a coverage table, each word Bold in ink and
   its meaning in secondary on the same line */
#v8 #app .v8-fitdefs { display: grid; gap: 2px; margin: 0; color: var(--v8-ink-2); }
#v8 #app .v8-fitdefs > div { max-width: var(--v8-measure); }
#v8 #app .v8-fitdefs :is(dt, dd) { display: inline; margin: 0; }
#v8 #app .v8-fitdefs dt { color: var(--v8-ink); font-weight: 700 !important; }
/* How often a case happens (V8.often, round T): three 6 px dots, the filled ones the data blue (4,65:1), the empty ones a 1 px
   edge ring (6,48:1), then the word. Data, so never green; the word says it, the dots are aria-hidden */
#v8 #app .v8-often { display: inline-flex; align-items: center; gap: var(--v8-2); color: var(--v8-ink-2); }
#v8 #app .v8-often-d { display: inline-flex; gap: 3px; flex: none; }
#v8 #app .v8-often-d > i { display: block; width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--v8-data-edge); }
#v8 #app .v8-often-d > i.on { background: var(--v8-data-1); box-shadow: none; }
@media (forced-colors: active) { #v8 #app .v8-often-d > i { forced-color-adjust: none; box-shadow: inset 0 0 0 1px CanvasText; } #v8 #app .v8-often-d > i.on { background: CanvasText; } }
/* The inline mark (V8.insNote): a fact from Fennia's data inside a card she owns; the 24 mark (its icon 16) before the line */
#v8 #app .v8-ins-note { display: flex; align-items: flex-start; gap: var(--v8-2); color: var(--v8-ink); }
#v8 #app .v8-ins-mark-24 { width: 24px; height: 24px; }
#v8 #app .v8-ins-mark-24 svg.i { width: 16px; height: 16px; }
/* Forced colours: the pale lime is gone, so the transparent border becomes the card's frame; the mark, the tag and the bars keep
   their colours */
@media (forced-colors: active) {
  #v8 #app .v8-ins { border-color: CanvasText; }
  #v8 #app :is(.v8-ins-mark, .v8-ins .v8-tag, .v8-tag-ins) { forced-color-adjust: none; }
  #v8 #app .v8-ins-pan { border-right: 1px solid CanvasText; }
  #v8 #app .v8-ins-goc { forced-color-adjust: none; background: ButtonText; color: ButtonFace; }
}

/* ---------- The charts (V8.bars, V8.pairBars, V8.gapChart, V8.donut, V8.area, V8.splitBar; README 17 and 30) ----------
   One look, from Janne's references (a sales pipeline dashboard, two health dashboards): a caption in 16 secondary and the legend
   on one line above the plot, dashed light gridlines (#DDDDDD) where a chart has a scale, axis labels 12 gray (#5E5E5E, 6,5:1),
   flat fills, bars with 4 corners. Since 18 October 2026 (Janne: "There should be some token colors because data ... shouldn't
   be just different shades of green because that's not accessible") every mark takes Fennia's data colours, never the greens:
   README 30 has the rules. Every value is written in words beside its mark or in the screen reader's table; nothing in a chart
   hovers except a donut legend row that is a link */
/* The greens stay tokens for UI only (buttons, links, selection, the meters). No chart class points at them any more */
#v8 :is(#app, .v8-dlgw) { --v8-t-deep: #004C07; --v8-t-green: #008A28; --v8-t-mid: #2EAA4A; --v8-t-soft: #8ADC94; --v8-t-pale: #D5F7D7; }
/* The data classes: each sets --t (the fill) and --t-edge, and paints the element it sits on (background for HTML, fill for SVG).
   d3, d4 and d5 are under 3:1 on white, the gray card and the mint, so they carry the 1 px #5E5E5E inside edge; a swatch the same.
   base and yours are the roles (data-1 and data-2). The older tone words still used by a caller map onto the data colours, so
   no chart can draw green: deep, green and mid are base; soft and pale are data-4 with its edge */
#v8 :is(#app, .v8-dlgw) :is(.v8-t-d1, .v8-t-base, .v8-t-deep, .v8-t-green, .v8-t-mid) { --t: var(--v8-data-base); --t-edge: none; }
#v8 :is(#app, .v8-dlgw) .v8-t-d1 { --t: var(--v8-data-1); }
#v8 :is(#app, .v8-dlgw) :is(.v8-t-d2, .v8-t-yours) { --t: var(--v8-data-yours); --t-edge: none; }
#v8 :is(#app, .v8-dlgw) .v8-t-d2 { --t: var(--v8-data-2); }
#v8 :is(#app, .v8-dlgw) .v8-t-d3 { --t: var(--v8-data-3); --t-edge: inset 0 0 0 1px var(--v8-data-edge); }
#v8 :is(#app, .v8-dlgw) :is(.v8-t-d4, .v8-t-soft, .v8-t-pale) { --t: var(--v8-data-4); --t-edge: inset 0 0 0 1px var(--v8-data-edge); }
#v8 :is(#app, .v8-dlgw) .v8-t-d5 { --t: var(--v8-data-5); --t-edge: inset 0 0 0 1px var(--v8-data-edge); }
#v8 :is(#app, .v8-dlgw) .v8-t-d6 { --t: var(--v8-data-6); --t-edge: none; }
#v8 :is(#app, .v8-dlgw) :is(.v8-t-d1, .v8-t-d2, .v8-t-d3, .v8-t-d4, .v8-t-d5, .v8-t-d6, .v8-t-base, .v8-t-yours, .v8-t-deep, .v8-t-green, .v8-t-mid, .v8-t-soft, .v8-t-pale) {
  background: var(--t); fill: var(--t); box-shadow: var(--t-edge); }
/* What stays with her: the hatch, always with the edge (README 30 rule 5). Only .v8-t-left: the spec's .v8-left is the green
   moment's left-align class (base.css, Green moment), so the hatch never takes that name (integration, 18 October 2026) */
#v8 :is(#app, .v8-dlgw) .v8-t-left { --t: var(--v8-data-left), var(--v8-data-gap); --t-edge: inset 0 0 0 1px var(--v8-data-edge);
  background: var(--v8-data-left), var(--v8-data-gap); box-shadow: var(--t-edge); }
/* .v8-edge adds the edge to any mark (a d1 or d2 mark on a ground where it falls under 3:1) */
#v8 :is(#app, .v8-dlgw) .v8-edge { --t-edge: inset 0 0 0 1px var(--v8-data-edge); box-shadow: var(--t-edge); }
#v8 #app .v8-t-line { --t: var(--v8-line); }
#v8 #app .v8-chart { min-width: 0; margin: 0; container-type: inline-size; }
/* An area chart under 440 wide names only its first and last points, so the months never run into each other */
@container (max-width: 439px) { #v8 #app .v8-ch-xa > span:not(:first-child):not(:last-child) { display: none; } }
#v8 #app .v8-ch-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--v8-2) var(--v8-5); margin-bottom: var(--v8-5); }
#v8 #app .v8-ins-tx .v8-ch-cap, #v8 #app .v8-ch-cap { margin: 0; color: var(--v8-ink-2) !important; }
#v8 :is(#app, .v8-dlgw) .v8-key { display: flex; flex-wrap: wrap; gap: var(--v8-1) var(--v8-4); margin: 0; padding: 0; list-style: none; color: var(--v8-ink); }
#v8 :is(#app, .v8-dlgw) .v8-key li { display: inline-flex; align-items: center; gap: var(--v8-2); }
/* The swatch: 12 square, radius 3, in its mark's class; the hatch's swatch is 24 wide so its lines can be read */
#v8 :is(#app, .v8-dlgw) .v8-sw { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--t, var(--v8-data-base)); box-shadow: var(--t-edge, none); }
#v8 :is(#app, .v8-dlgw) .v8-sw.v8-t-left { width: 24px; }
/* The vertical plot: the y labels in a 48 column at the left, the plot --h tall, the x labels under it */
#v8 #app .v8-ch-plot { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: var(--h, 200px) auto; }
#v8 #app .v8-ch-grid { position: absolute; inset: 0 0 auto 0; height: var(--h, 200px); }
#v8 #app .v8-ch-grid > span { position: absolute; left: 48px; right: 0; height: 0; border-top: 1px dashed var(--v8-line); }
#v8 #app .v8-ch-grid em { position: absolute; right: calc(100% + 8px); top: -8px; color: var(--v8-ink-2); font-style: normal; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
#v8 #app .v8-ch-cols { position: relative; grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); height: var(--h, 200px); }
#v8 #app .v8-ch-g { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 100%; padding: 0 12%; }
#v8 #app .v8-ch-g > i { flex: 0 1 32px; min-width: 6px; border-radius: 4px 4px 0 0; background: var(--t, var(--v8-data-base)); box-shadow: var(--t-edge, none); }
#v8 #app .v8-ch-x { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); padding-top: var(--v8-2); }
/* The group names wrap only at spaces, never inside a word (review, 18 October 2026: "Your inco / me", "Disput / es") */
#v8 #app .v8-ch-x > span { padding: 0 2px; color: var(--v8-ink-2); text-align: center; overflow-wrap: normal; word-break: keep-all; hyphens: manual; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; }
#v8 #app .v8-ch-x > .v8-ch-mark { color: var(--v8-ink); font-weight: 700 !important; }

/* The split bar (V8.splitBar; V8.pairBars and V8.gapChart draw one per case): what a policy pays, then what stays with her, on one
   euro scale. 16 high, each part radius 4, the parts parted by 2 px of white (--v8-data-gap), every part at least 4 wide. There is
   no track behind it: the bar ends where the case's cost ends, so a longer bar is a bigger amount. The parts share the bar's width
   by their amounts (flex-grow from 0), so the 2 px gap never pushes the bar past its length */
#v8 :is(#app, .v8-dlgw) .v8-sb-b { display: flex; gap: 2px; height: 16px; min-width: 8px; max-width: 100%; }
#v8 :is(#app, .v8-dlgw) .v8-sb-b > i { display: block; flex: var(--g, 1) 1 0; min-width: 4px; height: 100%; border-radius: 4px; }
/* The stacked cases (V8.pairBars, V8.gapChart): a row per case, its name and its two amounts on one line (under each other when
   narrow), the split bar under them. The marked case's name is Bold ink, the others 16 secondary */
#v8 #app .v8-sb-l { display: grid; gap: var(--v8-4); margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-sb-r { display: grid; gap: var(--v8-2); min-width: 0; }
#v8 #app .v8-sb-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 var(--v8-4); min-width: 0; }
#v8 #app .v8-sb-v { text-align: right; }
/* In a narrow chart the amounts go under the name, so a long name never squeezes into a sliver */
@container (max-width: 459px) { #v8 #app .v8-sb-h { grid-template-columns: minmax(0, 1fr); } #v8 #app .v8-sb-v { text-align: left; } }
/* ... and what stays with her takes a line of its own in every row, so the rows read alike instead of wrapping where each happens to
   run out of room (18 October 2026, night: Home's insight at 390) */
@container (max-width: 459px) { #v8 #app .v8-sb-nw { display: block; } }
#v8 #app .v8-sb-n { color: var(--v8-ink-2); }
#v8 #app .v8-sb-n.v8-ch-mark { color: var(--v8-ink); font-weight: 700 !important; }
#v8 #app .v8-sb-v { color: var(--v8-ink); font-variant-numeric: tabular-nums; }
#v8 #app .v8-sb-v b { font-weight: 700 !important; white-space: nowrap; }
#v8 #app .v8-sb-nw { white-space: nowrap; }

/* The area: the line 2 in data-base, a flat data-4 fill at half strength (decoration: the line carries the 3:1), white dots ringed
   in data-base on the points, the marked one solid */
#v8 #app .v8-ch-area .v8-ch-cols { display: block; }
#v8 #app .v8-ch-area svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#v8 #app .v8-ar-f { fill: var(--v8-data-4); fill-opacity: .5; stroke: none; }
#v8 #app .v8-ar-l { fill: none; stroke: var(--v8-data-base); stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
#v8 #app .v8-ar-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--v8-white); box-shadow: inset 0 0 0 2px var(--v8-data-base); }
#v8 #app .v8-ar-mark { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--v8-data-base); box-shadow: 0 0 0 2px var(--v8-white); }
#v8 #app .v8-ch-xa { position: relative; display: block; height: 24px; }
#v8 #app .v8-ch-xa > span { position: absolute; top: var(--v8-2); transform: translateX(-50%); white-space: nowrap; }
#v8 #app .v8-ch-xa > span:first-child { transform: none; }
#v8 #app .v8-ch-xa > span:last-child { transform: translateX(-100%); }

/* The donut (V8.donut): one filled annular path per part (not a stroked circle, so a light part can carry its edge), largest first,
   clockwise from 12, data-1 onwards; the parts parted by an even 2 px of white at every radius (the sides moved in by 1 px,
   parallel to the radius). d3 to d5 carry the 1 px edge (a 2 px stroke clipped to the part). --dn is the size: 160 by default
   (20 thick), 240 on a plate (28 thick). The figure in its middle is Fennia's deep green, Bold, 28 at 160 and 40 at 240 (no size
   changes with the window: the size is the helper's option); the lines under it 16 secondary. The legend beside it (under it in a
   narrow container): a swatch, the name, the value at the right in Bold */
#v8 #app .v8-dn-b { --dn: 160px; container-type: inline-size; display: grid; grid-template-columns: var(--dn) minmax(0, 1fr); gap: var(--v8-6); align-items: center; }
#v8 #app .v8-dn-240 .v8-dn-b { --dn: 240px; }
@container (max-width: 419px) { #v8 #app .v8-dn-b > * { grid-column: 1 / -1; } #v8 #app .v8-dn-r { justify-self: center; } }
@container (max-width: 519px) { #v8 #app .v8-dn-240 .v8-dn-b > * { grid-column: 1 / -1; } #v8 #app .v8-dn-240 .v8-dn-r { justify-self: center; } }
#v8 #app .v8-dn-r { position: relative; width: var(--dn, 160px); height: var(--dn, 160px); }
#v8 #app .v8-dn-r svg { display: block; width: 100%; height: 100%; }
#v8 #app .v8-dn-r .v8-dn-e { fill: none; stroke: var(--v8-data-edge); stroke-width: 2; }
#v8 #app .v8-dn-c { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; text-align: center; }
#v8 #app .v8-dn-c b { display: block; color: var(--v8-deep); font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; font-weight: 700 !important; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
#v8 #app .v8-dn-240 .v8-dn-c b { font-size: var(--v8-fs-40) !important; line-height: var(--v8-lh-40) !important; letter-spacing: -0.02em; }
#v8 #app .v8-dn-c > span { display: block; color: var(--v8-ink-2); }
#v8 #app .v8-dn-l { display: grid; margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-dn-l > li + li { border-top: 1px solid var(--v8-line); }
#v8 #app .v8-dn-l > li, #v8 #app .v8-dn-a { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: baseline; gap: var(--v8-3); padding: 10px 0; color: var(--v8-ink); text-decoration: none; }
#v8 #app .v8-dn-l > li:has(> .v8-dn-a) { display: block; padding: 0; }
#v8 #app .v8-dn-l .v8-sw { align-self: center; }
#v8 #app .v8-dn-v { font-weight: 700 !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
#v8 #app .v8-dn-a { min-height: 44px; border-radius: var(--v8-r-sm); }
#v8 #app .v8-dn-a .v8-dn-n { color: var(--v8-green-t); text-decoration: underline; text-decoration-color: rgba(0, 112, 11, .4); text-underline-offset: 3px; }
@media (hover: hover) { #v8 #app .v8-dn-a:hover { background: var(--v8-hover); box-shadow: -8px 0 0 var(--v8-hover), 8px 0 0 var(--v8-hover); } #v8 #app .v8-dn-a:hover .v8-dn-n { text-decoration-color: currentColor; } }
#v8 #app .v8-dn-a:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
/* The one bars helper (V8.bars, and V8.pairBars and V8.gapChart through it; README 37): 2 to 4 rows on one scale. The caption
   (16 secondary) and the key on one line above the rows, 16 above them; each row's name (ink, Bold for her own row) and value
   (the amounts Bold) on one line, wrapping under each other when narrow; its 12 high bar 8 under them; rows 16 apart. The bar
   has no track: it ends where its amount ends. Its parts share its width by their amounts, 2 apart, radius 2, each at least 2
   wide. No axis, no gridlines: every value is written */
#v8 #app .v8-rb-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--v8-1) var(--v8-5); margin-bottom: var(--v8-4); }
#v8 #app .v8-rb-cap { margin: 0; color: var(--v8-ink-2) !important; }
#v8 #app .v8-rb-rows { display: grid; gap: var(--v8-4); margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-rb-r { display: grid; gap: var(--v8-2); min-width: 0; }
#v8 #app .v8-rb-t { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--v8-4); min-width: 0; }
#v8 #app .v8-rb-n { min-width: 0; color: var(--v8-ink); }
#v8 #app .v8-rb-you .v8-rb-n { font-weight: 700 !important; }
#v8 #app .v8-rb-v { color: var(--v8-ink); font-variant-numeric: tabular-nums; text-align: right; }
#v8 #app .v8-rb-v b { font-weight: 700 !important; white-space: nowrap; }
#v8 #app .v8-rb-nw { white-space: nowrap; }
#v8 #app .v8-rb-track { display: block; height: 12px; }
#v8 :is(#app, .v8-dlgw) .v8-rb-bar { display: flex; gap: 2px; height: 100%; min-width: 2px; max-width: 100%; }
#v8 :is(#app, .v8-dlgw) .v8-rb-bar > i { display: block; flex: var(--g, 1) 1 0; min-width: 2px; height: 100%; border-radius: 2px; }
/* A narrow chart: the value under the name, left-aligned */
@container (max-width: 359px) { #v8 #app .v8-rb-v { text-align: left; } }
/* Forced colours: fills turn into CanvasText and the hatch keeps its lines and edge, so paid and left still differ by shape; the
   ring's parts stay parted by their gaps */
@media (forced-colors: active) {
  #v8 :is(#app, .v8-dlgw) :is(.v8-t-d1, .v8-t-d2, .v8-t-d3, .v8-t-d4, .v8-t-d5, .v8-t-d6, .v8-t-base, .v8-t-yours, .v8-t-deep, .v8-t-green, .v8-t-mid, .v8-t-soft, .v8-t-pale) { forced-color-adjust: none; background: CanvasText; fill: CanvasText; }
  #v8 :is(#app, .v8-dlgw) .v8-t-left { forced-color-adjust: none; background: repeating-linear-gradient(-45deg, CanvasText 0 1.5px, Canvas 1.5px 5px); box-shadow: inset 0 0 0 1px CanvasText; }
  #v8 #app :is(.v8-ar-l, .v8-dn-e) { stroke: CanvasText; }
}

/* Suggestions (V8.suggestions, 18 October 2026): a short quiet list, each row one sentence and one link at its end. A white card on
   the mint hero, gray on the white page; a hairline between rows; only the link hovers */
#v8 #app .v8-sugs { padding: var(--v8-5) var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-hero .v8-sugs { background: var(--v8-white); }
#v8 #app .v8-hero-tx > .v8-sugs { margin-top: var(--v8-6); max-width: 760px; }
#v8 #app .v8-sugs > .v8-cn + .v8-sug { margin-top: var(--v8-2); }
#v8 #app .v8-sug { margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-sug li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--v8-1) var(--v8-5); align-items: center; padding: var(--v8-3) 0; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-sug li:first-child { border-top: 0; }
#v8 #app .v8-sug li:has(> .v8-sug-ic) { grid-template-columns: 24px minmax(0, 1fr) auto; gap: var(--v8-1) var(--v8-4); }
#v8 #app .v8-sug-ic { display: grid; place-items: center; width: 24px; height: 24px; color: var(--v8-deep); }
#v8 #app .v8-sug-ic svg.i { width: 24px; height: 24px; }
#v8 #app .v8-sug-t { color: var(--v8-ink); }
#v8 #app .v8-sug .v8-sug-a { justify-self: end; min-height: 44px; white-space: nowrap; }
@media (max-width: 639px) {
  #v8 #app .v8-sugs { padding: var(--v8-4) var(--v8-5); }
  #v8 #app .v8-sug li, #v8 #app .v8-sug li:has(> .v8-sug-ic) { grid-template-columns: minmax(0, 1fr); align-items: start; }
  #v8 #app .v8-sug li:has(> .v8-sug-ic) { grid-template-columns: 24px minmax(0, 1fr); }
  #v8 #app .v8-sug li:has(> .v8-sug-ic) .v8-sug-a { grid-column: 2; }
  #v8 #app .v8-sug .v8-sug-a { justify-self: start; white-space: normal; }
}
/* Home's case tiles in the insight's wide row: five across from 1280, three below, rows below 768 */
#v8 #app .v8-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--v8-cards); }
#v8 #app .v8-tiles li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--v8-2); padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-white); color: var(--v8-ink); }
#v8 #app .v8-tiles li.v8-gap { box-shadow: inset 0 0 0 3px var(--v8-lime); }
#v8 #app .v8-tile-n { font-size: var(--v8-fs-16) !important; font-weight: 700 !important; }
#v8 #app .v8-tile-l { color: var(--v8-ink-2); }
#v8 #app .v8-tile-f { margin-top: auto; padding-top: var(--v8-2); color: var(--v8-ink); }
#v8 #app .v8-tile-f :is(b, .nw) { white-space: nowrap; }
#v8 #app .v8-tiles .v8-badge { margin-top: var(--v8-1); }
@media (max-width: 1279px) { #v8 #app .v8-tiles { 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-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 767px) {
  #v8 #app .v8-tiles { grid-template-columns: minmax(0, 1fr); gap: var(--v8-2); }
  #v8 #app .v8-tiles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--v8-1) var(--v8-4); padding: var(--v8-4); }
  #v8 #app .v8-tile-n, #v8 #app .v8-tile-l { grid-column: 1 / -1; }
  #v8 #app .v8-tile-f { margin: 0; padding: 0; }
  #v8 #app .v8-tiles .v8-badge { margin: 0; justify-self: end; }
}

/* The gray paperwork band: full bleed, last on the page, white cards on it, running into the footer */
#v8 #app .v8-band { margin: var(--v8-sec) calc(-1 * var(--v8-bleed)) calc(-1 * var(--v8-page-b)) !important; padding: var(--v8-9) var(--v8-bleed) var(--v8-10); background: var(--v8-gray); }
#v8 #app .v8-band-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--v8-gutter); row-gap: var(--v8-sec); align-items: start; }
#v8 #app .v8-band-main { grid-column: 1 / span 8; min-width: 0; }
#v8 #app .v8-band-aside { grid-column: 9 / span 4; display: grid; gap: var(--v8-cards); min-width: 0; }
#v8 #app .v8-band-1 > .v8-band-main { min-width: 0; }
#v8 #app .v8-band :is(.v8-band-main, .v8-band-1 > div) > .v8-sec:first-child { margin-top: 0 !important; }
/* A band straight after the hero follows the mint zone with no white strip between them (Home and an invoice did this on their
   own; every page now does, 18 October 2026) */
#v8 #app .v8-hero + .v8-band { margin-top: 0 !important; }
/* A white hero (a policy, a claim, a calm confirmation) isn't mint, so a band straight after it keeps the section gap */
#v8 #app .v8-hero.v8-hero-w + .v8-band { margin-top: var(--v8-sec) !important; }
@media (max-width: 1279px) { #v8 #app .v8-band-g { grid-template-columns: minmax(0, 1fr); } #v8 #app .v8-band-main, #v8 #app .v8-band-aside { grid-column: 1; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { #v8 #app .v8-band-g { grid-template-columns: minmax(0, 1fr); } #v8 #app .v8-band-main, #v8 #app .v8-band-aside { grid-column: 1; }}

/* ---------- 9. Cards (section 10) ---------- */
/* Gray on the white page (the white insight too); white on mint (the hero) and on the band */
#v8 #app .v8-card { position: relative; display: flex; flex-direction: column; align-items: stretch; width: 100%; height: 100%; min-width: 0; padding: var(--v8-5); border: 0; border-radius: var(--v8-r); background: var(--v8-gray); color: var(--v8-ink); font: inherit; text-align: left; text-decoration: none; transition: background-color .16s ease-out, box-shadow .16s ease-out; }
#v8 #app :is(.v8-hero, .v8-band) .v8-card { background: var(--v8-white); }
#v8 #app :is(a.v8-card, button.v8-card) { cursor: pointer; }
@media (hover: hover) { #v8 #app :is(a.v8-card, button.v8-card):hover { box-shadow: var(--v8-edge-hover); } }
#v8 #app :is(a.v8-card, button.v8-card):active { background: var(--v8-pressed); }
#v8 #app :is(a.v8-card, button.v8-card):is(:hover, :focus-visible) .v8-cue { text-decoration-color: currentColor; }
#v8 #app .v8-art { display: block; flex: none; width: 64px; height: 64px; }
#v8 #app .v8-art :is(img, svg) { display: block; width: 64px !important; height: 64px !important; }
#v8 #app .v8-ic48 { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--v8-white); color: var(--v8-green); }
#v8 #app :is(.v8-hero, .v8-band) .v8-card .v8-ic48 { background: var(--v8-gray); }
#v8 #app .v8-ic48 svg.i { width: 24px; height: 24px; color: var(--v8-green); }
/* The text block sits at the card's foot, at least 32 under the art */
#v8 #app .v8-ct { display: grid; gap: var(--v8-2); margin-top: auto; padding-top: var(--v8-6); }
#v8 #app .v8-ct-top { margin-top: 0; padding-top: var(--v8-5); }
#v8 #app .v8-card .v8-cl { max-width: 46ch; }
#v8 #app .v8-card > .v8-fig { margin-top: var(--v8-4); }
#v8 #app .v8-card > .v8-cue { margin-top: var(--v8-4); }
#v8 #app .v8-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--v8-2) var(--v8-4); margin-top: auto; padding-top: var(--v8-5); }

/* Grids: three, two, four across; five sit 3 and 2; policy cards four from 1360 */
#v8 #app .v8-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--v8-cards); }
#v8 #app .v8-grid > li { display: flex; min-width: 0; }
#v8 #app .v8-grid-2 { --cols: 2; } #v8 #app .v8-grid-4 { --cols: 4; }
#v8 #app .v8-grid-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
#v8 #app .v8-grid-5 > li { grid-column: span 2; } #v8 #app .v8-grid-5 > li:nth-child(n+4) { grid-column: span 3; }
#v8 #app .v8-grid-pc { --cols: 2; }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1360px) { @container app (min-width: 1360px) { #v8 #app .v8-grid-pc { --cols: 4; } } }
@media (max-width: 1199px) { #v8 #app .v8-grid-3 { --cols: 2; } #v8 #app .v8-grid-3:has(.v8-fact) { --cols: 1; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { #v8 #app .v8-grid-3 { --cols: 2; } #v8 #app .v8-grid-3:has(.v8-fact) { --cols: 1; }}
@media (max-width: 1023px) { #v8 #app .v8-grid-3, #v8 #app .v8-grid-4 { --cols: 2; } #v8 #app .v8-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } #v8 #app .v8-grid-5 > li, #v8 #app .v8-grid-5 > li:nth-child(n+4) { grid-column: auto; } }
@media (max-width: 767px) { #v8 #app .v8-grid-2 { --cols: 1; } }
@media (max-width: 599px) { #v8 #app .v8-grid-3, #v8 #app .v8-grid-4, #v8 #app .v8-grid-pc, #v8 #app .v8-grid-5 { --cols: 1; grid-template-columns: minmax(0, 1fr); } }

/* The policy card (10.1): Fennia's InsuranceCard, the 16 October gray card. Art 64 top left, the name and line at the foot,
   the price (amount Bold, the period Regular) and the arrow disc. The whole card is the link */
#v8 #app .v8-pc, #v8 #app a.pc0, #v8 #app div.pc0 { position: relative; display: flex !important; flex-direction: column; width: 100%; min-height: 288px; padding: var(--v8-5) !important; border: 0 !important; border-radius: var(--v8-r) !important; background: var(--v8-gray) !important; box-shadow: none !important; color: var(--v8-ink) !important; text-decoration: none; transition: box-shadow .16s ease-out, background-color .16s ease-out; }
#v8 #app :is(.v8-hero, .v8-band) .v8-pc { background: var(--v8-white) !important; }
#v8 #app .v8-pc-art, #v8 #app .pc0-art { display: block; width: 64px; height: 64px; }
#v8 #app .v8-pc-art :is(img, svg), #v8 #app .pc0-art :is(img, svg) { display: block; width: 64px !important; height: 64px !important; }
#v8 #app .v8-pc-b { display: block; margin-top: var(--v8-1); }   /* under the line, as the claim card's status (README 192); it was the top right corner */
/* The card text sits under the art and the foot (price, arrow) at the card's foot, so titles line up across a row (18 October 2026) */
#v8 #app .v8-pc-tx, #v8 #app .pc0-tx { display: grid !important; gap: var(--v8-2) !important; margin-top: 0 !important; padding-top: var(--v8-6) !important; }
#v8 #app .v8-pc-tx .v8-cl, #v8 #app .pc0-l { max-width: 34ch; color: var(--v8-ink-2) !important; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; }
#v8 #app .pc0-n { margin: 0 !important; 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) !important; }
#v8 #app .v8-pc-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-4); margin-top: auto; padding-top: var(--v8-5); }
/* The older markup (vzPolCard) has no foot element: the price is made Bold and the arrow disc is drawn at the foot */
#v8 #app .pc0-p { display: flex; align-items: center; gap: 0.3em; min-height: 40px; margin-top: var(--v8-5) !important; padding-right: 56px; color: var(--v8-ink) !important; font-size: var(--v8-fs-16) !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
#v8 #app .pc0-p span { color: var(--v8-ink-2) !important; font-weight: 400 !important; }
#v8 #app a.pc0::after { content: ""; position: absolute; right: var(--v8-5); bottom: var(--v8-5); width: 40px; height: 40px; border-radius: 50%;
  background: var(--v8-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M13.55 17.5L19 12L13.535 6.5L12.485 7.57L16.11 11.25H5V12.75H16.11L12.505 16.42L13.55 17.5Z'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: background-color .16s ease-out; }
#v8 #app a.pc0.pc0-add .pc0-buy { display: none !important; }
@media (hover: hover) {
  #v8 #app a.v8-pc:hover, #v8 #app a.pc0:hover { box-shadow: var(--v8-edge-hover) !important; }
  #v8 #app a.v8-pc:hover .v8-arrow, #v8 #app a.pc0:hover::after { background-color: var(--v8-deep); }
}
#v8 #app a.v8-pc:active, #v8 #app a.pc0:active { background: var(--v8-pressed) !important; }
#v8 #app a.pc0.pc0-add { outline: 0 !important; }
@media (max-width: 599px) { #v8 #app .v8-pc, #v8 #app a.pc0, #v8 #app div.pc0 { min-height: 0; } #v8 #app .v8-pc-tx, #v8 #app .pc0-tx { padding-top: var(--v8-6) !important; } }

/* The live-fact card on Home (10.3): white on mint, min 248. On phones a row: the art 48 at the left, no tall empty space */
#v8 #app .v8-fact { min-height: 248px; }
#v8 #app .v8-fact .v8-fig { margin-top: var(--v8-2); }
#v8 #app .v8-fact > .v8-fig { margin-top: auto; padding-top: var(--v8-6); }   /* V8.factCard: the figure first, at the foot with its cue */
@media (max-width: 1199px) {
  #v8 #app .v8-fact { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--v8-4); min-height: 0; }
  #v8 #app .v8-fact .v8-art, #v8 #app .v8-fact .v8-art :is(img, svg) { width: 48px !important; height: 48px !important; }
  #v8 #app .v8-fact .v8-art { grid-row: 1 / span 3; }
  #v8 #app .v8-fact > :not(.v8-art) { grid-column: 2; }
  #v8 #app .v8-fact .v8-ct { padding-top: 0; }
  #v8 #app .v8-fact > .v8-fig { margin-top: 0; padding-top: 0; }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) {
  #v8 #app .v8-fact { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--v8-4); min-height: 0; }
  #v8 #app .v8-fact .v8-art, #v8 #app .v8-fact .v8-art :is(img, svg) { width: 48px !important; height: 48px !important; }
  #v8 #app .v8-fact .v8-art { grid-row: 1 / span 3; }
  #v8 #app .v8-fact > :not(.v8-art) { grid-column: 2; }
  #v8 #app .v8-fact .v8-ct { padding-top: 0; }
  #v8 #app .v8-fact > .v8-fig { margin-top: 0; padding-top: 0; }}
/* The date card (10.5): the date 20 Bold first, the event in green at the foot */
#v8 #app .v8-date { min-height: 160px; }
#v8 #app .v8-date-d { 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-date-t { margin-top: auto; padding-top: var(--v8-5); color: var(--v8-green-t); }
#v8 #app .v8-date-d { overflow-wrap: normal; }
@media (max-width: 599px) { #v8 #app .v8-date { display: flex; flex-direction: column; gap: var(--v8-2); min-height: 0; } #v8 #app .v8-date-t { margin: 0; padding: 0; } }
/* The cover card (10.4) */
#v8 #app .v8-cov { min-height: 232px; }
#v8 #app .v8-lim { color: var(--v8-ink); font-weight: 700 !important; font-variant-numeric: tabular-nums; }
/* The cover card's foot stacks (the limit, then the cue), so every card in a row reads the same at any width */
#v8 #app .v8-cov .v8-foot { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: var(--v8-2); }
/* The claim card (10.2): an article with two targets, so the card never hovers; the menu and the disc do */
#v8 #app .v8-claim { min-height: 248px; }
#v8 #app .v8-claim-menu { position: absolute; top: var(--v8-4); right: var(--v8-4); }
#v8 #app .v8-claim .v8-ct { margin-top: 0; padding-top: var(--v8-6); }   /* text from the top, as on Claims (18 October 2026) */
#v8 #app .v8-claim-b { margin-top: var(--v8-1); }
#v8 #app .v8-claim .v8-foot { flex-wrap: nowrap; }
/* The attachment card (10.6): photos as photos, documents as a sheet with its type; the name is the button */
#v8 #app .v8-att { min-height: 232px; }
#v8 #app .v8-open { padding: 0; border: 0; background: none; color: var(--v8-ink); text-align: left; cursor: pointer; font-family: inherit; }
#v8 #app .v8-open::after { content: ""; position: absolute; inset: 0; border-radius: var(--v8-r); }
#v8 #app .v8-open:focus-visible { outline: none !important; }
#v8 #app .v8-att:has(.v8-open:focus-visible) { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
@media (hover: hover) { #v8 #app .v8-att:has(.v8-open:hover) { box-shadow: var(--v8-edge-hover); } #v8 #app .v8-att:has(.v8-open:hover) .v8-cue { text-decoration-color: currentColor; } }
#v8 #app .v8-att > .v8-cue { margin-top: var(--v8-4); }
#v8 #app .v8-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; overflow: hidden; border-radius: var(--v8-r-sm); }
#v8 #app .v8-shots img { display: block; width: 100%; height: 96px; object-fit: cover; }
#v8 #app .v8-sheet { position: relative; display: grid; place-items: center; width: 56px; height: 72px; border-radius: var(--v8-r-sm); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); color: var(--v8-green); }
#v8 #app .v8-sheet svg.i { width: 24px; height: 24px; }
/* 18 October 2026: no dark type tag on documents (Janne dislikes dark tags); the type, when it matters, is in the line */
#v8 #app :is(.v8-sheet, .v8-doc-ic, .dc-pdf) b { display: none; }
/* The help card (10.7) and the certificate object (10.8): white on the band, padding 32, no hover */
#v8 #app .v8-help, #v8 #app .v8-certc { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-white); }
#v8 #app :not(.v8-band) .v8-help:not(.v8-band *) { background: var(--v8-gray); }
#v8 #app .v8-help > .v8-cn { margin-top: var(--v8-5); }
#v8 #app .v8-help > .v8-cl, #v8 #app .v8-certc > .v8-cl { margin-top: var(--v8-2); }
#v8 #app .v8-help > .v8-acts, #v8 #app .v8-certc > .v8-acts { margin-top: var(--v8-5); }
#v8 #app .v8-help .v8-acts .v8-btn { flex: 0 1 auto; padding: 0 20px; }   /* Write to us and Call us share a row in the aside at 1280 and up */
#v8 #app .v8-cert { position: relative; display: grid; gap: 4px; width: 100%; max-width: 280px; margin-top: var(--v8-4); padding: var(--v8-5); border: 0; border-radius: var(--v8-r-sm); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); color: var(--v8-ink); font: inherit; text-align: left; cursor: pointer; transition: box-shadow .16s ease-out; }
@media (hover: hover) { #v8 #app .v8-cert:hover { box-shadow: var(--v8-edge-hover); } }
#v8 #app .v8-cert-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--v8-4); }
#v8 #app .v8-cert-top img { height: 20px; width: auto; }
#v8 #app .v8-seal { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--v8-green); color: var(--v8-white); }
#v8 #app .v8-seal svg.i { width: 16px; height: 16px; }
#v8 #app .v8-cert b { font-size: var(--v8-fs-16) !important; font-weight: 700 !important; }
#v8 #app .v8-cert > span:not(.v8-cert-top) { color: var(--v8-ink-2); }
#v8 #app .v8-cert .v8-seal { color: var(--v8-white); }
/* The sheet is a button that opens the certificate, so it says so in green: Fennia's logo (the one the certificate carries) at the
   top, the cue at the foot (from policies.css, 18 October 2026) */
#v8 #app .v8-cert > span.v8-cert-cue { margin-top: var(--v8-3); color: var(--v8-green-t); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 112, 11, .4); }
@media (hover: hover) { #v8 #app .v8-cert:hover > span.v8-cert-cue { text-decoration-color: currentColor; } }
#v8 #app .v8-certc > .v8-cl { margin-top: var(--v8-4); }
/* The empty state (10.10): a gray card, centred, the 128 illustration */
#v8 #app .v8-empty { display: grid; justify-items: center; padding: var(--v8-8); border-radius: var(--v8-r); background: var(--v8-gray); text-align: center; }
#v8 #app .v8-hero .v8-empty, #v8 #app .v8-band .v8-empty { background: var(--v8-white); }
#v8 #app .v8-empty > img { width: 128px; height: 128px; }
#v8 #app .v8-empty > .v8-cn { margin-top: var(--v8-5); }
#v8 #app .v8-empty > .v8-cl { margin-top: var(--v8-2); max-width: 46ch; }
#v8 #app .v8-empty > .v8-acts { margin-top: var(--v8-5); justify-content: center; }

/* ---------- 10. The rainbow ask field (section 19) ---------- */
#v8 #app .v8-askw { max-width: 720px; }
#v8 #app .v8-ask.hm-ask { --ai-a: 200deg; display: flex; align-items: center; gap: 8px; max-width: none; min-height: 64px; margin: 0; padding: 8px 8px 8px 20px; border: 3px solid transparent; border-radius: var(--v8-r-pill); background-color: transparent; background-image: linear-gradient(#fff, #fff), var(--v8-ring); background-clip: padding-box, border-box; background-origin: border-box; box-shadow: none; }
#v8 #app .v8-ask .v8-ask-sp { font-size: var(--v8-fs-20); }
#v8 #app .v8-ask input { flex: 1; min-width: 0; height: 44px; padding: 0 4px !important; border: 0; background: transparent; font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; color: var(--v8-ink); }
#v8 #app .v8-ask input::placeholder { color: var(--v8-ink-2); opacity: 1; }
#v8 #app .v8-ask:has(input:focus-visible) { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .v8-ask .v8-ask-tool { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--v8-ink-2); cursor: pointer; }
#v8 #app .v8-ask .v8-ask-tool:hover { background: var(--v8-hover); color: var(--v8-ink); }
#v8 #app .v8-ask .v8-ask-send { display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border: 0; border-radius: 50%; background: var(--v8-green); color: var(--v8-white); cursor: pointer; }
#v8 #app .v8-ask .v8-ask-send:hover { background: var(--v8-deep); }
#v8 #app .v8-ask svg.i { width: 20px; height: 20px; }
#v8 #app .v8-sugg { display: flex; flex-wrap: wrap; gap: var(--v8-2); margin-top: var(--v8-4); }
#v8 #app .v8-sugg button { min-height: 40px; padding: 0 16px; border: 1px solid var(--v8-pressed); border-radius: var(--v8-r-pill); background: var(--v8-white); color: var(--v8-green-t); font: inherit; font-size: var(--v8-fs-16) !important; text-align: left; cursor: pointer; transition: background-color .16s ease-out; }
#v8 #app .v8-sugg button:hover { background: var(--v8-hover); }
#v8 #app .v8-fine { margin-top: var(--v8-4); color: var(--v8-ink-2); }
@media (hover: none) { #v8 #app .v8-sugg button { min-height: 44px; } }

/* ---------- 11. Tables, rows, the inbox, definition lists (section 16) ---------- */
#v8 :is(#app, .v8-dlgw) .v8-tablew { padding: var(--v8-2) var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app :is(.v8-band, .v8-hero) .v8-tablew { background: var(--v8-white); }
#v8 :is(#app, .v8-dlgw) .v8-table { width: 100%; border-collapse: collapse; }
#v8 :is(#app, .v8-dlgw) .v8-table th, #v8 :is(#app, .v8-dlgw) .v8-table td { padding: 16px 12px; text-align: left; vertical-align: middle; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; color: var(--v8-ink); border-bottom: 1px solid var(--v8-line); }
#v8 :is(#app, .v8-dlgw) .v8-table :is(th, td):first-child { padding-left: 0; } #v8 :is(#app, .v8-dlgw) .v8-table :is(th, td):last-child { padding-right: 0; }
#v8 :is(#app, .v8-dlgw) .v8-table thead th { height: 48px; padding-top: 12px; padding-bottom: 12px; color: var(--v8-ink-2); }
#v8 :is(#app, .v8-dlgw) .v8-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
#v8 :is(#app, .v8-dlgw) .v8-table .v8-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
#v8 :is(#app, .v8-dlgw) .v8-table tbody tr { position: relative; }
#v8 #app .v8-rowlink { padding: 0; border: 0; background: none; color: var(--v8-green-t); font: inherit; font-weight: 400 !important; text-align: left; text-decoration: none; cursor: pointer; }
#v8 #app .v8-rowlink::after { content: ""; position: absolute; inset: 0 -12px; border-radius: var(--v8-r-sm); }
#v8 #app .v8-rowlink:focus-visible { outline: none !important; } #v8 #app .v8-rowlink:focus-visible::after { outline: var(--v8-focus); outline-offset: -2px; box-shadow: var(--v8-focus-glow-in) !important; }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw) .v8-table tr.v8-tr-l:hover > * { background: var(--v8-hover); } #v8 :is(#app, .v8-dlgw) .v8-table tr.v8-tr-l:hover .v8-rowlink { text-decoration: underline; text-underline-offset: 3px; } }
@media (hover: hover) {
  #v8 :is(#app, .v8-dlgw) .v8-table tr.v8-tr-l:hover > :first-child { border-radius: var(--v8-r-sm) 0 0 var(--v8-r-sm); box-shadow: -12px 0 0 var(--v8-hover); }
  #v8 :is(#app, .v8-dlgw) .v8-table tr.v8-tr-l:hover > :last-child { border-radius: 0 var(--v8-r-sm) var(--v8-r-sm) 0; box-shadow: 12px 0 0 var(--v8-hover); }
}
#v8 :is(#app, .v8-dlgw) .v8-table tfoot :is(th, td) { border-top: 1px solid var(--v8-ink); border-bottom: 0; font-weight: 700 !important; }
@media (max-width: 639px) {
  #v8 :is(#app, .v8-dlgw) .v8-tablew { padding: var(--v8-1) var(--v8-4); }
  #v8 :is(#app, .v8-dlgw) .v8-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #v8 :is(#app, .v8-dlgw) .v8-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--v8-4); padding: 12px 0; border-bottom: 1px solid var(--v8-line); }
  #v8 :is(#app, .v8-dlgw) .v8-table tbody tr:last-child { border-bottom: 0; }
  #v8 :is(#app, .v8-dlgw) .v8-table tbody :is(th, td) { padding: 0; border: 0; }
  #v8 :is(#app, .v8-dlgw) .v8-table tbody :is(th, td):not(:first-child):not(.v8-num) { grid-column: 1; color: var(--v8-ink-2); }
  #v8 :is(#app, .v8-dlgw) .v8-table tbody .v8-num { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  #v8 :is(#app, .v8-dlgw) .v8-table tfoot tr { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--v8-ink); }
  #v8 :is(#app, .v8-dlgw) .v8-table tfoot :is(th, td) { padding: 0; border: 0; }
  #v8 :is(#app, .v8-dlgw) .v8-table tr.v8-tr-l:hover > * { box-shadow: none; }
  /* Two or more number columns: each figure its own line under the row's name, its column's name at the left */
  /* The name takes what's left and wraps; the figure keeps its width at the right and is never pushed off the screen */
  #v8 :is(#app, .v8-dlgw) .v8-table-n2 tbody .v8-num { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--v8-4); min-width: 0; margin-top: var(--v8-1); white-space: normal; }
  #v8 :is(#app, .v8-dlgw) .v8-table-n2 tbody .v8-num::before { content: attr(data-label); min-width: 0; color: var(--v8-ink-2); text-align: left; }
}
/* Document rows (16.2) on a card: the file icon, the name as the link with its line, "PDF" at the right */
#v8 #app .v8-rows { padding: var(--v8-2) var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app :is(.v8-band, .v8-hero) .v8-rows { background: var(--v8-white); }
#v8 #app .v8-rows > li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: var(--v8-4); min-height: 56px; padding: 16px 0; border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-rows > li:last-child { border-bottom: 0; }
#v8 #app .v8-rows-ic svg.i { display: block; width: 24px; height: 24px; color: var(--v8-green); }
#v8 #app .v8-rows-tx { display: grid; min-width: 0; }
#v8 #app .v8-rows-tx > span { color: var(--v8-ink-2); }
/* The record's name is a link and looks like one at rest (19 October 2026, round j: underlined as V8.link is, as Past claims and
   the invoice cards are, so a link is never told by its colour alone) */
#v8 #app .v8-rows-l { justify-self: start; padding: 0; border: 0; background: none; color: var(--v8-green-t); font: inherit; font-weight: 400 !important; text-align: left; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 112, 11, .4); cursor: pointer; }
#v8 #app .v8-rows-l::after { content: ""; position: absolute; inset: 0 -12px; border-radius: var(--v8-r-sm); }
#v8 #app .v8-rows-l:focus-visible { outline: none !important; } #v8 #app .v8-rows-l:focus-visible::after { outline: var(--v8-focus); outline-offset: -2px; box-shadow: var(--v8-focus-glow-in) !important; }
#v8 #app .v8-rows-end { color: var(--v8-ink-2); }
@media (hover: hover) { #v8 #app .v8-rows > li:hover { background: var(--v8-hover); box-shadow: -12px 0 0 var(--v8-hover), 12px 0 0 var(--v8-hover); border-radius: var(--v8-r-sm); } #v8 #app .v8-rows > li:hover .v8-rows-l { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: currentColor; } }
/* Task rows (16.4, V8.taskRows, 18 October 2026, from Make changes' step 1): one row each on one gray card. The whole row is one
   link, so the whole row hovers (the green wash) and its arrow disc goes deep; the icon on a mint 48 disc, the title 20 Bold, one
   16 line. Hairlines between rows, hidden beside the hovered row */
#v8 #app .v8-tasks { display: grid; margin: 0; padding: var(--v8-2) var(--v8-5); list-style: none; border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-tasks > li { position: relative; }
#v8 #app .v8-tasks > li + li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--v8-line); }
#v8 #app .v8-task { display: grid; grid-template-columns: 48px minmax(0, 1fr) 40px; align-items: center; column-gap: var(--v8-5); min-height: 96px; margin: 0 calc(-1 * var(--v8-3)); padding: var(--v8-5) var(--v8-3); border-radius: var(--v8-r-sm); color: var(--v8-ink); text-decoration: none; transition: background-color .16s ease-out; }
#v8 #app .v8-task .v8-ic48 { background: var(--v8-mint); }
#v8 #app .v8-task .v8-ic48 svg.i { width: 24px; height: 24px; }
#v8 #app .v8-task-tx { display: grid; gap: var(--v8-2); min-width: 0; }
#v8 #app .v8-task-tx .v8-cn { color: var(--v8-ink); }
#v8 #app .v8-task-tx .v8-cl { color: var(--v8-ink-2); max-width: var(--v8-measure); }
#v8 #app .v8-task:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
@media (hover: hover) {
  #v8 #app .v8-task:hover { background: var(--v8-hover); }
  #v8 #app .v8-task:hover .v8-arrow { background: var(--v8-deep); }
  #v8 #app .v8-tasks > li:has(.v8-task:hover)::before, #v8 #app .v8-tasks > li:has(.v8-task:hover) + li::before { opacity: 0; }
}
#v8 #app .v8-task:active { background: var(--v8-pressed); }
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-task, #v8 #app .v8-task .v8-arrow { transition: none; } }
@media (max-width: 599px) {
  #v8 #app .v8-tasks { padding: var(--v8-1) var(--v8-4); }
  #v8 #app .v8-task { align-items: start; column-gap: var(--v8-4); padding: var(--v8-4) var(--v8-2); margin: 0 calc(-1 * var(--v8-2)); }
  #v8 #app .v8-task .v8-arrow { margin-top: 4px; }
}
/* Inbox rows (16.3), straight on the white page */
#v8 #app .v8-inbox > li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--v8-4); min-height: 80px; padding: var(--v8-4) 0; border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-av { display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: var(--v8-mint); color: var(--v8-green-t); font-size: var(--v8-fs-20) !important; font-weight: 700 !important; }
#v8 #app .v8-av img { width: 40px; height: 40px; object-fit: cover; }
#v8 #app .v8-in-tx { display: grid; gap: 2px; min-width: 0; }
#v8 #app .v8-in-top { display: flex; justify-content: space-between; gap: var(--v8-4); max-width: none !important; }
#v8 #app .v8-in-from { display: inline-flex; align-items: center; gap: 8px; color: var(--v8-ink); }
#v8 #app .v8-unread .v8-in-from { font-weight: 700 !important; }
#v8 #app .v8-in-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--v8-green); }
#v8 #app .v8-in-date { flex: none; color: var(--v8-ink-2); }
#v8 #app .v8-in-subj { justify-self: start; color: var(--v8-green-t); text-decoration: none; }
#v8 #app .v8-in-subj::after { content: ""; position: absolute; inset: 0 -12px; border-radius: var(--v8-r-sm); }
#v8 #app .v8-in-subj:focus-visible { outline: none !important; } #v8 #app .v8-in-subj:focus-visible::after { outline: var(--v8-focus); outline-offset: -2px; box-shadow: var(--v8-focus-glow-in) !important; }
#v8 #app .v8-in-pre { max-width: none !important; overflow: hidden; color: var(--v8-ink-2); text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { #v8 #app .v8-inbox > li:hover { background: var(--v8-hover); box-shadow: -12px 0 0 var(--v8-hover), 12px 0 0 var(--v8-hover); } #v8 #app .v8-inbox > li:hover .v8-in-subj { text-decoration: underline; text-underline-offset: 3px; } }
/* A definition list on a card */
#v8 #app .v8-dl { padding: var(--v8-2) var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app :is(.v8-band, .v8-hero) .v8-dl { background: var(--v8-white); }
#v8 #app .v8-dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--v8-4); padding: var(--v8-4) 0; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-dl > div:first-child { border-top: 0; }
#v8 #app .v8-dl dt { color: var(--v8-ink-2); font-weight: 400 !important; }
#v8 #app .v8-dl dd { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-2); color: var(--v8-ink); }
#v8 #app .v8-dl dd .v8-ib { margin: -10px -10px -10px 0; }
@media (max-width: 599px) { #v8 #app .v8-dl { padding: var(--v8-1) var(--v8-4); } #v8 #app .v8-dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* The estimate's rows: a 112 right-aligned amount column, the total under a 1 px ink rule */
#v8 :is(#app, .v8-dlgw) .v8-sum li { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: baseline; gap: var(--v8-4); padding: var(--v8-4) 0; border-top: 1px solid var(--v8-line); }
#v8 :is(#app, .v8-dlgw) .v8-sum li:first-child { border-top: 0; padding-top: 0; }
#v8 :is(#app, .v8-dlgw) .v8-sum b { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 400 !important; text-align: right; white-space: nowrap; color: var(--v8-ink); }
#v8 :is(#app, .v8-dlgw) .v8-sum span { color: var(--v8-ink-2); }
#v8 :is(#app, .v8-dlgw) .v8-sum .v8-sum-tot { border-top: 1px solid var(--v8-ink); }
#v8 :is(#app, .v8-dlgw) .v8-sum .v8-sum-tot b { font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; font-weight: 700 !important; }
#v8 :is(#app, .v8-dlgw) .v8-sum .v8-sum-tot span { color: var(--v8-ink); font-weight: 700 !important; }
/* Below 400 each row stacks, the amount over its words, and the amount starts at the left edge with them (a right-aligned
   figure above left-aligned words read as two columns that weren't there) */
@media (max-width: 399px) {
  #v8 :is(#app, .v8-dlgw) .v8-sum li { grid-template-columns: minmax(0, 1fr); gap: var(--v8-1); }
  #v8 :is(#app, .v8-dlgw) .v8-sum li > b { text-align: left; }
}
/* The package level in words */
#v8 :is(#app, .v8-dlgw) .v8-lv li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--v8-2) var(--v8-4); padding: var(--v8-4) 0; border-top: 1px solid var(--v8-line); }
#v8 :is(#app, .v8-dlgw) .v8-lv li:first-child { border-top: 0; padding-top: 0; }
#v8 :is(#app, .v8-dlgw) .v8-lvn { display: flex; flex-wrap: wrap; align-items: center; gap: var(--v8-3); }
#v8 :is(#app, .v8-dlgw) .v8-lvn b { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; }
#v8 :is(#app, .v8-dlgw) .v8-lvt { grid-column: 1 / -1; color: var(--v8-ink-2); }
#v8 :is(#app, .v8-dlgw) .v8-lvn b { overflow-wrap: normal; }   /* a package's name never breaks inside the word ("Extensive") */
/* Below 640 a package's price sits under its name (from policies.css, 18 October 2026) */
@media (max-width: 639px) { #v8 :is(#app, .v8-dlgw) .v8-lv li { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 12. Forms (section 15) ---------- */
#v8 #app .v8-field { display: grid; gap: var(--v8-2); }
#v8 #app .v8-field + .v8-field, #v8 #app .v8-field + .v8-check, #v8 #app .v8-check + .v8-field { margin-top: var(--v8-5); }
#v8 #app .v8-label, #v8 #app .v8-legend { display: block; padding: 0; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
#v8 #app .v8-legend { margin-bottom: var(--v8-4); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
#v8 #app .v8-hint { margin-top: -4px; color: var(--v8-ink-2); }
/* Fennia's Input field (2478:9724) and Dropdown (3399:38415), the integrator, 18 October 2026 (claims review #10: they were 48
   with a #8C8C8C line and a dark green focus): 56 high, radius 8, white, 1 px #8B8B8B inside; hover 1 px #008A28 outside and
   1 px #8ADC94 inside (11206:3179); while typing 2 px #2EAA4A inside (3875:43001, 3:1 on white); error 2 px #D63D29; disabled
   #EFEFEF with 1 px #B1B1B1 (2478:9725). The dropdown's chevron is 24, 16 in */
#v8 :is(#app, .v8-dlgw) .v8-input { width: 100%; height: 56px !important; min-height: 56px !important; padding: 0 16px; border: 0 !important; border-radius: var(--v8-r-pill) !important; background: var(--v8-white) !important; box-shadow: inset 0 0 0 1px var(--v8-ctl-edge, #8B8B8B) !important; color: var(--v8-ink); font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; -webkit-appearance: none; appearance: none; transition: box-shadow .12s ease-out; }
#v8 :is(#app, .v8-dlgw) .v8-input::placeholder { color: var(--v8-ink-2); opacity: 1; }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw) .v8-input:not(:focus, :disabled):hover { box-shadow: 0 0 0 1px #008A28, inset 0 0 0 1px #8ADC94 !important; } }
#v8 :is(#app, .v8-dlgw) .v8-input:focus { outline: none !important; box-shadow: inset 0 0 0 1px var(--v8-green), var(--v8-focus-glow) !important; }
#v8 :is(#app, .v8-dlgw) .v8-input:disabled { background: #EFEFEF !important; box-shadow: inset 0 0 0 1px #B1B1B1 !important; color: var(--v8-ink-2); cursor: default; }
#v8 :is(#app, .v8-dlgw) .v8-ta { height: auto !important; min-height: 120px !important; padding: 16px; resize: vertical; }
#v8 :is(#app, .v8-dlgw) .v8-selw { position: relative; display: block; }
#v8 :is(#app, .v8-dlgw) .v8-selw svg.i { position: absolute; right: 16px; top: 16px; width: 24px; height: 24px; pointer-events: none; color: var(--v8-ink); }
#v8 :is(#app, .v8-dlgw) .v8-select { padding-right: 56px; cursor: pointer; }
#v8 :is(#app, .v8-dlgw) :is(.v8-err-on .v8-input, .v8-input[aria-invalid="true"]) { box-shadow: inset 0 0 0 2px var(--v8-red) !important; }
#v8 #app .v8-err { display: flex; align-items: flex-start; gap: 8px; color: var(--v8-red); }
#v8 #app .v8-err svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--v8-red); }
/* A form: the question column's controls, 24 apart, at most 640 wide (a group or a fieldset adds its own 40 above) */
#v8 #app .v8-form { display: grid; gap: var(--v8-5); max-width: 640px; }
#v8 #app .v8-form > * + * { margin-top: 0 !important; }
#v8 #app .v8-form > :is(.v8-opts, .v8-choices, .v8-upload, .v8-group) { margin-top: var(--v8-4) !important; }
/* Checkbox and radio: 24, a 2 px ink edge; checked green */
#v8 #app .v8-check { display: flex; align-items: flex-start; gap: var(--v8-3); min-height: 44px; padding: 10px 0; cursor: pointer; }
#v8 #app .v8-check input { flex: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--v8-ink); border-radius: var(--v8-r-tag); background: var(--v8-white) center / 18px no-repeat; -webkit-appearance: none; appearance: none; cursor: pointer; }
#v8 #app .v8-check input[type="radio"] { border-radius: 50%; }
#v8 #app .v8-check input[type="checkbox"]:checked { border-color: var(--v8-green); background-color: var(--v8-green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5 9.5-10' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E"); }
#v8 #app .v8-check input[type="radio"]:checked { border: 3px solid var(--v8-green); box-shadow: inset 0 0 0 4px var(--v8-white); background: var(--v8-green); }
#v8 #app .v8-check-tx { display: grid; padding-top: 0; }
#v8 #app .v8-check-tx > span { color: var(--v8-ink-2); }
/* Option rows (levels, offers): only the edge changes when chosen */
#v8 :is(#app, .v8-dlgw) .v8-opts { display: grid; gap: var(--v8-3); }
/* The hint under the question (V8.options' { hint }): 16 secondary, 4 under the legend, then the rows (18 October 2026) */
#v8 #app .v8-opts-hint, #v8 .v8-dlgw .v8-opts-hint { margin: calc(-1 * var(--v8-3)) 0 var(--v8-1); color: var(--v8-ink-2); max-width: var(--v8-measure); }
#v8 :is(#app, .v8-dlgw) .v8-opt { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: start; gap: var(--v8-4); padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); cursor: pointer; transition: box-shadow .16s ease-out; }
/* Every option row shows its radio (18 October 2026: one look with buy step 2 and the offer): a 24 ring in column 1, the green dot when
   chosen. It was messages.css's alone */
#v8 :is(#app, .v8-dlgw) .v8-opt::before { content: ""; grid-column: 1; grid-row: 1; box-sizing: border-box; width: 24px; height: 24px; border: 2px solid var(--v8-ink); border-radius: 50%; background: var(--v8-white); }
#v8 :is(#app, .v8-dlgw) .v8-opt:has(input:checked)::before { border: 3px solid var(--v8-green); background: radial-gradient(circle, var(--v8-green) 0 5px, var(--v8-white) 5.5px); }
#v8 :is(#app, .v8-dlgw) .v8-opt > .v8-opt-tx { grid-column: 2; grid-row: 1; }
#v8 :is(#app, .v8-dlgw) .v8-opt > .v8-opt-r { grid-column: 3; grid-row: 1; }
#v8 :is(#app, .v8-dlgw) .v8-opt-tx { display: grid; gap: var(--v8-2); }
#v8 :is(#app, .v8-dlgw) .v8-opt-tx b { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; }
#v8 :is(#app, .v8-dlgw) .v8-opt-tx span { color: var(--v8-ink-2); }
#v8 :is(#app, .v8-dlgw) .v8-opt-r { display: grid; justify-items: end; gap: var(--v8-2); }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw) .v8-opt:hover { box-shadow: var(--v8-edge-hover); } }
#v8 :is(#app, .v8-dlgw) .v8-opt:has(input:checked) { box-shadow: var(--v8-edge-chosen); }
#v8 :is(#app, .v8-dlgw) .v8-opt:has(input:focus-visible) { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
/* Choice cards (10.9): the InsuranceCard as a radio or a checkbox */
#v8 #app .v8-choice-g { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: var(--v8-cards); }
#v8 #app .v8-cg-3 { --cols: 3; } #v8 #app .v8-cg-1 { --cols: 1; }
@media (max-width: 599px) { #v8 #app .v8-choice-g { grid-template-columns: minmax(0, 1fr); } }
#v8 #app .v8-choice { position: relative; display: flex; flex-direction: column; min-height: 200px; padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); cursor: pointer; transition: box-shadow .16s ease-out; }
#v8 #app .v8-choice .v8-ct { padding-top: var(--v8-5); }
#v8 #app .v8-choice-f { margin-top: auto; padding-top: var(--v8-5); color: var(--v8-ink-2); }
#v8 #app .v8-choice-ck { position: absolute; top: var(--v8-5); right: var(--v8-5); display: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--v8-green); color: var(--v8-white); }
#v8 #app .v8-choice-ck svg.i { width: 16px; height: 16px; }
@media (hover: hover) { #v8 #app .v8-choice:hover { box-shadow: var(--v8-edge-hover); } }
#v8 #app .v8-choice:has(input:checked) { box-shadow: var(--v8-edge-chosen); }
#v8 #app .v8-choice:has(input:checked) .v8-choice-ck { display: grid; }
/* A checkbox card shows its empty box at rest, and a box is square-cornered (radius 4), a radio round (18 October 2026, from rest.css's
   .v8-rf rules, now everywhere: #/buy/start's cards match V8.check) */
#v8 #app .v8-choice:has(input[type="checkbox"]) .v8-choice-ck { border-radius: var(--v8-r-tag); }
#v8 #app .v8-choice:has(input[type="checkbox"]:not(:checked)) .v8-choice-ck { display: grid; background: var(--v8-white); box-shadow: inset 0 0 0 2px var(--v8-ink); }
#v8 #app .v8-choice:has(input[type="checkbox"]:not(:checked)) .v8-choice-ck svg { visibility: hidden; }
#v8 #app .v8-choice:has(input:focus-visible) { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
/* The segmented control: a gray track, the chosen option a white pill with a hairline. Never ink-black */
#v8 #app .v8-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--v8-r-pill); background: var(--v8-gray); }
#v8 #app .v8-seg label { position: relative; display: block; cursor: pointer; }
#v8 #app .v8-seg span { display: grid; place-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--v8-r-pill); color: var(--v8-ink); }
#v8 #app .v8-seg label:hover span { background: var(--v8-hover); }
#v8 #app .v8-seg input:checked + span { background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); font-weight: 700 !important; }
#v8 #app .v8-seg input:focus-visible + span { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
/* Filter chips: white pills; the chosen one mint with a green edge */
#v8 #app .v8-chips { display: flex; flex-wrap: wrap; gap: var(--v8-2); }
#v8 #app .v8-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--v8-r-pill); 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; }
#v8 #app .v8-chip:hover { background: var(--v8-hover); }
#v8 #app .v8-chip[aria-current] { background: var(--v8-mint); box-shadow: inset 0 0 0 1px var(--v8-green); color: var(--v8-deep); }
@media (hover: none) { #v8 #app .v8-chip, #v8 #app .v8-seg span { min-height: 44px; } }
/* The upload card: no dashed borders */
#v8 #app .v8-upload { display: flex; flex-wrap: wrap; align-items: center; gap: var(--v8-4); padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-upload:has(input:focus-visible) .v8-btn { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .v8-thumbs { display: flex; flex-wrap: wrap; gap: var(--v8-4); }
#v8 #app .v8-thumbs figure { display: grid; gap: var(--v8-2); width: 96px; }
#v8 #app .v8-thumbs img { width: 96px; height: 96px; border-radius: var(--v8-r-sm); object-fit: cover; }

/* ---------- 13. Menus and popovers (section 24) ---------- */
#v8 #app .v8-menuw { position: relative; display: inline-block; }
#v8 #app .v8-pop { position: absolute; z-index: 40; top: calc(100% + 4px); right: 0; min-width: 240px; padding: var(--v8-2); border-radius: var(--v8-r); background: var(--v8-white); box-shadow: var(--v8-shadow-pop); }
#v8 #app .v8-menuw.v8-up .v8-pop { top: auto; bottom: calc(100% + 4px); }
#v8 #app .v8-pop[hidden] { display: none; }
#v8 #app .v8-pop :is(a, button) { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--v8-r-sm); background: none; color: var(--v8-ink); font: inherit; font-size: var(--v8-fs-16) !important; font-weight: 400 !important; text-align: left; text-decoration: none; white-space: nowrap; cursor: pointer; }
#v8 #app .v8-pop :is(a, button):hover { background: var(--v8-hover); }
/* The profile menu is the account menu since 22 October 2026: system/v8/account-menu.css (README 122) */
/* The command bar's key hints at 16, not 12 (12 is for tags, badges and counts only) */
#v8 body .cmdk .cmdk-in kbd, #v8 body .cmdk .cmdk-item .enter, #v8 .cmdk kbd, #v8 .cmdk .enter { font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; color: var(--v8-ink-2) !important; }

/* ---------- 14. Drawers, modals and the document viewer (section 24) ---------- */
#v8 .v8-dlgw { position: fixed; inset: 0; z-index: 90; }
#v8 .v8-scrim { position: absolute; inset: 0; background: var(--v8-scrim); opacity: 0; transition: opacity .24s ease-out; }
#v8 .v8-dlgw.v8-on .v8-scrim { opacity: 1; }
#v8 :is(.v8-drawer, .v8-modal) { position: absolute; display: flex; flex-direction: column; overflow: hidden; background: var(--v8-white); box-shadow: var(--v8-shadow-pop); color: var(--v8-ink); font-size: var(--v8-fs-16); line-height: var(--v8-lh-16); }
#v8 .v8-drawer { top: 0; right: 0; bottom: 0; width: min(560px, 100vw); opacity: 0; transform: translateX(24px); transition: opacity .24s ease-out, transform .24s var(--v8-ease); }
#v8 .v8-modal { top: 50%; left: 50%; width: min(var(--v8-dlg-w, 560px), calc(100vw - 32px)); max-height: 90vh; border-radius: var(--v8-r); opacity: 0; transform: translate(-50%, -50%) scale(.98); transition: opacity .2s ease-out, transform .2s ease-out; }
#v8 .v8-dlgw.v8-on .v8-drawer { opacity: 1; transform: none; }
#v8 .v8-dlgw.v8-on .v8-modal { opacity: 1; transform: translate(-50%, -50%); }
#v8 .v8-dlg-h { display: flex; align-items: center; justify-content: space-between; gap: var(--v8-4); padding: var(--v8-6) var(--v8-6) 0; }
#v8 .v8-dlg-h h2 { margin: 0; font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; font-weight: 700 !important; letter-spacing: -0.01em; color: var(--v8-ink); }
#v8 .v8-dlg-h .v8-ib { margin-right: -10px; }
#v8 .v8-dlg-h { position: relative; z-index: 1; transition: box-shadow .16s ease-out; }
#v8 .v8-dlg-h { padding-bottom: var(--v8-4); }
#v8 .v8-dlg-b { padding-top: var(--v8-2); }
#v8 .v8-dlgw.is-scrolled .v8-dlg-h { box-shadow: 0 1px 0 var(--v8-line); }
#v8 .v8-dlg-b { flex: 1; overflow-y: auto; padding: var(--v8-5) var(--v8-6) var(--v8-6); }
#v8 .v8-dlg-b p { margin: 0 0 var(--v8-4); max-width: var(--v8-measure); }
#v8 .v8-dlg-f { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--v8-4); padding: var(--v8-5) var(--v8-6); border-top: 1px solid var(--v8-line); }
#v8 .v8-dlgw .v8-ib { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--v8-ink); cursor: pointer; }
#v8 .v8-dlgw .v8-ib svg.i { width: 24px; height: 24px; }
#v8 .v8-dlgw .v8-ib:hover { background: var(--v8-hover); }
#v8 .v8-dlgw :focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
@media (max-width: 639px) { #v8 .v8-drawer { width: 100vw; } #v8 .v8-dlg-h, #v8 .v8-dlg-b { padding-left: var(--v8-4); padding-right: var(--v8-4); } }
/* The older drawers (a cover, Upgrade, Send by email ...): the same frame, from the right, 560 wide */
#v8 body .cov-drawer .cd-scrim { background: var(--v8-scrim) !important; }
#v8 body .cov-drawer .cd-panel { width: min(560px, 100vw) !important; max-width: 100vw !important; border-radius: 0 !important; background: var(--v8-white) !important; box-shadow: var(--v8-shadow-pop) !important; color: var(--v8-ink) !important; }
#v8 body .cov-drawer .cd-panel h2 { font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; font-weight: 700 !important; color: var(--v8-ink) !important; }
#v8 body .cov-drawer .cd-panel h3 { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; color: var(--v8-ink) !important; }
#v8 body .cov-drawer .cd-x { display: grid !important; place-items: center; width: 44px !important; height: 44px !important; border: 0 !important; border-radius: 50% !important; background: transparent !important; color: var(--v8-ink) !important; }
#v8 body .cov-drawer .cd-x:hover { background: var(--v8-hover) !important; }
#v8 body .cov-drawer .cd-ic { background: var(--v8-mint) !important; color: var(--v8-green) !important; border-radius: 50% !important; }
#v8 body .cov-drawer .cd-ic svg.i { color: var(--v8-green) !important; }
#v8 body .cov-drawer :is(.cd-what, .cd-note, p) { color: var(--v8-ink-2); }
#v8 body .cov-drawer :focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 body .cov-drawer .cd-facts dd { color: var(--v8-ink) !important; }
/* Data is ink, never link green (the older facts rows) */
#v8 #app :is(.pf-row b, .psum-pr b) { color: var(--v8-ink) !important; }
/* The document viewer: a centred modal, min(880, 100vw - 32), 90vh; the document a white page on a gray stage */
#v8 body .dv-scrim { background: var(--v8-scrim) !important; }
#v8 body .dv { width: min(880px, calc(100vw - 32px)) !important; height: 90vh !important; max-height: 90vh !important; border-radius: var(--v8-r) !important; background: var(--v8-white) !important; box-shadow: var(--v8-shadow-pop) !important; overflow: hidden; }
#v8 body .dv-head { min-height: 72px; background: var(--v8-white) !important; border-bottom: 1px solid var(--v8-line) !important; color: var(--v8-ink) !important; }
#v8 body .dv-head h2 { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; color: var(--v8-ink) !important; }
#v8 body .dv-head p { color: var(--v8-ink-2) !important; font-size: var(--v8-fs-16) !important; }
#v8 body .dv-ic { background: var(--v8-mint) !important; color: var(--v8-green) !important; }
#v8 body .dv-act { min-height: 44px !important; border-radius: var(--v8-r-pill) !important; background: var(--v8-white) !important; box-shadow: inset 0 0 0 1px var(--v8-green) !important; border: 0 !important; color: var(--v8-green-t) !important; font-size: var(--v8-fs-16) !important; }
#v8 body .dv-act:hover { background: var(--v8-hover) !important; }
#v8 body .dv-act svg.i { color: currentColor !important; }
#v8 body .dv-x { width: 44px !important; height: 44px !important; border-radius: 50% !important; background: transparent !important; color: var(--v8-ink) !important; border: 0 !important; }
#v8 body .dv-x:hover { background: var(--v8-hover) !important; }
#v8 body .dv-new { color: var(--v8-green-t) !important; }
#v8 body .dv-body { background: var(--v8-gray) !important; }
#v8 body .dv :focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }

/* ---------- 15. The shell (sections 23, 24) ---------- */
/* The side menu, compact (README 80, 21 October 2026, Jordi's round; after Linear, Notion, ChatGPT and Vercel, and the shadcn,
   React Aria and Untitled UI sidebars). From 1024: white, a hairline at its edge, 256 wide. Top to bottom: the logo; the Search
   field (a button dressed as the field it opens, with ⌘K); "Your insurance" and "Your company", told apart by space alone (their
   names stay for screen readers only, rest.css, Janne's 20 October call); File a new claim; the person, sticky at the menu's foot
   with the "Prototype screens" pill under her. The logo 96 wide, the compact menu's scale.
   Items: 36 tall, an 18 icon, 14 Regular ink (the menu's own size, 14/20, the one place it is used). The current item: deep
   green label and icon on a soft green-gray pill, never Bold; hover a lighter step of the same tint. Counts: a 20 mint disc with deep green Bold 12
   digits, at the row's right end; "needs you" stays lime */
@media (min-width: 1024px) {
  #v8 #app header.rail.rail2 { gap: 0 !important; padding: 16px 12px 0 !important; background: var(--v8-white) !important; border-right: 1px solid var(--v8-line) !important; }
  html#v8 body #app .shell { grid-template-columns: var(--v8-rail) minmax(0, 1fr) !important; }
}
#v8 #app header.rail.rail2 .rail-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin: 4px 0 16px; padding-left: 10px; }
html#v8 body #app header.rail.rail2 .rail-head .logo { display: block; margin: 0 !important; }
html#v8 body #app header.rail.rail2 .rail-head .logo img { display: block; width: 96px; height: auto; }
@media (min-width: 1024px) { #v8 #app header.rail.rail2 .nav-item.drawer-x { display: none !important; } }
#v8 #app header.rail.rail2 > * { flex-shrink: 0; }   /* nothing in the menu squeezes on a short window; the menu scrolls instead */
#v8 #app header.rail.rail2 .rail-search { display: flex !important; align-items: center; gap: 10px; flex: none; width: 100%; height: 36px !important; margin: 0 0 20px !important; padding: 0 10px !important; border: 1px solid var(--v8-line) !important; border-radius: var(--v8-r-pill) !important; background: var(--v8-white) !important; box-shadow: none !important; color: var(--v8-ink-2) !important; font: inherit; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 400 !important; text-align: left; cursor: pointer; transition: border-color .16s ease-out, box-shadow .16s ease-out; }
#v8 #app header.rail.rail2 .rail-search svg.i { flex: none; width: 18px !important; height: 18px !important; color: var(--v8-ink-2) !important; }
#v8 #app header.rail.rail2 .rail-search .lb { flex: 1; color: var(--v8-ink-2) !important; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 400 !important; }
#v8 #app header.rail.rail2 .rail-search kbd { margin-left: auto; color: var(--v8-ink-2) !important; font: inherit; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; }
#v8 #app header.rail.rail2 .rail-search:hover { border-color: var(--v8-green-t) !important; box-shadow: inset 0 0 0 .5px var(--v8-green-t) !important; }
#v8 #app header.rail.rail2 .rail-search:focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app header.rail.rail2 .nav.nav-grouped { display: flex !important; flex-direction: column; flex: 1 0 auto; gap: 16px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
#v8 #app header.rail.rail2 .nav-g ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
/* The groups named in small sentence case, on the items' text edge (Jordi, 22 October 2026: space alone didn't read as two groups,
   and a hairline didn't suit); 12 Bold ink-2, as Linear and Notion label theirs. Janne had hidden them on 20 October (rest.css);
   they show again in the menu and the tablet drawer; folded to the rail, only the space marks the groups */
html#v8 #app header.rail.rail2 .nav.nav-grouped { gap: var(--v8-4) !important; }
/* Search to the first group's name: 16, as Linear, Notion and ChatGPT keep it (Jordi, 22 October 2026), where rest.css's 24 on top of
   the search's 20 made 44 (Janne, 20 October: "More space between that"); the label then sits 4 over its first item */
html#v8 #app header.rail.rail2 .rail-search { margin-bottom: var(--v8-4) !important; }
html#v8 #app header.rail.rail2 .nav.nav-grouped { margin-top: 0 !important; }
html#v8 #app header.rail.rail2 .nav-h { position: static !important; display: block; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; margin: 0 0 var(--v8-1) !important; padding: 0 10px !important; border: 0 !important; color: var(--v8-ink-2) !important; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; }
/* The first group needs no name on screen (Jordi, 22 October 2026): the menu's main places come first; "Your company" sets the rest
   apart. Screen readers still hear "Your insurance" */
html#v8 #app header.rail.rail2 .nav-g:first-child .nav-h,
html#v8[data-rail="collapsed"] #app header.rail.rail2 .nav-h { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; padding: 0 !important; }
#v8 #app header.rail.rail2 .nav-g li[hidden], #v8 #app header.rail.rail2 .nav-g li:has(> [hidden]) { display: none; }
#v8 #app header.rail.rail2 .nav-g:not(:has(li:not([hidden]) > :not([hidden]))) { display: none; }
#v8 #app header.rail.rail2 .nav-help { margin-top: auto; }
#v8 #app header.rail.rail2 .nav-item { display: flex !important; align-items: center; gap: 10px; width: 100%; height: 36px !important; padding: 0 10px !important; border: 0 !important; border-radius: var(--v8-r-sm) !important; background: none !important; box-shadow: none !important; color: var(--v8-ink) !important; font: inherit; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 400 !important; text-align: left; text-decoration: none; cursor: pointer; transition: background-color .16s ease-out; }
#v8 #app header.rail.rail2 .nav-item .lb { overflow: hidden; color: var(--v8-ink) !important; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 400 !important; letter-spacing: 0 !important; white-space: nowrap; text-overflow: ellipsis; }
#v8 #app header.rail.rail2 .nav-item svg.i { display: block !important; flex: none; width: 18px !important; height: 18px !important; color: var(--v8-ink) !important; }
/* The current item, quieter (README 80): no Bold, as none of the benchmarks use it; deep green label and icon on a pill of deep
   green at 8 % on white, and hover one step lighter (4 %) of the same tint, so hover never outshines "you are here" */
#v8 #app header.rail.rail2 { --sb-hover: color-mix(in srgb, var(--v8-deep) 4%, var(--v8-white)); --sb-current: color-mix(in srgb, var(--v8-deep) 8%, var(--v8-white)); }
#v8 #app header.rail.rail2 .nav-item:hover { background: var(--sb-hover) !important; }
#v8 #app header.rail.rail2 .nav-item[aria-current] { background: var(--sb-current) !important; }
#v8 #app header.rail.rail2 .nav-item[aria-current] .lb { color: var(--v8-deep) !important; font-weight: 400 !important; }
#v8 #app header.rail.rail2 .nav-item[aria-current] svg.i { color: var(--v8-deep) !important; }
#v8 #app header.rail.rail2 .nav-item[aria-current]:hover { background: var(--sb-current) !important; }
/* Home's pages under Home while she is in Home (shell.js navSub, 18 October 2026, night). On a sub-page Home is the open parent:
   its label and icon deep green like the current item, without the pill, since the page is the sub-item's. The sub-items sit on
   the labels' line (10 + 18 + 10 = 38 in), 32 tall, 14 Regular ink-2, a step under the sections (README 118, Shopify's sub-items);
   the current one takes the pill, the same mark as a section */
#v8 #app header.rail.rail2 .nav-item.nav-open .lb { color: var(--v8-deep) !important; font-weight: 400 !important; }
#v8 #app header.rail.rail2 .nav-item.nav-open svg.i { color: var(--v8-deep) !important; }
#v8 #app header.rail.rail2 .nav-sub { display: grid; gap: 2px; margin: 2px 0 0; padding: 0; list-style: none; }
#v8 #app header.rail.rail2 .nav-sub-a { display: flex; align-items: center; height: 32px; padding: 0 10px 0 38px; border-radius: var(--v8-r-sm); color: var(--v8-ink-2); font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 400; text-decoration: none; transition: background-color .16s ease-out; }
#v8 #app header.rail.rail2 .nav-sub-a .lb { color: inherit; font-weight: inherit; }
#v8 #app header.rail.rail2 .nav-sub-a:hover { background: var(--sb-hover); color: var(--v8-ink); }
#v8 #app header.rail.rail2 .nav-sub-a[aria-current] { background: var(--sb-current); color: var(--v8-deep); font-weight: 400 !important; }
#v8 #app header.rail.rail2 .nav-sub-a[aria-current]:hover { background: var(--sb-current); }
/* Sub-pages as a disclosure (README 80; shell.js navPar): the chevron at the item's end, the list opening on a 0fr to 1fr row,
   hidden from focus and screen readers once closed; the ring sits inside, so the clip never cuts it */
#v8 #app header.rail.rail2 .nav-par { position: relative; }
#v8 #app header.rail.rail2 .nav-par > .nav-item { padding-right: 40px !important; }
#v8 #app header.rail.rail2 .nav-par:has(> .nav-twist:hover) > .nav-item:not([aria-current]) { background: var(--sb-hover) !important; }
#v8 #app header.rail.rail2 .nav-twist { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--v8-ink-2); cursor: pointer; transition: background-color .16s ease-out, color .16s ease-out; }
/* README 118: the hover a see-through step (8 % deep green over the row), so it shows on the row's hover and on the current pill
   alike; its corner 4, the row's 8 less the 4 inset */
@media (hover: hover) { #v8 #app header.rail.rail2 .nav-twist:hover { background: color-mix(in srgb, var(--v8-deep) 8%, transparent); color: var(--v8-ink); } }
#v8 #app header.rail.rail2 .nav-twist svg.i { width: 16px; height: 16px; transform: rotate(-90deg); }
#v8 #app header.rail.rail2 .nav-par[data-open] > .nav-twist svg.i { transform: none; }
#v8 #app header.rail.rail2 .nav-sub-w { display: grid; grid-template-rows: 0fr; visibility: hidden; }
#v8 #app header.rail.rail2 .nav-par[data-open] > .nav-sub-w { grid-template-rows: 1fr; visibility: visible; }
#v8 #app header.rail.rail2 .nav-sub-w > .nav-sub { min-height: 0; overflow: hidden; margin: 0; }
#v8 #app header.rail.rail2 .nav-sub-w > .nav-sub > li:first-child { margin-top: 2px; }
/* README 118, the one motion in the menu, when the open list changes (the chevron, or a click on Insights or Policies): the accordion recipe, height
   and opacity together on the system's ease-out (--v8-ease), 200 ms in; out faster, 150 ms, the rows gone in 100 ms. Round three
   (Jordi, with Emil Kowalski's rules): a hand-picked curve and a fade that waited on the box left an empty, jolting gap */
#v8 #app header.rail.rail2 .nav-sub-w { transition: grid-template-rows .15s var(--v8-ease), visibility 0s linear .15s; }
#v8 #app header.rail.rail2 .nav-par[data-open] > .nav-sub-w { transition: grid-template-rows .2s var(--v8-ease), visibility 0s; }
#v8 #app header.rail.rail2 .nav-sub-w > .nav-sub { opacity: 0; transition: opacity .1s var(--v8-ease); }
#v8 #app header.rail.rail2 .nav-par[data-open] > .nav-sub-w > .nav-sub { opacity: 1; transition: opacity .2s var(--v8-ease); }
#v8 #app header.rail.rail2 .nav-twist svg.i { transition: transform .15s var(--v8-ease); }
#v8 #app header.rail.rail2 .nav-par[data-open] > .nav-twist svg.i { transition-duration: .2s; }
/* A page switch that moves the open list (shell.js NAV_WAS): the new draw starts from the old state and plays the same transitions */
@starting-style {
  #v8 #app header.rail.rail2 .nav-par.nav-unfold[data-open] > .nav-sub-w { grid-template-rows: 0fr; }
  #v8 #app header.rail.rail2 .nav-par.nav-unfold[data-open] > .nav-sub-w > .nav-sub { opacity: 0; }
  #v8 #app header.rail.rail2 .nav-par.nav-unfold[data-open] > .nav-twist svg.i { transform: rotate(-90deg); }
  #v8 #app header.rail.rail2 .nav-par.nav-fold:not([data-open]) > .nav-sub-w { grid-template-rows: 1fr; visibility: visible; }
  #v8 #app header.rail.rail2 .nav-par.nav-fold:not([data-open]) > .nav-sub-w > .nav-sub { opacity: 1; }
  #v8 #app header.rail.rail2 .nav-par.nav-fold:not([data-open]) > .nav-twist svg.i { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #v8 #app header.rail.rail2 :is(.nav-sub-w, .nav-par[data-open] > .nav-sub-w) { transition: visibility 0s; }
  #v8 #app header.rail.rail2 .nav-twist svg.i { transition: none; }
}
#v8 #app header.rail.rail2 :is(.nav-sub-a, .nav-twist):focus-visible { outline-offset: -2px; }
#v8 #app header.rail.rail2 .nav-tab { border-radius: var(--v8-r-sm) !important; background: var(--sb-current) !important; box-shadow: none !important; }
#v8 #app header.rail.rail2 .nav-item .count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--v8-r-pill) !important; background: var(--v8-mint) !important; color: var(--v8-deep) !important; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 700 !important; }
#v8 #app header.rail.rail2 .nav-item .count.attn { background: var(--v8-lime) !important; color: var(--v8-deep) !important; box-shadow: inset 0 0 0 1.5px var(--v8-lime-edge); }
#v8 #app header.rail.rail2 .rail-cta { display: flex !important; align-items: center; justify-content: center; gap: 8px; flex: none; height: 36px !important; min-height: 0 !important; margin: 0 !important; border: 1px solid var(--v8-green) !important; border-radius: var(--v8-r-pill) !important; background: var(--v8-white) !important; color: var(--v8-green-t) !important; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 400 !important; text-decoration: none; }
#v8 #app header.rail.rail2 .rail-cta svg.i { width: 18px !important; height: 18px !important; color: currentColor !important; }
#v8 #app header.rail.rail2 .rail-cta:hover { background: var(--v8-hover) !important; border-color: var(--v8-green) !important; color: var(--v8-green-t) !important; }
#v8 #app header.rail.rail2 .rail-foot2 { position: sticky; bottom: 0; z-index: 2; margin: 8px -12px 0 !important; padding: 8px 12px 12px !important; background: var(--v8-white); }
#v8 #app header.rail.rail2 .rail-me { gap: 10px !important; min-height: 48px; padding: 6px 8px !important; border-radius: var(--v8-r-sm) !important; color: var(--v8-ink) !important; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; }
#v8 #app header.rail.rail2 .rail-me:hover { background: var(--sb-hover) !important; }
#v8 #app header.rail.rail2 .rail-me img { width: 32px !important; height: 32px !important; border-radius: 50% !important; }
#v8 #app header.rail.rail2 .rail-me .who b { font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; }
#v8 #app header.rail.rail2 .rail-me .who { min-width: 0; }
#v8 #app header.rail.rail2 .rail-me .who :is(b, span) { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#v8 #app header.rail.rail2 .rail-me .who span { font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; }
#v8 #app header.rail.rail2 .rail-me svg.i { width: 18px !important; height: 18px !important; }
#v8 #app header.rail.rail2 .rail-me .who span, #v8 #app header.rail.rail2 .rail-me svg.i { color: var(--v8-ink-2) !important; }
/* The notice above the person (README 80; shell.js railNote): one at a time, a hairline card, the title 14 Bold, a line of 12 and
   one action; the cross takes it away for the session. The list's last child, pushed to its foot while there is room */
#v8 #app header.rail.rail2 .rail-note { position: relative; flex: none; margin: auto 0 0; padding: 12px; border-radius: var(--v8-r-sm); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app header.rail.rail2 .rail-note-t { margin: 0; padding-right: 24px; color: var(--v8-ink); font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 700; }
#v8 #app header.rail.rail2 .rail-note-d { margin: 2px 0 8px; color: var(--v8-ink-2); font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; }
#v8 #app header.rail.rail2 .rail-note-a { display: inline-flex; align-items: center; min-height: 24px; padding: 0; border: 0; background: none; color: var(--v8-green-t); font: inherit; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 112, 11, .4); cursor: pointer; }
#v8 #app header.rail.rail2 .rail-note-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: var(--v8-r-tag); background: none; color: var(--v8-ink-2); cursor: pointer; }
#v8 #app header.rail.rail2 .rail-note-x:hover { background: var(--sb-hover); color: var(--v8-ink); }
#v8 #app header.rail.rail2 .rail-note-x svg.i { width: 16px; height: 16px; }
/* File a new claim stands at the foot, above the person, on Search's edges (README 80): always in view, however short the window */
html#v8:not([data-rail="collapsed"]) #app header.rail.rail2 .rail-foot2 a.btn.rail-cta { align-self: stretch; width: 100% !important; max-width: none; margin: 0 0 8px !important; padding: 0 12px !important; }
html#v8[data-rail="collapsed"] #app header.rail.rail2 .rail-foot2 a.btn.rail-cta { margin: 0 0 8px !important; }
/* No motion inside the menu (README 80): the current pill, hovers and the fold change at once */
/* Between pages the menu doesn't take part in the view transition (motion.css's vt-rail, vt-nav and the gliding nav-tab): its old
   picture is dropped and the new one shows at once, as shadcn's sidebar switches its current item. Cross-fading the two pictures
   while the list grew ("Lower your risk" opening) drew the rows twice (Jordi, 22 October 2026); the page itself keeps its motion */
html#v8::view-transition-group(vt-rail), html#v8::view-transition-group(vt-nav), html#v8::view-transition-group(vt-nav2), html#v8::view-transition-group(nav-tab),
html#v8::view-transition-new(vt-rail), html#v8::view-transition-new(vt-nav), html#v8::view-transition-new(vt-nav2), html#v8::view-transition-new(nav-tab) { animation: none; }
html#v8::view-transition-old(vt-rail), html#v8::view-transition-old(vt-nav), html#v8::view-transition-old(vt-nav2), html#v8::view-transition-old(nav-tab) { display: none; }
#v8 #app header.rail.rail2 :is(.nav-item, .nav-sub-a, .rail-search, .rail-toggle, .nav-twist, .rail-me, .rail-cta, .rail-note-x) { transition: none !important; }
#v8 #app header.rail.rail2 .rail-toggle { display: none; }
/* The rail (README 80; v8-base.js railSet): from 1024 the toggle beside the logo folds the menu to 64, at once, with no motion */
@media (min-width: 1024px) {
  html#v8[data-rail="collapsed"] { --v8-rail: 64px; }
  #v8 #app header.rail.rail2 .rail-toggle { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--v8-r-sm); background: none; color: var(--v8-ink-2); cursor: pointer; transition: background-color .16s ease-out, color .16s ease-out; }
  #v8 #app header.rail.rail2 .rail-toggle svg.i { width: 18px; height: 18px; }
  #v8 #app header.rail.rail2 .rail-toggle:hover { background: var(--sb-hover); color: var(--v8-ink); }
  #v8 #app header.rail.rail2 .rail-toggle:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
  /* Folded: 64 wide, 12 in, so every icon sits in a 40 x 36 cell; the names stay for screen readers and show in .rail-tip (v8-base.js),
     counts become an 8 dot on the icon, the person is her photo */
  html#v8[data-rail="collapsed"] #app header.rail.rail2 .rail-head { justify-content: center; padding-left: 0; }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 .rail-head .logo { display: none; }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 :is(.rail-search, .nav-item, .rail-cta, .rail-me) { position: relative; justify-content: flex-start; width: 40px !important; padding: 0 11px !important; }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 .rail-search kbd { display: none; }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 a.btn.rail-cta { width: 40px !important; max-width: none !important; padding: 0 11px !important; margin-left: 0 !important; border-radius: var(--v8-r-sm) !important; }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 :is(.nav-item, .rail-search, .rail-cta) .lb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 .nav-item .count { position: absolute; top: 6px; left: 24px; min-width: 8px; width: 8px; height: 8px; padding: 0; overflow: hidden; color: transparent !important; font-size: 0 !important; box-shadow: 0 0 0 2px var(--v8-white); }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 :is(.nav-sub-w, .nav-twist, .rail-note) { display: none; }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 .nav-item.nav-open { background: var(--sb-current) !important; }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 .rail-me { grid-template-columns: 32px !important; gap: 0 !important; padding: 4px !important; justify-content: center; }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 .rail-me .who { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html#v8[data-rail="collapsed"] #app header.rail.rail2 .rail-me > svg.i { display: none; }
  html#v8[data-rail="collapsed"] body .proto { left: 12px !important; width: 40px !important; }
  html#v8[data-rail="collapsed"] body .proto > button { justify-content: flex-start; width: 40px !important; padding: 0 0 0 15px !important; color: transparent !important; overflow: hidden; white-space: nowrap; }
  html#v8[data-rail="collapsed"] body .proto > button i { flex: none; }
  #v8 .rail-tip { position: fixed; z-index: 300; display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: var(--v8-r-tag); background: var(--v8-ink); color: var(--v8-white); font-size: var(--v8-fs-14); line-height: var(--v8-lh-14); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(0, -50%); }
  #v8 .rail-tip[data-on] { opacity: 1; transform: translate(0, -50%); }
  #v8 .rail-tip kbd { padding: 0 4px; border-radius: 4px; background: color-mix(in srgb, var(--v8-white) 14%, transparent); color: color-mix(in srgb, var(--v8-white) 80%, transparent); font: inherit; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  html#v8, html#v8 #app header.rail.rail2 * { transition: none !important; }
}
/* The phone's top bar: white; Search, Messages and the profile as 44 round buttons. Messages carries the unread count at its icon's
   top right (inside the button, never past the bar), and the gray disc with a deep green icon on #/messages */
#v8 #app .topbar { background: var(--v8-white) !important; }
#v8 #app .topbar .avatar { background: var(--v8-mint) !important; color: var(--v8-deep) !important; font-weight: 700 !important; }
#v8 #app .topbar .icon-btn { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50% !important; color: var(--v8-ink) !important; text-decoration: none; }
#v8 #app .topbar .icon-btn svg.i { width: 24px; height: 24px; color: var(--v8-ink) !important; }
#v8 #app .topbar .icon-btn:hover { background: var(--v8-hover) !important; }
#v8 #app .topbar .tb-msg[aria-current] { background: var(--v8-gray) !important; }
#v8 #app .topbar .tb-msg[aria-current] svg.i { color: var(--v8-deep) !important; }
#v8 #app .topbar .tb-msg[aria-current]:hover { background: var(--v8-hover) !important; }
#v8 #app .topbar .tb-msg .count { position: absolute; top: 2px; left: 24px; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--v8-r-pill) !important; background: var(--v8-mint) !important; color: var(--v8-deep) !important; box-shadow: 0 0 0 2px var(--v8-white); font-size: var(--v8-fs-14) !important; line-height: 1 !important; font-weight: 700 !important; }
/* The tab bar: four equal tabs (80 each at 320), a hairline on top. The current tab: its icon on a 56 x 32 gray pill and its label
   Bold, both deep green (motion.js's mark becomes that pill, so it still glides between tabs). Counts sit inside the pill's top
   right, never above the bar */
#v8 #app .tabbar { background: var(--v8-white) !important; border-top: 1px solid var(--v8-line) !important; box-shadow: none !important; }
#v8 #app .tabbar a { color: var(--v8-ink) !important; }
#v8 #app .tabbar a svg.i { width: 24px; height: 24px; color: var(--v8-ink) !important; }
#v8 #app .tabbar a[aria-current] { color: var(--v8-deep) !important; font-weight: 700 !important; }
#v8 #app .tabbar a[aria-current] .lb { font-weight: 700 !important; }
#v8 #app .tabbar a[aria-current] svg.i { color: var(--v8-deep) !important; }
#v8 #app .tabbar .count { background: var(--v8-mint) !important; color: var(--v8-deep) !important; font-size: var(--v8-fs-14) !important; font-weight: 700 !important; }
#v8 #app .tabbar .count.attn { background: var(--v8-lime) !important; color: var(--v8-deep) !important; }
@media (max-width: 1023px) {
  #v8 #app .tabbar { grid-template-columns: none !important; grid-auto-flow: column !important; grid-auto-columns: minmax(0, 1fr) !important; column-gap: 0 !important; padding: 0 8px env(safe-area-inset-bottom) !important; }
  #v8 #app .tabbar a { align-content: start !important; gap: 4px !important; padding-top: 4px !important; min-width: 0; }
  #v8 #app .tabbar a .lb { max-width: 100%; white-space: nowrap; }
  #v8 #app .tabbar a .ico { position: relative; display: grid !important; place-items: center; width: 56px; height: 32px; border-radius: 16px; }
  #v8 #app .tabbar a[aria-current]:not(:has(.tab-mark)) .ico { background: var(--v8-gray); }
  #v8 #app .tabbar .tab-mark { top: 4px !important; left: calc(50% - 28px) !important; width: 56px !important; height: 32px !important; border-radius: 16px !important; background: var(--v8-gray) !important; }
  #v8 #app .tabbar .count { position: absolute; top: 0 !important; left: calc(50% + 4px) !important; right: auto !important; min-width: 20px; height: 20px; padding: 0 6px; box-shadow: 0 0 0 2px var(--v8-white) !important; }
}
/* The footer (18 October 2026, evening; Janne: "I hate the line ... They look really awkward"). No rules anywhere: space alone
   ends the page. 80 above it, the five links as the case's green text links (each with the external mark), 32 apart in a row
   that wraps; "© Fennia" 24 under them in gray. Below 640 the links are a column of 44 rows. After the gray paperwork band the
   footer takes the band's gray, so the page ends in one zone with no seam */
#v8 #app .qfoot { margin-top: 0 !important; padding: 0 var(--page-x) 48px !important; border: 0 !important; background: var(--v8-white) !important; color: var(--v8-ink-2) !important; }
#v8 #app .qfoot > .qf-in { max-width: var(--content-max); margin: 0 auto; padding: 0; border: 0; }
#v8 #app .qfoot .qf-links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; padding: 0; list-style: none; border: 0; font-size: var(--v8-fs-16); line-height: var(--v8-lh-16); }
#v8 #app .qfoot .qf-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--v8-green-t) !important; font-size: var(--v8-fs-16) !important; text-decoration: underline; text-decoration-color: rgba(0, 112, 11, .4); text-underline-offset: 3px; }
#v8 #app .qfoot .qf-links a:hover { text-decoration-color: currentColor; background: none; }
#v8 #app .qfoot .qf-links svg.i { width: 16px; height: 16px; color: currentColor !important; }
#v8 #app .qfoot .qf-c { margin: 24px 0 0; color: var(--v8-ink-2); font-size: var(--v8-fs-16); line-height: var(--v8-lh-16); }
#v8 #app main.page:has(.v8-band) ~ .qfoot { background: var(--v8-gray) !important; }
@media (max-width: 639px) {
  #v8 #app .qfoot { padding-bottom: 32px !important; }
  #v8 #app .qfoot .qf-links { flex-direction: column; gap: 0; }
  #v8 #app .qfoot .qf-links a { min-height: 44px; }
  #v8 #app .qfoot .qf-c { margin-top: 16px; }
}
/* The side menu's AI pill: the rainbow ring, white (the side menu no longer renders it; other ai-tags keep the style) */
#v8 #app header.rail.rail2 .rail-ai .ai-tag, #v8 #app .ai-tag { color: var(--v8-ink) !important; font-size: var(--v8-fs-16) !important; height: 44px !important; padding: 0 18px 0 14px !important; background-color: transparent !important; background-image: linear-gradient(#fff, #fff), var(--v8-ring) !important; background-clip: padding-box, border-box !important; background-origin: border-box !important; }
/* The "Prototype screens" pill: light, never the darkest thing on a page */
#v8 body .proto > button { min-height: 40px; height: 40px; padding: 0 16px !important; border: 1px solid var(--v8-line) !important; border-radius: var(--v8-r-pill) !important; background: var(--v8-white) !important; box-shadow: none !important; color: var(--v8-ink) !important; font-size: var(--v8-fs-16) !important; }
#v8 body .proto > button:hover { background: var(--v8-hover) !important; }
#v8 body .proto > button i { background: var(--v8-green) !important; }
#v8 body .proto-menu { bottom: 48px; width: 300px; padding: var(--v8-2) !important; border-radius: var(--v8-r) !important; background: var(--v8-white) !important; box-shadow: var(--v8-shadow-pop) !important; border: 0 !important; color: var(--v8-ink) !important; font-size: var(--v8-fs-16); line-height: var(--v8-lh-16); }
/* The menu's rows: ink on white (the older menu was white on ink, and its white text stayed), the green wash on hover. The group
   names are 16 Bold gray, the same size as the rows, so none is a small label over larger text */
#v8 body .proto-menu :is(a, button) { align-items: center; min-height: 40px; padding: 8px 12px; border: 0; border-radius: var(--v8-r-sm); background: none; color: var(--v8-ink) !important; font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; text-decoration: none; cursor: pointer; }
#v8 body .proto-menu :is(a, button):hover { background: var(--v8-hover); }
#v8 body .proto-menu button[aria-pressed="true"]::after { color: var(--v8-green-t); font-weight: 700; }
#v8 body .proto-menu .g { padding: var(--v8-4) 12px var(--v8-1); color: var(--v8-ink-2) !important; font-weight: 700; }
#v8 body .proto-menu .g:first-child { padding-top: var(--v8-2); }
#v8 body .proto-menu .note { margin-top: var(--v8-2); padding: var(--v8-3) 12px var(--v8-1); border-top: 1px solid var(--v8-line) !important; color: var(--v8-ink-2) !important; }
#v8 body .proto-menu :focus-visible { outline: var(--v8-focus) !important; outline-offset: -2px !important; box-shadow: var(--v8-focus-glow-in) !important; }
#v8 body .proto > button:focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
/* Never on content, never on the profile (VISUAL-SPEC 23, 24; 18 October 2026, evening). From 1024 the pill stays fixed 16 above
   the window's bottom at the side menu's foot, inside the room the sticky profile block keeps under the person, so it is the
   menu's last row at any window height (it sat on the profile on windows under about 710 tall). Below 1024 there is no white
   strip any more: the pill waits at the end of the page, after the footer, its row level with the chat bubble, and the page
   ends 16 above the tab bar */
/* The menu's own scroll area (19 October 2026, round j; WCAG 2.4.11). On a window shorter than the menu (Home's three sub-items at
   1440 x 900, every page at 1280 x 800) the sticky profile block covered File a new claim and Help and contact, and a focused item
   stayed under it, because the window scrolled, not the menu. Now the list between Search and the profile scrolls by itself:
   nothing is ever under the profile, focus scrolls the list, and a soft shade at its top or foot says there is more */
@media (min-width: 1024px) {
  #v8 #app header.rail.rail2 > .nav.nav-grouped { flex: 1 1 auto !important; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 8px; margin: 0 -4px !important; padding: 0 4px 4px !important;
    background: linear-gradient(var(--v8-white) 30%, rgba(255, 255, 255, 0)) center top / 100% 32px no-repeat local, linear-gradient(rgba(255, 255, 255, 0), var(--v8-white) 70%) center bottom / 100% 32px no-repeat local,
      linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, 0)) center top / 100% 8px no-repeat scroll, linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .1)) center bottom / 100% 8px no-repeat scroll; }
  #v8 #app header.rail.rail2 .rail-foot2 { position: static; }
  #v8 #app header.rail.rail2 .rail-foot2 { padding-bottom: 68px !important; }
  #v8 body:has(#app header.rail.rail2) .proto { left: 16px; right: auto; bottom: 16px; width: 232px; z-index: 60; }
  #v8 body:has(#app header.rail.rail2) .proto > button { width: 100%; }
  #v8 body:has(#app header.rail.rail2 .v8-acct:not([hidden])) .proto { z-index: 161; }   /* the open profile menu lifts the side menu to 160 */
  /* While the person's menu is open the side menu doesn't clip it (shell.js openProfile puts it after her button, inside the menu's
     scrolling box; some browsers cut a fixed child there at the menu's edge, Jordi, 22 October 2026). The list keeps its own scroll */
  html#v8 #app header.rail.rail2:has(.v8-acct:not([hidden])) { overflow: visible !important; }
  #v8 body:has(#app header.rail.rail2) .proto-menu { left: 0; right: auto; }
}
@media (max-width: 1023px) {
  #v8 #app .tabbar::before { content: none !important; display: none !important; }
  #v8 #app .shell:not(.has-dock):has(.tabbar) .col { padding-bottom: 0 !important; }
  #v8 #app .shell.has-dock:has(.tabbar) .col { padding-bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)) !important; }
  #v8 body .proto.over-tabbar { position: relative !important; z-index: 1; left: auto !important; right: auto !important; bottom: auto !important; display: block !important; width: auto; margin: 0 0 calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding: 16px var(--page-x); }
  #v8 body .proto.over-tabbar > button { display: inline-flex !important; width: auto; }
  #v8 body:has(#app main.page .v8-band) .proto.over-tabbar { background: var(--v8-gray); }   /* the band's gray runs on to the tab bar */
  #v8 body .proto.over-tabbar .proto-menu { left: var(--page-x); right: auto; bottom: 64px; width: min(300px, calc(100vw - 32px)) !important; }
}
@media (max-width: 639px) { #v8 body:has(#app .shell.has-dock) .proto.over-tabbar { display: none !important; } }
/* The chat bubble and the assistant space (18 October 2026, Janne: "our AI assistant to be a widget in the lower edge of the
   screen ... floating there, often like the chat bubbles"). One launcher, bottom right, on every page at every width:
   - from 1024: a white bubble 56 tall with the rainbow ring (3), the rainbow sparkle and "Ask our AI assistant", 24 from the
     window's right and bottom edges; its corner towards the window's corner is the bubble's tail (8, the others 28). Its menu
     neighbour, "Prototype screens", sits in the side menu, so they never meet;
   - below 1024: the same bubble round, 48, at the right of the white strip above the tab bar (the pill at its left);
   - in a flow: the round 48 bubble, from 1024 in the window's bottom right corner (the flow's actions sit in the question
     column, its preview is sticky at the top); below 1024 above the flow's fixed foot (--v8-dock), so Back and Continue stay
     clear;
   - open: a round X in the same place, and the space stands above it, anchored to its right edge.
   On a conversation's phone dock (below 640) the bubble waits on the pages around it (components.css), as the pill does */
#v8 body .aiw-launch { --ai-a: 200deg; position: fixed; left: auto !important; right: 24px !important; bottom: 24px !important; transform: none !important; z-index: 150; display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; width: auto !important; height: 56px !important; padding: 0 22px 0 18px !important; border: 3px solid transparent !important; border-radius: 28px 28px 8px 28px !important; background-color: transparent !important; background-image: linear-gradient(#fff, #fff), var(--v8-ring) !important; background-clip: padding-box, border-box !important; background-origin: border-box !important; color: var(--v8-ink) !important; box-shadow: var(--v8-shadow-pop) !important; font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; white-space: nowrap; cursor: pointer; animation: none; }
#v8 body .aiw-launch .aiw-spark { font-size: var(--v8-fs-20) !important; line-height: 1; }
@media (hover: hover) { #v8 body .aiw-launch:hover { background-color: transparent !important; background-image: linear-gradient(var(--v8-hover), var(--v8-hover)), var(--v8-ring) !important; background-clip: padding-box, border-box !important; background-origin: border-box !important; } }
#v8 body .aiw-launch:focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 body .aiw-launch.open { width: 56px !important; padding: 0 !important; border-radius: 50% !important; }
#v8 body .aiw-launch.open svg.i { width: 24px; height: 24px; color: var(--v8-ink) !important; }
/* The assistant space's inner layout (moved here from admin.css, 18 October 2026): the portal also has it in components.css (about
   lines 2315 to 2338), which the admin side doesn't load. The same rules, no new values, so both sides share this copy */
#v8 body .aiw { display: flex; flex-direction: column; overflow: hidden; z-index: 160; font-family: var(--font); }
#v8 body .aiw-scrim { position: fixed; inset: 0; z-index: 140; }
#v8 body .aiw-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; }
#v8 body .aiw-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: none; }
#v8 body .aiw-head div { flex: 1; } #v8 body .aiw-head h2 { margin: 0; } #v8 body .aiw-head p { margin: 2px 0 0; }
#v8 body .aiw-ib { display: grid; place-items: center; border: 0; cursor: pointer; } #v8 body .aiw-ib svg.i { width: 20px; height: 20px; }
#v8 body .aiw-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 20px 18px 8px; list-style: none; }
#v8 body .aiw-body > :first-child { margin-top: auto; }
#v8 body .aiw-body li { max-width: 85%; padding: 12px 16px; }
#v8 body .aiw-bot { align-self: flex-start; } #v8 body .aiw-bot p { margin: 0; }
#v8 body .aiw-me { align-self: flex-end; margin-top: 12px; }
#v8 body .aiw-link { display: inline-block; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; }
#v8 body .aiw-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 18px 0; }
#v8 body .aiw-chips button { padding: 8px 14px; font: inherit; cursor: pointer; }
#v8 body .aiw-composer { margin: 10px 18px 0; padding: 12px 12px 10px 16px; border: 1px solid var(--v8-field); border-radius: 20px; }
#v8 body .aiw-composer:focus-within { border-color: var(--v8-green-t); }
#v8 body .aiw-composer input { width: 100%; border: 0; outline: 0; background: none; font: inherit; color: var(--v8-ink); }
#v8 body .aiw-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
#v8 body .aiw-tool { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; cursor: pointer; }
#v8 body .aiw-tool:hover { background: var(--v8-hover); } #v8 body .aiw-tool svg.i { width: 20px; height: 20px; color: var(--v8-ink-2); }
#v8 body .aiw-send { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%; cursor: pointer; } #v8 body .aiw-send svg.i { width: 20px; height: 20px; color: var(--v8-white); }
#v8 body .aiw-fine { margin: 0; padding: 10px 18px 14px; text-align: center; }
@media (max-width: 639px) { #v8 body .aiw-chips button:nth-child(n+3) { display: none; } }
/* Focus is never hidden under the chat bubble (WCAG 2.4.11, review of 18 October 2026; moved here from purchase.css): scrolling to a
   focused control keeps it clear of the bubble at the window's bottom right (24 + 56 + 24 from 1024; above the tab bar below 1024;
   above a flow's fixed foot in a flow). purchase.css's offer bar rule wins over these */
#v8 { scroll-padding-bottom: 104px; }
@media (max-width: 1023px) { #v8 { scroll-padding-bottom: calc(var(--tabbar-h, 64px) + 80px); } #v8.v8-in-flow { scroll-padding-bottom: calc(var(--v8-dock, 0px) + 72px); } }
/* Round: phones, and every flow */
@media (max-width: 1023px) {
  #v8 body .aiw-launch, #v8 body .aiw-launch.open { right: 16px !important; bottom: calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom)) !important; width: 48px !important; height: 48px !important; padding: 0 !important; border-radius: 50% !important; }
  #v8 body .aiw-launch.open { border-radius: 50% !important; }
}
#v8.v8-in-flow body .aiw-launch { width: 48px !important; height: 48px !important; padding: 0 !important; border-radius: 50% !important; }   /* round: one corner pinched read as lopsided (Janne, 18 October 2026: no single curved corner) */
#v8.v8-in-flow body .aiw-launch.open { border-radius: 50% !important; }
@media (max-width: 1023px) { #v8.v8-in-flow body .aiw-launch { bottom: calc(var(--v8-dock, 0px) + 12px + env(safe-area-inset-bottom)) !important; } }
@media (max-width: 1023px) { #v8 body .aiw-launch:not(.open) .aiw-ll { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
#v8.v8-in-flow body .aiw-launch:not(.open) .aiw-ll { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { #v8 body .aiw-launch { transition: none; } }
/* The space, anchored to the bubble: its right edge on the bubble's, 12 above it; 760 wide (the window less 48 where narrower),
   up to 800 tall. Phones: 12 from each side, from 12 under the window's top to 12 above the bubble */
#v8 body .aiw { position: fixed; left: auto !important; right: 24px !important; bottom: 92px !important; transform: none !important; width: min(760px, calc(100vw - 48px)) !important; height: min(800px, calc(100vh - 116px)) !important; animation: v8-aiw-in .2s ease-out; transform-origin: 100% 100%; }
@keyframes v8-aiw-in { from { opacity: 0; translate: 0 12px; scale: .98; } }
@media (prefers-reduced-motion: reduce) { #v8 body .aiw { animation: none; } }
#v8.v8-in-flow body .aiw { bottom: 84px !important; height: min(800px, calc(100vh - 108px)) !important; }
@media (max-width: 1023px) {
  #v8 body .aiw { left: 12px !important; right: 12px !important; width: auto !important; bottom: calc(var(--tabbar-h) + 72px + env(safe-area-inset-bottom)) !important; height: calc(100dvh - var(--tabbar-h) - 96px - env(safe-area-inset-bottom)) !important; }
  #v8.v8-in-flow body .aiw { bottom: calc(var(--v8-dock, 0px) + 72px + env(safe-area-inset-bottom)) !important; height: calc(100dvh - var(--v8-dock, 0px) - 96px - env(safe-area-inset-bottom)) !important; }
}
/* The page ends clear of the bubble: from 1024 the footer keeps 80 under its last row, so the bubble never sits on a link there */
@media (min-width: 1024px) { #v8 #app .qfoot { padding-bottom: 80px !important; } }
#v8 body .aiw { border-radius: var(--v8-r) !important; background: var(--v8-white) !important; box-shadow: var(--v8-shadow-pop) !important; color: var(--v8-ink) !important; }
#v8 body .aiw-scrim { background: var(--v8-scrim) !important; }
#v8 body .aiw-head { background: var(--v8-white) !important; color: var(--v8-ink) !important; border-bottom: 1px solid var(--v8-line) !important; }
#v8 body .aiw-head h2 { color: var(--v8-ink) !important; font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
#v8 body .aiw-head p { color: var(--v8-ink-2) !important; font-size: var(--v8-fs-16) !important; }
#v8 body .aiw-mark { background-color: transparent !important; background-image: linear-gradient(#fff, #fff), var(--v8-ring) !important; background-clip: padding-box, border-box !important; background-origin: border-box !important; border: 3px solid transparent !important; border-radius: 50% !important; }
#v8 body .aiw-ib { color: var(--v8-ink) !important; background: transparent !important; width: 44px; height: 44px; border-radius: 50% !important; }
#v8 body .aiw-ib:hover { background: var(--v8-hover) !important; }
#v8 body .aiw-me { background: var(--v8-mint) !important; color: var(--v8-ink) !important; border-radius: var(--v8-r) var(--v8-r) var(--v8-r-tag) var(--v8-r) !important; }
#v8 body .aiw-bot { background: var(--v8-white) !important; color: var(--v8-ink) !important; box-shadow: inset 0 0 0 1px var(--v8-line) !important; border-radius: var(--v8-r) var(--v8-r) var(--v8-r) var(--v8-r-tag) !important; }
/* The "AI assistant" line under each answer was 12, a small label: the bubbles' sides already say who speaks, so it is read by
   screen readers only (18 October 2026). The fine print is 16 */
#v8 body .aiw-body .aiw-meta { position: absolute !important; width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
#v8 body .aiw-link { color: var(--v8-green-t) !important; }
#v8 body .aiw-chips button { border: 1px solid var(--v8-pressed) !important; background: var(--v8-white) !important; color: var(--v8-green-t) !important; border-radius: var(--v8-r-pill) !important; font-size: var(--v8-fs-16) !important; }
#v8 body .aiw-chips button:hover { background: var(--v8-hover) !important; }
#v8 body .aiw-send { background: var(--v8-green) !important; color: var(--v8-white) !important; }
#v8 body .aiw-send:hover { background: var(--v8-deep) !important; }
#v8 body .aiw-fine { color: var(--v8-ink-2) !important; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; }
#v8 body .aiw :focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
/* Toasts: bottom centre (above the tab bar on phones), ink, white 16, radius 16; success with a green check disc */
#v8 body .toast { border-radius: var(--v8-r) !important; background: var(--v8-ink) !important; color: var(--v8-white) !important; box-shadow: var(--v8-shadow-pop) !important; font-size: var(--v8-fs-16) !important; }
#v8 body .toast .strip { display: grid !important; place-items: center; width: 20px !important; height: 20px !important; border-radius: 50% !important; background: transparent !important; color: var(--v8-white) !important; }
#v8 body .toast.success .strip { background: var(--v8-green) !important; }
#v8 body .toast .strip svg.i { width: 14px !important; height: 14px !important; color: var(--v8-white) !important; }
#v8 body .toast .x { color: var(--v8-white) !important; border-radius: 50% !important; }
#v8 body .toast .x:hover { background: rgba(255, 255, 255, .16) !important; }
/* roles.js's line under the hero ("See the portal as"): what this person's roles let them do, as a gray card on the white page with
   the roles in the one badge style (no dot) */
#v8 #app .ro-line { margin-top: var(--v8-sec) !important; padding: var(--v8-4) var(--v8-5) !important; border: 0 !important; border-radius: var(--v8-r) !important; background: var(--v8-gray) !important; color: var(--v8-ink) !important; }
#v8 #app .ro-line p { color: var(--v8-ink) !important; font-size: var(--v8-fs-16) !important; max-width: var(--v8-measure); }
#v8 #app .ro-line .tg { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--v8-line) !important; border-radius: var(--v8-r-tag) !important; background: var(--v8-white) !important; color: var(--v8-ink) !important; font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 400 !important; }
#v8 #app .ro-line + .v8-sec, #v8 #app .ro-line + .v8-ins { margin-top: var(--v8-7) !important; }
#v8 #app .ro-line .ro-roles { display: flex; flex-wrap: wrap; gap: var(--v8-2); margin: 0; padding: 0; list-style: none; }
/* Straight after the mint zone (roles.js puts it there), 40 under it; a band after it keeps its own 80 */
#v8 #app .v8-hero + .ro-line { margin-top: var(--v8-7) !important; }
/* The command bar and the tour: tokens */
#v8 body .cmd-box, #v8 body .cmd .box { border-radius: var(--v8-r) !important; box-shadow: var(--v8-shadow-pop) !important; }
/* The older page head's title (pages not yet on v8): 40 Bold Fennia green, as before */
#v8 #app .head h1 { color: var(--v8-green) !important; }
#v8 #app .hw-back { color: var(--v8-green-t) !important; }

/* ---------- 16. The flow shell (section 8.4) ---------- */
#v8 #app .v8-flow { min-height: 100vh; background: var(--v8-white); }
#v8 #app .v8-fbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: var(--v8-6); height: 72px; padding: 0 max(var(--page-x), calc((100% - 1176px) / 2)); background: var(--v8-white); border-bottom: 1px solid var(--v8-line); }   /* the bar's content on the same 1176 as the page's (harmonised 18 October 2026) */
#v8 #app .v8-flogo { flex: none; display: inline-flex; align-items: center; min-height: 44px; }
#v8 #app .v8-flogo img { display: block; height: 24px; width: auto; }
#v8 #app .v8-fnav { flex: 1; min-width: 0; }
#v8 #app .v8-steps { display: flex; flex-wrap: nowrap; gap: var(--v8-6); overflow: hidden; }
#v8 #app .v8-steps li { display: inline-flex; align-items: center; gap: 8px; color: var(--v8-ink-2); white-space: nowrap; }
#v8 #app .v8-steps li.done { color: var(--v8-ink); }
#v8 #app .v8-steps li.now { color: var(--v8-ink); font-weight: 700 !important; }
#v8 #app .v8-steps-ck { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--v8-green); color: var(--v8-white); }
#v8 #app .v8-steps-ck svg.i { width: 14px; height: 14px; }
#v8 #app .v8-fcount { display: none; }
/* v8-base.js adds .v8-fbar-tight where the named steps don't fit the bar: the count and the progress line show, as on a phone */
#v8 #app .v8-fbar-tight .v8-steps { display: none; }
#v8 #app .v8-fbar-tight .v8-fnav { display: flex; justify-content: flex-end; }
/* Where the named steps don't fit, the step's name and place show in words ("A few questions, step 2 of 3", V8.fcount) beside the
   thin line (round K, 19 October 2026, SPEC 13 defect 5: the line alone didn't say which step she was on) */
#v8 #app .v8-fbar-tight .v8-fcount { display: block; color: var(--v8-ink-2); white-space: nowrap; }
#v8 #app .v8-fbar-tight .v8-fseg { position: absolute; left: 0; right: 0; bottom: -5px; display: grid; grid-auto-flow: column; gap: 0; height: 3px; padding: 0 max(var(--page-x), calc((100% - 1176px) / 2)); }
#v8 #app .v8-fbar-tight .v8-fseg i { border-radius: 0; background: var(--v8-line); }
#v8 #app .v8-fbar-tight .v8-fseg i.on { background: var(--v8-green); }
#v8 #app .v8-fbar-r { display: flex; align-items: center; gap: var(--v8-4); flex: none; }
#v8 #app .v8-talk { min-height: 44px; text-decoration: none; }
#v8 #app .v8-talk:hover span { text-decoration: underline; text-underline-offset: 3px; }
#v8 #app .v8-fclose { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: var(--v8-r-pill); color: var(--v8-ink); text-decoration: none; }
#v8 #app .v8-fclose svg.i { width: 24px; height: 24px; }
#v8 #app .v8-fclose:hover { background: var(--v8-hover); }
#v8 #app .v8-fseg { display: none; }
#v8 #app .v8-fmain { padding: var(--v8-9) var(--page-x) var(--v8-11); }
#v8 #app .v8-fmain:focus { outline: none; }
#v8 #app .v8-fgrid { 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-fcol { grid-column: 1 / span 6; min-width: 0; }
#v8 #app .v8-fpv { grid-column: 8 / span 5; position: sticky; top: 96px; min-width: 0; }
#v8 #app .v8-flow-wide .v8-fcol { grid-column: 1 / span 8; }
#v8 #app .v8-flow-wide .v8-fpv { grid-column: 9 / span 4; }
#v8 #app .v8-ftitle { max-width: 640px; font-size: var(--v8-fs-40) !important; line-height: var(--v8-lh-40) !important; letter-spacing: -0.02em; font-weight: 700 !important; color: var(--v8-green) !important; }
#v8 #app .v8-fline { margin-top: var(--v8-4); max-width: 640px; color: var(--v8-ink-2); }
#v8 #app .v8-fbody { margin-top: var(--v8-6); }
#v8 #app .v8-fbody > .v8-h2 { margin-top: var(--v8-7); }
#v8 #app .v8-ffoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--v8-4); margin-top: var(--v8-7); }
#v8 #app .v8-ffoot > :only-child { margin-left: auto; }
#v8 #app .v8-fpv-h { display: none; }
/* The bottom sheet's head, shown under 1024 only: its type sits outside the query (no font-size inside a media query) */
#v8 #app .v8-fpv-h b { font-size: var(--v8-fs-20) !important; }
#v8 #app .v8-stage { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-sheet-doc { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-white); }
#v8 #app .v8-sheet-doc > .v8-cl { margin-top: var(--v8-2); }
#v8 #app .v8-sheet-doc > * + :is(.v8-pv, .v8-track, .v8-sum, .v8-rows, .v8-dl) { margin-top: var(--v8-5); }
#v8 #app .v8-pv { display: grid; }
#v8 #app .v8-pvf { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--v8-4); padding: var(--v8-3) 0; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-pvf:first-child { border-top: 0; }
#v8 #app .v8-pvf dt { color: var(--v8-ink-2); }
#v8 #app .v8-pvf dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#v8 #app .v8-notyet { color: var(--v8-ink-2); }
#v8 #app .v8-fresh { animation: v8-arrive .24s ease-out both, v8-wash 1.2s ease-out .24s both; }
@keyframes v8-arrive { from { opacity: 0; transform: translateY(8px); } }
@keyframes v8-wash { from { background: var(--v8-mint); } to { background: transparent; } }
/* The phone's summary card sits under the question's line in every flow (VISUAL-SPEC 23); hidden from 1024, where the preview shows */
#v8 #app .v8-fsum { display: none; }
/* The help panel inside a flow ("What to do right now"): mint, radius 16, not full bleed */
#v8 #app .v8-helpp { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-mint); }
@media (max-width: 1023px) {
  /* Two rows (round K, 19 October 2026, SPEC 13 defects 5 and 6): the logo, "Talk to a person" in words and Close on the first; on
     the second, where she is in words ("A few questions, step 2 of 3"), then the thin progress line on the bar's lower edge */
  #v8 #app .v8-fbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: 64px auto; grid-template-areas: "logo . right" "nav nav nav"; align-items: center; height: auto; gap: 0 var(--v8-4); padding: 0 var(--page-x); }
  #v8 #app .v8-fbar > .v8-flogo { grid-area: logo; }
  #v8 #app .v8-fbar > .v8-fbar-r { grid-area: right; }
  #v8 #app .v8-fbar > .v8-fnav { grid-area: nav; display: block; min-width: 0; }
  #v8 #app .v8-steps { display: none; }
  #v8 #app .v8-fcount { display: block; margin: -4px 0 0; padding: 0 0 var(--v8-3); color: var(--v8-ink-2); }
  /* One thin progress line, not segments (18 October 2026: no level bars); the step's words are the row above it */
  #v8 #app .v8-fseg { position: absolute; left: 0; right: 0; bottom: -5px; display: grid; grid-auto-flow: column; gap: 0; height: 3px; padding: 0 var(--page-x); }
  #v8 #app .v8-fseg i { border-radius: 0; background: var(--v8-line); }
  #v8 #app .v8-fseg i.on { background: var(--v8-green); }
  /* The human route keeps its word on every step (SPEC 13 defect 6) */
  #v8 #app .v8-talk { gap: var(--v8-2); white-space: nowrap; }
  #v8 #app .v8-fclose span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #v8 #app .v8-fclose { width: 44px; padding: 0; justify-content: center; }
  #v8 #app .v8-fmain { padding: var(--v8-7) var(--page-x) 120px; }
  #v8 #app .v8-fgrid { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .v8-fcol, #v8 #app .v8-flow-wide .v8-fcol { grid-column: 1; }
  #v8 #app .v8-fsum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--v8-2) var(--v8-4); max-width: 640px; margin-top: var(--v8-5); padding: var(--v8-4) var(--v8-5); border-radius: var(--v8-r); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); }
  #v8 #app .v8-fsum .v8-link { min-height: 44px; }
  #v8 #app .v8-fpv { position: fixed; inset: auto 0 0 0; z-index: 60; max-height: 88vh; overflow-y: auto; padding: 0 0 env(safe-area-inset-bottom); border-radius: var(--v8-r) var(--v8-r) 0 0; background: var(--v8-gray); box-shadow: var(--v8-shadow-pop); transform: translateY(105%); visibility: hidden; transition: transform .24s var(--v8-ease), visibility 0s .24s; }
  #v8 #app .v8-sheet-on .v8-fpv { transform: none; visibility: visible; transition: transform .24s var(--v8-ease); }
  #v8 #app .v8-sheet-on::after { content: ""; position: fixed; inset: 0; z-index: 55; background: var(--v8-scrim); }
  #v8 #app .v8-fpv-h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: var(--v8-2) var(--v8-2) var(--v8-2) var(--v8-5); background: var(--v8-gray); }
  #v8 #app .v8-fpv .v8-stage { padding: 0 var(--v8-4) var(--v8-5); }
  #v8 #app .v8-ffoot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; flex-wrap: nowrap; margin: 0; padding: 12px var(--page-x) calc(12px + env(safe-area-inset-bottom)); background: var(--v8-white); border-top: 1px solid var(--v8-line); }
  #v8 #app .v8-ffoot > :last-child { flex: 1; }
}
/* Narrow phones: in a flow's foot the text link or secondary gives way first, wrapping before the primary does, so a short
   primary ("Get started", "Get your offer") keeps its one line and fills the rest of the foot (VISUAL-SPEC 23). The primary's
   floor is its one-line width, capped so the other keeps at least 104 px; only a primary longer than that wraps, inside a pill
   that grows in height. Browsers without calc-size() cap the primary instead and let it keep its one line */
@media (max-width: 479px) {
  #v8 #app .v8-ffoot { align-items: center; }
  #v8 #app .v8-ffoot > :is(.v8-btn-1, .btn-primary) { flex: 1 1 auto; }
  #v8 #app .v8-ffoot > :is(.v8-btn-1, .btn-primary):not(:only-child) { min-width: calc-size(max-content, min(size, 100% - 120px)); }
  #v8 #app .v8-ffoot:has(> :is(.v8-btn-1, .btn-primary)) > :not(.v8-btn-1, .btn-primary) { flex: 0 1 auto; min-width: min-content; }
  #v8 #app .v8-ffoot > :is(.v8-btn, .btn) { height: auto; min-height: 44px; padding-block: 10px; }
}
@supports not (min-width: calc-size(max-content, size)) {
  @media (max-width: 479px) { #v8 #app .v8-ffoot > :is(.v8-btn-1, .btn-primary):not(:only-child) { flex: 1 0 auto; max-width: calc(100% - 120px); } }
}
/* Very narrow phones: the bar keeps the logo, "Step 2 of 5", Talk to a person and Close on one line */
@media (max-width: 359px) {
  #v8 #app .v8-fbar { gap: 0 var(--v8-3); }
  #v8 #app .v8-flogo img { height: 16px; }
  #v8 #app .v8-fbar-r { gap: 0; }
}
/* In a flow the chat bubble stays, round, out of the actions' way (section 15, 18 October 2026). The "Prototype screens" pill never sits on the
   flow (VISUAL-SPEC 23): from 1024 it is a 40 round button in the left margin, below 1024 (no tab bar to stand on) it waits on
   the pages around the flow */
@media (min-width: 1024px) {
  #v8.v8-in-flow body .proto { left: 16px; right: auto; bottom: 16px; }
  #v8.v8-in-flow body .proto > button { width: 40px; padding: 0 0 0 15px !important; gap: 16px; overflow: hidden; white-space: nowrap; justify-content: flex-start; color: transparent !important; }
  #v8.v8-in-flow body .proto > button i { flex: none; }   /* the green dot shows in the circle (it shrank to 0 in the 40 button) */
  #v8.v8-in-flow body .proto-menu { left: 0; right: auto; }
}
/* Below 1024 a flow has no tab bar to stand on, so the pill waits at the end of the page, after the question, clear of the fixed
   foot or dock (v8-base.js measures it into --v8-dock). It is never fixed over the flow, so the area files' "hide it in my flow"
   rules no longer need to apply: "Make the next claim fail" and the rest stay in reach on a phone (18 October 2026) */
@media (max-width: 1023px) {
  #v8.v8-in-flow body .proto { position: relative !important; z-index: 1; left: auto !important; right: auto !important; bottom: auto !important; display: block !important; width: max-content; margin: 0 var(--page-x) calc(var(--v8-dock, 72px) + 24px + env(safe-area-inset-bottom)); }
  #v8.v8-in-flow body .proto-menu { left: 0; right: auto; width: min(300px, calc(100vw - 32px)) !important; }
}

/* ---------- 17. Fennia's green moment (section 20.4): only at the end of a purchase ---------- */
#v8 #app .v8-gm { position: relative; overflow: hidden; margin: calc(-1 * var(--page-top)) calc(-1 * var(--v8-bleed)) 0 !important; padding: var(--v8-10) var(--v8-bleed); background: var(--v8-mint); }
#v8 #app .v8-gm-pcs { position: absolute; inset: 0; pointer-events: none; }
#v8 #app .v8-gm-pc { position: absolute; width: 64px; height: 64px; animation: v8-rise .48s ease-out both; animation-delay: var(--d, 0ms); }
@keyframes v8-rise { from { opacity: 0; transform: translateY(16px); } }
#v8 #app .v8-gm-strip { display: none; }
#v8 #app .v8-gm-col { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
#v8 #app .v8-gm-t { font-size: var(--v8-fs-40) !important; line-height: var(--v8-lh-40) !important; letter-spacing: -0.02em; font-weight: 700 !important; color: var(--v8-deep) !important; text-align: center; }
#v8 #app .v8-gm-b { margin: var(--v8-4) auto 0; text-align: center; }
#v8 #app .v8-gm-b.v8-left { text-align: left; }
#v8 #app .v8-gm-card { margin-top: var(--v8-6); padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-white); }
#v8 #app .v8-gm-card > .v8-cn + * { margin-top: var(--v8-5); }
#v8 #app .v8-gm-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--v8-4); margin-top: var(--v8-6); }
#v8 #app .v8-gm-acts .v8-btn-2 { background: var(--v8-white); }
#v8 #app .v8-gm-l { margin-top: var(--v8-5); text-align: center; max-width: none !important; }
#v8 #app .v8-gm:last-child, #v8 #app .v8-hero:last-child { margin-bottom: calc(-1 * var(--v8-page-b)) !important; }
@media (max-width: 1199px) { #v8 #app .v8-gm-pc:nth-child(even) { display: none; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { #v8 #app .v8-gm-pc:nth-child(even) { display: none; }}
@media (max-width: 1023px) {
  #v8 #app .v8-gm { padding: 0 var(--v8-bleed); }
  #v8 #app .v8-gm-pcs { display: none; }
  #v8 #app .v8-gm-strip { display: flex; align-items: center; justify-content: space-between; height: 128px; }
  #v8 #app .v8-gm-strip img { width: 32px; height: 32px; }
}
@media (max-width: 639px) {
  #v8 #app .v8-gm-acts { flex-direction: column-reverse; align-items: stretch; }
}

/* ---------- 18. Motion (section 21): explains, never decorates ---------- */
@media (prefers-reduced-motion: reduce) {
  #v8 #app :where([class*="v8-"]), #v8 .v8-dlgw * { animation: none !important; transition: none !important; }
  #v8 #app .v8-btn-ai:hover, #v8 #app .v8-ask:hover, #v8 #app .v8-ask:focus-within { animation: none !important; }
}
#v8[data-motion="off"] #app :where([class*="v8-"]) { animation: none !important; transition: none !important; }

/* ---------- 19. Phone (section 23): stacks, 16 gutters, 44 targets ---------- */
@media (max-width: 1023px) {
  #v8 #app .v8-plate, #v8 #app .v8-help, #v8 #app .v8-certc { padding: var(--v8-5); }
  #v8 #app .v8-band { padding-top: var(--v8-8); padding-bottom: var(--v8-9); }
}
@media (max-width: 639px) {
  #v8 #app .v8-sh-a { align-items: flex-start; flex-direction: column; }
  #v8 #app .v8-empty { padding: var(--v8-6) var(--v8-5); }
  #v8 #app .v8-upload { padding: var(--v8-5); }
}

/* ---------- 20. The guide's amount fields (18 October 2026) ----------
   The field was 120 wide and cut its placeholder ("For example 6.0("): 9.5em holds "For example 14.400", the longest, at 16 */
#v8 #app .gd-num-f input { width: 9.5em; }


/* ---------- 21. Components lifted from the areas (the integrator, 18 October 2026) ----------
   Janne, 18 October 2026: "make sure that you're consistent with font sizes ... utilizing the design system that you established
   for this case". What the area files wrote for themselves and the other pages need too now lives here once, with its helper in
   v8-base.js and its entry in README section 5. Delete any local copy you find. */


/* V8.factCard({ title }): the card's title (20 Bold) 24 under the art, the figure 8 under the title. From 1200 the cards in a row
   share their rows (subgrid), so titles, figures and cues line up when a label runs to two lines; below 1200 a card is a row */
#v8 #app .v8-fact > .v8-fact-h { margin: var(--v8-5) 0 0; color: var(--v8-ink); }
#v8 #app .v8-fact-tt > .v8-fig { margin-top: 0; padding-top: var(--v8-2); }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1200px) { @container app (min-width: 1200px) {
  #v8 #app .v8-grid:has(> li > .v8-fact-tt) > li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  #v8 #app .v8-fact-tt { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; row-gap: 0; min-height: 0; }
  #v8 #app .v8-fact-tt > .v8-fig { align-content: start; }
  #v8 #app .v8-fact-tt > .v8-cue { align-self: end; justify-self: start; }
} }
@media (max-width: 1199px) {
  #v8 #app .v8-fact-tt .v8-art { grid-row: 1 / span 4; }
  #v8 #app .v8-fact-tt > .v8-fact-h { margin-top: 0; }
  #v8 #app .v8-fact-tt > .v8-cue { justify-self: start; }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) {
  #v8 #app .v8-fact-tt .v8-art { grid-row: 1 / span 4; }
  #v8 #app .v8-fact-tt > .v8-fact-h { margin-top: 0; }
  #v8 #app .v8-fact-tt > .v8-cue { justify-self: start; }}

/* V8.policyCard({ add: true }), the policy she could add (Janne: "done with a dotted stroke, so it looks that you can add them"):
   white with a 2 px dotted edge in the field gray (3.4:1 on white); hover turns the dots green */
#v8 #app .v8-pc.v8-pc-add { background: var(--v8-white) !important; outline: 2px dotted var(--v8-field); outline-offset: -2px; }
@media (hover: hover) { #v8 #app a.v8-pc.v8-pc-add:hover { outline-color: var(--v8-green-t); background: var(--v8-white) !important; } }

/* V8.coverChip: the old policy page's chips. White with a hairline edge at rest, the green icon, the name 16, the info mark; hover
   the green inset edge. A cover she lacks (.v8-chip-cover-out): no fill, a 2 px dotted edge, green dots on hover */
#v8 #app .v8-chips-cover { display: flex; flex-wrap: wrap; gap: var(--v8-3); margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-chips-cover > li { display: flex; min-width: 0; max-width: 100%; }
#v8 #app .v8-chip-cover { display: inline-flex; align-items: center; gap: var(--v8-3); min-height: 48px; max-width: 100%; margin: 0; padding: var(--v8-3) var(--v8-4); border: 0; border-radius: var(--v8-r-sm);
  background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); color: var(--v8-ink); font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important;
  text-align: left; cursor: pointer; transition: box-shadow .16s ease-out, background-color .16s ease-out; }
#v8 #app .v8-chip-cover svg.i { flex: none; width: 20px; height: 20px; color: var(--v8-green-t); }
#v8 #app .v8-chip-cover .v8-chip-cover-t { min-width: 0; overflow-wrap: break-word; }
#v8 #app .v8-chip-cover .v8-chip-cover-i { display: inline-flex; margin-left: var(--v8-1); }
#v8 #app .v8-chip-cover .v8-chip-cover-i svg.i { color: var(--v8-ink-2); }
#v8 #app .v8-chip-cover-out { background: transparent; box-shadow: none; outline: 2px dotted var(--v8-field); outline-offset: -2px; }
@media (hover: hover) {
  #v8 #app .v8-chip-cover:hover { box-shadow: var(--v8-edge-hover); }
  #v8 #app .v8-chip-cover-out:hover { outline-color: var(--v8-green-t); box-shadow: none; background: var(--v8-white); }
}
#v8 #app .v8-chip-cover:active { background: var(--v8-pressed); }
#v8 #app .v8-chip-cover:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }

/* V8.openDrawer({ icon }): the icon on a 64 mint tile above the title, Close at the top right (the document viewer's head uses the
   same tile, 48 on a phone) */
#v8 .v8-dlg-ic { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: var(--v8-r); background: var(--v8-mint); color: var(--v8-green-t); }
#v8 .v8-dlg-ic svg.i { width: 32px; height: 32px; color: var(--v8-green-t); }
#v8 .v8-dlg-h:has(> .v8-dlg-ic) { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: start; row-gap: var(--v8-5); }
#v8 .v8-dlg-h > .v8-dlg-ic { grid-column: 1; grid-row: 1; }
#v8 .v8-dlg-h:has(> .v8-dlg-ic) > .v8-ib { grid-column: 2; grid-row: 1; }
#v8 .v8-dlg-h:has(> .v8-dlg-ic) > h2 { grid-column: 1 / -1; grid-row: 2; }
#v8 .v8-dlgw:has(.v8-dlg-ic) .v8-dlg-b { padding-top: var(--v8-2); }

/* The explainer drawer's body, .v8-xd (the old cover and deductible drawers, 18 October 2026): one sentence in ink, the figures as
   hairline rows (the label left in gray, the value right, 16 Bold), then 20 Bold groups 40 apart: what it pays for (a filled
   green check) and doesn't (a filled gray cross, icon and words, never colour alone), an upgrade on a gray card, a question */
#v8 .v8-xd { display: grid; gap: 0; color: var(--v8-ink); }
#v8 .v8-xd p { margin: 0; }
#v8 .v8-xd-b { margin-bottom: var(--v8-4) !important; }
#v8 .v8-xd-what { max-width: 46ch; color: var(--v8-ink); }
#v8 .v8-xd-dl { margin: var(--v8-5) 0 0; padding: 0; border-top: 1px solid var(--v8-line); }
#v8 .v8-xd-dl > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--v8-1) var(--v8-5); padding: var(--v8-4) 0; border-bottom: 1px solid var(--v8-line); }
#v8 .v8-xd-dl dt { color: var(--v8-ink-2); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
#v8 .v8-xd-dl dd { max-width: 100%; margin: 0; color: var(--v8-ink); text-align: right; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
#v8 .v8-xd-g { margin-top: var(--v8-7); }
#v8 .v8-xd-g h3 { margin: 0; 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); }
#v8 .v8-xd-g h3 + p { margin-top: var(--v8-2); color: var(--v8-ink-2); }
#v8 .v8-xd-g .v8-sum { margin: var(--v8-4) 0 0; padding: 0; list-style: none; }
#v8 .v8-xd-ex { display: grid; gap: var(--v8-3); margin: var(--v8-4) 0 0; padding: 0; list-style: none; }
#v8 .v8-xd-ex li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--v8-3); align-items: start; }
#v8 .v8-xd-ex-ic { display: grid; place-items: center; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--v8-green); color: var(--v8-white); }
#v8 .v8-xd-ex-ic svg.i { width: 14px; height: 14px; color: currentColor; }
#v8 .v8-xd-n .v8-xd-ex-ic { background: var(--v8-ink-2); }
#v8 .v8-xd-up { display: grid; justify-items: start; gap: var(--v8-4); margin-top: var(--v8-7); padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 .v8-xd-ask { padding-top: var(--v8-6); border-top: 1px solid var(--v8-line); }
#v8 .v8-xd-ask .v8-btn { margin-top: var(--v8-4); }

/* V8.split(main, side): gray on the white page, radius 16, 32 in; the figures on the left (5), what they mean on the right (6), a
   hairline between; one column when the card is under 820 (its own width, a container) */
#v8 #app .v8-splitw { container: v8split / inline-size; }
#v8 #app .v8-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-band .v8-split { background: var(--v8-white); }
#v8 #app .v8-split-m { min-width: 0; padding-right: var(--v8-6); }
#v8 #app .v8-split-s { display: grid; align-content: start; gap: var(--v8-3); min-width: 0; padding-left: var(--v8-6); border-left: 1px solid var(--v8-line); }
#v8 #app .v8-split-s > p { max-width: var(--v8-measure); margin: 0; color: var(--v8-ink); }
#v8 #app .v8-split-s > p.v8-cl { color: var(--v8-ink-2); }
#v8 #app .v8-split-s > .v8-acts { margin-top: var(--v8-3); }
#v8 #app .v8-split-s > .v8-cn { margin: 0; }
#v8 #app .v8-split-s > .v8-cn + p { margin-top: calc(-1 * var(--v8-1)); }
#v8 #app .v8-split .v8-dl { padding: 0; background: none; }
#v8 #app .v8-split .v8-dl > div:first-child { padding-top: 0; }
#v8 #app .v8-split .v8-dl > div:last-child { padding-bottom: 0; }
#v8 #app .v8-split .v8-sum { margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-split .v8-sum .v8-sum-tot { padding-bottom: 0; }
#v8 #app .v8-split .v8-track { margin: 0; }
#v8 #app .v8-split .v8-sd { overflow-wrap: normal; }
/* The blue split card (V8.split(.., "v8-split-blue"), 18 October 2026): the claim progress card, the old page's light blue card.
   The track on it turns blue with it (the old card's), so the green dots don't sit on blue; the hairline a blue line */
#v8 #app .v8-split.v8-split-blue { background: var(--v8-blue); }
#v8 #app .v8-split-blue .v8-split-s { border-color: var(--v8-blue-line); }
#v8 #app .v8-split-blue .v8-dot { background: var(--v8-blue); box-shadow: inset 0 0 0 2px var(--v8-blue-off); }
#v8 #app .v8-split-blue .v8-track .done .v8-dot { background: var(--v8-blue-ink); box-shadow: none; }
#v8 #app .v8-split-blue .v8-track .now .v8-dot { background: var(--v8-white); box-shadow: inset 0 0 0 3px var(--v8-blue-ink); }
#v8 #app .v8-split-blue .v8-track .now .v8-dot::after { background: var(--v8-blue-ink); }
#v8 #app .v8-split-blue .v8-track li:not(:last-child)::after { background: var(--v8-blue-line); }
#v8 #app .v8-split-blue .v8-track li.done:not(:last-child)::after { background: var(--v8-blue-ink); }
@container v8split (max-width: 819px) {
  #v8 #app .v8-split { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .v8-split-m { padding: 0 0 var(--v8-5); }
  #v8 #app .v8-split-s { padding: var(--v8-5) 0 0; border-left: 0; border-top: 1px solid var(--v8-line); }
  #v8 #app .v8-split-blue .v8-split-s { border-top-color: var(--v8-blue-line); border-bottom-color: var(--v8-blue-line); }
  #v8 #app .v8-split-need .v8-split-s { order: -1; padding: 0 0 var(--v8-5); border-top: 0; border-bottom: 1px solid var(--v8-line); }
  #v8 #app .v8-split-need .v8-split-m { padding: var(--v8-5) 0 0; }
}
@container v8split (max-width: 559px) { #v8 #app .v8-split { padding: var(--v8-5) var(--v8-4); } }

/* V8.panel: a section drawn as one gray card with its head inside (the old policy page's Coverages card, 18 October 2026). The
   illustration 64 beside the 28 title (48 below 640), the line 12 under the title, the body 32 under the head; groups
   (V8.panelGroup) 32 apart with a hairline between, the first right under the head; V8.panelRow, a sentence and its one action */
#v8 #app .v8-panel { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-band .v8-panel { background: var(--v8-white); }
#v8 #app .v8-panel-h { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; column-gap: var(--v8-5); }
#v8 #app .v8-panel-h-art { grid-template-columns: 64px minmax(0, 1fr); }
#v8 #app .v8-panel-h .v8-line { max-width: var(--v8-measure); margin: var(--v8-3) 0 0; }
#v8 #app .v8-panel-h + * { margin-top: var(--v8-6) !important; }
#v8 #app .v8-panel-g { margin-top: var(--v8-6); padding-top: var(--v8-6); border-top: 1px solid var(--v8-line); }
#v8 #app .v8-panel-h + .v8-panel-g { padding-top: 0; border-top: 0; }
#v8 #app .v8-panel-g > .v8-h3 + * { margin-top: var(--v8-4); }
#v8 #app .v8-panel-g .v8-nc { max-width: var(--v8-measure); }
#v8 #app .v8-panel-g .v8-nc li span { color: var(--v8-ink); }
#v8 #app .v8-panel-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--v8-4) var(--v8-5); margin-top: var(--v8-5); }
#v8 #app .v8-panel-row p { flex: 1 1 280px; max-width: var(--v8-measure); margin: 0; color: var(--v8-ink); }
@media (max-width: 639px) {
  #v8 #app .v8-panel { padding: var(--v8-5) var(--v8-4); }
  #v8 #app .v8-panel-h-art { grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--v8-4); }
  #v8 #app .v8-panel-h .v8-art, #v8 #app .v8-panel-h .v8-art :is(img, svg) { width: 48px !important; height: 48px !important; }
  #v8 #app .v8-panel-row .v8-btn { width: 100%; }
}

/* V8.docCards: one gray card per document (white in the band), 8 apart (the old pages' document and attachment cards). The
   file icon in a 48 disc (no type tag since 18 October 2026), the name 16 Bold, the line 16 secondary, the action at the
   right in green ("View document"); under the text below 600. The whole card is the button: the green edge on hover */
#v8 #app .v8-docs { display: grid; gap: var(--v8-2); margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-docs > li { display: flex; min-width: 0; }
#v8 #app .v8-doc { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; column-gap: var(--v8-5); width: 100%; min-height: 88px; margin: 0; padding: var(--v8-4) var(--v8-5);
  border: 0; border-radius: var(--v8-r); background: var(--v8-gray); color: var(--v8-ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: box-shadow .16s ease-out, background-color .16s ease-out; }
#v8 #app .v8-band .v8-doc { background: var(--v8-white); }
#v8 #app .v8-doc-ic { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--v8-white); color: var(--v8-green); }
#v8 #app .v8-band .v8-doc-ic { background: var(--v8-gray); }
#v8 #app .v8-doc-ic svg.i { width: 24px; height: 24px; color: var(--v8-green); }
#v8 #app .v8-doc-tx { display: grid; gap: var(--v8-1); min-width: 0; }
#v8 #app .v8-doc-n { color: var(--v8-ink); overflow-wrap: anywhere; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; }
#v8 #app .v8-doc-l { color: var(--v8-ink-2); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; }
#v8 #app .v8-doc-cue { color: var(--v8-green-t); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 112, 11, .4); transition: text-decoration-color .16s ease-out;
  font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; }
@media (hover: hover) { #v8 #app :is(a, button).v8-doc:hover { box-shadow: var(--v8-edge-hover); } }
#v8 #app :is(a, button).v8-doc:is(:hover, :focus-visible) .v8-doc-cue { text-decoration-color: currentColor; }
#v8 #app :is(a, button).v8-doc:active { background: var(--v8-pressed); }
#v8 #app :is(a, button).v8-doc:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
@media (max-width: 599px) {
  #v8 #app .v8-doc { grid-template-columns: 48px minmax(0, 1fr); align-items: start; column-gap: var(--v8-4); padding: var(--v8-4); }
  #v8 #app .v8-doc-cue { grid-column: 2; margin-top: var(--v8-2); }
}
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-doc, #v8 #app .v8-doc-cue { transition: none; } }

/* V8.policyCard({ note }): a fact about the policy under its line, 16 ink with the people icon (business interruption's peers) */
#v8 #app .v8-pc-note { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--v8-2); align-items: start; max-width: 34ch; margin-top: var(--v8-1); color: var(--v8-ink); }   /* the insight's inline mark (README 37) */

/* V8.copy() beside a value in the facts row (the claim number): the 44 button sits on the value's line without making it taller */
#v8 #app .v8-frow-v:has(> .v8-ib) { display: flex; align-items: center; gap: var(--v8-1); }
#v8 #app .v8-frow-v > .v8-ib { flex: none; margin: -10px 0; }

/* V8.iconRows: a Fennia icon in a mint 48 disc, a 20 Bold title, one 16 line, hairlines between, on one card (gray on the page,
   white in the band) */
#v8 #app .v8-irows { display: grid; margin: 0; padding: var(--v8-2) var(--v8-6); list-style: none; border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-band .v8-irows { background: var(--v8-white); }
#v8 #app .v8-irows > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; column-gap: var(--v8-5); padding: var(--v8-5) 0; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-irows > li:first-child { border-top: 0; }
#v8 #app .v8-irows .v8-ic48 { background: var(--v8-mint); }
#v8 #app .v8-irows .v8-cl { margin-top: var(--v8-2); color: var(--v8-ink-2); }
@media (max-width: 599px) { #v8 #app .v8-irows { padding: var(--v8-1) var(--v8-4); } #v8 #app .v8-irows > li { align-items: start; column-gap: var(--v8-4); } }

/* V8.drows, the disclosure row (from the admin's roles list): the rows on one gray card (white in the band), hairlines between;
   the head is the button, stretched over it, so the whole head hovers with the green wash; the chevron in a white 40 disc (gray
   on a white card) turns when open; the panel lines up under the name */
#v8 #app .v8-drows { margin: 0; padding: var(--v8-2) var(--v8-5); list-style: none; border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-band .v8-drows { background: var(--v8-white); }
#v8 #app .v8-drow { position: relative; }
#v8 #app .v8-drow + .v8-drow::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--v8-line); }
#v8 #app .v8-drow-h { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; grid-template-areas: "n e x" "l e x"; align-items: center; column-gap: var(--v8-5); row-gap: var(--v8-2); min-height: 96px; padding: var(--v8-5) var(--v8-3); margin: 0 calc(-1 * var(--v8-3)); border-radius: var(--v8-r-sm); transition: background-color .16s ease-out; }
#v8 #app .v8-drow-h > .v8-cn { grid-area: n; margin: 0; }
#v8 #app .v8-drow-h > .v8-cl { grid-area: l; margin: 0; }
#v8 #app .v8-drow-b { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700 !important; letter-spacing: inherit; text-align: left; cursor: pointer; }
#v8 #app .v8-drow-b::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--v8-r-sm); }
#v8 #app .v8-drow-b:focus-visible { outline: none !important; }
#v8 #app .v8-drow-h:has(.v8-drow-b:focus-visible) { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .v8-drow-e { grid-area: e; color: var(--v8-ink-2); white-space: nowrap; }
#v8 #app .v8-drow-x { grid-area: x; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--v8-white); color: var(--v8-green-t); }   /* link green: the row is a button (18 October 2026, night) */
#v8 #app .v8-band .v8-drow-x { background: var(--v8-gray); }
#v8 #app .v8-drow-x svg.i { width: 24px; height: 24px; transition: transform .16s ease-out; }
#v8 #app .v8-drow.on .v8-drow-x svg.i { transform: rotate(180deg); }
@media (hover: hover) {
  #v8 #app .v8-drow-h:hover { background: var(--v8-hover); }
  #v8 #app .v8-drow:has(.v8-drow-h:hover)::before, #v8 #app .v8-drow:has(.v8-drow-h:hover) + .v8-drow::before { opacity: 0; }
}
#v8 #app .v8-drow-p { max-width: var(--v8-measure); padding: var(--v8-2) 0 var(--v8-6); }
#v8 #app .v8-drow-p[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-drow-x svg.i, #v8 #app .v8-drow-h { transition: none; } }
@media (max-width: 767px) {
  #v8 #app .v8-drows { padding: var(--v8-1) var(--v8-4); }
  #v8 #app .v8-drow-h { grid-template-columns: minmax(0, 1fr) 40px; grid-template-areas: "n x" "l x" "e x"; column-gap: var(--v8-4); padding: var(--v8-4) var(--v8-3); }
  #v8 #app .v8-drow-x { align-self: start; margin-top: -8px; }
}

/* A disclosure inside a sentence or under a list ("Show them" on Your coverage): the same chevron as the disclosure row, turning
   when open, so the case has one disclosure look */
#v8 #app .v8-disc-b { min-height: 44px; gap: var(--v8-2); }
#v8 #app .v8-disc-b svg.i { transition: transform .16s ease-out; }
#v8 #app .v8-disc-b[aria-expanded="true"] svg.i { transform: rotate(180deg); }

/* The chat bubble while the hero's plate or cards are in view (from 1024): the 56 round sparkle, so it never sits on a card; it
   grows to "Ask our AI assistant" on hover and focus, and is that pill everywhere else on the page (assistant.js sets the class) */
@media (min-width: 1024px) {
  #v8.aiw-compact body .aiw-launch:not(.open) { width: 56px !important; gap: 0; padding: 0 !important; }
  #v8.aiw-compact body .aiw-launch:not(.open) .aiw-ll { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #v8.aiw-compact body .aiw-launch:not(.open):is(:hover, :focus-visible) { width: auto !important; gap: 10px; padding: 0 22px 0 18px !important; }
  #v8.aiw-compact body .aiw-launch:not(.open):is(:hover, :focus-visible) .aiw-ll { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
/* Phones: the round 48 bubble floats 12 above the tab bar's right end (no white strip since 18 October 2026, evening); the page's
   last row (the "Prototype screens" pill) ends level with it, so at the end of a page it covers nothing */
@media (max-width: 1023px) { #v8:not(.v8-in-flow) body .aiw-launch, #v8:not(.v8-in-flow) body .aiw-launch.open { bottom: calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom)) !important; } }

/* ---------- 21.2 The disclosure card (V8.dcard, 18 October 2026; the admin's people cards, which Janne likes) ----------
   The claim card (10.2) as a disclosure: gray, radius 16, three across (two below 1200, one below 600); closed cards in a row
   stretch to one height and their cue sits at the foot. The face or art, the title 20 Bold, a gray line, an ink line, a badge only
   when it says something, then "Show details", underlined like a link. The head is the one button (stretched over it), so the head
   hovers with the green wash and nothing else on it does; it sits 8 inside the card so the wash keeps the gray edge. Open, the
   card keeps its cell and takes the dark green 2 px stroke; its panel is its own item spanning the row, under the card's row
   (V8.dcPlace), in the same stroke. The panel is a container (dcp), so its content can follow its own width */
#v8 #app .v8-dcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: var(--v8-cards); margin: var(--v8-5) 0 0; padding: 0; list-style: none; }
@media (max-width: 1199px) { #v8 #app .v8-dcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { #v8 #app .v8-dcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 599px) { #v8 #app .v8-dcs { grid-template-columns: minmax(0, 1fr); } }
#v8 #app .v8-dc { display: flex; flex-direction: column; min-width: 0; padding: var(--v8-2); border-radius: var(--v8-r); background: var(--v8-gray); overflow-wrap: anywhere; }
#v8 #app .v8-dc.on { box-shadow: inset 0 0 0 2px var(--v8-deep); }
#v8 #app .v8-dc-h { position: relative; flex: 1 0 auto; display: flex; flex-direction: column; align-items: flex-start; padding: var(--v8-4); border-radius: var(--v8-r-sm); transition: background-color .16s ease-out; }
#v8 #app .v8-dc-id { display: grid; gap: 2px; min-width: 0; margin: var(--v8-5) 0 var(--v8-4); }
#v8 #app .v8-dc-h > .v8-dc-id:first-child { margin-top: 0; }
#v8 #app .v8-dc-id .v8-cn { margin: 0 0 6px; }   /* 8 under the 20 title (the card title's air), the two lines 2 apart */
#v8 #app .v8-dc-sum { color: var(--v8-ink); }
#v8 #app .v8-dc-b { margin-top: var(--v8-2) !important; }
#v8 #app .v8-dc-btn { display: flex; align-items: center; align-self: flex-start; min-height: 44px; margin-top: auto; padding: 0; border: 0; border-radius: 0; background: none; color: var(--v8-green-t); font: inherit; text-align: left; white-space: nowrap; cursor: pointer; }
#v8 #app .v8-dc-btn::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--v8-r-sm); }
/* Both words share one cell, so the button keeps its width when it turns; the hidden one is out of the accessibility tree */
#v8 #app .v8-dc-cue, #v8 #app .v8-drow-w { display: inline-grid; justify-items: start; }
#v8 #app :is(.v8-dc-cue, .v8-drow-w) > span { grid-area: 1 / 1; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 112, 11, .4); transition: text-decoration-color .16s ease-out; }
#v8 #app .v8-dc-hide, #v8 #app .v8-dc.on .v8-dc-show, #v8 #app .v8-dw-hide, #v8 #app .v8-drow.on .v8-dw-show { visibility: hidden; }
#v8 #app .v8-dc.on .v8-dc-hide, #v8 #app .v8-drow.on .v8-dw-hide { visibility: visible; }
#v8 #app .v8-dc-btn:focus-visible { outline: none !important; }
#v8 #app .v8-dc-h:has(.v8-dc-btn:focus-visible) { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
@media (hover: hover) {
  #v8 #app .v8-dc-h:hover { background: var(--v8-hover); }
  #v8 #app .v8-dc-h:hover .v8-dc-cue > span, #v8 #app .v8-drow-h:hover .v8-drow-w > span { text-decoration-color: currentColor; }
}
#v8 #app .v8-dc-h:active { background: var(--v8-pressed); }
#v8 #app .v8-dc-panel { grid-column: 1 / -1; container: dcp / inline-size; min-width: 0; padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); box-shadow: inset 0 0 0 2px var(--v8-deep); overflow-wrap: anywhere; }
#v8 #app .v8-dc-panel[hidden] { display: none; }
#v8 #app .v8-dc-ph { display: flex; align-items: center; gap: var(--v8-3); margin-bottom: var(--v8-5); }
#v8 #app .v8-dc-ph b { font-size: var(--v8-fs-20); line-height: var(--v8-lh-20); font-weight: 700 !important; }
/* The words cue on a disclosure row (V8.drows { cue: "words" }): green words where the chevron disc was, no disc */
#v8 #app .v8-drow-x.v8-drow-w { width: auto; height: auto; border-radius: 0; background: none !important; color: var(--v8-green-t); white-space: nowrap; }
#v8 #app .v8-drow-h:has(.v8-drow-w) { grid-template-columns: minmax(0, 1fr) auto auto; }
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-dc-h, #v8 #app :is(.v8-dc-cue, .v8-drow-w) > span { transition: none; } }
/* Phones: one column, so the card reads as a row: the face 48 at the left of the name, everything else under the name; the
   panel follows its own card, so its head (the face and the name again) is hidden */
@media (max-width: 599px) {
  #v8 #app .v8-dc-h:has(> :not(.v8-dc-id, .v8-dc-btn)) { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--v8-4); }
  #v8 #app .v8-dc-h { padding: var(--v8-3); }
  #v8 #app .v8-dc-h > :not(.v8-dc-id, .v8-dc-btn) { grid-row: 1 / span 2; width: 48px !important; height: 48px !important; }
  #v8 #app .v8-dc-h:has(> :not(.v8-dc-id, .v8-dc-btn)) > :is(.v8-dc-id, .v8-dc-btn) { grid-column: 2; }
  #v8 #app .v8-dc-id { margin: 0; }
  #v8 #app .v8-dc-btn { margin-top: var(--v8-2); }
  #v8 #app .v8-dc-panel { padding: var(--v8-4); }
  #v8 #app .v8-dc-ph { display: none; }
  #v8 #app .v8-drow-x.v8-drow-w { margin-top: 0; }
  #v8 #app .v8-drow-h:has(.v8-drow-w) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "n" "l" "e" "x"; }
  #v8 #app .v8-drow-x.v8-drow-w { justify-self: start; }
}

/* ---------- 22. Selection, Fennia's way (18 October 2026, Janne's note 7) ----------
   Janne: "the radio buttons are completely wrong. When you select them, they should turn light green." Every selectable control
   follows Fennia's components (Figma Components uMhPcB6a9u59KFEJGJrXCw, read in ../../old/explore/needs/ds-components.md):
     Rest      white; option rows 1 px #8B8B8B inside (RadioButtons 2617:21571, Checkbox outline 18675:4091); rich cards 1 px
               #DDDDDD (InfoRadioButtons 7990:2397, illustration cards 4988:15077, Illustration buttons 16164:10135). Radius 8.
     Hover     1 px #008A28 outside plus 1 px #8ADC94 inside (11212:4845). The fill does not change.
     Focus     the keyboard ring: since README 187 a 1 px #008A28 edge and the 4 px light green glow.
     Selected  light green #E6FAE7 with 2 px #2EAA4A inside (4117:54673); checkbox cards 2 px #008A28 (18675:4274).
     Selected + focus: the wash, 1 px #2EAA4A, the ring (11212:4868). Selected + hover: the wash, the edge, 1 px #008A28 outside;
     a checkbox card 2 px #008A28 outside and 2 px #8ADC94 inside (Checkbox outline Selected Hover 24331:12512).
     Error     2 px #D63D29 inside (4121:55098).   Disabled  #EFEFEF with 1 px #B1B1B1 (7332:2518), its radio too (a #5E5E5E
               dot when chosen).
   The radio (18415:12918): a 24 white circle, 1 px #5E5E5E; chosen, a 14 #008A28 dot in it (5 white around). The ring never
   turns green or thick. The checkbox (18291:10485): 24, radius 4, 1 px #8B8B8B; checked #008A28 with a white check, #004C07
   on hover. One layer for the system's controls (V8.options, V8.choices, V8.check, V8.segmented) AND the areas' own (the
   offer's and the changes flow's rows, the buy journey's cards and yes / no rows, the guide's rows, the claim flow's kind cards,
   rows and day chips, Messages' topic rows, Add costs' claim rows), so they fix together: `html#v8` outranks the area files'
   `#v8 #app` rules. An area file should delete its own selection rules rather than fight these */
:root {
  --v8-sel: #E6FAE7;            /* the selected wash (Fennia status/success-subtle) */
  --v8-sel-edge: #2EAA4A;       /* the selected edge of radio rows and cards (status/success) */
  --v8-ctl-edge: #8B8B8B;       /* an option row's and a checkbox's edge at rest (border/neutral, 3,5:1) */
  --v8-ctl-soft: #DDDDDD;       /* a rich card's edge at rest (border/neutral-subtle); its radio carries the 3:1 */
  --v8-radio-ring: #5E5E5E;     /* the radio's ring, unchanged when chosen */
  --v8-hover-in: #8ADC94;       /* the inner line of the hover (border/active) */
  --v8-dis: #EFEFEF; --v8-dis-edge: #B1B1B1;
  --v8-st-rest: inset 0 0 0 1px #8B8B8B;
  --v8-st-soft: inset 0 0 0 1px #DDDDDD;
  --v8-st-hover: 0 0 0 1px #008A28, inset 0 0 0 1px #8ADC94;
  --v8-st-focus: inset 0 0 0 1px #008A28, 0 0 0 4px rgba(46, 170, 74, .28);
  --v8-st-sel: inset 0 0 0 2px #2EAA4A;
  --v8-st-sel-ck: inset 0 0 0 2px #008A28;
  --v8-st-sel-hover: inset 0 0 0 2px #2EAA4A, 0 0 0 1px #008A28;
  --v8-st-sel-ck-hover: 0 0 0 2px #008A28, inset 0 0 0 2px #8ADC94;   /* Checkbox outline, Selected Hover (24331:12512) */
  --v8-st-sel-focus: inset 0 0 0 2px #008A28, 0 0 0 4px rgba(46, 170, 74, .28);
  --v8-st-err: inset 0 0 0 2px #D63D29;
  --v8-st-dis: inset 0 0 0 1px #B1B1B1;
}
/* The cards and rows, at rest */
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .gd8 .gd-opt, .v8-choice, .v8-cf-kind, .v8-cf-opt, .v8-of-ynr, .v8co-opt, .v8-cf-chip) {
  border-radius: var(--v8-r-sm); background: var(--v8-white); box-shadow: var(--v8-st-soft); outline: none; transition: box-shadow .12s ease-out, background-color .12s ease-out; }
/* The rest edge follows the row's anatomy, one rule for the whole system (review, 18 October 2026: Add costs' claim rows were
   #8B8B8B while the offer's, Buy's and Make changes' rows of the same anatomy were #DDDDDD). A row with a Bold title over a line
   is Fennia's InfoRadio: 1 px #DDDDDD (.v8-opt, .v8-of-o, the guide's rows, the cards, Add costs' claim rows .v8co-opt); its radio
   or checkbox carries the 3:1. A one-line row is Fennia's RadioButtons: 1 px #8B8B8B (the claim flow's rows, Yes / No, Messages'
   topic rows, the day choices) */
html#v8 :is(#app, .v8-dlgw) :is(.v8-cf-opt, .v8-of-ynr, .v8-msg-form .v8-opt, .v8-cf-chip) { box-shadow: var(--v8-st-rest); }
@media (hover: hover) {
  html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .gd8 .gd-opt, .v8-choice, .v8-cf-kind, .v8-cf-opt, .v8-of-ynr, .v8co-opt, .v8-cf-chip):hover { background: var(--v8-white); box-shadow: var(--v8-st-hover); }
}
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .gd8 .gd-opt, .v8-choice, .v8-cf-kind, .v8-cf-opt, .v8-of-ynr, .v8co-opt):active,
html#v8 :is(#app, .v8-dlgw) .v8-cf-chip:active { background: var(--v8-white); }
/* Selected */
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .gd8 .gd-opt, .v8-choice, .v8-cf-kind, .v8-cf-opt, .v8-of-ynr, .v8co-opt):has(input:checked),
html#v8 :is(#app, .v8-dlgw) .v8-cf-chip:is([aria-pressed="true"], [aria-checked="true"]) { background: var(--v8-sel); box-shadow: var(--v8-st-sel); color: var(--v8-ink); }
html#v8 :is(#app, .v8-dlgw) :is(.v8-choice, .v8-cf-opt-c, .gd8 .gd-opt):has(input[type="checkbox"]:checked) { box-shadow: var(--v8-st-sel-ck); }
@media (hover: hover) {
  html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .gd8 .gd-opt, .v8-choice, .v8-cf-kind, .v8-cf-opt, .v8-of-ynr, .v8co-opt):has(input:checked):hover,
  html#v8 :is(#app, .v8-dlgw) .v8-cf-chip:is([aria-pressed="true"], [aria-checked="true"]):hover { background: var(--v8-sel); box-shadow: var(--v8-st-sel-hover); }
  /* A checked checkbox card on hover is Fennia's Checkbox outline Selected Hover: 2 px #008A28 outside, 2 px #8ADC94 inside
     (24331:12512), not the radio's edge. After the shared rule, so it wins */
  html#v8 :is(#app, .v8-dlgw) :is(.v8-choice, .v8-cf-opt-c, .gd8 .gd-opt):has(input[type="checkbox"]:checked):hover { box-shadow: var(--v8-st-sel-ck-hover); }
}
/* Keyboard focus: the ring, on the card (the input inside is visually hidden) */
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .gd8 .gd-opt, .v8-choice, .v8-cf-kind, .v8-cf-opt, .v8-of-ynr, .v8co-opt):has(input:focus-visible),
html#v8 :is(#app, .v8-dlgw) .v8-cf-chip:focus-visible { outline: none; box-shadow: var(--v8-st-focus); }
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .gd8 .gd-opt, .v8-choice, .v8-cf-kind, .v8-cf-opt, .v8-of-ynr, .v8co-opt):has(input:checked:focus-visible),
html#v8 :is(#app, .v8-dlgw) .v8-cf-chip:is([aria-pressed="true"], [aria-checked="true"]):focus-visible { outline: none; background: var(--v8-sel); box-shadow: var(--v8-st-sel-focus); }
html#v8 :is(#app, .v8-dlgw) :is(.v8-of-ynr, .gd8 .gd-opt, .gd8 .gd-remind) input:focus-visible { outline: none !important; }
/* Error and disabled */
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .gd8 .gd-opt, .v8-choice, .v8-cf-kind, .v8-cf-opt, .v8-of-ynr, .v8co-opt):has(input[aria-invalid="true"]:not(:checked)),
html#v8 #app .v8-cf-q.v8-err-on :is(.v8-cf-opt, .v8-cf-chip) { box-shadow: var(--v8-st-err); }
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .gd8 .gd-opt, .v8-choice, .v8-cf-kind, .v8-cf-opt, .v8-of-ynr, .v8co-opt):has(input:disabled),
html#v8 :is(#app, .v8-dlgw) .v8-cf-chip:disabled { background: var(--v8-dis); box-shadow: var(--v8-st-dis); cursor: default; }
/* Disabled wins over chosen, hover and focus (review, 18 October 2026: a chosen, disabled checkbox card kept its green edge, and a
   disabled card would take the hover). Specificity raised on purpose so the checkbox card's own chosen and hover rules lose */
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o, .gd8 .gd-opt, .v8-choice, .v8-cf-kind, .v8-cf-opt, .v8-of-ynr, .v8co-opt):has(input[type]:disabled):is(:hover, :has(input[type]:checked), :focus-within) { background: var(--v8-dis); box-shadow: var(--v8-st-dis); }
html#v8 :is(#app, .v8-dlgw) :is(.v8-choice, .v8-cf-opt-c):has(input[type="checkbox"]:checked:disabled) :is(.v8-choice-ck, .v8-cf-opt-ck),
html#v8 :is(#app, .v8-dlgw) :is(.v8-check, .gd8 .gd-opt) input[type="checkbox"]:checked:disabled { background-color: var(--v8-dis-edge) !important; box-shadow: none; }
/* What chosen used to add, now gone: no Bold label (Fennia keeps the weight), the guide's row keeps its own */
html#v8 #app .v8-msg-form .v8-opt:has(input:checked) .v8-opt-tx b { font-weight: 400 !important; }

/* The radio glyph, everywhere a choice is one of many */
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o)::before,
html#v8 :is(#app, .v8-dlgw) :is(.v8-cf-radio, .v8-cf-opt:not(.v8-cf-opt-c) .v8-cf-opt-ck, .v8co-ck, .v8-choice:has(input[type="radio"]) .v8-choice-ck),
html#v8 :is(#app, .v8-dlgw) :is(.v8-check, .gd8 .gd-opt, .gd8 .gd-remind) input[type="radio"],
html#v8 #app .v8-seg span::before, html#v8 #app .v8-cf-chip::before {
  box-sizing: border-box; display: grid; width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-radio-ring); color: transparent; }
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o):has(input:checked)::before,
html#v8 :is(#app, .v8-dlgw) :is(.v8-cf-kind, .v8-cf-opt:not(.v8-cf-opt-c), .v8co-opt, .v8-choice):has(input[type="radio"]:checked) :is(.v8-cf-radio, .v8-cf-opt-ck, .v8co-ck, .v8-choice-ck),
html#v8 :is(#app, .v8-dlgw) :is(.v8-check, .gd8 .gd-opt, .gd8 .gd-remind) input[type="radio"]:checked,
html#v8 #app .v8-seg input:checked + span::before, html#v8 #app .v8-cf-chip:is([aria-pressed="true"], [aria-checked="true"])::before {
  border: 0; background: var(--v8-green); box-shadow: inset 0 0 0 1px var(--v8-radio-ring), inset 0 0 0 5px var(--v8-white); }
html#v8 :is(#app, .v8-dlgw) :is(.v8co-ck, .v8-choice:has(input[type="radio"]) .v8-choice-ck) svg { display: none; }
html#v8 :is(#app, .v8-dlgw) .v8-choice:has(input[type="radio"]) .v8-choice-ck { display: grid; }
html#v8 :is(#app, .v8-dlgw) :has(> input:disabled) :is(.v8-cf-radio, .v8-cf-opt-ck, .v8co-ck, .v8-choice-ck),
html#v8 :is(#app, .v8-dlgw) :is(.v8-check, .gd8 .gd-opt) input[type="radio"]:disabled,
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o):has(input:disabled)::before,
html#v8 #app .v8-cf-chip:disabled::before { background: var(--v8-dis); box-shadow: inset 0 0 0 1px var(--v8-dis-edge); }
/* Disabled and chosen: Fennia's gray dot (#5E5E5E) in the gray radio (review, 18 October 2026: V8.options' and the offer's rows
   kept a white radio with the dark ring on the gray card) */
html#v8 :is(#app, .v8-dlgw) :is(.v8-opt, .v8-of-o):has(input:checked:disabled)::before,
html#v8 :is(#app, .v8-dlgw) :is(.v8-check, .gd8 .gd-opt) input[type="radio"]:checked:disabled { background: var(--v8-ink-2); box-shadow: inset 0 0 0 1px var(--v8-dis-edge), inset 0 0 0 5px var(--v8-dis); }
/* Disabled illustration cards show their art in gray (Fennia's disabled Illustration button) */
html#v8 :is(#app, .v8-dlgw) :is(.v8-choice, .v8-cf-kind):has(input:disabled) :is(.v8-art, .v8-ic48, .v8-cf-kind-art) { filter: grayscale(1); opacity: .6; }
/* The checkbox glyph */
html#v8 :is(#app, .v8-dlgw) :is(.v8-check, .gd8 .gd-opt, .gd8 .gd-remind) input[type="checkbox"],
html#v8 :is(#app, .v8-dlgw) :is(.v8-choice:has(input[type="checkbox"]) .v8-choice-ck, .v8-cf-opt-c .v8-cf-opt-ck) {
  box-sizing: border-box; display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: var(--v8-r-tag); background-color: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-ctl-edge); color: var(--v8-white); }
html#v8 :is(#app, .v8-dlgw) :is(.v8-check, .gd8 .gd-opt, .gd8 .gd-remind) input[type="checkbox"]:checked,
html#v8 :is(#app, .v8-dlgw) :is(.v8-choice, .v8-cf-opt-c):has(input[type="checkbox"]:checked) :is(.v8-choice-ck, .v8-cf-opt-ck) { background-color: var(--v8-green); box-shadow: none; }
html#v8 :is(#app, .v8-dlgw) :is(.v8-choice, .v8-cf-opt-c):has(input[type="checkbox"]:checked) :is(.v8-choice-ck, .v8-cf-opt-ck) svg { display: block; visibility: visible; color: var(--v8-white); }
@media (hover: hover) {
  html#v8 :is(#app, .v8-dlgw) :is(.v8-check, .gd8 .gd-opt, .gd8 .gd-remind):hover input[type="checkbox"]:checked,
  html#v8 :is(#app, .v8-dlgw) :is(.v8-choice, .v8-cf-opt-c):hover:has(input[type="checkbox"]:checked) :is(.v8-choice-ck, .v8-cf-opt-ck) { background-color: var(--v8-deep); }
}
html#v8 :is(#app, .v8-dlgw) :is(.v8-check, .gd8 .gd-opt) input:disabled { background-color: var(--v8-dis); box-shadow: inset 0 0 0 1px var(--v8-dis-edge); }
/* V8.check on its own (no card): the label's focus ring sits on the box */
html#v8 #app .v8-check:not(.v8-of-ynr) input:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--v8-green), 0 0 0 2px var(--v8-white), 0 0 0 3px var(--v8-deep); }
html#v8 #app .v8-check:not(.v8-of-ynr) input[type="radio"]:checked:focus-visible { box-shadow: inset 0 0 0 1px var(--v8-radio-ring), inset 0 0 0 5px var(--v8-white), 0 0 0 2px var(--v8-white), 0 0 0 3px var(--v8-deep); }
/* The segmented control is new to Fennia (it has none); it takes Fennia's horizontal GroupRadioButtons instead: equal option rows
   8 apart, the radio inside, the selected wash. Same API (V8.segmented) */
html#v8 #app .v8-seg { display: flex; flex-wrap: wrap; gap: var(--v8-2); padding: 0; border-radius: 0; background: none; }
html#v8 #app .v8-seg span { display: flex; align-items: center; gap: var(--v8-3); min-height: 56px; padding: 0 var(--v8-5) 0 var(--v8-4); border-radius: var(--v8-r-sm); background: var(--v8-white); box-shadow: var(--v8-st-rest); color: var(--v8-ink); font-weight: 400 !important; transition: box-shadow .12s ease-out, background-color .12s ease-out; }
html#v8 #app .v8-seg span::before { content: ""; flex: none; }
@media (hover: hover) { html#v8 #app .v8-seg label:hover span { background: var(--v8-white); box-shadow: var(--v8-st-hover); } html#v8 #app .v8-seg label:hover input:checked + span { background: var(--v8-sel); box-shadow: var(--v8-st-sel-hover); } }
html#v8 #app .v8-seg input:checked + span { background: var(--v8-sel); box-shadow: var(--v8-st-sel); font-weight: 400 !important; }
html#v8 #app .v8-seg input:focus-visible + span { outline: none; box-shadow: var(--v8-st-focus); }
html#v8 #app .v8-seg input:checked:focus-visible + span { box-shadow: var(--v8-st-sel-focus); }
/* The claim flow's day choices (Today, Yesterday, Another day) read as Fennia's horizontal radio rows: an 8 radius row, 56 high,
   the radio inside. They are drawn for both markups: today's toggle buttons (aria-pressed) and the radio group they should
   become (role="radio" with aria-checked inside role="radiogroup"; v8-base.js gives such a group its arrow keys) */
html#v8 #app .v8-cf-chip { display: inline-flex; align-items: center; gap: var(--v8-3); min-height: 56px; padding: 0 var(--v8-5) 0 var(--v8-4); color: var(--v8-ink); font-weight: 400 !important; }
html#v8 #app .v8-cf-chip::before { content: ""; flex: none; }
/* Fennia's option row puts the radio at the left, 24 in, the label 16 after it (RadioButtons-default): the claim flow's rows and
   Add costs' claim rows had theirs at the right */
html#v8 #app .v8-cf-opt { padding: 12px var(--v8-5) 12px 64px; }
html#v8 #app .v8-cf-opt .v8-cf-opt-ck { left: var(--v8-5); right: auto; }
html#v8 .v8-dlgw .v8co-opt { grid-template-columns: 24px minmax(0, 1fr); }
html#v8 .v8-dlgw .v8co-opt .v8co-ck { grid-column: 1; grid-row: 1; }
html#v8 .v8-dlgw .v8co-opt .v8co-tx { grid-column: 2; grid-row: 1; }
/* Option rows: Fennia's 8 radius and padding; a rich card keeps 24 in (InfoRadio), a row 16 / 24 */
html#v8 :is(#app, .v8-dlgw) :is(.v8-cf-opt, .v8-of-ynr) { min-height: 56px; }

/* ---------- 23. The level indicator (V8.levelIndicator, 18 October 2026, Janne's note 9) ----------
   Every level of the policy by name, lowest first, hers marked "Your package". Words first: no dots, no bars, no "1 of 2".
   Redrawn after the review the same evening as WORDS, not boxes: a white 8 box with a #DDDDDD hairline is Fennia's shape for a
   thing you choose, and the clickable cover chips under it on the policy page wear it too, so the strip read as three buttons
   (and on a phone its stacked rows as a fourth set of options). So: no fill, no stroke, no radius, no cell; one line of names on
   whatever surface it sits on, a 16 high hairline between two names; hers 16 Bold ink with the "Your package" badge beside it,
   the others 16 secondary. Narrow, the line wraps (never rows). Not a control: nothing in it hovers, no pointer cursor */
html#v8 :is(#app, .v8-dlgw) .v8-lvi-w .v8-lvi { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--v8-2) var(--v8-7); margin: 0; padding: 0; list-style: none; border-radius: 0; background: none; box-shadow: none; }
html#v8 :is(#app, .v8-dlgw) .v8-lvi-w .v8-lvi > li { position: relative; display: grid; gap: var(--v8-1); min-width: 0; padding: 0; border: 0; }
html#v8 :is(#app, .v8-dlgw) .v8-lvi-w .v8-lvi > li + li::before { content: ""; position: absolute; left: calc(-1 * var(--v8-7) / 2); top: 4px; height: 16px; border-left: 1px solid var(--v8-line); }
html#v8 :is(#app, .v8-dlgw) .v8-lvi-h { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--v8-1) var(--v8-2); min-height: 24px; }
#v8 :is(#app, .v8-dlgw) .v8-lvi-n { color: var(--v8-ink-2); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; overflow-wrap: normal; }
#v8 :is(#app, .v8-dlgw) .v8-lvi-on .v8-lvi-n { color: var(--v8-ink); font-weight: 700 !important; }
#v8 :is(#app, .v8-dlgw) .v8-lvi-l { color: var(--v8-ink-2); }

/* ---------- 24. Fennia's info box (V8.info, 18 October 2026, Janne's note 6; Infobox 4793:18406) ----------
   Information, quiet: the blue #F2F5FF (Info), radius 8, padding 24 (16 on phones), no border, no icon, no shadow. A 16 Bold
   title, 4 under it the 16 text, ink (11,6:1). Then, 16 under, an optional hyperlink (16 Bold #00700B, underlined, the open
   icon; 5,8:1) and an optional Info Button (16 Bold #0052CC with its icon; 6,3:1). Fennia's other variants by tone: success
   #E6FAE7, attention #FFF0D6, error #F9E3E0. Never mint for information: mint is Fennia's Success */
#v8 :is(#app, .v8-dlgw) .v8-info { max-width: var(--v8-measure); padding: var(--v8-5); border-radius: var(--v8-r-sm); background: #F2F5FF; color: var(--v8-ink); }
#v8 :is(#app, .v8-dlgw) .v8-info-success { background: var(--v8-mint); }
#v8 :is(#app, .v8-dlgw) .v8-info-attention { background: #FFF0D6; }
#v8 :is(#app, .v8-dlgw) .v8-info-error { background: #F9E3E0; }
#v8 :is(#app, .v8-dlgw) .v8-info .v8-info-h { margin: 0; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; letter-spacing: 0; }
#v8 :is(#app, .v8-dlgw) .v8-info .v8-info-t { margin: 0; color: var(--v8-ink); }
#v8 :is(#app, .v8-dlgw) .v8-info .v8-info-h + .v8-info-t { margin-top: var(--v8-1); }
#v8 :is(#app, .v8-dlgw) .v8-info .v8-info-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--v8-3) var(--v8-5); margin: var(--v8-4) 0 0; }
#v8 :is(#app, .v8-dlgw) .v8-info-a { display: inline-flex; align-items: center; gap: var(--v8-1); color: var(--v8-green-t); font-weight: 700 !important; text-decoration: underline; text-underline-offset: 3px; }
#v8 :is(#app, .v8-dlgw) .v8-info-a svg.i { width: 24px; height: 24px; color: var(--v8-green-t); }
#v8 :is(#app, .v8-dlgw) .v8-info-b span { font-weight: 700 !important; }
#v8 :is(#app, .v8-dlgw) .v8-info-b { display: inline-flex; align-items: center; gap: var(--v8-2); min-height: 24px; padding: 0; border: 0; background: none; color: #0052CC; font: inherit; font-weight: 700 !important; cursor: pointer; }
#v8 :is(#app, .v8-dlgw) .v8-info-b svg.i { width: 24px; height: 24px; color: #0052CC; }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw) .v8-info-b:hover span { text-decoration: underline; text-underline-offset: 3px; } #v8 :is(#app, .v8-dlgw) .v8-info-a:hover { color: var(--v8-deep); } }
#v8 :is(#app, .v8-dlgw) :is(.v8-info-a, .v8-info-b):focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; border-radius: 2px; box-shadow: var(--v8-focus-glow) !important; }
@media (pointer: coarse) { #v8 :is(#app, .v8-dlgw) :is(.v8-info-a, .v8-info-b) { min-height: 44px; } }
@media (max-width: 639px) { #v8 :is(#app, .v8-dlgw) .v8-info { padding: var(--v8-4); } }

/* ---------- 25. The specimen #/v8/system only: forced states and its grids ---------- */
#v8 #app .v8-spec-col { display: grid; gap: var(--v8-4); max-width: 760px; }
#v8 #app .v8-spec-narrow { max-width: 320px; }
#v8 #app .v8-spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--v8-5); }
#v8 #app .v8-spec-g4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: var(--v8-7); }
#v8 #app .v8-spec-grid + .v8-form { margin-top: var(--v8-7); }
#v8 #app .v8-spec-l { margin-bottom: var(--v8-2); color: var(--v8-ink-2); }
html#v8 #app .v8-spec-st[data-st="hover"] :is(.v8-opt, .v8-of-ynr, .v8-choice) { box-shadow: var(--v8-st-hover); }
html#v8 #app .v8-spec-st[data-st="hover"] :is(.v8-opt, .v8-of-ynr, .v8-choice):has(input:checked) { box-shadow: var(--v8-st-sel-hover); }
html#v8 #app .v8-spec-st[data-st="hover"] .v8-choice:has(input[type="checkbox"]:checked) { box-shadow: var(--v8-st-sel-ck-hover); }
html#v8 #app .v8-spec-st[data-st="hover"] .v8-choice:has(input[type="checkbox"]:checked) .v8-choice-ck { background-color: var(--v8-deep); }
html#v8 #app .v8-spec-st[data-st="focus"] :is(.v8-opt, .v8-of-ynr, .v8-choice) { box-shadow: var(--v8-st-focus); }
html#v8 #app .v8-spec-st[data-st="focus"] :is(.v8-opt, .v8-of-ynr, .v8-choice):has(input:checked) { box-shadow: var(--v8-st-sel-focus); }

/* Tables on white (18 October 2026, Janne on Past claims: "these could be in white table, not grey card"): every system table
   sits on the page's white, without the gray card; the header's hairline and the row hairlines carry the structure. On a gray
   band a table keeps its white ground the same way */
#v8 :is(#app, .v8-dlgw) .v8-tablew { padding: 0 !important; border-radius: 0 !important; background: transparent !important; }
#v8 :is(#app, .v8-dlgw) .v8-tablew .v8-table thead th, #v8 #app .v8c-table thead th { border-bottom: 1px solid var(--v8-line-strong, #CFCFCF); }

/* No focus ring on a page's title or main (18 October 2026, Janne: "this weird selection on the hero text ... take that away").
   On every page change focus moves to the title (or main), so a screen reader announces the new page; the browser then drew the
   keyboard ring around the heading. That ring marks things you can operate, and a heading isn't one, so focus stays and the ring
   goes. Only for non-controls focused by script (tabindex -1); links, buttons, fields and roving items keep their ring.
   Specificity (2 ids, 3 attributes and pseudo-classes) beats the system ring above (line 91) and the dialogs' rings */
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, body) [tabindex="-1"]:not(a, button, input, select, textarea, summary, [role="option"], [role="menuitem"], [role="radio"], [role="tab"], [role="gridcell"]):is(:focus, :focus-visible) { outline: none !important; box-shadow: none !important; }

/* The hero's figures are Bold in Fennia's dark green (18 October 2026, Janne on the Policies plate: "The hero numbers should be
   bolded ... and they could be in this dark green"). Every figure in a green hero: the white figures plate (Policies, Claims,
   Payments and the rest), the claim's status plate and Home's three cards standing in the band. #004C07 on white is 11.6:1 */
#v8 #app .v8-hero :is(.v8-f40, .v8-f28) { font-weight: 700 !important; color: var(--v8-deep) !important; }

/* ---------- 26. The current-status bar (V8.stageBar, 18 October 2026; README 22) ----------
   Janne: "a really small progress bar that should only highlight its current status ... It wouldn't need to show all the
   stages". Since the reference study (18 October 2026, plan item 2) it is the meter's small stage kind (section 28): one segment
   per stage, filled through the current one, the word beside it. Only what is the bar's own stays here: "Needs you" sets the
   word Bold (the meter's { bold }, the way unread rows are Bold), and the pair sits on the text's middle in a row */
#v8 :is(#app, .v8-dlgw) .v8-sbar { vertical-align: middle; }

/* ---------- 27. Forced colours: the unread dot and the cards' edges (fixer, 18 October 2026) ----------
   In Windows High Contrast the unread dot's fill was forced to Canvas and vanished (Bold and the screen reader's ", unread" still
   said it), and the white cards on the mint lost their edges. The dot draws in CanvasText; a card gets a transparent outline the
   system colours draw, except while it holds the focus ring */
@media (forced-colors: active) {
  #v8 #app .v8-in-dot { forced-color-adjust: none; background: CanvasText; }
  #v8 #app .v8-card:not(:focus-visible) { outline: 1px solid transparent; outline-offset: -1px; }
}

/* ---------- 28. The meter (V8.meter, 18 October 2026, the reference study's plan item 1; README 23) ----------
   Janne's reference: "a rounded capsule with a light outline, split into equal segments with small gaps, the filled ones in light
   green up to the level, the level word beside it". Three kinds (risk, package, stage), one look; the kind is a class for the
   areas' layout, not a colour.
   Anatomy: the capsule (white inside on every ground, a 1 px #DDDDDD outline drawn inside, a full pill) holds `steps` pills of
   equal width with 3 px between them and 3 px of white around them (2 and 2 at sm). A filled pill is light green #8ADC94 with a
   1 px #008A28 edge; an empty pill is white with a 1 px #8C8C8C edge (--v8-field, the outline of Fennia's fields and
   checkboxes). The word and its optional line share one box (.v8-mt-t) beside the capsule, 12 apart (8 at sm): the word 16/24
   ink (Bold with { bold }), the line 16/24 secondary under it. The capsule sits on the word's first line.
   Narrow places (round G review, 18 October 2026, replacing four area copies at 199, 259, 299 and 359): the meter is a wrapping
   flex row. The word never breaks (nowrap), and the text box starts from nothing (flex-basis 0) with the word as its minimum, so
   it stays beside the capsule while the word fits there on one line and goes under the capsule when it doesn't; the line under
   the word wraps in whatever width the box gets. No breakpoint.
   Sizes: default 32 by 8 pills, a 14 high capsule (a 3-step meter is 108 wide); sm 14 by 6 pills, a 10 high capsule (50 wide
   at 3 steps, so "Standard package" fits beside it in a policy card's 194 px at four cards a row), for rows, lists and cards.
   Contrast (WCAG 1.4.11): the filled pill's edge #008A28 is 4,5:1 on the capsule's white and the empty pill's edge #8C8C8C is
   3,4:1, so every segment, filled or not, can be seen and the count reads without the screen-reader text (the old empty
   #E8E8E8 pill was 1,2:1). Filled and empty differ by the light green fill and the edge's colour. The capsule's own outline is
   1,4:1 on white: it frames, it says nothing. Word 12,6:1 on white, 11,6:1 on the gray card, 10,9:1 on the hover wash; the line
   #5E5E5E 6,5:1, 6,0:1, 5,6:1. On a policy card the word is Fennia's deep green (Janne, 18 October 2026, on the cards: "the
   text for basic coverage in dark green ... that will connect with the color inside those bars"), 9,9:1 on white, 9,1:1 on the
   gray card. Elsewhere it stays ink, so it doesn't compete with a green link above it or read as a link itself.
   Forced colours: filled pills CanvasText, empty pills Canvas with a CanvasText edge, the capsule's edge CanvasText */
#v8 :is(#app, .v8-dlgw) .v8-meter { --mt-w: 32px; --mt-h: 8px; --mt-gap: 3px; --mt-pad: 3px; --mt-x: var(--v8-3);
  display: inline-flex; flex-wrap: wrap; align-items: flex-start; column-gap: var(--mt-x); row-gap: var(--v8-2); vertical-align: top;
  min-width: 0; max-width: 100%; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; text-align: left; }
#v8 :is(#app, .v8-dlgw) .v8-meter.v8-mt-sm { --mt-w: 14px; --mt-h: 6px; --mt-gap: 2px; --mt-pad: 2px; --mt-x: var(--v8-2); row-gap: var(--v8-1); }
#v8 :is(#app, .v8-dlgw) .v8-mt-cap { flex: none; display: inline-flex; gap: var(--mt-gap); padding: var(--mt-pad);
  margin-top: calc((var(--v8-lh-16) - var(--mt-h) - 2 * var(--mt-pad)) / 2); border-radius: var(--v8-r-pill); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 :is(#app, .v8-dlgw) .v8-mt-cap > i { flex: none; display: block; width: var(--mt-w); height: var(--mt-h); border-radius: var(--v8-r-pill); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-field); }
#v8 :is(#app, .v8-dlgw) .v8-mt-cap > i.v8-mt-on { background: #8ADC94; box-shadow: inset 0 0 0 1px var(--v8-green); }
#v8 :is(#app, .v8-dlgw) .v8-mt-t { flex: 1 1 0px; display: block; min-width: min-content; }
#v8 :is(#app, .v8-dlgw) .v8-mt-w { display: block; color: var(--v8-ink); font-weight: 400 !important; white-space: nowrap; }
#v8 :is(#app, .v8-dlgw) .v8-mt-b .v8-mt-w { font-weight: 700 !important; }
#v8 :is(#app, .v8-dlgw) .v8-mt-l { display: block; color: var(--v8-ink-2); font-weight: 400 !important; }
#v8 #app .v8-pc .v8-meter .v8-mt-w { color: var(--v8-deep); }
/* { mark } (README 41, round O): a blue caret under one segment, what most businesses like hers have. Blue is businesses like
   yours (README 30, --v8-data-base, 4,65:1 on white); the line under the word says it in words. 10 by 6 (8 by 5 at sm), 2 under
   the capsule; the meter keeps 4 more at its foot so the caret never touches what follows */
#v8 :is(#app, .v8-dlgw) .v8-mt-cap > i.v8-mt-mk { position: relative; }
#v8 :is(#app, .v8-dlgw) .v8-mt-cap > i.v8-mt-mk::after { content: ""; position: absolute; left: 50%; top: calc(100% + var(--mt-pad) + 2px); width: 10px; height: 6px; margin-left: -5px; background: var(--v8-data-base); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
#v8 :is(#app, .v8-dlgw) .v8-mt-sm .v8-mt-cap > i.v8-mt-mk::after { width: 8px; height: 5px; margin-left: -4px; }
#v8 :is(#app, .v8-dlgw) .v8-meter.v8-mt-hasmk { padding-bottom: var(--v8-1); }
/* When the word wraps under the capsule, the caret needs its own room above it (round P) */
#v8 :is(#app, .v8-dlgw) .v8-meter.v8-mt-hasmk { row-gap: 10px; }
@media (forced-colors: active) {
  #v8 :is(#app, .v8-dlgw) .v8-mt-cap > i.v8-mt-mk::after { forced-color-adjust: none; background: CanvasText; }
  #v8 :is(#app, .v8-dlgw) .v8-mt-cap { forced-color-adjust: none; background: Canvas; box-shadow: none; outline: 1px solid CanvasText; outline-offset: -1px; }
  #v8 :is(#app, .v8-dlgw) .v8-mt-cap > i { background: Canvas; box-shadow: inset 0 0 0 1px CanvasText; }
  #v8 :is(#app, .v8-dlgw) .v8-mt-cap > i.v8-mt-on { background: CanvasText; }
}
/* The specimen's meter rows (#/v8/system only): meters side by side with air between, and the grounds the meter is checked on */
#v8 #app .v8-spec-mt { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--v8-4) var(--v8-7); }
#v8 #app .v8-spec-mt + .v8-spec-mt { margin-top: var(--v8-5); }
#v8 #app .v8-spec-grounds { gap: var(--v8-3); }
#v8 #app .v8-spec-gr { display: grid; gap: var(--v8-3); justify-items: start; padding: var(--v8-4); border-radius: var(--v8-r-sm); }
#v8 #app .v8-spec-gr-white { box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app .v8-spec-gr-gray { background: var(--v8-gray); }
#v8 #app .v8-spec-gr-mint { background: var(--v8-mint); }
#v8 #app .v8-spec-gr-hover { background: var(--v8-hover); }
#v8 #app .v8-spec-gr-blue { background: var(--v8-blue); }
/* The specimen's data colours (#/v8/system only; README 30): the palette as chips with their facts under them, the orders as split
   strips, the edged marks on three grounds, the ring at 240, the split bars with their sentences */
#v8 #app .v8-spec-pal { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--v8-5) var(--v8-4); margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-spec-pal > li { display: grid; align-content: start; gap: 0; color: var(--v8-ink-2); }
#v8 #app .v8-spec-pal b { margin-top: var(--v8-3); color: var(--v8-ink); font-weight: 700 !important; }
#v8 #app .v8-spec-chip { display: block; height: 48px; border-radius: var(--v8-r-sm); }
#v8 #app :is(.v8-spec-ord, .v8-spec-split) { display: grid; gap: var(--v8-4); max-width: 560px; margin: 0; padding: 0; list-style: none; }
#v8 #app :is(.v8-spec-ord, .v8-spec-split) > li { display: grid; gap: var(--v8-2); color: var(--v8-ink); }
#v8 #app .v8-spec-ord .v8-sb-b { width: 100%; }
#v8 #app .v8-spec-split { margin-top: var(--v8-4); }
#v8 #app .v8-spec-edge { grid-template-columns: repeat(3, 48px); gap: var(--v8-3); padding: var(--v8-5); }
#v8 #app .v8-spec-edge .v8-sb-b { width: 48px; }
#v8 #app .v8-spec-gap { max-width: 640px; }
#v8 #app .v8-spec-pol .v8-sw { margin-right: var(--v8-2); vertical-align: -1px; }
#v8 #app .v8-spec-pol b { font-weight: 700 !important; }

/* ---------- 29. The claim progress bar (V8.stageBar), 18 October 2026 ----------
   Janne: "The progress bar should look different from the coverage bar. There are two different types, so you shouldn't use the
   coverage bar in claims, but instead use the progress bar that you at least had on the homepage." So a claim's progress is one
   thin continuous bar, never the segmented capsule (the meter, section 28, measures cover and levels only). 56 by 6, fully
   rounded, white inside a 1 px Fennia green ring (#008A28: 4,5:1 on white, 4,1:1 on the gray card, 3,8:1 on the hover wash, so
   its end shows on every ground), filled in Fennia green from the left to the claim's step. The word beside it, 8 apart, 16 ink,
   Bold when she has something to do ("Needs you"). Forced colours: the ring and the fill in CanvasText */
#v8 :is(#app, .v8-dlgw) .v8-pbar { display: inline-flex; align-items: center; gap: var(--v8-2); min-width: 0; max-width: 100%; color: var(--v8-ink);
  font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; vertical-align: middle; }
#v8 :is(#app, .v8-dlgw) .v8-pbar-t { flex: none; position: relative; display: block; width: 56px; height: 6px; overflow: hidden;
  border-radius: var(--v8-r-pill); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-green); }
#v8 :is(#app, .v8-dlgw) .v8-pbar-t > i { position: absolute; inset: 0 auto 0 0; display: block; border-radius: var(--v8-r-pill); background: var(--v8-green); }
#v8 :is(#app, .v8-dlgw) .v8-pbar-w { min-width: 0; overflow-wrap: anywhere; }
#v8 :is(#app, .v8-dlgw) .v8-sbar-needs .v8-pbar-w { font-weight: 700 !important; }
@media (forced-colors: active) {
  #v8 :is(#app, .v8-dlgw) .v8-pbar-t { forced-color-adjust: none; background: Canvas; box-shadow: inset 0 0 0 1px CanvasText; }
  #v8 :is(#app, .v8-dlgw) .v8-pbar-t > i { background: CanvasText; }
}

/* ---------- 30. Paired boxes (V8.box, V8.pair, the band's main and aside; README 32), 18 October 2026, late evening ----------
   Janne: "You should top-align the white boxes always ... They should be top-aligned so the same header touches both. They should
   have their shared order layout, and then the title at the top. You should create this as a part of the design system
   documentation so you are consistent with this style." Boxes side by side start on one line, each carries its own title at its
   top inside it (20 Bold, 32 below the box's top edge, 24 on phones), so one line runs across every top. A title above the row
   only when it belongs to every box. The band with an aside does it by itself: each section in its main is a box. */
#v8 #app .v8-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--v8-gutter); align-items: start; }
#v8 #app .v8-pair-84 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
#v8 #app .v8-pair-444 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { #v8 #app .v8-pair-444 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { #v8 #app .v8-pair { grid-template-columns: minmax(0, 1fr); } }
#v8 #app :is(.v8-box, .v8-band-g > .v8-band-main > .v8-sec) { min-width: 0; padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-white); }
#v8 #app .v8-box.v8-box:not(:is(.v8-band, .v8-hero) *) { background: var(--v8-gray); }
#v8 #app :is(h4, h5, h6):is(.v8-cn, .v8-box-t) { margin: 0; }
#v8 #app .v8-pair > :is(.v8-help, .v8-certc, .v8-box) { margin: 0; }
/* The title: 20 Bold ink at the box's top, its line 8 under it, the body 16 under the head */
#v8 #app :is(.v8-box > .v8-box-h .v8-box-t, .v8-band-g > .v8-band-main > .v8-sec > .v8-sh .v8-h2) { margin: 0; font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; letter-spacing: 0; font-weight: 700 !important; color: var(--v8-ink); }
#v8 #app :is(.v8-box > .v8-box-h, .v8-band-g > .v8-band-main > .v8-sec > .v8-sh) .v8-line { margin-top: var(--v8-2); }
#v8 #app :is(.v8-box > .v8-box-h, .v8-band-g > .v8-band-main > .v8-sec > .v8-sh) + * { margin-top: var(--v8-4) !important; }
/* Two boxes in the band's main column stack 24 apart; the aside's boxes too */
#v8 #app .v8-band-g > .v8-band-main > .v8-sec + .v8-sec { margin-top: var(--v8-gutter) !important; }
#v8 #app .v8-band-g > .v8-band-aside { gap: var(--v8-gutter); margin-top: 0 !important; }   /* the rule itself: no area pushes the aside down to meet a title outside a box */
/* A list card inside a box gives up its own card: no fill, no padding, the hairlines stay; its first row starts 8 under the head */
#v8 #app :is(.v8-box, .v8-band-g > .v8-band-main > .v8-sec) :is(.v8-rows, .v8-irows, .v8-dl, .v8-drows, .v8-tablew) { padding: 0; border-radius: 0; background: transparent; }
#v8 #app :is(.v8-box, .v8-band-g > .v8-band-main > .v8-sec) :is(.v8-rows, .v8-irows) > li:first-child, #v8 #app :is(.v8-box, .v8-band-g > .v8-band-main > .v8-sec) .v8-dl > div:first-child { padding-top: var(--v8-2); }
#v8 #app :is(.v8-box, .v8-band-g > .v8-band-main > .v8-sec) :is(.v8-rows, .v8-irows) > li:last-child, #v8 #app :is(.v8-box, .v8-band-g > .v8-band-main > .v8-sec) .v8-dl > div:last-child { padding-bottom: 0; }
/* Cards inside a box take the white page's gray again */
#v8 #app :is(.v8-band-g > .v8-band-main > .v8-sec, .v8-band .v8-box) :is(.v8-doc, .v8-card, .v8-split, .v8-panel, .v8-empty) { background: var(--v8-gray); }
#v8 #app :is(.v8-band-g > .v8-band-main > .v8-sec, .v8-band .v8-box) :is(.v8-doc-ic, .v8-card .v8-ic48) { background: var(--v8-white); }
/* The help card puts its title first (README 32): the title at the top left, the illustration 48 at the top right beside the
   title, then the sentence, the extra line and the actions across the card. Wide help cards (Policies, a notice's foot) keep their own
   row layouts in their area files */
/* Since 18 October 2026, night, the illustration floats at the top right and the words flow around it: the title keeps clear of it,
   the sentence starts 8 under the title and takes the full width once it is past the art (a one-line title left 24 of empty space
   under it when the art held its own row). The title is balanced, so a short one doesn't leave one word alone */
#v8 #app .v8-help { display: flow-root; }
#v8 #app .v8-help > .v8-cn { margin-top: 0; text-wrap: balance; }
#v8 #app .v8-help > .v8-art { float: right; width: 48px; height: 48px; margin: 0 0 var(--v8-2) var(--v8-4); }
#v8 #app .v8-help > .v8-art :is(img, svg) { display: block; width: 48px !important; height: 48px !important; }
@media (max-width: 639px) { #v8 #app :is(.v8-box, .v8-band-g > .v8-band-main > .v8-sec) { padding: var(--v8-5); } }
/* An insight inside a group (the specimen's study, README 33) sits 16 under the group's title, not a section's 80 */
#v8 #app .v8-group > .v8-h3 + .v8-ins { margin-top: var(--v8-4) !important; }
/* Inside a box the box's title is the 20; the rows' own titles step down to 16 Bold, so the head reads first */
#v8 #app :is(.v8-box, .v8-band-g > .v8-band-main > .v8-sec) :is(.v8-irows, .v8-drows) .v8-cn { font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; }
#v8 #app :is(.v8-box, .v8-band-g > .v8-band-main > .v8-sec) .v8-irows .v8-cl { margin-top: var(--v8-1); }
/* Stacked under 1280, the band's boxes keep the 24 between them that they keep side by side */
@media (max-width: 1279px) { #v8 #app .v8-band-g { row-gap: var(--v8-gutter); } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { #v8 #app .v8-band-g { row-gap: var(--v8-gutter); }}

/* The claims help card (V8.claimHelp, README 32), 18 October 2026, night: one card for Claims, a claim page and the specimen. The
   claims line's number as its figure (20 Bold ink), the line's name and hours under it (16 secondary), one line on writing, then
   Call us first (the card's figure is the number) and Write to us */
#v8 #app .v8-help > .v8-help-tel { display: grid; gap: var(--v8-1); margin: var(--v8-4) 0 0; }
#v8 #app .v8-help-tel b { color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; letter-spacing: -0.01em; }
#v8 #app .v8-help-tel span { color: var(--v8-ink-2); }
#v8 #app .v8-help > .v8-help-or { margin: var(--v8-4) 0 0; color: var(--v8-ink); }

/* ---------- 31. The card rules (README 36), 18 October 2026, night ----------
   Janne: "one gray box should be one individual thing ... the concrete items should always be the gray ones ... each account ...
   its own separate small gray card". One gray card (#F5F5F5, radius 16, no edge) is one thing she owns or acts on; a list of
   things is a stack of separate cards; a record she only looks up is a white row with hairlines; groups are white (the page, a
   section, the strip, a tile, the white panel, the help card); gray never stands in gray. The insight has its own surface (37) */

/* A stack (V8.stack): separate cards 8 apart in a column, 16 in a grid. No box around them */
#v8 #app .v8-stack { display: grid; gap: var(--v8-stack); margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-stack > li { display: flex; min-width: 0; }
#v8 #app .v8-stack > li > * { flex: 1 1 auto; min-width: 0; }
#v8 #app .v8-stack-g { gap: var(--v8-cards); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

/* One thing (V8.item): a row; the lead at the left, the title and its lines, the end at the right, the body under a hairline.
   Only the title link (and the card's own buttons) hover; the card never does unless the whole card is one link */
#v8 #app .v8-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tx end" "body body"; align-items: center; gap: 0 var(--v8-5); width: 100%; min-width: 0; padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); color: var(--v8-ink); }
#v8 #app .v8-item-l { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "lead tx end" "lead body body"; }
#v8 #app .v8-item-sm { padding: var(--v8-4); }
#v8 #app .v8-band .v8-item { background: var(--v8-white); }
#v8 #app .v8-band .v8-item .v8-ic48 { background: var(--v8-gray); }
#v8 #app .v8-item-lead { grid-area: lead; align-self: start; display: flex; }
#v8 #app .v8-item-tx { grid-area: tx; display: grid; gap: 0; min-width: 0; }
#v8 #app .v8-item-t { margin: 0; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; }
#v8 #app .v8-item-a { color: var(--v8-green-t); font-weight: 700 !important; text-decoration: underline; text-decoration-color: rgba(0, 112, 11, .4); text-underline-offset: 3px; }
@media (hover: hover) { #v8 #app .v8-item-a:hover { text-decoration-color: currentColor; } }
#v8 #app .v8-item-ln { margin: 0; color: var(--v8-ink-2); }
#v8 #app .v8-item-end { grid-area: end; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--v8-2) var(--v8-4); min-width: 0; }
#v8 #app .v8-item-body { grid-area: body; min-width: 0; margin-top: var(--v8-5); padding-top: var(--v8-5); border-top: 1px solid var(--v8-line); }
@media (max-width: 639px) {
  #v8 #app .v8-item { padding: var(--v8-4); grid-template-columns: minmax(0, 1fr); grid-template-areas: "tx" "end" "body"; row-gap: var(--v8-3); }
  #v8 #app .v8-item-l { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "lead tx" "end end" "body body"; column-gap: var(--v8-4); }
  #v8 #app .v8-item-end { justify-content: flex-start; }
  #v8 #app .v8-item-body { margin-top: var(--v8-1); padding-top: var(--v8-4); }
}

/* The white panel (V8.panel({ white: true })): the frame a group takes when it needs one. White, a 1 px #DDDDDD inside edge,
   radius 16, 32 in (24 below 1024, 16 below 640). Gray items stand in it */
#v8 #app .v8-panel.v8-panel-w { background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app .v8-panel-w :is(.v8-card, .v8-item, .v8-doc, .v8-split) { background: var(--v8-gray); }
@media (max-width: 1023px) { #v8 #app .v8-panel.v8-panel-w { padding: var(--v8-5); } }
@media (max-width: 639px) { #v8 #app .v8-panel.v8-panel-w { padding: var(--v8-4); } }

/* Records as white rows (V8.drows({ surface: "white" }), V8.rows({ surface: "white" })): no card, a hairline above, between and
   under the rows. A disclosure head is the button (the whole head hovers with the wash, as a row that opens something); the
   chevron plain link green; the open panel indented 16, its records white rows; the total row Bold */
#v8 #app .v8-drows.v8-drows-w { padding: 0; border-radius: 0; background: transparent; border-top: 1px solid var(--v8-line); border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-drows-w .v8-drow-h { min-height: 72px; row-gap: 4px; padding: var(--v8-3); }   /* a record's row is 76, as the spec's paid months (round j) */
#v8 #app .v8-drows-w .v8-drow-h > .v8-cn { font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; }
#v8 #app .v8-drows-w .v8-drow-h > .v8-cl { margin: 0; color: var(--v8-ink-2); }
#v8 #app .v8-drows-w .v8-drow-e { color: var(--v8-ink); font-variant-numeric: tabular-nums; }
#v8 #app .v8-drows-w .v8-drow-x { width: 40px; height: 40px; background: transparent !important; }
#v8 #app .v8-drows-w .v8-drow-p { max-width: none; padding: 0 0 var(--v8-4) var(--v8-4); }
#v8 #app .v8-drows-w .v8-drow-p > .v8-rows-w { border-bottom: 0; }
#v8 #app .v8-drow-tot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--v8-2) var(--v8-4); padding: var(--v8-4) 0; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-drow-tot > span { font-weight: 700 !important; }
#v8 #app .v8-drow-tot > b { font-weight: 700 !important; font-variant-numeric: tabular-nums; padding-right: calc(40px + var(--v8-5)); }
@media (max-width: 639px) { #v8 #app .v8-drow-tot > b { padding-right: 0; } #v8 #app .v8-drows-w .v8-drow-p { padding-left: var(--v8-3); } }
#v8 #app .v8-rows.v8-rows-w { padding: 0; border-radius: 0; background: transparent; border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-rows-w > li { border-top: 1px solid var(--v8-line); border-bottom: 0; }
#v8 #app .v8-rows-ni > li { grid-template-columns: minmax(0, 1fr) auto; }
#v8 #app .v8-rows-w .v8-rows-end { color: var(--v8-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The policy card's swatch (V8.policyCard({ swatch })): the policy's ring colour, 12, before the price */
#v8 #app .v8-price > .v8-sw { margin-right: var(--v8-2); vertical-align: 0; }

/* An item's facts (V8.itemFacts): side by side, wrapping; each value 16 Bold with its Copy beside it, the label under it */
#v8 #app .v8-item-facts { display: flex; flex-wrap: wrap; gap: var(--v8-4) var(--v8-7); margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-item-facts > li { display: grid; gap: 0; min-width: 0; }
#v8 #app .v8-if-v { display: inline-flex; align-items: center; gap: var(--v8-2); min-height: 44px; margin: -10px 0; }
#v8 #app .v8-if-v > b { font-weight: 700 !important; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#v8 #app .v8-if-l { color: var(--v8-ink-2); }

/* The specimen's grounds for 35 to 37 (#/v8/system only): the strips on mint; the insight at half and compact widths */
#v8 #app .v8-spec-mint { display: grid; gap: var(--v8-4); padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-mint); }
#v8 #app .v8-spec-sizes { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 380px); gap: var(--v8-5); align-items: start; }
@media (max-width: 1199px) { #v8 #app .v8-spec-sizes { grid-template-columns: minmax(0, 1fr); } #v8 #app .v8-spec-cmp { max-width: 380px; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { #v8 #app .v8-spec-sizes { grid-template-columns: minmax(0, 1fr); } #v8 #app .v8-spec-cmp { max-width: 380px; }}
@media (max-width: 639px) { #v8 #app .v8-spec-mint { padding: var(--v8-4); } }

/* ===== Your personal AI assistant (19 October 2026, Janne: "highlight that it's your personal AI assistant and that it knows your
   policies"; the answers' thumbs for hypercare). Her policies are shown, not claimed: discs in the bubble and the header, rows under
   the greeting, a source under each answer. assistant.js aiStack, aiSrc, aiFbRow; reasons in research/ai-assistant-adoption.md */
/* Overlapping discs: Fennia's policy illustrations on white, a 2 px white ring between them. Decoration: the words say what they are */
#v8 body .aiw-stack { display: inline-flex; align-items: center; flex: none; }
#v8 body .aiw-disc { display: grid; place-items: center; width: 32px; height: 32px; margin-left: -8px; border-radius: 50%; background: var(--v8-mint); box-shadow: 0 0 0 2px var(--v8-white); color: var(--v8-green-t); }
#v8 body .aiw-disc:first-child { margin-left: 0; }
#v8 body .aiw-disc svg.i { width: 18px; height: 18px; color: var(--v8-green-t); }
/* The bubble: sparkle, her discs, "Ask about your policies". Where the words hide (phones, flows, the compact bubble) the discs hide too */
#v8 body .aiw-launch.aiw-mine .aiw-stack { margin-left: -2px; }
@media (max-width: 1023px) { #v8 body .aiw-launch .aiw-stack { display: none; } }
#v8.v8-in-flow body .aiw-launch .aiw-stack { display: none; }
@media (min-width: 1024px) {
  #v8.aiw-compact body .aiw-launch:not(.open) .aiw-stack { display: none; }
  #v8.aiw-compact body .aiw-launch:not(.open):is(:hover, :focus-visible) .aiw-stack { display: inline-flex; }
}
/* The header's line: her discs and "Knows your four policies, claims and invoices" */
#v8 body .aiw-head p { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Under the greeting: what the assistant can see, one plain row per policy (no hover, no chevron: nothing to press) */
#v8 body .aiw-know { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 4px; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--v8-line); }
#v8 body .aiw-know li { display: flex; align-items: center; gap: 12px; max-width: none; padding: 0; }
#v8 body .aiw-know img { width: 40px; height: 40px; flex: none; }
#v8 body .aiw-know b { display: block; font-weight: 700; }
#v8 body .aiw-know b + span { display: block; color: var(--v8-ink-2); }
/* An answer's source: the policy it was read from. A link (green, underlined) to the policy; the whole row is the link, so it hovers */
#v8 body .aiw-src { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 8px 12px 8px 8px; border-radius: var(--v8-r-sm); background: var(--v8-gray); color: var(--v8-ink); text-decoration: none; }
#v8 body a.aiw-src b { color: var(--v8-green-t); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { #v8 body a.aiw-src:hover { background: var(--v8-hover); } }
#v8 body .aiw-src img { width: 32px; height: 32px; flex: none; }
#v8 body .aiw-src b { display: block; font-weight: 700; }
#v8 body .aiw-src b + span { display: block; color: var(--v8-ink-2); }
/* Was this helpful? Under each answer, outside its bubble; thumbs 44 round, pressed = mint with the green thumb */
#v8 body .aiw-body li.aiw-fb { align-self: flex-start; max-width: 85%; margin: 0 0 8px; padding: 0; background: none !important; box-shadow: none !important; }
#v8 body .aiw-fbl { display: flex; align-items: center; gap: 2px; }
#v8 body .aiw-fbq { margin-right: 6px; color: var(--v8-ink-2); }
#v8 body .aiw-fbb { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--v8-ink-2); cursor: pointer; }
#v8 body .aiw-fbb svg { width: 20px; height: 20px; }
@media (hover: hover) { #v8 body .aiw-fbb:hover { background: var(--v8-hover); color: var(--v8-ink); } }
#v8 body .aiw-fbb[aria-pressed="true"] { background: var(--v8-mint); color: var(--v8-green-t); }
#v8 body .aiw-fbs { margin: 0; color: var(--v8-ink-2); }
#v8 body .aiw-fbs:empty { display: none; }
#v8 body .aiw-fbs:focus { outline: none; }
#v8 body .aiw-why { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#v8 body .aiw-why button { padding: 8px 14px; border: 1px solid var(--v8-pressed); border-radius: var(--v8-r-pill); background: var(--v8-white); color: var(--v8-green-t); font: inherit; font-size: var(--v8-fs-16); cursor: pointer; }
@media (hover: hover) { #v8 body .aiw-why button:hover { background: var(--v8-hover); } }
@media (forced-colors: active) { #v8 body .aiw-fbb[aria-pressed="true"] { outline: 2px solid CanvasText; } }
/* Phones: the header keeps the words only (the mark and the discs made "Your personal AI assistant" wrap to four lines at 390) */
@media (max-width: 639px) { #v8 body .aiw-head .aiw-mark, #v8 body .aiw-head .aiw-stack { display: none; } }
/* While a thumbs down asks why, the suggested questions step aside: the reasons are the open question (phones had no room for both) */
#v8 body .aiw:has(.aiw-why) .aiw-chips { display: none; }

/* ---------- 32. The list toolbar (V8 list pages: Claims' past claims, Messages, the admin's People and firms), 20 October 2026 ----------
   Janne, 20 October 2026: "in messages u should use the same type filterings we had elsewhere", then on the admin's toolbar ("too
   anemic ... too bulky") and Figma's admin People page as the look ("its clear which top of row related to items"). One slim row,
   no card round it: the search (gray fill with the field's edge, the icon inside), the dropdowns, then Clear and the live count flush
   right. Controls 44 high with 8 corners for every pointer (since 21 October 2026, late night: the brief's 44 px targets; they were 40
   with a mouse and 44 only on touch screens). Each dropdown's label is visually hidden in the row (its resting
   option says what it filters) and shown over it in the opened panel. Measured as a container (v8lt) on .v8-lt:
   - from 960 one row; under 960 the dropdowns fold behind "Filters" (its name counts what is on); under 600 the search has its own
     line and the toggle says "Filter and sort" where the panel also holds the sort.
   - .v8-lt-hsort: the list's column heads sort it (Claims, the admin), so the Sort dropdown shows only under 600, where the heads are
     hidden. Without it (Messages) the Sort dropdown is always one of the dropdowns.
   Markup: .v8-lt > .v8-lt-bar[role=search] > .v8-lt-q (label.sr, icon, input.v8-lt-in), button.v8-lt-tog (.v8-lt-tf, .v8-lt-tfs,
   .v8-lt-n, chevron), .v8-lt-sel#… > .v8-lt-dd (label.v8-lt-lab, .v8-selw > select.v8-lt-in), .v8-lt-end (Clear, p.v8-lt-count
   role=status); then .v8-lt-res#… for the results. The bar carries .is-open and .has-clr; Clear carries .is-off while hidden */
#v8 #app .v8-lt { container: v8lt / inline-size; }
#v8 #app .v8-lt-bar { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--v8-3); }
#v8 #app .v8-lt-bar .v8-lt-in { height: 44px !important; min-height: 44px !important; border-radius: var(--v8-r-pill) !important; }
#v8 #app .v8-lt-q { position: relative; display: block; flex: 1 1 auto; min-width: 9rem; max-width: 26rem; }
#v8 #app .v8-lt-q .v8-lt-in { padding-left: 40px; background: var(--v8-gray) !important; }
#v8 #app .v8-lt-q .v8-lt-in::-webkit-search-decoration { -webkit-appearance: none; }
#v8 #app .v8-lt-q svg.i { position: absolute; left: 10px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--v8-ink-2); pointer-events: none; }
/* A dropdown is as wide as its longest option, so choosing one never moves the row; the first one's long names end in an ellipsis */
#v8 #app .v8-lt-sel { display: contents; }
#v8 #app .v8-lt-dd { flex: none; display: block; min-width: 0; }
#v8 #app .v8-lt-dd .v8-lt-in { width: auto; max-width: 100%; padding: 0 40px 0 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#v8 #app .v8-lt-dd:first-child .v8-lt-in { max-width: 13rem; }
#v8 #app .v8-lt-dd .v8-selw svg.i { top: 50%; right: 10px; width: 20px; height: 20px; margin-top: -10px; }
#v8 #app .v8-lt-hsort .v8-lt-so { display: none; }
#v8 #app .v8-lt-lab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* The toggle: the toolbar's control shape (44, 8 corners), green as every button */
#v8 #app .v8-lt-tog { display: none; min-height: 44px; height: 44px; padding: 0 12px 0 16px; border-radius: var(--v8-r-sm); }
#v8 #app .v8-lt-tfs { display: none; }
#v8 #app .v8-lt:not(.v8-lt-hsort) .v8-lt-tf { display: none; }
#v8 #app .v8-lt:not(.v8-lt-hsort) .v8-lt-tfs { display: inline; }
#v8 #app .v8-lt-tog .v8-lt-n:empty { display: none; }
#v8 #app .v8-lt-tog svg.i { width: 20px; height: 20px; margin: 0; transition: transform .16s ease-out; }
#v8 #app .v8-lt-tog[aria-expanded="true"] svg.i { transform: rotate(180deg); }
/* Clear and the count at the row's end, the count flush right. Clear shows while a search or filter is on and something matches */
#v8 #app .v8-lt-end { display: flex; align-items: center; justify-content: flex-end; gap: var(--v8-4); margin-left: auto; min-height: 44px; }
#v8 #app .v8-lt-count { margin: 0; color: var(--v8-ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
#v8 #app .v8-lt-end .v8-link, #v8 #app .v8-lt-end .v8-btn-link { white-space: nowrap; min-height: 44px; }
#v8 #app .v8-lt-end .is-off { display: none; }
#v8 #app .v8-lt-res { margin-top: var(--v8-4); }
#v8 #app .v8-lt-res.is-none { padding: var(--v8-5) 0; }
@container v8lt (max-width: 959px) {
  #v8 #app .v8-lt-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "q tog end"; }
  #v8 #app .v8-lt-q { grid-area: q; min-width: 0; max-width: none; }
  #v8 #app .v8-lt-tog { grid-area: tog; display: inline-flex; justify-self: start; }
  #v8 #app .v8-lt-end { grid-area: end; margin-left: 0; }
  #v8 #app .v8-lt-sel { display: none; grid-area: sel; }
  #v8 #app .v8-lt-bar.has-clr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "q tog" "end end"; }
  #v8 #app .v8-lt-bar.is-open { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "q tog" "sel sel" "end end"; }
  #v8 #app .v8-lt-bar:is(.has-clr, .is-open) .v8-lt-end { justify-content: space-between; }
  #v8 #app .v8-lt-bar.is-open:not(.has-clr) .v8-lt-end { justify-content: flex-end; }
  #v8 #app .v8-lt-bar.is-open .v8-lt-sel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--v8-3); padding: var(--v8-1) 0; }
  #v8 #app .v8-lt-dd .v8-lt-in, #v8 #app .v8-lt-dd:first-child .v8-lt-in { width: 100%; max-width: none; }
  #v8 #app .v8-lt-bar.is-open .v8-lt-lab { position: static; display: block; width: auto; height: auto; margin: 0 0 var(--v8-1); overflow: visible; clip: auto; clip-path: none; white-space: normal; color: var(--v8-ink); }
}
@container v8lt (max-width: 599px) {
  #v8 #app .v8-lt-bar { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "q q" "tog end"; }
  #v8 #app .v8-lt-bar.has-clr { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "q q" "tog tog" "end end"; }
  #v8 #app .v8-lt-bar.is-open { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "q q" "tog tog" "sel sel" "end end"; }
  #v8 #app .v8-lt-bar.is-open .v8-lt-sel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #v8 #app .v8-lt-end { flex-wrap: wrap; column-gap: var(--v8-4); row-gap: 0; }
  #v8 #app .v8-lt-hsort .v8-lt-sel .v8-lt-so { display: block; }
  #v8 #app .v8-lt-tf { display: none; }
  #v8 #app .v8-lt-tfs { display: inline; }
}
@container v8lt (max-width: 359px) { #v8 #app .v8-lt-bar.is-open .v8-lt-sel { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-lt-tog svg.i { transition: none; } }

/* A sortable column head (Figma's admin People page, Janne 20 October 2026): column heads are ink, Bold, the cells' size, each over
   its column's start; a head that sorts is a button with the same words and, while it sorts, the arrow right after its word.
   Hover underlines it in green; aria-sort sits on the th */
#v8 #app .v8-sortb { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; margin: -8px 0; padding: 0; border: 0; background: none; color: var(--v8-ink); font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; text-align: left; cursor: pointer; }
#v8 #app .v8-sortb svg.i { width: 16px; height: 16px; flex: none; }
#v8 #app .v8-sortb:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; border-radius: 2px; box-shadow: var(--v8-focus-glow) !important; }
@media (hover: hover) { #v8 #app .v8-sortb:hover { color: var(--v8-green-t); text-decoration: underline; text-underline-offset: 3px; } }

/* Hover fixes (Janne, 21 October 2026, night: "when you hover on the Get Certificate, you don't get a hover effect. You also don't
   get a hover effect for the AI thing ... it becomes thicker with the colorful stroke around it, and it starts moving").
   1. The hero's white secondary button (.v8-hero .v8-btn-2 { background: white }) outranked the shared hover; it gets its own.
   2. --v8-ring is resolved on :root, so the button's animated --ai-a never reached it and the ring stood still. The ring is now
      written on the button itself, and on hover the stroke goes from 2 to 3 px (padding gives back the extra pixel, so nothing shifts). */
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-ai { --ai-ring: conic-gradient(from var(--ai-a, 200deg), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F);
  background-color: transparent; background-image: linear-gradient(#fff, #fff), var(--ai-ring); background-clip: padding-box, border-box; background-origin: border-box; transition: border-width .16s ease-out, padding .16s ease-out; }
@media (hover: hover) {
  #v8 #app .v8-hero .v8-btn-2:hover, #v8 #app .v8-gm-acts .v8-btn-2:hover, #v8 #app .v8-od-panel .v8-bj-pacts .v8-btn-2:hover { background: var(--v8-hover); }
  #v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-ai:hover, #v8 #app .v8-btn-ai:focus-visible { border-width: 3px; padding-left: 11px; padding-right: 19px;
    background-color: transparent; background-image: linear-gradient(#fff, #fff), var(--ai-ring); background-clip: padding-box, border-box; background-origin: border-box; animation: ai-turn 2.4s linear infinite; }
}

/* The side menu one step larger, everything in proportion (Janne, 22 October 2026: "increase the font size by 1, but keep all the
   ratios the same ... the side margins should move, and the distance between each other and the icons should change. Everything
   has to be in proportion"). From 1024 the whole menu is drawn at 15/14 (1.0714): its 14 text becomes 15, the 36 rows 38.6, the 18
   icons 19.3, the 12 paddings 12.9, the 256 width 274 (folded 64 to 69). One factor, so every ratio Jordi set stays (README 80).
   The menu keeps the viewport's height: its 100vh is divided by the same factor inside the zoom */
@media (min-width: 1024px) {
  html#v8 { --v8-rail-k: 1.0714; --v8-rail: 274px; }
  html#v8[data-rail="collapsed"] { --v8-rail: 69px; }
  html body #app header.rail.rail2 { zoom: var(--v8-rail-k); height: calc(100vh / var(--v8-rail-k)) !important; }
  html#v8[data-rail="collapsed"] body .proto { zoom: var(--v8-rail-k); }
}
/* A redder No (Janne, 22 October 2026: "make the red somehow a bit redder ... hard ... to see the difference between the green and
   red"): every red cross mark (the risk table, Claims, Home, the policy tiles) sits on Fennia's Red-10 (#F9E3E0, about twice the
   old 10 % tint) and its cross is drawn heavier, so it differs from the mint check in strength as well as hue */
#v8 #app :is(.ixrt-mk-no, .v8-fl .v8-fl-mk-rej, .v8-hm-mk-rej, .ixp-qmk-alert) { background: var(--fennia-red-10, #F9E3E0) !important; color: var(--fennia-red-100, #D63D29) !important; }
#v8 #app :is(.ixrt-mk-no, .v8-fl .v8-fl-mk-rej, .v8-hm-mk-rej) svg.i :is(path, g > path) { stroke: currentColor; stroke-width: 1.4px; stroke-linejoin: round; paint-order: stroke; }
/* File a new claim: the words alone in the open menu (Janne, 22 October 2026), the claim icon only when the menu is folded to icons */
html#v8:not([data-rail="collapsed"]) #app header.rail.rail2 .rail-cta svg.i { display: none !important; }
/* The person at the menu's foot, tidier (Janne, 22 October 2026: "the accountant information at the bottom just doesn't look that
   good"): a hairline above her, the name 14 Bold, the business under it whole on up to two lines (no ellipsis cutting
   "Tilitoimisto Aino Virta..."), the photo and the menu dots on the name's line, and the Prototype screens pill as a quiet 32-high row */
#v8 #app header.rail.rail2 .rail-me { align-items: start !important; margin-top: 4px; padding-top: 12px !important; border-top: 1px solid var(--v8-line); border-radius: 0 !important; }
#v8 #app header.rail.rail2 .rail-me:hover { border-radius: var(--v8-r-sm) !important; }
#v8 #app header.rail.rail2 .rail-me .who b { font-weight: 700 !important; }
#v8 #app header.rail.rail2 .rail-me .who span { white-space: normal !important; text-overflow: clip !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#v8 #app header.rail.rail2 .rail-me > svg.i { align-self: center; }
@media (min-width: 1024px) { html#v8:not([data-rail="collapsed"]) body .proto > button { min-height: 32px !important; height: 32px !important; font-size: var(--v8-fs-14) !important; } }
#v8 #app header.rail.rail2 .rail-me { border-top: 0 !important; padding-top: 8px !important; margin-top: 0; }   /* one hairline at the foot is enough: the sticky foot already draws it */

/* ---------- The subtle button (README 84, 22 October 2026) ----------
   Janne, of "See more about the assessment": "a somehow cleaner, subtle button and not the stroke underneath ... you understand that
   it opens in the drawer ... make sure that the styling of the text is similar to how we do it elsewhere too in the drawer".
   One rule for every quiet action that opens more (a drawer, a panel): link-green 16 Regular words, no underline, a 44 target with
   8 px of padding pulled back so the words stay on the text edge, the green wash on hover (the K card's subtle button, README 63),
   and a small arrow after the words that says it opens a side panel. Used by: See more about the assessment, What do we mean by
   this?, and the links inside drawers */
#v8 :is(#app, .v8-dlgw) :is(.ix-about, .ixp-why .v8-link, .v8-drawer a.v8-link, .v8-drawer button.v8-link) { display: inline-flex !important; align-items: center; gap: 6px; min-height: 44px;
  margin-left: calc(-1 * var(--v8-2)) !important; padding: 0 var(--v8-2) !important; border-radius: var(--v8-r-pill); color: var(--v8-green-t) !important; text-decoration: none !important;
  font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; background: none; }
#v8 :is(#app, .v8-dlgw) :is(.ix-about, .ixp-why .v8-link)::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw) :is(.ix-about, .ixp-why .v8-link, .v8-drawer a.v8-link, .v8-drawer button.v8-link):hover { background: var(--v8-hover); text-decoration: none !important; } }
/* Text inside a drawer, as the opened row's (README 77): section headings 16 Bold, 24 above and 4 under; 16 Regular ink text */
#v8 .v8-dlgw .v8-drawer :is(h3, h4):not(.v8-dlg-h *) { margin: var(--v8-5) 0 var(--v8-1) !important; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; }
@media (forced-colors: active) { #v8 :is(#app, .v8-dlgw) :is(.ix-about, .ixp-why .v8-link)::after { background: LinkText; } }
#v8 .v8-dlgw .v8-drawer :is(h3, h4):not(.v8-dlg-h *) { margin-top: 0 !important; }   /* the drawer's sections already keep their own space; the heading adds none */
/* README 87, the topic gap (Janne, 22 October 2026: "a rule for how much space there should be when topics change ... What do we
   know about you is a different topic, and it's way too close to the yellow inside"). Blocks of one topic sit 40 apart (24 on a
   phone); the first block of a new topic sits 96 below the last one (64 on a phone): more than twice the gap inside a topic, so
   the change reads before the title does */
#v8 #app .v8-topic { margin-top: var(--v8-11) !important; }
@media (max-width: 639px) { #v8 #app .v8-topic { margin-top: var(--v8-9) !important; } }
/* ---------- Rows: the marks brighten with the row (README 90, 22 October 2026) ----------
   Janne: "when you hover on the tables and we have those little icons in those squares, they should always get brighter. Whatever
   you did in the inside section of the behavior of the table rows, please update it everywhere because I noticed that you are not
   using it on the claims page." One rule for every row that takes the green wash (hover, press, keyboard focus): the square behind
   any icon or mark in it turns white, as the risk table's did, so the mark stays visible on the green. The risk bars' empty steps
   with them. Add a new row or mark class to these two lists, never a page-only copy */
#v8 #app :is(
    .ixrt-r:is(:hover, :focus-within),
    .v8-hm-row:is(:hover, :active, :focus-visible),
    a.v8-fl-card:is(:hover, :active, :focus-visible), .v8-fl-r:has(a.v8-fl-a:is(:hover, :active, :focus-visible)),
    a.v8c-row:is(:hover, :active, :focus-visible),
    .pk-r-paid:has(.pk-a:is(:hover, :active, :focus-visible)),
    .v8pk-cr:has(.v8pk-cb:is(:hover, :focus-visible)), .v8pk-lr:has(> .v8pk-lh .v8pk-cb:is(:hover, :focus-visible)),
    :is(a, button).v8-doc:is(:hover, :active, :focus-visible)
  ) :is(.ixrt-mk, .v8-hm-mk, .v8-hm-ric, .v8-fl-mk, .v8-fl-ic, .v8-mk, .v8-b-mk, .pk-tile, .pk-mk, .v8-rk-ic, .v8-cxm-ic, .v8-doc-ic, .rkb-c > i:not(.on)):not(:is(.v8pk-lp, .ixrt-d, .ixrt-dr, .cvo-p, .v8-open-panel, [role="region"]) *) { background: var(--v8-white) !important; box-shadow: none !important; }
/* Only the row itself (Janne, 22 October 2026: "the hover effect should only apply to the items in the row so that the container
   turns white. Obviously, you shouldn't turn them white in the open accordion, and it shouldn't be affected by this hover effect"):
   a mark inside a row's opened panel (the policy covers' .v8pk-lp, the risk table's detail, any .v8-open-panel) keeps its own
   colour when the row above it is hovered. A new accordion's panel takes .v8-open-panel. README 116 */

/* ---------- Links to a whole list: the subtle button (README 90, the same day) ----------
   Janne, of All claims and All messages on Home: "I don't want to see those underscores ... bolded looks more like a subtle button.
   Take that stroke away from down. It looks very clumsy." Every "All ..." link at a section head (All claims, All messages, All
   policies) is the subtle button of README 84: no underline, the arrow after the words, the green wash on hover */
#v8 #app .v8-hm-th > a.v8-hm-thl { display: inline-flex !important; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; margin-right: -8px;
  border-radius: var(--v8-r-sm); color: var(--v8-green-t) !important; font-weight: 400 !important; text-decoration: none !important; }
#v8 #app .v8-hm-th > a.v8-hm-thl::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (hover: hover) { #v8 #app .v8-hm-th > a.v8-hm-thl:hover { background: var(--v8-hover); text-decoration: none !important; } }
@media (forced-colors: active) { #v8 #app .v8-hm-th > a.v8-hm-thl::after { background: LinkText; } }
/* ---------- The tiles timeline (README 94, 22 October 2026): V8.track(steps, { look: "tiles" }) ----------
   Vertical at every width, newest first. Each step a 40 px white square (8 px corners) with its blue line icon (Blue-100, 20 px);
   the current step's square stroked 2 px Blue-100; a step still ahead dashed, no fill; soft dashed Blue-30 joins between squares
   (never a solid dark line). The name 16 ink (the current one Bold), its date 16 secondary under it. Sits on the light blue box */
#v8 #app .v8-track.v8-track-t { display: grid; grid-auto-flow: row; grid-auto-columns: auto; gap: var(--v8-5); margin: 0; padding: 0; list-style: none; }
#v8 #app .v8-track.v8-track-t li { position: relative; display: grid; align-content: center; gap: 2px; min-height: 40px; padding: 0 0 0 56px; }
#v8 #app .v8-track.v8-track-t li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: calc(-1 * var(--v8-5) + 4px); right: auto; width: 0; height: auto;
  border-radius: 0; background: none; border-left: 2px dashed var(--fennia-blue-30); }
#v8 #app .v8-track.v8-track-t .v8-tt { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; box-sizing: border-box; border-radius: var(--v8-r-sm);
  background: var(--v8-white); color: var(--fennia-blue-100); }
#v8 #app .v8-track.v8-track-t .v8-tt svg.i { width: 20px; height: 20px; color: var(--fennia-blue-100); }
#v8 #app .v8-track.v8-track-t li.now .v8-tt { box-shadow: inset 0 0 0 2px var(--fennia-blue-100); }
#v8 #app .v8-track.v8-track-t li.next .v8-tt { background: transparent; border: 1.5px dashed var(--fennia-blue-100); }
#v8 #app .v8-track.v8-track-t .v8-sn { color: var(--v8-ink); font-weight: 400 !important; }
#v8 #app .v8-track.v8-track-t li.now .v8-sn { font-weight: 700 !important; }
#v8 #app .v8-track.v8-track-t .v8-sd { color: var(--v8-ink-2); }
@media (forced-colors: active) { #v8 #app .v8-track.v8-track-t .v8-tt { border: 1px solid CanvasText; } #v8 #app .v8-track.v8-track-t li.next .v8-tt { border-style: dashed; } }
#v8 #app .v8-track.v8-track-t li:not(:last-child)::after { background: none !important; border-left: 2px dashed var(--fennia-blue-30) !important; box-shadow: none !important; }
/* ---------- The document cue as a small outlined chip (README 95, 22 October 2026) ----------
   Janne, with a reference of a small outlined "New folder" button: "when you have those View document ... one smaller, cute little
   button that would be even slightly smaller ... It could have a very light green stroke around it." The whole document row stays
   the one button; the cue only looks like a small button inside it (no nested control). 36 high (the system's buttons are 44),
   8 corners, 1 px Primary-30 stroke on white, the eye (photos: the image) at 16 before the words, 16 Regular green. The row's hover
   and keyboard focus wash the chip green with a Primary-40 stroke, since the whole row opens the document */
#v8 :is(#app, .v8-dlgw) .v8-doc-cue { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; box-sizing: border-box; border: 1px solid var(--fennia-primary-30);
  border-radius: var(--v8-r-pill); background: var(--v8-white); color: var(--v8-green-t); text-decoration: none !important; font-weight: 400 !important; transition: background-color .16s ease-out, border-color .16s ease-out; }
#v8 :is(#app, .v8-dlgw) .v8-doc-ce { display: grid; place-items: center; width: 16px; height: 16px; }
#v8 :is(#app, .v8-dlgw) .v8-doc-ce svg.i { width: 16px; height: 16px; color: currentColor; }
#v8 :is(#app, .v8-dlgw) :is(a, button).v8-doc:is(:hover, :focus-visible, :active) .v8-doc-cue { background: var(--v8-hover); border-color: var(--fennia-primary-40); text-decoration: none !important; }
@media (prefers-reduced-motion: reduce) { #v8 :is(#app, .v8-dlgw) .v8-doc-cue { transition: none; } }
@media (forced-colors: active) { #v8 :is(#app, .v8-dlgw) .v8-doc-cue { border-color: ButtonText; } }
html#v8 #app .v8-docs .v8-doc .v8-doc-cue { padding: 0 12px !important; margin: 0 !important; border-radius: var(--v8-r-pill) !important; }
@media (max-width: 639px) { html#v8 #app .v8-docs .v8-doc .v8-doc-cue { margin-top: var(--v8-1) !important; justify-self: start; } }
/* The timeline's passed steps (Janne, 22 October 2026: "maybe there could be a faint, slightly darker stroke around the steps that
   you have already passed, but the one that you are on now should be the strongest"): a 1 px Blue-30 stroke; the current 2 px
   Blue-100 stays the strongest */
#v8 #app .v8-track.v8-track-t li.done .v8-tt { box-shadow: inset 0 0 0 1px var(--fennia-blue-30); }
/* ---------- Secondary buttons: the light green stroke (README 97, 22 October 2026) ----------
   Janne, of the View document chip: "Like this light green stroke around this type of a subtle button. I notice that we have other
   subtle buttons like these elsewhere. I would maybe prefer you to use this lighter color stroke around it everywhere." Every
   outlined secondary button (.v8-btn-2: Make changes, Get an estimate, Go see these, Invite a person, See your risks ...) takes
   the chip's 1 px Primary-30 stroke instead of Primary-100; the green words carry the button (WCAG 1.4.11 asks no contrast of a
   border when the label identifies the control). Hover and keyboard focus: the green wash and a Primary-40 stroke */
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-2 { box-shadow: inset 0 0 0 1px var(--fennia-primary-30); }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-2:hover { background: var(--v8-hover); box-shadow: inset 0 0 0 1px var(--fennia-primary-40); } }
#v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-2:active { box-shadow: inset 0 0 0 1px var(--fennia-primary-40); }
@media (forced-colors: active) { #v8 :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn-2 { border: 1px solid ButtonText; } }
/* "Please note" (Janne, the same day: "in the blue box ... If we need anything from you, we'll ask. Maybe you should have something
   with bold blue text first, like a Please note ... and then that text, so people really would notice"): a lead word in Bold
   Blue-100 before the sentence, on the light blue box */
#v8 #app .v8-note-k { color: var(--fennia-blue-100); font-weight: 700; }

/* =====================================================================================================================
   Detail page parts (README 100, 22 October 2026): the policy page's top, section titles and documents list, made the system's.
   Janne: "apply the same kind of cute styling and the scale from the policy page on the claim page. For example, the claim
   information at the top, inside the container, should be done the same way", and "The attachments should follow the same
   styling as the policy page's documents." These rules were the policy page's own (policy-k.css, README 66); each selector names
   the system class and the policy page's class, so the policy page, the offer (which reuses its classes) and the claim page draw
   from one rule. A new detail page takes the system classes: V8.hero({ white: true, tile: true | icon }), V8.factBox (through the
   hero's facts), section({ cls: "v8-sec-s" }), V8.docCards(list, { cls: "v8-docs-box" }). Type 20/16 only, none in a query.
   ===================================================================================================================== */
/* ---------- The hero's tile: the picture on a 112 mint tile, 12 corners (a box of its own, so the compact card radius); the
   illustration at 80, a line icon (a claim's) at 48 in link green, as on the Claims list's 52 tile. 72 on a phone (52 and 32).
   The actions 16 under the line ---------- */
html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero).v8-hw-art .v8-hw-g { grid-template-columns: 112px minmax(0, 1fr); column-gap: var(--v8-5); align-items: center; }
html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-ill { display: grid; place-items: center; width: 112px; height: 112px; border-radius: var(--v8-r); background: var(--v8-mint); }
html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-ill :is(img, svg) { width: 80px !important; height: 80px !important; }
html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-ill.v8-hw-ic svg.i { width: 48px !important; height: 48px !important; color: var(--v8-green-t); fill: var(--v8-green-t); }
html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hero-acts { margin-top: var(--v8-4); }
@media (max-width: 639px) {
  html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero).v8-hw-art .v8-hw-g { grid-template-columns: 72px minmax(0, 1fr); column-gap: var(--v8-4); }
  html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-ill { width: 72px; height: 72px; border-radius: var(--v8-r-sm); }
  html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-ill :is(img, svg) { width: 52px !important; height: 52px !important; }
  html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-ill.v8-hw-ic svg.i { width: 32px !important; height: 32px !important; }
  html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-tx > .v8-lead { margin-top: var(--v8-4); }
}
@media (forced-colors: active) { html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-ill.v8-hw-ic svg.i { color: CanvasText; fill: CanvasText; } }
/* ---------- The boxed facts (V8.factBox): ONE white box split by hairlines (Insights K's summary box): the value 16 Bold ink, its
   label 16 Regular ink-2 under it. Side by side; stacked with hairlines across under 720. A value may carry its copy button,
   which keeps the line's height (the 44 target overhangs by 10 above and below) ---------- */
html#v8 #app :is(.v8-fbox, .v8pk-facts) { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); margin: var(--v8-6) 0 0; padding: 0; list-style: none; border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
html#v8 #app :is(.v8-fbox-1) { --n: 1; } html#v8 #app :is(.v8-fbox-2, .v8pk-facts-2) { --n: 2; } html#v8 #app :is(.v8-fbox-4, .v8pk-facts-4) { --n: 4; }
html#v8 #app :is(.v8-fbox, .v8pk-facts) > li { display: flex; flex-direction: column; justify-content: center; gap: 0; min-width: 0; min-height: 64px; box-sizing: border-box; padding: var(--v8-3) var(--v8-4); }
html#v8 #app :is(.v8-fbox, .v8pk-facts) > li + li { border-left: 1px solid var(--v8-line); }
html#v8 #app :is(.v8-fbox-v, .v8pk-fv) { color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
html#v8 #app :is(.v8-fbox-l, .v8pk-fl) { color: var(--v8-ink-2); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
html#v8 #app .v8-fbox-v :not(.v8-badge, .v8-badge *, .v8-ib, .v8-ib *) { font-weight: 700 !important; }   /* a wrapped value (.nw) stays Bold; the older #app * rule sets 400 */
html#v8 #app .v8-fbox-v:has(> .v8-ib) { display: flex; align-items: center; gap: var(--v8-1); }
html#v8 #app .v8-fbox-v > .v8-ib { flex: none; margin: -10px 0; }
@media (max-width: 719px) {
  html#v8 #app :is(.v8-fbox, .v8pk-facts) { grid-template-columns: minmax(0, 1fr); }
  html#v8 #app :is(.v8-fbox, .v8pk-facts) > li + li { border-left: 0; border-top: 1px solid var(--v8-line); }
}
@media (forced-colors: active) { html#v8 #app :is(.v8-fbox, .v8pk-facts) { border-color: CanvasText; } }
/* ---------- Section titles on a detail page (63.8): a section that holds a box, a table or a list has a 24 Bold ink title (every page section title is 24, Janne 30 Oct 2026), its line
   ink-2, its content 16 under the head (24 under Coverages, policy-k.css) ---------- */
html#v8 #app :is(.v8-sec-s, .v8pk-sec) > .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; letter-spacing: 0; }
html#v8 #app :is(.v8-sec-s, .v8pk-sec) > .v8-sh .v8-line { color: var(--v8-ink-2); }
@media (min-width: 640px) { html#v8 #app :is(.v8-sec-s, .v8pk-sec) > .v8-sh-a { align-items: center; } }
html#v8 #app :is(.v8-sec-s, .v8pk-sec) > .v8-sh + * { margin-top: var(--v8-4) !important; }
/* ---------- The boxed documents list (V8.docCards(list, { cls: "v8-docs-box" }); the policy page's .v8pk-docs): ONE white box, the
   1 px line, 8 corners, hairlines between rows; the file in a 44 gray square (white while its row washes), the name 16 Bold with
   its type tag, the line 16 ink-2, View document the small outlined chip (README 96). The whole row is the button and washes
   green ---------- */
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) { gap: 0; border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) > li + li { border-top: 1px solid var(--v8-line); }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) .v8-doc { grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: var(--v8-4); min-height: 76px; padding: var(--v8-4); border-radius: 0; background: transparent; box-shadow: none !important; }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) > li:first-child .v8-doc { border-radius: calc(var(--v8-r-sm) - 1px) calc(var(--v8-r-sm) - 1px) 0 0; }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) > li:last-child .v8-doc { border-radius: 0 0 calc(var(--v8-r-sm) - 1px) calc(var(--v8-r-sm) - 1px); }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) > li:only-child .v8-doc { border-radius: calc(var(--v8-r-sm) - 1px); }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) .v8-doc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--v8-gray); }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) :is(a, button).v8-doc:is(:hover, :active, :focus-visible) .v8-doc-ic { background: var(--v8-white); }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) .v8-doc-ic svg.i { color: var(--v8-ink-2); fill: currentColor; }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) .v8-doc-cue { padding: var(--v8-2); margin: calc(-1 * var(--v8-2)) 0; border-radius: var(--v8-r-pill); text-decoration: none; }
@media (hover: hover) {
  html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) :is(a, button).v8-doc:hover { background: var(--v8-hover); }
  html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) :is(a, button).v8-doc:hover .v8-doc-cue { color: var(--v8-deep); }
}
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) :is(a, button).v8-doc:is(:hover, :focus-visible) .v8-doc-cue { text-decoration: none; }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) :is(a, button).v8-doc:active { background: var(--v8-pressed); }
html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) :is(a, button).v8-doc:focus-visible { outline-offset: -2px; }
@media (max-width: 599px) {
  html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) .v8-doc { grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--v8-3); }
  html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) .v8-doc-cue { margin: var(--v8-1) 0 0 calc(-1 * var(--v8-2)); justify-self: start; }
}
@media (forced-colors: active) { html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) { border-color: CanvasText; } html#v8 #app :is(.v8-docs-box, .v8pk-docs .v8-docs) .v8-doc-cue { text-decoration: underline; } }
/* The person at the foot of the side menu (Janne, 22 October 2026: "this Aino Virtanen should be lower, kind of at the bottom of the
   navigation"): the reviewer's "Prototype screens" pill leaves the menu's foot and floats at the bottom left of the page area,
   beside the menu, so her name and company are the last thing in the menu. Its menu opens upwards from there */
@media (min-width: 1024px) {
  #v8 body:has(#app header.rail.rail2) .proto { left: calc(var(--v8-rail, 274px) + 24px) !important; bottom: 16px; width: auto !important; }
  html#v8[data-rail="collapsed"] body:has(#app header.rail.rail2) .proto { left: 96px !important; width: auto !important; }
  html#v8[data-rail="collapsed"] body .proto > button { width: auto !important; padding: 0 16px !important; color: var(--v8-ink) !important; }
  #v8 #app header.rail.rail2 .rail-foot2 { padding-bottom: 12px !important; }
}

/* =====================================================================================================================
   README 108 (22 October 2026): Users and access, round two, and smaller controls across the system.
   Janne: "I think some of our components are a bit too large, so I would maybe make them slightly smaller ... make the big list a
   bit smaller and just improve the aesthetic"; "create this as a small tag if there's access to highly sensitive data or access to
   personal data. That kind of disclosure should be really well marked there at the top corner"; "you should use the same styling
   that you have on the policy page for that kind of top content ... you shouldn't use the old patterns"; of "See your roles": "that
   kind of smaller, subtle button ... they look really cute when you have this light green background on them".
   Type stays 12/16/20; nothing here puts a font-size in a media query.
   ===================================================================================================================== */
/* ---------- Smaller controls (fine pointers); 44 stays on touch ----------
   Fields and dropdowns were Fennia's 56; the toolbar's were 44; the side menu's search 36. A compact product UI sets its controls
   one step under its buttons (GitHub Primer: 32 medium, 40 large, a 44 minimum target on coarse pointers; GOV.UK: 40 high fields
   with 19 px text). With 16 px text (iOS zooms anything smaller) 40 is the floor that keeps the text's own 24 line and 8 above
   and below. So: every field and dropdown 40, the side menu's search 32 (it is a 14 px menu row, as the menu's rows are 36), and
   back to 44 on a coarse pointer (Apple's 44 pt, WCAG 2.5.5). Buttons keep 44; the chip below is 36 */
html#v8 :is(#app, .v8-dlgw) :is(.v8-input:not(.v8-ta), input.nd-in, .v8-of-in, select.v8-wi-select, .v8-flow .amount-q .field input) { height: 40px !important; min-height: 40px !important; }
html#v8 :is(#app, .v8-dlgw) .v8-select { padding-right: 40px !important; }
html#v8 #app input.nd-in { padding-top: 0 !important; padding-bottom: 0 !important; }
html#v8 #app .v8-wi-selw svg.i { top: 50%; margin-top: -12px; }
html#v8 #app .gd8 .gd-num-f input { height: 38px; }
html#v8 :is(#app, .v8-dlgw) .v8-selw svg.i { top: 50%; right: 10px; width: 20px; height: 20px; margin-top: -10px; }
html#v8 #app .gd8 .gd-num-f { height: 40px; }
html#v8 #app .v8-lt-bar .v8-lt-in, html#v8 #app .v8-lt-tog { height: 40px !important; min-height: 40px !important; }
html#v8 #app header.rail.rail2 .rail-search { box-sizing: border-box; height: 36px !important; }   /* the side menu keeps its larger scale (Janne, 22 October 2026: "I increased the size by 1 for the fonts and the scales ... I want the slightly larger one"): Search is as tall as the menu items, 36 before the menu's 1.0714 zoom, 38.6 on screen (README 119) */
@media (pointer: coarse) {
  html#v8 :is(#app, .v8-dlgw) :is(.v8-input:not(.v8-ta), input.nd-in, .v8-of-in, select.v8-wi-select, .v8-flow .amount-q .field input), html#v8 #app .gd8 .gd-num-f,
  html#v8 #app .v8-lt-bar .v8-lt-in, html#v8 #app .v8-lt-tog, html#v8 #app header.rail.rail2 .rail-search { height: 44px !important; min-height: 44px !important; }
}

/* ---------- The chip button (V8.btn(label, { kind: "chip" }), .v8-chipbtn) ----------
   A small row- or card-level action that opens or edits one thing: Edit your roles, Edit roles, See the people with a role. The
   View document chip's shape (README 96: 36 high, 0 12, 8 corners, 1 px Primary-30) with Janne's light green at rest (Primary-10);
   hover and press: the green wash and a Primary-40 stroke. 16 Regular green, no underline, no icon. Page-level actions stay 44
   buttons. 36 passes WCAG 2.5.8 (24); on a touch screen its target grows to 44 without changing its look */
#v8 :is(#app, .v8-dlgw) .v8-chipbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; min-height: 36px; padding: 0 12px;
  box-sizing: border-box; border: 1px solid var(--fennia-primary-30); border-radius: var(--v8-r-pill); background: var(--fennia-primary-10); color: var(--v8-green-t) !important;
  font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; text-decoration: none !important; white-space: nowrap; cursor: pointer;
  transition: background-color .16s ease-out, border-color .16s ease-out; }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw) .v8-chipbtn:hover { background: var(--v8-hover); border-color: var(--fennia-primary-40); } }
#v8 :is(#app, .v8-dlgw) .v8-chipbtn:active { background: var(--v8-pressed); border-color: var(--fennia-primary-40); }
#v8 :is(#app, .v8-dlgw) .v8-chipbtn:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
@media (pointer: coarse) { #v8 :is(#app, .v8-dlgw) .v8-chipbtn::before { content: ""; position: absolute; left: 0; right: 0; top: -5px; bottom: -5px; } }
@media (prefers-reduced-motion: reduce) { #v8 :is(#app, .v8-dlgw) .v8-chipbtn { transition: none; } }
@media (forced-colors: active) { #v8 :is(#app, .v8-dlgw) .v8-chipbtn { border-color: ButtonText; } }

/* ---------- The data tag (V8.dataTag(kind), .v8-tag-data) ----------
   What kind of data a role (or anything that grants access) reaches, as a small tag at its row's top right. Highly sensitive and
   personal data stand out; confidential stays quiet. 24 high, 6 corners as the other tags, 12 Bold. Never colour alone: the words
   are the tag, and screen readers hear the full sentence ("Access to personal data") from the hidden text beside it.
   Contrast: ink #333 on Red-10 11.0:1, on Yellow-10 11.2:1; ink-2 on Neutral-15 5.9:1. (Red-100 text on Red-10 is 3.8:1, so the
   red is the edge, not the words) */
#v8 :is(#app, .v8-dlgw) .v8-tag-dw { display: inline-flex; flex: none; }
#v8 :is(#app, .v8-dlgw) .v8-tag-data { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; box-sizing: border-box; border-radius: var(--v8-r-tag); white-space: nowrap;
  font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 700 !important; color: var(--v8-ink); }
#v8 :is(#app, .v8-dlgw) .v8-tag-data-high { background: var(--fennia-red-10); box-shadow: inset 0 0 0 1px var(--fennia-red-100); }
#v8 :is(#app, .v8-dlgw) .v8-tag-data-pers { background: var(--fennia-yellow-10); box-shadow: inset 0 0 0 1px var(--fennia-yellow-100); }
#v8 :is(#app, .v8-dlgw) .v8-tag-data-conf { background: var(--fennia-neutral-15); box-shadow: inset 0 0 0 1px var(--fennia-neutral-30); color: var(--v8-ink-2); font-weight: 400 !important; }
#v8 :is(#app, .v8-dlgw) .v8-tag-data-basic { background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--fennia-neutral-30); color: var(--v8-ink-2); font-weight: 400 !important; }
@media (forced-colors: active) { #v8 :is(#app, .v8-dlgw) .v8-tag-data { border: 1px solid CanvasText; } }

/* ---------- The boxed list (.v8-boxlist > li.v8-boxrow) ----------
   The policy page's covers and the boxed documents list as a general list: ONE white box, the 1 px line, 8 corners, hairlines
   between the rows, 12 16 inside a row. A row is control | words | the tag at the top right. A row that is on (a switch on, a box
   ticked) takes the light mint wash, never a stroke; a row whose control can change washes green on hover. Under 600 the tag
   moves under the words */
#v8 #app .v8-boxlist { display: block; margin: 0; padding: 0; list-style: none; border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); overflow: hidden; }
#v8 #app .v8-boxlist > li + li { border-top: 1px solid var(--v8-line); }
#v8 #app .v8-boxrow { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "c t g"; align-items: start; column-gap: var(--v8-4); row-gap: var(--v8-2);
  padding: var(--v8-3) var(--v8-4); background: var(--v8-white); transition: background-color .16s ease-out; }
#v8 #app .v8-boxrow > :first-child { grid-area: c; }
#v8 #app .v8-boxrow > .v8-boxrow-t { grid-area: t; display: grid; gap: 2px; min-width: 0; }
#v8 #app .v8-boxrow > .v8-boxrow-t > b { font-weight: 700 !important; color: var(--v8-ink); }
#v8 #app .v8-boxrow > .v8-boxrow-t > span { color: var(--v8-ink-2); }
#v8 #app .v8-boxrow > .v8-tag-dw { grid-area: g; margin-top: 0; }
#v8 #app .v8-boxrow.on { background: none; }   /* only the switch is green, never the row (Settings, README 183) */
@media (hover: hover) { #v8 #app .v8-boxrow:has(> :first-child input:not(:disabled):hover) { background: rgba(0, 0, 0, .03); } }   /* gray, not green (Janne: "just gray and be consistent") */
@media (max-width: 599px) {
  #v8 #app .v8-boxrow { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "c t" ". g"; }
  #v8 #app .v8-boxrow > .v8-tag-dw { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-boxrow { transition: none; } }
@media (forced-colors: active) { #v8 #app .v8-boxlist { border-color: CanvasText; } }

/* ---------- The switch (.v8-switch), from the admin into the system ----------
   44 by 24 (it was 52 by 32). Off: a light gray track, a 2 px #6B6B6B edge and a #6B6B6B knob (5.3:1 on white, so off never reads
   as disabled; Janne, 29 October 2026); on: green with a white knob; hover takes the edge to ink, on to --v8-deep. Settings' look,
   in the system since 30 October 2026 (README 183). Inside a .v8-boxrow its input is
   stretched over the whole row, so the row is the target (44 high or more), and the switch is drawn where it stands. role="switch"
   and aria-checked come from the checkbox; the role's name is its label (a hidden span), its line and tag its description */
#v8 #app .v8-switch { position: relative; display: block; width: 44px; height: 24px; margin-top: 0; }
#v8 #app .v8-switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
#v8 #app .v8-boxrow > .v8-switch { position: static; }
#v8 #app .v8-boxrow > .v8-switch input { inset: 0; }
#v8 #app .v8-boxrow .v8-boxrow-t :is(select, a, button, .adm-scope) { position: relative; z-index: 2; }
#v8 #app .v8-switch-ui { position: relative; display: block; width: 44px; height: 24px; box-sizing: border-box; border-radius: 999px; background: #EDEDED; box-shadow: inset 0 0 0 2px #6B6B6B; transition: background-color .16s ease-out; }
#v8 #app .v8-switch-ui::after { content: ""; position: absolute; left: 5px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #6B6B6B; transition: transform .16s ease-out; }
#v8 #app .v8-switch input:checked + .v8-switch-ui { background: var(--v8-green); box-shadow: none; }
#v8 #app .v8-switch input:checked + .v8-switch-ui::after { left: 3px; top: 3px; width: 18px; height: 18px; background: var(--v8-white); transform: translateX(20px); }
#v8 #app .v8-switch input:focus-visible + .v8-switch-ui { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .v8-switch input:disabled { cursor: default; }
#v8 #app .v8-switch input:disabled + .v8-switch-ui { opacity: .4; }
@media (hover: hover) { #v8 #app .v8-switch input:not(:disabled):hover + .v8-switch-ui { box-shadow: inset 0 0 0 2px var(--v8-ink); } #v8 #app .v8-switch input:not(:checked):not(:disabled):hover + .v8-switch-ui::after { background: var(--v8-ink); } #v8 #app .v8-switch input:checked:not(:disabled):hover + .v8-switch-ui { background: var(--v8-deep); box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-switch-ui, #v8 #app .v8-switch-ui::after { transition: none; } }
@media (forced-colors: active) { #v8 #app .v8-switch-ui { border: 2px solid ButtonText; } #v8 #app .v8-switch input:checked + .v8-switch-ui::after { background: ButtonText; } }

/* ---------- A person's photo on the hero's tile (V8.hero({ white: true, photo })) ----------
   The photo fills the 112 tile (72 on a phone) with the tile's corners: a rounded square, never a circle (README 70; avatars stay
   round only as small identity marks). Initials, when there is no photo, sit on the mint tile at 28 Bold deep green */
html#v8 #app .v8-hero-w.v8-hw-tile .v8-hw-ill.v8-hw-ph { overflow: hidden; }
html#v8 #app .v8-hero-w.v8-hw-tile .v8-hw-ill.v8-hw-ph > img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
html#v8 #app .v8-hero-w.v8-hw-tile .v8-hw-ill .v8-hw-init { color: var(--v8-deep); font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; font-weight: 700 !important; }

/* ---------- Marks brighten with their row (README 90), one more row: Lower your risk's card on Insights (README 107) ----------
   Its rows are links to a step (risk-k.css a.rkx-a), so they take the green wash, and the 32 mint square behind each step's icon
   turns white with them, as every mark in the README 90 list does. A new row or mark joins here or in that list, never a page copy */
#v8 #app a.rkx-a:is(:hover, :active, :focus-visible) .rkx-sq { background: var(--v8-white) !important; box-shadow: none !important; }

/* ---------- The boxed facts as a list page's figures (README 109, 22 October 2026) ----------
   A list page's hero (V8.hero({ type: "list", nav: true })) whose figures are facts, not comparisons, takes V8.factBox as its
   plate: Payments' amount and due date. The box sits 40 under the title's block (the hero base's own margin), with no extra top
   margin of its own. Figures that compare take Insights' stat tiles instead (README 89, 104) */
html#v8 #app .v8-hero-nav > .v8-hero-base > .v8-fbox { margin-top: 0; }

/* =====================================================================================================================
   README 110 (22 October 2026): the claim page, round two, as system parts. Janne: "the financial loss claim should have a smaller
   icon ... redo the claim payment and deductible. Use the same stylings we have with our tables ... do the claim detail the same
   way: against a white background, and then you have the table where you have all the things listed. It shouldn't be next to
   this 'Need help with this claim.'" Three parts any detail page can take; type 16/20 only, none in a query.
   ===================================================================================================================== */
/* ---------- The small hero tile (.v8-hw-s on a tile hero): 64 with 8 corners, a line icon at 32, an illustration at 48. 64 is the
   system's step (--v8-9) and the height of the title's line and the line under it, so the tile stands beside the words, not
   above them. The same at every width ---------- */
html#v8 #app .v8-hero-w.v8-hw-tile.v8-hw-s.v8-hw-art .v8-hw-g { grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--v8-4); }
html#v8 #app .v8-hero-w.v8-hw-tile.v8-hw-s .v8-hw-ill { width: 64px !important; height: 64px !important; border-radius: var(--v8-r-sm); }
html#v8 #app .v8-hero-w.v8-hw-tile.v8-hw-s .v8-hw-ill :is(img, svg) { width: 48px !important; height: 48px !important; }
html#v8 #app .v8-hero-w.v8-hw-tile.v8-hw-s .v8-hw-ill.v8-hw-ic svg.i { width: 32px !important; height: 32px !important; }
/* ---------- The boxed table (.v8-tbox in .v8-tbox-w): the policy page's Insured amounts table (Insights K's .ixgk-tbl) as a part for
   any page. ONE white box, 1 px --v8-line, 8 corners; the gray head band inside its top (16 Bold, its top corners 7, a line under
   it); rows 16 Regular ink, 16 inside, hairlines between them. Row heads are th scope="row". Nothing hovers: a row that opens or
   links takes its own control.
   .v8-tbox-num: the last column holds amounts, right-aligned in tabular figures; a total row (tfoot .v8-tbox-t) is Bold.
   .v8-tbox-kv: a list of facts, the label as the row head in ink-2, the value in ink; under 480 of its width the label sits
   over its value ---------- */
html#v8 #app .v8-tbox-w { container: v8tbox / inline-size; }
html#v8 #app .v8-tbox { width: 100%; table-layout: auto; border-collapse: separate; border-spacing: 0; border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
html#v8 #app .v8-tbox :is(th, td) { padding: var(--v8-4); text-align: left; vertical-align: top; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; border-bottom: 1px solid var(--v8-line); }
html#v8 #app .v8-tbox > :last-child > tr:last-child > :is(th, td) { border-bottom: 0; }
html#v8 #app .v8-tbox thead th { padding-top: var(--v8-3); padding-bottom: var(--v8-3); background: var(--v8-gray); font-weight: 700 !important; white-space: nowrap; }
html#v8 #app .v8-tbox thead th:first-child { border-top-left-radius: calc(var(--v8-r-sm) - 1px); }
html#v8 #app .v8-tbox thead th:last-child { border-top-right-radius: calc(var(--v8-r-sm) - 1px); }
html#v8 #app .v8-tbox-num :is(td, thead th:last-child) { width: 1%; padding-left: var(--v8-7); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
html#v8 #app .v8-tbox .v8-tbox-t > :is(th, td), html#v8 #app .v8-tbox .v8-tbox-t > :is(th, td) * { font-weight: 700 !important; }
html#v8 #app .v8-tbox-kv tbody th { width: 30%; min-width: 160px; color: var(--v8-ink-2); }
@container v8tbox (max-width: 479px) {
  html#v8 #app .v8-tbox-kv, html#v8 #app .v8-tbox-kv :is(tbody, tr, th, td) { display: block; width: auto; min-width: 0; }
  html#v8 #app .v8-tbox-kv tbody th { width: auto; min-width: 0; padding-bottom: 0; border-bottom: 0; }
  html#v8 #app .v8-tbox-kv tbody td { padding-top: var(--v8-1); }
}
@media (forced-colors: active) { html#v8 #app .v8-tbox, html#v8 #app .v8-tbox :is(th, td) { border-color: CanvasText; } }
/* ---------- The help box (V8.help(...) with the class .v8-help-box, in a .v8-help-sec): the policy page's "Questions about this
   policy?" box as a part for any detail page. Its own row at the page's foot, on white: ONE box (1 px line, 8 corners, 24 inside),
   the illustration 48 at the left, the 20 Bold title and its line, the actions at the right from 768 (the light-stroke secondary
   buttons, README 97), under the words below it. The policy page's box (.v8pk-help) takes the same rule */
html#v8 #app .v8-help-sec { margin-top: var(--v8-sec) !important; }
html#v8 #app :is(.v8-help.v8-help-box, .v8pk-help .v8p-helpw .v8-help) { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--v8-5); align-items: center; padding: var(--v8-5); border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
html#v8 #app :is(.v8-help.v8-help-box, .v8pk-help .v8p-helpw .v8-help) > .v8-art { float: none; grid-column: 1; grid-row: 1 / span 2; margin: 0; }
html#v8 #app :is(.v8-help.v8-help-box, .v8pk-help .v8p-helpw .v8-help) > .v8-art, html#v8 #app :is(.v8-help.v8-help-box, .v8pk-help .v8p-helpw .v8-help) > .v8-art :is(img, svg) { width: 48px !important; height: 48px !important; }
html#v8 #app :is(.v8-help.v8-help-box, .v8pk-help .v8p-helpw .v8-help) > .v8-cn { grid-column: 2; grid-row: 1; align-self: end; margin-top: 0; color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
html#v8 #app :is(.v8-help.v8-help-box, .v8pk-help .v8p-helpw .v8-help) > .v8-cn + .v8-cl { grid-column: 2; grid-row: 2; align-self: start; }
html#v8 #app :is(.v8-help.v8-help-box, .v8pk-help .v8p-helpw .v8-help) > .v8-acts { grid-column: 1 / -1; }
/* The row from 768 of the window on the policy page (policies.css's own breakpoint); the claim page's box goes by its own width
   (720), so at a 1024 window beside the menu the words keep their measure and the actions sit under them */
@media (min-width: 768px) {
  html#v8 #app .v8pk-help .v8p-helpw .v8-help { grid-template-columns: 48px minmax(0, 1fr) auto; }
  html#v8 #app .v8pk-help .v8p-helpw .v8-help > .v8-acts { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; flex-wrap: nowrap; }
}
html#v8 #app .v8-help-sec { container: v8help / inline-size; }
@container v8help (min-width: 720px) {
  html#v8 #app .v8-help-sec .v8-help.v8-help-box { grid-template-columns: 48px minmax(0, 1fr) auto; }
  html#v8 #app .v8-help-sec .v8-help.v8-help-box > .v8-acts { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; flex-wrap: nowrap; }
}
/* Under 720 of its width the line runs under the illustration and the title, across the box, so it keeps a readable measure */
@container v8help (max-width: 719px) {
  html#v8 #app .v8-help-sec .v8-help.v8-help-box > .v8-art { grid-row: 1; }
  html#v8 #app .v8-help-sec .v8-help.v8-help-box > .v8-cn { align-self: center; }
  html#v8 #app .v8-help-sec .v8-help.v8-help-box > .v8-cn + .v8-cl { grid-column: 1 / -1; margin-top: var(--v8-3); }
}
@media (forced-colors: active) { html#v8 #app .v8-help.v8-help-box { border-color: CanvasText; } }

/* =====================================================================================================================
   README 111 (22 October 2026): small actions are worded chips, never bare arrows. Janne: "Should the Go to Insights have that
   little proper button, how we have been doing it elsewhere? ... when we have the arrows ... should it actually say 'View claim'
   again, like those small buttons in those tables? ... Let's update that kind of everywhere." And: "when I'm hovering on the rows
   ... the row hover effect is the same as the subtle buttons' hover effect, but when it is inside a row, I would actually want the
   button to get a bit darker."
   - A small action of one row or one card is the chip button (.v8-chipbtn, README 108) with words. A separate control is a real
     V8.btn(label, { kind: "chip" }). Where the whole row or card is already one link, the chip is that link's visible cue
     (V8.chipCue(label), .v8-chipbtn.v8-chipcue): inside the one control or beside its link in a table row, aria-hidden, never a
     second target. The View document cue (README 96) takes the same light green, so the portal has one small-button look.
   - The darker step: when a row or card takes the green wash (hover, press, keyboard focus), its chip goes one step darker so it
     stays a button on the green: Primary-30 fill, Primary-50 stroke, deep green words (7.6:1); pressed Primary-40 (6.3:1). A
     chip hovered directly takes the same step. New washed rows join the list below, never a page-only copy.
   - Disclosure chevrons (rows that open in place, README 77), the back link, "All ..." links and drawer openers under a section's
     lead (the subtle button, README 84 and 90), icon buttons with a name (Copy, Hide, Previous, Next, the feedback thumbs) and
     page-level 44 buttons are not small row actions and keep their look */
#v8 :is(#app, .v8-dlgw) .v8-doc-cue { background: var(--fennia-primary-10); }
#v8 :is(#app, .v8-dlgw) .v8-chipcue { pointer-events: none; }
/* A chip never runs out of its container: one line wherever it fits (36 high, as before: 5 + 24 + 5 + the 1 px stroke), and where a
   long label meets a narrow card (Insights' Your policies card, "What do we mean by this?" at 1440) its words wrap inside it */
#v8 :is(#app, .v8-dlgw) .v8-chipbtn { max-width: 100%; height: auto; padding-block: 5px; white-space: normal; text-wrap: balance; text-align: left; }
@media (hover: hover) {
  #v8 :is(#app, .v8-dlgw) .v8-chipbtn:not(.v8-chipcue):hover { background: var(--fennia-primary-30); border-color: var(--fennia-primary-50); color: var(--v8-deep) !important; }
}
#v8 :is(#app, .v8-dlgw) .v8-chipbtn:not(.v8-chipcue):active { background: var(--fennia-primary-40); border-color: var(--fennia-primary-50); color: var(--v8-deep) !important; }
/* The washed rows and cards whose chip darkens with them */
#v8 :is(#app, .v8-dlgw) :is(
    a:is(:hover, :focus-visible),
    button:is(:hover, :focus-visible),
    .v8-fl-r:has(a.v8-fl-a:is(:hover, :focus-visible)),
    .pk-r-paid:has(.pk-a:is(:hover, :focus-visible))
  ) :is(.v8-chipcue, .v8-doc-cue) { background: var(--fennia-primary-30) !important; border-color: var(--fennia-primary-50) !important; color: var(--v8-deep) !important; }
#v8 :is(#app, .v8-dlgw) :is(
    a:active, button:active,
    .v8-fl-r:has(a.v8-fl-a:active),
    .pk-r-paid:has(.pk-a:active)
  ) :is(.v8-chipcue, .v8-doc-cue) { background: var(--fennia-primary-40) !important; border-color: var(--fennia-primary-50) !important; color: var(--v8-deep) !important; }
@media (forced-colors: active) { #v8 :is(#app, .v8-dlgw) :is(.v8-chipcue, .v8-doc-cue) { border-color: ButtonText; } }
/* A card whose hover panel is already Primary-30 (the policy cards, policies-s.css) takes the chip one step further: Primary-40
   (deep green words 6.3:1), so the chip never melts into its card */
html#v8 #app a.v8-pc.v8-pc:is(:hover, :focus-visible, :active) .v8-chipcue.v8-chipcue { background: var(--fennia-primary-40) !important; }
/* The policy card's foot (V8.policyCard): the price, then "View policy" or "Get an offer"; where both don't fit on one line (four
   cards across at 1440) the chip drops under the price, left */
#v8 #app .v8-pc-foot { flex-wrap: wrap; row-gap: var(--v8-3); }
#v8 #app .v8-pc-foot > .v8-chipcue { margin-left: 0; }
/* ---------- Chips white at rest; Home's rows at the system's 8 corners (README 112, 22 October 2026) ----------
   Janne: "even though I told you that I kind of would like those buttons to be light green, I actually changed my mind. Let's
   actually keep them white inside and have that effect appear." Every chip (.v8-chipbtn, the cue .v8-chipcue, View document
   .v8-doc-cue) is white at rest with the 1 px Primary-30 stroke; the light green appears on hover and keyboard focus of the chip
   itself (--v8-hover, Primary-40 stroke), pressed is the pressed green. Inside a washed row the chip still takes the darker step
   (README 111), so it stays a button on the row's green */
#v8 :is(#app, .v8-dlgw) :is(.v8-chipbtn, .v8-doc-cue) { background: var(--v8-white); }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw) .v8-chipbtn:not(.v8-chipcue):hover { background: var(--v8-hover); border-color: var(--fennia-primary-40); color: var(--v8-green-t) !important; } }
#v8 :is(#app, .v8-dlgw) .v8-chipbtn:not(.v8-chipcue):focus-visible { background: var(--v8-hover); }
#v8 :is(#app, .v8-dlgw) .v8-chipbtn:not(.v8-chipcue):active { background: var(--v8-pressed); border-color: var(--fennia-primary-40); color: var(--v8-deep) !important; }
/* Janne, the same day, of Home's Ongoing claims and Messages: "when I hover on the items, is the hover effect too much like rounded
   edges compared to elsewhere in our design system? If so, fix it." It was: the rows rounded their wash at 20. Row washes take
   --v8-r-sm (8), as the token says ("row hover"); Home's status chips on the cards take a tag's 6, not a pill */
#v8 #app .v8-hm-row { border-radius: var(--v8-r-sm) !important; }
#v8 #app .v8-hm-ic-chip { border-radius: var(--v8-r-tag) !important; }
/* ---------- Carousel arrows as small square buttons (README 115, 22 October 2026) ----------
   Janne, of Home's suggestions' Previous and Next: "make those moving chevrons actually the same kind of small buttons, with curved
   edges like little squares, so they would be white and they would have a little stroke around". The chip's look (README 112) as
   an icon button: 36 x 36, 8 corners, white, 1 px Primary-30, the chevron 20 in link green; hover and focus the light green wash
   and Primary-40; disabled (at either end) the stroke only, the chevron Neutral-60. A 44 tap target stays on touch. Any carousel's
   arrows take it (.v8-car-nav) */
#v8 #app :is(.v8-hm-ic-nav, .v8-car-nav) { gap: var(--v8-2); }
#v8 #app :is(.v8-hm-ic-nav, .v8-car-nav) .v8-ib { position: relative; width: 36px !important; height: 36px !important; min-width: 36px; padding: 0; border: 1px solid var(--fennia-primary-30) !important;
  border-radius: var(--v8-r-pill) !important; background: var(--v8-white) !important; color: var(--v8-green-t) !important; box-shadow: none !important; }
#v8 #app :is(.v8-hm-ic-nav, .v8-car-nav) .v8-ib svg.i { width: 20px; height: 20px; color: currentColor; }
@media (hover: hover) { #v8 #app :is(.v8-hm-ic-nav, .v8-car-nav) .v8-ib:not(:disabled):hover { background: var(--v8-hover) !important; border-color: var(--fennia-primary-40) !important; } }
#v8 #app :is(.v8-hm-ic-nav, .v8-car-nav) .v8-ib:not(:disabled):active { background: var(--v8-pressed) !important; border-color: var(--fennia-primary-40) !important; }
#v8 #app :is(.v8-hm-ic-nav, .v8-car-nav) .v8-ib:is(:disabled, [aria-disabled="true"]) { color: var(--fennia-neutral-60) !important; border-color: var(--fennia-neutral-30) !important; background: var(--v8-white) !important; cursor: default; }
@media (pointer: coarse) { #v8 #app :is(.v8-hm-ic-nav, .v8-car-nav) .v8-ib::before { content: ""; position: absolute; inset: -4px; } }

/* ---------- The boxed list's link row (README 117, 22 October 2026) ----------
   Janne, of Messages: "check that the messages are still according to our standard. It should use our design system components."
   A row of the boxed list (.v8-boxlist, README 108) that opens one thing: li.v8-boxlink holding ONE link a.v8-boxlink-a (the row's
   name, link green, never underlined, README 90), stretched over the whole row by ::after, so the row is one target and one name.
   The row takes the green wash edge to edge on hover (pressed: the pressed green), clipped by the box's 8 corners (README 112);
   keyboard focus is the focus ring inside the row. A chip cue in the row (V8.chipCue) takes the darker step with it (README 111).
   Used by the Messages inbox; any new boxed list of links takes it rather than a page copy */
#v8 #app .v8-boxlist > li.v8-boxlink { position: relative; background: var(--v8-white); transition: background-color .16s ease-out; }
#v8 #app .v8-boxlink .v8-boxlink-a { color: var(--v8-green-t); text-decoration: none; }
#v8 #app .v8-boxlink .v8-boxlink-a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 0; }
#v8 #app .v8-boxlist > li.v8-boxlink:first-child .v8-boxlink-a::after { border-radius: calc(var(--v8-r-sm) - 1px) calc(var(--v8-r-sm) - 1px) 0 0; }
#v8 #app .v8-boxlist > li.v8-boxlink:last-child .v8-boxlink-a::after { border-radius: 0 0 calc(var(--v8-r-sm) - 1px) calc(var(--v8-r-sm) - 1px); }
#v8 #app .v8-boxlist > li.v8-boxlink:only-child .v8-boxlink-a::after { border-radius: calc(var(--v8-r-sm) - 1px); }
#v8 #app .v8-boxlink .v8-boxlink-a:focus-visible { outline: none !important; }
#v8 #app .v8-boxlink .v8-boxlink-a:focus-visible::after { outline: var(--v8-focus); outline-offset: -2px; box-shadow: var(--v8-focus-glow-in) !important; }
@media (hover: hover) {
  #v8 #app .v8-boxlink:has(.v8-boxlink-a:hover) { background: var(--v8-hover); }
  #v8 #app .v8-boxlink .v8-boxlink-a:hover { text-decoration: none; }
}
#v8 #app .v8-boxlink:has(.v8-boxlink-a:active) { background: var(--v8-pressed); }
#v8 #app .v8-boxlink:has(.v8-boxlink-a:is(:hover, :focus-visible)) .v8-chipcue { background: var(--fennia-primary-30) !important; border-color: var(--fennia-primary-50) !important; color: var(--v8-deep) !important; }
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-boxlist > li.v8-boxlink { transition: none; } }
/* ---------- Label to field: 8 (README 124, 22 October 2026) ----------
   Janne, of Get a certificate's "Insurance policy" over its dropdown: "the distance to the label fields is too far, so check how
   most companies are doing it and adjust accordingly". It was 16 (the label's own 8 plus the field's 8 gap). Mature systems keep a
   label 4 to 8 above its control (Atlassian and Shopify Polaris 4, GitHub Primer and IBM Carbon 8, GOV.UK about 5), so the pair
   reads as one thing and the 24 between fields separates them. Now: label to control 8; a hint sits 4 under its label and 8 above
   the control; 24 between fields stays */
#v8 :is(#app, .v8-dlgw) .v8-field > .v8-label { margin-bottom: 0 !important; }
#v8 :is(#app, .v8-dlgw) .v8-field > .v8-label + .v8-hint { margin-top: -4px !important; }
#v8 :is(#app, .v8-dlgw) .v8-field > legend.v8-label { margin-bottom: 8px !important; }   /* a fieldset has no grid gap */
/* ---------- Required marks and the info tooltip (README 125, 22 October 2026) ----------
   Janne, on Get a certificate: "Who is this certificate for? It should be in brackets, optional, but please put the star of the
   mandatory sections at the top: insurance policy and language. When you have this information that will print their name on the
   certificate, that could be kind of like helper text, or it could actually be a tooltip after it. You can hover over it, and it
   will say this text." A required field's label ends in an asterisk (Red-100 is reserved for errors, so ink-2), "required" for
   screen readers; an optional one says "(optional)". The tooltip: a 24 square info button after the label (6 corners, ink-2,
   hover the light wash), the tip in the side menu's ink tooltip style above it, 280 wide at most, on hover and keyboard focus,
   gone on Esc */
#v8 :is(#app, .v8-dlgw) .v8-req { color: var(--v8-ink-2); font-weight: 400; }
#v8 :is(#app, .v8-dlgw) .v8-lrow { display: flex; align-items: center; gap: 4px; }
#v8 :is(#app, .v8-dlgw) .v8-tipw { position: relative; display: inline-flex; }
#v8 :is(#app, .v8-dlgw) .v8-tipb { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: var(--v8-r-tag); background: none; color: var(--v8-ink-2); cursor: help; }
#v8 :is(#app, .v8-dlgw) .v8-tipb svg.i { width: 18px; height: 18px; color: currentColor; }
@media (hover: hover) { #v8 :is(#app, .v8-dlgw) .v8-tipb:hover { background: var(--v8-hover); color: var(--v8-deep); } }
#v8 :is(#app, .v8-dlgw) .v8-tipb:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 :is(#app, .v8-dlgw) .v8-tipx { position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20; width: max-content; max-width: 280px; padding: 8px 12px; border-radius: var(--v8-r-tag);
  background: var(--v8-ink); color: var(--v8-white); font-size: var(--v8-fs-14, 14px) !important; line-height: var(--v8-lh-14, 20px) !important; font-weight: 400;
  transform: translateX(-50%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .12s ease-out; }
#v8 :is(#app, .v8-dlgw) .v8-tipw:is(:hover, :focus-within):not(.v8-tip-off) .v8-tipx { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { #v8 :is(#app, .v8-dlgw) .v8-tipx { transition: none; } }
/* ---------- Buttons hug their words, with a minimum width (README 127, 22 October 2026) ----------
   Janne, of the side menu's full-width File a new claim: "these buttons, unless they're really short, have a min-width, but when they
   are above that, they should be hug content, so not full width like that". A 44 (or 40) button is as wide as its words plus its
   padding, never stretched to its container, and never narrower than 120, so a short label ("Pay", "Send") still reads as a button.
   Chips (README 112), icon buttons and the folded rail's 40 square keep their own sizes */
#v8 :is(#app, .v8-dlgw, .aid) .v8-btn:not(.v8-chipbtn), #v8 #app a.btn:not(.rail-cta) { min-width: 120px; }
html#v8:not([data-rail="collapsed"]) #app header.rail.rail2 .rail-foot2 a.btn.rail-cta { align-self: flex-start !important; width: auto !important; min-width: 120px; padding: 0 16px !important; }
/* README 130's separate white boxes were taken back the same day (Janne: "when you go to a specific policy, I asked you to make those
   in separate cards ... Let's just keep them as they used to be: they're one single card with lines in between"). The facts are
   again one white box with a 1 px line between them (the rules above this note), everywhere V8.factBox / .v8pk-facts is used */
/* ---------- The card tag is always a chip (README 137, 22 October 2026) ----------
   Janne: "I like that you put the white container around the assessment, but I noticed that you didn't include the white container
   [in] some ... Make this a design system component and pattern, and update everywhere it's used to include these card insights."
   A card's tag (Calculator, Assessment, Insight: its icon and its word, 12 Bold deep green) always sits on a small chip, 6 corners,
   2 8 2 4 in: white on a coloured panel (Home's suggestion cards, every kind), the insight lime on a white card (Insights' cards,
   the insight strip on Claims; their own rules, ix-glance-k.css .ixgk-tag and ix-strip.css .ixs-tag, already do). A new tag takes
   one of these classes, never a bare icon and word */
html#v8 #app .v8-hm-ic-pin { padding: 2px 8px 2px 4px !important; border-radius: var(--v8-r-tag) !important; background: var(--v8-white) !important; }
@media (forced-colors: active) { html#v8 #app .v8-hm-ic-pin { border: 1px solid CanvasText; } }
/* ---------- A page heading's buttons line up with it (README 138, 22 October 2026) ----------
   Janne, on Policies: "'Buy a new insurance' and 'Policies' (the titles) should be lined up horizontally ... if there is ingress
   text below, it works, but if there is no ingress text, it should just be aligned with the header." The buttons at a page heading's
   right (.v8-hero-side) never take the actions' top margin (scale-compact.css's 24 outranked base.css's 0); and when the heading
   has no text under it, the buttons are centred on the heading itself */
html#v8 #app .v8-hero-side .v8-hero-acts { margin-top: 0 !important; }
html#v8 #app .v8-hero-nav .v8-hero-g:has(> .v8-hero-tx > h1:only-child) { align-items: center; }
html#v8 #app .v8-hero-nav .v8-hero-g:has(> .v8-hero-tx > h1:only-child) > .v8-hero-side { min-height: 0; }
/* ---------- Links into flows not built yet (README 145, 22 October 2026) ----------
   They stay where they are and look as they do, but lead nowhere (app/not-built.js marks them aria-disabled): no pointer, no hover
   wash, no pressed state. Janne: "we still have those buttons. You just cannot click them" */
html#v8 .v8-unbuilt, html#v8 .v8-unbuilt * { cursor: default !important; }
html#v8 .v8-unbuilt { pointer-events: none !important; }

/* ---------- README 148: a row with a button hovers only on the button (22 October 2026) ----------
   Janne: "For those rows that have buttons, for example, 'View document', we shouldn't make the entire row hoverable. We should just
   have a hoverable effect on 'View document'", then of Claims: "it should be only the View Claim button ... That should be the general
   rule ... in Salesforce, you can have more complex tables, and you can have several different buttons. For those, if the entire row
   is hoverable, then it's very problematic." So a list or table row that shows a button is never itself a link or a button: no row
   hover, no row focus ring, its words in ink. The button is the one control, with the chip's own hover, press and focus ring, and
   its name says what it opens ("View document" and the file's name; "View claim: Theft claim, CLM-2026-0402"). Cards that are one
   thing (a policy card) may still be one link (README 111, the card's cue). The document rows (V8.docCards), Claims' table
   (claims-flow.js) and paid invoices (v8-payments.js) follow it; the old row-hover rules match only a.v8-doc and button.v8-doc,
   which no longer exist */
#v8 :is(#app, .v8-dlgw) button.v8-doc-go { font: inherit; font-size: var(--v8-fs-16); line-height: var(--v8-lh-16); cursor: pointer; }
#v8 :is(#app, .v8-dlgw) .v8-doc-go { flex: none; white-space: nowrap; }
@media (hover: hover) {
  #v8 :is(#app, .v8-dlgw) .v8-doc-go:hover { background: var(--fennia-primary-30) !important; border-color: var(--fennia-primary-50) !important; color: var(--v8-deep) !important; }
}
#v8 :is(#app, .v8-dlgw) .v8-doc-go:active { background: var(--fennia-primary-40) !important; border-color: var(--fennia-primary-50) !important; color: var(--v8-deep) !important; }
#v8 :is(#app, .v8-dlgw) .v8-doc-go:focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }

/* ---------- README 150: no help or contact cards (22 October 2026) ----------
   V8.help draws nothing now, so the wrappers that held one collapse: the help row under a claim or a notice, the policy pages'
   wide help band, Home's sub-pages' help band, and any band left holding only an empty wrapper */
#v8 #app :is(.v8-help-sec, .v8p-helpw, .v8-hm-helpw):empty { display: none !important; }
#v8 #app .v8-band:has(> :is(.v8-band-1, .v8-band-g) > .v8-band-main > :is(.v8p-helpw, .v8-hm-helpw):empty:only-child) { display: none !important; }
#v8 #app .v8-band-aside:empty { display: none !important; }

/* ---------- README 151: an info box's action is the chip button ---------- */
#v8 #app .v8-info .v8-info-acts:has(> .v8-info-chip) { margin-top: var(--v8-3); }
#v8 #app .v8-info .v8-info-chip { color: var(--v8-green-t); font-weight: 400 !important; text-decoration: none; }

/* ---------- README 152: drawer openers on a page are the chip button ----------
   Janne, 22 October 2026, night, of Insights' "See more about the assessment →": "Even here, you're not using the button style.
   What?" Every page-level drawer opener (.ix-about: See more about the assessment, See more about the recommendations, the offer's
   "What's covered" and the studies' copies; .ixp-why's What do we mean by this?) is the system's chip: 36 high, 8 corners, the light
   Primary-30 stroke on white, 16 Regular green, the chip's hover and press; no arrow. Links inside a drawer keep the quiet text link */
#v8 #app :is(.ix-about, .ixp-why .v8-link) { display: inline-flex !important; align-items: center; min-height: 36px !important; height: auto; margin-left: 0 !important;
  padding: 5px 12px !important; border: 1px solid var(--fennia-primary-30) !important; border-radius: var(--v8-r-pill) !important; background: var(--v8-white) !important;
  color: var(--v8-green-t) !important; text-decoration: none !important; font-weight: 400 !important; cursor: pointer; }
#v8 #app :is(.ix-about, .ixp-why .v8-link)::after { display: none !important; }
@media (hover: hover) { #v8 #app :is(.ix-about, .ixp-why .v8-link):hover { background: var(--fennia-primary-30) !important; border-color: var(--fennia-primary-50) !important; color: var(--v8-deep) !important; } }
#v8 #app :is(.ix-about, .ixp-why .v8-link):active { background: var(--fennia-primary-40) !important; border-color: var(--fennia-primary-50) !important; color: var(--v8-deep) !important; }
#v8 #app :is(.ix-about, .ixp-why .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 :is(.ix-about, .ixp-why .v8-link) { border-color: ButtonText !important; } }

/* ---------- README 159: an action under a block's text sits as far from the text as the text sits from its title ----------
   Janne, 23 October 2026: "the distance from the text to the button should be the same as the text's distance to the title ... if
   that occurs anywhere else, you should also fix that." A card's title is 8 above its line (README 103's card rhythm), so the action
   under the line is 8 below it; and the action starts on the text's edge (no negative indent left over from the old text link). The
   scan of twelve pages found it broken only on Insights' two drawer openers (See more about the assessment, See more about the
   recommendations). Section heads (12) and the hero (16) already keep their own gap */
#v8 #app :is(.ixrt-about, .ixgk-lead + p) { margin-top: var(--v8-2) !important; }
html#v8 #app :is(.ix-about, .ixp-why .v8-link) { margin-left: 0 !important; }   /* html# outranks the old text link's :is(), which carried -8 */

/* ---------- README 162: the side menu's current item in the palette's light green (23 October 2026) ----------
   Janne: "I don't know what the selected color actually is ... it's none of the colors we really use in the portal ... I don't know if
   light gray is too anemic. Should it be the light green color?" It was deep green mixed 8 % into white, outside the palette. The
   current item (and the open parent, its sub-item and the gliding tab) is Primary-10, --v8-mint (#E6FAE7), Fennia's selection colour
   (selected options and radio cards, README 22); hover is the palette's Neutral-15 (#F5F5F5), so hovering never looks like the
   selection. The words stay deep green on the current item (13:1 on the mint) */
#v8 #app header.rail.rail2 { --sb-current: var(--v8-mint); --sb-hover: var(--fennia-neutral-15, #F5F5F5); }

/* ---------- README 164: an opened accordion's head turns light gray (23 October 2026) ----------
   Janne: "When you have opened an accordion, it is typical that ... the thing that you have clicked, gains some kind of a color, maybe
   some light gray, so it is separated from the thing that opens. You also understand what is active there ... we use it in both the
   understanding of the risks and the coverages." Every row that opens in place keeps its head in Neutral-15 (#F5F5F5) while it is open;
   what opens under it stays white, so the open row reads as one active head with its content beneath. The risk table (Insights), the
   coverages (a policy page, list and table), the system's disclosure rows (V8.drows: Payments' months, Roles, the insured amounts) and the
   admin's people. A head's own hover still shows over it */
#v8 #app .ixrt-g.is-open > tr.ixrt-r > :is(th, td),
#v8 #app .ixrt-g.is-open > .ixrt-r,
html#v8 #app .v8pk-lr.is-open > .v8pk-lh,
html#v8 #app tr.v8pk-cr.is-open > :is(th, td),
#v8 #app .v8-drow:has(> .v8-drow-h [aria-expanded="true"]) > .v8-drow-h,
#v8 #app tr.adm-ul-r.on > :is(th, td) { background: var(--fennia-neutral-15, #F5F5F5) !important; }

/* ---------- 166. New is amber, everywhere (Janne, 23 October 2026) ----------
   "There should be an orange color for new messages, and the dots should also be in the same orange, because I do like the blue
   being informative, like it's recent claims and also information about quick stats. When it comes to messages, I think they're in
   the navigation, and that should also be orange." Fennia's own status/attention amber (#FF991F), the token its system names for
   notification dots and its notification centre's unread dot. One look for "new, not yet seen" wherever it shows:
   - counts of new things: the side menu's, the phone top bar's and tab bar's Messages count (.count.new), Home's "2 new": the amber
     with ink words (5.9:1);
   - the unread dot on a message row, Home's and the inbox's: the amber with a 1.5 px darker ring (3:1 on white); the row stays Bold
     and the screen reader still hears ", unread".
   Blue stays information (the claims count, Quick stats); lime stays "needs you" (a count with its clock); red stays rejected,
   overdue, not covered and errors */
#v8 #app header.rail.rail2 .nav-item .count.new, #v8 #app .topbar .tb-msg .count, #v8 #app .tabbar .count.new { background: var(--v8-new) !important; color: var(--v8-ink) !important; box-shadow: none !important; }
html#v8[data-rail="collapsed"] #app header.rail.rail2 .nav-item .count.new { box-shadow: 0 0 0 2px var(--v8-white), inset 0 0 0 1.5px var(--v8-new-edge) !important; }
#v8 #app .v8-in-dot, #v8 #app .v8-hm-newdot { background: var(--v8-new) !important; box-shadow: inset 0 0 0 1.5px var(--v8-new-edge); }

/* ---------- 168. One meaning per colour: lime is "needs you" only (Janne, 23 October 2026) ----------
   Janne: "I also notice that we use that color on the insights, which you call lime ... I do want to highlight. There should be a way to
   highlight things ... There are four ongoing claims, or you have been paid this much ... but there is a difference between also showing
   that something is completely new and there's kind of urgency." Then, of option 1: "apply whatever you want".
   - Highlight a figure: the info blue tile (--v8-blue under --v8-blue-ink), as Quick stats and Recent claims' count. The claims rows'
     "To be paid" and "Paid" amounts take it too (they were mint, beside the green Approved check).
   - Information: the info blue. Fennia Insights lose the lime: the insight panel token is the blue (the Insights hero, Home's insight
     cards, the figure tiles), the Insight tag is a blue tag with the blue-100 edge, the mark inside it blue.
   - New: amber (README 166). Needs you: lime with its clock and words. Rejected, overdue, errors: red. */
#v8 { --v8-insight-panel: var(--v8-blue); --v8-insight-bg: var(--v8-blue); }
#v8 :is(#app, .v8-dlgw) .v8-chartwell { --v8-cw-bg: #F7F9FF; }
html#v8 #app :is(.v8-fl .v8-fl-c4 .v8-fl-amt, .v8-hm-cd-amt) { background: var(--v8-blue) !important; color: var(--v8-blue-ink) !important; }
html#v8 #app a.v8-hm-cl:is(:hover, :active, :focus-visible) .v8-hm-cd-amt { background: var(--v8-white) !important; }
html#v8 #app .ixgk-tag, html#v8 #app .v8-tag.v8-tag-ins { background: var(--v8-blue) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fennia-blue-100, #3D7BF5) 35%, var(--v8-white)) !important; }
html#v8 #app .v8-tag.v8-tag-ins .v8-tag-mk svg.i { color: var(--v8-blue) !important; }

/* ---------- 169. Lime is "something to notice"; blue is information (Janne, 23 October 2026) ----------
   "I really don't like this orange ... we reserve that lime for something to notice. For example, the messages, when you have the
   orange now on the tab, should be the lime color. The same lime should also be used on home pages when there are two new messages ...
   information in general is blue ... the Insights tag that is blue ... the policies page and the claims page. Those are in yellow
   containers. They should actually be in light blue containers ... so it's semantically more coherent."
   - Notice (new, and needs you): lime with its darker ring and deep green words. The Messages counts in the side menu, the phone's top
     bar and tab bar, Home's "2 new", the unread dots (Home's and the inbox's), and, as before, "needs you" with its clock.
   - Information: the info blue. The Insight tag (README 168), and the Policies and Claims heroes' tray (was lime, README 134, 147). */
#v8 #app header.rail.rail2 .nav-item .count.new, #v8 #app .topbar .tb-msg .count, #v8 #app .tabbar .count.new { background: var(--v8-new) !important; color: var(--v8-deep) !important; box-shadow: inset 0 0 0 1.5px var(--v8-new-edge) !important; }
html#v8[data-rail="collapsed"] #app header.rail.rail2 .nav-item .count.new { box-shadow: 0 0 0 2px var(--v8-white), inset 0 0 0 1.5px var(--v8-new-edge) !important; }
#v8 #app .v8-msg-inbox .v8-in-dot, #v8 #app .v8-in-dot { width: 10px; height: 10px; }
html#v8 #app .v8-plate.v8p-tray, html#v8 #app .v8-hero-nav > .v8-hero-base > .v8-plate.v8p-tray { background: var(--v8-blue) !important; box-shadow: 0 0 0 1px color-mix(in srgb, var(--fennia-blue-100, #0052CC) 18%, transparent) !important; }

/* ---------- 170. The notice lime: fainter, with a soft edge (Janne, 23 October 2026) ----------
   "you shouldn't put in the lime with this really ugly, dark stroke around it. I would actually also maybe use the fainter lime color
   that we used to have ... use the lighter yellow ... notice how we have built those tabs: they should have only a slightly darker edge,
   not as dark as you have done now." Counts and tags (the Messages counts, "2 new", the needs-you counts): the fainter lime #F6FAC3 with
   a 1 px edge of the dark lime mixed 35 % into white, as the blue tags' edge is Blue-100 35 % into white. A dot is too small to show the
   faint lime on white, so the dots (unread, the greeting's needs-you, the collapsed menu's) keep the full lime with the same soft edge */
#v8 #app header.rail.rail2 .nav-item :is(.count.new, .count.attn), #v8 #app .topbar .tb-msg .count, #v8 #app .tabbar :is(.count.new, .count.attn) { background: var(--v8-new) !important; color: var(--v8-deep) !important; box-shadow: inset 0 0 0 1px var(--v8-new-edge) !important; }
html#v8[data-rail="collapsed"] #app header.rail.rail2 .nav-item :is(.count.new, .count.attn) { background: var(--v8-lime) !important; box-shadow: 0 0 0 2px var(--v8-white), inset 0 0 0 1px var(--v8-new-edge) !important; }
#v8 #app .v8-in-dot, #v8 #app .v8-hm-newdot, #v8 #app .v8-hm-dot { background: var(--v8-lime) !important; box-shadow: inset 0 0 0 1px var(--v8-new-edge) !important; }

/* ---------- 171. The menu counts are tags, not pills (Janne, 23 October 2026) ----------
   "because we did change it, the two new messages shouldn't be like a round pill. Make it also kind of square with rounded edges."
   The Messages and needs-you counts in the side menu, the phone's top bar and tab bar take the tags' 6 corners, as Home's "2 new" and
   "4" do (README 137); a lone digit stays a 20 square. The collapsed menu's dot stays round: it is a dot, not a count */
/* html# and the doubled .count outrank scale-compact.css's html#v8[data-scale="compact"] pill rule */
html#v8 #app header.rail.rail2 .nav-item .count.count:is(.new, .attn), html#v8 #app .topbar .tb-msg .count.count.count, html#v8 #app .tabbar .count.count:is(.new, .attn) { border-radius: var(--v8-r-tag) !important; }
html#v8[data-rail="collapsed"] #app header.rail.rail2 .nav-item .count.count.count:is(.new, .attn) { border-radius: 50% !important; }

/* ---------- 173. The bounce shows the page's own colours (Janne, 23 October 2026) ----------
   "when you're scrolling ... really quickly, it bounces. At the top, you are able to see white space beyond the design ... If it's
   recommended, I would then add something so that the green on the background, especially on the homepage, would continue upwards."
   The bounce stays (the platform's end-of-page feedback). What it reveals is the root's background: the side menu's column at the
   left, then the top half in the colour at the top of the page and the bottom half in the footer's. app/overscroll.js sets the
   colours after every render; the body keeps its white, so none of this shows except past the page's ends */
html#v8 { background:
  linear-gradient(to right, var(--os-rail, transparent) var(--os-rail-w, 0px), transparent var(--os-rail-w, 0px)),
  linear-gradient(to bottom, var(--os-top, #FFFFFF) 50%, var(--os-bot, #FFFFFF) 50%); }

/* ---------- 175. Quick actions in the side menu (Janne, 23 October 2026) ----------
   "in the navigation we do need to make the 'File a new claim' button fill the width. Also, add a bit more space, the vertical gap
   between the button and the Aino Virtanen profile menu entry point. Should it actually be a new category of quick actions, the same
   way as you have those headers, like 'Your company'? There should be space for 'Quick actions', and then there should be 'File a new
   claim'." The button sits in a group headed Quick actions, the same head as Your insurance and Your company (a group named for
   screen readers too); it fills the menu's width (README 3315's hug rule no longer applies here); 20 between it and the person. The
   folded menu keeps its 40 square and hides the head, as it hides the others */
html#v8 #app header.rail.rail2 .rail-qa { display: grid; margin: 0 0 20px; }
html#v8:not([data-rail="collapsed"]) #app header.rail.rail2 .rail-foot2 .rail-qa a.btn.rail-cta { align-self: stretch !important; justify-self: stretch; width: 100% !important; max-width: none !important; margin: 0 !important; }
html#v8[data-rail="collapsed"] #app header.rail.rail2 .rail-foot2 .rail-qa a.btn.rail-cta { margin: 0 !important; }

/* ---------- 179. The system's buttons inside the assistant's drawer (23 October 2026) ----------
   The case study caught it: Talk to a person's Write to us (README 178) drew as plain text, because the button rules were scoped to
   #app, dialogs and the other drawers, not the assistant's (.aid, which lives outside #app). .aid joined those scopes (sections 4
   and 3314's minimum width), so a V8.btn in the drawer is the same button as on the page */

/* ---------- 181. One height for the policy facts row, whatever the level (27 October 2026) ----------
   Janne: "when i click between professional liability and business liability, the coverage box is at different height in the two
   ... we use consistently same spacings and everything ... so theres no small deviations". The level capsule is a 36 px square for
   two levels and shrinks to one bar for one level (README 150), and nothing held the value line, so the facts row was 84 px on a
   one-level policy and 90 px on a two-level one, and every section under it moved by 6 px. Now a facts row that shows a level gives
   every cell's value the same 36 px line, the value centred in it: the row is one height on every policy, and in the four-across
   layout every cell's label sits on one line with the Level label (its 4 px gap, policy-k.css, now on all four) */
html#v8 #app .v8pk-facts:has(.ixgk-lc) > li .v8pk-fv { display: flex; align-items: center; min-height: 36px; }
@media (min-width: 720px) { html#v8 #app .v8pk-facts:has(.ixgk-lc) > li .v8pk-fl { margin-top: var(--v8-1); } }
/* The same rule for a status in a facts value (the claim's Rejected, Approved): an inline tag in the text line made it 26 px and
   the facts box 74 against 72 on a claim still waiting. A value that holds a tag is a 24 px flex line, as the copy button's value
   already is (above, at .v8-fbox-v:has(> .v8-ib)), so every facts box is one height whatever its value is */
html#v8 #app :is(.v8-fbox-v, .v8pk-fv):has(> :is(.v8-tag, .v8-badge)) { display: flex; align-items: center; gap: var(--v8-1); min-height: var(--v8-lh-16); }

/* branch-settings (28 October 2026): the stroked item. Janne: "I think it could be more like with a gray stroke", for the Settings
   cards. The white panel's own edge (README 36: white, 1 px #DDDDDD inside), on V8.item; the icon disc turns gray so it still reads,
   as an item does in the band. In the prototype since 29 October 2026 (README 182) */
#v8 #app .v8-item.v8-item-w { background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app .v8-item.v8-item-w .v8-ic48 { background: var(--v8-gray); }
/* branch-settings (29 October 2026): an item with no body is one row, so the icon, the text and the actions share one centre line
   (the list-row practice of Material and Apple: one or two lines centre on the icon). Janne: the title-only cards "look a bit
   lopsided"; the title sat 6 above the icon's centre, the icon pinned to the top of a two-row grid. Under 640 the actions go under
   the text, so there the icon centres on the text alone. Every V8.item, not only Settings: one rule for the component */
#v8 #app .v8-item-l:not(:has(> .v8-item-body)) { grid-template-areas: "lead tx end"; }
#v8 #app .v8-item-l:not(:has(> .v8-item-body)) > .v8-item-lead { align-self: center; }
@media (max-width: 639px) { #v8 #app .v8-item-l:not(:has(> .v8-item-body)) { grid-template-areas: "lead tx" "end end"; } }

/* ---------- README 185: links are bold green with no underline (3 November 2026) ----------
   Janne, of the design system site's link: "the link styling is wrong. lets not use underscore. lets use bolded green font (or how
   do we have subtle buttons now?). copy tahts tyle". One rule for every text link and link cue in the portal:
   - no underline, at rest or on hover (forced-colors mode keeps the system's underline, the only cue it has there);
   - link green, Bold. Bold is the second cue WCAG 1.4.1 asks for a link inside a sentence, now that no underline marks it;
   - the subtle button's hover (README 84): the green wash, drawn as a 4 px spread so the words don't move, and the deep green.
   The subtle buttons themselves (README 84: in drawers, What do we mean by this?, the draft's Continue) stay Regular, and a read
   message's subject on Home stays Regular so the new ones still stand out in Bold */
html#v8 body :is(#app, .v8-dlgw, .aid, .aiw, .cov-drawer, .dv-wrap) :is(a, a *, button, button *, [class*="-cue"], [class*="-cue"] *, .v8-dn-n, .v8-item-a, .v8-ix-stt, .v8-nb-asw, .v8-nb-dk, .v8-nb-chg, .nd-needt, .nd-pl-l, .nd-pl-s):not(.is-sel, .is-sel *) { text-decoration: none !important; }
html#v8 body :is(#app, .v8-dlgw, .aid, .aiw, .cov-drawer, .dv-wrap) :is(.v8-link, .v8-link-w, p a:not([class]), .v8-cue, [class*="-cue"]:not(.v8-chipbtn, .v8-doc-cue), .v8-dn-n, .v8-item-a, .v8-info-a, .rc-edit, .ixga-nm, .v8-as-steps a, .v8-nb-needl a, .ii a):not(.v8-drawer *, .ixp-why *, .ix-about, .v8-hm-ra *, .qfoot *, .v8-hm-subj > li:not(.v8-hm-new) > a) { font-weight: 400 !important; }
/* README 208 (Janne, 9 November 2026, of the claim's Edit links: "I notice that the edits are bolded green. I think they should
   always just be kind of like 'talk to a person' and/or 'close'. It should always be just [not] bolded ... decide the system, so
   make it consistent"): every link is Regular green, as the flow bar's Talk to a person. README 185 had made them Bold as the
   WCAG 1.4.1 cue, since green on our ink is about 2.7:1, under the 3:1 colour alone needs. So a link inside a sentence now
   carries the underline instead (1 px, 3 under the text, a little lighter than the words); a link on its own (Edit in a row,
   See all, a card's action, a row's subject in Messages) needs none: where it stands says it is a link. Bold stays where it means something else: an unread
   message's subject (home.css), the step she is on (rest.css), card titles that are links (payments.css, insights.css) */
html#v8 body :is(#app, .v8-dlgw, .aid, .aiw, .cov-drawer, .dv-wrap) p a:not(.is-sel):not(.v8-btn):not(.v8-chipbtn):not(.ix-about):not(.v8-boxlink-a) { text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent) !important; }
@media (hover: hover) { html#v8 body :is(#app, .v8-dlgw, .aid, .aiw, .cov-drawer, .dv-wrap) p a:not(.is-sel):not(.v8-btn):not(.v8-chipbtn):not(.ix-about):not(.v8-boxlink-a):hover { text-decoration-color: currentColor !important; } }
html#v8 body :is(#app, .v8-dlgw, .aid, .aiw, .cov-drawer, .dv-wrap) .v8-link:not(.v8-drawer *, .ixp-why *, .v8-hm-ra *) { border-radius: 4px; transition: background-color .16s ease-out, box-shadow .16s ease-out, color .16s ease-out; }
@media (hover: hover) {
  html#v8 body :is(#app, .v8-dlgw, .aid, .aiw, .cov-drawer, .dv-wrap) .v8-link:not(.v8-drawer *, .ixp-why *, .v8-hm-ra *):hover { background: var(--v8-hover); box-shadow: 0 0 0 4px var(--v8-hover); color: var(--v8-deep); }
  html#v8 body :is(#app, .v8-dlgw, .aid, .aiw, .cov-drawer, .dv-wrap) :is(p a:not([class]), .v8-info-a, .v8-item-a, .rc-edit):hover { color: var(--v8-deep) !important; }
}
@media (forced-colors: active) { html#v8 body :is(#app, .v8-dlgw, .aid, .aiw) :is(a, .v8-link):not([class*="btn"]) { text-decoration: underline !important; } }

/* ---------- README 187: one keyboard focus for every control (5 November 2026) ----------
   Janne: "the focus of the choice cards is different from the other, so do run total harmonization over them. I do kind of like
   maybe the focus should be this light green", then option B. A 1 px green edge and a 4 px light green glow, from --v8-focus and
   --v8-focus-glow. The edge carries the 3:1 (the glow alone is about 1,3:1). On a green fill the edge would vanish, so filled
   controls stand it 2 px off, inside a wider glow; on the dark green it is white */
html#v8 body:not(#x) :is(#app, .v8-dlgw, .aiw, .aid, .cov-drawer, .dv-wrap) :is(.v8-btn-1, .aid-send, .v8-arrow):focus-visible { outline-offset: 2px !important; box-shadow: 0 0 0 6px rgba(46, 170, 74, .28) !important; }
html#v8 body:not(#x) #app .v8-switch input:checked:focus-visible + .v8-switch-ui, html#v8 body:not(#x) #app .v8-check input:checked:focus-visible { outline-offset: 2px !important; box-shadow: 0 0 0 6px rgba(46, 170, 74, .28) !important; }
html#v8 body:not(#x) #app :is(.v8-btn-w, .v8-link-w):focus-visible { outline: 1px solid var(--v8-white) !important; outline-offset: 2px !important; box-shadow: 0 0 0 6px rgba(255, 255, 255, .28) !important; }
/* Parts whose own rules outrank the token's: the policy cards (a raised shadow, and rest.css's outline: none on the dashed card), the icon buttons */
html#v8 body:not(#x):not(#x):not(#x) #app :is(a.v8-pc, .v8-ib, a.skip, .skip-link, header.rail a, header.rail button, .topbar a, .topbar button, .tabbar a, .tabbar button, a:not([class])):focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
/* Links that hand their ring to the whole row or card keep no glow of their own */
html#v8 body:not(#x) #app :is(.v8-in-subj, .v8-ins-go, .v8-open, .v8-drow-b, .v8-dc-btn, .v8-boxlink-a, .v8-hm-cue, .v8-hm-ic-x, a.v8-fl-a, .ixr-tg, .ra-p, .ra-li, .pk-a, .v8pk-cb):focus-visible { box-shadow: none !important; }
@media (forced-colors: active) { :root { --v8-focus: 2px solid Highlight; } }

/* ---------- 193. Every AI entry point is the assistant's widget (Janne, 8 November 2026: "you have to redo this style, this 'Ask
   about your coverage' AI thing in the coverages section ... It should somehow be more like this blue, thicker stroke that we use.
   Also, we need this on the homepage when we have the 'Reassess risks' button") ----------
   One rule for .v8-btn-ai (V8.aiPill, btn(..., { kind: "ai" })), wherever it is drawn: the widget's 4 px blue band with its pale top
   (the same two layers as ai-center.css's --aic-tint: a near-white wash at the top over periwinkle, lavender and a breath of pink),
   white inside, the assistant's ai-user mark (20, a 1.17 line) and the words in its solid navy #061A44 (16.9:1 on white), Regular.
   Hover and press tint the inside the widget's palest blues. No rainbow, no turning, no width change on hover (the old 2 to 3 px
   stroke). The tokens are here so ai-center.css draws the widget from the same values. Focus keeps the portal's ring (README 187).
   Replaces the rainbow ring and sparkle of README 70 and 21 October; the band is decorative, the words name the button */
:root {
  --v8-ai-band: 4px; --v8-ai-ink: #061A44; --v8-ai-pale: #F4F7FF; --v8-ai-pale-2: #E8EEFF;
  --v8-ai-tint: linear-gradient(180deg, rgb(246 248 255 / .92) 0%, rgb(236 241 255 / .55) 22%, rgb(255 255 255 / 0) 55%),
                linear-gradient(120deg, #C7D4FC 0%, #D0D3FB 30%, #D9CEF7 55%, #E6D2F0 75%, #C9D6FC 100%);
}
html#v8 body :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn.v8-btn-ai {
  gap: var(--v8-2); padding: 0 14px 0 10px !important; border: var(--v8-ai-band) solid transparent !important; box-shadow: none;
  background-color: transparent !important; background-image: linear-gradient(var(--v8-ai-in, var(--v8-white)), var(--v8-ai-in, var(--v8-white))), var(--v8-ai-tint) !important;
  background-origin: border-box !important; background-clip: padding-box, border-box, border-box !important;
  background-size: 100% 100%, 100% 100%, 240% 240% !important; background-position: 0 0, 0 0, 0% 50% !important; background-repeat: no-repeat !important;
  color: var(--v8-ai-ink) !important; font-weight: 400 !important; animation: none !important; }
html#v8 body :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn.v8-btn-ai .v8-ai-mk { display: inline-grid; flex: none; width: 20px; height: 20px; color: var(--v8-ai-ink); }
html#v8 body :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn.v8-btn-ai .v8-ai-mk svg { display: block; width: 20px; height: 20px; }
@media (hover: hover) {
  html#v8 body :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn.v8-btn-ai:hover { padding: 0 14px 0 10px !important; border-width: var(--v8-ai-band) !important;
    --v8-ai-in: var(--v8-ai-pale); animation: none !important; }
}
html#v8 body :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn.v8-btn-ai:active { --v8-ai-in: var(--v8-ai-pale-2); }
html#v8 body :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn.v8-btn-ai:focus-visible { padding: 0 14px 0 10px !important; border-width: var(--v8-ai-band) !important; animation: none !important; }
@media (forced-colors: active) { html#v8 body :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn.v8-btn-ai { border-color: ButtonText !important; background: ButtonFace !important; color: ButtonText !important; } }
/* The coverage drawer's card ("Still not sure whether you're covered?", v8-policies.js aiBox) is an AI entry point too: the same band
   and inside, the mark bare in navy at 24 (no gray disc: no circles except avatars), the question navy, "Ask our AI assistant" the link */
html#v8 body :is(#app, .v8-dlgw) .v8p-ai { border: var(--v8-ai-band) solid transparent !important; background-color: transparent !important;
  background-image: linear-gradient(var(--v8-ai-in, var(--v8-white)), var(--v8-ai-in, var(--v8-white))), var(--v8-ai-tint) !important; background-origin: border-box !important;
  background-clip: padding-box, border-box, border-box !important; background-size: 100% 100%, 100% 100%, 240% 240% !important; background-position: 0 0, 0 0, 0% 50% !important; background-repeat: no-repeat !important; }
@media (hover: hover) { html#v8 body :is(#app, .v8-dlgw) .v8p-ai:hover { --v8-ai-in: var(--v8-ai-pale); } }
html#v8 body :is(#app, .v8-dlgw) .v8p-ai:active { --v8-ai-in: var(--v8-ai-pale-2); }
html#v8 body :is(#app, .v8-dlgw) .v8p-ai .v8p-ai-mk { width: 24px !important; height: 24px !important; border-radius: 0; background: none; color: var(--v8-ai-ink); }
html#v8 body :is(#app, .v8-dlgw) .v8p-ai .v8p-ai-mk svg { display: block; width: 24px; height: 24px; }
html#v8 body :is(#app, .v8-dlgw) .v8p-ai { grid-template-columns: 24px minmax(0, 1fr); column-gap: var(--v8-3); }
html#v8 body :is(#app, .v8-dlgw) .v8p-ai .v8p-ai-t { color: var(--v8-ai-ink); }
@media (forced-colors: active) { html#v8 body :is(#app, .v8-dlgw) .v8p-ai { border-color: ButtonText !important; background: ButtonFace !important; } }

/* ---------- README 206: buttons Regular, actions at the row's end, strokes only where there is no fill (9 November 2026) ----------
   Janne: "The buttons have now gotten a really bold, thick font ... It should be just this regular font, like how we have on the
   homepage". README 185's Bold for links reached the documents' View document chip through [class*="-cue"]; a chip is a button,
   so it is Regular now (excluded in README 185's rule above). Text links stay Bold (README 185, the WCAG 1.4.1 cue) */
/* An icon row's action at the row's end, centred on the row, as a document row's View document; under the text below 600 */
#v8 #app .v8-irows > li.v8-irows-a { grid-template-columns: 48px minmax(0, 1fr) auto; }
#v8 #app .v8-irows .v8-irows-act { justify-self: end; }
@media (max-width: 599px) {
  #v8 #app .v8-irows > li.v8-irows-a { grid-template-columns: 48px minmax(0, 1fr); }
  #v8 #app .v8-irows .v8-irows-act { grid-column: 2; justify-self: start; margin-top: var(--v8-3); }
}
/* Back is the subtle button (README 210, Janne, 9 November 2026: "could 'back to policies' be just like an arrow and back, just the
   word and the arrow, without the stroke around it? That should be the combination of this subtle button. Edit everywhere"; it
   replaces README 206's stroked square): the arrow and the words in link green, Regular, no square, no stroke, no fill. On hover
   the subtle button's green wash, a 4 px spread round the whole of it so nothing moves, and the deep green (README 84, 185) */
#v8 #app .hw-back { gap: var(--v8-2) !important; border-radius: 4px; text-decoration: none !important; font-weight: 400 !important; transition: background-color .16s ease-out, box-shadow .16s ease-out, color .16s ease-out; }
#v8 #app :is(.v8-hero, .v8-hero-nav, .v8-hero-w, .v8-back) .hw-bc { width: 20px !important; height: 20px !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; color: currentColor !important; }
@media (hover: hover) { #v8 #app .hw-back:hover { background: var(--v8-hover); box-shadow: 0 0 0 4px var(--v8-hover); color: var(--v8-deep) !important; text-decoration: none !important; }
  #v8 #app :is(.v8-hero, .v8-hero-nav, .v8-hero-w, .v8-back) .hw-back:hover .hw-bc { background: transparent !important; } }
/* A count on a coloured fill has no stroke (Janne: "when we use those semantic colors and there's a background color, we don't use
   a stroke"): the menu's and the top bar's message and claim counts; the collapsed rail's dot keeps its white ring, a gap and not
   a stroke. Home's counts: home.css */
#v8 #app header.rail.rail2 .nav-item :is(.count.new, .count.attn), #v8 #app .topbar .tb-msg .count, #v8 #app .tabbar :is(.count.new, .count.attn) { box-shadow: none !important; }
html#v8[data-rail="collapsed"] #app header.rail.rail2 .nav-item :is(.count.new, .count.attn) { box-shadow: 0 0 0 2px var(--v8-white) !important; }
/* README 209: a page hero's illustration stands on the page, with no tile (Janne, 9 November 2026: "When we have an illustration on
   this policy page behind the screen, it shouldn't be green. It should be just an illustration there"). The policy pages' and the
   purchase heroes' 112 mint square goes, and the illustration takes its whole 112 (72 below 640), so the hero keeps its height. An
   icon in the same place (.v8-hw-ic, the claim page's gavel) keeps its tile, as icons do (squares.css) */
html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-ill:not(.v8-hw-ic) { background: transparent; }
html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-ill:not(.v8-hw-ic) :is(img, svg) { width: 112px !important; height: 112px !important; }
@media (max-width: 639px) { html#v8 #app .v8-hero-w:is(.v8-hw-tile, .v8pk-hero) .v8-hw-ill:not(.v8-hw-ic) :is(img, svg) { width: 72px !important; height: 72px !important; } }

/* README 211: a tooltip is above everything (Janne, 9 November 2026: "Tooltip should always go above all content. Nothing should go
   above it"; the assistant's Show me where ring, fixed at 79, crossed a field's tooltip on Get a certificate). Every tooltip in the
   portal takes the top layer, over the assistant (85 to 150), its steps bar and ring (79, 80), the menu's tooltips (300) and
   dialogs; its wrapper is lifted while it shows, so a row or card around it can't hold it under its neighbours */
#v8 :is(#app, .v8-dlgw) .v8-tipw:is(:hover, :focus-within) { z-index: 1000; }
#v8 :is(#app, .v8-dlgw) .v8-tipx, #v8 #app .ixgk-tip, #v8 #app .ixf-b::after { z-index: 1000 !important; }
#v8 .rail-tip { z-index: 1000 !important; }

/* README 216: fields and selects at 8, buttons stay 12 (Janne, 9 November 2026, after the claim study: "there's some inconsistency
   in the edge curvature. I think the input fields were supposed to be a bit more square, the same way as the blue", then "Go with
   A: fields and selects at 8 in the system, buttons stay 12"). It replaces README 190's "fields match buttons". The field corner
   is its own token, --v8-r-field (scale-compact.css, 8): one step squarer than a button's 12, and it nests in the assistant's
   steps ring (12 with a 4 gap). Every text field, text area, select, the side menu's search and the message reply box; the
   Mistral fields (controls.css --fx-r) take it too. Not fields, so unchanged: buttons, chips, the segmented control and the
   assistant's ask field (12) */
html#v8 body :is(#app, .v8-dlgw, .aid, .aiw, .cov-drawer, .dv-wrap) :is(.v8-input, select.v8-input, textarea.v8-input, .v8-selw, .v8-msg-box) { border-radius: var(--v8-r-field, 8px) !important; }
html#v8 body #app header.rail.rail2 .rail-search.rail-search, html#v8 body header.rail.rail2 .rail-search.rail-search { border-radius: var(--v8-r-field, 8px) !important; }
html#v8 body #app .v8-lt-bar.v8-lt-bar :is(.v8-lt-in, select, .v8-selw) { border-radius: var(--v8-r-field, 8px) !important; }   /* Claims' search and filters */
html#v8 body #app .v8-ctl.v8-ctl { --fx-r: var(--v8-r-field, 8px); --ctl-r: var(--v8-r-field, 8px); }

/* ---------- The dashed edge, one rule (README 219, 9 November 2026) ----------
   Janne: "these stroked ones: first of all, the strokes are too long, and also, in the corners, they somehow disappear. Fix it
   everywhere." The dashed edges were SVG rectangles drawn as backgrounds, 4 px wide with 10 px dashes, at the element's full size:
   half of each stroke fell outside the box, and the rounder corners of README 190 clipped them away. Every one is now the
   browser's own 2 px dashed border in the same colour: its dashes are short (about three times the width) and run round each
   element's own radius, whatever it is. A border, not an outline, so the focus ring stays. #v8#v8 outranks the area files'
   longer selectors. */
html#v8#v8 #app :is(.v8-pc.v8-pc-add, .ixga-card.ixga-add, .v8pk-dash) { background-image: none !important; border: var(--v8-stroke-strong) dashed var(--v8-dash) !important; }
html#v8#v8 #app .cr-b .crb-mv2 { background-image: none !important; border: 1px dashed #8C8C8C !important; }
html#v8#v8 #app .v8p-sl-box { background-image: none !important; border: var(--v8-stroke-strong) dashed #ADADAD !important; }
@media (hover: hover) { html#v8#v8 #app :is(a.v8-pc.v8-pc-add, a.ixga-card.ixga-add):hover { border-color: #00700B !important; } }

/* ---------- 220. Every small AI entry point has an even ring (9 November 2026) ----------
   Janne, of "Ask about your coverage": "The top part of the button is just too pale. I think it should have the same blue at the top
   as well ... this fading should happen when you open it and it's a full-blown large item ... update that everywhere". README 215
   gave the closed widget an even ring; the AI buttons (.v8-btn-ai) and the coverage drawer's AI card (.v8p-ai) still drew the open
   panel's two layers, the white fade at the top over the band. --v8-ai-ring is the band alone, and every small entry point takes it;
   --v8-ai-tint, with its fade, stays for the large open assistant only. */
:root { --v8-ai-ring: linear-gradient(120deg, #C7D4FC 0%, #D0D3FB 30%, #D9CEF7 55%, #E6D2F0 75%, #C9D6FC 100%); }
html#v8 body :is(#app, .v8-dlgw, .aiw, .cov-drawer, .dv-wrap, .aid) .v8-btn.v8-btn-ai,
html#v8 body :is(#app, .v8-dlgw) .v8p-ai {
  background-image: linear-gradient(var(--v8-ai-in, var(--v8-white)), var(--v8-ai-in, var(--v8-white))), var(--v8-ai-ring) !important;
  background-clip: padding-box, border-box !important; background-size: 100% 100%, 240% 240% !important; background-position: 0 0, 0% 50% !important; }


/* ---------- 221. The dashed edge, drawn to each element's own corner (9 November 2026) ----------
   README 219's native dashed border still read wrong (Janne: "you still have two long dashes in those 'what you don't have yet.'
   They are still vanishing at the edges, like the corners"): Chrome draws a 2 px dashed border in long dashes and leaves the round
   corners bare. The cause of the first fault was the SVG rectangle's rounding (12) under cards that README 190 made 16: the card
   clipped the stroke away at every corner. So the edge is an SVG again, its rounding the element's own (measured: the could-add
   cards 16, the policy page's dashed box 10, Insights' move cards 16 and 12 in the panel, the loyalty columns 2): a stroke twice
   the width centred on the edge, of which the card shows the inner half, so the corner follows exactly; dashes 5 with gaps of 4,
   so every corner carries dashes. Supersedes README 219's border. */
html#v8#v8 #app :is(.v8-pc.v8-pc-add, .ixga-card.ixga-add) { border: 0 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' rx='16' ry='16' stroke='%232EAA4A' stroke-width='4' stroke-dasharray='5 4'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; }
@media (hover: hover) { html#v8#v8 #app :is(a.v8-pc.v8-pc-add, a.ixga-card.ixga-add):hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' rx='16' ry='16' stroke='%2300700B' stroke-width='4' stroke-dasharray='5 4'/%3E%3C/svg%3E") !important; } }
html#v8#v8 #app .v8pk-dash { border: 0 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' rx='10' ry='10' stroke='%232EAA4A' stroke-width='4' stroke-dasharray='5 4'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; }
html#v8#v8 #app .cr-b .crb-mv2 { border: 0 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' rx='16' ry='16' stroke='%238C8C8C' stroke-width='2' stroke-dasharray='5 4'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; }
html#v8#v8 #app .v8-insp .cr-b .crb-mv2 { border: 0 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' rx='12' ry='12' stroke='%238C8C8C' stroke-width='2' stroke-dasharray='5 4'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; }
html#v8#v8 #app .v8p-sl-box { border: 0 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23ADADAD' stroke-width='4' stroke-dasharray='5 4'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; }

/* 226. New, a lime square tag (10 November 2026): replaces the round dot on Home's Messages rows and in the inbox (README 70: no
   circles on markers). The count's lime and edge (README 169, 170), the tag's corner, the word in deep green; it hugs its word */
#v8 #app .v8-newtag { display: inline-flex; flex: none; align-items: center; height: 24px; margin-left: 8px; padding: 0 8px; box-sizing: border-box;
  border-radius: var(--v8-r-tag); background: var(--v8-new); box-shadow: inset 0 0 0 1px var(--v8-new-edge); color: var(--v8-deep);
  font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 400; white-space: nowrap; vertical-align: middle; }
@media (forced-colors: active) { #v8 #app .v8-newtag { border: 1px solid CanvasText; } }
/* The tag in a row's mark slot (10 November 2026, Janne: "The new tag should be within the card ... it shouldn't bleed outside of
   the green hover effect"): the slot is the chevron's 32 px, so it takes the tag's own width there and the tag ends at the row's padding */
#v8 #app .v8-hm-rk:has(> .v8-newtag) { width: auto; }
#v8 #app .v8-hm-rk > .v8-newtag { margin-left: 0; }
