/* =====================================================================================================================
   ix-glance-k.css: the coverage glance, variant K, "Your insurance fit overview", one row per insurance (21 October 2026; owner:
   the glance-k agent). Markup: ../../prototype/app/ix-glance-k.js (its head says what the card is and why). The section, the
   head, the tiles and the foot are I's (ix-glance-i.css), renamed ixgk.
   - THE TABLE, after Janne's reference (explore/coverage-glance/reference-row-style-janne.png): the column heads in a gray band
     (--v8-gray, radius 8, 16 Bold ink: Janne, 21 October 2026, "do the bolding on the column headers"), one row per insurance with hairlines between rows only (no strokes round
     groups). Her insurances and the ones she doesn't have share the one table.
   - THE NAME: the plain gray line icon (24, ink-2, no disc) and the name, 16 Bold.
   - OUR RECOMMENDATION: a 24 rounded marker (radius 6, a light tint, a 16 glyph), then the value on white: Right level, the
     recommended amount, the recommended level's icon and word, or Worth considering (see "The marker and the value" below).
   - THE LEVEL VISUAL: I's 30 x 30 box with two blocks (3 px block radius), the empty block always drawn, then the word.
   - Under 720 of section each insurance is a stacked block (the name; the level and the max compensation side by side, each with
     its column name in 12 under it; the pill; the action), one list under the card's title.
   Every size and weight !important, only 28, 20, 16 and 12 at 400 and 700, no font-size inside a query, no shadows, v8 tokens.
   ===================================================================================================================== */

/* The table's columns fill the card evenly (Janne, 21 October 2026: "make the cells the same width, like fill container ... too
   much empty space on the right"): table-layout fixed, Level, Max compensation, Recommended and the action share what Insurance
   leaves (178 each at 1440, 187 at 1280 where the action sits under Recommended). Insurance stays 236 (228 at 1280): at an even
   190 "Professional liability" would wrap. Every cell keeps 32 on its right (--gk-gap: "They shouldn't touch each other so
   closely"), so no two columns' contents come closer than 32 */
#v8 #app .ixgk-w { --ixgk-att: var(--v8-blue-ink); --ixgk-att-bg: var(--v8-blue); --gk-c1: 236px; --gk-in: 16px; --gk-gap: 32px; }
#v8 #app .ixgk { container: ixgk / inline-size; min-width: 0; padding: var(--v8-6); border: 1px solid var(--v8-line); border-radius: var(--v8-r); background: var(--v8-white); color: var(--v8-ink); }
@media (max-width: 639px) { #v8 #app .ixgk { padding: var(--v8-5) var(--v8-4); } }
#v8 #app .ixgk p { margin: 0; }
#v8 #app .ixgk svg.i { flex: none; }

/* ---------- The head ---------- */
/* The title, toned down (Janne, 21 October 2026, with a reference product's agents page: "the subheaders sometimes a bit too large in scale
   ... tone them down or make them somehow cleaner", then Coda's ratio: card titles about 1.3 times the body, Bold, in black): 20
   Bold in ink (was 28 Bold in --v8-deep; 28 Regular tried the same day), the line under it 16 ink-2 (was 16 ink). A test in K only */
#v8 #app .ixgk h2.ixgk-t { margin: 0; color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
#v8 #app .ixgk p.ixgk-lead { margin-top: var(--v8-2); max-width: var(--v8-measure); color: var(--v8-ink-2); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }

/* ---------- The summary: ONE white box split in three by hairlines (Janne, 21 October 2026: "keep them as boxes, but smaller",
   then "should they be brought into the same container that then has these lines separating them"): the 1 px --v8-line hairline
   round it and between the parts (across when they stack), radius 8, 12 16 padding (64 tall), the marker at 32 (radius 8, the Recommended column's tints and glyphs),
   12, the count Bold and its words Regular, 16 ink, on one line ---------- */
#v8 #app .ixgk-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--v8-5) 0 0; padding: 0; list-style: none; border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
#v8 #app .ixgk-tile { display: flex; align-items: center; gap: var(--v8-3); min-width: 0; min-height: 64px; box-sizing: border-box; padding: var(--v8-3) var(--v8-4); }
#v8 #app .ixgk-tile + .ixgk-tile { border-left: 1px solid var(--v8-line); }
#v8 #app .ixgk-discs { display: flex; align-items: center; flex: none; gap: var(--v8-1); }
#v8 #app .ixgk-disc { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: var(--v8-r-sm); }
#v8 #app .ixgk-disc svg.i { width: 20px; height: 20px; }
#v8 #app .ixgk-disc svg.i :is(path, g > path) { stroke: currentColor; stroke-width: 0.75px; stroke-linejoin: round; paint-order: stroke; }
#v8 #app .ixgk-t-ok .ixgk-disc { background: var(--v8-mint); color: var(--v8-green-t); }
#v8 #app :is(.ixgk-t-ch, .ixgk-t-add) .ixgk-disc { background: var(--v8-blue); color: var(--v8-blue-ink); }
#v8 #app .ixgk-tt { 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; }
#v8 #app .ixgk-tt > b { font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
#v8 #app .ixgk-tt > span { font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
#v8 #app .ixgk-tiles:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
@container ixgk (max-width: 699px) {
  #v8 #app .ixgk-tiles { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .ixgk-tile + .ixgk-tile { border-left: 0; border-top: 1px solid var(--v8-line); }
}

/* The Max compensation definition, first in the reasoning panel (the key box is gone: Janne, 21 October 2026) */
#v8 #app .ixgk p.ixgk-def { max-width: var(--v8-measure); color: var(--v8-ink-2); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
#v8 #app .ixgk-def b { color: var(--v8-ink); font-weight: 700 !important; }

/* ---------- The level visual: two blocks in one 30 x 30 box, filled from the bottom; the empty block always drawn ---------- */
#v8 #app .ixgk-lc { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; min-width: 0; vertical-align: middle; }
#v8 #app .ixgk-lw { min-width: 0; white-space: nowrap; }
#v8 #app .ixgk-lv { display: inline-flex; flex-direction: column; gap: 2px; flex: none; box-sizing: border-box; width: 30px; height: 30px; padding: 3px; border: 1.5px solid #C4C4C4; border-radius: 7px; background: var(--v8-white); }   /* the policy pages' meter (Janne, 21 October 2026, night: "a bit brighter green and maybe a lighter gray box outside") */
#v8 #app .ixgk-lv > i { display: block; flex: 1 1 0; min-height: 0; border-radius: 3px; background: var(--v8-white); box-shadow: inset 0 0 0 1px #C4C4C4; }
#v8 #app .ixgk-lv > i.on { background: var(--fennia-primary-50, #2EAA4A); box-shadow: none; }
@media (forced-colors: active) {
  #v8 #app .ixgk-lv { forced-color-adjust: none; border-color: CanvasText; background: Canvas; }
  #v8 #app .ixgk-lv > i { background: Canvas; box-shadow: inset 0 0 0 1px CanvasText; }
  #v8 #app .ixgk-lv > i.on { background: CanvasText; }
}

/* ---------- The name: the plain gray line icon and the name ---------- */
#v8 #app .ixgk-nm { display: flex; align-items: center; gap: var(--v8-3); min-width: 0; }
#v8 #app .ixgk-ic { display: grid; place-items: center; flex: none; width: 24px; height: 24px; color: var(--v8-ink-2); }
#v8 #app .ixgk-ic svg.i { width: 24px; height: 24px; fill: currentColor; }
#v8 #app .ixgk-nt { min-width: 0; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; }

/* ---------- The marker and the value (Janne, 21 October 2026: "the check marks and the arrows would be inside a slightly rounded
   edge, like it's in a square ... almost like a little avatar in front ... It doesn't need to be all things inside, with that light
   background, just like the marker in the beginning"). No fill round the value: each cell starts with ONE 24 rounded square (radius
   6) of a light tint holding a 16 glyph, then the value on white, 12 after it. Markers on one line down the column, values on
   another (24 + 12 = 36). Match: green-t check on mint, "Right level" in ink. Change and addition: blue-ink arrow or plus on light
   blue, the value in ink (only the marker carries the colour). Scheduled: ink-2 clock on gray. All words Regular (Janne: "I also wouldn't
   bold the text in blue"). A reason with no marker (health) starts on the values' line ---------- */
#v8 #app .ixgk-pill { display: inline-flex; align-items: center; gap: var(--v8-3); box-sizing: border-box; max-width: 100%; min-height: 30px; vertical-align: middle; }
#v8 #app .ixgk-pi { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: var(--v8-r-tag); }
#v8 #app .ixgk-pi svg.i { width: 16px; height: 16px; overflow: visible; }
/* Fennia's glyphs are drawn for 24: at 16 their lines render 1 px; a stroke of the same colour brings them to the text's weight */
#v8 #app .ixgk-pi svg.i :is(path, g > path) { stroke: currentColor; stroke-width: 1px; stroke-linejoin: round; paint-order: stroke; }
#v8 #app .ixgk-pt { min-width: 0; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
#v8 #app .ixgk-pill .ixgk-lw { font-weight: 400 !important; }
#v8 #app .ixgk-p-ok .ixgk-pi { background: var(--v8-mint); color: var(--v8-green-t); }
#v8 #app .ixgk-p-ok { color: var(--v8-ink); }
#v8 #app :is(.ixgk-p-up, .ixgk-p-down, .ixgk-p-add) .ixgk-pi { background: var(--v8-blue); color: var(--v8-blue-ink); }
/* The value is ink, only the marker carries the colour (Janne, 21 October 2026: "I would put the regular text in just black, like
   what it says") */
#v8 #app :is(.ixgk-p-up, .ixgk-p-down, .ixgk-p-add) { color: var(--v8-ink); }
#v8 #app .ixgk-p-mv .ixgk-pi { background: var(--v8-gray); color: var(--v8-ink-2); }
#v8 #app .ixgk-p-mv { color: var(--v8-ink); }
/* A level change: the marker, then the recommended level's icon (identical to the Level column's) and its word */
#v8 #app .ixgk-p-lv .ixgk-lv + .ixgk-pt { margin-left: -2px; }
/* Two changes on one row: stacked, 8 apart */
#v8 #app .ixgk-pills { display: inline-flex; flex-direction: column; align-items: flex-start; gap: var(--v8-2); vertical-align: middle; }
#v8 #app .ixgk-rsn { display: block; padding-left: 36px; color: var(--v8-ink-2); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
@media (forced-colors: active) { #v8 #app .ixgk-pi { border: 1px solid CanvasText; } }

/* ---------- The actions: Fennia-green text links, 44 tall without growing the row ---------- */
#v8 #app .ixgk-acts { display: inline-flex; flex-direction: column; align-items: flex-start; }
#v8 #app .ixgk-acts .v8-link { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; text-align: left; white-space: nowrap; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; }
#v8 #app .ixgk-acts .v8-link + .v8-link { margin-top: 0; }
/* A subtle button (Janne, 21 October 2026: "Should the action be just a subtle button without the stroke underneath?"). V8.btn has no
   ghost kind, so this takes the card's own disclosure button's look (.ixgk-more, I's): green-t text, no underline or outline at
   rest, 8 inside so the wash has room, the words still on the column's edge (-8), the v8 hover wash and pressed tint, the v8 focus
   ring */
#v8 #app .ixgk-acts .v8-link { padding: 0 var(--v8-2); margin-left: calc(-1 * var(--v8-2)) !important; border-radius: var(--v8-r-pill); color: var(--v8-green-t); text-decoration: none !important; font-weight: 400 !important; }
#v8 #app .ixgk-acts .v8-link:hover { background: var(--v8-hover); text-decoration: none !important; }
#v8 #app .ixgk-acts .v8-link:active { background: var(--v8-pressed); }
#v8 #app .ixgk-acts .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 .ixgk-acts .v8-link { text-decoration: underline !important; } }
#v8 #app .ixgk-num { font-variant-numeric: tabular-nums; }

/* ---------- The table (a section 720 or wider) ---------- */
#v8 #app .ixgk-body { margin-top: var(--v8-6); }
#v8 #app .ixgk-narrow { display: none; }
#v8 #app .ixgk-tbl { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; isolation: isolate; }
#v8 #app .ixgk-c1 { width: var(--gk-c1); } #v8 #app :is(.ixgk-c2, .ixgk-c3, .ixgk-c4, .ixgk-c5) { width: auto; }
#v8 #app .ixgk-tbl :is(th, td) { padding: var(--v8-4) var(--gk-gap) var(--v8-4) 0; text-align: left; vertical-align: middle; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
#v8 #app .ixgk-tbl tr > :first-child { padding-left: var(--gk-in); }
#v8 #app .ixgk-tbl tr > :last-child { padding-right: var(--gk-in); }
/* A row: 88 tall at rest, 24 above and below its content (Janne, 21 October 2026: "a bit more negative space up and down from the
   lines") (the 32 pill and the 30 level icon centre on it); a hairline under every row but the group's last */
#v8 #app .ixgk-r > :is(th, td) { height: 88px; padding-top: var(--v8-5); padding-bottom: var(--v8-5); box-sizing: border-box; border-bottom: 1px solid var(--v8-line); }
#v8 #app tbody > .ixgk-r:last-child > :is(th, td) { border-bottom: 0; }
/* The gray band: the column heads, radius 8 (--v8-r-sm; it was --v8-r-in, 12, until Janne, 21 October 2026: too curved). Its fill is each cell's ::before, so the band keeps its rounded ends
   (rows take no radius) */
#v8 #app .ixgk-hb > th { position: relative; padding-top: var(--v8-3); padding-bottom: var(--v8-3); color: var(--v8-ink); vertical-align: middle; white-space: nowrap; font-weight: 700 !important; }
#v8 #app .ixgk-hb > th::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--v8-gray); }
#v8 #app .ixgk-hb > th:first-child::before { border-radius: var(--v8-r-sm) 0 0 var(--v8-r-sm); }
#v8 #app .ixgk-hb > th:last-child::before { border-radius: 0 var(--v8-r-sm) var(--v8-r-sm) 0; }
#v8 #app .ixgk-r > th { overflow: hidden; }
#v8 #app .ixgk-r > td { white-space: nowrap; }
/* 720 to 899 of section (a 1280 window): the columns give way before the names do */
/* The action's copy under the pill, shown only from 720 to 899 */
#v8 #app .ixgk-ain { display: none; }
/* 720 to 899 of section (a 1280 window, a 792 table): the action moves under the pill (his reference's own place for it) and its
   column goes, so every name keeps one line */
@container ixgk (max-width: 899px) {
  #v8 #app .ixgk-tbl { --gk-c1: 228px; --gk-in: 12px; }
  #v8 #app .ixgk-c5 { width: 0 !important; }
  #v8 #app .ixgk-tbl tr > :nth-child(5) { display: none; }
  #v8 #app .ixgk-tbl tr > :nth-child(4) { padding-right: var(--gk-in); }
  #v8 #app .ixgk-hb > th:nth-child(4)::before { border-radius: 0 var(--v8-r-sm) var(--v8-r-sm) 0; }
  #v8 #app .ixgk-ain { display: block; margin-top: var(--v8-2); }
  /* No recommendation (Accident, Health): the dash goes, so the action sits alone on the row's line; screen readers keep the words */
  #v8 #app .ixgk-rsn > [aria-hidden] { display: none; }
  #v8 #app .ixgk-rsn + .ixgk-ain, #v8 #app .ixgk-rsn:has(> [aria-hidden]) + .ixgk-ain { margin-top: 0; }
}
/* A reason without a marker wraps */
#v8 #app .ixgk-r .ixgk-rsn { white-space: normal; }

/* ---------- The stacked blocks (under 720 of section) ---------- */
@container ixgk (max-width: 719px) {
  #v8 #app .ixgk-wide { display: none; }
  #v8 #app .ixgk-narrow { display: block; }
}
#v8 #app .ixgk-sl { margin: 0; padding: 0; list-style: none; }
#v8 #app .ixgk-sr { display: grid; gap: var(--v8-3); padding: var(--v8-5) var(--v8-4); }
#v8 #app .ixgk-sr + .ixgk-sr { border-top: 1px solid var(--v8-line); }
#v8 #app .ixgk-sv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--v8-3); }
#v8 #app .ixgk-sc { display: flex; flex-direction: column; align-items: flex-start; gap: var(--v8-1); 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; }
#v8 #app .ixgk-sx { display: inline-flex; align-items: center; min-height: 30px; }
/* Every block's values carry their column's name under them (README 142, the audit's D10): it showed on the first block only, so
   the rest read as bare values and arrows on a phone. The names stay hidden from screen readers, which hear them from the
   values' own words ("Level: ...") */
#v8 #app .ixgk-cap { display: block; color: var(--v8-ink-2); font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 400 !important; }
#v8 #app .ixgk-ss { display: flex; flex-direction: column; align-items: flex-start; gap: var(--v8-1); }
#v8 #app .ixgk-sa .ixgk-acts .v8-link { margin: -10px 0; }
/* 480 to 719 of section (a 1024 window): the pill and the action share one line, under the level and the max compensation */
@container ixgk (min-width: 480px) {
  #v8 #app .ixgk-sr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--v8-3); }
  #v8 #app :is(.ixgk-sn, .ixgk-sv) { grid-column: 1 / -1; }
  #v8 #app .ixgk-sa { align-self: center; }
}
/* A 320 phone: the level column keeps room for "Not insured" and its icon, 16 before the max compensation */
@container ixgk (max-width: 359px) { #v8 #app .ixgk-sr { padding: var(--v8-5) var(--v8-2); } #v8 #app .ixgk-sv { grid-template-columns: minmax(132px, 1fr) minmax(0, 1fr); column-gap: var(--v8-4); } }
/* ---------- The foot, and the reasoning behind one disclosure ---------- */
#v8 #app .ixgk-f { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--v8-3) var(--v8-6); margin-top: var(--v8-5); color: var(--v8-ink-2); }
#v8 #app .ixgk-fw { display: grid; gap: var(--v8-1); flex: 1 1 320px; max-width: var(--v8-measure); }
#v8 #app .ixgk-f p { font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
#v8 #app .ixgk-offers { flex: none; }
#v8 #app .ixgk-offers .v8-link { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }
#v8 #app .ixgk-f p.ixgk-why { margin-top: var(--v8-1); }
/* The disclosure: a real one, so it carries its chevron; 44 tall, its words on the paragraphs' left edge */
#v8 #app .ixgk-more { display: inline-flex; align-items: center; gap: var(--v8-1); min-height: 44px; margin: -6px 0 -6px calc(-1 * var(--v8-2)); padding: 0 var(--v8-2); border: 0; border-radius: var(--v8-r-sm); background: transparent; color: var(--v8-green-t); cursor: pointer; font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; text-align: left; }
#v8 #app .ixgk-more > span { font-weight: 400 !important; }
#v8 #app .ixgk-more:hover { background: var(--v8-hover); }
#v8 #app .ixgk-more:active { background: var(--v8-pressed); }
#v8 #app .ixgk-more, #v8 #app .ixgk-more > span { text-decoration: none !important; }
#v8 #app .ixgk-more:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .ixgk-more svg.i { width: 20px; height: 20px; transition: transform .2s var(--v8-ease); }
#v8 #app .ixgk-more[aria-expanded="true"] svg.i { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { #v8 #app .ixgk-more svg.i { transition: none; } }
html[data-motion="off"] #v8 #app .ixgk-more svg.i { transition: none; }
/* The opened reasoning: each insurance in its own white group, the same stroke as the table's */
#v8 #app .ixgk-wp { display: grid; gap: var(--v8-4); margin-top: var(--v8-4); }
#v8 #app .ixgk-wp[hidden] { display: none; }
#v8 #app .ixgk-wg { padding: var(--v8-5); border: 1px solid var(--v8-line); border-radius: var(--v8-r-in); background: var(--v8-white); }
#v8 #app h3.ixgk-wh { margin: 0 0 var(--v8-3); color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; }
#v8 #app .ixgk-x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--v8-5) var(--v8-6); text-align: left; }
#v8 #app .ixgk-x:not(:has(> .ixgk-xu)) { grid-template-columns: minmax(0, 1fr); }
#v8 #app .ixgk-xt { display: flex; flex-direction: column; gap: var(--v8-2); max-width: var(--v8-measure); min-width: 0; }
#v8 #app .ixgk-x :is(p, dt, dd) { margin: 0; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; white-space: normal; }
#v8 #app .ixgk-x p { color: var(--v8-ink); }
#v8 #app .ixgk-x p.ixgk-keep { color: var(--v8-ink-2); }
#v8 #app .ixgk-x p.ixgk-see { margin-top: var(--v8-2); }
#v8 #app h4.ixgk-xh { margin: 0 0 var(--v8-2); color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; }
#v8 #app .ixgk-dl { display: grid; gap: var(--v8-2); margin: 0; }
#v8 #app .ixgk-dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--v8-1) var(--v8-4); padding-top: var(--v8-2); border-top: 1px solid var(--v8-line); }
#v8 #app .ixgk-dl > div:first-child { padding-top: 0; border-top: 0; }
#v8 #app .ixgk-dl dt { color: var(--v8-ink-2); }
/* The value and its source tag on one line when they fit (the tag wraps under a long value), so the list stays short */
#v8 #app .ixgk-dl dd { display: flex; flex-wrap: wrap; align-items: center; gap: var(--v8-1) var(--v8-2); color: var(--v8-ink); }
#v8 #app .ixgk-how { margin: var(--v8-2) 0; }
#v8 #app .ixgk-how .ixgk-dv { font-weight: 700 !important; }
/* A line that is its own finding, with its source under it (an insurance that is right as it is) */
#v8 #app .ixgk-x p.ixgk-tl { display: flex; flex-direction: column; align-items: flex-start; gap: var(--v8-1); }
#v8 #app .ixgk-tag { background: var(--v8-gray); }
@container ixgk (max-width: 699px) {
  #v8 #app .ixgk-wg { padding: var(--v8-4); }
  #v8 #app .ixgk-x { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .ixgk-dl > div { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- The tooltip (the first in v8; to move into the system): the trigger is the Recommended content itself, a gray wash on
   hover and focus (8 radius, 4 8 inside it, -4 -8 outside so nothing moves), cursor help. The tip: white, the 1 px line, radius 8,
   a soft shadow, 12 16 inside, 16 Regular ink, at most 320 wide; 8 above the trigger, or 8 below (.ixgk-below), shifted by
   --tip-dx to stay 16 inside the window ---------- */
#v8 #app .ixgk-tw { position: relative; display: inline-block; max-width: 100%; vertical-align: middle; }
#v8 #app .ixgk-trg { display: inline-flex; margin: -4px -8px; padding: 4px 8px; border-radius: var(--v8-r-sm); cursor: help; outline: none; }
#v8 #app .ixgk-tw:hover .ixgk-trg, #v8 #app .ixgk-trg:focus-visible, #v8 #app .ixgk-tw.ixgk-open .ixgk-trg { background: var(--v8-gray); }
#v8 #app .ixgk-trg:focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .ixgk-tip { position: absolute; left: -8px; bottom: calc(100% + 8px); z-index: 30; box-sizing: border-box; width: max-content; max-width: min(320px, calc(100vw - 32px)); padding: var(--v8-3) var(--v8-4); border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); box-shadow: 0 4px 16px rgba(0, 0, 0, .08), 0 1px 3px rgba(0, 0, 0, .06); color: var(--v8-ink); text-align: left; white-space: normal; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; transform: translateX(var(--tip-dx, 0px)); visibility: hidden; opacity: 0; transition: opacity .12s var(--v8-ease), visibility 0s linear .12s; pointer-events: none; }
#v8 #app .ixgk-below .ixgk-tip { bottom: auto; top: calc(100% + 8px); }
#v8 #app :is(.ixgk-tw:hover, .ixgk-tw:focus-within, .ixgk-tw.ixgk-open):not(.ixgk-gone) .ixgk-tip { visibility: visible; opacity: 1; transition: opacity .12s var(--v8-ease); pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { #v8 #app .ixgk-tip { transition: none !important; } }
html[data-motion="off"] #v8 #app .ixgk-tip { transition: none !important; }
@media (forced-colors: active) { #v8 #app .ixgk-tip { border-color: CanvasText; } #v8 #app .ixgk-trg:focus-visible { outline-color: Highlight !important; } }
/* The table's cells clip nothing: the tip may pass over the row above */
#v8 #app .ixgk-r > td.ixgk-rc { overflow: visible; }

/* ---------- The boxed table (21 October 2026, night). Janne: "When you have the header in gray, could you have the stroke go
   around? ... the header shouldn't have a corner radius in the bottom-left and right corners because it's touching into them, like
   it's inside the table", then "add stroke at the bottom of the grey areas too" and "Also mark some kind of sorting at the top of the
   headers". The table is one box (1 px --v8-line, 8 corners, white) with the gray band inside its top: the band's top corners 7 (the
   box's 8 less its line), its bottom corners square, no gap, a 1 px --v8-line along its bottom. The line is the table's own border
   (border-collapse is separate), so no overflow: hidden clips the tooltips. The heads sort (ix-glance-k.js): a button per head,
   16 Bold ink, the up and down pair after the word in ink-2, one arrow in ink while it sorts, a gray wash on hover, 44 high (it
   overhangs the band's line by 10 above and below). Under 720 the stacked blocks keep the same box, without a band. Claims behind
   ?claims=flow take the same pattern (claims-flow.css, "THE BOXED TABLE") ---------- */
#v8 #app .ixgk-tbl { border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
#v8 #app .ixgk-hb > th { border-bottom: 1px solid var(--v8-line); }
#v8 #app .ixgk-hb > th:first-child::before { border-radius: calc(var(--v8-r-sm) - 1px) 0 0 0; }
#v8 #app .ixgk-hb > th:last-child::before { border-radius: 0 calc(var(--v8-r-sm) - 1px) 0 0; }
@container ixgk (max-width: 899px) {
  #v8 #app .ixgk-hb > th:nth-child(4)::before { border-radius: 0 calc(var(--v8-r-sm) - 1px) 0 0; }
}
#v8 #app .ixgk-sb { display: inline-flex; align-items: center; gap: var(--v8-1); min-height: 44px; margin: -10px 0 -10px calc(-1 * var(--v8-2)); padding: 0 var(--v8-2); border: 0; border-radius: var(--v8-r-tag); background: transparent; color: var(--v8-ink); cursor: pointer; font: inherit; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; text-align: left; text-decoration: none; white-space: nowrap; }
#v8 #app .ixgk-si { display: inline-grid; place-items: center; width: 16px; height: 16px; color: var(--v8-ink-2); }
#v8 #app .ixgk-sb.is-on .ixgk-si { color: var(--v8-ink); }
#v8 #app .ixgk-si svg.i { width: 16px; height: 16px; fill: currentColor; }
@media (hover: hover) { #v8 #app .ixgk-sb:hover { background: color-mix(in srgb, var(--v8-ink) 7%, var(--v8-gray)); } }
#v8 #app .ixgk-sb:active { background: color-mix(in srgb, var(--v8-ink) 12%, var(--v8-gray)); }
#v8 #app .ixgk-sb:focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 #app .ixgk-sl { border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
@media (forced-colors: active) { #v8 #app :is(.ixgk-tbl, .ixgk-sl) { border-color: CanvasText; } #v8 #app .ixgk-hb > th { border-bottom-color: CanvasText; } #v8 #app .ixgk-sb { color: ButtonText; } }

/* The fit card in an insight's yellow frame (Janne, 21 October 2026, night: "make the container ... as thick as the band we have
   been using, using this yellow"): the 1 px line becomes the Policies cards' 8 px band, in the insight panel's yellow
   (--v8-insight-panel, #F6FAC3), so the card reads as one of Fennia's insights. Padding gives back the 7 px, so nothing inside moves */
#v8 #app .ixgk-w > .ixgk { border: 8px solid var(--v8-insight-panel); padding: calc(var(--v8-6) - 7px); }
/* And Home's panel shadow under the frame (Janne, same night: "add some kind of drop shadow that you have in the panels on the
   front page"), home.css's three layers word for word */
#v8 #app .ixgk-w > .ixgk { 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); }
/* The Insight tag over the title (Janne, same night: "above the actual text, like in the Fennia insight, ... that kind of a yellow
   tag, the same kind of tag we have been using elsewhere, in light yellow ... that same light bulb icon ... it should say Insight"):
   Home's suggestion pin (home.css .v8-hm-ic-pin: the idea icon, "Insight" 12 Bold deep green) set on a light yellow tag, a tag's
   small radius, never a pill; 16 above the title */
#v8 #app .ixgk-tag { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 var(--v8-4); padding: 4px 10px 4px 6px; border-radius: var(--v8-r-tag); background: var(--v8-insight-panel);
  color: var(--v8-deep); font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; font-weight: 700 !important; }
#v8 #app .ixgk-tag-mk { display: grid; place-items: center; width: 20px; height: 20px; }
#v8 #app .ixgk-tag-mk svg.i { width: 20px; height: 20px; color: var(--v8-deep); fill: currentColor; }
@media (forced-colors: active) { #v8 #app .ixgk-tag { border: 1px solid CanvasText; } }
#v8 #app .ixgk-hd > .ixgk-tag { margin: 0 0 var(--v8-4) !important; }
/* The level indicator's strokes in green (Janne, 21 October 2026, night: "could you make the gray strokes a bit darker green
   instead?"): the outline and the empty block's line take Primary-50 (#2EAA4A), the filled blocks' green, everywhere the
   indicator appears (Insights' table, the policy page, the Policies cards) */
html#v8 #app .ixgk-lv { border-color: var(--fennia-primary-50, #2EAA4A) !important; }
html#v8 #app .ixgk-lv > i:not(.on) { box-shadow: inset 0 0 0 1px var(--fennia-primary-50, #2EAA4A) !important; }
/* The outline lighter (Janne, same night: "the outer stroke of that indicator must be lighter"): Primary-40 (#8ADC94); the empty
   block keeps Primary-50 */
html#v8 #app .ixgk-lv { border-color: var(--fennia-primary-40, #8ADC94) !important; }
/* The summary without its box (Janne, 22 October 2026, of the three counts: "show me how this would look like without the
   container at all ... i meant without container the legends. still i want yellow stroke around"): no stroke, no fill and no
   dividers. The three counts sit on the card's white in a row, 40 apart, the first on the card's left edge, so they read as the
   table's key. The yellow frame stays */
#v8 #app .ixgk-tiles { display: flex !important; flex-wrap: wrap; column-gap: var(--v8-7, 40px); row-gap: var(--v8-3); border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
#v8 #app .ixgk-tile { min-height: 0 !important; padding: 0 !important; border: 0 !important; }
#v8 #app .ixgk-tile + .ixgk-tile { border: 0 !important; }
/* The two-arrow square: the same 32 px square as the others, a little wider for two 16 px arrows side by side */
#v8 #app .ixgk-disc.ixgk-disc-2 { display: inline-flex; align-items: center; justify-content: center; gap: 0; width: 40px; }
#v8 #app .ixgk-disc.ixgk-disc-2 svg.i { width: 16px; height: 16px; }
/* A true square (Janne: "is there any way to fit them so they r in one square? now its rectangle"): 32 x 32 like the others, the
   two arrows 14 px with their side bearings pulled in so they sit side by side inside it */
#v8 #app .ixgk-disc.ixgk-disc-2 { width: 32px; height: 32px; }
#v8 #app .ixgk-disc.ixgk-disc-2 svg.i { width: 14px; height: 18px; margin: 0 -1px; }
/* The legend's arrows at the table's size (16 x 16, as in the Recommended column's marks) and closer together (Janne: "make sure the
   arrows are the same size when used in the table ... also bring them closer to each other"): their side bearings overlap by 6 */
#v8 #app .ixgk-disc.ixgk-disc-2 svg.i { width: 16px !important; height: 16px !important; margin: 0 -3px !important; }
/* The same try on the fit table: the insurance names 16 Regular (Janne, 22 October 2026) */
#v8 #app .ixgk-nt, #v8 #app .ixgk-tbl .ixgk-nm, #v8 #app .ixgk-tbl tbody th { font-weight: 400 !important; }
/* How we made these recommendations as one boxed table (README 63, 22 October 2026): the K table's look (1 px line, 8 corners,
   the Neutral-10 head band, hairlines), 16 Regular cells, the sources as quiet gray tags with no icons; 24 under the link */
#v8 #app .ixgk-wp.ixgk-wp2 { margin-top: var(--v8-5); padding: 0 !important; border: 0 !important; background: none !important; }
#v8 #app .ixgk-wt { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); overflow: hidden; table-layout: fixed; }
#v8 #app .ixgk-wt :is(th, td) { padding: var(--v8-4) var(--v8-5) var(--v8-4) 0; 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; }
#v8 #app .ixgk-wt tr > :first-child { padding-left: var(--v8-5); width: 26%; }
#v8 #app .ixgk-wt tr > :last-child { width: 30%; }
#v8 #app .ixgk-wt thead th { padding-top: var(--v8-3); padding-bottom: var(--v8-3); background: var(--fennia-neutral-10, #F9F9F9); border-bottom: 1px solid var(--v8-line); font-weight: 700 !important; }
#v8 #app .ixgk-wt tbody tr + tr > * { border-top: 1px solid var(--v8-line); }
#v8 #app .ixgk-wtags { display: flex; flex-wrap: wrap; gap: var(--v8-1); }
#v8 #app .ixgk-wtag { padding: 2px 8px; border-radius: var(--v8-r-tag); background: var(--fennia-neutral-15, #F5F5F5); color: var(--v8-ink-2); font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; }
@container ixgk (max-width: 719px) {
  #v8 #app .ixgk-wt thead { display: none; }
  #v8 #app .ixgk-wt, #v8 #app .ixgk-wt tbody, #v8 #app .ixgk-wt tr, #v8 #app .ixgk-wt :is(th, td) { display: block; width: auto !important; }
  #v8 #app .ixgk-wt tr { padding: var(--v8-4); }
  #v8 #app .ixgk-wt tbody tr + tr { border-top: 1px solid var(--v8-line); }
  #v8 #app .ixgk-wt :is(th, td) { padding: 0 0 var(--v8-1) !important; border: 0 !important; }
  #v8 #app .ixgk-wt th { font-weight: 700 !important; }
}
/* "Read more about the recommendations" (22 October 2026): the drawer's list of recommendations, one entry per insurance between
   hairlines: the name 16 Bold, its reason 16 Regular, the sources as the gray tags. The drawer lives outside #app */
#v8 .ixgk-hw .ixgk-hw-l { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--v8-line); }
#v8 .ixgk-hw .ixgk-hw-l li { display: flex; flex-direction: column; gap: var(--v8-1); padding: var(--v8-4) 0; border-bottom: 1px solid var(--v8-line); color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; }
#v8 .ixgk-hw .ixgk-hw-l b { font-weight: 700; }
#v8 .ixgk-hw .ixgk-wtags { display: flex; flex-wrap: wrap; gap: var(--v8-1); margin-top: var(--v8-1); }
#v8 .ixgk-hw .ixgk-wtag { padding: 2px 8px; border-radius: var(--v8-r-tag); background: var(--fennia-neutral-15, #F5F5F5); color: var(--v8-ink-2); font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; }
#v8 .ixgk-hw .v8-xd-g p + p { margin-top: var(--v8-3); }
