/* ix-risks-t.css: "What could affect your business?" as one table (21 October 2026, night; README 75; app/ix-risks-t.js).
   The frame, the Insight tag, the title and the lead are the fit card's (ix-glance-k.css .ixgk-w > .ixgk, .ixgk-hd); this file
   draws the table in K's boxed style (a 1 px line, 8 px corners, the Neutral-10 head band with a hairline under it, hairlines
   between rows) and the row that opens. Type 16 Regular, the event 16 Bold, the head 16 Bold; the examples' table inside an open
   row is the old accordion's, in 16 with a 12 source line */
#v8 #app .ixrt-about { margin: var(--v8-3) 0 0; }
#v8 #app .ixrt-wrap { margin-top: var(--v8-6); }
#v8 #app .ixrt-tbl { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); overflow: hidden; }
#v8 #app .ixrt-c1 { width: 32%; } #v8 #app .ixrt-c2 { width: 18%; } #v8 #app .ixrt-c3 { width: 24%; } #v8 #app .ixrt-c4 { width: auto; } #v8 #app .ixrt-c5 { width: 64px; }
#v8 #app .ixrt-tbl > :is(thead, tbody) > tr > :is(th, td) { padding: var(--v8-4) var(--v8-5) 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 .ixrt-tbl > :is(thead, tbody) > tr > :first-child { padding-left: var(--v8-4); }
#v8 #app .ixrt-tbl > :is(thead, tbody) > tr > :last-child { padding-right: var(--v8-2); text-align: right; }
#v8 #app .ixrt-hb > th { padding-top: var(--v8-3) !important; padding-bottom: var(--v8-3) !important; background: var(--fennia-neutral-10, #F9F9F9); border-bottom: 1px solid var(--v8-line); font-weight: 700 !important; white-space: nowrap; }
#v8 #app .ixrt-g + .ixrt-g > .ixrt-r > :is(th, td) { border-top: 1px solid var(--v8-line); }
#v8 #app .ixrt-ev { font-weight: 700 !important; }
#v8 #app .ixrt-ev { display: table-cell; }
#v8 #app .ixrt-ic { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: var(--v8-3); vertical-align: -6px; color: var(--v8-ink-2); }
#v8 #app .ixrt-ic svg.i { width: 24px; height: 24px; }
#v8 #app .ixrt-evn { font-weight: 700; }
#v8 #app .ixrt-risk .rkb { gap: var(--v8-3); }
#v8 #app .ixrt-cap { display: none; }
#v8 #app .ixrt-has { display: inline-flex; align-items: center; gap: var(--v8-2); }
#v8 #app .ixrt-has svg.i { width: 20px; height: 20px; flex: none; }
#v8 #app .ixrt-has-y { color: var(--v8-green-t); }
#v8 #app .ixrt-has-n { color: var(--v8-ink-2); }
#v8 #app .ixrt-tog { width: 44px; height: 44px; color: var(--v8-green-t); }
#v8 #app .ixrt-tog svg.i { width: 20px; height: 20px; transition: rotate .2s var(--v8-ease, ease); }
#v8 #app .ixrt-tog[aria-expanded="true"] svg.i { rotate: 180deg; }
@media (prefers-reduced-motion: reduce) { #v8 #app .ixrt-tog svg.i { transition: none; } }
/* The open row: the situation, then the examples, 24 padding; the row's own background stays white */
#v8 #app .ixrt-dr > td { padding: 0 var(--v8-4) var(--v8-5) !important; text-align: left !important; }
#v8 #app .ixrt-d { padding: var(--v8-5); border-radius: var(--v8-r-sm); background: var(--fennia-neutral-10, #F9F9F9); }
#v8 #app .ixrt-when { margin: 0 0 var(--v8-4); color: var(--v8-ink); }
#v8 #app .ixrt-ex { width: 100%; border-collapse: collapse; }
#v8 #app .ixrt-ex :is(th, td) { padding: var(--v8-2) var(--v8-4) var(--v8-2) 0; text-align: left; vertical-align: top; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; color: var(--v8-ink); }
#v8 #app .ixrt-ex thead th { font-weight: 700 !important; border-bottom: 1px solid var(--v8-line); }
#v8 #app .ixrt-ex tbody tr + tr > * { border-top: 1px solid var(--v8-line); }
#v8 #app .ixrt-src { display: block; margin-top: 2px; color: var(--v8-ink-2); font-size: var(--v8-fs-14) !important; line-height: var(--v8-lh-14) !important; }
#v8 #app .ixrt-num { white-space: nowrap; }
#v8 #app .ixrt-foot { margin: var(--v8-5) 0 0; color: var(--v8-ink-2); }
@media (hover: hover) { #v8 #app .ixrt-r:hover > :is(th, td) { background: var(--fennia-neutral-10, #F9F9F9); } }

/* Narrow (under 720 in the card): each event a block, the cells stacked; the risk and the cover on one line, the column names
   given by the words themselves ("High risk", "You have it"), "May help" written before the insurance */
@container ixgk (max-width: 719px) {
  #v8 #app .ixrt-tbl, #v8 #app .ixrt-tbl > tbody, #v8 #app .ixrt-tbl > tbody > tr { display: block; width: 100%; }
  #v8 #app .ixrt-tbl colgroup, #v8 #app .ixrt-tbl > thead { display: none; }
  #v8 #app .ixrt-r { display: grid !important; grid-template-columns: 1fr auto; column-gap: var(--v8-3); row-gap: var(--v8-2); padding: var(--v8-4); }
  #v8 #app .ixrt-r > :is(th, td) { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; }
  #v8 #app .ixrt-r > .ixrt-ev { grid-column: 1; grid-row: 1; }
  #v8 #app .ixrt-r > .ixrt-op { grid-column: 2; grid-row: 1 / span 4; align-self: start; margin: -10px -10px 0 0; }
  #v8 #app .ixrt-r > .ixrt-risk, #v8 #app .ixrt-r > .ixrt-help, #v8 #app .ixrt-r > .ixrt-have { grid-column: 1; }
  #v8 #app .ixrt-cap { display: inline; color: var(--v8-ink-2); }
  #v8 #app .ixrt-g + .ixrt-g { border-top: 1px solid var(--v8-line); }
  #v8 #app .ixrt-dr > td { display: block; padding: 0 var(--v8-4) var(--v8-4) !important; }
  #v8 #app .ixrt-ex thead { display: none; }
  #v8 #app .ixrt-ex, #v8 #app .ixrt-ex tbody, #v8 #app .ixrt-ex tr, #v8 #app .ixrt-ex :is(th, td) { display: block; padding: 0 !important; border: 0 !important; }
  #v8 #app .ixrt-ex tr { padding: var(--v8-2) 0 !important; }
  #v8 #app .ixrt-ex tbody tr + tr { border-top: 1px solid var(--v8-line) !important; }
}
@media (forced-colors: active) { #v8 #app .ixrt-tbl { border-color: CanvasText; } }
/* Bold where the table needs it (the event, the head), the event's words beside its icon, the foot clear of the table */
#v8 #app .ixrt-tbl > tbody > tr > th.ixrt-ev, #v8 #app .ixrt-tbl .ixrt-evn, #v8 #app .ixrt-tbl > thead > tr > th { font-weight: 700 !important; }
#v8 #app .ixrt-evw { display: flex; align-items: flex-start; gap: var(--v8-3); }
#v8 #app .ixrt-evw .ixrt-ic { margin: 0; vertical-align: 0; }
#v8 #app .ixgk .ixrt-foot { margin-top: var(--v8-5) !important; }
/* Your cover's marks: Claims' decision squares (claims-flow.css .v8-fl-mk-ok, -rej), 24 px, 6 px corners, the words in ink */
#v8 #app .ixrt-has { color: var(--v8-ink) !important; gap: var(--v8-3); }
#v8 #app .ixrt-mk { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: var(--v8-r-tag); }
#v8 #app .ixrt-mk svg.i { width: 16px !important; height: 16px !important; overflow: visible; }
#v8 #app .ixrt-mk svg.i :is(path, g > path) { stroke: currentColor; stroke-width: 1px; stroke-linejoin: round; paint-order: stroke; }
#v8 #app .ixrt-mk-ok { background: var(--v8-mint); color: var(--v8-green-t); }
#v8 #app .ixrt-mk-no { background: color-mix(in srgb, var(--v8-red) 10%, var(--v8-white)); color: var(--v8-red); }
@media (forced-colors: active) { #v8 #app .ixrt-mk { border: 1px solid CanvasText; } }
/* Three columns and the button since the cover column merged (README 75): the event, the risk, the insurance cover */
#v8 #app .ixrt-c1 { width: 34%; } #v8 #app .ixrt-c2 { width: 20%; } #v8 #app .ixrt-c4 { width: auto; }
#v8 #app .ixrt-has { align-items: flex-start; }
#v8 #app .ixrt-has > .ixrt-mk { margin-top: 0; }
/* The row's hover is the system's green wash, as every other table's (Janne: "don't know why it's not green on hover in that
   insights risk table"); an open row keeps it while open */
@media (hover: hover) { #v8 #app .ixrt-r:hover > :is(th, td) { background: var(--v8-hover) !important; } }
#v8 #app .ixrt-r { cursor: pointer; }
/* The open row, white and airy like the policy page's opened covers (Janne, same night: "completely white with plenty of negative
   space (like top and bottom margins and sides) ... so it's easy to read"): no gray panel; the content starts under the event's
   name (the event column's left edge), 24 above, 40 below, 24 at the right; the situation line 24 above the examples */
#v8 #app .ixrt-dr > td { padding: var(--v8-5) var(--v8-6) var(--v8-7, 40px) var(--v8-4) !important; background: var(--v8-white) !important; }
#v8 #app .ixrt-d { padding: 0; border-radius: 0; background: transparent; max-width: 960px; }
#v8 #app .ixrt-when { margin: 0 0 var(--v8-5); }
#v8 #app .ixrt-ex :is(th, td) { padding-top: var(--v8-3); padding-bottom: var(--v8-3); }
#v8 #app .ixrt-g.is-open > .ixrt-r > :is(th, td) { padding-bottom: var(--v8-3); }
/* The opened row, the component (README 77; Janne, 22 October 2026: "compare the amount of padding u put in coverages (policy)
   ... and the risks accordion. make risk accordion also white and add the same amount of paddings"). Measured on the policy
   page's open cover (.v8pk-lp): white, 24 above, 24 below, 16 at the right, the content's left edge on the row's name. Here the
   name starts at the cell's 16, so 16 at the left. The open row keeps its own padding under the head row */
#v8 #app .ixrt-dr > td { padding: var(--v8-5) var(--v8-4) var(--v8-5) var(--v8-4) !important; background: var(--v8-white) !important; }
#v8 #app .ixrt-d { padding: 0 !important; border-radius: 0 !important; background: transparent !important; }
#v8 #app .ixrt-g.is-open > .ixrt-r > :is(th, td) { padding-bottom: var(--v8-4) !important; }
/* 24 on both sides as well (Janne, 22 October 2026: "right and left should be 24px too"): the opened row is 24 all round */
#v8 #app .ixrt-dr > td { padding: var(--v8-5) !important; }
/* The table's first column starts at 24 too, so the event's name and its opened content share one left edge */
#v8 #app .ixrt-tbl > :is(thead, tbody) > tr > :first-child { padding-left: var(--v8-5) !important; }
#v8 #app .ixrt-tbl > tbody > tr.ixrt-dr > td:first-child { padding-left: var(--v8-5) !important; }
/* The risk bars smaller and the word Regular (Janne, 22 October 2026: "make these a bit smaller, the risk icons ... the color in
   itself signifies a lot ... max only the size of the squares we use around the icon ... don't make the risk bolded ... like
   regular font, like ... what we recommend"): the three bars fit the 24 px mark square (5 px wide, 2 px apart, 8, 14 and 20 tall,
   bottom-aligned in a 24 x 24 box), and "High risk" is 16 Regular ink, as the cover column's words */
#v8 #app .ixrt-risk .rkb { gap: var(--v8-3); }
#v8 #app .ixrt-risk .rkb-c { box-sizing: border-box; width: 24px; height: 24px; padding: 2px 2.5px; gap: 2px; align-items: flex-end; justify-content: center; }
#v8 #app .ixrt-risk .rkb-c > i { width: 5px; border-radius: 1.5px; }
#v8 #app .ixrt-risk .rkb-c > i:nth-child(1) { height: 8px; }
#v8 #app .ixrt-risk .rkb-c > i:nth-child(2) { height: 14px; }
#v8 #app .ixrt-risk .rkb-c > i:nth-child(3) { height: 20px; }
#v8 #app .ixrt-risk .rkb-w { font-weight: 400 !important; color: var(--v8-ink); }
/* On the row's green hover the marks' squares turn white, as Claims' icon tiles do (Janne, 22 October 2026: "with hover ... the
   icons container turns either a darker color than what we have or white, because it's barely visible"); the risk bars' empty
   steps turn white with them */
@media (hover: hover) {
  #v8 #app .ixrt-r:hover .ixrt-mk { background: var(--v8-white) !important; }
  #v8 #app .ixrt-r:hover .rkb-c > i:not(.on) { background: var(--v8-white) !important; }
}
/* The opened risk takes the policy page's open cover spacing (Janne, 22 October 2026: "apply the same kind of padding styling when
   you are doing the risks ... they should follow the same styling"; README 77): 52 from the row's edge on the left, 52 from the
   event's text to the first line, 52 under the last line, 24 on the right. The head row keeps its 16 under the text */
#v8 #app .ixrt-dr > td { padding: 36px var(--v8-5) 52px 52px !important; }
#v8 #app .ixrt-tbl > tbody > tr.ixrt-dr > td:first-child { padding-left: 52px !important; }
#v8 #app .ixrt-dr > td { padding-top: 23px !important; }   /* the head row is taller than its text (the 24 marks), so 23 here makes the text-to-text gap 52 */
/* Phones (the card under 720): 16 on the sides, 24 above and below, as README 77 says */
@container ixgk (max-width: 719px) {
  #v8 #app .ixrt-dr > td, #v8 #app .ixrt-tbl > tbody > tr.ixrt-dr > td:first-child { padding: var(--v8-5) var(--v8-4) !important; }
}
/* The opened row names the insurance first (Janne, 22 October 2026: "When you open it ... what insurance covers this, and there
   should be the name of the insurance"): "You have professional liability insurance" or "You don't have cyber insurance", 16 Bold
   with the same mark as the row, then the situation line under it */
#v8 #app .ixrt-ins { display: flex; align-items: center; gap: var(--v8-3); 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 .ixrt-ins + .ixrt-when { margin-bottom: var(--v8-5); }
/* Three equal columns (Janne, 22 October 2026: "the 'Are you covered?' is too cramped ... all of those cells with text should be all
   fill containers, so they should take the same amount of space. It also creates even spacing"): Event, Risk level and Are you
   covered? share the width equally; the open button keeps its 64 */
#v8 #app .ixrt-c1, #v8 #app .ixrt-c2, #v8 #app .ixrt-c4 { width: calc((100% - 64px) / 3) !important; }
/* A try (Janne, 22 October 2026: "making those risks ... not in bolded font. Let's also try the same for those coverages. Let's
   just see how it looks"): the event names 16 Regular */
#v8 #app .ixrt-tbl > tbody > tr > th.ixrt-ev, #v8 #app .ixrt-tbl .ixrt-evn { font-weight: 400 !important; }
/* A fourth column, Covered by most? (Janne, 22 October 2026: "whether businesses like mine usually protect against this ... yes or
   no"): four equal text columns and the 64 button; the No for most takes a quiet gray minus, not the red cross, since it says
   nothing wrong about her. On phones the cell stacks with the others */
#v8 #app .ixrt-c1, #v8 #app .ixrt-c2, #v8 #app .ixrt-c4, #v8 #app .ixrt-c6 { width: calc((100% - 64px) / 4) !important; }
#v8 #app .ixrt-mk-none { background: var(--v8-gray); color: var(--v8-ink-2); }
@media (hover: hover) { #v8 #app .ixrt-r:hover .ixrt-mk-none { background: var(--v8-white) !important; } }
@container ixgk (max-width: 719px) { #v8 #app .ixrt-r > .ixrt-most { grid-column: 1; display: block; padding: 0 !important; } }
/* The No for most is the same red cross as the No for her (Janne, 22 October 2026: "the nos ... use the wrong icon, and they're not
   red") */
#v8 #app .ixrt-hb > th { white-space: normal !important; vertical-align: bottom; }   /* the long question header wraps to two lines */
/* The opened risk's top matches the open cover exactly (Janne, 22 October 2026: "the same padding at the top of the item that opens,
   as you have in the policy page"): 36 from the head row's bottom edge to the first line, as .v8pk-lp; left 52, bottom 52, right 24.
   The head row keeps its own 16 under its content (it was 12 while open, so the two rows now match too) */
#v8 #app .ixrt-dr > td { padding-top: 36px !important; }
#v8 #app .ixrt-g.is-open > .ixrt-r > :is(th, td) { padding-bottom: var(--v8-4) !important; }
/* The opened row starts with its title (README 128; Janne, 22 October 2026: "I think this is still a bit hard to understand. I think
   you should add a first title as well, so you understand that this is where this information starts"): the situation in 16 Bold,
   then whether she has the insurance (a mark and the words), then (when she doesn't) which insurance may help, then the examples.
   The situation sentence no longer repeats under the insurance line */
#v8 #app .ixrt-d > h4.ixrt-dt { 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 .ixrt-d > p.ixrt-ins { display: flex; align-items: center; gap: var(--v8-3); margin: 0; font-weight: 400; }
#v8 #app .ixrt-d > p.ixrt-ins + table, #v8 #app .ixrt-d > p.ixrt-when + table { margin-top: var(--v8-5); }
/* The impact bars: four rising bars in the risk column's 24 box (5 wide, 6, 10, 14 and 18 high), coloured by level, the word
   regular ink */
#v8 #app .ixrt-ex .rkb-imp { display: inline-flex; align-items: center; gap: var(--v8-3); }
#v8 #app .ixrt-ex .rkb-imp .rkb-c { box-sizing: border-box; width: 30px; height: 24px; padding: 2px; gap: 2px; align-items: flex-end; justify-content: center; }
#v8 #app .ixrt-ex .rkb-imp .rkb-c > i { width: 5px; border-radius: 1.5px; background: var(--fennia-neutral-30); }
#v8 #app .ixrt-ex .rkb-imp .rkb-c > i:nth-child(1) { height: 6px; } #v8 #app .ixrt-ex .rkb-imp .rkb-c > i:nth-child(2) { height: 10px; }
#v8 #app .ixrt-ex .rkb-imp .rkb-c > i:nth-child(3) { height: 14px; } #v8 #app .ixrt-ex .rkb-imp .rkb-c > i:nth-child(4) { height: 18px; }
#v8 #app .ixrt-ex .rkb-imp-1 .rkb-c > i.on { background: var(--v8-risk-1); }
#v8 #app .ixrt-ex .rkb-imp-2 .rkb-c > i.on { background: var(--v8-risk-2); }
#v8 #app .ixrt-ex :is(.rkb-imp-3, .rkb-imp-4) .rkb-c > i.on { background: var(--v8-risk-3); }
#v8 #app .ixrt-ex .rkb-imp .rkb-w { font-weight: 400 !important; color: var(--v8-ink); }
#v8 #app .ixrt-d > p.ixrt-ins + p.ixrt-when { margin: var(--v8-2) 0 0 !important; }
/* Phones: every answer says its question (README 142, the audit's D10; Janne, 22 October 2026: "Yep, sure, fix them"). Under 720 of
   card the head row is hidden, so each event read "Medium, No, No" with nothing saying which No was hers. Now each value is a row of
   the system's key and value pattern: the column's own name at the left in secondary ink (from the cell's data-l, the same words
   as the table head, ix-risks-t.js T), the value at the right. The event and its open button keep the first row. The name is
   visible text, so a screen reader that loses the table's semantics on a phone still hears it; the "most" cell's own words for
   screen readers already say the question, so its name is silent there (the alt text after the slash) */
@container ixgk (max-width: 719px) {
  #v8 #app .ixrt-r > .ixrt-op { grid-row: 1; }
  #v8 #app .ixrt-r > :is(.ixrt-risk, .ixrt-have, .ixrt-most) { grid-column: 1 / -1; display: flex !important; align-items: center; justify-content: space-between; gap: var(--v8-4); min-height: 32px; }
  #v8 #app .ixrt-r > :is(.ixrt-risk, .ixrt-have, .ixrt-most)::before { content: attr(data-l); flex: 1 1 auto; min-width: 0; max-width: 60%; color: var(--v8-ink-2); }
  #v8 #app .ixrt-r > .ixrt-most::before { content: attr(data-l) / ""; }
  #v8 #app .ixrt-r > :is(.ixrt-risk, .ixrt-have, .ixrt-most) > * { flex: none; }
  #v8 #app .ixrt-r > .ixrt-risk { margin-top: var(--v8-1); }
  html#v8 #app .ixrt-tbl > tbody > tr.ixrt-r > th.ixrt-ev { padding-left: 0 !important; }   /* the event on the labels' edge (a desktop cell's 24 had stayed) */
}
