/* =====================================================================================================================
   insights-plain.css: branch-insights-plain only (23 October 2026). Janne: "lets try to do the insights page so that we take away the
   yellow containers." Loaded last; nothing else in this copy differs from the prototype.
   - The insight cards lose their 8 px lime frame and its lift: one white box with the system's 1 px line and 12 corners, as every
     other box on the page (Your business details, the tables inside the cards).
   - The line above "Did you find this useful?" is the system's hairline, not lime.
   - The figure tiles in Your claims and Your policies are the system's light gray tile (--v8-gray), as the figures elsewhere.
   - The "Insight" tag is gray with Neutral-100 words and icon in Regular, as Home's suggestion tags (README 150).
   ===================================================================================================================== */
/* Second pass (Janne, 23 October 2026: "Let's try to take the container stroke entirely away here"): no frame and no line at all; each
   insight stands on the white page, its words on the page's text edge, the 96 topic gap between insights */
html#v8 #app .ixgk-w > .ixgk { border: 0 !important; padding: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html#v8 #app .ixgk .ixf { border-top: 1px solid var(--v8-line) !important; }
html#v8 #app .ixp-tiles-y .ixp-tile { background: var(--v8-gray) !important; }
/* The tag in the trays' lime (Janne, the same pass: "The inside should have the yellow tag, and I would use the same yellow as we use for
   the containers in the claims and policies"): --v8-lime, the Claims and Policies trays' colour; the words and icon stay Neutral-100
   Regular */
html#v8 #app .ixgk-tag { background: var(--v8-blue) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fennia-blue-100, #0052CC) 35%, var(--v8-white)) !important; }   /* blue since README 168: an insight is information; lime is "needs you" only */
html#v8 #app .ixgk-tag, html#v8 #app .ixgk-tag * { color: var(--fennia-neutral-100, #333333) !important; font-weight: 400 !important; }
html#v8 #app .ixgk-tag svg.i { color: var(--fennia-neutral-100, #333333) !important; }
/* Third pass (Janne, 23 October 2026: "add distance between 'Did you find this helpful?' (those thumbs up) and when the next item
   begins, because they just easily get confused"): with no frames, the insights are topics on one page, so they take the system's
   topic gap (README 87): 96 from one insight's feedback row to the next insight's tag, and to Your business details */
html#v8 #app .v8-insp > :is(.ixgk-w, .ixp-g, .ixp-row) + * { margin-top: var(--v8-11) !important; }   /* after an insight only; the hero keeps its own gap */
/* Fourth pass (Janne, 23 October 2026: "Let's take those divider strokes away now, and also take that text away that your estimates
   use ... That brings fewer lines"): no line above "Did you find this useful?", and the first insight's note on where its estimates
   come from (.ixrt-foot) is not shown. Its words stay in the code; the assessment drawer (See more about the assessment) already
   says what the estimates rest on */
html#v8 #app .ixgk .ixf { border-top: 0 !important; }
html#v8 #app .ixgk .ixrt-foot { display: none !important; }
/* Fifth pass: Jordi's charts in the tiles (Janne, 23 October 2026: "Apply here the kind of different graphs Jordi created for the policy
   and claims"). A chart tile: the figure and its words on the left, the chart on the right, centred on the tile's height */
html#v8 #app .ixp-tile.ixp-tile-c { flex-direction: row !important; align-items: center; justify-content: space-between; gap: var(--v8-4); }
html#v8 #app .ixp-tc-tx { min-width: 0; }
html#v8 #app .ixp-tc-a { flex: none; display: flex; align-items: center; }
html#v8 #app .ixp-tile-c .ixp-ts { margin: 0; }
/* The month calendar: Jordi's squares (claims.css .v8c-cal-q), four to a row */
html#v8 #app .ixp-mc { display: grid; grid-template-columns: repeat(4, 12px); gap: 3px; }
html#v8 #app .ixp-mc-q { display: block; width: 12px; height: 12px; border-radius: 3px; background: #E6E6E6; }
html#v8 #app .ixp-mc-q.is-1 { background: var(--v8-data-4); }
html#v8 #app .ixp-mc-q.is-2 { background: var(--v8-data-1); }
/* The donut and the slabs in Claims' blues */
html#v8 #app .ixp-dn-a { stroke: var(--v8-data-1); }
html#v8 #app .ixp-dn-b { stroke: var(--v8-data-4); }
html#v8 #app .ixp-sl-box { fill: transparent; stroke: #B1B1B1; stroke-width: 1; stroke-dasharray: 2 2; }
html#v8 #app .ixp-sl .is-you { fill: var(--v8-data-1); }
html#v8 #app .ixp-sl .is-them { fill: var(--v8-data-4); }
html#v8 #app .ixp-sl text { fill: var(--v8-ink-2); font-size: var(--v8-fs-14, 14px); font-family: inherit; }
@media (forced-colors: active) { html#v8 #app :is(.ixp-mc-q, .ixp-sl rect) { forced-color-adjust: none; } html#v8 #app .ixp-mc-q { border: 1px solid CanvasText; } }
/* The words run the tile's full width: the figure top left, the chart top right beside it, the sentence under both */
html#v8 #app .ixp-tile.ixp-tile-c { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "fig chart" "lbl lbl"; align-items: start; column-gap: var(--v8-3); row-gap: var(--v8-3); }
html#v8 #app .ixp-tile-c .ixp-tc-tx { display: contents; }
html#v8 #app .ixp-tile-c .ixp-ts { grid-area: fig; align-self: center; }
html#v8 #app .ixp-tile-c .ixp-tl { grid-area: lbl; margin: 0; }
html#v8 #app .ixp-tile-c .ixp-tc-a { grid-area: chart; }
html#v8 #app .ixp-tile-c .sr { position: absolute; }
/* One top row for every chart tile (Janne, 23 October 2026: "there should be the same amount of space ... the text should all be on a
   line"): the figure and chart sit in a 96 high row (the slabs with their labels, the tallest chart), centred in it, so every sentence
   starts on one line across the row */
html#v8 #app .ixp-tile.ixp-tile-c { grid-template-rows: 96px auto; }
html#v8 #app .ixp-tile-c .ixp-tc-a { align-self: center; }
/* Seventh pass (Janne, 23 October 2026: "let's do it so that the 'Your Claims Insight' takes its own row, so the 'Your Policy' is pushed
   to its separate row"): the two insights stack at every width, 96 apart like the others; Your policies' one tile keeps a third of the
   row, the size of each Your claims tile above it, so the two rows line up */
html#v8 #app .ixp-g:not(.ixp-one) { grid-template-columns: minmax(0, 1fr) !important; }
html#v8 #app .ixp-g > .ixp-w + .ixp-w { grid-row: 5 / span 4 !important; margin-top: var(--v8-11) !important; }
html#v8 #app #ix-pol .ixp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
