/* Scope: this case only (the Fennia B2B portal prototype). Nothing outside design repo/cases/fennia-b2b-portal/ uses this
   system unless Janne asks.

   The system's components, written as we go, each with the date it was decided. Loaded after tokens.css by the prototype and
   by the reference page. No font-size inside a media or container query; colors only as tokens. */

/* =================================================================
   Cover cards (14 October 2026, replacing the illustrated policy cards the same day). A wealth app's asset cards: simple
   cards two across, each with a small ring on the left (the share of its everyday case the policy pays), the policy's name as
   the main label (Janne: "What is the insurance?"), a line on what it covers, the ring's sentence, the price a year and a
   month at the foot, and the illustration on the right. No payout figures: they read as prices. A policy she
   doesn't have yet is the same card, dashed. Beside them, the month's price as a ring by policy with its legend
   ================================================================= */
.home-pols { container-type: inline-size; }   /* the section is the container: a grid can't query its own width */
.cover-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--gap-cards); align-items: start; }
.cover-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-cards); list-style: none; }
.cover-cards > li { display: flex; min-width: 0; }
.cover-card { display: grid; grid-template-columns: var(--cc-ring) minmax(0, 1fr) var(--cc-art); gap: var(--s-4); align-items: start; width: 100%; padding: var(--s-5); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; }
.cover-card .cr { position: relative; display: block; width: var(--cc-ring); height: var(--cc-ring); }
.cover-card .cr svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.cover-card .cr circle { fill: none; stroke-width: 7; }
.cover-card .cr .trk { stroke: var(--canvas); }
.cover-card .cr .val { stroke: var(--green); stroke-linecap: round; }
.cover-card .cr-v { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--fs-small); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
/* The ring, the name and the illustration share the top row; what it covers, the ring's sentence and the price run the card's full width under them */
.cover-card { row-gap: 0; align-items: center; }
.cover-card .cc-body { display: contents; }
.cover-card .cc-name { grid-column: 2; grid-row: 1; }
.cover-card .cc-what, .cover-card .cc-case, .cover-card .cc-price { grid-column: 1 / -1; }
.cover-card .cr { grid-column: 1; grid-row: 1; }
.cover-card .cc-art { grid-column: 3; grid-row: 1; }
/* The name leads (what the insurance is), a line on what it covers, the ring's sentence, and the price at the foot: the year in Bold */
.cover-card .cc-name { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: 700; }
.cover-card .cc-what { margin-top: var(--s-4); color: var(--ink); }
.cover-card .cc-case { margin-top: var(--s-2); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); }
.cover-card .cc-price { margin-top: var(--s-4); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cover-card .cc-price b { font-size: var(--fs-body); line-height: var(--lh-ui); font-weight: 700; color: var(--ink); }
.cover-card .cc-buy { margin-left: var(--s-2); color: var(--green-text); }
.cover-card .cc-art { display: grid; place-items: center; width: var(--cc-art); height: var(--cc-art); border-radius: var(--r-in); background: var(--canvas); }
.cover-card .cc-art img { width: 48px; height: 48px; }
a.cover-card:hover .cc-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.cover-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cover-card.dashed { padding: calc(var(--s-5) - 1px); }
.cover-card.offer .cr .trk { stroke: var(--card); }
.cover-card.offer .cc-art { background: var(--card); }
.cover-card.offer:hover .cc-buy { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; color: var(--green-strong); }
/* The month's ring */
.cover-sum { display: grid; gap: var(--s-5); padding: var(--s-6); border-radius: var(--r-lg); background: var(--card-green); }
.cs-ring { position: relative; justify-self: center; width: 184px; height: 184px; }
.side-panel .cs-ring { width: 156px; height: 156px; }
.cs-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.cs-ring circle { fill: none; stroke-width: 12; }
.cs-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cs-c b { font-size: var(--fs-group); line-height: var(--lh-group); font-weight: 700; font-variant-numeric: tabular-nums; }
.cs-c span { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); }
.cs-legend { display: grid; gap: var(--s-2); list-style: none; }
.cs-legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; font-size: var(--fs-small); line-height: var(--lh-small); }
.cs-sw { width: 10px; height: 10px; border-radius: 3px; }
.cs-v { font-weight: 700; font-variant-numeric: tabular-nums; }
@container (max-width: 959px) { .cover-wrap { grid-template-columns: minmax(0, 1fr); } .cover-sum { grid-template-columns: 184px minmax(0, 1fr); align-items: center; } .cover-sum .btn { grid-column: 1 / -1; } }
@container (max-width: 639px) { .cover-cards { grid-template-columns: minmax(0, 1fr); } .cover-sum { grid-template-columns: minmax(0, 1fr); } .cover-card { --cc-ring: 56px; --cc-art: 48px; gap: var(--s-3); padding: var(--s-4); } .cover-card .cc-art img { width: 36px; height: 36px; } }

/* =================================================================
   Card types (14 October 2026, Janne). Four kinds, each with one job:
     process card    .as-card: a tinted top bar whose color is the status (gray not started, light green in progress, lime
                     waiting for her, green done), the title, one line, the status and a bar. Assessments, claims
     highlight card  .hl2: one full color (lime, dark teal, light teal). The overview's top three
     object card     .box, .cover-card: one plain fill, gray (or white), no stroke. A policy, a door, a document
     container       .side-panel and the like: white with the gray stroke. Holds a list, a chart, a form
   A dashed card (.as-card.upload, .box.dashed) is what she can add next
   ================================================================= */
.as-card.wait .as-top { background: var(--attn); }
.as-card.wait .as-bar i { background: var(--green); }
.as-card .as-p .chip { margin-left: -2px; }
.home-main > .home-claims .sec-head + .as-cards { margin-top: var(--s-5); }

/* =================================================================
   Assessments (14 October 2026), on the overview. A wealth app's Create & Manage: the whole as one progress card (its name, a
   long bar, the percentage at the right), then a card per part (a tinted top with its icon, the name, a line, the percentage
   completed with its bar), and a dashed card for what she already has. Tops: green once complete, light green while started,
   gray before. Each card opens that part of the assessment
   ================================================================= */
.as-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: var(--s-6); row-gap: var(--s-2); align-items: center; padding: var(--s-5) var(--s-6); border-radius: var(--r-lg); background: var(--card); color: var(--ink); text-decoration: none; transition: background-color var(--t-hover); }
.as-total:hover { background: var(--hover); }
.as-total:hover .as-tt { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.as-tt { font-size: var(--fs-group); line-height: var(--lh-group); font-weight: 700; letter-spacing: var(--track-mid); }
.as-why { grid-column: 1; color: var(--ink-2); max-width: 60ch; }
.as-tbar { grid-column: 1; grid-row: 3; display: block; height: 10px; margin-top: var(--s-3); border-radius: 5px; background: var(--track); overflow: hidden; }
.as-tbar i, .as-bar i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.as-tp { grid-column: 2; grid-row: 1 / span 3; font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 700; letter-spacing: var(--track-tight); font-variant-numeric: tabular-nums; }
.as-total + .as-cards { margin-top: var(--gap-cards); }
.page-in .home-assess > .as-total:first-child { margin-top: 0; }
.home-assess { container-type: inline-size; }
.as-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-cards); list-style: none; }
.as-cards > li { display: flex; min-width: 0; }
.as-card { display: grid; grid-template-rows: auto 1fr; width: 100%; border-radius: var(--r-lg); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow var(--t-hover); }
a.as-card:hover { box-shadow: var(--edge-hover); }
a.as-card:hover .as-n { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.as-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.as-top { display: flex; align-items: center; height: 88px; padding: 0 var(--s-5); background: var(--card); color: var(--ink); }
.as-card.part .as-top { background: var(--card-green); }
.as-card.done .as-top { background: var(--g-30); }
.as-top svg.i { width: 36px; height: 36px; stroke-width: 1.25; }
.as-body { display: grid; grid-template-rows: auto auto 1fr; padding: var(--s-5); }
.as-n { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: 700; }
.as-l { margin-top: var(--s-2); color: var(--ink-2); }
.as-foot { align-self: end; display: grid; gap: var(--s-2); margin-top: var(--s-5); }
.as-p { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); line-height: var(--lh-small); }
.as-card.done .as-p { color: var(--green); font-weight: 700; }   /* Completed in the bar's green (the same as a part done), so the word and the bar read as one. 4.5:1 on white */
.as-p svg.i { width: 16px; height: 16px; color: var(--green); }
.as-bar { display: block; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
/* every bar fills in the one green, done or not (Janne, 14 October 2026) */
.as-card.upload { display: grid; grid-template-rows: none; place-content: center; justify-items: center; gap: var(--s-4); padding: var(--s-6); background: var(--canvas); box-shadow: none; border: 1px dashed var(--field); text-align: center; }
.as-up-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-in); background: var(--card-green); color: var(--green-text); }
.as-up-ic svg.i { width: 28px; height: 28px; }
.as-up-t { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: 700; max-width: 18ch; }
@container (max-width: 759px) { .as-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 479px) { .as-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .as-total { column-gap: var(--s-4); } }

/* =================================================================
   The assessment flow (14 October 2026), #/assess/:id. A wealth app's sign-up: a light panel on the left (the logo, a Fennia
   illustration, the part's title in Fennia green, one paragraph), and on the right the five parts as tabs over a progress line,
   the groups of cards to pick (a line icon, the name, a check once picked; picked cards light green with Fennia's edge), and
   Back, Skip and Complete at the foot. Answers save as she picks. Under 1024 the panel becomes a band above the cards
   ================================================================= */
.as-flow { display: grid; grid-template-columns: minmax(360px, 5fr) minmax(0, 7fr); min-height: 100vh; }
.as-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 40px var(--s-8) var(--s-7); background: var(--card); }
.as-side .logo img { width: 131px; height: 24px; }
.as-intro { margin-block: auto; max-width: 440px; }
.as-intro img { width: 200px; height: 200px; }
.as-h { margin-top: var(--s-6); color: var(--green); }
.as-intro p { margin-top: var(--s-4); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.as-main { display: flex; flex-direction: column; min-width: 0; padding: 40px var(--s-8) 0; }
.as-tabs-row { display: flex; align-items: flex-start; gap: var(--s-5); }
.as-tabs { flex: 1; min-width: 0; }
.as-tabs ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); list-style: none; }
.as-tabs a { display: block; padding-bottom: var(--s-3); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); text-decoration: none; }
.as-tabs a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.as-tabs a[aria-current] { color: var(--ink); font-weight: 700; }
.as-line { display: block; height: 3px; border-radius: 2px; background: var(--card); overflow: hidden; }
.as-line i { display: block; height: 100%; background: var(--green); transition: width .3s var(--ease); }
.as-tabs-row .icon-btn { margin-top: -10px; }
.as-body-main { flex: 1; padding: var(--s-7) 0 var(--s-6); }
.as-body-main:focus { outline: none; }
.as-group + .as-group { margin-top: var(--s-7); }
.as-group legend h2 { font-size: var(--fs-group); line-height: var(--lh-group); letter-spacing: var(--track-mid); }
.as-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-4); }
.as-opt { position: relative; display: grid; grid-template-rows: auto 1fr; gap: var(--s-4); min-height: 112px; padding: var(--s-4); border-radius: var(--r-in); background: var(--card); cursor: pointer; transition: box-shadow var(--t-hover), background-color var(--t-hover); }
.as-opt:hover { box-shadow: var(--edge-hover); }
.as-opt.on { background: var(--card-green); box-shadow: inset 0 0 0 2px var(--green); }
.as-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.ao-ic { color: var(--green-text); }
.ao-ic svg.i { width: 28px; height: 28px; stroke-width: 1.25; }
.ao-l { align-self: end; line-height: var(--lh-ui); }
.as-opt.on .ao-l { font-weight: 700; }
.ao-ck { position: absolute; top: var(--s-3); right: var(--s-3); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--inverse-ink); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s var(--ease); }
.ao-ck svg.i { width: 16px; height: 16px; stroke-width: 2; }
.as-opt.on .ao-ck { opacity: 1; transform: none; }
.as-foot-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0 var(--s-5); border-top: 1px solid var(--line); background: var(--canvas); }
.as-fr { display: flex; align-items: center; gap: var(--s-5); }
@media (max-width: 1279px) { .as-opts { 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: 1279px) { .as-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 1023px) {
  .as-flow { grid-template-columns: minmax(0, 1fr); }
  .as-side { position: static; height: auto; padding: var(--s-5) var(--page-x) var(--s-6); }
  .as-intro { margin-top: var(--s-5); max-width: 640px; }
  .as-intro img { width: 96px; height: 96px; }
  .as-h { margin-top: var(--s-4); }
  .as-main { padding: var(--s-5) var(--page-x) 0; }
  .as-tabs ol { display: flex; gap: var(--s-5); overflow-x: auto; scrollbar-width: none; }
  .as-tabs a { white-space: nowrap; }
}
@media (max-width: 479px) { .as-opts { grid-template-columns: minmax(0, 1fr); } .as-opt { min-height: 0; grid-template-rows: none; grid-template-columns: 28px minmax(0, 1fr); align-items: center; } .ao-l { align-self: center; padding-right: var(--s-6); } }
@media (forced-colors: active) { .cover-card, .cover-sum, .as-total, .as-card, .as-opt { border: 1px solid CanvasText; } .as-opt.on { outline: 3px solid Highlight; } }

/* =================================================================
   The homepage's order (14 October 2026): the greeting, Your claims, Your policies, Your risk assessment, then Coming up and Finish
   setting up. Groups 56 apart
   ================================================================= */
.page-in > .home-pols, .page-in > .home-assess { margin-top: var(--section-gap); }
.home-pols .sec-head h2, .home-assess .sec-head h2, .home-claims .sec-head h2 { font-size: var(--fs-group); line-height: var(--lh-group); letter-spacing: var(--track-mid); }
.home-pols .sec-head + *, .home-assess .sec-head + * { margin-top: var(--s-5); }
.page-in > .home-assess + .ov-later { margin-top: var(--section-gap); }


/* =================================================================
   The app shell (14 October 2026), from 1024. A clinic's secretary app: a slim white bar with the logo across the top, a narrow
   rail of icons down the left (the menu button first, the sections, search and the profile at the foot), the current page on
   a light gray square, hairlines between them and the page. The menu button opens the full menu as a drawer over the page, the
   icons staying where they were and their names appearing beside them. Under 1024 the top bar and the tab bar stay
   ================================================================= */
.appbar, .mini, .drawer-scrim { display: none; }
.rail .drawer-x { display: none; }
@media (min-width: 1024px) {
  .shell { grid-template-columns: var(--mini-w) minmax(0, 1fr); grid-template-rows: var(--appbar-h) minmax(0, 1fr); }
  .appbar { grid-column: 1 / -1; grid-row: 1; position: sticky; top: 0; z-index: 40; display: flex; align-items: center; height: var(--appbar-h); padding: 0 var(--s-5); border-bottom: 1px solid var(--shell-line); background: var(--canvas); }
  .appbar .logo img { width: 131px; height: 24px; }
  .col { grid-column: 2; grid-row: 2; min-height: calc(100vh - var(--appbar-h)); }

  /* The rail */
  .mini { grid-column: 1; grid-row: 2; position: sticky; top: var(--appbar-h); z-index: 30; display: flex; flex-direction: column; align-items: center; height: calc(100vh - var(--appbar-h)); padding: var(--s-4) 0; border-right: 1px solid var(--shell-line); background: var(--canvas); }
  .mini-list { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
  .mini-foot { display: grid; gap: var(--s-2); margin-top: auto; }
  .mini-item { position: relative; display: grid; place-items: center; width: var(--mini-btn); height: var(--mini-btn); border-radius: var(--r-mini); color: var(--ink); text-decoration: none; transition: background-color var(--t-hover); }
  .mini-item svg.i { width: var(--icon-lg); height: var(--icon-lg); stroke-width: 1.25; }
  .mini-item:hover { background: var(--hover); }
  .mini-item:active { background: var(--pressed); }
  .mini-item[aria-current] { background: var(--mini-cur); }
  .mini-item:focus-visible { outline-offset: 0; }
  .mini-item .avatar { width: 36px; height: 36px; background: var(--mini-cur); }
  /* A count rides on its icon's corner */
  .mini-item .count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; font-size: var(--fs-small); box-shadow: 0 0 0 2px var(--canvas); }
  .mini-item .count.attn { gap: 1px; padding: 0 5px 0 3px; }
  .mini-item .count svg.i { width: 12px; height: 12px; }
  /* Each icon's name, beside it on hover and on keyboard focus (the drawer has them all) */
  .mini-item[data-tip]::after { content: attr(data-tip); position: absolute; left: calc(100% + 12px); top: 50%; z-index: 50; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--inverse-ink); font-size: var(--fs-small); line-height: var(--lh-small); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-4px, -50%); transition: opacity .12s, transform .12s; }
  .mini-item[data-tip]:hover::after, .mini-item[data-tip]:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
  html.drawer-open .mini-item[data-tip]::after { display: none; }

  /* The drawer: the full menu, from the window's left edge under the app bar, its icons on the rail's icons */
  .rail { position: fixed; z-index: 60; left: 0; top: var(--appbar-h); bottom: 0; width: var(--drawer-w); height: auto; margin: 0; padding: var(--s-4) var(--s-3); border-radius: 0; border-right: 1px solid var(--shell-line); background: var(--canvas); box-shadow: 12px 0 32px rgba(0, 0, 0, 0.06); visibility: hidden; opacity: 0; transform: translateX(-12px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s; }
  html.drawer-open .rail { visibility: visible; opacity: 1; transform: none; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s; }
  .rail .logo { display: none; }
  .rail .drawer-x { display: flex; }
  .rail .nav { margin-top: var(--s-4); }
  .rail .nav-item { height: var(--mini-btn); border-radius: var(--r-mini); padding-left: 14px; }
  .rail .nav-item svg.i { width: var(--icon-lg); height: var(--icon-lg); }
  .rail .nav-item[aria-current], .rail .nav-item[aria-current]:hover, .rail .nav-sub a[aria-current="page"] { background: var(--mini-cur); }
  .rail .nav-sub a { border-radius: var(--r-mini); padding-left: 52px; }
  .rail .nav-tab { border-radius: var(--r-mini); background: var(--mini-cur); }
  .rail .profile { border-radius: var(--r-mini); }
  .rail .avatar { background: var(--mini-cur); }
  .nav-2::before { background: var(--shell-line); }
  .drawer-scrim { position: fixed; inset: var(--appbar-h) 0 0 0; z-index: 55; display: block; background: var(--scrim-soft); }
  .drawer-scrim[hidden] { display: none; }
}
/* Page changes: the bar and the rail stay put while the page moves (motion.css names the rest) */
html.vt-chrome .appbar { view-transition-name: vt-appbar; }
html.vt-chrome .mini { view-transition-name: vt-mini; }
::view-transition-group(vt-appbar), ::view-transition-group(vt-mini) { z-index: 4; }
@media (forced-colors: active) { .mini-item[aria-current] { outline: 2px solid Highlight; } }

/* =================================================================
   The documents panel (14 October 2026), on every policy page. A wealth app's vault: the count as the title with a cards and
   list switch, the documents as white cards on the gray (a file icon top left, a menu top right, the name, what it belongs to
   and its type at the foot), and Recent changes beside them (an icon in a circle, who did what with the object in Bold, how
   long ago). The card's name opens the file; the menu holds Download and Send to my email
   ================================================================= */
.page-in > .docs-panel { margin-top: var(--gap-cards); }
.docs-panel { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-6) var(--s-7); padding: var(--pad-card); border-radius: var(--r-lg); background: var(--card); }
.docs-main { container-type: inline-size; min-width: 0; }   /* the list's columns follow the documents' own width */
.docs-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.docs-head h2, .docs-changes h2 { font-size: var(--fs-section); line-height: var(--lh-section); }
.vt-group { display: flex; gap: var(--s-1); }
.vt-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-mini); color: var(--ink-2); transition: background-color var(--t-hover); }
.vt-btn:hover { background: var(--hover); color: var(--ink); }
.vt-btn[aria-pressed="true"] { background: var(--canvas); color: var(--green-text); }
.vt-btn svg.i { width: 20px; height: 20px; }
.docs-head + ul { margin-top: var(--s-4); }

/* Cards */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--doc-min), 1fr)); gap: var(--s-3); list-style: none; }
.doc-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: var(--s-3); min-height: var(--doc-card-h); padding: var(--s-4) var(--s-4) var(--s-3) var(--s-5); border-radius: var(--r-in); background: var(--canvas); transition: box-shadow var(--t-hover); }
.doc-card:has(.dc-open:hover) { box-shadow: var(--edge-hover); }
.doc-card .dc-ic { color: var(--green-text); padding-top: var(--s-1); }
.doc-card .dc-ic svg.i { width: 28px; height: 28px; stroke-width: 1.25; }
.doc-card .dc-n { align-self: end; font-size: var(--fs-body); line-height: var(--lh-ui); font-weight: 700; }
.dc-open { color: var(--ink); text-align: left; }
.doc-card .dc-open::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.dc-open:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dc-open:focus-visible { outline: none; }
.doc-card:has(.dc-open:focus-visible), .doc-row:has(.dc-open:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.doc-card .dc-foot { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-small); line-height: var(--lh-small); }
.dc-k { flex: 1 1 auto; color: var(--ink-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-t { flex: none; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* The menu: a 32 button with three dots standing up, top right, above the card's link */
.dc-more { position: absolute; z-index: 2; top: var(--s-3); right: var(--s-2); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink-2); }
.dc-more svg.i { width: 22px; height: 22px; transform: rotate(90deg); }
.dc-more:hover, .dc-more[aria-expanded="true"] { background: var(--hover); color: var(--ink); }
.dc-menu { position: absolute; z-index: 5; top: calc(var(--s-3) + 36px); right: var(--s-2); min-width: 200px; padding: var(--s-2); border-radius: var(--r-in); background: var(--canvas); box-shadow: var(--shadow-pop), 0 0 0 1px var(--line); }
.dc-menu[hidden] { display: none; }
.dc-menu button { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 40px; padding: 0 var(--s-3); border-radius: var(--r-mini); color: var(--ink); text-align: left; }
.dc-menu button:hover { background: var(--hover); }
.dc-menu svg.i { width: 18px; height: 18px; }

/* The list */
.doc-list { display: grid; gap: 2px; list-style: none; border-radius: var(--r-in); overflow: visible; }
.doc-row { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1.4fr) minmax(0, 1fr) 120px 48px 32px; gap: var(--s-4); align-items: center; padding: var(--s-3) var(--s-2) var(--s-3) var(--s-4); background: var(--canvas); }
.doc-row:first-child { border-radius: var(--r-in) var(--r-in) 0 0; }
.doc-row:last-child { border-radius: 0 0 var(--r-in) var(--r-in); }
.doc-row .dc-ic { color: var(--green-text); }
.doc-row .dc-n { font-size: var(--fs-body); line-height: var(--lh-ui); font-weight: 700; min-width: 0; }
.doc-row .dc-open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.doc-row:has(.dc-open:hover) { background: var(--hover); }
.doc-row .dc-k, .doc-row .dc-d { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); }
.doc-row .dc-more { position: relative; top: auto; right: auto; }
.doc-row .dc-menu { top: calc(100% - 4px); right: var(--s-2); }
@container (max-width: 759px) {
  .doc-row { grid-template-columns: 28px minmax(0, 1fr) 32px; }
  .doc-row .dc-k, .doc-row .dc-d, .doc-row .dc-t { grid-column: 2; }
  .doc-row .dc-more { grid-column: 3; grid-row: 1; }
}

/* Recent changes */
.changes { display: grid; gap: var(--s-4); margin-top: var(--s-4); list-style: none; }
.changes li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.changes .ch-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--canvas); color: var(--ink-2); }
.changes .ch-ic svg.i { width: 16px; height: 16px; stroke-width: 1.5; }
.changes .ch-t { font-size: var(--fs-small); line-height: var(--lh-small); padding-top: 6px; }
.changes .ch-t b { font-weight: 700; }
.changes .ch-d { margin-top: 2px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); }
@media (max-width: 1099px) { .docs-panel { grid-template-columns: minmax(0, 1fr); } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1099px) { .docs-panel { grid-template-columns: minmax(0, 1fr); }}
@media (forced-colors: active) { .docs-panel, .doc-card, .doc-row { border: 1px solid CanvasText; } }
/* The prototype's switcher (a reviewer's tool) rides above the assessment's foot bar, so it never covers Complete */
html:has(.as-flow) .proto { bottom: calc(var(--btn-h-lg) + 2 * var(--s-4) + var(--s-3)); }

/* =================================================================
   The overview's top (14 October 2026): the greeting alone on a light band, the highlighted cards, and the side panel. A wealth
   app's home ("just this simple, like 'Hello,' and then you would have those highlighted cards"): a lime card twice as wide for
   the one thing for her now (with its button), a dark teal card and a light teal card that each open a page, each with its title
   top left and a large line drawing bottom right. Beside them, a white panel with tabs (Your price, Documents) and Buy a policy
   at its foot. The band runs the width of the page behind the greeting and the cards' top half
   ================================================================= */
.page-in:has(> .home-band) { position: relative; isolation: isolate; }
.home-band { position: absolute; z-index: -1; left: 0; right: 0; top: calc(-1 * var(--page-top)); height: calc(var(--page-top) + var(--lh-title) + var(--s-6) + 106px); background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.home-head h1 { font-size: var(--fs-title); }
.page-in > .home-head + .home-grid, .page-in > .home-head + .subnav + .home-grid { margin-top: var(--s-6); }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-w); gap: var(--gap-cards); align-items: start; }
.home-main { min-width: 0; display: grid; }
.home-main > .home-claims { margin-top: var(--section-gap); }
.home-main > .home-pols, .home-main > .home-assess { margin-top: var(--section-gap); }
.page-in > .home-grid + .ov-later { margin-top: var(--section-gap); }

/* Highlighted cards (third pass): one solid color each, no top bar. Lime holds the one thing for her now and its button; dark
   teal and light teal each open a page. The card title, one short line (small), and a foot with the action left and a line icon
   right */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-cards); }
.hl2 { display: flex; flex-direction: column; min-height: 212px; padding: var(--s-5); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; }
.hl2-t { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: 700; max-width: 22ch; }
.hl2-t:focus { outline: none; }
.hl2-p { margin-top: var(--s-2); font-size: var(--fs-small); line-height: var(--lh-small); max-width: 36ch; }
.hl2-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-top: auto; padding-top: var(--s-5); }
.hl2-ic { flex: none; line-height: 0; }
.hl2-ic svg.i { width: 44px; height: 44px; stroke-width: 1; }
.hl2-go { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hl2.lime { background: var(--hl-lime); }
.hl2.lime .hl2-ic { color: var(--teal-900); }
.hl2.lime .hl2-p { color: var(--ink); }
.hl2.teal { background: var(--teal-900); color: var(--inverse-ink); }
.hl2.teal .hl2-ic { color: var(--teal-300); }
.hl2.aqua { background: var(--teal-300); }
.hl2.aqua .hl2-ic { color: var(--teal-900); }
a.hl2:hover .hl2-go { text-decoration-thickness: 2px; }
a.hl2:hover .hl2-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.hl2:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hl2.lime .btn-secondary { background: var(--canvas); }

/* The side panel */
.side-panel { position: sticky; top: calc(var(--appbar-h) + var(--s-4)); display: grid; gap: var(--s-5); padding: var(--s-5); border-radius: var(--r-lg); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, 0.04); }
.sp-tabs { display: flex; gap: var(--s-5); border-bottom: 1px solid var(--line); }
.sp-tab { position: relative; display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) 0 var(--s-3); color: var(--ink-2); font-weight: 700; }
.sp-tab[aria-selected="true"] { color: var(--teal-900); box-shadow: inset 0 -3px 0 var(--teal-900); }
.sp-tab:hover { color: var(--ink); }
.sp-tab .count { min-width: 22px; height: 22px; background: var(--card-green); }
.sp-tab:focus-visible { outline-offset: 2px; border-radius: 4px; }
.side-panel .cover-sum { padding: 0; background: none; }
.side-panel .cover-sum .btn { display: none; }
.sp-docs { display: grid; gap: 2px; list-style: none; }
.sp-docs a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s-3); align-items: start; padding: var(--s-3) var(--s-2); border-radius: var(--r-mini); color: var(--ink); text-decoration: none; }
.sp-docs a:hover { background: var(--hover); }
.sp-docs a:hover .sd-n { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sd-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-mini); background: var(--card-green); color: var(--green-text); }
.sd-ic svg.i { width: 18px; height: 18px; }
.sd-n { display: block; font-weight: 700; line-height: var(--lh-ui); }
.sd-m { display: block; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); }


@media (max-width: 1279px) {
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .side-panel { position: static; grid-template-columns: minmax(0, 1fr); }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) {
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .side-panel { position: static; grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 899px) { .bento { grid-template-columns: 1fr 1fr; } .hl2.lime { grid-column: 1 / -1; } }
@media (max-width: 559px) { .bento { grid-template-columns: minmax(0, 1fr); } }
@media (forced-colors: active) { .side-panel, .hl2 { border: 1px solid CanvasText; } }

/* =================================================================
   The type scale applied (14 October 2026). Pills take the extra small size; a card's explanation and its price take the small
   size; figures that stood at their own sizes (the assessment's percentage, a tile's figure) take the section title's
   ================================================================= */
.chip, .tag, .count, .cv-chip, .count.attn { font-size: var(--fs-xs); line-height: var(--lh-xs); }
.chip { height: 28px; padding: 0 10px; gap: 6px; }
.chip svg.i { width: 14px; height: 14px; }
.task .tx .chip, .task.hero .hc .chip { min-height: 28px; }
.tag { height: 24px; padding: 0 8px; }
.count { min-width: 22px; height: 22px; }
.count svg.i { width: 12px; height: 12px; }
.cover-card .cc-what { margin-top: var(--s-4); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); }
.cover-card .cc-price { margin-top: var(--s-3); }
.cover-card .cc-price b { font-size: var(--fs-small); line-height: var(--lh-small); }
.as-l { font-size: var(--fs-small); line-height: var(--lh-small); }
.as-tp { font-size: var(--fs-group); line-height: var(--lh-group); letter-spacing: var(--track-mid); }
.mini-item .count { font-size: var(--fs-xs); }

/* =================================================================
   The member home (15 October 2026, after Collective Health): a soft band with the welcome and a pill on its edge, the
   highlights, the policies as a quiet list beside one callout and a dated activity list, then the risk assessment
   ================================================================= */
.page-in:has(> .welcome-band) { position: relative; isolation: isolate; }
.welcome-band { position: absolute; z-index: -1; left: 0; right: 0; top: calc(-1 * var(--page-top)); height: calc(var(--page-top) + 220px); background: var(--card-green); box-shadow: 0 0 0 100vmax var(--card-green); clip-path: inset(0 -100vmax); }
.wb-head { display: flex; justify-content: space-between; align-items: flex-end; min-height: 196px; }
.wb-line { margin-top: var(--s-2); font-size: var(--fs-section); line-height: var(--lh-section); }
.wb-art img { width: 180px; height: 180px; display: block; }
.wb-pill { margin-top: -2px; background: var(--canvas); box-shadow: 0 2px 10px rgba(0,0,0,.08), inset 0 0 0 1px var(--line); color: var(--ink); }
.page-in > .wb-pill + .bento, .page-in > .wb-pill + .subnav + .bento { margin-top: var(--s-7); }
.home-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s-8); margin-top: var(--section-gap); align-items: start; }
.home-cols h2 { font-size: var(--fs-group); line-height: var(--lh-group); }
.pl-list { list-style: none; margin: var(--s-3) 0 var(--s-4); }
.pl-list li + li { border-top: 1px solid var(--line); }
.pl-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; color: var(--ink); text-decoration: none; }
.pl-n { display: block; font-size: var(--fs-section); line-height: var(--lh-section); font-weight: 700; }
.pl-s { display: block; margin-top: 2px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); }
.pl-go { color: var(--teal-900); }
.pl-row:hover .pl-n { text-decoration: underline; text-underline-offset: 4px; }
.callout { padding: var(--s-6); border-radius: 4px var(--r-in) var(--r-in) 4px; background: var(--canvas); box-shadow: inset 4px 0 0 var(--teal-900), 0 2px 12px rgba(0,0,0,.06); margin-bottom: var(--s-7); }
.callout p { font-size: var(--fs-body); margin-bottom: var(--s-4); }
.ac-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.ac-list { list-style: none; }
.ac-row { display: grid; grid-template-columns: 56px 24px minmax(0, 1fr) auto 20px; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; color: var(--ink); text-decoration: none; }
.ac-row:hover { background: var(--hover); }
.ac-d, .ac-what { font-size: var(--fs-small); color: var(--ink-2); }
.ac-ic { color: var(--teal-900); }
.ac-who { display: block; font-weight: 700; }
.ac-what { display: block; }
.ac-amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.ac-go { color: var(--ink-2); }
.page-in > .home-cols + .home-assess { margin-top: var(--section-gap); }
@media (max-width: 1023px) { .home-cols { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); } .wb-art { display: none; } }
@media (max-width: 479px) { .ac-row { grid-template-columns: 24px minmax(0, 1fr) auto; } .ac-d, .ac-go { display: none; } }
.wb-head { min-height: 220px; padding-bottom: var(--s-6); }
.welcome-band { height: calc(var(--page-top) + 268px); }   /* the pill sits on the band's lower edge */

/* =================================================================
   The quiet home (15 October 2026, Janne chose "go fully Collective Health"): a warm neutral band, Regular-weight titles, white
   and hairlines, one accent (dark teal). The highlights and the assessment become quiet cards: white, a hairline, a small colored
   dot for status instead of colored blocks
   ================================================================= */
.page-in:has(> .welcome-band) { --q-band: #F4EEEA; --q-accent: var(--teal-900); }
.welcome-band { background: var(--q-band); box-shadow: 0 0 0 100vmax var(--q-band); }
.wb-head h1 { font-weight: 400; letter-spacing: -0.01em; }
.wb-line { font-weight: 400; color: var(--ink-2); }
.wb-art { display: none; }
.page-in:has(> .welcome-band) h2, .page-in:has(> .welcome-band) .as-tt { font-weight: 400; }
/* Highlights, quiet */
.page-in:has(> .welcome-band) .hl2 { background: var(--canvas); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); min-height: 180px; }
.page-in:has(> .welcome-band) .hl2-t { font-weight: 400; display: flex; align-items: baseline; gap: var(--s-3); }
.page-in:has(> .welcome-band) .hl2-t::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--q-accent); transform: translateY(-3px); }
.page-in:has(> .welcome-band) .hl2.lime .hl2-t::before { background: var(--attn); box-shadow: 0 0 0 1px var(--attn-edge); }
.page-in:has(> .welcome-band) .hl2.aqua .hl2-t::before { background: var(--teal-300); }
.page-in:has(> .welcome-band) .hl2-p { color: var(--ink-2); }
.page-in:has(> .welcome-band) .hl2-ic { color: var(--ink-2); }
.page-in:has(> .welcome-band) .hl2-go { color: var(--q-accent); font-weight: 400; }
.page-in:has(> .welcome-band) a.hl2:hover { box-shadow: inset 0 0 0 1px var(--q-accent); }
/* Assessment, quiet */
.page-in:has(> .welcome-band) .as-total { background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); }
.page-in:has(> .welcome-band) .as-top { height: 56px; background: none !important; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.page-in:has(> .welcome-band) .as-n { font-weight: 400; }
.page-in:has(> .welcome-band) .as-bar, .page-in:has(> .welcome-band) .as-tbar { height: 4px; background: var(--line); }
.page-in:has(> .welcome-band) .as-bar i, .page-in:has(> .welcome-band) .as-tbar i { background: var(--q-accent); }
.page-in:has(> .welcome-band) .as-card.done .as-p { color: var(--q-accent); font-weight: 400; }
.page-in:has(> .welcome-band) .as-p svg.i { color: var(--q-accent); }
.page-in:has(> .welcome-band) .as-up-ic { background: var(--q-band); color: var(--q-accent); }
/* Lists and links in the accent */
.page-in:has(> .welcome-band) .pl-n { font-weight: 400; }
.page-in:has(> .welcome-band) .ac-who { font-weight: 400; }
.page-in:has(> .welcome-band) .link { color: var(--q-accent); }
.page-in:has(> .welcome-band) .callout { box-shadow: inset 3px 0 0 var(--q-accent), 0 0 0 1px var(--line); }

/* Lightness, space and hierarchy (15 October 2026, Janne: "add much more lightness, more negative space between sections, better
   hierarchy"). Sections 112 apart; section titles at 24 with air under them; cards lose their outlines where a hairline is enough;
   the one main action stays green, the others become white pills */
.page-in:has(> .welcome-band) { --q-gap: 112px; }
.page-in:has(> .welcome-band) > .home-cols, .page-in:has(> .welcome-band) > .home-assess { margin-top: var(--q-gap); }
.page-in:has(> .welcome-band) > .wb-pill + .bento, .page-in:has(> .welcome-band) > .wb-pill + .subnav + .bento { margin-top: 72px; }
.welcome-band { height: calc(var(--page-top) + 300px); }
.wb-head { min-height: 260px; padding-bottom: var(--s-7); }
.wb-head h1 { font-size: 48px; line-height: 56px; }
.home-cols { gap: 96px; }
.home-cols h2, .page-in:has(> .welcome-band) .as-tt { font-size: var(--fs-group); line-height: var(--lh-group); margin-bottom: var(--s-5); }
.ac-head { border-bottom: 0; padding-bottom: 0; }
.ac-head h2 { margin-bottom: var(--s-5); }
.pl-list, .ac-list { border-top: 1px solid var(--line); }
.pl-row, .ac-row { padding: var(--s-5) 0; }
.ac-list li + li { border-top: 1px solid var(--line); }
/* Highlights and assessment cards: no outline, just white on a faint ground */
.page-in:has(> .welcome-band) .hl2, .page-in:has(> .welcome-band) .as-card:not(.upload), .page-in:has(> .welcome-band) .as-total { box-shadow: none; background: #FAF8F6; }
.page-in:has(> .welcome-band) .as-top { border-bottom-color: #EFEAE6; }
.page-in:has(> .welcome-band) .as-total { padding: var(--s-6) 0; background: none; }
.page-in:has(> .welcome-band) .as-cards { margin-top: var(--s-5); gap: 24px; }
.page-in:has(> .welcome-band) .bento { gap: 24px; }
.page-in:has(> .welcome-band) .callout { box-shadow: inset 3px 0 0 var(--q-accent); background: #FAF8F6; margin-bottom: 72px; }
/* One green action per view: the task's; the rest white pills */
.page-in:has(> .welcome-band) .as-card.upload .btn-primary { background: var(--canvas); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.page-in:has(> .welcome-band) .as-card.upload { border-color: var(--line-2); }

/* Truer to the reference (15 October 2026): two columns under the band, the left one tinted to the window's bottom */
.ch-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 112px; margin-top: 64px; }
.ch-left { position: relative; isolation: isolate; padding-bottom: 96px; }
.ch-left::before { content: ""; position: absolute; z-index: -1; inset: -64px -48px -200px -100vmax; background: #FAF8F6; }
.ch-left .pl-list { border-top: 0; margin: 0; }
.ch-left .pl-list li + li { border-top: 1px solid #ECE6E1; }
.ch-ra { margin-top: 56px; }
.ch-ra h2, .ch-right h2 { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: 400; }
.ch-ra > .pl-s { margin-top: var(--s-2); }
.bn-list { display: grid; gap: var(--s-3); margin-top: var(--s-5); list-style: none; }
.bn-card { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-5); background: #F3EEEA; border-radius: 4px; color: var(--ink); text-decoration: none; }
.bn-card:hover { background: #EDE6E0; }
.bn-ic { color: var(--ink-2); }
.bn-n { display: block; font-weight: 700; }
.bn-s { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--ink-2); }
.ch-right .callout { padding: 40px 48px; border-radius: 2px; background: var(--canvas); box-shadow: inset 4px 0 0 #8E92C8, 0 4px 20px rgba(0,0,0,.06); margin: 40px 0 96px; }
.ch-right .co-t { font-size: var(--fs-section) !important; font-weight: 400 !important; }
.ch-right .callout p { margin: var(--s-2) 0 var(--s-5); color: var(--ink-2); }
.ch-right .ac-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.ch-right .ac-head h2 { font-size: var(--fs-group) !important; line-height: var(--lh-group); margin: 0; }
.ch-right .ac-list { border-top: 0; }
.ch-right .ac-list li + li { border-top: 0; }
.wb-head h1 { font-size: 48px; line-height: 56px; }
.wb-line { font-size: 24px; line-height: 32px; color: var(--ink); }
.welcome-band { height: calc(var(--page-top) + 300px); }
@media (max-width: 1023px) { .ch-cols { grid-template-columns: minmax(0, 1fr); gap: 48px; } .ch-left::before { inset: -32px -100vmax -32px -100vmax; } }
.col:has(.ch-cols) { overflow-x: clip; }
.ch-left::before { bottom: 0; }   /* the tint ends with the column, so the footer stays clear */
.page-in:has(> .welcome-band) .ch-right .callout { background: var(--canvas); box-shadow: inset 4px 0 0 var(--q-accent), 0 4px 20px rgba(0,0,0,.06); }

/* =================================================================
   Version 11 home (15 October 2026), after Collective Health's employer screens: simplicity, line icons, white space, few
   colors. A plain title and two buttons (a white pill, a dark pill); two pale figure cards; sections with an icon and a title,
   holding a ring with its legend or a table between hairlines. Labels sit under figures (the house rule), never above
   ================================================================= */
.v11-head h1 { font-weight: 400; font-size: 32px; line-height: 40px; }
.v11-sec { background: var(--canvas); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.08), inset 0 0 0 1px var(--line); }
.v11-pri { background: #333; color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.v11-pri:hover { background: #1f1f1f; color: #fff; }
.v11-note { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-7); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.v11-note p { flex: 1; color: var(--ink-2); }
.v11-note b { color: var(--ink); font-weight: 700; }
.dotm { width: 10px; height: 10px; border-radius: 50%; background: var(--attn); box-shadow: 0 0 0 1px var(--attn-edge); flex: none; }
.v11-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.sc { padding: 32px 36px; border-radius: 6px; background: #F1F5F3; }
.sc h2 { font-size: var(--fs-small) !important; line-height: var(--lh-small) !important; font-weight: 700 !important; }
.sfs { display: flex; gap: 56px; margin-top: var(--s-5); }
.sf b { display: block; font-size: 32px; line-height: 40px; font-weight: 400; color: var(--teal-900); font-variant-numeric: tabular-nums; }
.sf b + span { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--ink-2); }
.sf:not(:first-child) b { font-size: 20px; line-height: 40px; }
.v11-sec-b { margin-top: 112px; }
.v11-sec-b > h2 { display: flex; align-items: center; gap: var(--s-3); font-size: 24px !important; line-height: 32px; font-weight: 400 !important; }
.v11-sec-b > h2 svg.i { width: 24px; height: 24px; color: var(--ink); }
.v11-sub { margin-top: var(--s-2); color: var(--ink-2); }
.v11-split { display: grid; grid-template-columns: 200px 1fr; gap: 64px; align-items: center; margin-top: 40px; }
.ringbox .cover-sum { padding: 0; background: none; }
.ringbox .cs-legend, .ringbox .btn { display: none; }
.ringbox .cs-ring { width: 150px; height: 150px; }
.lgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.lg i { display: block; width: 20px; height: 3px; border-radius: 2px; margin-bottom: var(--s-3); }
.lg b { display: block; font-weight: 400; font-size: 20px; line-height: 28px; }
.lg span { display: block; font-size: var(--fs-small); color: var(--ink-2); }
.v11-t { width: 100%; margin-top: 40px; border-collapse: collapse; }
.v11-t th { padding: 0 0 var(--s-3); text-align: left; font-size: var(--fs-small); font-weight: 400; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.v11-t th:last-child, .v11-t td:last-child { text-align: right; }
.v11-t td { padding: 20px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.v11-t td a { color: var(--ink); text-decoration: none; }
.v11-t td a:hover { text-decoration: underline; text-underline-offset: 4px; }
.v11-t td span { display: block; font-size: var(--fs-small); color: var(--ink-2); }
.v11-t td.d { width: 96px; font-size: var(--fs-small); color: var(--ink-2); }
.v11-t td.bar { width: 40%; }
.mbar { display: block; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.mbar i { display: block; height: 100%; background: var(--teal-900); }
@media (max-width: 767px) { .v11-stats, .v11-split { grid-template-columns: 1fr; } .lgs { grid-template-columns: 1fr 1fr; } .sfs { gap: 28px; flex-wrap: wrap; } .v11-t td.bar { width: 30%; } }

/* The numbers card (15 October 2026, after a football stats card): three figures in one outlined row, the chosen one tinted with
   an accent edge; a bar chart under them with light grid lines, a dashed average and a legend */
.nums { margin-top: 48px; padding: 32px; border-radius: 20px; background: var(--canvas); box-shadow: 0 2px 24px rgba(0,0,0,.06), inset 0 0 0 1px var(--line); }
.ncells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); }
.nc { display: grid; gap: 2px; padding: 16px 20px; text-align: left; border-radius: 12px; }
.nc + .nc { box-shadow: inset 1px 0 0 var(--line-2); border-radius: 0 12px 12px 0; }
.nc:nth-child(2) { border-radius: 0; }
.nc[aria-pressed="true"] { background: #EEF6F5; box-shadow: inset 0 0 0 2px var(--teal-900); border-radius: 12px; }
.nc b { font-size: 32px; line-height: 40px; font-weight: 400; font-variant-numeric: tabular-nums; }
.nl { font-weight: 700; }
.ns { font-size: var(--fs-small); color: var(--ink-2); }
.nc:hover:not([aria-pressed="true"]) { background: var(--card); }
.nchart { display: block; width: 100%; height: auto; margin-top: 32px; overflow: visible; }
.nchart .g { stroke: var(--line); stroke-width: 1; }
.nchart .gl, .nchart .xl { font-size: 12px; fill: var(--ink-2); font-family: var(--font); }
.nchart .xl { text-anchor: middle; }
.nchart rect { fill: var(--teal-900); }
.nchart rect.now { fill: var(--teal-300); }
.nchart .avg { stroke: #E08A3C; stroke-width: 2; stroke-dasharray: 4 5; }
.nlegend { display: flex; gap: 24px; margin-top: 16px; font-size: var(--fs-small); color: var(--ink-2); }
.nlegend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-900); }
.sw.now { background: var(--teal-300); }
.sw.avg { width: 16px; height: 0; border-radius: 0; border-top: 2px dashed #E08A3C; background: none; }
@media (max-width: 639px) { .ncells { grid-template-columns: 1fr; } .nc + .nc { box-shadow: inset 0 1px 0 var(--line-2); border-radius: 0; } .nums { padding: 20px; } }

/* Numbers card, closer to the reference: a title and a segmented control above, Bold figures, slimmer bars with rounded tops,
   more air, a softer card */
.nums { padding: 36px 40px 32px; border-radius: 28px; box-shadow: 0 8px 40px rgba(0,0,0,.06); }
.nhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.nhead h2 { font-size: var(--fs-section) !important; font-weight: 400 !important; }
.nseg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--card); }
.nseg button { padding: 8px 18px; border-radius: 9px; color: var(--ink-2); }
.nseg button[aria-pressed="true"] { background: var(--canvas); color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.nc b { font-weight: 700; font-size: 28px; line-height: 36px; }
.nl { font-weight: 400; color: var(--ink); }
.nchart { margin-top: 40px; }
.nchart path { fill: var(--teal-900); }
.nchart path.now { fill: var(--teal-300); }
.nchart .gl, .nchart .xl { font-size: 13px; }

/* ---------- The side menu, always open (15 October 2026) ----------
   Janne: "make the side navigation all the time visible too. u may have too many categories". From 1024 the labeled menu
   is a fixed column under the app bar, in place of the icon rail and its drawer. Five sections in her words (Home, Your
   insurance, Claims, Payments, Messages), then Buy a policy and Search; help and the language moved to the profile menu. */
@media (min-width: 1024px) {
  .shell { grid-template-columns: var(--nav-w) minmax(0, 1fr); }
  .mini, .drawer-scrim, .rail .drawer-x { display: none !important; }
  .rail { grid-column: 1; grid-row: 2; position: sticky; top: var(--appbar-h); z-index: 30; width: auto; height: calc(100vh - var(--appbar-h)); visibility: visible; opacity: 1; transform: none; box-shadow: none; transition: none; padding: var(--s-5) var(--s-3); }
  .rail .nav { margin-top: 0; gap: 4px; }
  .rail .nav-2 { margin-top: var(--s-5); }
  .rail .rail-lang { display: none; }
}

/* ---------- Simple and visual: Your insurance and Claims (15 October 2026) ----------
   Janne: "policies and claims should be simple and visual", after Collective Health's condition page; and "this style of
   comparing u to others in ur industry" (grouped bars). app/visual.js. */
.vz-band { position: relative; display: grid; gap: var(--s-6); margin: 0 0 var(--s-8); padding: var(--s-7) var(--s-7) var(--s-7); padding-right: 240px; border-radius: var(--r-lg); background: var(--teal-50); overflow: hidden; }
.vz-bt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.vz-bt h1 { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 400; }
.vz-act { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.vz-figs { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-8); margin: 0; }
.vz-figs dd { display: grid; gap: 4px; margin: 0; }
.vz-figs b { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 400; font-variant-numeric: tabular-nums; }
.vz-figs span { color: var(--ink-2); }
.vz-art { position: absolute; right: var(--s-6); bottom: var(--s-5); }
.vz-art img { width: 160px; height: 160px; }
@media (max-width: 767px) { .vz-band { padding: var(--s-6) var(--s-5); } .vz-art { display: none; } }
.vz-sec { margin-top: var(--s-8); }
.vz-sec > h2 { font-size: var(--fs-group); line-height: var(--lh-group); }
.vz-sec > h2 + * { margin-top: var(--s-4); }
.vz-why { margin-top: var(--s-1) !important; color: var(--ink-2); max-width: 64ch; }
.vz-why + * { margin-top: var(--s-5); }
.vz-pcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap-cards); }
.vz-pc { position: relative; display: flex; flex-direction: column; gap: var(--s-2); height: 100%; padding: var(--s-5); border-radius: var(--r-lg); background: var(--card); color: var(--ink); text-decoration: none; transition: background-color var(--t-hover); }
a.vz-pc:hover { background: var(--hover); }
.vz-pa { margin-bottom: var(--s-3); }
.vz-pa img { width: 96px; height: 96px; }
.vz-pn { font-size: var(--fs-section); line-height: var(--lh-section); }
.vz-pl { color: var(--ink-2); }
.vz-pp { margin-top: auto; padding-top: var(--s-3); color: var(--ink-2); }
.vz-pp b { color: var(--ink); font-size: var(--fs-section); }
.vz-pt .pline { margin: 0; }
.vz-add { background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line-2); }
.vz-add .vz-pa { opacity: .55; }
.vz-buy { position: absolute; top: var(--s-5); right: var(--s-5); font-weight: 700; color: var(--green-text); }
.vz-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s-3); }
.vz-kind { display: flex; align-items: center; gap: var(--s-3); min-height: 64px; padding: var(--s-3) var(--s-4); border-radius: var(--r-lg); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; transition: background-color var(--t-hover); }
.vz-kind:hover { background: var(--hover); }
.vz-ki { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--canvas); }
.vz-ki svg.i { width: 24px; height: 24px; }
.vz-pair { margin: 0; }
.vz-pair svg { display: block; width: 100%; height: auto; }
.vz-grid line { stroke: var(--line); stroke-width: 1; }
.vz-yl, .vz-xl { fill: var(--ink-2); font-size: 14px; font-family: inherit; }
rect.vz-you, i.vz-you { fill: var(--teal-300); background: var(--teal-300); }
rect.vz-them, i.vz-them { fill: var(--teal-900); background: var(--teal-900); }
.vz-legend { display: flex; gap: var(--s-5); margin-bottom: var(--s-3); color: var(--ink-2); }
.vz-legend span { display: inline-flex; align-items: center; gap: var(--s-2); }
.vz-legend i { width: 12px; height: 12px; border-radius: 3px; }
/* On a phone the chart keeps its type at 14: it scrolls sideways inside its own frame instead of shrinking */
@media (max-width: 767px) { .vz-pair { overflow-x: auto; } .vz-pair svg { min-width: 720px; } }

/* ---------- Navigation, combined with the Figma file (16 October 2026) ----------
   Janne: "try combining the styles of earlier references and these". From Fennia's current portal (Figma, B2B portal): the
   top bar with languages and the profile on the right, the company at the top of a gray side menu with "Switch company".
   From the references: the menu always open, five sections in her words, the current page a white pill, no underlines. */
.appbar .ab-r { display: none; }
@media (min-width: 1024px) {
  .appbar { justify-content: space-between; }
  .appbar .ab-r { display: flex; align-items: center; gap: var(--s-5); }
  .appbar .rail-lang { display: flex; margin: 0; padding: 0; }
  .ab-prof { display: inline-flex; align-items: center; gap: var(--s-2); height: 40px; padding: 0 var(--s-3) 0 4px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
  .ab-prof:hover { background: var(--hover); }
  .ab-prof .avatar { width: 32px; height: 32px; font-size: var(--fs-xs); background: var(--card-green); }
  .ab-prof svg.i { width: 16px; height: 16px; }
  .rail { background: var(--rail-bg); border-right: 0; }
  .rail .nav-item[aria-current], .rail .nav-item[aria-current]:hover { background: var(--canvas); font-weight: 700; }
  .rail-co { display: grid; gap: 2px; margin: 0 var(--s-2) var(--s-5); padding: var(--s-4); border-radius: var(--r-in); background: var(--canvas); }
  .rail-co b { font-weight: 700; }
  .rail-co span { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); }
  .rail-co .link { margin-top: var(--s-2); font-size: var(--fs-small); line-height: var(--lh-small); }
  .rail .rail-foot { display: none; }
}

/* ---------- Home (16 October 2026): Fennia's band, made light ---------- */
.hm-band { position: relative; display: grid; gap: var(--s-6); padding: var(--s-7); padding-right: 300px; border-radius: var(--r-lg); background: var(--card-green); overflow: hidden; }
.hm-bt { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s-5); }
.hm-bt h1 { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 400; }
.hm-line { margin-top: var(--s-2); max-width: 48ch; color: var(--ink); }
.hm-task { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); border-radius: var(--r-in); background: var(--canvas); }
.hm-task > div { flex: 1 1 260px; }
.hm-task p { color: var(--ink-2); }
.hm-task .hm-tt { color: var(--ink); font-weight: 700; }
.hm-ti { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--attn); }
.hm-ti svg.i { width: 24px; height: 24px; }
.hm-art { position: absolute; right: -40px; top: -60px; width: 340px; pointer-events: none; }
.hm-art img { width: 340px; height: auto; display: block; }
@media (max-width: 1279px) { .hm-band { padding-right: var(--s-7); } .hm-art { display: none; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { .hm-band { padding-right: var(--s-7); } .hm-art { display: none; }}
@media (max-width: 767px) { .hm-band { padding: var(--s-6) var(--s-5); } }
.hm-sh { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); }
.hm-sh h2 { font-size: var(--fs-group); line-height: var(--lh-group); }
.hm-sh + * { margin-top: var(--s-4); }
.hm-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
@media (max-width: 1023px) { .hm-two { grid-template-columns: minmax(0, 1fr); } }
.hm-list { display: grid; }
.hm-list a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); min-height: 64px; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hm-list a:hover { background: var(--hover); }
.hm-list a > span:nth-child(2) { display: grid; }
.hm-list a > span:nth-child(2) span { color: var(--ink-2); font-size: var(--fs-small); line-height: var(--lh-small); }
.hm-d { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hm-a { font-variant-numeric: tabular-nums; }
#hm-ra ~ .hm-list a, section:has(#hm-ra) .hm-list a { grid-template-columns: minmax(0, 1fr) minmax(80px, 160px) 56px; }
.hm-art { right: var(--s-7); top: auto; bottom: var(--s-6); width: 200px; }
.hm-art img { width: 200px; height: 200px; }
.hm-band { padding-right: 280px; }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1280px) { @container app (min-width: 1280px) { section:has(#hm-pol) .vz-pcs { grid-template-columns: repeat(5, minmax(0, 1fr)); } } }
/* On a phone a policy card is a row: the illustration at 64 beside the name (the Figma card's mobile variant, improved) */
@media (max-width: 639px) {
  .vz-pcs { gap: var(--s-2); }
  .vz-pc { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--s-4); row-gap: 2px; padding: var(--s-4); }
  .vz-pa { grid-row: 1 / span 3; margin: 0; } .vz-pa img { width: 64px; height: 64px; }
  .vz-pp { margin: 0; padding-top: var(--s-1); }
  .vz-buy { top: var(--s-4); right: var(--s-4); }
}

/* ---------- More air (16 October 2026) ----------
   Janne: "u need to use more space: more margins (too many cards in a row now), more space between sections". Narrower
   content with wider margins, three cards at most in a row, 96 between sections. */
@media (min-width: 1024px) { :root { --content-max: 1080px; --page-x: 80px; } }
.vz-sec { margin-top: var(--s-9); }
.vz-band, .hm-band { margin-bottom: 0; }
.vz-pcs { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s-5); }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1280px) { @container app (min-width: 1280px) { section:has(#hm-pol) .vz-pcs { grid-template-columns: repeat(3, minmax(0, 1fr)); } } }
.hm-two { gap: var(--s-8); }

/* Calmer bands (16 October 2026, Janne: "u use illustrations in too large size", "u have too many things here"): one figure,
   one button, the illustration at 96 */
.vz-band { padding-right: var(--s-7); }
.vz-art, .hm-art { right: var(--s-7); bottom: var(--s-7); top: auto; width: 96px; }
.vz-art img, .hm-art img { width: 96px; height: 96px; }
.hm-band { padding-right: var(--s-7); }
.hm-task { margin-right: 128px; }
@media (max-width: 1279px) { .hm-task { margin-right: 0; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { .hm-task { margin-right: 0; }}
.vz-more { margin-top: var(--s-5); }
.vz-pa img { width: 64px; height: 64px; }

/* ---------- An open claim (16 October 2026) ---------- */
.oc-list { display: grid; gap: var(--s-4); }
.oc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: var(--s-3); padding: var(--s-3); border-radius: var(--r-lg); background: var(--card); }
.oc-main { padding: var(--s-4); }
.oc-main h3 { font-size: var(--fs-section); line-height: var(--lh-section); }
.oc-main h3 a { color: var(--ink); text-decoration: none; }
.oc-main h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.oc-meta { margin-top: var(--s-1); color: var(--ink-2); }
.oc-step { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); color: var(--ink-2); }
.oc-step b { color: var(--ink); font-weight: 700; }
.oc-dots { display: inline-flex; gap: 6px; }
.oc-dots i { width: 24px; height: 6px; border-radius: 3px; background: var(--track); }
.oc-dots i.done, .oc-dots i.now { background: var(--green); }
.oc-do { display: grid; align-content: start; justify-items: start; gap: var(--s-2); padding: var(--s-5); border-radius: var(--r-in); background: var(--attn); }
.oc-do.quiet { background: var(--canvas); }
.oc-due { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 700; }
.oc-due svg.i { width: 20px; height: 20px; }
.oc-do .btn { margin-top: var(--s-2); }
.oc-none { color: var(--ink-2); }
@media (max-width: 767px) { .oc { grid-template-columns: minmax(0, 1fr); } }
.oc-do { background: var(--card-lime); } .oc-due svg.i { color: var(--ink); }

/* ---------- Lists, after Fin's open roles (16 October 2026) ---------- */
.inv-list { border-top: 1px solid var(--line); }
.fl-g { border-bottom: 1px solid var(--line); }
.fl-g > summary { display: flex; align-items: center; justify-content: space-between; min-height: 72px; list-style: none; cursor: pointer; }
.fl-g > summary::-webkit-details-marker { display: none; }
.fl-g > summary:hover .fl-gt { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.fl-gt { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: -0.01em; }
.fl-gt sup { margin-left: 6px; font-size: var(--fs-xs); line-height: 0; color: var(--ink-2); vertical-align: super; }
.fl-g > summary svg.i { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.fl-g[open] > summary svg.i { transform: rotate(180deg); }
.fl-g ul { padding-bottom: var(--s-4); }
.fl-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 120px 96px; align-items: center; gap: var(--s-4); min-height: 56px; padding: 0 var(--s-3); border-radius: var(--r-in); color: var(--ink); text-decoration: none; }
.fl-row:hover { background: var(--hover); }
.fl-m, .fl-s { color: var(--ink-2); }
.fl-v { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .fl-row { grid-template-columns: minmax(0, 1fr) auto; } .fl-m, .fl-s { display: none; } }

/* Fin's list strokes, measured (16 October 2026): each group row 64 high with a 1px rule (#D3CEC6) that turns black on hover;
   the rows inside it have no rules. And taller cards with more air (Janne: "the cards themselves should have more negative
   space. they should be taller") */
.inv-list { border-top: 1px solid var(--rule); }
.fl-g { border-bottom: 1px solid var(--rule); transition: border-color .15s var(--ease); }
.fl-g:hover { border-bottom-color: var(--ink); }
.fl-g > summary { min-height: 64px; }
.fl-g > summary:hover .fl-gt { text-decoration: none; }
.fl-row { min-height: 54px; }
.vz-pc { padding: var(--s-6); min-height: 340px; }
.vz-pa { margin-bottom: var(--s-7); }
.vz-pn { margin-top: auto; }
.vz-pp { margin-top: var(--s-6); padding-top: 0; }
@media (max-width: 639px) { .vz-pc { min-height: 0; padding: var(--s-5); } .vz-pa { margin: 0; } .vz-pn { margin-top: 0; } .vz-pp { margin-top: var(--s-2); } }
/* The company card in the side menu carries Fennia's Profile illustration (Illustrations, Property/Profile; 16 October 2026) */
.rail-co .rc-art { width: 48px; height: 48px; margin-bottom: var(--s-3); }
/* A policy she doesn't have (16 October 2026, Janne: "dont fade the card. but use stroke w gabs"): full-color illustration, a
   dashed 1.5px edge, white */
.vz-add { box-shadow: none; border: 1.5px dashed var(--line-2); background: var(--canvas); }
.vz-add .vz-pa { opacity: 1; }
.vz-add:hover { border-color: var(--ink-2); background: var(--canvas); }
.vz-add { border: 2px dashed var(--dash); }

/* ---------- The home hero (16 October 2026) ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 400px; padding: var(--s-8) var(--s-7); border-radius: var(--r-lg); background: var(--teal-900); color: var(--inverse-ink, #fff); overflow: hidden; }
.hero-tx { position: relative; z-index: 1; max-width: 520px; }
.hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 400; color: inherit; }
.hero p { margin-top: var(--s-3); font-size: var(--fs-section); line-height: var(--lh-section); color: inherit; opacity: .9; }
.hero .btn { margin-top: var(--s-6); }
.hero-btn { background: var(--canvas); color: var(--ink); }
.hero-btn:hover { background: var(--card-green); }
.hero-art { position: absolute; right: -24px; top: 50%; width: 300px; height: auto; transform: translateY(-50%); }
@media (max-width: 1023px) { .hero-art { width: 220px; right: -80px; opacity: .35; } }
@media (max-width: 639px) { .hero { min-height: 0; padding: var(--s-6) var(--s-5); } .hero-art { display: none; } }
/* Full width, not a card (Janne: "u had earlier references how the heros should look like: full width. not a card"): the hero
   runs edge to edge of the page column, flush under the app bar, like the Figma portal's green band and Collective Health's
   header; its text stays on the content's left edge */
.hero { --bleed: calc((100vw - var(--nav-w) - 100%) / 2); margin: calc(-1 * var(--page-top)) calc(-1 * var(--bleed)) 0; padding: var(--s-9) var(--bleed); border-radius: 0; min-height: 440px; }
.hero-art { right: calc(var(--bleed) - 24px); }
@media (max-width: 1023px) { .hero { --bleed: var(--page-x); margin: calc(-1 * var(--page-top)) calc(-1 * var(--page-x)) 0; } }
/* The hero in Fennia green, and lower (16 October 2026, Janne: "dont use teal, not fennia color. make narrower") */
.hero { background: var(--green); min-height: 0; padding-top: var(--s-8); padding-bottom: var(--s-8); }
.hero-btn { color: var(--green-text); }
.hero-art { width: 220px; }
/* Lower still (Janne: "not that tall") */
.hero { padding-top: var(--s-6); padding-bottom: var(--s-6); }
.hero p { margin-top: var(--s-2); }
.hero .btn { margin-top: var(--s-4); }
.hero-art { width: 160px; }
.hero-art { display: none; }   /* too small to read at this height; the hero is the words and the button */
/* What needs her, under the hero: one line, the lime clock, the action on the right */
.hm-todo { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-7); padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: var(--card-lime); }
.hm-todo p { flex: 1 1 320px; }
.hm-todo b { font-weight: 700; }
.hm-todo + .vz-sec { margin-top: var(--s-8); }

/* ==========================================================================================================================
   TYPE, AFTER FIN.AI (16 October 2026)
   Janne: "your usage of font sizes is wacky. can u copy the style from fin.ai on those pages i liked? and apply the style to
   all elements". Measured on fin.ai/about and /careers/listings: everything Regular (no Bold), tight negative tracking that
   grows with size, headings set solid (line-height about 1), and few sizes: 40 for a section, 28 for a lead paragraph, 20 for a
   card or person, 18 for a list row, 16 body, 14 small. Fennia Sans stands in for their Saans. One rule for every element,
   placed last so it wins over the older layers.
   ========================================================================================================================== */
:root {
  --fs-display: 40px; --lh-display: 44px;   /* page title */
  --fs-title: 40px;   --lh-title: 44px;
  --fs-group: 28px;   --lh-group: 32px;     /* section title */
  --fs-hero: 28px;    --lh-hero: 32px;
  /* --fs-lead is not set here (system fixer, 17 October 2026): tokens.css's 16/24 holds, the line under a title is reading text */
  --fs-section: 20px; --lh-section: 24px;   /* card title */
  --fs-row: 18px;     --lh-row: 22px;       /* list rows */
  --fs-body: 16px;    --lh-body: 24px; --lh-ui: 24px;
  --fs-small: 14px;   --lh-small: 20px;
  --fs-xs: 12px;      --lh-xs: 16px;
  --track-xl: -0.03em; --track-l: -0.02em; --track-m: -0.01em;
}
#app, #app * { font-weight: 400 !important; }
#app h1, .vz-bt h1, .hm-bt h1, .hero h1, .head h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--track-xl); }
#app h2, .vz-sec > h2, .hm-sh h2 { font-size: var(--fs-group); line-height: var(--lh-group); letter-spacing: var(--track-xl); }
#app h3, .vz-pn, .oc-main h3 { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: var(--track-l); }
.hero p, .vz-why, .hm-line { letter-spacing: var(--track-m); }
.hero p { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.vz-figs b, .vz-pp b, .nc b, .nums b { letter-spacing: var(--track-l); }
.vz-figs b { font-size: var(--fs-display); line-height: var(--lh-display); }
.vz-pp b { font-size: var(--fs-section); }
.fl-gt { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: var(--track-l); }
.fl-row, .hm-list a, .vz-kind, .nav-item, .rail .nav-item { font-size: var(--fs-body); letter-spacing: var(--track-m); }
.btn { letter-spacing: var(--track-m); }
.oc-due, .hm-todo b, .rail-co b { letter-spacing: var(--track-m); }
.nhead > :first-child { font-size: var(--fs-group) !important; line-height: var(--lh-group) !important; letter-spacing: var(--track-xl); }
.nc b { font-size: var(--fs-group) !important; line-height: var(--lh-group) !important; }

/* All heroes full width (16 October 2026); the hero's button sits on its right, its figure in the lead size */
.hero { justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.hero-fig { margin-top: var(--s-2); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.hero-fig b { color: inherit; }
.hero + .vz-sec { margin-top: var(--s-8); }
/* No focus ring on a heading that only takes focus when the page loads (it showed as a box around every page title) */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none !important; box-shadow: none !important; }
#app :is(h1, h2, main):focus { outline: none !important; }
.hero { padding-top: var(--s-8); padding-bottom: var(--s-8); }   /* more air in the hero (Janne: "too narrow"): 64 top and bottom */

/* ---------- A policy page, after the Figma L3 Policy page (16 October 2026) ---------- */
.hero-back { display: inline-flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-3); color: inherit; text-decoration: none; opacity: .9; }
.hero-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-back svg.i { width: 20px; height: 20px; }
.hero-act { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-btn2 { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.hero-btn2:hover { background: rgba(255, 255, 255, .12); }
.pf-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--s-7); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pf-row li { display: grid; gap: 4px; padding: var(--s-5) var(--s-4); border-left: 1px solid var(--rule); }
.pf-row li:first-child { border-left: 0; padding-left: 0; }
.pf-row b { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: var(--track-l); }
.pf-row span { color: var(--ink-2); font-size: var(--fs-small); }
@media (max-width: 767px) { .pf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-row li:nth-child(3) { border-left: 0; padding-left: 0; } }
.psum { margin-top: var(--s-8); border-radius: var(--r-lg); background: var(--card); }
.psum-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: var(--s-6); padding: var(--s-6); }
.psum-art img { width: 64px; height: 64px; }
.psum-head h2 { font-size: var(--fs-group); line-height: var(--lh-group); }
.psum-lv p { color: var(--green-text); }
.lvbar { display: flex; gap: 4px; margin-top: var(--s-2); }
.lvbar i { width: 58px; height: 8px; border-radius: 4px; background: var(--track); }
.lvbar i.on { background: var(--green); }
.psum-pr p { color: var(--ink-2); }
.psum-pr b { font-size: var(--fs-section); }
@media (max-width: 899px) { .psum-head { grid-template-columns: 64px minmax(0, 1fr); } .psum-lv, .psum-pr { grid-column: 2; } }
.psum-cov { padding: 0 var(--s-6) var(--s-6); }
.psum-cov > p { color: var(--ink-2); }
.psum-cov ul { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); }
.pc-chip { display: inline-flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid #DDD; border-radius: 8px; background: var(--canvas); font-size: var(--fs-small); }
.pc-chip svg.i { width: 24px; height: 24px; }
.pc-inf { display: inline-flex; margin-left: var(--s-2); color: var(--ink-2); }
.psum-more { border-top: 1px solid #CFD1CC; }
.psum-more > summary { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 56px; color: var(--green-text); list-style: none; cursor: pointer; }
.psum-more > summary::-webkit-details-marker { display: none; }
.psum-more > summary svg.i { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.psum-more[open] > summary svg.i { transform: rotate(180deg); }
.psum-t { width: calc(100% - 2 * var(--s-6)); margin: 0 var(--s-6) var(--s-6); border-collapse: collapse; }
.psum-t th, .psum-t td { padding: var(--s-4); border-bottom: 1px solid #DDD; text-align: left; vertical-align: top; width: 50%; }
.psum-t th { color: var(--ink); }
.psum + * { margin-top: var(--s-8); }

/* Documents as horizontal cards stacked in a list (16 October 2026, Janne: "like those cards, but more in a list ... horizontal
   cards that are stacked up"): one white card per row, the file icon on the left, the name over what it belongs to, the type
   and the menu on the right */
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) !important; gap: var(--s-2); }
.doc-grid .doc-card { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 32px; grid-template-areas: "ic n t m" "ic k t m"; align-items: center; column-gap: var(--s-4); row-gap: 2px; min-height: 0; padding: var(--s-4) var(--s-5); }
.doc-grid .doc-card .dc-ic { grid-area: ic; position: static; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--card); }
.doc-grid .doc-card .dc-n { grid-area: n; margin: 0; font-size: var(--fs-body) !important; line-height: var(--lh-body) !important; }
.doc-grid .doc-card .dc-more { grid-area: m; position: static; }
.doc-grid .doc-card > :is(.dc-k, .dc-meta, p, .dc-foot) { grid-area: k; margin: 0; }
.doc-grid .doc-card .dc-t { grid-area: t; }
.doc-grid .doc-card .dc-foot { display: contents; }
.doc-grid .doc-card .dc-k { grid-area: k; color: var(--ink-2); font-size: var(--fs-small); white-space: normal; overflow: visible; }
.doc-grid .doc-card .dc-t { grid-area: t; color: var(--ink-2); font-size: var(--fs-small); }
.doc-grid .doc-card .dc-menu { grid-column: 1 / -1; }

/* Fin's list, exactly (16 October 2026) */
.fl-g > summary { min-height: 64px; padding: 16px 0; }
.fl-gt { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: -0.03em; color: var(--ink); }
.fl-c { position: relative; top: -7px; margin-left: 6px; font-size: var(--fs-small); color: rgba(0, 0, 0, .8); letter-spacing: 0; }
.fl-tri { width: 24px; height: 24px; color: var(--ink); transition: transform .2s var(--ease); }
.fl-g[open] .fl-tri { transform: rotate(180deg); }
.fl-g ul { padding-bottom: var(--s-3); }
.fl-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 0; padding: 16px 0; border-radius: 0; color: var(--ink); letter-spacing: -0.01em; }
.fl-row:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fl-row > span { color: var(--ink); }
/* Closer to Fin's open list (side by side, 16 October 2026): pure black text, the rows tight under their year (12 above and
   below, as Fin under 1024 wide), the year row 64 with the triangle on the text's line */
.inv-list, .inv-list * { color: #000; }
.fl-g > summary { padding: 12px 0; min-height: 0; }
.fl-g ul { padding: 0 0 var(--s-4); }
.fl-row { padding: 12px 0; font-size: 16px; line-height: 20px; }
.fl-c { color: rgba(0, 0, 0, .8); }
/* Fin's closed rows at desktop width: the group name about 24, rows about 56 apart on a clay rule */
@media (min-width: 1024px) { .fl-gt { font-size: 24px; line-height: 24px; } .fl-g > summary { padding: 16px 0; } }

/* ---------- Forms, after fin.ai's demo form (16 October 2026) ----------
   Janne: "Copy also this style when you're filling the forms." Measured from his screenshot: the label above the field in 16
   Regular black; the field a warm sand fill (#F3F2EE) with a 1px gray edge (#8C8A84), 4px corners, about 52 high, 16 inside,
   the placeholder in gray; choices as white boxes with the same edge and corners, side by side and wrapping; the main button
   full width, black, 48 high with 6px corners (Fennia green here); the checkbox a sand square with the gray edge. */
.field label, .cv-field label, .ce-field label, fieldset legend, .as-group legend h2 { font-size: var(--fs-body) !important; line-height: var(--lh-body) !important; color: #000; letter-spacing: var(--track-m); }
.field input, .field textarea, .field select, .cv-field input, .ce-field input, .ce-field select, .ce-field textarea, #app input[type="text"], #app input[type="email"], #app input[type="tel"], #app input[type="date"], #app input[type="search"], #app textarea, #app select {
  min-height: 52px; padding: 14px 16px; border: 1px solid var(--field-line) !important; border-radius: 4px !important; background: var(--field-bg) !important; box-shadow: none !important; font-size: 18px; line-height: 24px; color: #000; }
#app input::placeholder, #app textarea::placeholder { color: #6E6C66; }
#app input:focus, #app textarea:focus, #app select:focus { outline: 2px solid #000 !important; outline-offset: 0; }
.choice, .cf-choice, .as-opt, .buy-card { border-radius: 4px !important; box-shadow: none !important; border: 1px solid var(--field-line); background: var(--canvas); }
.choice:hover, .cf-choice:hover, .as-opt:hover { border-color: #000; background: var(--canvas); }
.choice:has(input:checked), .cf-choice:has(input:checked), .as-opt.on, .buy-card:has(input:checked) { border-color: #000; box-shadow: inset 0 0 0 1px #000 !important; background: var(--field-bg) !important; font-weight: 400 !important; }
.cbox { width: 24px; height: 24px; border-radius: 3px; background: var(--field-bg); box-shadow: inset 0 0 0 1px var(--field-line); }
.cbox:checked { background: #000; box-shadow: none; }
/* The main button in a flow: full width, 48 high, 6px corners */
.as-foot-bar .btn-primary, #cf-next, .ob-foot .btn-primary, .flow-foot .btn-primary, form .btn-primary { min-height: 44px; }   /* buttons are 44 px pills (was 48) */

/* Invoice rows: number, what for, amount, due date, state (16 October 2026) */
.fl-inv { grid-template-columns: 1.1fr 1.6fr 1fr 1fr 1.1fr; align-items: center; column-gap: var(--s-4); }
.fl-amt { text-align: right; padding-right: var(--s-6); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) { .fl-inv { grid-template-columns: minmax(0, 1fr) auto auto; } .fl-inv > span:nth-child(1), .fl-inv > span:nth-child(4) { display: none; } }
/* State tags: a soft fill, the word and an icon, never a dot. Paid green, open lime, overdue red */
.stag { display: inline-flex; align-items: center; justify-self: start; gap: 6px; height: 28px; padding: 0 12px 0 8px; border-radius: 999px; font-size: var(--fs-small); line-height: 1; text-decoration: none !important; }
.stag svg.i { width: 16px; height: 16px; }
.inv-list .stag.paid, .stag.paid { background: #E6FAE7; color: #00700B !important; }
.inv-list .stag.paid svg.i { color: #008A28 !important; }
.inv-list .stag.open, .stag.open { background: #F4F8B4; color: #3D4200 !important; }
.inv-list .stag.late, .stag.late { background: #FDE5E1; color: #A3241A !important; }
.inv-list .stag svg.i, .inv-list .stag * { color: inherit; }

/* The documents section on white, like the wealth app's vault (16 October 2026, Janne's screenshot): no gray container; each
   document a white card with a soft shadow and a hairline; Recent changes in a plain column beside, each change an icon in a
   pale circle, the words, and the time under them */
.docs-panel { background: transparent !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.doc-grid .doc-card { background: var(--canvas); border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 2px 8px rgba(0, 0, 0, .06); }
.doc-grid .doc-card:hover { box-shadow: 0 0 0 1px var(--line-2), 0 4px 16px rgba(0, 0, 0, .08); }
.doc-grid .doc-card .dc-ic { background: transparent; color: var(--green); }
.doc-grid .doc-card .dc-ic svg.i { width: 32px; height: 32px; }
.docs-changes .ch-ic { background: var(--card); border-radius: 50%; }
.psum + .docs-panel, .docs-panel { margin-top: var(--s-8); }

/* Hover is always Fennia's green wash (16 October 2026, Janne: "the hover effect ... should always be this kind of green
   shade, so in the invoices, I would also prefer that"): the invoice rows and the year rows take it too */
.fl-row:hover, .fl-g > summary:hover { background: var(--hover) !important; text-decoration: none !important; }
.fl-row { padding-left: var(--s-3); padding-right: var(--s-3); margin: 0 calc(-1 * var(--s-3)); border-radius: 8px; }

/* The side menu stands apart from the page's text (Janne: "it should have a bit of a different font or a different font size
   ... now it looks very similar to the texts"): the five sections at 18 Bold with no tracking, the second group at 16 Regular
   in gray, the company in Bold; the current page in green */
.rail .nav .nav-item, .rail .nav .nav-item .lb { font-size: 18px !important; line-height: 24px; font-weight: 700 !important; letter-spacing: 0 !important; }
.rail .nav .nav-item { height: 48px; }
.rail .nav-2 .nav-item, .rail .nav-2 .nav-item .lb { font-size: 16px !important; font-weight: 400 !important; color: var(--ink-2); letter-spacing: 0 !important; }
.rail .nav-item[aria-current], .rail .nav-item[aria-current] .lb { color: var(--green-text) !important; }
.rail-co b { font-weight: 700 !important; font-size: 16px; letter-spacing: 0 !important; }

/* The top bar: the language as one small menu, the profile as her photo (16 October 2026, Janne: "the profile image could be at
   the top, and you could fake some photo there. There should be a dropdown ... the language selection could also be at the top") */
.ab-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ab-lang { position: relative; }
.ab-lang > summary { display: inline-flex; align-items: center; gap: var(--s-2); height: 40px; padding: 0 var(--s-3); border-radius: var(--r-pill); list-style: none; cursor: pointer; }
.ab-lang > summary::-webkit-details-marker { display: none; }
.ab-lang > summary:hover { background: var(--hover); }
.ab-lang svg.i { width: 18px; height: 18px; }
.ab-lmenu { position: absolute; right: 0; top: 46px; z-index: 80; display: grid; min-width: 160px; padding: var(--s-2); border-radius: 12px; background: var(--canvas); box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(0, 0, 0, .1); }
.ab-lmenu a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.ab-lmenu a:hover { background: var(--hover); }
.ab-lmenu a[aria-current] { color: var(--green-text); }
.appbar .rail-lang { display: none !important; }
/* Invoice filters */
.fbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin: var(--s-5) 0 var(--s-4); }
.fsearch { display: flex; align-items: center; gap: var(--s-2); flex: 1 1 280px; max-width: 420px; position: relative; }
.fsearch svg.i { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--ink-2); pointer-events: none; }
.fsearch input { width: 100%; padding-left: 44px !important; }
.fpills { display: flex; gap: var(--s-2); }
.fpill { height: 40px; padding: 0 var(--s-4); border: 1px solid var(--field-line); border-radius: 999px; background: var(--canvas); color: var(--ink); font: inherit; cursor: pointer; }
.fpill:hover { background: var(--hover); }
.fpill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fl-none { padding: var(--s-5) 0; color: var(--ink-2); }
#app .rail .nav .nav-item, #app .rail .nav .nav-item .lb, #app .rail-co b { font-weight: 700 !important; }
#app .rail .nav-2 .nav-item, #app .rail .nav-2 .nav-item .lb { font-weight: 400 !important; }

/* ---------- The side menu, words only (16 October 2026) ----------
   Janne: "Does that make any sense that, in the navigation, there are those icons? Should we take those icons away and try to
   make the navigation very pretty". The references (the wealth app's vault, Fin) navigate with words alone. The company sits at
   the top as plain text; the five sections at 20 in Fennia Sans Bold, 52 apart; the current one in green with a short green bar
   at the menu's edge; hover the green wash; the second group at 16 Regular in gray, set apart by space, not a line. */
@media (min-width: 1024px) {
  #app .rail { padding: var(--s-7) var(--s-5) var(--s-5) 0 !important; }
  #app .rail .nav-item > svg.i { display: none !important; }
  #app .rail .nav-item { position: relative; height: 52px; padding: 0 var(--s-4) 0 var(--s-6); gap: var(--s-3); border-radius: 0 999px 999px 0; background: transparent; }
  #app .rail .nav .nav-item, #app .rail .nav .nav-item .lb { font-size: 20px !important; line-height: 24px; letter-spacing: -0.01em !important; color: var(--ink); }
  #app .rail .nav-item:hover { background: var(--hover) !important; }
  #app .rail .nav-item[aria-current], #app .rail .nav-item[aria-current]:hover { background: var(--hover) !important; box-shadow: none !important; }
  #app .rail .nav-item[aria-current]::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--green); }
  #app .rail .nav-item[aria-current] .lb { color: var(--green-text) !important; }
  #app .rail .nav { gap: 2px; margin-top: var(--s-6); }
  #app .rail .nav-2 { margin-top: var(--s-7); border-top: 0 !important; padding-top: 0; }
  #app .rail .nav-2::before { display: none !important; }
  #app .rail .nav-2 .nav-item { height: 40px; }
  #app .rail .nav-2 .nav-item, #app .rail .nav-2 .nav-item .lb { font-size: 16px !important; color: var(--ink-2); }
  #app .rail .count { margin-left: auto; }
  #app .rail-co { margin: 0 0 0 var(--s-6); padding: 0; background: transparent; border-radius: 0; gap: 2px; }
  #app .rail-co b { font-size: 16px; }
  #app .rail-co .link { margin-top: var(--s-1); }
}

/* THE RULE (16 October 2026, Janne): the page is always white. A card is either gray (#F5F5F5, no edge) or white with a gray
   stroke (1px #DDDDDD). Never a white card on a gray page. */
/* Filter pills share the form's corners: 4px, not round */
.fpill { border-radius: 4px; height: 44px; }
.fsearch input { height: 52px; }

/* Corners everywhere (16 October 2026): pills, chips, tags, counts, buttons, segments, toasts at 4px; avatars stay round */
#app :is(.chip, .tag, .count, .stag, .fpill, .nseg, .seg, .toast, .vz-buy, .tg, .st, .badge), #app .nseg button, #app .seg button { border-radius: var(--r-control) !important; }
.toast, #live + .toast { border-radius: 4px !important; }
#app .rail .nav-item { border-radius: 0 4px 4px 0 !important; }

/* ---------- Status badges, Fennia's "New badge" (16 October 2026, Janne: "here r tag ideas") ----------
   White, a 1px #DDD edge, 4px corners, a 16px coloured dot and the word in 14 ink: Default 28 high, Medium 34, and "Datatables
   only" with no box (the dot and the word). Positive green, attention orange, information blue, error red, promotion yellow. */
.badge, .stag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px 0 8px; border: 1px solid var(--badge-line); border-radius: 4px !important; background: #fff !important; color: var(--ink) !important; font-size: 14px; line-height: 1; white-space: nowrap; }
.badge::before, .stag::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--dot-positive); flex: none; }
.stag svg.i { display: none; }
.stag.paid::before, .badge.positive::before { background: var(--dot-positive); }
.stag.open::before, .badge.attention::before { background: var(--dot-attention); }
.stag.late::before, .badge.error::before { background: var(--dot-error); }
.badge.info::before { background: var(--dot-info); }
.badge.promo::before { background: var(--dot-promo); }
.badge.md { height: 34px; font-size: 16px; }
.badge.plain { height: auto; padding: 0; border: 0; background: transparent !important; }
.inv-list .stag, .inv-list .stag.paid, .inv-list .stag.open, .inv-list .stag.late { color: var(--ink) !important; background: #fff !important; }

/* ---------- Signed in as (16 October 2026): the portal by role ---------- */
.ro-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); padding: var(--s-4) var(--s-5); border-radius: 4px; background: var(--card); }
.ro-line p { flex: 1 1 360px; color: var(--ink); }
.ro-roles { display: flex; flex-wrap: wrap; gap: 6px; }
.ro-roles .tg { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid #DDDDDD; border-radius: 4px; background: #fff; font-size: 13px; color: var(--ink-2); }
.pmenu { width: 300px; max-height: calc(100vh - 80px); overflow-y: auto; }
[hidden] { display: none !important; }
/* Buttons stay fully round; only filters, tags, chips, counts and badges take 4px corners (16 October 2026, Janne) */
/* Every button, one token: --r-button (round). Change it in tokens.css and every page follows */
#app .btn, #app .hero-btn, #app .hero-btn2, #app .btn-full, #app button.btn, #app a.btn { border-radius: var(--r-button) !important; }

/* Card corners from tokens (16 October 2026, Janne: the coverage chips and the cards on the policy page were "too crisp"):
   large cards --r-card, small cards inside them (coverage chips, documents) --r-card-sm */
#app .pc-chip, #app .doc-grid .doc-card { border-radius: var(--r-card-sm) !important; }
#app :is(.psum, .vz-pc, .oc, .nums, .docs-panel .doc-card-wrap) { border-radius: var(--r-card); }
/* Hover, one rule for everything that opens something: Fennia's green wash (Janne: "you don't do the hover on the documents") */
#app :is(.doc-card, .doc-row, a.vz-pc, .vz-kind, .fl-row, a.ucard, .hm-list a, a.row, a.box):hover { background: var(--hover) !important; }
#app .doc-grid .doc-card:hover { box-shadow: 0 0 0 1px transparent !important; }

/* Hero hierarchy (16 October 2026, Janne: "make the subheaders on the heroes ... in light green so it would look a bit different
   in colour"): the title white, the line under it Fennia's light green, a step smaller in weight of colour; the back link light
   green too */
.hero .hero-tx > p, .hero .hero-fig, .hero-back { color: var(--hero-sub) !important; opacity: 1 !important; }
.hero .hero-fig b { color: #fff; }
.hero h1 + p, .hero h1 + .hero-fig { margin-top: var(--s-3); }
#app .hero .hero-btn2 { color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7) !important; background: transparent !important; } #app .hero .hero-btn2:hover { background: rgba(255,255,255,.12) !important; }

/* ---------- The coverage drawer (16 October 2026) ---------- */
#app button.pc-chip { font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
#app button.pc-chip:hover { background: var(--hover) !important; border-color: transparent; }
.psum-cov ul { list-style: none; padding: 0; }
.cov-drawer { position: fixed; inset: 0; z-index: 200; }
.cd-scrim { position: absolute; inset: 0; background: rgba(0, 20, 5, .28); opacity: 0; transition: opacity .22s var(--ease); }
.cd-panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(460px, calc(100vw - 24px)); overflow-y: auto; padding: var(--s-7) var(--s-6) var(--s-6); border-radius: var(--r-card); background: #fff; box-shadow: 0 24px 64px rgba(0, 0, 0, .18); transform: translateX(calc(100% + 24px)); transition: transform .26s cubic-bezier(.2, .8, .2, 1); }
.cov-drawer.on .cd-scrim { opacity: 1; } .cov-drawer.on .cd-panel { transform: none; }
.cd-x { position: absolute; top: var(--s-4); right: var(--s-4); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-button); background: var(--card); cursor: pointer; }
.cd-x:hover { background: var(--hover); }
.cd-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-card-sm); background: var(--card-green); }
.cd-ic svg.i { width: 32px; height: 32px; color: var(--green-text); }
.cd-panel h2 { margin-top: var(--s-5); font-size: var(--fs-group); line-height: var(--lh-group); letter-spacing: -0.02em; }
.cd-of { margin-top: 4px; color: var(--ink-2); font-size: 14px; }
.cd-what { margin-top: var(--s-5); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.cd-panel h3 { margin-top: var(--s-6); font-size: 14px; color: var(--ink-2); font-weight: 400; }
.cd-l { display: grid; gap: var(--s-2); margin-top: var(--s-3); padding: 0; list-style: none; }
.cd-l li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); align-items: start; padding: var(--s-3) var(--s-4); border-radius: var(--r-card-sm); background: var(--card); }
.cd-l.yes svg.i { color: var(--green); } .cd-l.no svg.i { color: #A3241A; }
.cd-facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin: var(--s-6) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--line); }
.cd-facts div { display: grid; } .cd-facts dd { margin: 0; font-size: 18px; } .cd-facts dt { font-size: 14px; color: var(--ink-2); }
.cd-claim { margin-top: var(--s-6); }
@media (prefers-reduced-motion: reduce) { .cd-panel, .cd-scrim { transition: none; } }
/* Policy details on their own: a white card with the gray stroke, apart from the coverages (16 October 2026, Janne) */
.psum-cov { padding-bottom: var(--s-6); }
.pdet { margin-top: var(--s-5); padding: var(--s-6); border: 1px solid #DDDDDD; border-radius: var(--r-card); background: #fff; }
.pdet h2 { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: -0.02em; }
.pdet .psum-t { width: 100%; margin: var(--s-3) 0 0; }
.pdet .psum-t tr:last-child th, .pdet .psum-t tr:last-child td { border-bottom: 0; }
.pdet .psum-t th { color: var(--ink-2); font-weight: 400; }
.pdet + .docs-panel { margin-top: var(--s-8); }
/* Figures stand out (16 October 2026, Janne: "should those numbers be bolded and a bit in colour"): the facts row, the drawer's
   limit and deductible, and the yearly price take Bold and Fennia's dark green; labels stay gray under them */
#app :is(.pf-row b, .cd-facts dd, .psum-pr b) { font-weight: 700 !important; color: var(--green-text); letter-spacing: -0.01em; }
#app .pf-row b { font-size: 22px; line-height: 28px; }
#app .pf-row { grid-template-columns: 1fr 1fr 1.7fr 0.8fr; } #app .pf-row b { white-space: nowrap; }

/* Cover level: two named steps, Basic and Extensive (16 October 2026). The current one filled green with a check; the other
   dashed, a link to change, with its extra price */
.vz-lvl .lvl { display: inline-flex; gap: 6px; padding: 4px; border-radius: var(--r-button); background: #fff; box-shadow: inset 0 0 0 1px #DDDDDD; }   /* scoped: a bare .lvl leaked onto the risk meters */
.lv { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: var(--r-button); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.lv svg.i { width: 18px; height: 18px; }
.lv.on { background: var(--green); color: #fff; }
.lv i { font-style: normal; margin-left: 4px; font-size: 13px; color: var(--ink-2); }
a.lv:hover { background: var(--hover); color: var(--ink); }
.psum-head { grid-template-columns: 64px minmax(0, 1fr) auto auto; }
/* What Basic pays for, and what it doesn't: same chips, the missing ones on a dashed edge */
.psum-cov h3 { font-size: var(--fs-body); font-weight: 700 !important; letter-spacing: -0.01em; }
.psum-cov h3 + ul { margin-top: var(--s-3); }
.psum-ext { margin: 0 var(--s-6) var(--s-6); padding: var(--s-5) !important; border: 2px dashed var(--dash); border-radius: var(--r-card-sm); }
.psum-ext > p { margin-top: 4px; color: var(--ink-2); }
.psum-ext ul { margin-top: var(--s-4); }
.psum-ext .btn { margin-top: var(--s-5); }
#app button.pc-chip.pc-ext { background: transparent; border: 1px dashed var(--dash); color: var(--ink-2); }
#app button.pc-chip.pc-ext:hover { background: var(--hover) !important; color: var(--ink); }
.psum { padding-bottom: 1px; }
#app .psum-cov h3 { font-weight: 700 !important; }
.psum-head { grid-template-columns: 64px minmax(0, 1fr) auto; }

/* The plan, said in words (16 October 2026): "Basic package" with a shield, a gray line under it; nothing to click here, the
   upgrade lives with the covers Basic lacks */
.plan { display: grid; justify-items: end; gap: 2px; text-align: right; }
.plan-n { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: var(--r-control); background: var(--card-green); color: var(--green-text); font-weight: 700 !important; }
.plan-n svg.i { width: 18px; height: 18px; }
.plan-s { font-size: 14px; color: #5E5E5E; }
/* What Basic doesn't cover: no box around it, only the chips are dashed. Text #5E5E5E on #F5F5F5 is 5.9:1 (AA); the dashed
   edge #8C8A84 is 3.2:1 against the gray, enough for a component edge */
.psum-not { margin: 0; padding: 0 var(--s-6) var(--s-6) !important; border: 0 !important; }
#app button.pc-chip.pc-ext { background: transparent; border: 1px dashed #8C8A84; color: #5E5E5E; }
#app button.pc-chip.pc-ext .pc-inf { color: #5E5E5E; }
.up-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid #E0E0E0; }
.up-row p { color: #4F4F4F; }
/* The upgrade drawer's comparison */
.cmp2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-5); }
.cmp-c { display: grid; align-content: start; gap: 2px; padding: var(--s-4); border: 1px solid #DDDDDD; border-radius: var(--r-card-sm); }
.cmp-c.on { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #FAFFFA; }
.cmp-c b { font-weight: 700 !important; font-size: 18px; } .cmp-p { font-size: 16px; } .cmp-y { font-size: 13px; color: #5E5E5E; }
.cmp-c ul { display: grid; gap: 6px; margin: var(--s-3) 0 0; padding: 0; list-style: none; font-size: 14px; }
.cmp-c li { display: flex; gap: 6px; align-items: flex-start; } .cmp-c li svg.i { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 2px; }
.cmp-c li.new { font-weight: 700 !important; color: var(--green-text); }
.cd-note { margin-top: var(--s-5); color: #5E5E5E; font-size: 14px; }
.cd-go { margin-top: var(--s-4); width: 100%; }

/* The coverage drawer, calmer (16 October 2026, Janne): no line under the name; the explanation at the base size; "Examples" with
   plain bullets under "Covers" and "Does not cover", no gray boxes; more air; "Maximum compensation" and "Deductible (what you
   pay)" with the label first, as a definition list reads; no File a claim (a claim is filed under a policy, never a cover) */
.cd-what { font-size: var(--fs-body) !important; line-height: var(--lh-body) !important; margin-top: var(--s-4) !important; }
.cd-panel h3 { margin-top: var(--s-7) !important; font-size: var(--fs-section); line-height: var(--lh-section); color: var(--ink) !important; font-weight: 700 !important; letter-spacing: -0.01em; }
.cd-sub { margin-top: var(--s-4); font-weight: 700 !important; }
.cd-l { gap: var(--s-2) !important; margin-top: var(--s-2) !important; padding-left: 1.2em !important; list-style: disc !important; }
.cd-l li { display: list-item !important; padding: 0 !important; background: none !important; border-radius: 0 !important; }
.cd-l li::marker { color: var(--ink-2); }
.cd-facts { margin-top: var(--s-7) !important; }
.cd-facts dt { order: 0; } .cd-facts dd { margin-top: 4px !important; }
.cd-panel > .btn { margin-top: var(--s-6); }
/* Documents like the coverages (16 October 2026, Janne): a gray card, the documents white with the gray stroke inside it, no
   drop shadow; the same rule as the cover chips */
#app .docs-panel { background: var(--card) !important; padding: var(--s-6) !important; border-radius: var(--r-card) !important; }
#app .doc-grid .doc-card { box-shadow: none !important; border: 1px solid #DDDDDD; background: #fff; }
#app .doc-grid .doc-card:hover { background: var(--hover) !important; border-color: transparent; }
@media (max-width: 1199px) { #app .pf-row { grid-template-columns: 1fr 1fr; } #app .pf-row li:nth-child(3) { border-left: 0; padding-left: 0; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { #app .pf-row { grid-template-columns: 1fr 1fr; } #app .pf-row li:nth-child(3) { border-left: 0; padding-left: 0; }}

/* The package as a level meter (16 October 2026, after Janne's "Maturity level" reference): a rounded frame with its name on
   the frame's edge, two segments, Basic filled Fennia green, Extensive empty; one sentence under it */
.pkg { display: grid; justify-items: start; gap: var(--s-2); }
.pkg-f { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 300px; margin: 0; padding: 6px 6px 6px; border: 2px solid #BDBDBD; border-radius: 14px; }
.pkg-f legend { padding: 0 6px; margin-left: 10px; font-size: 14px; color: #5E5E5E; }
.pkg-s { display: grid; place-items: center; height: 40px; border-radius: 10px; background: #EBEBEB; color: #5E5E5E; font-size: 15px; }
.pkg-s.on { background: var(--green); color: #fff; font-weight: 700 !important; }
.pkg-t { font-size: 14px; color: #5E5E5E; }
@media (max-width: 899px) { .pkg { grid-column: 1 / -1; } }
/* Hover = the green wash plus a darker green edge, on every card and chip that opens something (16 October 2026, Janne) */
#app :is(button.pc-chip, button.pc-chip.pc-ext, .doc-grid .doc-card, a.vz-pc, .vz-kind, .oc):hover { background: var(--hover) !important; border: 1px solid var(--hover-line) !important; }
#app :is(a.vz-pc, .vz-kind) { border: 1px solid transparent; }

/* The drawer's order and weight (17 October 2026, Janne): name, what it covers, then the two figures, Bold and green, then the
   examples small and quiet: one gray "Examples" label, each line a small green check or gray cross, no sub-headers, no bold */
#app .cd-facts { margin-top: var(--s-5) !important; padding: var(--s-4) 0 !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#app .cd-facts dt { font-size: 14px; color: #5E5E5E; }
#app .cd-facts dd { margin-top: 2px !important; font-size: 20px; line-height: 26px; font-weight: 700 !important; color: var(--green-text); }
#app .cd-panel h3.cd-ex, .cd-panel h3.cd-ex { margin-top: var(--s-6) !important; font-size: 14px !important; line-height: 20px; font-weight: 400 !important; color: #5E5E5E !important; }
.cd-panel .cd-l { list-style: none !important; padding-left: 0 !important; display: grid; gap: var(--s-2) !important; margin-top: var(--s-2) !important; }
.cd-panel .cd-l li { display: grid !important; grid-template-columns: 18px minmax(0, 1fr); gap: var(--s-2); align-items: start; font-size: 14px; line-height: 20px; }
.cd-panel .cd-l li svg.i { width: 16px; height: 16px; margin-top: 2px; }
.cd-panel .cd-l li.y svg.i { color: var(--green); } .cd-panel .cd-l li.n svg.i { color: #8C8A84; }
.cd-panel .cd-l li.n span { color: #5E5E5E; }
/* The drawer lives outside #app (appended to body), so its rules can't start with #app */
.cov-drawer .cd-facts { margin-top: var(--s-5) !important; padding: var(--s-4) 0 !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cov-drawer .cd-facts dt { font-size: 14px; color: #5E5E5E; }
.cov-drawer .cd-facts dd { margin-top: 2px !important; font-size: 20px !important; line-height: 26px; font-weight: 700 !important; color: var(--green-text) !important; }

/* Claims under this policy (17 October 2026): a gray card after the documents, each claim a white row with Fennia's badge, its
   files listed small under it */
.pclaims { margin-top: var(--s-5); padding: var(--s-6); border-radius: var(--r-card); background: var(--card); }
.pcl-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); }
.pcl-top h2 { font-size: var(--fs-group); line-height: var(--lh-group); letter-spacing: -0.02em; }
.pcl-list { display: grid; gap: var(--s-3); margin-top: var(--s-4); padding: 0; list-style: none; }
.pcl { border: 1px solid #DDDDDD; border-radius: var(--r-card-sm); background: #fff; }
.pcl-h { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5); border-radius: var(--r-card-sm); color: var(--ink); text-decoration: none; }
.pcl-h:hover { background: var(--hover); }
.pcl-h > span { display: grid; gap: 2px; } #app .pcl-h b { font-weight: 700 !important; } .pcl-s { font-size: 14px; color: #5E5E5E; }
.pcl-files { display: grid; gap: 6px; margin: 0; padding: 0 var(--s-5) var(--s-4) var(--s-5); list-style: none; font-size: 14px; }
.pcl-files li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: var(--s-2); align-items: center; padding-top: 6px; border-top: 1px solid #EEEEEE; }
.pcl-f svg.i { width: 16px; height: 16px; color: var(--green); } .pcl-d { color: #5E5E5E; }
.pcl-none { margin-top: var(--s-3); color: #5E5E5E; }
#app .docs-panel .docs-head h2::after { content: ""; }
.pcl-h > span.badge { display: inline-flex; flex: none; }
/* The drawer's two figures stacked, so a long label fits on one line: the label on the left, the figure on the right */
.cov-drawer .cd-facts { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; padding: 0 !important; }
.cov-drawer .cd-facts > div { display: flex !important; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; }
.cov-drawer .cd-facts > div + div { border-top: 1px solid var(--line); }
.cov-drawer .cd-facts dd { margin: 0 !important; text-align: right; }
/* Examples marked in small filled circles (17 October 2026, Janne): a white check in a green circle for covered, a white cross in
   a red circle for not covered */
.cov-drawer .cd-l li svg.i { display: block; width: 18px !important; height: 18px !important; margin-top: 1px !important; padding: 3px; border-radius: 50%; color: #fff !important; fill: #fff; box-sizing: border-box; }
.cov-drawer .cd-l li.y svg.i { background: var(--green); }
.cov-drawer .cd-l li.n svg.i { background: #D93D27; }
.cov-drawer .cd-l li { grid-template-columns: 18px minmax(0, 1fr) !important; gap: 10px !important; }
.cov-drawer .cd-l li.n span { color: var(--ink) !important; }

/* ---------- The AI assistant: ways in and the chat (17 October 2026) ----------
   Its mark is Fennia's star icon on a lime-green tile: the one place lime means "ask". */
.ab-ai { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 10px; border: 1px solid var(--hover-line); border-radius: var(--r-button); background: var(--card-green); color: var(--green-text); font: inherit; cursor: pointer; }
.ab-ai:hover { background: var(--hover); }
.ab-ai svg.i { width: 20px; height: 20px; }
.ai-ask { display: grid; gap: var(--s-3); margin: 0 var(--s-6) var(--s-6); padding-top: var(--s-5); border-top: 1px solid #E0E0E0; }
.ai-field { display: flex; align-items: center; gap: var(--s-3); width: 100%; height: 52px; padding: 0 var(--s-4); border: 1px solid #8C8A84; border-radius: var(--r-control); background: #fff; color: #5E5E5E; font: inherit; text-align: left; cursor: text; }
.ai-field:hover { border-color: var(--hover-line); background: var(--hover); }
.ai-field svg.i, .ai-in svg.i { width: 20px; height: 20px; color: var(--green); }
.ai-chips, .ai-sugg { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ai-chips button, .ai-sugg button { padding: 8px 12px; border: 1px solid #DDDDDD; border-radius: var(--r-control); background: #fff; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.ai-chips button:hover, .ai-sugg button:hover { background: var(--hover); border-color: var(--hover-line); }
.ai-in { display: grid; gap: var(--s-2); justify-items: start; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.ai-in p { display: flex; align-items: center; gap: var(--s-2); font-size: 14px; color: #5E5E5E; }
/* The chat drawer */
.ai-panel { display: flex; flex-direction: column; padding: var(--s-5) !important; }
.ai-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; gap: var(--s-3); align-items: center; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.ai-top .cd-x { position: static; }
.ai-top h2 { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: -0.01em; margin: 0 !important; }
.ai-top p { font-size: 13px; color: #5E5E5E; }
.ai-av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--card-green); flex: none; }
.ai-av.lg { width: 44px; height: 44px; border-radius: 12px; }
.ai-av svg.i { width: 18px; height: 18px; color: var(--green-text); }
.ai-log { flex: 1; display: grid; align-content: start; gap: var(--s-4); margin: 0; padding: var(--s-5) 0; list-style: none; overflow-y: auto; }
.ai-me { justify-self: end; max-width: 80%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--green); color: #fff; }
.ai-bot { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.ai-bot > div { display: grid; gap: var(--s-2); justify-items: start; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--card); }
.ai-foot { display: grid; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.ai-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2); }
.ai-form input { height: 48px; padding: 0 14px; border: 1px solid #8C8A84; border-radius: var(--r-control); background: #F3F2EE; font: inherit; }
.ai-form .btn { width: 48px; min-height: 48px; padding: 0; }
.ai-form .btn svg.i { width: 20px; height: 20px; color: #fff; }
.ai-fine { font-size: 12px; color: #5E5E5E; }
/* Claims in progress and resolved, each its own small group with a count */
.pcl-top { align-items: center; }
.pcl-g { margin-top: var(--s-5); }
.pcl-g h3 { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-body); font-weight: 700 !important; }
.pcl-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-control); background: #fff; border: 1px solid #DDDDDD; font-size: 12px; font-weight: 400; color: #5E5E5E; }
.pcl-g .pcl-list { margin-top: var(--s-3); }
.pcl-g .pcl-none { margin-top: var(--s-2); }
#app .pcl-g h3 { font-weight: 700 !important; } #app .pcl-n { font-weight: 400 !important; }
/* Policy documents alone: no Recent changes beside them (they were the claims' events), so the list takes the card's width */
#app .docs-panel:not(:has(.docs-changes)) { grid-template-columns: minmax(0, 1fr) !important; }

/* The package, option A of system/package-options.html (17 October 2026): two short bars, Fennia's mid green for the package
   she has and gray for the next, named under; no frame, nothing that looks like a button */
.pkg { display: grid; gap: 8px; justify-items: end; }
.pkg-bars { display: flex; gap: 4px; }
.pkg-bars i { width: 80px; height: 8px; border-radius: 4px; background: #D9D9D9; }
.pkg-bars i.on { background: #2EAA4A; }
.pkg-lab { display: flex; gap: 4px; font-size: 14px; }
.pkg-lab span { width: 80px; text-align: center; color: #5E5E5E; }
#app .pkg-lab span.on { color: var(--green-text); font-weight: 700 !important; }
.psum-hint { margin-top: 2px; font-size: 14px; color: #5E5E5E; }
.psum-hint + ul { margin-top: var(--s-3) !important; }

/* ---------- The AI tag (17 October 2026), after Frendi's ideation ring ----------
   Frendi's own gradient (Desktop/Frendi/Mockups/frendi-ideation): yellow to green, never blue. The ring is a border-box
   gradient; --ai-a turns it on hover; three small sparkles rise and fade. */
@property --ai-a { syntax: "<angle>"; inherits: false; initial-value: 200deg; }
:root { --ai-ring: conic-gradient(from var(--ai-a), #FFC93C, #F5E642 14%, #C8EB4A 28%, #7ED957 42%, #2EAA4A 56%, #00702A 68%, #5BC24E 80%, #E9F368 90%, #FFC93C); }
.ai-tag { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border: 1.5px solid transparent; border-radius: var(--r-button);
  background: linear-gradient(#fff, #fff) padding-box, var(--ai-ring) border-box; color: var(--ink); font: inherit; font-size: 14px; line-height: 1; white-space: nowrap; cursor: pointer; overflow: visible; }
.ai-tag:hover { animation: ai-turn 1.6s linear infinite; background: linear-gradient(#FBFFF5, #FBFFF5) padding-box, var(--ai-ring) border-box; }
@keyframes ai-turn { to { --ai-a: 560deg; } }
.ai-spark { font-size: 14px; background: linear-gradient(135deg, #F5D341, #2EAA4A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-tag i { position: absolute; font-style: normal; font-size: 9px; color: #F5D341; opacity: 0; pointer-events: none; }
.ai-tag .ai-s1 { left: 8px; top: -2px; } .ai-tag .ai-s2 { left: 45%; top: -4px; color: #7ED957; } .ai-tag .ai-s3 { right: 10px; top: -2px; color: #C8EB4A; }
.ai-tag:hover i { animation: ai-rise .9s ease-out infinite; }
.ai-tag:hover .ai-s2 { animation-delay: .3s; } .ai-tag:hover .ai-s3 { animation-delay: .6s; }
@keyframes ai-rise { 0% { opacity: 0; transform: translateY(4px) scale(.6); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px) scale(1); } }
.ai-tag:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ai-tag:hover, .ai-tag:hover i { animation: none; } }
.ab-ai { display: inline-flex; padding: 0; border: 0; background: none; height: auto; }
.ab-ai:hover { background: none; }
.ai-ask { display: flex !important; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.ai-ask p, .ai-in p { font-size: 14px; color: #5E5E5E; }
.ai-in { display: flex !important; flex-wrap: wrap; align-items: center; gap: var(--s-3) !important; }
/* The chat drawer takes the same ring, as Frendi's panel does */
.ai-panel { border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--ai-ring) border-box !important; }
.ai-av { font-size: 16px; color: #2EAA4A; background: #F4FBEA !important; }
.ai-me { background: #2EAA4A !important; }
/* Big numbers in the hero (17 October 2026, Janne): each figure on its own, large and white, its label under it in light green */
.hero-nums { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-8); margin: var(--s-5) 0 0; }
.hero-nums div { display: grid; gap: 2px; }
.hero-nums dd { margin: 0; font-size: 40px; line-height: 44px; letter-spacing: -0.03em; color: #fff; }
#app .hero-nums dd { font-weight: 700 !important; }
.hero-nums dt { font-size: 16px; color: var(--hero-sub); }
/* The AI ring as a full rainbow, the tag's words in dark green (17 October 2026, Janne: "proper rainbow colours" like the earlier
   Frendi version with blue; "the text should be in dark green") */
:root { --ai-ring: conic-gradient(from var(--ai-a), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F); }
.ai-tag { color: #004C07 !important; }
.ai-spark { background: linear-gradient(135deg, #FF9F1C, #FFD43B 30%, #5BC24E 55%, #3D7BF5 80%, #9B5DE5); -webkit-background-clip: text; background-clip: text; }
.ai-tag .ai-s1 { color: #FF9F1C; } .ai-tag .ai-s2 { color: #22B8CF; } .ai-tag .ai-s3 { color: #9B5DE5; }
/* The package bars, accessible (17 October 2026): each bar has an edge, so the empty one doesn't vanish against the gray card.
   Filled: Fennia green with a dark green edge. Empty: white with the gray edge (#8C8A84, 3.2:1 on #F5F5F5) */
.pkg-bars i { height: 12px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #8C8A84; }
.pkg-bars i.on { background: #2EAA4A; box-shadow: inset 0 0 0 1px #00700B; }
/* No cards/list toggle on the documents (17 October 2026, Janne: "we don't need that tab") */
#app .docs-head .vt-group { display: none !important; }

/* The AI tag, final (17 October 2026, Janne): no sparkles on hover; a thicker ring, 2.5 px, whose colours move on hover.
   One component everywhere (top bar, coverages card, cover drawer); nothing may restyle .ai-tag from a container rule. */
.ai-tag, #app .ai-tag, .cov-drawer .ai-tag { border: 2.5px solid transparent !important; border-radius: var(--r-button) !important; height: 34px; padding: 0 14px 0 11px !important;
  background: linear-gradient(#fff, #fff) padding-box, var(--ai-ring) border-box !important; color: #004C07 !important; }
.ai-tag:hover, #app .ai-tag:hover, .cov-drawer .ai-tag:hover { animation: ai-turn 2.4s linear infinite; background: linear-gradient(#FBFFF5, #FBFFF5) padding-box, var(--ai-ring) border-box !important; }
.ai-tag i { display: none !important; }
/* Examples in a cover's drawer, in two groups with their own headers and a gap between (Janne: the dots look alike) */
.cov-drawer h4.cd-exh { margin: var(--s-4) 0 var(--s-2); font-size: 16px; font-weight: 700; }
.cov-drawer h4.cd-exh + .cd-l { margin-top: 0; }
.cov-drawer .cd-l + h4.cd-exh { margin-top: var(--s-6); }

/* The drawer's way in (17 October 2026, Janne): "Need more help?" with the AI tag under it, not beside it */
.cov-drawer .ai-in { display: grid !important; justify-items: start; gap: var(--s-2) !important; }
.cov-drawer .ai-in p { font-size: 16px; color: var(--ink); }

/* Badge, rebuilt to Fennia's Badge component (17 October 2026): 12 px dot with 2 px around it, 8 px to the text, 4/8 padding,
   14/21 type, 1 px #DDDDDD edge, 4 px corners. */
.badge, .stag, .inv-list .stag { gap: 8px !important; height: auto !important; padding: 4px 8px !important; line-height: 21px !important; font-size: 14px; }
.badge::before, .stag::before { width: 12px !important; height: 12px !important; margin: 2px; }
/* Counts beside a group title: centred, bold, more room */
.pcl-n { display: inline-flex !important; align-items: center; justify-content: center; min-width: 28px; height: 28px !important; padding: 0 8px !important; line-height: 1 !important; font-size: 14px !important; color: var(--ink) !important; }
#app .pcl-n { font-weight: 700 !important; }
/* The claim card */
.pcl-h { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4) var(--s-4) !important; align-items: start !important; padding: var(--s-5) !important; background: #fff; border: 1px solid #DDDDDD; border-radius: var(--r-card-sm); }
.pcl-h:hover { background: var(--hover) !important; border-color: var(--hover-line); }
.pcl-t { display: grid; gap: 2px; }
.pcl-p { grid-column: 1; display: grid; gap: var(--s-2); }
.pcl-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.pcl-bar i { height: 8px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px #8C8A84; }
.pcl-bar i.on { background: #2EAA4A; box-shadow: inset 0 0 0 1px #00700B; }
.pcl-pl { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px var(--s-4); font-size: 14px; color: #5E5E5E; }
#app .pcl-pl b { font-weight: 700 !important; color: var(--ink); }
.pcl-go { grid-column: 2; grid-row: 2; align-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; }
.pcl-go svg.i { width: 20px; height: 20px; color: #fff; }
.pcl-go { justify-self: end; }

/* Policies page, 17 October 2026 (Janne): the hero's button sits on the numbers' line; the big numbers in Fennia's yellow;
   the dashed edge back on policies she can buy */
.hero:has(.hero-nums) { align-items: flex-end; }
.hero-nums dd { color: #E9F368 !important; }
#app .vz-add, #app a.vz-pc.vz-add { border: 2px dashed var(--dash) !important; background: #fff !important; }
#app .vz-add:hover { border-color: var(--hover-line) !important; background: var(--hover) !important; }
/* The insight tile: a gray card, a head with a Fennia illustration, a key, a bar per policy split by level, Aino's level beside it */
.ins-card { padding: var(--s-6); border-radius: var(--r-card); background: #F9F9F9; }
.ins-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-4); align-items: center; }
.ins-art img { width: 72px; height: 72px; display: block; }
.ins-head h2 { font-size: 28px; line-height: 32px; letter-spacing: -0.03em; }
.ins-head p { margin-top: 6px; color: #5E5E5E; max-width: 62ch; }
.ins-key { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); font-size: 14px; color: #5E5E5E; }
.ins-key i, .ins-bar i { display: inline-block; }
.ins-key i { width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.ins-key i.ext, .ins-bar i.ext { background: #004C07; }
.ins-key i.bas, .ins-bar i.bas { background: #8ADC94; }
.ins-key i.none { background: #fff; box-shadow: inset 0 0 0 1px #8C8A84; }
.ins-l { display: grid; gap: var(--s-3); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.ins-r { display: grid; grid-template-columns: 200px minmax(0, 1fr) 52px 170px; gap: var(--s-4); align-items: center; padding: var(--s-3) var(--s-4); border-radius: var(--r-card-sm); background: #fff; }
.ins-bar { display: flex; height: 16px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px #8C8A84; overflow: hidden; }
.ins-bar i { height: 100%; }
#app .ins-p b { font-weight: 700 !important; font-variant-numeric: tabular-nums; }
.ins-you { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #5E5E5E; }
.ins-you.on { color: #004C07; } .ins-you svg.i { width: 18px; height: 18px; color: #008A28; }
.ins-r.gap .ins-you { color: #5E5E5E; }
.ins-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-6); }
.ins-foot p { max-width: 52ch; }
.ins-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
@media (max-width: 767px) { .ins-r { grid-template-columns: minmax(0, 1fr) auto; } .ins-bar { grid-column: 1 / -1; grid-row: 2; } .ins-you { grid-column: 1 / -1; } }

/* The package meter on a policy card (17 October 2026): the same two bars, smaller, above the price */
.pkg.pkg-card { display: grid; gap: 4px; justify-items: start; margin-top: var(--s-4); }
.pkg.pkg-card .pkg-bars { display: flex; gap: 4px; } .pkg.pkg-card .pkg-bars i { width: 72px; height: 8px; border-radius: 4px; }
.pkg.pkg-card .pkg-lab { display: flex; gap: 4px; font-size: 14px; } .pkg.pkg-card .pkg-lab span { width: 72px; text-align: left; color: #5E5E5E; }
#app .pkg.pkg-card .pkg-lab span.on { color: #004C07; font-weight: 700 !important; }
.ins-r { grid-template-columns: minmax(120px, 200px) minmax(120px, 1fr) 52px 150px; }
/* Art to text, applied (17 October 2026): every illustration beside or above text takes --gap-art */
.ins-head { gap: var(--gap-art) !important; }
.psum-head { column-gap: var(--gap-art) !important; }
.vz-pa { display: block; margin-bottom: var(--gap-art) !important; }
.cover-card { column-gap: var(--gap-art-sm) !important; }
.sp-docs a, .doc-grid .doc-card { column-gap: var(--gap-art-sm) !important; }
.cov-drawer .cd-panel > :first-child + h2, .cov-drawer .cd-ic + h2 { margin-top: var(--gap-art-sm) !important; }

/* The insight tile, second pass: small column charts, one per policy, with a "You" pointer */
.ins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-3); margin: var(--s-6) 0 0; padding: 0; list-style: none; }
.ins-r { display: block !important; padding: var(--s-5) !important; border-radius: var(--r-card-sm); background: #fff; }
.ins-r h3 { font-size: 16px; line-height: 24px; }
#app .ins-r h3 { font-weight: 700 !important; }
.ins-ch { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s-2); align-items: end; height: 160px; margin: var(--s-4) 0 0; padding: 0; list-style: none; border-bottom: 1px solid #8C8A84; }
.ins-c { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.ins-c b { font-size: 14px; font-variant-numeric: tabular-nums; color: #5E5E5E; }
.ins-col { width: 100%; max-width: 48px; border-radius: 4px 4px 0 0; background: #8ADC94; }
.ins-c.none .ins-col { background: #D9D9D9; }
.ins-c.me .ins-col { background: #008A28; }
#app .ins-c.me b { color: #004C07; font-weight: 700 !important; }
.ins-l { position: absolute; top: 100%; margin-top: 8px; font-size: 14px; color: #5E5E5E; white-space: nowrap; }
.ins-c.me .ins-l { color: #004C07; }
.ins-r .ins-ch { margin-bottom: 32px; }
.ins-you { position: relative; padding: 2px 8px; border-radius: 4px; background: #004C07; color: #fff; font-size: 12px; line-height: 18px; }
.ins-you::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: #004C07; }
#app .ins-you { font-weight: 700 !important; }
.ins-c.me { gap: 8px; }

/* THE FENNIA INSIGHT (17 October 2026): Fennia helping you, recognisable anywhere. Light green card, Fennia's 2 px green edge,
   the dark green tag under the title, white plates for the evidence. Only for insights, never for tasks or ads. */
.insight { background: #E6FAE7 !important; box-shadow: inset 0 0 0 2px #8ADC94; }
.insight-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-2); padding: 4px 10px 4px 8px; border-radius: var(--r-control); background: #004C07; color: #fff; font-size: 14px; line-height: 20px; }
.insight-tag svg.i { width: 16px; height: 16px; color: #E9F368; }
#app .insight-tag { font-weight: 700 !important; }
.insight .ins-head > div { display: grid; justify-items: start; }
.insight .ins-head p { margin-top: var(--s-3); }
/* "Examples:" in a cover's drawer takes the same type as "Covers" and "Does not cover" under it (17 October 2026, Janne) */
.cov-drawer h3.cd-ex { font-size: 16px !important; line-height: 24px !important; color: var(--ink) !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; }
/* AI tag hover, third pass (17 October 2026, Janne: "I don't want it to turn green when you hover ... the stroke to get thicker,
   and it should move with the gradient ... quicker ... the sparkle has to be bigger"). Stays white; the ring goes from 2.5 to
   3.5 px and turns once a second; the sparkle is 18 px. */
.ai-tag .ai-spark, #app .ai-tag .ai-spark { font-size: 18px !important; line-height: 1; }
html body .ai-tag:hover, html body #app .ai-tag:hover, html body .cov-drawer .ai-tag:hover, html body .ab-ai .ai-tag:hover {
  border-width: 3.5px !important; padding: 0 13px 0 10px !important;
  background: linear-gradient(#fff, #fff) padding-box, var(--ai-ring) border-box !important; border-color: transparent !important; box-shadow: none !important;
  animation: ai-turn 1s linear infinite !important; }
@media (prefers-reduced-motion: reduce) { html body .ai-tag:hover { animation: none !important; } }
/* The coverages hint at base size (17 October 2026, Janne: "could be in a bigger font. It could also be 16") */
html body #app .psum .psum-hint { font-size: 16px !important; line-height: 24px !important; }

/* The claim card, third pass (17 October 2026) */
#app .pcl-h { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: var(--s-5) !important; padding: var(--s-5) var(--s-6) !important; background: #fff; border: 1px solid #DDDDDD; border-radius: var(--r-card-sm); }
#app .pcl-h:hover { background: #fff !important; border-color: var(--hover-line); box-shadow: 0 0 0 1px var(--hover-line); }
.pcl-hd { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; }
.pcl-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--g1, #E6FAE7); }
.pcl-ic svg.i { width: 24px; height: 24px; color: #004C07; }
.pcl-st { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0; padding: 0; list-style: none; }
.pcl-st li { position: relative; display: grid; justify-items: start; gap: 8px; }
.pcl-st li::before { content: ""; position: absolute; top: 11px; left: 24px; right: 0; height: 2px; background: #DDDDDD; }
.pcl-st li:last-child::before { display: none; }
.pcl-st li.done::before { background: #008A28; }
.pcl-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #C4C4C4; }
.pcl-st li.done .pcl-dot { background: #008A28; box-shadow: none; } .pcl-dot svg.i { width: 16px; height: 16px; color: #fff; }
.pcl-st li.now .pcl-dot { box-shadow: inset 0 0 0 2px #008A28, 0 0 0 4px #D5F7D7; } .pcl-st li.now .pcl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #008A28; }
.pcl-sn { font-size: 16px; color: #5E5E5E; padding-right: 8px; } #app .pcl-st li.now .pcl-sn { color: var(--ink); font-weight: 700 !important; }
.pcl-ft { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-4); border-top: 1px solid #EEEEEE; color: #5E5E5E; }
.pcl-ft > span:first-child { display: inline-flex; align-items: center; gap: 8px; } .pcl-ft svg.i { width: 20px; height: 20px; color: #008A28; }
#app .pcl-go { grid-column: auto; grid-row: auto; width: 40px; height: 40px; }
.pcl-p { display: none; }
@media (max-width: 640px) { .pcl-hd { grid-template-columns: 48px minmax(0, 1fr); } .pcl-hd .badge { grid-column: 2; justify-self: start; } }
/* Section headers in bold, a try (17 October 2026, Janne: "put those headers also in bold, so coverages and those ... I just want
   to see how it looks"): every section title at 28 on a page (the cards' and the open sections' h2) is Bold */
html body #app main h2, html body #app .psum-head h2, html body #app .pcl-top h2, html body #app .docs-head h2 { font-weight: 700 !important; }

#app .pcl-ft .pcl-go { display: grid; place-items: center; flex: none; } #app .pcl-ft .pcl-go svg.i { color: #fff; width: 20px; height: 20px; }
#app .pcl-h > .pcl-hd { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; }
#app .pcl-h > .pcl-ft { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
#app .pcl-hd .pcl-t { display: grid; gap: 2px; }
@media (max-width: 640px) { #app .pcl-h > .pcl-hd { grid-template-columns: 48px minmax(0, 1fr); } }
/* AI tag, the fix (17 October 2026). The ring didn't turn: --ai-ring was set on :root, so its var(--ai-a) was resolved there
   once and the tag's animated --ai-a never reached it. The gradient is now written on the tag itself. The sparkle was being
   snapped down to 16 by the type scale; it is 20, a size on the scale, and set on the glyph box so it reads. */
html body .ai-tag, html body #app .ai-tag, html body .cov-drawer .ai-tag {
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ai-a), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F) border-box !important; }
html body .ai-tag:hover, html body #app .ai-tag:hover, html body .cov-drawer .ai-tag:hover, html body .ab-ai .ai-tag:hover {
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ai-a), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F) border-box !important;
  animation: ai-turn 1s linear infinite !important; }
html body .ai-tag .ai-spark { font-size: 20px !important; line-height: 20px !important; display: inline-block; }
html body #app .ai-tag .ai-spark, html body .cov-drawer .ai-tag .ai-spark, html body .ai-tag .ai-spark { font-size: 20px !important; line-height: 20px !important; }

/* The white hero (?hero=white, 17 October 2026): white, a large Fennia illustration beside the name, the actions under it */
.hero-w { padding: var(--s-6) 0 var(--s-7); }
.hw-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--green-text, #00700B); text-decoration: none; }
.hw-back:hover { text-decoration: underline; } .hw-back svg.i { width: 20px; height: 20px; }
.hw-main { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: var(--gap-art); align-items: center; margin-top: var(--s-6); }
.hw-art img, .hw-art svg { width: 128px; height: 128px; display: block; }
.hero-w h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; color: #00700B; }
#app .hero-w h1 { font-weight: 700 !important; }
.hero-w p { margin-top: 8px; color: #5E5E5E; }
.hw-act { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.hero-w + .pf-row { margin-top: 0; }
.hw-end { margin-top: var(--s-6); }
@media (max-width: 639px) { .hw-main { grid-template-columns: 1fr; } .hw-art img, .hw-art svg { width: 96px; height: 96px; } }
/* With the white hero the illustration is already large at the top; the coverages card does not repeat it */


/* The claim card, simpler (17 October 2026, Janne: put "expected by" in brackets on the timeline and drop the line under it;
   "very simple and airy"): the date sits beside Decision, the foot is gone, the arrow joins the badge at the top */
.pcl-r { display: flex; align-items: center; gap: var(--s-3); }
.pcl-due { color: #5E5E5E; font-weight: 400; white-space: nowrap; } #app .pcl-st li .pcl-due { font-weight: 400 !important; }
#app .pcl-h { gap: var(--s-6) !important; padding: var(--s-6) !important; }

/* The policy page, white hero as the default (17 October 2026, Janne's notes) */
.hw-bc { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #E6FAE7; }
.hw-back { gap: 12px !important; } .hw-back:hover .hw-bc { background: #D5F7D7; }
/* Coverages head: the art, the title and the package meter on one centre line */
#app .hero-w ~ .psum .psum-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto !important; align-items: center !important; }
#app .hero-w ~ .psum .psum-head .pkg { grid-column: 3; align-self: center; justify-items: end; margin: 0; }
#app .hero-w ~ .psum .psum-art { display: block; }
/* Documents and claims: no container; each document and each claim is the gray card */
#app .hero-w ~ .docs-panel, #app .hero-w ~ .pclaims { background: transparent !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
#app .hero-w ~ .docs-panel .doc-card, #app .hero-w ~ .docs-panel .doc-row { background: #F9F9F9 !important; border: 0 !important; box-shadow: none !important; }
#app .hero-w ~ .docs-panel .doc-card:hover, #app .hero-w ~ .docs-panel .doc-row:hover { background: var(--hover) !important; }
#app .hero-w ~ .pclaims .pcl-h { background: #F9F9F9 !important; border: 0 !important; }
#app .hero-w ~ .pclaims .pcl-h:hover { background: var(--hover) !important; box-shadow: none; }
#app .hero-w ~ .pclaims .pcl-ic { background: #fff; }
#app .hero-w ~ .pclaims { margin-top: var(--s-8); }
/* Sections 80 apart (--gap-section) on every page */
html body #app .vz-sec, html body #app .hero + .vz-sec, html body #app .hm-todo + .vz-sec,
html body #app .pf-row + .psum, html body #app .psum + .docs-panel, html body #app .docs-panel + .pclaims, html body #app .docs-panel ~ .pclaims { margin-top: var(--gap-section) !important; }
/* Hover edges drawn inside (17 October 2026, Janne: cards "move a bit" on hover). A card with no border at rest got a 1 px
   border on hover and grew by 2 px. Now every card keeps its own border (or none) on hover, and the green edge is an inset
   shadow, drawn inside the card: nothing changes size. Rule for the system: hover never adds a border, it adds an inset edge. */
html body #app :is(.doc-grid .doc-card, .doc-row, a.vz-pc, .vz-kind, .oc, .pcl-h, .vz-add):hover,
html body #app .hero-w ~ .docs-panel :is(.doc-card, .doc-row):hover, html body #app .hero-w ~ .pclaims .pcl-h:hover {
  border-color: transparent !important; box-shadow: inset 0 0 0 1.5px var(--hover-line) !important; }
html body #app :is(.doc-grid .doc-card, a.vz-pc, .vz-kind, .oc) { border: 1px solid transparent; }
html body #app .hero-w ~ .docs-panel :is(.doc-card, .doc-row), html body #app .hero-w ~ .pclaims .pcl-h { border: 1px solid transparent !important; }
html body #app .vz-add:hover { border-color: var(--hover-line) !important; box-shadow: none !important; }

/* Dates on the stepper (17 October 2026, Janne: "under Reported you should have the date ... small tags underneath"): each stage
   carries its date as a 12 px tag under its name: done in light green, the current one in Fennia green with white, the next as
   an outline ("By 2 Oct"). The card's "Reported" line and the bracket are gone; the stepper says it all */
.pcl-st li { gap: 6px !important; }
.pcl-dt { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; line-height: 16px; background: #E6FAE7; color: #004C07; }
.pcl-st li.now .pcl-dt { background: #008A28; color: #fff; }
.pcl-st li:not(.done):not(.now) .pcl-dt { background: #fff; color: #5E5E5E; box-shadow: inset 0 0 0 1px #C4C4C4; }
#app .pcl-hd { grid-template-columns: 48px minmax(0, 1fr) auto; }
/* The package meter's bars on the title's centre line (17 October 2026, Janne: "not aligned ... slightly lower"): the meter as a
   whole was centred, so the bars sat 16 px above the title and the art. It moves down 16 px; the names hang under the bars */
#app .psum-head .pkg { transform: translateY(16px); }
/* No underline on a document's name (17 October 2026, Janne). The names became links when the PDFs arrived, and links are
   underlined by default; the whole card is the target and shows it with the green hover, so the name stays plain */
html body #app .docs-panel a.dc-open, html body #app .docs-panel a.dc-open:hover { text-decoration: none !important; color: var(--ink) !important; border: 0 !important; box-shadow: none !important; }
/* The AI way in on the coverages card, stacked like the drawer's (17 October 2026, Janne: the tag "should be underneath" the
   question it answers) */
html body #app .psum .ai-ask { display: grid !important; justify-items: start; gap: var(--s-3) !important; }
html body #app .psum .ai-ask p { font-size: 16px; color: var(--ink); }
/* One check style everywhere (17 October 2026, Janne: the upgrade comparison should use "the checkmark inside the green circle,
   as in the drawer"). The comparison's lists take the drawer's marker: a white check in an 18 px green circle, 10 px to the text */
.cov-drawer .cmp-c ul { display: grid; gap: var(--s-2); margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.cov-drawer .cmp-c li { display: grid !important; grid-template-columns: 18px minmax(0, 1fr) !important; gap: 10px !important; align-items: start; }
.cov-drawer .cmp-c li svg.i { display: block; width: 18px !important; height: 18px !important; margin-top: 3px !important; padding: 3px; border-radius: 50%; box-sizing: border-box; background: var(--green); color: #fff !important; fill: #fff; }
/* The inside edge reaches the card's edge (17 October 2026, Janne: "it should still touch the edge of that card. There shouldn't
   be any gray visible"). The cards kept a 1 px transparent border, so the inset edge sat 1 px in, with a gray line outside it.
   No border at all, at rest or on hover; the edge is the inset shadow alone, so it sits on the card's edge and nothing moves */
html body #app :is(.doc-grid .doc-card, .doc-row, a.vz-pc, .vz-kind, .oc, .pcl-h),
html body #app .hero-w ~ .docs-panel :is(.doc-card, .doc-row), html body #app .hero-w ~ .pclaims .pcl-h,
html body #app :is(.doc-grid .doc-card, .doc-row, a.vz-pc, .vz-kind, .oc, .pcl-h):hover,
html body #app .hero-w ~ .docs-panel :is(.doc-card, .doc-row):hover, html body #app .hero-w ~ .pclaims .pcl-h:hover { border: 0 !important; }
/* The hint belongs to the chips, not the heading (17 October 2026, Janne: the gray line "should be closer to the coverage than
   to the subheader"): 16 from the heading, 8 to the chips */
html body #app .psum-cov h3 { margin-bottom: 0 !important; }
html body #app .psum-cov .psum-hint { margin: var(--s-4, 16px) 0 0 !important; }
html body #app .psum-cov .psum-hint + ul { margin-top: 8px !important; }

/* Send by email drawer (17 October 2026): the document as a gray card, then the form in the system's field style */
.mail-drawer .dm-doc { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-3); align-items: center; margin-top: var(--s-5); padding: var(--s-4); border-radius: var(--r-card-sm); background: #F9F9F9; }
.mail-drawer .dm-di { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; } .mail-drawer .dm-di svg.i { width: 22px; height: 22px; color: #008A28; }
.mail-drawer .dm-doc > span:last-child { display: grid; gap: 2px; } .mail-drawer .dm-doc b { font-weight: 700; } .mail-drawer .dm-doc span span { color: #5E5E5E; }
.mail-drawer .dm-form { display: grid; gap: 8px; margin-top: var(--s-6); }
.mail-drawer .dm-form label { font-weight: 700; } .mail-drawer .dm-form label + input, .mail-drawer .dm-form label + textarea { margin-top: 0; }
.mail-drawer .dm-form label[for="dm-note"] { margin-top: var(--s-4); } .mail-drawer .dm-opt { font-weight: 400; color: #5E5E5E; }
.mail-drawer input, .mail-drawer textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--field-line, #8C8A84); border-radius: var(--r-control); background: #fff; font: inherit; color: var(--ink); }
.mail-drawer input:focus, .mail-drawer textarea:focus { outline: 2px solid #008A28; outline-offset: 0; border-color: #008A28; }
.mail-drawer input[aria-invalid="true"] { border-color: #D93D27; }
.mail-drawer .dm-help { color: #5E5E5E; }
.mail-drawer .dm-err { display: flex; align-items: center; gap: 8px; color: #A3241A; } .mail-drawer .dm-err svg.i { width: 18px; height: 18px; color: #D93D27; }
.mail-drawer .dm-acts { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* Stage tags, one style (17 October 2026, Janne: "they should all be in the same style ... white inside"): white, a 1 px gray
   edge, 12 px, the full date */
html body #app .pcl-dt, html body #app .pcl-st li.now .pcl-dt, html body #app .pcl-st li:not(.done):not(.now) .pcl-dt { background: #fff !important; color: #333 !important; box-shadow: inset 0 0 0 1px #DDDDDD !important; white-space: nowrap; }

/* The toast, redesigned (17 October 2026, Janne: "improve the aesthetic ... a green indication when something is done
   successfully"). A white card floating at the bottom centre, 16 px corners and a soft shadow; on the left the system's marker in
   a 28 px circle (a white check on Fennia green for success, a white i on ink for information); the message at 16 Regular; a
   quiet round close. A success also carries a 4 px green line along its left edge, so it reads as done at a glance. It rises
   in from below; with reduced motion it only fades. */
html body .toast { top: auto !important; bottom: 32px; left: 50%; display: grid; grid-template-columns: 28px minmax(0, 1fr) 32px; align-items: center; gap: 14px;
  min-width: 320px; max-width: min(560px, calc(100vw - 32px)); padding: 14px 12px 14px 18px; border: 0; border-radius: 16px !important; overflow: hidden;
  background: #fff; color: var(--ink); box-shadow: 0 12px 40px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .06); transform: translate(-50%, 16px); }
html body .toast.on { transform: translate(-50%, 0); }
html body .toast.success { box-shadow: inset 4px 0 0 #008A28, 0 12px 40px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .06); }
html body .toast .strip { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #333; color: #fff; }
html body .toast.success .strip { background: #008A28; }
html body .toast .strip svg.i { width: 18px; height: 18px; color: #fff; stroke-width: 2; }
html body .toast .tx { padding: 0; font-size: 16px; line-height: 24px; font-weight: 400 !important; }
html body .toast .x { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #5E5E5E; cursor: pointer; }
html body .toast .x:hover { background: #F0F0F0; } html body .toast .x svg.i { width: 18px; height: 18px; }
@media (max-width: 1023px) { html body .toast { top: auto !important; bottom: calc(80px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { html body .toast, html body .toast.on { transform: translate(-50%, 0); } }
/* No stroke round the claim card (17 October 2026, Janne): the list item kept an old 1 px gray border; the gray card alone, like the documents */
html body #app li.pcl { border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; }
/* The claim's stages as a vertical list (17 October 2026, Janne: "would it make more sense that it would be vertical, like those
   steps"): a dot column on the left joined by a line, the stage name and its date tag on one row beside the dot */
html body #app .pcl-st { grid-auto-flow: row !important; grid-auto-columns: auto !important; grid-template-columns: minmax(0, 1fr); gap: 0 !important; }
html body #app .pcl-st li { grid-template-columns: 24px auto minmax(0, 1fr) !important; justify-items: start; align-items: center; column-gap: 12px !important; row-gap: 0 !important; padding-bottom: 20px; }
html body #app .pcl-st li:last-child { padding-bottom: 0; }
html body #app .pcl-st li::before { top: 24px !important; bottom: 0; left: 11px !important; right: auto !important; width: 2px !important; height: auto !important; }
html body #app .pcl-st .pcl-sn { padding-right: 0; }
/* The claim card without the icon tile (17 October 2026, Janne: "take the icon away"): the title and the arrow on one row */
html body #app .pcl-h > .pcl-hd { grid-template-columns: minmax(0, 1fr) auto !important; }
/* The claim card's hierarchy (17 October 2026, Janne: the title "slightly bigger", the stages maybe too big): the title is a card
   title, 20 Bold; the stages stay at 16, the reading size, in gray, only the current one in ink and Bold */
html body #app .pcl-hd .pcl-t b { font-size: 20px !important; line-height: 24px !important; }
html body #app .pcl-st .pcl-sn { color: #5E5E5E; }
/* The claim card leads with the coverage it falls under (20 Bold), what happened under it in a few words (16, gray), wording
   checked with Codex (17 October 2026) */
html body #app .pcl-hd .pcl-w { font-size: 16px; line-height: 24px; color: #5E5E5E; }

/* A claim's page (17 October 2026): the policy page's style, one step smaller. Title 28 Bold green (a policy's is 40), the facts
   row, sections 80 apart with 28 Bold titles, progress on a blue information card, documents as gray cards on white */
.cl-hero h1 { margin-top: var(--s-6); font-size: 28px; line-height: 32px; letter-spacing: -0.02em; color: #00700B; }
#app .cl-hero h1 { font-weight: 700 !important; }
.cl-hero p { margin-top: 6px; color: #5E5E5E; }
.cl-sec h2 { font-size: 28px; line-height: 32px; letter-spacing: -0.02em; }
.cl-prog { margin-top: var(--s-5); padding: var(--s-6); border-radius: var(--r-card-sm); background: #EEF3FF; }
html body #app .clp-st li { align-items: start !important; grid-template-columns: 24px minmax(0, 1fr) !important; padding-bottom: 24px; }
html body #app .clp-st li::before { background: #B9C9EE; } html body #app .clp-st li.done::before { background: #0052CC; }
html body #app .clp-st li.done .pcl-dot { background: #0052CC; } html body #app .clp-st li.now .pcl-dot { box-shadow: inset 0 0 0 2px #0052CC, 0 0 0 4px #D6E2FF; }
html body #app .clp-st li.now .pcl-dot::after { background: #0052CC; } html body #app .clp-st .pcl-dot { box-shadow: inset 0 0 0 2px #9DB2E0; }
.clp-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.clp-ev { flex-basis: 100%; color: #5E5E5E; }
.cl-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-3); padding: var(--s-5); border-radius: var(--r-card-sm); background: #FFFFD2; }
.cl-docs { display: grid; gap: var(--s-2); margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.cl-doc { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-4); align-items: center; width: 100%; padding: var(--s-4) var(--s-5); border: 0; border-radius: var(--r-card-sm); background: #F9F9F9; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.cl-doc:hover { background: var(--hover); box-shadow: inset 0 0 0 1.5px var(--hover-line); }
.cl-doc .dc-ic svg.i { width: 28px; height: 28px; color: #008A28; }
.cl-dn { display: grid; gap: 2px; } #app .cl-dn b { font-weight: 400 !important; } .cl-dn span { color: #5E5E5E; }
.cl-note, .cl-none { margin-top: var(--s-4); color: #5E5E5E; }
.cl-rows { margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.cl-rows li { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid #E3E3E3; }
.cl-rows li > span:first-child { color: #5E5E5E; } #app .cl-rows b { font-weight: 400 !important; }
@media (max-width: 639px) { .cl-rows li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* The claim's hero is the policy page's hero (17 October 2026, Janne: "be very consistent"): the same back link, the same art
   beside the title, the same title style; the claim is smaller only in having no buttons */
.cl-hero h1 { margin-top: 0 !important; font-size: 40px !important; line-height: 44px !important; letter-spacing: -0.03em !important; }
/* The claim page, smaller and fitting one screen (17 October 2026, Janne: "the hero can be smaller. It doesn't need any
   illustration ... the font can be smaller ... the claim in a single fold"): title 28, no art, tighter spacing on this page
   only (sections 48 apart); Attachments has its explanation directly under the title; What happened answers dark and Bold */
html body #app .cl-hero { padding: var(--s-5) 0 var(--s-5); }
html body #app .cl-hero h1 { margin-top: var(--s-4) !important; font-size: 28px !important; line-height: 32px !important; letter-spacing: -0.02em !important; }
html body #app .cl-hero + .pf-row li b { font-size: 16px; }
html body #app .cl-sec { margin-top: 48px !important; }
html body #app .cl-sec h2 { font-size: 20px !important; line-height: 24px !important; letter-spacing: -0.01em; }
html body #app .cl-prog { margin-top: var(--s-3); padding: var(--s-5) var(--s-6); }
html body #app .clp-st li { padding-bottom: 16px; }
html body #app .cl-sec .cl-note { margin-top: 6px; }
html body #app .cl-docs { margin-top: var(--s-4); }
html body #app .cl-rows b { font-weight: 700 !important; color: var(--ink); }
/* One screen: from 1100 the claim is two columns, progress and what happened on the left, attachments and payments on the right */
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1100px) { @container app (min-width: 1100px) { html body #app .cl-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 48px; align-items: start; } } }
html body #app .cl-sec { margin-top: 40px !important; }
html body #app .cl-hero { padding-top: var(--s-4) !important; }
/* Line length, applied everywhere (tokens.css, LINE LENGTH) */
html body #app p, html body .cov-drawer p, html body #app .cl-note, html body #app .psum-hint, html body #app .vz-why { max-width: var(--measure); }
/* The claim page fits one screen: no event sentences under the stages (the date tags carry the story), attachments as compact
   rows: the icon, the name, and the date at the right, 56 px each */
html body #app .clp-ev { display: none; }
html body #app .clp-st li { padding-bottom: 14px !important; }
html body #app .cl-doc { grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); padding: 12px var(--s-4); }
html body #app .cl-doc .dc-ic svg.i { width: 22px; height: 22px; }
html body #app .cl-dn { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--s-3); }
html body #app .cl-sec { margin-top: 32px !important; }
html body #app .cl-prog { padding: var(--s-4) var(--s-5) !important; }
/* The claim page stacked again (17 October 2026, Janne: "everything should be stacked, so don't do sections side by side"):
   progress, attachments, what happened, payments, one under the other */
html body #app .cl-grid { display: block !important; }
/* Back to the earlier, roomier claim page (17 October 2026, Janne: "it was better ... more padding, be consistent with the
   amount of padding in your cards"). The squeeze for one screen is undone: cards take the system's padding (24 and 20), the
   stages keep their sentences, attachments are full cards with their kind and date, sections sit the section gap apart */
html body #app .clp-ev { display: block; }
html body #app .clp-st li { padding-bottom: 24px !important; } html body #app .clp-st li:last-child { padding-bottom: 0 !important; }
html body #app .cl-prog { padding: var(--s-6) !important; margin-top: var(--s-4); }
html body #app .cl-doc { grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-5) var(--s-6); }
html body #app .cl-doc .dc-ic svg.i { width: 28px; height: 28px; }
html body #app .cl-dn { grid-template-columns: minmax(0, 1fr); gap: 2px; }
html body #app .cl-sec { margin-top: var(--gap-section) !important; }
html body #app .cl-sec h2 { font-size: 28px !important; line-height: 32px !important; letter-spacing: -0.02em; }
html body #app .cl-sec .cl-note { margin-top: var(--s-2); }
html body #app .cl-docs { margin-top: var(--s-5); }
/* The progress card shows the stage names and their date tags only: no event sentences, no handler named (17 October 2026, Janne) */
html body #app .clp-ev { display: none !important; }

/* 17 October 2026, from the synthetic user test */
html body #app .psum .ai-ask { grid-auto-flow: column; justify-content: start; align-items: center; gap: var(--s-5) !important; }
.cl-what { margin-top: var(--s-4) !important; font-size: 16px; line-height: 24px; color: #5E5E5E !important; }
.cl-status { display: flex; align-items: center; gap: 12px; margin-top: var(--s-6); padding: var(--s-4) var(--s-5); border-radius: var(--r-card-sm); background: #E6FAE7; color: #004C07; }
.cl-status span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #008A28; flex: none; } .cl-status svg.i { width: 16px; height: 16px; color: #fff; }
.cl-contact { margin-top: var(--gap-section); color: #5E5E5E; }
.doc-card { position: relative; } .dc-go { display: grid; place-items: center; color: #008A28; } .dc-go svg.i { width: 20px; height: 20px; }
html body #app .up-row.quiet .link { font-size: 16px; }
html body #app .pcl-hd .pcl-w { color: var(--ink) !important; }
/* The open cue sits with the type, right of "PDF": a green arrow, always visible */
html body #app .doc-card .dc-foot { display: flex; align-items: center; gap: 12px; } html body #app .doc-card .dc-go { order: 3; }

/* Document card v2 (17 October 2026): PDF mark, name and what it is, Download and Send as icon buttons */
html body #app .doc-card.dc2 { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) auto !important; grid-template-areas: none !important; align-items: center; gap: var(--s-4) !important; padding: var(--s-4) var(--s-5) !important; }
html body #app .dc2 .dc-pdf { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
html body #app .dc2 .dc-pdf svg.i { width: 32px; height: 32px; color: #008A28; }
html body #app .dc2 .dc-pdf b { position: absolute; bottom: 0; right: -2px; padding: 0 3px; border-radius: 3px; background: #004C07; color: #fff; font-size: 12px; line-height: 14px; font-weight: 700 !important; }
html body #app .dc2 .dc-txt { display: grid; gap: 2px; min-width: 0; } html body #app .dc2 .dc-k { color: #5E5E5E; }
html body #app .dc2 .dc-n { margin: 0; font-size: 16px; font-weight: 400; }
html body #app .dc2 .dc-acts { display: flex; gap: 4px; }
html body #app .dc2 .dc-act { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #004C07; cursor: pointer; }
html body #app .dc2 .dc-act:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--hover-line); } html body #app .dc2 .dc-act svg.i { width: 22px; height: 22px; }
html body #app .dc2 .dc-go, html body #app .dc2 .dc-t, html body #app .dc2 .dc-more { display: none; }
/* The claim card's way in is a quiet link, "See claim" */
html body #app .pcl-see { color: #00700B; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
html body #app .pcl-h:hover .pcl-see { text-decoration-thickness: 2px; }
html body #app .dc2 .dc-n, html body #app .dc2 .dc-k { grid-area: auto !important; grid-column: auto !important; grid-row: auto !important; }
html body #app .doc-card.dc2 { min-height: 0 !important; }
html body #app .cl-hero + .pf-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body #app .doc-card.dc2 { grid-template-rows: auto !important; row-gap: 0 !important; }

/* Document actions with their words (17 October 2026; Codex: "prefer visible actions ... add text labels, since tooltips can be
   hard to discover"): View, Download, Email as small pill buttons with an icon and a word, and a tooltip naming the full action */
html body #app .dc2 .dc-act { position: relative; width: auto; height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: var(--r-button); color: #004C07; text-decoration: none; font: inherit; font-size: 16px; }
html body #app .dc2 .dc-act svg.i { width: 20px; height: 20px; }
html body #app .dc2 .dc-act:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--hover-line); }
html body #app .dc2 .dc-act[data-tip]:hover::after, html body #app .dc2 .dc-act[data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 6px 10px; border-radius: 6px; background: #333; color: #fff; font-size: 12px; line-height: 16px; white-space: nowrap; pointer-events: none; z-index: 5; }
html body #app .dc2 .dc-acts { position: relative; }
html body #app .dc2 .dc-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 6; display: grid; min-width: 220px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06); }
html body #app .dc2 .dc-menu[hidden] { display: none; }
html body #app .dc2 .dc-menu > * { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
html body #app .dc2 .dc-menu > *:hover { background: var(--hover); } html body #app .dc2 .dc-menu svg.i { width: 20px; height: 20px; color: #008A28; }
@media (max-width: 767px) { html body #app .dc2 .dc-act span { display: none; } html body #app .doc-card.dc2 { grid-template-columns: 40px minmax(0, 1fr) !important; } html body #app .dc2 .dc-acts { grid-column: 2; } }

/* Deductible info and the payment math (17 October 2026) */
.cl-info { position: relative; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 4px; vertical-align: -6px; border: 0; border-radius: 50%; background: none; color: #0052CC; cursor: pointer; }
.cl-info svg.i { width: 20px; height: 20px; } .cl-info:hover { background: #EEF3FF; }
.cl-info[data-tip]:hover::after, .cl-info[data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 260px; padding: 8px 10px; border-radius: 6px; background: #333; color: #fff; font-size: 12px; line-height: 16px; text-align: left; pointer-events: none; z-index: 5; }
html body .cl-math li.sum { border-bottom: 0; border-top: 2px solid #333; } html body .cl-math li.sum b { font-size: 20px; }
html body #app .cl-math li b, html body .cl-math li b { font-variant-numeric: tabular-nums; }
.ded-drawer .cl-rows { margin-top: var(--s-5); padding: 0; list-style: none; }
.ded-drawer .cl-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4); padding: 12px 0; border-bottom: 1px solid #E3E3E3; }
.ded-drawer .cl-rows li > span:first-child { color: #5E5E5E; } .ded-drawer .cl-rows b { font-weight: 700; }
.ded-drawer p + p { margin-top: var(--s-3); } .ded-drawer .dd-ded b { font-weight: 700; }
html body #app .cl-hero + .pf-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
/* Document cards (17 October 2026, Janne): no underline on hover anywhere on the card; the gap from the PDF mark to the text
   equals the card's side padding (24); the formal name in Bold with what it is under it */
html body #app .doc-card.dc2 { padding: var(--s-4) var(--s-6) !important; column-gap: var(--s-6) !important; }
html body #app .dc2 a, html body #app .dc2 a:hover, html body #app .dc2 .dc-open, html body #app .dc2 .dc-open:hover, html body #app .dc2 .dc-act:hover span { text-decoration: none !important; }
html body #app .dc2 .dc-n .dc-open { font-weight: 700 !important; color: var(--ink) !important; }
/* Hovering one action highlights that action alone (17 October 2026, Janne): the action turns into a filled pill, white on
   Fennia's dark green, and the card behind it stays at rest, so only one thing lights up at a time */
html body #app .dc2 .dc-act:hover, html body #app .dc2 .dc-act:focus-visible { background: #004C07 !important; color: #fff !important; box-shadow: none !important; }
html body #app .dc2 .dc-act:hover svg.i, html body #app .dc2 .dc-act:focus-visible svg.i { color: #fff !important; }
html body #app .doc-card.dc2:has(.dc-act:hover) { background: #F9F9F9 !important; box-shadow: none !important; }
/* Claim attachments as document cards */
html body #app .cl-docs { display: grid; gap: var(--s-2); padding: 0; list-style: none; }
/* The actions menu is the default (17 October 2026, Janne: not three actions side by side; Codex: a visible word with the
   dots, "Actions"; Carbon's overflow-menu pattern for the markup and keys). ?docs=buttons shows the side-by-side version */
html body #app .dc2 .dc-menu-btn { gap: 8px; padding: 0 14px 0 10px; box-shadow: inset 0 0 0 1px #C4C4C4; background: #fff; }
html body #app .dc2 .dc-menu-btn[aria-expanded="true"] { background: #004C07 !important; color: #fff !important; box-shadow: none; } html body #app .dc2 .dc-menu-btn[aria-expanded="true"] svg.i { color: #fff !important; }
/* The document card is gray wherever it appears (17 October 2026): its gray came from the policy page's documents panel, so on the
   claim page, outside that panel, it fell back to white. The fill now belongs to the card itself */
html body #app .doc-card.dc2 { background: #F9F9F9 !important; border: 0 !important; border-radius: var(--r-card-sm) !important; }

/* The simple claim card (17 October 2026): one light row, gray, the system's card padding; title 16 Bold, what happened 16 under
   it; the status badge with the date line beside it; "See claim" at the right */
html body #app .pcl2 .pcl-h { display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto !important; align-items: center !important; gap: var(--s-6) !important; padding: var(--s-4) var(--s-6) !important; }
html body #app .pcl2 .pcl-t b { font-size: 16px !important; line-height: 24px !important; }
html body #app .pcl2 .pcl-w { color: #5E5E5E !important; font-size: 16px; }
html body #app .pcl2 .pcl-m { display: flex; align-items: center; gap: var(--s-3); }
html body #app .pcl2 .pcl-l { color: #5E5E5E; }
@media (max-width: 767px) { html body #app .pcl2 .pcl-h { grid-template-columns: minmax(0, 1fr) auto !important; } html body #app .pcl2 .pcl-m { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; } }

/* The claim card, final pass (17 October 2026, relayed from Janne): an icon first, the Actions menu and a round arrow at the end,
   hover only on those two, never on the card */
html body #app .pcl2 .pcl-h { grid-template-columns: 40px minmax(0, 1fr) auto auto 40px !important; background: #F9F9F9 !important; box-shadow: none !important; cursor: default; }
html body #app .pcl2 .pcl-h:hover { background: #F9F9F9 !important; box-shadow: none !important; }
html body #app .pcl2 .pcl-ic2 { display: grid; place-items: center; width: 40px; height: 40px; } html body #app .pcl2 .pcl-ic2 svg.i { width: 28px; height: 28px; color: #008A28; }
html body #app .pcl2 .pcl-acts { position: relative; }
html body #app .pcl2 .dc-act { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border: 0; border-radius: var(--r-button); background: #fff; box-shadow: inset 0 0 0 1px #C4C4C4; color: #004C07; font: inherit; cursor: pointer; }
html body #app .pcl2 .dc-act:hover, html body #app .pcl2 .dc-act[aria-expanded="true"] { background: #004C07; color: #fff; box-shadow: none; } html body #app .pcl2 .dc-act:hover svg.i, html body #app .pcl2 .dc-act[aria-expanded="true"] svg.i { color: #fff; }
html body #app .pcl2 .dc-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 6; display: grid; min-width: 240px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06); }
html body #app .pcl2 .dc-menu[hidden] { display: none; }
html body #app .pcl2 .dc-menu > * { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
html body #app .pcl2 .dc-menu > *:hover { background: var(--hover); } html body #app .pcl2 .dc-menu svg.i { width: 20px; height: 20px; color: #008A28; }
html body #app .pcl2 .pcl-go2 { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #008A28; color: #fff; }
html body #app .pcl2 .pcl-go2:hover { background: #004C07; } html body #app .pcl2 .pcl-go2 svg.i { width: 20px; height: 20px; color: #fff; }
@media (max-width: 767px) { html body #app .pcl2 .pcl-h { grid-template-columns: 40px minmax(0, 1fr) auto !important; } html body #app .pcl2 .pcl-m { grid-column: 2 / -1; grid-row: 2; } html body #app .pcl2 .pcl-acts { grid-column: 2; grid-row: 3; } html body #app .pcl2 .dc-act span { display: none; } }
/* A claim's title is a page title, 40, clearly above its 28 section titles (relayed from Janne) */
html body #app .cl-hero h1 { font-size: var(--fs-title, 40px) !important; line-height: var(--lh-title, 44px) !important; letter-spacing: -0.03em !important; }
/* Heading to text spacing (system/README.md): a drawer or card title is never flush with its paragraph */
html body .cov-drawer .cd-panel h2 + p, html body .cov-drawer .cd-panel h2 + .cd-what { margin-top: var(--s-2, 8px) !important; }
html body .ded-drawer .cd-panel h2 + p { margin-top: var(--s-3, 12px) !important; }
html body .ded-drawer .cd-panel p + .dd-ded, html body .ded-drawer .cd-panel p + p { margin-top: var(--s-3, 12px) !important; }
html body #app .pcl2 .pcl-h { grid-template-columns: 40px minmax(200px, 1fr) minmax(0, auto) auto 40px !important; } html body #app .pcl2 .pcl-m { flex-wrap: wrap; }

/* Document and attachment cards never hover as a whole (17 October 2026, Janne, said several times): the card is not a link; the
   only target is the Actions button, which opens the dropdown (View, Download, Email) and carries the hover */
html body #app .doc-card.dc2, html body #app .doc-card.dc2:hover, html body #app .doc-card.dc2:focus-within,
html body #app .hero-w ~ .docs-panel .doc-card.dc2:hover { background: #F9F9F9 !important; box-shadow: none !important; cursor: default; }
html body #app .doc-card.dc2 .dc-open { cursor: text; color: var(--ink) !important; }

/* The Actions button's hover, made certain (17 October 2026): every state rule for it in one place, highest specificity */
html body #app li.doc-card.dc2 button.dc-act.dc-menu-btn:hover, html body #app li.doc-card.dc2 button.dc-act.dc-menu-btn:focus-visible,
html body #app li.doc-card.dc2 button.dc-act.dc-menu-btn[aria-expanded="true"] { background: #004C07 !important; color: #fff !important; box-shadow: none !important; }
html body #app li.doc-card.dc2 button.dc-act.dc-menu-btn:hover svg.i, html body #app li.doc-card.dc2 button.dc-act.dc-menu-btn:focus-visible svg.i,
html body #app li.doc-card.dc2 button.dc-act.dc-menu-btn[aria-expanded="true"] svg.i { color: #fff !important; }
/* The claim card has no Actions menu (Janne): the icon, the text, the status, the round arrow */
html body #app .pcl2 .pcl-h { grid-template-columns: 40px minmax(200px, 1fr) minmax(0, auto) 40px !important; }
/* The bug behind "no hover on Actions" (17 October 2026): the old card made its name a stretched link, an ::after layer covering
   the whole card. With the name now plain text, that layer still sat over the Actions button and took every pointer. Gone */
html body #app .dc2 .dc-open::after, html body #app .dc2 .dc-open::before { content: none !important; display: none !important; }
html body #app .dc2 .dc-acts { position: relative; z-index: 2; }
/* An open actions menu sits above the next card's Actions button */
html body #app .dc2 .dc-acts:has([aria-expanded="true"]) { z-index: 30; }
html body #app .dc2:has([aria-expanded="true"]) { position: relative; z-index: 30; }

/* Documents and attachments, final (17 October 2026): the whole card opens the document modal, so the whole card hovers; the
   name's button stretches over the card; no Actions button */
html body #app li.doc-card.dc2.dcv { position: relative; grid-template-columns: 40px minmax(0, 1fr) !important; cursor: pointer; }
html body #app li.doc-card.dc2.dcv .dc-view { position: static; padding: 0; border: 0; background: none; font: inherit; font-weight: 700 !important; color: var(--ink) !important; text-align: left; cursor: pointer; }
html body #app li.doc-card.dc2.dcv .dc-view::after { content: "" !important; display: block !important; position: absolute; inset: 0; border-radius: inherit; }
html body #app li.doc-card.dc2.dcv:hover, html body #app li.doc-card.dc2.dcv:focus-within { background: var(--hover) !important; box-shadow: inset 0 0 0 1.5px var(--hover-line) !important; }
html body #app li.doc-card.dc2.dcv .dc-view:focus-visible { outline: none; } html body #app li.doc-card.dc2.dcv:has(.dc-view:focus-visible) { outline: 2px solid #004C07; outline-offset: 2px; }
/* The document modal: centred, light, airy, 440 wide */
.dv-wrap { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.dv-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.dv { position: relative; width: min(440px, 100%); padding: 24px 40px 40px; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); }
.dv-top { display: flex; align-items: center; gap: 8px; margin: 0 -24px 0 -16px; }
.dv-act { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: #F9F9F9; color: #004C07; font: inherit; cursor: pointer; }
.dv-act:hover, .dv-act:focus-visible { background: #004C07; color: #fff; } .dv-act svg.i { width: 20px; height: 20px; color: currentColor; }
.dv-act:focus-visible, .dv-x:focus-visible { outline: 2px solid #004C07; outline-offset: 2px; }
.dv-x { display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border: 0; border-radius: 50%; background: none; color: #333; cursor: pointer; }
.dv-x:hover { background: #F0F0F0; } .dv-x svg.i { width: 20px; height: 20px; }
.dv-mark { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-top: 32px; }
.dv-mark svg.i { width: 56px; height: 56px; color: #008A28; }
.dv-mark b { position: absolute; bottom: 2px; right: -4px; padding: 1px 5px; border-radius: 4px; background: #004C07; color: #fff; font-size: 12px; line-height: 16px; font-weight: 700; }
.dv h2 { margin-top: 24px; font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.01em; }
.dv-kind { margin-top: 8px; color: #5E5E5E; }
.dv-dl { margin: 24px 0 0; }
.dv-dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid #EEEEEE; }
.dv-dl dt { color: #5E5E5E; } .dv-dl dd { margin: 0; }
.dv-open { display: inline-block; margin-top: 24px; }
html body #app .hero-w ~ .docs-panel li.doc-card.dc2.dcv:hover, html body #app .hero-w ~ .docs-panel li.doc-card.dc2.dcv:focus-within { background: var(--hover) !important; box-shadow: inset 0 0 0 1.5px var(--hover-line) !important; }

/* The document viewer (17 October 2026): the cover drawer's look, centred. A white panel with 24 corners and a soft shadow, a
   head with the drawer's icon tile, the name in 20 Bold and what it is in gray, Download and Email as light pills, a quiet
   round close; under it the document on a light canvas, scrolling inside the panel */
.dv-wrap { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.dv-scrim { position: absolute; inset: 0; background: rgba(20, 30, 20, .32); }
.dv { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(820px, 100%); height: min(88vh, 960px); padding: 0; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .22); }
.dv-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 24px 24px 20px 32px; }
.dv-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #E6FAE7; } .dv-ic svg.i { width: 26px; height: 26px; color: #004C07; }
.dv-tx h2 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.01em; }
.dv-tx p { margin-top: 4px; color: #5E5E5E; }
.dv-acts { display: flex; align-items: center; gap: 8px; }
.dv-act { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: #F3F4F1; color: #004C07; font: inherit; cursor: pointer; }
.dv-act:hover, .dv-act:focus-visible { background: #004C07; color: #fff; } .dv-act svg.i { width: 20px; height: 20px; color: currentColor; }
.dv-act:focus-visible, .dv-x:focus-visible { outline: 2px solid #004C07; outline-offset: 2px; }
.dv-x { display: grid; place-items: center; width: 40px; height: 40px; margin-left: 4px; border: 0; border-radius: 50%; background: none; color: #333; cursor: pointer; }
.dv-x:hover { background: #F0F0F0; } .dv-x svg.i { width: 20px; height: 20px; }
.dv-body { min-height: 0; overflow: auto; background: #F4F4F2; border-top: 1px solid #ECECEA; }
.dv-frame { display: block; width: 100%; height: 100%; border: 0; background: #F4F4F2; }
.dv-photos { display: grid; gap: 20px; padding: 28px 32px 40px; }
.dv-photos figure { margin: 0; } .dv-photos img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.dv-photos figcaption { margin-top: 8px; color: #5E5E5E; font-size: 12px; }
@media (max-width: 639px) { .dv-wrap { padding: 0; } .dv { height: 100%; border-radius: 0; } .dv-head { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; } .dv-ic { display: none; } .dv-act { padding: 0 12px; } }

/* Email inside the viewer: the form on white in the dialog's body */
.dv-body:has(.dv-mail) { background: #fff; }
.dv-mail { display: grid; gap: 8px; max-width: 520px; padding: 32px; }
.dv-mail h3 { margin: 0 0 12px; font-size: 20px; line-height: 24px; font-weight: 700; }
.dv-mail label { font-weight: 700; } .dv-mail label[for="dv-note"] { margin-top: 16px; } .dv-mail .dm-opt { font-weight: 400; color: #5E5E5E; }
.dv-mail input, .dv-mail textarea { width: 100%; padding: 12px 14px; border: 1px solid #8C8A84; border-radius: 4px; background: #fff; font: inherit; color: var(--ink); }
.dv-mail input:focus, .dv-mail textarea:focus { outline: 2px solid #008A28; outline-offset: 0; border-color: #008A28; }
.dv-mail input[aria-invalid="true"] { border-color: #D93D27; } .dv-mail .dm-help { color: #5E5E5E; }
.dv-mail .dm-err { display: flex; align-items: center; gap: 8px; color: #A3241A; } .dv-mail .dm-err svg.i { width: 18px; height: 18px; color: #D93D27; }
.dv-mail .dm-acts { display: flex; gap: 12px; margin-top: 20px; }
.dv-act:disabled { opacity: .4; cursor: default; } .dv-act:disabled:hover { background: #F3F4F1; color: #004C07; }
html body .toast { z-index: 300 !important; }
/* The viewer's head in three rows (17 October 2026, Janne): the name on one line, what it is under it, the actions on their own
   row; the close button stays top right */
.dv-head { grid-template-columns: 48px minmax(0, 1fr) 40px !important; grid-template-areas: "ic tx x" "ic acts acts"; align-items: start !important; row-gap: 16px !important; padding: 28px 24px 24px 32px !important; }
.dv-ic { grid-area: ic; } .dv-tx { grid-area: tx; min-width: 0; } .dv-x { grid-area: x; margin: -4px 0 0 0 !important; } .dv-acts { grid-area: acts; }
.dv-tx h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) { .dv-head { grid-template-columns: minmax(0, 1fr) 40px !important; grid-template-areas: "tx x" "acts acts"; } .dv-tx h2 { white-space: normal; } }
/* The same slim scrollbar on the viewer's own scrolling body (the photos, the email form) */
.dv-body { scrollbar-width: thin; scrollbar-color: #C9CBC4 transparent; }
.dv-body::-webkit-scrollbar { width: 14px; } .dv-body::-webkit-scrollbar-track { background: transparent; }
.dv-body::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 999px; background: #C9CBC4; background-clip: padding-box; }
.dv-body::-webkit-scrollbar-thumb:hover { background-color: #8C8A84; }
/* A bigger viewer so documents read comfortably (17 October 2026, Janne: "the text looks a bit small"): 1040 wide, 92% of the
   window high; the A4 page scales up to 125% to fill it, so the documents' 12 px body reads at about 15 */
.dv { width: min(1040px, 100%) !important; height: min(92vh, 1200px) !important; }
.dv-photos { max-width: 860px; margin: 0 auto; }

/* A visible word on every document card (17 October 2026; best practice: a hover-only cue fails on touch screens and for keyboard
   users, so the card says what it does at rest; Codex picked "View document"). Green link text at the right, underlined when the
   card is hovered or focused. Hidden from screen readers: the button's name already says it opens the document */
html body #app li.doc-card.dc2.dcv { grid-template-columns: 40px minmax(0, 1fr) auto !important; }
html body #app .dcv .dc-cue { color: #00700B; white-space: nowrap; }
html body #app .dcv:hover .dc-cue, html body #app .dcv:focus-within .dc-cue { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 479px) { html body #app .dcv .dc-cue { display: none; } }

/* The claim card (pcl3): icon, the coverage claim as a link with what happened under it, one combined status tag, "View claim".
   The title link stretches over the card, so the whole card hovers and opens the claim */
html body #app .pcl3 .pcl-h { position: relative; grid-template-columns: 40px minmax(0, 1fr) auto auto !important; gap: var(--s-5) !important; cursor: pointer; }
html body #app .pcl3 .pcl-link { color: var(--ink) !important; font-weight: 700 !important; text-decoration: none !important; }
html body #app .pcl3 .pcl-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
html body #app .pcl3 .pcl-link:focus-visible { outline: none; } html body #app .pcl3 .pcl-h:has(.pcl-link:focus-visible) { outline: 2px solid #004C07; outline-offset: 2px; }
html body #app .pcl3 .pcl-h:hover, html body #app .pcl3 .pcl-h:focus-within { background: var(--hover) !important; box-shadow: inset 0 0 0 1.5px var(--hover-line) !important; }
html body #app .pcl3 .dc-cue { color: #00700B; white-space: nowrap; }
html body #app .pcl3 .pcl-h:hover .dc-cue, html body #app .pcl3 .pcl-h:focus-within .dc-cue { text-decoration: underline; text-underline-offset: 3px; }
html body #app .pcl3 .pcl-t { display: grid; gap: 2px; }
@media (max-width: 767px) { html body #app .pcl3 .pcl-h { grid-template-columns: 40px minmax(0, 1fr) !important; } html body #app .pcl3 .badge { grid-column: 2; justify-self: start; } html body #app .pcl3 .dc-cue { grid-column: 2; } }
/* Buttons in drawers and the viewer match the page's buttons (17 October 2026, Janne: Send and Cancel "look a bit off"). Drawers
   and the viewer live outside #app, so they missed the button rules and fell back to the old 52 px Bold pills. One button
   everywhere: 44 high, 22 at the sides, 16 Regular, fully round */
html body :is(.cov-drawer, .dv-wrap) .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px !important; min-height: 44px; padding: 0 22px !important; border-radius: 999px !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1 !important; }
html body :is(.cov-drawer, .dv-wrap) .btn-secondary { border: 1px solid #C4C4C4 !important; background: #fff !important; color: var(--ink) !important; }
html body :is(.cov-drawer, .dv-wrap) .btn-secondary:hover { border-color: #004C07 !important; color: #004C07 !important; }

/* The list pages (17 October 2026): the policy page's hero, cues on cards, the Fennia insight that stands out, softer charts */
html body #app .l2-hero { padding: var(--s-6) 0 var(--s-2); }
html body #app .l2-hero h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; color: #00700B; font-weight: 700 !important; }
html body #app .l2-figs { display: flex; flex-wrap: wrap; gap: 8px 40px; margin: var(--s-4) 0 0; padding: 0; list-style: none; }
html body #app .l2-figs li { display: flex; align-items: baseline; gap: 8px; color: #5E5E5E; }
html body #app .l2-figs b { font-size: 28px; line-height: 32px; color: #004C07; font-weight: 700 !important; letter-spacing: -0.02em; }
html body #app .l2-hero .hw-act { margin-top: var(--s-6); }
html body #app .vz-pc { position: relative; } html body #app .vz-pc .dc-cue { margin-top: var(--s-3); color: #00700B; }
html body #app .vz-pc:hover .dc-cue, html body #app .vz-pc:focus-visible .dc-cue { text-decoration: underline; text-underline-offset: 3px; }
html body #app .vz-buy { display: none !important; }
/* The Fennia insight, made unmistakable: the tag first, a soft green-to-lime surface, Fennia's green edge, the evidence on a white
   plate. The tag is a badge naming who speaks, not a heading */
html body #app .insight { background: linear-gradient(135deg, #E6FAE7 0%, #F6FBDF 100%) !important; box-shadow: inset 0 0 0 2px #8ADC94 !important; border-radius: 24px !important; padding: var(--s-7) !important; }
html body #app .insight .insight-tag { margin: 0 0 var(--s-3) 0; }
html body #app .ins-head2 { display: grid; justify-items: start; max-width: var(--measure); }
html body #app .ins-head2 h2 { font-size: 28px; line-height: 32px; letter-spacing: -0.02em; }
html body #app .ins-head2 p { margin-top: var(--s-3); color: #33413A; }
html body #app .ins-head > div { display: grid; justify-items: start; }
html body #app .ins-plate { margin-top: var(--s-6); padding: var(--s-6); border-radius: 16px; background: #fff; }
/* Charts, calmer: rounded bar tops, a light dashed grid, the value on each bar, You in Fennia green, others in a soft green */
html body #app .vz-grid line { stroke: #E3E5E0; stroke-dasharray: 3 5; }
html body #app path.vz-you, html body #app .vz-legend i.vz-you { fill: #008A28; background: #008A28; }
html body #app path.vz-them, html body #app .vz-legend i.vz-them { fill: #B8E6BD; background: #B8E6BD; }
html body #app .vz-vl { fill: #33413A; font-size: 13px; font-weight: 700; font-family: inherit; }
html body #app .vz-legend i { border-radius: 3px; }
html body #app .ins-r { border-radius: 16px !important; }
html body #app .ins-col { border-radius: 8px 8px 0 0 !important; background: #B8E6BD !important; }
html body #app .ins-c.none .ins-col { background: #E6E7E2 !important; } html body #app .ins-c.me .ins-col { background: #008A28 !important; }
html body #app .ins-ch { border-bottom-color: #D5D8D0 !important; }
/* Add costs drawer list */
.co-list { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.co-list a { display: grid; gap: 2px; padding: 16px 20px; border-radius: 12px; background: #F9F9F9; color: var(--ink); text-decoration: none; }
.co-list a:hover, .co-list a:focus-visible { background: var(--hover); box-shadow: inset 0 0 0 1.5px var(--hover-line); }
.co-list b { font-weight: 700; } .co-list span { color: #5E5E5E; }
/* Both insights read the same way: the tag, the title, the line; no illustration in the head */
html body #app .insight .ins-art { display: none !important; } html body #app .insight .ins-head { grid-template-columns: minmax(0, 1fr) !important; }

/* The list-page hero, second pass (17 October 2026) */
html body #app .l2-band { --bleed: calc((100vw - var(--nav-w) - 100%) / 2); position: relative; overflow: hidden; margin: calc(-1 * var(--page-top)) calc(-1 * var(--bleed)) 0; padding: 72px var(--bleed) 96px; background: linear-gradient(180deg, #E6FAE7 0%, #F2FBEF 100%); }
@media (max-width: 1023px) { html body #app .l2-band { --bleed: var(--page-x); } }
html body #app .l2-in { position: relative; z-index: 1; max-width: 640px; }
html body #app .l2-band h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; color: var(--green-text, #00700B); font-weight: 700 !important; }
html body #app .l2-sub { margin-top: var(--s-4); color: #5E5E5E; }
html body #app .l2-figs2 { display: flex; flex-wrap: wrap; gap: 24px 56px; margin: 40px 0 0; padding: 0; list-style: none; }
html body #app .l2-figs2 li { display: grid; gap: 4px; }
html body #app .l2-figs2 b { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; color: #004C07; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
html body #app .l2-figs2 span { color: #33413A; }
html body #app .l2-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
html body #app .l2-town { position: absolute; right: max(24px, calc(var(--bleed) - 40px)); bottom: 0; display: flex; align-items: flex-end; gap: 0; pointer-events: none; }
html body #app .l2-town img { display: block; width: 112px; height: auto; margin-left: -6px; }
html body #app .l2-town img:nth-child(2n) { width: 136px; } html body #app .l2-town img:nth-child(3n) { width: 96px; }
@media (max-width: 1279px) { html body #app .l2-town img { width: 80px !important; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { html body #app .l2-town img { width: 80px !important; }}
@media (max-width: 767px) { html body #app .l2-town { display: none; } html body #app .l2-band { padding: 40px var(--bleed) 48px; } }
html body #app .l2-band + .hm-todo, html body #app .l2-band + .vz-sec { margin-top: var(--gap-section) !important; }
/* The Fennia insight, third pass: dark Fennia green, white words, the lime tag; the evidence on white plates. It is the one dark
   block on the page, so it cannot be missed (Janne: "doesn't stand out enough") */
html body #app .insight { background: #004C07 !important; box-shadow: none !important; color: #fff; }
html body #app .insight .insight-tag { background: #E9F368 !important; color: #20250A !important; }
html body #app .insight .insight-tag svg.i { color: #004C07 !important; }
html body #app .insight h2, html body #app .insight .ins-head h2 { color: #fff !important; }
html body #app .insight .ins-head p, html body #app .insight .ins-head2 p, html body #app .insight .ins-foot p { color: #D5F7D7 !important; }
html body #app .insight .ins-r, html body #app .insight .ins-plate { background: #fff !important; color: var(--ink); }
html body #app .insight .ins-foot .btn-secondary { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.6) !important; }
html body #app .insight .ins-foot .btn-secondary:hover { background: #fff !important; color: #004C07 !important; }
html body #app .insight .ai-tag { background: linear-gradient(#004C07, #004C07) padding-box, conic-gradient(from var(--ai-a), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F) border-box !important; color: #fff !important; }
/* The package meter with three levels */
html body #app .pkg-n3 .pkg-bars i, html body #app .pkg.pkg-card.pkg-n3 .pkg-bars i { width: 52px !important; }
html body #app .pkg.pkg-card.pkg-n3 .pkg-lab span { width: 52px !important; }
html body #app .pkg-n3 .pkg-lab span { width: 64px; }
/* The level badge on policy cards: white, the gray edge, 4 corners like every badge; small dots filled up to the level, the words */
html body #app .vz-lvl { display: inline-flex; align-items: center; gap: 8px; justify-self: start; align-self: start; margin-top: var(--s-4); padding: 4px 10px 4px 8px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px #DDDDDD; color: var(--ink); font-size: 16px; line-height: 24px; }
html body #app .vz-lvl .lvl-of { color: #5E5E5E; margin-left: -6px; }
html body #app .lvl-dots { display: inline-flex; gap: 3px; } html body #app .lvl-dots i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #008A28; } html body #app .lvl-dots i.on { background: #008A28; box-shadow: none; }
html body #app .vz-lvl .lvl-of { margin-left: 0 !important; }

/* THE SIDEBAR, after Patreon (17 October 2026). From 1024: no top bar; the sidebar runs the full height on the left, white with a
   hairline; the page starts at the very top */
@media (min-width: 1024px) {
  html body .shell { grid-template-columns: 264px minmax(0, 1fr) !important; grid-template-rows: auto !important; }
  html body .appbar { display: none !important; }
  html body .rail.rail2 { grid-column: 1 !important; grid-row: 1 / -1 !important; position: sticky !important; top: 0 !important; height: 100vh !important; margin: 0 !important; display: flex !important; flex-direction: column; gap: 4px; padding: 28px 16px 16px !important; border-radius: 0 !important; background: #FBFBFA !important; border-right: 1px solid #ECECEA !important; box-shadow: none !important; overflow-y: auto; visibility: visible !important; opacity: 1 !important; transform: none !important; }
  html body .col { grid-column: 2 !important; grid-row: 1 !important; min-height: 100vh !important; }
  html body .rail2 .drawer-x { display: none !important; }
}
html body .rail2 > .logo { display: block; margin: 0 12px 28px; } html body .rail2 > .logo img { width: 140px; height: auto; }
html body .rail2 .nav { display: grid; gap: 2px; margin: 0; padding: 0; border: 0 !important; }
html body .rail2 .nav-2 { margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid #ECECEA !important; }
html body .rail2 .nav-item { display: flex !important; align-items: center; gap: 14px; height: 44px; padding: 0 12px !important; border: 0 !important; border-radius: 10px !important; background: none !important; box-shadow: none !important; color: #333 !important; font-size: 16px !important; font-weight: 400 !important; text-decoration: none; }
html body .rail2 .nav-item svg.i { display: block !important; width: 22px !important; height: 22px !important; color: #333 !important; flex: none; }
html body .rail2 .nav-item:hover { background: #F0F0EE !important; }
html body .rail2 .nav-item[aria-current] { background: #EDEDEA !important; color: #1F1F1F !important; font-weight: 700 !important; }
html body .rail2 .nav-item[aria-current] svg.i { color: #004C07 !important; }
html body .rail2 .nav-item .count { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px !important; background: #004C07 !important; color: #fff !important; font-size: 12px; font-weight: 700; }
html body .rail2 .nav-item .count.attn { background: #E9F368 !important; color: #2A2D00 !important; } html body .rail2 .nav-item .count svg.i { width: 14px !important; height: 14px !important; color: currentColor !important; }
html body .rail2 .rail-search kbd { margin-left: auto; font-size: 12px; color: #5E5E5E; }
html body .rail2 .rail-cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin: 20px 0 0; border: 1px solid #C4C4C4 !important; border-radius: 999px !important; background: #fff !important; color: #1F1F1F !important; font-size: 16px; font-weight: 400 !important; text-decoration: none; }
html body .rail2 .rail-cta:hover { border-color: #004C07 !important; color: #004C07 !important; } html body .rail2 .rail-cta svg.i { width: 20px; height: 20px; }
html body .rail2 .rail-ai { display: flex; justify-content: center; margin-top: 12px; }
html body .rail2 .rail-foot2 { margin-top: auto; padding-top: 16px; }
html body .rail2 .rail-me { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: 12px; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
html body .rail2 .rail-me:hover { background: #F0F0EE; }
html body .rail2 .rail-me img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
html body .rail2 .rail-me .who { display: grid; min-width: 0; } html body .rail2 .rail-me .who b { font-weight: 700; } html body .rail2 .rail-me .who span { color: #5E5E5E; font-size: 12px; line-height: 16px; }
html body .rail2 .rail-me svg.i { width: 20px; height: 20px; color: #5E5E5E; }

/* The cover (third pass): a full-width Fennia gradient, 200 high, the town on its floor; the hero's words on white under it */
html body #app .l2-cover { --bleed: calc((100vw - 264px - 100%) / 2); position: relative; height: 200px; margin: calc(-1 * var(--page-top)) calc(-1 * var(--bleed)) 0; overflow: hidden;
  background: radial-gradient(120% 140% at 85% 0%, #8ADC94 0%, rgba(138,220,148,0) 55%), linear-gradient(115deg, #004C07 0%, #008A28 55%, #2EAA4A 100%); }
@media (max-width: 1023px) { html body #app .l2-cover { --bleed: var(--page-x); height: 140px; } }
html body #app .l2-cover .l2-town { display: flex; right: 40px; } html body #app .l2-cover .l2-town img { width: 104px; }
html body #app .l2-cover .l2-town img:nth-child(2n) { width: 124px; } html body #app .l2-cover .l2-town img:nth-child(3n) { width: 88px; }
html body #app .l2-head { margin: 0 !important; padding: 40px 0 0 !important; background: none !important; overflow: visible; }
@media (max-width: 767px) { html body #app .l2-cover .l2-town { display: flex; transform: scale(.6); transform-origin: right bottom; } }

/* Sidebar rules at #app specificity (the old rail rules sat at #app with !important) */
/* THE SIDEBAR, after Patreon (17 October 2026). From 1024: no top bar; the sidebar runs the full height on the left, white with a
   hairline; the page starts at the very top */
@media (min-width: 1024px) {
  html body #app .shell { grid-template-columns: 264px minmax(0, 1fr) !important; grid-template-rows: auto !important; }
  html body #app .appbar { display: none !important; }
  html body #app header.rail.rail2 { grid-column: 1 !important; grid-row: 1 / -1 !important; position: sticky !important; top: 0 !important; height: 100vh !important; margin: 0 !important; display: flex !important; flex-direction: column; gap: 4px; padding: 28px 16px 16px !important; border-radius: 0 !important; background: #FBFBFA !important; border-right: 1px solid #ECECEA !important; box-shadow: none !important; overflow-y: auto; visibility: visible !important; opacity: 1 !important; transform: none !important; }
  html body #app .col { grid-column: 2 !important; grid-row: 1 !important; min-height: 100vh !important; }
  html body #app header.rail.rail2 .drawer-x { display: none !important; }
}
html body #app header.rail.rail2 > .logo { display: block; margin: 0 12px 28px; } html body #app header.rail.rail2 > .logo img { width: 140px; height: auto; }
html body #app header.rail.rail2 .nav { display: grid; gap: 2px; margin: 0; padding: 0; border: 0 !important; }
html body #app header.rail.rail2 .nav-2 { margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid #ECECEA !important; }
html body #app header.rail.rail2 .nav-item { display: flex !important; align-items: center; gap: 14px; height: 44px; padding: 0 12px !important; border: 0 !important; border-radius: 10px !important; background: none !important; box-shadow: none !important; color: #333 !important; font-size: 16px !important; font-weight: 400 !important; text-decoration: none; }
html body #app header.rail.rail2 .nav-item svg.i { display: block !important; width: 22px !important; height: 22px !important; color: #333 !important; flex: none; }
html body #app header.rail.rail2 .nav-item:hover { background: #F0F0EE !important; }
html body #app header.rail.rail2 .nav-item[aria-current] { background: #EDEDEA !important; color: #1F1F1F !important; font-weight: 700 !important; }
html body #app header.rail.rail2 .nav-item[aria-current] svg.i { color: #004C07 !important; }
html body #app header.rail.rail2 .nav-item .count { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px !important; background: #004C07 !important; color: #fff !important; font-size: 12px; font-weight: 700; }
html body #app header.rail.rail2 .nav-item .count.attn { background: #E9F368 !important; color: #2A2D00 !important; } html body #app header.rail.rail2 .nav-item .count svg.i { width: 14px !important; height: 14px !important; color: currentColor !important; }
html body #app header.rail.rail2 .rail-search kbd { margin-left: auto; font-size: 12px; color: #5E5E5E; }
html body #app header.rail.rail2 .rail-cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin: 20px 0 0; border: 1px solid #C4C4C4 !important; border-radius: 999px !important; background: #fff !important; color: #1F1F1F !important; font-size: 16px; font-weight: 400 !important; text-decoration: none; }
html body #app header.rail.rail2 .rail-cta:hover { border-color: #004C07 !important; color: #004C07 !important; } html body #app header.rail.rail2 .rail-cta svg.i { width: 20px; height: 20px; }
html body #app header.rail.rail2 .rail-ai { display: flex; justify-content: center; margin-top: 12px; }
html body #app header.rail.rail2 .rail-foot2 { margin-top: auto; padding-top: 16px; }
html body #app header.rail.rail2 .rail-me { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: 12px; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
html body #app header.rail.rail2 .rail-me:hover { background: #F0F0EE; }
html body #app header.rail.rail2 .rail-me img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
html body #app header.rail.rail2 .rail-me .who { display: grid; min-width: 0; } html body #app header.rail.rail2 .rail-me .who b { font-weight: 700; } html body #app header.rail.rail2 .rail-me .who span { color: #5E5E5E; font-size: 12px; line-height: 16px; }
html body #app header.rail.rail2 .rail-me svg.i { width: 20px; height: 20px; color: #5E5E5E; }
html body #app header.rail.rail2 .nav-item.drawer-x { display: none !important; }
html body #app header.rail.rail2 .nav-item .lb { font-size: 16px !important; }

/* Messages, after Patreon's notifications (17 October 2026, Janne: "this looks pretty good, just like notifications and messages"):
   one centred column, the title at 40 Bold, New and Earlier as section titles, the rows in a gray card, each with its round mark,
   the subject in Bold, the line and the time under it; the help boxes follow under the list */
html body #app .mcols { display: block !important; max-width: 820px; margin: 0 auto; }
html body #app main .head h1 { font-size: 40px !important; line-height: 44px !important; font-weight: 700 !important; letter-spacing: -0.03em; }
html body #app .mgrp { margin: 40px 0 12px; font-size: 20px; line-height: 24px; font-weight: 700 !important; }
html body #app .mlist { border-radius: 16px !important; background: #F9F9F9 !important; overflow: hidden; }
html body #app .mlist > li + li { border-top: 1px solid #E6E6E3; }
html body #app .mmain + aside, html body #app .mcols > aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 48px; }
/* Fixes after the first look (17 October 2026): no old green bar on the current menu item; Messages' head centred with its list;
   the level badge on one line */
html body #app header.rail.rail2 .nav-item::before, html body #app header.rail.rail2 .nav-item::after { display: none !important; content: none !important; }
html body #app .page-in:has(.mcols) > .head { max-width: 820px; margin-left: auto; margin-right: auto; }
html body #app .page-in:has(.mcols) .mchips, html body #app .page-in:has(.mcols) .chips { margin-top: 24px; }
html body #app .vz-lvl { white-space: nowrap; max-width: 100%; }
html body #app .psum-head .vz-lvl { margin-top: 0; justify-self: end; align-self: center; transform: none !important; }
html body #app .page-in:has(.mcols) .head { margin-bottom: 24px; }

/* Home hero after Mistral Studio (17 October 2026) */
html body #app .hm2 { --bleed: calc((100vw - 264px - 100%) / 2); margin: calc(-1 * var(--page-top)) calc(-1 * var(--bleed)) 0; }
@media (max-width: 1023px) { html body #app .hm2 { --bleed: var(--page-x); } }
html body #app .hm2-cover { position: relative; overflow: hidden; height: 360px; display: grid; place-items: center; text-align: center;
  background: radial-gradient(90% 120% at 80% 0%, #8ADC94 0%, rgba(138,220,148,0) 55%), radial-gradient(70% 90% at 10% 100%, #2EAA4A 0%, rgba(46,170,74,0) 60%), linear-gradient(120deg, #004C07 0%, #008A28 60%, #2EAA4A 100%); }
html body #app .hm2-cover .l2-town { position: absolute; right: 32px; bottom: 0; display: flex; opacity: .55; }
html body #app .hm2-tx { position: relative; z-index: 1; margin-top: -60px; }
html body #app .hm2-tx h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; color: #fff; font-weight: 700 !important; }
html body #app .hm2-tx p { margin-top: 12px; color: #D5F7D7; }
html body #app .hm2-doors { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1080px; margin: -120px auto 0; padding: 0 var(--bleed); list-style: none; }
html body #app .hm2-doors > li { display: grid; align-content: start; padding: 28px 28px 8px; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(0, 40, 10, .12), 0 0 0 1px rgba(0, 0, 0, .05); }
html body #app .hm2-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #E3E5E0; } html body #app .hm2-ic svg.i { width: 26px; height: 26px; color: #004C07; }
html body #app .hm2-doors h2 { margin-top: 20px; font-size: 20px; line-height: 24px; font-weight: 700 !important; }
html body #app .hm2-doors p { margin-top: 8px; color: #5E5E5E; }
html body #app .hm2-doors ul { margin: 20px -28px 0; padding: 0; list-style: none; }
html body #app .hm2-doors ul a { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; border-top: 1px solid #ECECEA; color: var(--ink); text-decoration: none; }
html body #app .hm2-doors ul a:hover, html body #app .hm2-doors ul a:focus-visible { background: var(--hover); color: #004C07; }
html body #app .hm2-doors ul a svg.i { width: 20px; height: 20px; color: #008A28; }
html body #app .hm2 + * { margin-top: var(--gap-section) !important; }
@media (max-width: 900px) { html body #app .hm2-doors { grid-template-columns: minmax(0, 1fr); margin-top: -80px; } html body #app .hm2-cover { height: 280px; } }
/* Policy cards after the Mistral agent card: a tinted picture area on top, the words on white under it, a gray hairline round
   the card; buy cards keep the dashed edge */
html body #app a.vz-pc { padding: 0 !important; overflow: hidden; background: #fff !important; box-shadow: inset 0 0 0 1px #E3E5E0 !important; display: grid !important; align-content: start; }
html body #app a.vz-pc > *:not(.vz-media) { margin-left: 28px; margin-right: 28px; }
html body #app a.vz-pc > .dc-cue { margin-bottom: 28px; }
html body #app .vz-media { display: grid !important; place-items: center; height: 168px; margin: 0 0 24px !important; background: #EEF8EC; }
html body #app li:nth-child(3n+2) > a.vz-pc .vz-media { background: #F4F8DF; } html body #app li:nth-child(3n) > a.vz-pc .vz-media { background: #E9F4F1; }
html body #app .vz-media img, html body #app .vz-media svg { width: 104px !important; height: 104px !important; }
html body #app a.vz-pc:hover { box-shadow: inset 0 0 0 1.5px var(--hover-line) !important; background: #fff !important; }
html body #app a.vz-pc:hover .vz-media { background: #D5F7D7; }
html body #app a.vz-pc.vz-add { box-shadow: none !important; outline: 2px dashed #ADADAD; outline-offset: -2px; }
html body #app a.vz-pc.vz-add .vz-media { background: #F9F9F9; }

/* Home, fourth pass: one Fennia gradient screen (after Mistral Studio) */
html body #app .hm3 { --bleed: calc((100vw - 264px - 100%) / 2); position: relative; overflow: hidden; min-height: calc(100vh - 40px); margin: calc(-1 * var(--page-top)) calc(-1 * var(--bleed)) 0; padding: 96px var(--bleed) 120px;
  background: radial-gradient(70% 60% at 85% 5%, rgba(138,220,148,.85) 0%, rgba(138,220,148,0) 60%), radial-gradient(60% 70% at 5% 95%, rgba(46,170,74,.9) 0%, rgba(46,170,74,0) 60%), linear-gradient(125deg, #004C07 0%, #00702A 45%, #008A28 100%); }
@media (max-width: 1023px) { html body #app .hm3 { --bleed: var(--page-x); padding-top: 56px; } }
html body #app .hm3 > .l2-town { position: absolute; right: 24px; bottom: 0; display: flex; opacity: .35; pointer-events: none; }
html body #app .hm3-in { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; text-align: center; }
html body #app .hm3 h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; color: #fff; font-weight: 700 !important; }
html body #app .hm3-sub { margin-top: 12px !important; color: #D5F7D7 !important; max-width: none !important; }
html body #app .hm3-ask { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; max-width: 720px; margin: 40px auto 0; padding: 8px 8px 8px 20px; border-radius: 999px; background: #fff; box-shadow: 0 16px 40px rgba(0, 30, 5, .25); }
html body #app .hm3-spark { font-size: 20px; background: linear-gradient(135deg, #FF9F1C, #FFD43B 30%, #5BC24E 55%, #3D7BF5 80%, #9B5DE5); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body #app .hm3-ask input { min-width: 0; height: 48px; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
html body #app .hm3-ask:focus-within { box-shadow: 0 16px 40px rgba(0, 30, 5, .25), 0 0 0 3px #E9F368; }
html body #app .hm3-sugg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
html body #app .hm3-sugg button { padding: 8px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font: inherit; cursor: pointer; }
html body #app .hm3-sugg button:hover, html body #app .hm3-sugg button:focus-visible { background: #fff; color: #004C07; }
html body #app .hm3-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 64px 0 0; padding: 0; list-style: none; text-align: left; }
html body #app .hm3-cards > li { display: grid; align-content: start; padding: 24px 24px 20px; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(0, 30, 5, .18); }
html body #app .hm3-cards h2 { margin-top: 16px; font-size: 20px; line-height: 24px; font-weight: 700 !important; }
html body #app .hm3-cards p { margin-top: 6px; color: #5E5E5E; min-height: 48px; }
html body #app .hm3-go { display: flex; align-items: center; justify-content: space-between; margin: 16px -24px -20px; padding: 14px 24px; border-top: 1px solid #ECECEA; color: #004C07; text-decoration: none; border-radius: 0 0 20px 20px; }
html body #app .hm3-go:hover, html body #app .hm3-go:focus-visible { background: var(--hover); } html body #app .hm3-go svg.i { width: 20px; height: 20px; color: #008A28; }
@media (max-width: 900px) { html body #app .hm3-cards { grid-template-columns: minmax(0, 1fr); } }
html body #app .hm3 ~ .qfoot, html body #app .page-in:has(.hm3) + .qfoot { margin-top: 0; }
/* No gradients (17 October 2026, Janne: "I don't think those gradients work. I would take the gradients away"). Home and the
   list pages are white like every other page: no cover band, no town; the greeting and titles in Fennia's dark green, the chat
   bar with a gray edge, the action cards in the system's gray */
html body #app .l2-cover { display: none !important; }
html body #app .l2-head { padding-top: 0 !important; }
html body #app .hm3 { background: none !important; min-height: 0 !important; margin: 0 !important; padding: 24px 0 0 !important; overflow: visible; }
html body #app .hm3 > .l2-town { display: none !important; }
html body #app .hm3 h1 { color: #004C07 !important; }
html body #app .hm3-sub { color: #5E5E5E !important; }
html body #app .hm3-ask { box-shadow: inset 0 0 0 1px #C4C4C4 !important; }
html body #app .hm3-ask:focus-within { box-shadow: inset 0 0 0 2px #008A28 !important; }
html body #app .hm3-sugg button { border-color: #DDDDDD !important; background: #fff !important; color: #333 !important; }
html body #app .hm3-sugg button:hover, html body #app .hm3-sugg button:focus-visible { background: var(--hover) !important; border-color: var(--hover-line) !important; color: #004C07 !important; }
html body #app .hm3-cards > li { background: #F9F9F9 !important; box-shadow: none !important; }
html body #app .hm3-go { border-top-color: #E3E3E0 !important; }
html body #app .hm3 .hm2-ic { background: #fff !important; box-shadow: none !important; }

/* Home as a green moment (17 October 2026, Janne pointed to Fennia's Components file, Green moments, Figma uMhPcB6a9u59KFEJGJrXCw
   7385:11530): a flat Fennia light green field, #E6FAE7, no gradient, with Fennia's own small building pieces scattered at its
   sides (the green-moment banners), and the greeting, the chat bar and the cards centred in the calm middle */
html body #app .hm3.hm-gm { --bleed: calc((100vw - 264px - 100%) / 2); position: relative; overflow: hidden; margin: calc(-1 * var(--page-top)) calc(-1 * var(--bleed)) 0 !important; padding: 88px var(--bleed) 96px !important; background: #E6FAE7 !important; }
@media (max-width: 1023px) { html body #app .hm3.hm-gm { --bleed: var(--page-x); } }
html body #app .hm-gm .gm-l, html body #app .hm-gm .gm-r { position: absolute; top: 24px; height: calc(100% - 48px); width: auto; pointer-events: none; }
html body #app .hm-gm .gm-l { left: -40px; } html body #app .hm-gm .gm-r { right: -40px; }
@media (max-width: 1279px) { html body #app .hm-gm .gm-l, html body #app .hm-gm .gm-r { opacity: .4; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { html body #app .hm-gm .gm-l, html body #app .hm-gm .gm-r { opacity: .4; }}
html body #app .hm-gm .hm3-in { max-width: 860px; }
html body #app .hm-gm .hm3-ask { box-shadow: 0 8px 24px rgba(0, 76, 7, .10) !important; }
html body #app .hm-gm .hm3-ask:focus-within { box-shadow: 0 8px 24px rgba(0, 76, 7, .10), 0 0 0 2px #008A28 !important; }
html body #app .hm-gm .hm3-cards > li { background: #fff !important; box-shadow: 0 1px 2px rgba(0, 76, 7, .06) !important; }
html body #app .hm-gm .hm2-ic { background: #E6FAE7 !important; }
html body #app .hm-gm .hm3-sugg button { background: rgba(255,255,255,.7) !important; border-color: #B8E6BD !important; }
/* The insight's charts as one panel (17 October 2026, Janne): no gaps and no corners between the charts, a 1 px line where they
   meet, the rounding only on the panel's outer corners */
html body #app .insight .ins-grid { gap: 1px !important; overflow: hidden; border-radius: 16px; background: #E3E5E0; }
html body #app .insight .ins-grid > .ins-r { border-radius: 0 !important; margin: 0 !important; }
/* Home: the green-moment pieces stay in the margins, clear of the content */
html body #app .hm-gm .gm-l, html body #app .hm-gm .gm-r { top: 40px !important; height: auto !important; width: 170px !important; }
html body #app .hm-gm .gm-l { left: 8px !important; } html body #app .hm-gm .gm-r { right: 8px !important; }
html body #app .hm-gm .hm3-in { max-width: 820px !important; }
@media (max-width: 1279px) { html body #app .hm-gm .gm-l, html body #app .hm-gm .gm-r { display: none; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { html body #app .hm-gm .gm-l, html body #app .hm-gm .gm-r { display: none; }}
/* Read and unread, unmistakable (17 October 2026, Janne: "you don't even differentiate whether you have opened it or not").
   Best practice (Gmail, Outlook, Patreon): an unread message is on white with a green bar at its left edge, its subject Bold and
   in ink, its date Bold in green, a green dot before the subject; a read one sits on the list's gray, everything Regular and
   the subject in gray. The difference is never colour alone: weight and the dot change too, and screen readers hear "Unread" */
html body #app .mlist .mrow { position: relative; }
html body #app .mlist .mrow.unread { background: #fff !important; box-shadow: inset 4px 0 0 #008A28; }
html body #app .mlist .mrow.unread .subj { font-weight: 700 !important; color: #1F1F1F !important; }
html body #app .mlist .mrow.unread .when, html body #app .mlist .mrow.unread time { font-weight: 700 !important; color: #00702A !important; }
html body #app .mlist .mrow:not(.unread) { background: #F9F9F9 !important; }
html body #app .mlist .mrow:not(.unread) .subj { font-weight: 400 !important; color: #5E5E5E !important; }
html body #app .mlist .mrow:not(.unread) .subj::before { content: none !important; }
html body #app .mlist .mrow:hover { background: var(--hover) !important; }
/* The New list keeps its frame: a gray hairline round the white rows */
html body #app .mlist:has(.mrow.unread) { background: #fff !important; box-shadow: inset 0 0 0 1px #E3E5E0; }
/* Insurance card titles in Bold (17 October 2026, Janne) */
html body #app .vz-pc .vz-pn { font-weight: 700 !important; }

/* The AI widget (17 October 2026), after Janne's Frendi target widget, at the bottom centre of the page column */
.aiw-launch, .aiw { --aiw-x: calc(264px + (100vw - 264px) / 2); }
@media (max-width: 1023px) { .aiw-launch, .aiw { --aiw-x: 50vw; } }
.aiw-launch { position: fixed; left: var(--aiw-x); bottom: 24px; z-index: 150; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px 0 18px; border: 4px solid transparent; border-radius: 999px;
  background: linear-gradient(#00762A, #00762A) padding-box, linear-gradient(160deg, #2EAA4A, #8ADC94) border-box; color: #fff; font: inherit; font-size: 16px; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(0,45,15,.55), 0 3px 10px rgba(0,0,0,.12); transition: width .2s, padding .2s; }
.aiw-launch:hover { background: linear-gradient(#00661E, #00661E) padding-box, linear-gradient(160deg, #2EAA4A, #8ADC94) border-box; }
.aiw-launch.open { width: 56px; padding: 0; justify-content: center; } .aiw-launch svg.i { width: 22px; height: 22px; color: #fff; }
.aiw-spark { font-size: 18px; color: #E9F368; }
.aiw-launch:focus-visible { outline: 2px solid #004C07; outline-offset: 3px; }
.aiw { position: fixed; left: var(--aiw-x); bottom: 96px; z-index: 149; transform: translateX(-50%); display: flex; flex-direction: column; width: min(440px, calc(100vw - 32px)); height: min(640px, calc(100vh - 128px)); overflow: hidden;
  border: 4px solid transparent; border-radius: 24px; background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from 200deg, #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F) border-box;
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.25), 0 2px 10px rgba(0,0,0,.06); animation: aiw-pop .28s cubic-bezier(.2,0,0,1); font-family: var(--font); color: #1F1F1F; }
@keyframes aiw-pop { from { transform: translate(-50%, 12px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .aiw { animation: none; } }
.aiw-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: #00702A; color: #fff; }
.aiw-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.16); color: #E9F368; font-size: 18px; }
.aiw-head div { flex: 1; } .aiw-head h2 { margin: 0; font-size: 16px; line-height: 20px; font-weight: 700; color: #fff; } .aiw-head p { margin: 2px 0 0; font-size: 12px; line-height: 16px; color: #D5F7D7; }
.aiw-ib { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 10px; background: none; color: #fff; cursor: pointer; } .aiw-ib:hover { background: rgba(255,255,255,.16); } .aiw-ib svg.i { width: 20px; height: 20px; color: #fff; }
.aiw-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 20px 18px 8px; list-style: none; scrollbar-width: none; }
.aiw-body li { max-width: 85%; padding: 12px 16px; border-radius: 20px; font-size: 16px; line-height: 22px; }
.aiw-bot { align-self: flex-start; background: #F4F4F4; } .aiw-bot p { margin: 0; }
.aiw-me { align-self: flex-end; margin-top: 12px; background: #007A24; color: #fff; }
.aiw-link { display: inline-block; margin-top: 8px; color: #00700B; text-decoration: underline; text-underline-offset: 3px; }
.aiw-body .aiw-meta { display: flex; align-items: center; gap: 6px; max-width: none; margin: 0 0 8px 2px; padding: 0; font-size: 12px; line-height: 16px; color: #707070; background: none; }
.aiw-meta span { color: #2EAA4A; }
.aiw-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 18px 0; }
.aiw-chips button { padding: 8px 14px; border: 1px solid #CFE6D3; border-radius: 999px; background: #fff; color: #00700B; font: inherit; font-size: 14px; cursor: pointer; } .aiw-chips button:hover { background: #EEF8F0; }
.aiw-composer { margin: 10px 18px 0; padding: 12px 12px 10px 16px; border: 1px solid #E2E2E2; border-radius: 20px; } .aiw-composer:focus-within { border-color: #00700B; }
.aiw-composer input { width: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: #1F1F1F; }
.aiw-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.aiw-tool { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; cursor: pointer; } .aiw-tool:hover { background: #F1F1F1; } .aiw-tool svg.i { width: 20px; height: 20px; color: #6B6B6B; }
.aiw-send { display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; border: 0; border-radius: 50%; background: #007A24; cursor: pointer; } .aiw-send svg.i { width: 18px; height: 18px; color: #fff; }
.aiw-fine { margin: 0; padding: 10px 18px 14px; text-align: center; font-size: 12px; line-height: 16px; color: #707070; }
/* The old drawer's way in on the coverages card and drawer still opens the widget; the home hero no longer has its own bar */
/* Lighter charts (17 October 2026, Janne: "too bulky and big ... headers a bit smaller ... graphs skinnier and closer"): chart
   titles at 16 Regular, columns 24 wide and packed together in the middle, a lower plot */
html body #app .insight .ins-r h3 { font-size: 16px !important; line-height: 24px !important; font-weight: 400 !important; color: #33413A; }
html body #app .insight .ins-r { padding: 20px 20px 16px !important; }
html body #app .ins-ch { grid-auto-columns: 56px !important; justify-content: center; gap: 4px !important; height: 128px !important; margin-top: 8px !important; }
html body #app .ins-col { max-width: 24px !important; border-radius: 6px 6px 0 0 !important; }
html body #app .ins-c b { font-size: 12px !important; }
html body #app .ins-l { font-size: 12px !important; margin-top: 6px !important; }
html body #app .ins-r .ins-ch { margin-bottom: 26px !important; }
html body #app .ins-you { font-size: 12px; padding: 1px 6px; }
html body #app .vz-pair svg { max-height: 240px; }
/* The joined charts are divided by the insight's own dark green, not gray (17 October 2026, Janne) */
html body #app .insight .ins-grid { gap: 4px !important; background: #004C07 !important; }
html body #app .insight .ins-r .ins-ch { margin-bottom: 36px !important; }
html body #app .insight .ins-r { padding-bottom: 20px !important; }
html body #app .ins-you { white-space: nowrap; }
/* The widget in the case's AI style (17 October 2026, Janne: "a colorful rainbow thing ... do that styling on the AI assistant in
   the widget"): the launcher is the AI tag grown up, white with the rainbow ring that turns on hover and the rainbow sparkle,
   the words in dark green; open, it is a white circle in the same ring with a dark X. The header is white with the rainbow
   sparkle in a soft tile, so the ring and the sparkle carry the AI colour, as on every other way in */
html body .aiw-launch { border: 3px solid transparent !important; color: #004C07 !important;
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ai-a), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F) border-box !important;
  box-shadow: 0 14px 30px -12px rgba(0, 40, 10, .35), 0 3px 10px rgba(0, 0, 0, .10) !important; }
html body .aiw-launch:hover, html body .aiw-launch:focus-visible { animation: ai-turn 1s linear infinite; border-width: 4px !important; }
@media (prefers-reduced-motion: reduce) { html body .aiw-launch:hover { animation: none; } }
html body .aiw-launch .aiw-spark { font-size: 20px; background: linear-gradient(135deg, #FF9F1C, #FFD43B 30%, #5BC24E 55%, #3D7BF5 80%, #9B5DE5); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body .aiw-launch.open svg.i { color: #004C07 !important; }
html body .aiw-head { background: #fff !important; color: #1F1F1F !important; border-bottom: 1px solid #ECECEA; }
html body .aiw-head h2 { color: #1F1F1F !important; } html body .aiw-head p { color: #707070 !important; }
html body .aiw-mark { background: #F4F4F2 !important; font-size: 20px !important; color: transparent !important; }
html body .aiw-mark { background-image: none; } html body .aiw-mark::before { content: "✦"; background: linear-gradient(135deg, #FF9F1C, #FFD43B 30%, #5BC24E 55%, #3D7BF5 80%, #9B5DE5); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body .aiw-ib { color: #333 !important; } html body .aiw-ib svg.i { color: #333 !important; } html body .aiw-ib:hover { background: #F1F1F1 !important; }
html body .aiw-meta span { background: linear-gradient(135deg, #FF9F1C, #5BC24E 55%, #3D7BF5); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
/* The widget as the primary space (17 October 2026, Janne: "open much wider, like an AI assistant space ... a primary way to
   interact"): 760 wide and nearly the window's height, the conversation in a readable centre column, the composer wider */
html body .aiw { width: min(760px, calc(100vw - 32px)) !important; height: min(780px, calc(100vh - 120px)) !important; bottom: 92px !important; }
html body .aiw-body { padding: 28px max(28px, calc((100% - 640px) / 2)) 8px !important; }
html body .aiw-body li { max-width: 80%; }
html body .aiw-chips { padding: 12px max(28px, calc((100% - 640px) / 2)) 0 !important; }
html body .aiw-composer { margin: 12px max(28px, calc((100% - 640px) / 2)) 0 !important; padding: 16px 14px 12px 20px !important; }
html body .aiw-head { padding: 18px 20px 18px 24px !important; }
@media (max-width: 1023px) { html body .aiw { width: calc(100vw - 24px) !important; } }

/* One back link (17 October 2026, Janne: "always above the header and say 'Back to where?'"): the green round arrow and
   "Back to <page>" sit above the title on every page with a parent, never beside it; the old round icon-only button is gone */
html body #app .head-back { margin: var(--s-5) 0 var(--s-4); }
html body #app .head-back + .head { margin-top: 0 !important; padding-top: 0 !important; }
html body #app .hero-w .hw-back { margin-bottom: 0; }

/* Payments and an invoice (17 October 2026, Janne: "Invoices are still in a really weird style"): the claims language. Invoices
   are claim cards (inv3); paid ones grouped under a year heading at 20; e-invoicing is a quiet gray card with one secondary
   button; the invoice page has the claim page's facts row (three facts), its actions in a row under it, its rows sections */
html body #app .inv-yr { margin: var(--s-6) 0 0; font-size: 20px; line-height: 24px; font-weight: 700; color: var(--ink); }
html body #app .inv-yr + .pcl-list { margin-top: var(--s-3); }
html body #app .inv-facts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 767px) { html body #app .inv-facts { grid-template-columns: minmax(0, 1fr) !important; } html body #app .inv-facts li { border-left: 0 !important; padding-left: 0 !important; } }
html body #app .inv-acts { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
html body #app .inv-rows .num { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
html body #app .inv-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--green-text, #00700B); font: inherit; cursor: pointer; }
html body #app .inv-copy:hover { background: #E6FAE7; } html body #app .inv-copy svg.i { width: 20px; height: 20px; }
html body #app .inv-copy:focus-visible { outline: 2px solid var(--focus, #0052CC); outline-offset: 2px; }
/* Paid invoices: a gray card per year, a row per invoice (17 October 2026) */
html body #app .inv-year { margin: var(--s-3) 0 0; padding: 0; list-style: none; border-radius: var(--r-card-sm); background: #F9F9F9; overflow: hidden; }
html body #app .inv-r { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) 120px minmax(0, 1.4fr) auto; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-6); }
html body #app .inv-r + .inv-r { box-shadow: 0 -1px 0 #E3E3E3; }
html body #app .inv-r:hover { background: #EDEDED; box-shadow: inset 0 0 0 1.5px var(--hover-line, #00700B); }
html body #app .inv-m { display: grid; gap: 2px; } html body #app .inv-m > span { color: #5E5E5E; }
html body #app .inv-rl { color: var(--ink); font-weight: 700; text-decoration: none; }
html body #app .inv-rl::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
html body #app .inv-rl:focus-visible { outline: none; } html body #app .inv-r:has(.inv-rl:focus-visible) { box-shadow: inset 0 0 0 2px var(--focus, #0052CC); }
html body #app .inv-amt { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
html body #app .inv-pd { display: inline-flex; align-items: center; gap: 8px; color: #3D3D3D; } html body #app .inv-pd svg.i { width: 20px; height: 20px; color: #008A28; }
html body #app .inv-r .dc-cue { color: var(--green-text, #00700B); }
html body #app .inv-r:hover .dc-cue { text-decoration: underline; }
@media (max-width: 767px) { html body #app .inv-r { grid-template-columns: minmax(0, 1fr) auto; padding: var(--s-4); } html body #app .inv-pd { grid-column: 1 / -1; } html body #app .inv-r .dc-cue { display: none; } }

/* ===== 17 October 2026, the sweep (Janne: "multiply that everywhere") ===== */
/* Every page title is the hero's title: 40 Bold Fennia green, its line under it in gray. One look for list pages, detail pages
   and the older pages built on head() */
html body #app main .head h1 { color: #00700B !important; }
html body #app main .head .dateline { color: #5E5E5E; }
/* The floating assistant never covers the footer's links: the page ends with room for it */
html body #app .qfoot { padding-bottom: 96px; }

/* Home, fifth pass. The green moment holds the greeting, the ask field and the three cards */
html body #app .hm5.hm-gm { --bleed: calc((100vw - 264px - 100%) / 2); position: relative; overflow: hidden; margin: calc(-1 * var(--page-top)) calc(-1 * var(--bleed)) 0; padding: 88px var(--bleed) 72px; background: #E6FAE7; }
@media (max-width: 1023px) { html body #app .hm5.hm-gm { --bleed: var(--page-x); padding-top: 48px; } }
html body #app .hm5-in { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
html body #app .hm5 h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; color: #004C07; font-weight: 700 !important; }
html body #app .hm5 .hm3-sub { margin: 12px auto 0 !important; color: #3D3D3D !important; }
/* The ask field: the assistant's rainbow ring, turning slowly while it has focus; 64 tall, the sparkle, the field, a photo
   tool and the round send */
html body #app .hm-ask { --ai-a: 200deg; display: flex; align-items: center; gap: 8px; max-width: 720px; min-height: 64px; margin: 32px auto 0; padding: 8px 8px 8px 22px; border: 3px solid transparent; border-radius: 999px;
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ai-a), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F) border-box;
  box-shadow: 0 12px 32px rgba(0, 76, 7, .12); text-align: left; }
html body #app .hm-ask:focus-within, html body #app .hm-ask:hover { animation: ai-turn 3s linear infinite; }
@media (prefers-reduced-motion: reduce) { html body #app .hm-ask:focus-within, html body #app .hm-ask:hover { animation: none; } }
html body #app .hm-ask-sp { font-size: 20px; line-height: 1; background: conic-gradient(#FF5A5F, #FFD43B, #5BC24E, #22B8CF, #3D7BF5, #9B5DE5, #FF5A5F); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body #app .hm-ask input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: inherit; font-size: 20px; color: var(--ink); }
html body #app .hm-ask input:focus { outline: none; } html body #app .hm-ask input::placeholder { color: #6B6B6B; }
html body #app .hm-ask .aiw-tool { width: 44px; height: 44px; border-radius: 50%; }
html body #app .hm-ask .aiw-send { width: 44px; height: 44px; margin: 0; }
html body #app .hm-ask .aiw-send:hover { background: #005C1B; }
html body #app .hm-ask:has(input:focus-visible) { outline: 2px solid #0052CC; outline-offset: 3px; }
html body #app .hm-sugg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
html body #app .hm-sugg button { min-height: 44px; padding: 0 18px; border: 1px solid #B8E6BD; border-radius: 999px; background: rgba(255, 255, 255, .8); color: #00700B; font: inherit; cursor: pointer; }
html body #app .hm-sugg button:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #00700B; }
html body #app .hm-fine { margin-top: 12px; font-size: 12px; line-height: 16px; color: #5E5E5E; }
html body #app .hm5-cards { margin-top: 48px !important; }
html body #app .hm5-cards > li { background: #fff !important; box-shadow: 0 1px 2px rgba(0, 76, 7, .06) !important; }
html body #app .hm5 .hm2-ic { background: #E6FAE7 !important; }

/* If something went wrong tomorrow: the ring on the left, the five cases as rows on the right; the biggest gap under them */
html body #app .hm-cover > h2, html body #app .hm-soon > h2 { font-size: 28px; line-height: 32px; letter-spacing: -0.02em; }
html body #app .hm-cv { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 32px; padding: 32px 40px; border-radius: var(--r-card-sm); background: #F9F9F9; }
@media (max-width: 899px) { html body #app .hm-cv { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; justify-items: center; } }
html body #app .hm-cv-l { display: grid; justify-items: center; gap: 8px; }
html body #app .hm-ring { width: 200px; height: 200px; }
html body #app .hm-rn { font-size: 40px; font-weight: 700; fill: #004C07; letter-spacing: -0.03em; }
html body #app .hm-rl { font-size: 12px; fill: #5E5E5E; }
html body #app .hm-arc { animation: hm-arc 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hm-arc { from { stroke-dasharray: 0 var(--c); } }
@media (prefers-reduced-motion: reduce) { html body #app .hm-arc { animation: none; } }
html body #app .hm-rs { color: #5E5E5E; } html body #app .hm-rs b { color: var(--ink); font-weight: 700; }
html body #app .hm-cases { width: 100%; margin: 0; padding: 0; list-style: none; }
html body #app .hm-case { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1.4fr) minmax(80px, 1fr) 150px 120px; align-items: center; gap: 16px; padding: 14px 12px; border-radius: 12px; }
html body #app .hm-case + .hm-case { box-shadow: 0 -1px 0 #E3E3E3; }
html body #app .hm-case:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #00700B; }
html body #app .hm-ci { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; } html body #app .hm-ci svg.i { width: 22px; height: 22px; color: #008A28; }
html body #app .hm-ct { display: grid; gap: 2px; } html body #app .hm-ct > span { color: #5E5E5E; }
html body #app .hm-cl { color: var(--ink); font-weight: 700; text-decoration: none; }
html body #app .hm-cl::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
html body #app .hm-case:has(.hm-cl:focus-visible) { box-shadow: inset 0 0 0 2px #0052CC; } html body #app .hm-cl:focus-visible { outline: none; }
html body #app .hm-cbar { height: 8px; border-radius: 4px; background: #E3E3E3; overflow: hidden; } html body #app .hm-cbar i { display: block; height: 100%; border-radius: 4px; background: #008A28; }
html body #app .hm-cf { color: #5E5E5E; text-align: right; white-space: nowrap; } html body #app .hm-cf b { color: var(--ink); font-weight: 700; }
html body #app .hm-case .badge { justify-self: end; }
@media (max-width: 1199px) { html body #app .hm-case { grid-template-columns: 40px minmax(0, 1fr) auto; } html body #app .hm-cbar { grid-column: 2 / -1; grid-row: 2; } html body #app .hm-cf { grid-column: 2; grid-row: 3; text-align: left; } html body #app .hm-case .badge { grid-row: 1; grid-column: 3; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { html body #app .hm-case { grid-template-columns: 40px minmax(0, 1fr) auto; } html body #app .hm-cbar { grid-column: 2 / -1; grid-row: 2; } html body #app .hm-cf { grid-column: 2; grid-row: 3; text-align: left; } html body #app .hm-case .badge { grid-row: 1; grid-column: 3; }}
html body #app .hm-gap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 16px; padding: 24px 32px; border-radius: var(--r-card-sm); background: #E9FC8E; }
html body #app .hm-gap > div { max-width: var(--measure); } html body #app .hm-gap h3 { font-size: 20px; line-height: 24px; font-weight: 700; } html body #app .hm-gap p { margin-top: 6px; color: #262626; }
html body #app .hm-more { margin-top: 16px; }

/* Coming up: the next dates on one line, a dot on a rule for each, the date above in Bold green, what happens and a short line */
html body #app .hm-tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 32px 0 0; padding: 0; list-style: none; }
html body #app .hm-tl > li { position: relative; display: grid; grid-template-rows: auto 24px auto auto; gap: 6px; padding-right: 24px; }
html body #app .hm-tl-d { font-weight: 700; color: #00700B; }
html body #app .hm-tl-dot { position: relative; align-self: center; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px #008A28; z-index: 1; }
html body #app .hm-tl > li::before { content: ""; position: absolute; left: 0; right: 0; top: calc(24px + 6px + 12px); height: 2px; background: #D5F7D7; }
html body #app .hm-tl > li:first-child .hm-tl-dot { background: #008A28; }
html body #app .hm-tl-t { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: #B8E6BD; text-underline-offset: 4px; }
html body #app .hm-tl-t:hover { color: #00700B; text-decoration-color: currentColor; }
html body #app .hm-tl-s { color: #5E5E5E; }
@media (max-width: 899px) { html body #app .hm-tl { grid-template-columns: minmax(0, 1fr); gap: 20px; } html body #app .hm-tl > li { grid-template-rows: auto; padding-left: 28px; } html body #app .hm-tl-dot { position: absolute; left: 0; top: 4px; } html body #app .hm-tl > li::before { left: 6px; right: auto; top: 18px; bottom: -24px; width: 2px; height: auto; } html body #app .hm-tl > li:last-child::before { display: none; } }
/* Home's cases, second look: the ring and its sentence as the card's head, the five rows full width under it */
html body #app .hm-cv { grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; padding: 32px 32px 16px !important; justify-items: stretch !important; }
html body #app .hm-cv-l { display: flex !important; align-items: center; gap: 32px !important; padding: 0 12px 24px; border-bottom: 1px solid #E3E3E3; }
html body #app .hm-ring { width: 152px !important; height: 152px !important; flex: none; }
html body #app .hm-rs-t { font-size: 20px; line-height: 28px; max-width: 560px; } html body #app .hm-rs-t b { font-weight: 700; color: #004C07; }
html body #app .hm-rs { margin-top: 6px; max-width: 560px; }
html body #app .hm-case { grid-template-columns: 40px minmax(0, 1.6fr) minmax(120px, 1fr) 160px 132px !important; }
@media (max-width: 1199px) { html body #app .hm-case { grid-template-columns: 40px minmax(0, 1fr) auto !important; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { html body #app .hm-case { grid-template-columns: 40px minmax(0, 1fr) auto !important; }}
@media (max-width: 599px) { html body #app .hm-cv-l { flex-direction: column; align-items: flex-start; } }
html body #app .hm-tl > li { align-content: start; }
/* Home cases: a hairline between rows, not a shadow that rounds into a card edge */
html body #app .hm-case + .hm-case { box-shadow: none; }
html body #app .hm-case + .hm-case::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 1px; background: #E3E3E3; }
html body #app .hm-case:hover::before, html body #app .hm-case:hover + .hm-case::before { opacity: 0; }
@media (max-width: 599px) {
  html body #app .hm-cv { padding: 20px 16px 8px !important; }
  html body #app .hm-case { grid-template-columns: minmax(0, 1fr) auto !important; gap: 8px 12px; padding: 16px 8px; }
  html body #app .hm-ci { display: none; }
  html body #app .hm-ct { grid-column: 1 / -1; grid-row: 1; }
  html body #app .hm-cbar { grid-column: 1 / -1 !important; grid-row: 2 !important; }
  html body #app .hm-cf { grid-column: 1 !important; grid-row: 3 !important; }
  html body #app .hm-case .badge { grid-column: 2 !important; grid-row: 3 !important; }
  html body #app .hm-ask { padding-left: 16px; } html body #app .hm-ask .aiw-tool { display: none; }
  html body #app .hm-gap { padding: 20px; }
}
/* The launcher on phones: above the tab bar, at the right, as a round sparkle with its name for screen readers; the widget
   opens full width above the tab bar */
@media (max-width: 1023px) {
  html body .aiw-launch:not(.open) { left: auto !important; right: 16px; bottom: calc(72px + env(safe-area-inset-bottom)) !important; transform: none !important; width: 56px; padding: 0 !important; justify-content: center; }
  html body .aiw-launch:not(.open) > span:not(.aiw-spark) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html body .aiw-launch:not(.open) .aiw-spark { font-size: 22px; }
  html body .aiw-launch.open { left: auto !important; right: 16px; bottom: calc(72px + env(safe-area-inset-bottom)) !important; transform: none !important; }
  html body .aiw { left: 12px !important; right: 12px; transform: none !important; bottom: calc(140px + env(safe-area-inset-bottom)) !important; height: calc(100vh - 200px) !important; }
}
/* The assistant space is modal: a light scrim dims the page; the conversation settles at the foot of its area, the way chats
   read, and scrolls up from there */
.aiw-scrim { position: fixed; inset: 0; z-index: 140; background: rgba(0, 40, 4, .28); animation: aiw-fade .2s ease both; }
@keyframes aiw-fade { from { opacity: 0; } }
html body .aiw { z-index: 160 !important; }
html body .aiw-body { display: flex; flex-direction: column; } html body .aiw-body > :first-child { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .aiw-scrim { animation: none; } }
/* The tip card (17 October 2026): a quiet gray card with a 20 Bold title, one line in gray, and real buttons at the right (under
   it on a phone). Used for e-invoicing, Messages' "Would you rather talk?", a notice's questions. No icon tile, no 28 heading */
html body .tip2, html body #app .tip2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 32px; border-radius: var(--r-card-sm, 16px); background: #F9F9F9; }
html body #app .tip2 > div:first-child { flex: 1 1 320px; max-width: var(--measure); }
html body #app .tip2 h2 { font-size: 20px !important; line-height: 24px !important; letter-spacing: -0.01em; font-weight: 700 !important; }
html body #app .tip2 p { margin-top: var(--s-2); color: #5E5E5E; }
html body #app .tip2-a { display: flex; flex-wrap: wrap; gap: 12px; }
html body #app .tip2-col { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; margin-top: 48px !important; }
@media (max-width: 599px) { html body #app .tip2 { padding: 20px; } }
/* A conversation's side column: gray cards with the claim card's order, the badge, a visible "View claim" */
html body #app .mab2-col { display: grid; align-content: start; gap: 16px; }
html body #app .mab2 { display: grid; justify-items: start; gap: 6px; padding: 24px; border-radius: 16px; background: #F9F9F9; }
html body #app .mab2 h3 { font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.01em; }
html body #app .mab2 p { color: #5E5E5E; } html body #app .mab2 .badge { margin-top: 8px; } html body #app .mab2 .btn { margin-top: 8px; }
html body #app .mab2-go { margin-top: 8px; color: #00700B; text-decoration: underline; text-underline-offset: 3px; }
/* A notice: the text at the measure, its figures as the facts row, what she has to do as a badge */
html body #app .n2 { max-width: var(--measure); } html body #app .n2 p + p { margin-top: 12px; }
html body #app .n2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-width: var(--measure); margin-top: 32px !important; }
html body #app .n2-facts b { font-size: 28px; line-height: 32px; font-weight: 700; color: #004C07; }
html body #app .n2-done { margin-top: 24px; } html body #app .n2-link { margin-top: 12px; }
/* Messages, tidied (17 October 2026): the New card's outline is a real border, so the white rows can't cover it at the corners;
   read subjects stay dark (regular weight is the difference, with the white and the bar) */
html body #app .mlist:has(.mrow.unread) { box-shadow: none !important; border: 1px solid #E3E5E0; }
html body #app .mlist .mrow:not(.unread) .subj { color: #262626 !important; }
html body #app .mab2 h3, html body #app .tip2 h2 { font-weight: 700 !important; }
html body #app .mab2 .badge { white-space: normal; text-align: left; }

/* Messages after Babbel's review list (17 October 2026). The filter cards: 160 wide, 12 corners, a 1 px gray edge; the chosen
   one a 2 px dark edge; the label and its count under it in 12 gray */
html body #app .mb-top { padding: var(--s-6) 0 32px; }
html body #app .mb-top h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; color: #00700B; font-weight: 700 !important; }
html body #app .mb-f { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
html body #app .mb-fc { display: grid; justify-items: start; gap: 2px; min-width: 150px; min-height: 64px; padding: 12px 18px; border: 1px solid #CFCFCF; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
html body #app .mb-fc:hover { box-shadow: inset 0 0 0 1px var(--ink); }
html body #app .mb-fc[aria-pressed="true"] { border: 2px solid var(--ink); padding: 11px 17px; font-weight: 700; }
html body #app .mb-fn { font-size: 12px; line-height: 16px; color: #5E5E5E; font-weight: 400; }
html body #app .mb-fc:focus-visible { outline: 2px solid #0052CC; outline-offset: 2px; }
/* The band: full width gray from the band's head to the last row */
html body #app .mb-band { --bleed: calc((100vw - 264px - 100%) / 2); margin: 0 calc(-1 * var(--bleed)); padding: 40px var(--bleed) 56px; background: #F9F9F9; border-top: 1px solid #E3E3E3; }
@media (max-width: 1023px) { html body #app .mb-band { --bleed: var(--page-x); } }
html body #app .mb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 32px; border-bottom: 1px solid #E3E3E3; }
html body #app .mb-head h2 { font-size: 28px; line-height: 32px; letter-spacing: -0.02em; font-weight: 700 !important; }
html body #app .mb-head p { margin-top: 8px; max-width: var(--measure); color: #3D3D3D; }
html body #app .mb-g { margin: 32px 0 4px; font-size: 20px; line-height: 24px; font-weight: 700 !important; }
html body #app .mb-list { margin: 0; padding: 0; list-style: none; }
/* A row: the 96 picture, the subject and its line, the date; a hairline under each; hover is the white row with the inset edge */
html body #app .mb-r { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 20px 16px; margin: 0 -16px; border-radius: 12px; }
html body #app .mb-r + .mb-r::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: #E3E3E3; }
html body #app .mb-r:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #00700B; } html body #app .mb-r:hover::before, html body #app .mb-r:hover + .mb-r::before { opacity: 0; }
html body #app .mb-pic { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 12px; background: #E6FAE7; overflow: hidden; }
html body #app .mb-pic img { width: 64px; height: 64px; object-fit: contain; } html body #app .mb-pic.photo img { width: 100%; height: 100%; object-fit: cover; }
html body #app .mb-t { display: grid; gap: 6px; min-width: 0; }
html body #app .mb-l { color: var(--ink); font-size: 20px; line-height: 28px; font-weight: 400; text-decoration: none; }
html body #app .mb-l::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
html body #app .mb-r:has(.mb-l:focus-visible) { box-shadow: inset 0 0 0 2px #0052CC; } html body #app .mb-l:focus-visible { outline: none; }
html body #app .mb-r.unread .mb-l { font-weight: 700 !important; }
html body #app .mb-dot { display: inline-block; width: 10px; height: 10px; margin: 0 10px 2px 0; border-radius: 50%; background: #008A28; vertical-align: middle; }
html body #app .mb-p { color: #5E5E5E; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body #app .mb-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 12px; line-height: 16px; color: #5E5E5E; }
html body #app .mb-tags svg.i { width: 16px; height: 16px; }
html body #app .mb-d { align-self: start; padding-top: 4px; color: #5E5E5E; white-space: nowrap; } html body #app .mb-r.unread .mb-d { color: #00700B; font-weight: 700; }
@media (max-width: 599px) { html body #app .mb-r { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; } html body #app .mb-pic { width: 64px; height: 64px; } html body #app .mb-pic img { width: 44px; height: 44px; } html body #app .mb-d { grid-column: 2; grid-row: 2; padding: 0; } html body #app .mb-p { white-space: normal; } }
html body #app .mb-none { margin-top: 24px; }
html body #app .mb-help .tip2-col { margin-top: 0 !important; }
/* The task flows' live summary (buying, filing a claim) in Fennia's dark green, the insight's colour, not a neutral dark gray
   (17 October 2026): one dark surface in the whole portal, and it is Fennia's. White text keeps 11.2:1 on #004C07 */
html body .live { --inverse: #004C07; --inverse-ink: #FFFFFF; --inverse-ink-2: #D5F7D7; --inverse-line: rgba(255, 255, 255, .18); --inverse-subtle: rgba(255, 255, 255, .12); border-radius: 24px; }
/* Choice cards in the flows (the claim's "What happened?", the buy list, the amounts): 16 corners, a light gray edge at rest, the
   green inset edge on hover, chosen is the 2 px green edge on Fennia's lightest green. Same language as every other card */
html body .choice, html body .buy-card { border-radius: 16px !important; border: 0 !important; box-shadow: inset 0 0 0 1px #8C8A84 !important; background: #fff; }
html body .choice:hover, html body .buy-card:hover { box-shadow: inset 0 0 0 1.5px #00700B !important; }
html body .choice:has(input:checked), html body .buy-card:has(input:checked) { box-shadow: inset 0 0 0 2px #00700B !important; background: #F3FCF4 !important; }
html body .choice { min-height: 72px; padding: 16px 20px; }
/* Card titles are 20 Bold everywhere (the type scale): the coverage cases, the risk steps, the help boxes */
html body #app .case-toggle, html body #app .step-card h3, html body #app .steps-done h2, html body #app .cov-changed h2 { font-size: 20px !important; line-height: 24px !important; font-weight: 700 !important; letter-spacing: -0.01em; }
html body #app .cov-changed > .art, html body #app .cov-changed > svg, html body #app .cov-changed > img { display: none !important; }
html body #app .cov-changed { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 32px !important; border-radius: 16px; background: #F9F9F9; }
/* Fixes from the synthetic walk (17 October 2026) */
@media (max-width: 599px) {
  html body #app ul.pf-row.inv-facts { grid-template-columns: minmax(0, 1fr) !important; }
  html body #app ul.pf-row.inv-facts li { border-left: 0 !important; padding-left: 0 !important; }
  html body #app ul.pf-row.inv-facts li + li { border-top: 1px solid #E3E3E3; }
  /* Messages on a phone: the subject gets the whole width, the date goes under it */
  html body #app .mlist .mrow .subj { grid-column: 2 / -1 !important; }
  html body #app .mlist .mrow .time { grid-column: 2 / -1 !important; grid-row: 2 !important; justify-self: start; }
  html body #app .mlist .mrow .prev { grid-row: 3 !important; } html body #app .mlist .mrow .tags { grid-row: 4 !important; }
}
/* A badge in a facts row sits on the figures' line */
html body #app .pf-row li b .badge, html body #app .pf-row li > b > .badge { vertical-align: middle; margin: -6px 0 -4px; }
html body #app .inv-rl { font-weight: 700 !important; }
html body #app .inv-ph { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }

/* ===== The rules review's fixes (17 October 2026) ===== */
/* Home: small print at 16 (12 is for tags only); the case rows are plain rows (no hover, nothing to click); the ring holds the figure */
html body #app .hm-fine { font-size: 16px; line-height: 24px; }
html body #app .hm-case:hover { background: transparent; box-shadow: none; } html body #app .hm-case:hover::before, html body #app .hm-case:hover + .hm-case::before { opacity: 1; }
html body #app .hm-cn { font-weight: 700; color: var(--ink); }
html body #app .hm-rn { font-size: 44px; }
/* Coming up: the dot on the rule, then the title as a green link, the date under it, the line under that; six fit on one row */
html body #app .hm-tl { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; row-gap: 32px; }
html body #app .hm-tl > li { grid-template-rows: 24px auto auto auto !important; }
html body #app .hm-tl > li::before { top: 11px !important; }
html body #app .hm-tl-t { color: #00700B !important; text-decoration: none !important; } html body #app .hm-tl-t:hover { text-decoration: underline !important; text-underline-offset: 3px; }
html body #app .hm-tl-d { font-weight: 400 !important; color: var(--ink) !important; }
@media (max-width: 899px) { html body #app .hm-tl > li { grid-template-rows: auto !important; } html body #app .hm-tl > li::before { top: 18px !important; } }
/* The assistant's send is an arrow pointing up, the chat convention */
html body .aiw-send svg.i { transform: rotate(-90deg); }
/* Payments: the paid row's cue stays visible on phones, under the badge */
@media (max-width: 767px) { html body #app .inv-r .dc-cue { display: inline !important; grid-column: 1 / -1; } }
/* Invoice page: the actions under the title (the policy page's order); Copy centred on its row, at the row's end */
html body #app .cl-hero .inv-acts { margin-top: 24px; }
html body #app .inv-rows li { align-items: center; } html body #app .inv-rows li > span:last-child { justify-self: end; }
html body #app .inv-copy { margin-right: -14px; }
/* Page lines under titles keep the measure; the first block sits a section gap under the head on the older pages */
html body #app main .head .dateline { max-width: var(--measure); }
html body #app main .head ~ .cov, html body #app main .head ~ .steps-wrap, html body #app main .head ~ .cmp { margin-top: 56px !important; }
/* Compare: card titles 20, as everywhere */
html body #app .cmp h2 { font-size: 20px !important; line-height: 24px !important; font-weight: 700 !important; }
/* A conversation's "View claim" is the green cue, underlined on hover only, like every other View cue */
html body #app .mab2-go { text-decoration: none; } html body #app .mab2-go:hover { text-decoration: underline; }
/* A notice's figures are the facts row at its usual size */
html body #app .n2-facts b { font-size: 16px !important; line-height: 24px !important; color: #00700B !important; }
/* Messages starts at the content edge like every other page (no narrower centred column) */
html body #app .mcols { max-width: none !important; margin: 0 !important; }
html body #app .page-in:has(.mcols) > .head { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
html body #app .mmain { max-width: 1016px; }
/* The reply box: a white field inside the box, so it doesn't read as disabled */
html body #app .reply textarea, html body #app .replybox textarea, html body #app .tmain textarea { background: #fff !important; border: 0 !important; box-shadow: none !important; }
/* The flows' titles: Bold Fennia green, as the reference pages */
html body .flow h1, html body .flow-main h1, html body main.flow h1 { font-weight: 700 !important; color: #00700B !important; }
html body .flow-body h1 { font-weight: 700 !important; color: #00700B !important; }
html body #app .flow-body h1 { font-weight: 700 !important; color: #00700B !important; }
html body #app .hm-cn { font-weight: 700 !important; }
html body #app .case-v .vw .badge { white-space: normal; text-align: left; } html body #app .case-v .case-fix { margin-top: 8px; }
html body #app ul.pf-row.inv-facts:has(li:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } @media (max-width: 599px) { html body #app ul.pf-row.inv-facts:has(li:nth-child(4)) { grid-template-columns: minmax(0, 1fr) !important; } }

/* Payments and invoice pages, the payments review fixes (17 October 2026): payments-3 (the Paid invoices line sits 12 under its
   section title), payments-6 (year headings are card titles, 20 Bold), payments-17 (a paid row on a phone is three lines: month
   and amount, invoice number and "View invoice", then the badge), payments-19 (the invoice page's label column fits "Entrepreneur's
   accident insurance" on one line), payments-21 (Copy confirms at the button) */
html body #app .inv-ph .vz-why { margin-top: var(--s-3) !important; }
html body #app .inv-yr { font-weight: 700 !important; }
@media (min-width: 640px) { html body #app .cl-rows.inv-cl li { grid-template-columns: 280px minmax(0, 1fr) auto; } }
@media (max-width: 767px) {
  html body #app .inv-r { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-areas: "m a" "n c" "p p"; gap: 2px var(--s-4) !important; align-items: baseline; }
  html body #app .inv-r .inv-m { display: contents !important; }
  html body #app .inv-r .inv-rl { grid-area: m !important; }
  html body #app .inv-r .inv-m > span { grid-area: n !important; }
  html body #app .inv-r .inv-amt { grid-area: a !important; }
  html body #app .inv-r .dc-cue { grid-area: c !important; justify-self: end; }
  html body #app .inv-r .inv-pd { grid-area: p !important; margin-top: var(--s-2); }
}
html body #app .inv-copy.is-copied svg.i { color: var(--green-text, #00700B); }

/* Buying, certificates, the risk assessment and onboarding, the review fixes (17 October 2026): buy-certs-0, 2, 5, 9, 10, 12,
   16, 17, 21 */
/* buy-certs-0: the dark panel's risk level is words and a meter on the panel, not the policy page's white level box (.lvl) */
html body .live .risk .lvl { background: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; color: var(--inverse-ink-2); }
html body #app .live .risk .t { font-weight: 700 !important; } html body #app .live .risk.unknown .t { font-weight: 400 !important; }
/* buy-certs-2, 21: every page title is 40 Bold Fennia green, the welcome page, the green moment, the underwriter page and the
   risk assessment too */
html body #app :is(.welcome, .gm-msg, .bw-in) h1, html body #app .as-flow .as-h { font-weight: 700 !important; color: #00700B !important; }
/* buy-certs-5, 17: choice cards, one look in every flow (the setup and buy choices, the buy cards, the assessment's cards): 16
   corners, the light inset edge, the green inset on hover and when chosen, no border under the shadow */
html body .choice, html body .buy-card, html body #app .as-opt { border: 0 !important; }
html body #app .as-opt { border-radius: 16px !important; box-shadow: inset 0 0 0 1px #D1D1D1 !important; background: #fff !important; }
html body #app .as-opt:hover { box-shadow: inset 0 0 0 1.5px #00700B !important; }
html body #app .as-opt.on { box-shadow: inset 0 0 0 2px #00700B !important; background: #F3FCF4 !important; }
html body #app .as-group legend h2 { color: var(--ink) !important; }
@media (forced-colors: active) { html body .choice, html body .buy-card, html body #app .as-opt { border: 1px solid ButtonText !important; } }
/* buy-certs-12: the dark panel's title is a section title (28 Bold, its second half Regular); the item on Check and buy and the
   buy card's name are card titles, Bold */
html body #app .live > h2 { font-weight: 700 !important; } html body #app .live > h2 .soft { font-weight: 400 !important; }
html body #app .bi-t { font-size: 20px; line-height: 24px; font-weight: 700 !important; }
html body #app .buy-card .t { font-weight: 700 !important; }
/* buy-certs-9: a text action that stands alone gets a 44 px tall target without moving the layout */
html body #app :is(.flow-foot, .bi-acts, .ce-racts, .ce-acts, .gm-feedback, .as-foot-bar, .ba-head, .ba-acts, .bwk-acts) .link, html body #app .bare-top .langs a { position: relative; }
html body #app :is(.flow-foot, .bi-acts, .ce-racts, .ce-acts, .gm-feedback, .as-foot-bar, .ba-head, .ba-acts, .bwk-acts) .link::after { content: ""; position: absolute; inset: -10px -6px; }
html body #app .bare-top .langs a::after { content: ""; position: absolute; inset: -10px 0; }
/* buy-certs-10: buttons are the 44 px pill in the flows too (they were 48 and 52 side by side) */
html body #app :is(.flow-foot, .gm-acts, .bw-acts, .welcome, .as-foot-bar) .btn-lg { min-height: 44px !important; }
/* buy-certs-16: the line under the certificates title is 16, as on the policy page */
html body #app .page-in:has(.ce-cols) .head .dateline { font-size: 16px; line-height: 24px; }

/* ===== Messages fixer (the review, 17 October 2026): messages-0, 1, 4, 5, 6, 7, 8, 10, 11, 17, 18, 19, 20 ===== */
/* messages-0: what she has to do on a notice is a gray line with the green check, not a badge, so a sentence wraps */
html body #app .n2-done { display: flex; align-items: flex-start; gap: 8px; max-width: var(--measure); color: #3D3D3D; }
html body #app .n2-done > svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #008A28; }
/* messages-1: on a phone the claim (the policy, the invoice, the advisor's booking) sits above the thread, the person's card is
   left out (the head names them), and the phone's second context row is gone */
@media (max-width: 639px) {
  html body #app .tcols > .mab2-col { order: -1; }
  html body #app .tcols > .mab2-col .mab2-who { display: none; }
  html body #app .tcols > .mab2-col:not(:has(.mab2-thing, .mab2-book)) { display: none !important; }
}
/* messages-4: the reply box's and Write to us's buttons are the 44 pill (48 belongs to the flows' foot bars) */
html body #app form:is(.reply-box, .wr) .btn { min-height: 44px !important; }
/* messages-5: the phone dock's field is a white pill with one inset edge, the reply box's look; send and the paperclip are 44;
   send is the assistant's arrow pointing up, not Fennia's envelope */
html body #app .dock .dock-field { min-height: 44px !important; padding: 10px 16px !important; border: 0 !important; border-radius: 22px !important; background: #fff !important; box-shadow: inset 0 0 0 1px #8C8A84 !important; font-size: 16px; line-height: 24px; }
html body #app .dock .dock-field:hover { box-shadow: inset 0 0 0 1.5px #00700B !important; }
html body #app .dock .dock-field:focus { outline: none !important; box-shadow: inset 0 0 0 2px #00700B !important; }
html body #app .dock .dock-field[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error) !important; }
html body #app .dock .send, html body #app .dock .icon-btn { width: 44px; height: 44px; }
html body #app .dock .send svg.i { transform: rotate(-90deg); }
/* messages-6: the filter chips are 44 high, the touch target */
html body #app .filters .filter { height: 44px; }
/* messages-7: Write to us sits on the white page, as the claim flow does, so its fields aren't gray on a gray card */
html body #app form.wr { background: transparent; padding: 0; border-radius: 0; }
/* messages-8: attachments are the document card (dc2), stacked; in a bubble they take its width, white inside her mint bubble */
html body #app .msg-docs { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; white-space: normal; }
html body #app .bubble > .msg-docs:first-child { margin-top: 0; }
html body #app .msg-docs.nfiles { max-width: var(--measure); margin-top: 32px; }
html body #app .msg-docs li.doc-card.dc2 { padding: 12px 16px !important; column-gap: 16px !important; }
html body #app .tmsg.you .msg-docs li.doc-card.dc2:not(:hover):not(:focus-within) { background: #fff !important; }
html body #app .msg-docs .dc-n { display: block; }
/* messages-10: a message row says it opens: "Read message" at the end of its last line, green, underlined on hover */
html body #app .mrow .mrow-cue { margin-left: auto; color: #00700B; font-size: 16px; line-height: 24px; white-space: nowrap; }
html body #app .mrow:hover .mrow-cue { text-decoration: underline; text-underline-offset: 3px; }
/* messages-11: a status badge in a row wraps rather than running off a phone's row */
html body #app .mrow .tags .badge { white-space: normal; text-align: left; }
/* messages-17: "View claim" and "View insurance" in the side card have a 44 high target */
html body #app .mab2-go { display: inline-flex; align-items: center; min-height: 44px; margin: -2px 0 -10px; }
/* messages-18: on a conversation's page on a phone the reply dock takes the foot, so the floating assistant stays off it */
@media (max-width: 639px) { html body:has(#app .shell.has-dock) .aiw-launch { display: none !important; } }
/* messages-19: New and Earlier are the same gray card; unread is the green dot, the Bold subject and the Bold green date */
html body #app .mlist:has(.mrow.unread) { background: #F9F9F9 !important; border: 0 !important; box-shadow: none !important; }
html body #app .mlist .mrow.unread { background: #F9F9F9 !important; box-shadow: none !important; }
html body #app .mlist .mrow.unread:hover { background: var(--hover) !important; }
html body #app .mlist .mrow.unread .time { color: #00700B !important; font-weight: 700 !important; }
/* messages-20: the closed box is the tip card; white, since the thread's own card is gray */
html body #app .msg-closed .tip2 { background: #fff; }

/* ===== Claim flow (#/claims/new and its steps), review fixes 17 October 2026: claimflow-7, -8, -9, -12, -13, -14, -15, -18, -22, -23 ===== */
/* claimflow-7: the foot's buttons are the system's 44 px Regular pills, Back and Continue on one height */
html body #app .flow:has(.cf-live) .flow-foot .btn { min-height: 44px !important; height: 44px !important; font-weight: 400 !important; }
/* claimflow-8: a choice card has one edge, an inset shadow, in every state (the older 1px border is gone): the field line at rest
   (#8C8A84, 3.4:1 on white, so the card's edge passes WCAG 1.4.11), green on hover, the 2 px green edge when chosen */
html body #app .flow:has(.cf-live) .choice { border: 0 !important; box-shadow: inset 0 0 0 1px #8C8A84 !important; }
html body #app .flow:has(.cf-live) .choice:hover { box-shadow: inset 0 0 0 2px #00700B !important; }
html body #app .flow:has(.cf-live) .choice:has(input:checked) { box-shadow: inset 0 0 0 2px #00700B !important; background: #F3FCF4 !important; }
/* claimflow-18: an answer in error carries the red edge itself (as Check and send's checkbox does), not only the line under it */
html body #app .flow:has(.cf-live) .choice:has(input[aria-invalid="true"]) { box-shadow: inset 0 0 0 2px #D63D29 !important; }
html body #app .flow:has(.cf-live) :is(input, textarea)[aria-invalid="true"]:not([type="checkbox"]):not([type="radio"]) { border-color: #D63D29 !important; box-shadow: inset 0 0 0 1px #D63D29 !important; }
/* claimflow-9: the dark panel's titles on the type scale: its section title 28 Bold, its card titles 20 Bold */
html body #app .cf-live h2 { font-weight: 700 !important; }
html body #app .cf-live h3 { font-size: 20px !important; line-height: 24px !important; font-weight: 700 !important; }
/* claimflow-22: a question is Bold (a group's legend, or a field that is a question on its own); the fields under a legend keep
   Regular labels, so the question and its fields separate */
html body #app .cf-q > legend, html body #app div.cf-q > .field:not(.cf-reveal) > label, html body #app .field.cf-q > label { font-weight: 700 !important; }
html body #app .cf-q label .cf-opt { font-weight: 400; }
/* claimflow-14: a file's remove button keeps its 28 px disc and gets a 44 px target */
html body #app .cf-x::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
@media (hover: none) { html body #app .cf-x::before { inset: -6px; } }
/* claimflow-15: Check and send's Change controls are 44 px targets, the look unchanged */
html body #app .cf-chg .link, html body #app .cf-acct > .link { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
/* claimflow-23: Where we pay sits in a gray box like its two neighbours; on Check and send the dark panel is as tall as what it says */
html body #app .cf-acct.box { padding: var(--pad-tile, 24px); align-items: center; }
@media (min-width: 1024px) { html body #app .live:has(.cf-nx-only) { height: auto; align-self: start; } }
/* claimflow-12: a claim page's facts row on a phone is one column with a hairline between the facts, and a long badge wraps
   (scrollWidth was 492 at 390) */
@media (max-width: 639px) {
  html body #app .cl-hero + ul.pf-row:not(.inv-facts) { grid-template-columns: minmax(0, 1fr) !important; }
  html body #app .cl-hero + ul.pf-row:not(.inv-facts) li { border-left: 0 !important; padding-left: 0 !important; }
  html body #app .cl-hero + ul.pf-row:not(.inv-facts) li + li { border-top: 1px solid #E3E3E3; }
  html body #app .cl-hero + ul.pf-row b { white-space: normal; }
  html body #app .pf-row .badge { white-space: normal; height: auto !important; text-align: left; }
}
/* claimflow-13: a claim card's status badge wraps on a phone instead of running out of the card (the page was 514 wide at 390) */
@media (max-width: 767px) {
  html body #app .pcl3 .pcl-h { min-width: 0; }
  html body #app .pcl3 .badge { white-space: normal; height: auto !important; max-width: 100%; align-items: flex-start; text-align: left; }
  html body #app .pcl3 .badge::before { margin-top: 4px !important; }
}

/* ===== Home and its sub-pages: the review's fixes (17 October 2026; findings home-0, 4, 5, 8, 9, 10, 13, 14, 15, 19, 20, 28, 7) ===== */
/* home-0: the case bars are filled again. The v11 legend's `.lg i` (a 3 px swatch) also matched `.casebar.lg > i` */
html body .casebar.lg > i { display: block; height: 100%; margin: 0; border-radius: 0; }
/* home-4: Home's title is Fennia green like every page title */
html body #app .hm5 h1 { color: #00700B; }
/* home-5: the lime offer's title is a card title, 20 Bold */
html body #app .hm-gap h3 { font-weight: 700 !important; }
/* home-14: the small print centres under the centred field and chips */
html body #app .hm-fine { margin-inline: auto; }
/* home-8: on a phone Coming up is one column, so its line runs in date order */
@media (max-width: 899px) { html body #app .hm-tl { grid-template-columns: minmax(0, 1fr) !important; row-gap: 20px; } }
/* home-13: air under headings (system/README.md, Spacing): 12 under a 28 section title, 8 under a 20 card title */
html body #app .sec-head .sub, html body #app .vz-why { margin-top: var(--s-3) !important; }
html body #app .tip2 h2 + p, html body #app .tip2 p, html body #app .hm-gap p, html body #app .hm-rs { margin-top: var(--s-2) !important; }
/* home-20, home-28: Home's big gray card and the lime offer take the large card corner (--r-card 24) like Coverage's cases and
   the policy page's summary; the hero's three cards take the same token */
html body #app .hm-cv, html body #app .hm-gap { border-radius: var(--r-card) !important; }
html body #app .hm5-cards > li { border-radius: var(--r-card) !important; }
html body #app .hm5-cards .hm3-go { border-radius: 0 0 var(--r-card) var(--r-card); }
/* home-7: Home links all three of its pages, plain green links in a row, each a 44 target */
html body #app .hm-more { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); margin: 8px 0 0; padding: 0; list-style: none; }
html body #app .hm-more .link { display: inline-flex; align-items: center; min-height: 44px; }
/* home-15: the sub-pages' pills are 44 tall */
html body #app .subnav a { height: 44px; }
/* home-9, home-10, home-19: the assistant space. Its controls are 44 targets (the glyphs keep their size), its reading lines 16,
   and on a phone the field takes the composer's whole width with the tools and Send under it */
html body .aiw .aiw-ib, html body .aiw .aiw-tool, html body .aiw .aiw-send { width: 44px !important; height: 44px !important; }
html body .aiw .aiw-chips button { min-height: 44px; font-size: 16px; line-height: 24px; }
html body .aiw .aiw-head p, html body .aiw .aiw-fine, html body .aiw .aiw-body .aiw-meta { font-size: 16px !important; line-height: 24px !important; }
@media (max-width: 639px) { html body .aiw .aiw-composer { grid-template-columns: minmax(0, 1fr) !important; } html body .aiw .aiw-composer .aiw-row { margin-top: 4px; } }

/* ===== Policies area fixes (17 October 2026, the rules review: policies-0, 1, 2, 3, 4, 7, 8, 10, 14, 15, 16, 17, 19, 21, 25, 27, 28) ===== */
/* policies-0: the policy's facts row never runs off a phone. Values may wrap (a period breaks at its dash), and under 600 the
   facts stack one under the other with a hairline between, the invoice facts' pattern. The claim page keeps its own rule */
@media (max-width: 1199px) { html body #app ul.pf-row b { white-space: normal; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { html body #app ul.pf-row b { white-space: normal; }}
@media (max-width: 599px) {
  html body #app :is(.hero-w:not(.cl-hero), .hero) + ul.pf-row { grid-template-columns: minmax(0, 1fr) !important; }
  html body #app :is(.hero-w:not(.cl-hero), .hero) + ul.pf-row li { border-left: 0 !important; padding: var(--s-4) 0 !important; }
  html body #app :is(.hero-w:not(.cl-hero), .hero) + ul.pf-row li + li { border-top: 1px solid #E3E3E3; }
}
/* policies-1: the combined status tag on a claim card wraps inside the card on a phone instead of running off it */
@media (max-width: 767px) { html body #app .pcl3 .badge { white-space: normal; max-width: 100%; height: auto; min-height: 24px; text-align: left; } }
/* policies-2: on a narrow card the package badge takes its own row under the art and "Coverages", so the title is never covered */
@media (max-width: 699px) {
  html body #app .hero-w ~ .psum .psum-head { grid-template-columns: 64px minmax(0, 1fr) !important; row-gap: var(--s-4); }
  html body #app .hero-w ~ .psum .psum-head .vz-lvl { grid-column: 1 / -1; justify-self: start !important; white-space: normal; }
}
/* policies-3: a policy card on a phone is the same card as on a desktop, one column: the tinted top full width, then the text.
   The old 64 px side-strip grid (max-width 639) no longer applies to it.
   policies-25: in a row of cards the line under the name takes the spare height, so the badges, prices and cues line up */
html body #app a.vz-pc { grid-template-rows: auto auto 1fr; }
@media (max-width: 639px) {
  html body #app a.vz-pc { grid-template-columns: minmax(0, 1fr) !important; column-gap: 0 !important; row-gap: var(--s-2) !important; }
  html body #app a.vz-pc > * { grid-column: 1 / -1 !important; }
  html body #app a.vz-pc > *:not(.vz-media) { margin-left: 24px; margin-right: 24px; }
  html body #app a.vz-pc > .dc-cue { margin-bottom: 24px; }
  html body #app a.vz-pc .vz-media { height: 136px; }
}
/* policies-4: the document viewer never wider than the screen */
html body .dv { max-width: 100vw; }
/* policies-10: a document card keeps "View document" at rest on a phone, under its text (as "View claim" does) */
@media (max-width: 479px) {
  html body #app li.doc-card.dc2.dcv { grid-template-columns: 40px minmax(0, 1fr) !important; }
  html body #app .dcv .dc-cue { display: inline !important; grid-column: 2; justify-self: start; }
}
/* policies-14: 44 px targets. The viewer's Download and Email, the viewer's and the drawers' close buttons, the back link.
   The AI tag keeps the 34 px look Janne set and gets a 44 px hit area around it (an invisible ring, 5 px above and below) */
html body .dv-act { height: 44px; }
html body .dv-x, html body .cd-x { width: 44px; height: 44px; }
html body #app .hw-back { min-height: 44px; }
html body .ai-tag::after { content: ""; position: absolute; inset: -5px 0; border-radius: inherit; }
/* policies-15: the comparison's "Your plan now" and "+2,00 € a month" are read, so 16 */
html body .cov-drawer .cmp-y { font-size: 16px; line-height: 24px; }
/* policies-16: the insight's charts. Values 16 Bold, column names 16 and in the flow, so each column is as wide as its name and
   names never touch; the plate titles are card titles, 20 Bold */
html body #app .insight .ins-r h3 { font-size: 20px !important; line-height: 24px !important; font-weight: 700 !important; color: var(--ink); }
html body #app .insight .ins-ch { grid-auto-columns: minmax(48px, max-content) !important; gap: 12px !important; }
html body #app .insight .ins-c b { font-size: 16px !important; line-height: 24px; }
html body #app .insight .ins-c .ins-l { position: static !important; height: 0; margin-top: -4px !important; transform: translateY(8px); font-size: 16px !important; line-height: 24px; white-space: nowrap; }
html body #app .insight .ins-r .ins-ch { margin-bottom: 40px !important; }
/* policies-8 and 17: the insight's tag sits under its title (no eyebrows); a section title has 12 to what it introduces */
html body #app .insight :is(.ins-head, .ins-head2) h2 + .insight-tag { margin: var(--s-3) 0 0 !important; }
html body #app .insight :is(.ins-head, .ins-head2) .insight-tag + p { margin-top: var(--s-3) !important; }
/* policies-17: page title to its line 16; a drawer's title to its first line 12 */
html body #app .hw-tx h1 + p { margin-top: var(--s-4); }
html body .cov-drawer .cd-panel h2 + p, html body .cov-drawer .cd-panel h2 + .cd-what { margin-top: var(--s-3) !important; }
/* policies-21: a coverage chip's edge is an inset shadow at rest and on hover; hover never swaps a border */
html body #app button.pc-chip:not(.pc-ext) { border: 0 !important; box-shadow: inset 0 0 0 1px #DDDDDD; padding: 13px 17px; }
html body #app button.pc-chip:not(.pc-ext):hover { border: 0 !important; box-shadow: inset 0 0 0 1.5px var(--hover-line) !important; }
html body #app button.pc-chip.pc-ext:hover { border-color: transparent !important; box-shadow: inset 0 0 0 1.5px var(--hover-line) !important; }
/* policies-27: a cover's examples under two headings of their own, "Covers" and "Does not cover" (no "Examples:" above them) */
html body .cov-drawer h3.cd-exh { margin: var(--s-6) 0 var(--s-2); font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); }
html body .cov-drawer h3.cd-exh + .cd-l { margin-top: 0; }
/* policies-7 and 19: the comparison chart in HTML (vzPair). Wide: grouped columns, each bar in a 56 px slot with its value over
   it (16 Bold), the names under them (16), the axis at 12, dashed gridlines. Under 768: one row per policy, the name, then two
   horizontal bars with their values at the end. Colours: the chart's You and Similar greens */
html body #app .vzp { overflow: visible !important; }
html body #app .vzp-plot { position: relative; height: 272px; padding: 32px 0 40px 56px; }
html body #app .vzp-ax { position: absolute; inset: 32px 0 40px 56px; margin: 0; padding: 0; list-style: none; }
html body #app .vzp-ax li { position: absolute; left: 0; right: 0; bottom: calc(var(--p) * 100%); height: 0; border-top: 1px dashed #D5D8D0; }
html body #app .vzp-ax li:last-child { border-top-style: solid; }
html body #app .vzp-ax span { position: absolute; right: calc(100% + 8px); top: -12px; font-size: 12px; line-height: 24px; color: #5E5E5E; white-space: nowrap; font-variant-numeric: tabular-nums; }
html body #app .vzp-gs { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: 100%; margin: 0; padding: 0; list-style: none; }
html body #app .vzp-g { position: relative; display: flex; justify-content: center; height: 100%; }
html body #app .vzp-bars { display: flex; align-items: flex-end; height: 100%; }
html body #app .vzp-s { position: relative; display: flex; justify-content: center; align-items: flex-end; width: 56px; height: 100%; }
html body #app .vzp-b { display: block; width: 24px; height: calc(var(--p) * 100%); min-height: 2px; border-radius: 6px 6px 0 0; }
html body #app .vzp-b.vz-you { background: #008A28; } html body #app .vzp-b.vz-them { background: #B8E6BD; }
html body #app .vzp-s b { position: absolute; left: -8px; right: -8px; bottom: calc(var(--p) * 100% + 4px); font-size: 16px; line-height: 24px; font-weight: 700; color: #33413A; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
html body #app .vzp-l { position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px; font-size: 16px; line-height: 24px; color: #5E5E5E; text-align: center; }
@media (max-width: 767px) {
  html body #app .vzp-plot { height: auto; padding: 0; }
  html body #app .vzp-ax { display: none; }
  html body #app .vzp-gs { grid-auto-flow: row; grid-auto-columns: auto; row-gap: var(--s-5); height: auto; }
  html body #app .vzp-g { display: grid; gap: var(--s-2); height: auto; }
  html body #app .vzp-l { position: static; order: -1; margin: 0; color: var(--ink); text-align: left; }
  html body #app .vzp-bars { display: grid; gap: 6px; height: auto; }
  html body #app .vzp-s { justify-content: flex-start; align-items: center; gap: var(--s-2); width: auto; height: 24px; }
  html body #app .vzp-b { flex: none; width: calc((100% - 80px) * var(--p)); height: 16px; min-width: 2px; border-radius: 0 6px 6px 0; }
  html body #app .vzp-s b { position: static; text-align: left; }
}
/* Policies area (policies-16, second step): four column names at 16 fit a plate. Plates at least 300 wide, 16 side padding, 6
   between columns; "Your cover" may overhang its column, so only the names set the columns' widths */
html body #app .insight .ins-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; }
html body #app .insight .ins-r { padding-left: 16px !important; padding-right: 16px !important; }
html body #app .insight .ins-ch { gap: 6px !important; }
html body #app .insight .ins-you { margin-left: -12px; margin-right: -12px; }
/* Claim flow, claimflow-11: the sent page's stepper keeps its stage names at 16 on a phone (an older rule sets .pcl-sn to 12 inside
   a max-width query; 12 is for tags only) */
html body #app .cf-sent .clp-st .pcl-sn { font-size: 16px; line-height: 24px; }

/* Claims area, the claims fixer (17 October 2026): claims-1, claims-7, claims-9, claims-11, claims-12, claims-13, claims-14,
   claims-17, claims-20. Scoped to the claim cards (.pcl3), the claim page (.cl-hero, .cl-sec, .cl-docs), the stepper's stage
   names (.pcl-sn), the deductible (i) (.cl-info), the Add costs drawer (.co-drawer) and the viewer's new-tab link (.dv-new) */
/* claims-20: on a phone a claim card's text gets the width (16 sides and gap, not 32 and 24) */
@media (max-width: 767px) { html body #app .pcl3 .pcl-h { padding-left: 16px !important; padding-right: 16px !important; column-gap: 16px !important; } }
/* claims-11: stage names are reading text, 16 at every width (no font-size in a max-width query); on a narrow screen the date
   tag goes under the name instead */
html body #app .pcl-st .pcl-sn, html body #app .clp-st .pcl-sn { font-size: 16px !important; line-height: 24px; }
@media (max-width: 640px) { html body #app .clp-t { flex-direction: column; align-items: flex-start; gap: 4px; } html body #app .pcl-dt { white-space: normal !important; height: auto; padding-top: 2px; padding-bottom: 2px; } }
/* claims-7: an attachment's "what it is, added <date>" wraps rather than hiding the date behind an ellipsis */
html body #app .cl-docs .dc2 .dc-k { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
/* claims-12 and claims-13: the claim title's line is the page title's line, 16 gray, 16 under the 40 title; a section title is
   12 above its note */
html body #app .cl-hero h1 + .cl-what { margin-top: var(--s-4) !important; font-size: 16px !important; line-height: 24px !important; color: #5E5E5E !important; }
html body #app .cl-sec h2 + .cl-note { margin-top: var(--s-3) !important; }
/* claims-14: the deductible (i) is gray like the policy page's info icons, with a 44 px target that doesn't move the row */
html body #app .cl-info { color: #6B6B6B !important; }
html body #app .cl-info::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
html body #app .cl-info:hover { background: #F0F0F0 !important; color: #333 !important; }
html body #app .cl-info:focus-visible { outline: 2px solid #004C07; outline-offset: 2px; }
/* claims-1 and claims-17: the Add costs drawer. Step one, each open claim a gray card that is one button, with "Choose" in green
   visible at rest, the claim number kept whole; step two, the claim as the gray card, then the file field and the chosen files */
html body .co-drawer .co-list { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
html body .co-drawer .co-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; width: 100%; min-height: 44px; padding: 16px 20px; border: 0; border-radius: var(--r-card-sm, 12px); background: #F9F9F9; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
html body .co-drawer .co-pick:hover, html body .co-drawer .co-pick:focus-visible { background: var(--hover); box-shadow: inset 0 0 0 1.5px var(--hover-line); }
html body .co-drawer .co-pick:focus-visible { outline: 2px solid #004C07; outline-offset: 2px; }
html body .co-drawer .co-t { display: grid; gap: 2px; min-width: 0; } html body .co-drawer .co-t b { font-weight: 700; } html body .co-drawer .co-t > span { color: #5E5E5E; }
html body .co-drawer .co-pick .dc-cue { color: #00700B; white-space: nowrap; }
html body .co-drawer .co-pick:hover .dc-cue, html body .co-drawer .co-pick:focus-visible .dc-cue { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 479px) { html body .co-drawer .co-pick { grid-template-columns: minmax(0, 1fr); } html body .co-drawer .co-pick .dc-cue { justify-self: start; } }
html body .co-drawer .cd-panel h2 + .dm-doc { margin-top: var(--s-3) !important; }
html body .co-drawer .co-new { margin-top: var(--s-5); }
html body .co-drawer .co-in { padding: 8px; cursor: pointer; }
html body .co-drawer .co-in::file-selector-button { height: 44px; margin-right: 12px; padding: 0 20px; border: 1px solid #DEDEDE; border-radius: 999px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
html body .co-drawer .co-in:hover::file-selector-button { border-color: #004C07; color: #004C07; }
html body .co-drawer .co-chosen { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
html body .co-drawer .co-chosen:empty { display: none; }
html body .co-drawer .co-chosen li { display: flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
html body .co-drawer .co-chosen svg.i { flex: none; width: 20px; height: 20px; color: #008A28; }
/* claims-9: the viewer's link to the document in its own tab, a text link under what the document is */
html body .dv .dv-new { display: inline-flex; align-items: center; min-height: 44px; color: #00700B; text-decoration: underline; text-underline-offset: 3px; }
html body .dv .dv-new:hover { color: #004C07; } html body .dv .dv-new:focus-visible { outline: 2px solid #004C07; outline-offset: 2px; }
/* Policies area (policies-7 and 16, phones): the insight block 24 in from its edges on a phone (48 left a 262 px plate, too narrow
   for four column names); the comparison's rows use the full width (a centred grid sized its bars to nothing) */
@media (max-width: 599px) { html body #app .insight { padding: var(--s-6) var(--s-5) !important; } }
@media (max-width: 767px) {
  html body #app .vzp-g { justify-content: stretch; justify-items: stretch; }
  html body #app .vzp-bars, html body #app .vzp-s { width: 100%; }
}
/* Policies area: on a phone "Claims filed under this policy" keeps its line and File a new claim goes under it */
@media (max-width: 599px) { html body #app .pclaims .pcl-top { flex-direction: column; align-items: flex-start; gap: var(--s-4); } }
/* Home area, home-30 (a preference): on a phone the assistant offers two follow-up questions, not three, so the answer keeps the room */
@media (max-width: 639px) { html body .aiw .aiw-chips button:nth-child(n+3) { display: none; } }
/* Policies area (policies-4, 28): on a phone the document viewer fills the screen; the later 92vh height left the page and its
   tab bar showing above and below it */
@media (max-width: 639px) { html body .dv-wrap { padding: 0 !important; } html body .dv-wrap .dv { width: 100% !important; height: 100% !important; max-height: none; border-radius: 0 !important; } }
/* Claims area, the claims fixer, second batch: claims-17 (a claim's name in the Add costs list in ink, like every card title), claims-6
   (the document frame shows its keyboard focus) */
html body .co-drawer .co-pick .co-t b { color: var(--ink, #333) !important; }
html body .dv .dv-frame:focus { outline: 2px solid #004C07; outline-offset: -2px; }
/* Payments area, round 2 (payments-new-1): a paid row sizes to its list, not the viewport. The badge's column never shrinks
   below the badge, and a list narrower than 720 (a phone, 768 to 799, 1024 to about 1140 with the sidebar) takes the
   three-line row: month and amount, number and cue, then the paid badge */
html body #app .inv-year { container-type: inline-size; }
html body #app .inv-r { grid-template-columns: minmax(0, 1.2fr) 120px minmax(max-content, 1.4fr) auto; }
@container (max-width: 719px) {
  html body #app .inv-r { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-areas: "m a" "n c" "p p"; gap: 2px var(--s-4) !important; align-items: baseline; padding: var(--s-4); }
  html body #app .inv-r .inv-m { display: contents !important; }
  html body #app .inv-r .inv-rl { grid-area: m !important; }
  html body #app .inv-r .inv-m > span { grid-area: n !important; }
  html body #app .inv-r .inv-amt { grid-area: a !important; }
  html body #app .inv-r .dc-cue { display: inline !important; grid-area: c !important; justify-self: end; }
  html body #app .inv-r .inv-pd { grid-area: p !important; grid-column: auto; margin-top: var(--s-2); }
}
/* Payments area, round 2 (payments-10): in the search, the October invoice carries the page's status badge with the full date;
   on a narrow screen the badge goes under the option's line, so the title keeps its width */
@media (max-width: 599px) {
  html body .cmdk-item:has(> .end > .badge) { grid-template-columns: var(--icon) minmax(0, 1fr); row-gap: var(--s-2); }
  html body .cmdk-item:has(> .end > .badge) > .end { grid-column: 2; justify-self: start; }
}

/* ===== Messages fixer, round 2 (17 October 2026): new-file-chip-480, the phone's reading order (messages-1 regression), the
   person's card on phones, one Send glyph, the choice cards' edge on Write to us ===== */
/* Reading order: under 640 the thing's card and the booking are rendered a second time above the thread (.mab2-top, visual.js
   msgAboutCol(t, { top: true })), so the DOM order is the drawn order; the aside's copies are display:none there and the aside
   stays under the thread with the person's card, which says who answers and when they work. The order:-1 move is undone */
html body #app .tcols > .mab2-top { display: none; }
@media (max-width: 639px) {
  html body #app .tcols > .mab2-top { display: grid; align-content: start; gap: 16px; }
  html body #app .tcols > .mab2-col { order: 0 !important; display: grid !important; }
  html body #app .tcols > .mab2-col .mab2-who { display: grid !important; }
  html body #app .tcols > .mab2-col > :is(.mab2-thing, .mab2-book) { display: none !important; }
}
/* new-file-chip-480: a staged file's chip drops its file tile under 480 and keeps two columns, the name and a 44 remove button;
   the remove button's disc stays 32 and its target is 44 at every width */
html body #app .file-chip.added .x { position: relative; }
html body #app .file-chip.added .x::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
@media (max-width: 479px) {
  html body #app .file-chip.added { grid-template-columns: minmax(0, 1fr) 44px; }
  html body #app .file-chip.added > .x { justify-self: center; }
}
/* One glyph for Send in Messages: the assistant's up arrow (arrowR turned -90deg), as in the phone dock */
html body #app form:is(.reply-box, .wr) button[type="submit"] svg.i { transform: rotate(-90deg); }
/* Write to us's choice cards take the flows' edge (claimflow-8): #8C8A84 at rest, 3.4:1 on white (WCAG 1.4.11), green on hover,
   the 2 px green edge on Fennia's lightest green when chosen */
html body #app form.wr .choice { border: 0 !important; box-shadow: inset 0 0 0 1px #8C8A84 !important; }
html body #app form.wr .choice:hover { box-shadow: inset 0 0 0 2px #00700B !important; }
html body #app form.wr .choice:has(input:checked) { box-shadow: inset 0 0 0 2px #00700B !important; background: #F3FCF4 !important; }
html body #app form.wr .choice:has(input[aria-invalid="true"]) { box-shadow: inset 0 0 0 2px #D63D29 !important; }

/* Buying, certificates, the risk assessment and onboarding, round 2 (17 October 2026): buy-certs-6, 10, 16, regression:#/assess */
/* buy-certs-6: the assessment's part tabs are 16/24 from the start, so nothing resizes them after the strip is scrolled */
html body #app .as-tabs a { font-size: 16px; line-height: 24px; }
/* buy-certs-16: a section gap (80) between the new certificate block and "Your certificates", as on the policy page */
html body #app .page-in .ce-list { margin-top: var(--gap-section, 80px); }
/* buy-certs-10: "Create certificate" is the 44 px pill too */
html body #app .ce-foot .btn, html body #app .page-in:has(.ce-cols) form .btn-primary { min-height: 44px !important; }
/* regression:#/assess: one choice-card look in every flow, the claim flow's (claimflow-8): the #8C8A84 edge at rest (3.4:1 on
   white, WCAG 1.4.11), a 2 px green inset on hover and when chosen, chosen on Fennia's lightest green */
html body #app .choice, html body #app .buy-card, html body #app .as-opt { box-shadow: inset 0 0 0 1px #8C8A84 !important; }
html body #app .choice:hover, html body #app .buy-card:hover, html body #app .as-opt:hover { box-shadow: inset 0 0 0 2px #00700B !important; }
html body #app .choice:has(input:checked), html body #app .buy-card:has(input:checked), html body #app .as-opt.on { box-shadow: inset 0 0 0 2px #00700B !important; background: #F3FCF4 !important; }
/* HOME round 2 (home-6): Your applications, #/overview/applications, the page Home's Applications card opens. One gray card per item
   an underwriter is checking (the tip card's surface), the clock tile, a 20 Bold title, the gray line, the badge under it */
html body #app .ov-apps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; max-width: 900px; }
html body #app .ov-app { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 24px 32px; border-radius: var(--r-card-sm, 16px); background: #F9F9F9; }
html body #app .ov-app h2 { font-size: 20px !important; line-height: 24px !important; letter-spacing: -0.01em; font-weight: 700 !important; margin: 0; }
html body #app .ov-app p { margin: 8px 0 0; max-width: var(--measure, 700px); color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .ov-app .badge { display: inline-flex; margin-top: 12px; }
@media (max-width: 640px) { html body #app .ov-app { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 12px; } }
/* ===== Claim flow, round 2 (17 October 2026; findings claimflow-12, and the regressions on the sent page, claim details, Check and
   send's Where we pay, and the photo viewer) ===== */
/* claimflow-12: from 640 to 1199 the claim page's facts row keeps three columns (the :1848 rule), so the third fact keeps its
   divider and padding (the older two-column rule took them away) and a long badge wraps inside its column */
@media (min-width: 640px) and (max-width: 1199px) {
  html body #app .cl-hero + ul.pf-row:not(.inv-facts) li:nth-child(3) { border-left: 1px solid var(--rule) !important; padding-left: var(--s-4) !important; }
  html body #app .cl-hero + ul.pf-row:not(.inv-facts) li { min-width: 0; }
  html body #app .cl-hero + ul.pf-row .badge { white-space: normal; height: auto !important; text-align: left; max-width: 100%; }
}
/* 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) {
  html body #app .cl-hero + ul.pf-row:not(.inv-facts) li:nth-child(3) { border-left: 1px solid var(--rule) !important; padding-left: var(--s-4) !important; }
  html body #app .cl-hero + ul.pf-row:not(.inv-facts) li { min-width: 0; }
  html body #app .cl-hero + ul.pf-row .badge { white-space: normal; height: auto !important; text-align: left; max-width: 100%; }} }
/* The sent page's sentence never runs out of its card on a phone (320 and 360 scrolled sideways) */
html body #app .cf-hero h2 { overflow-wrap: anywhere; }
/* Claim details: a value, her description too, never runs wider than the 700 px measure */
html body #app .cl-sec .cl-rows li b { max-width: var(--measure, 700px); }
/* Check and send: Where we pay's Change lines up with the box's first line, like each Change in Your claim */
html body #app .cf-acct.box { align-items: baseline !important; }
/* The photo viewer: a photo with no picture here says so in a gray tile */
.dv-photos .dv-nopic { display: grid; place-items: center; gap: var(--s-2); min-height: 200px; padding: var(--s-5); border-radius: 12px; background: #F9F9F9; color: #5E5E5E; text-align: center; }
.dv-photos .dv-nopic svg.i { width: 32px; height: 32px; }
/* Claims area, the claims fixer, round 2: claims-6 (the document frame's focus ring, drawn on .dv-body by a class, since Chrome
   never matches :focus on a focused iframe; the old .dv-frame:focus rule above is dead and harmless), regression on #/claims (the
   claims comparison's columns sized to their group: under about 760 px of chart, one row per kind, as on a phone; names on two
   lines keep inside the plate) */
html body .dv .dv-body { position: relative; }
html body .dv .dv-body.is-focus { outline: 2px solid #004C07; outline-offset: -2px; }
html body .dv .dv-body.is-focus::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 2px #004C07; border-radius: inherit; z-index: 1; }
html body #app .vz-ccmp .vzp { container-type: inline-size; }
html body #app .vz-ccmp .vzp-plot { padding-bottom: 64px; }
html body #app .vz-ccmp .vzp-ax { bottom: 64px; }
html body #app .vz-ccmp .vzp-g { min-width: 0; padding: 0 4px; }
html body #app .vz-ccmp .vzp-bars { width: 100%; max-width: 112px; justify-content: center; }
html body #app .vz-ccmp .vzp-s { flex: 0 1 56px; width: auto; min-width: 0; }
html body #app .vz-ccmp .vzp-b { width: 24px; max-width: 60%; }
html body #app .vz-ccmp .vzp-l { overflow-wrap: normal; hyphens: none; }
@container (max-width: 760px) {
  html body #app .vz-ccmp .vzp-plot { height: auto; padding: 0; }
  html body #app .vz-ccmp .vzp-ax { display: none; }
  html body #app .vz-ccmp .vzp-gs { grid-auto-flow: row; grid-auto-columns: auto; row-gap: var(--s-5); height: auto; }
  html body #app .vz-ccmp .vzp-g { display: grid; gap: var(--s-2); height: auto; padding: 0; justify-content: stretch; justify-items: stretch; }
  html body #app .vz-ccmp .vzp-l { position: static; order: -1; margin: 0; color: var(--ink); text-align: left; }
  html body #app .vz-ccmp .vzp-bars { display: grid; gap: 6px; height: auto; width: 100%; max-width: none; }
  html body #app .vz-ccmp .vzp-s { justify-content: flex-start; align-items: center; gap: var(--s-2); width: 100%; height: 24px; }
  html body #app .vz-ccmp .vzp-b { flex: none; width: calc((100% - 80px) * var(--p)); max-width: none; height: 16px; min-width: 2px; border-radius: 0 6px 6px 0; }
  html body #app .vz-ccmp .vzp-s b { position: static; text-align: left; }
}
/* Claim flow, round 2 (claimflow-12): a facts badge that wraps keeps its dot on the first line (12 dot on a 24 line), as the claim
   cards' badges do */
@media (max-width: 1199px) {
  html body #app .cl-hero + ul.pf-row .badge { align-items: flex-start; }
  html body #app .cl-hero + ul.pf-row .badge::before { margin-top: 6px !important; }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) {
  html body #app .cl-hero + ul.pf-row .badge { align-items: flex-start; }
  html body #app .cl-hero + ul.pf-row .badge::before { margin-top: 6px !important; }}
/* Policies area, round 2 (17 October 2026): policies-14, and the regressions on #/cover (the insight's plates, the cost chart) and
   the Upgrade drawer */
/* policies-14: the AI tag's invisible hit area is 48 tall, centred on the tag, whatever its border (the earlier inset was measured
   from the padding box, inside the border, so it gave 40) */
html body .ai-tag::after { content: ""; position: absolute; inset: auto 0; top: 50%; height: 48px; transform: translateY(-50%); border-radius: 999px; }
/* The insight's plates: "Your cover" bars sit on the axis like the others (its column has an 8 gap, not 4, so its name takes -8);
   the plot is tall enough for the tallest stack (the tag, the value and a 71% bar are 145), so no bar runs under the axis */
html body #app .insight .ins-c.me .ins-l { margin-top: -8px !important; }
html body #app .insight .ins-ch { height: 152px !important; }
/* Narrow phones (320 to 375): a plate is never wider than its grid, the insight 16 in from its edges, and a plate narrower than its
   four column names lets a two-word name ("No cover") take two lines, with the room for it under the axis */
html body #app .insight .ins-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)) !important; }
html body #app .insight .ins-r { container-type: inline-size; min-width: 0; }
@media (max-width: 399px) {
  html body #app .insight { padding-left: var(--s-4) !important; padding-right: var(--s-4) !important; }
  html body #app .insight .ins-r { padding-left: 12px !important; padding-right: 12px !important; }
}
@media (max-width: 359px) {
  html body #app .insight .ins-grid { margin-left: -12px !important; margin-right: -12px !important; }
  html body #app .insight .ins-r { padding-left: 16px !important; padding-right: 16px !important; }
}
@container (max-width: 267px) {
  html body #app .insight .ins-r .ins-ch { grid-auto-columns: auto !important; gap: 8px !important; margin-bottom: 64px !important; }
  html body #app .insight .ins-c .ins-l { white-space: normal !important; text-align: center; }
  html body #app .insight .ins-you { margin-left: -16px; margin-right: -16px; }
}
/* The cost chart (vzPair): the grouped columns need about 130 a policy to read as pairs; a narrower chart (the sidebar layout from
   1024 to about 1300, tablets) takes the rows the phone has: the name, then two horizontal bars with their values */
html body #app .vzp { container: vzp / inline-size; }
@container vzp (max-width: 839px) {
  html body #app .vzp .vzp-plot { height: auto; padding: 0; }
  html body #app .vzp .vzp-ax { display: none; }
  html body #app .vzp .vzp-gs { grid-auto-flow: row; grid-auto-columns: auto; row-gap: var(--s-5); height: auto; }
  html body #app .vzp .vzp-g { display: grid; gap: var(--s-2); height: auto; justify-content: stretch; justify-items: stretch; }
  html body #app .vzp .vzp-l { position: static; order: -1; margin: 0; color: var(--ink); text-align: left; }
  html body #app .vzp .vzp-bars { display: grid; gap: 6px; height: auto; width: 100%; }
  html body #app .vzp .vzp-s { justify-content: flex-start; align-items: center; gap: var(--s-2); width: 100%; height: 24px; }
  html body #app .vzp .vzp-b { flex: none; width: calc((100% - 80px) * var(--p)); height: 16px; min-width: 2px; border-radius: 0 6px 6px 0; }
  html body #app .vzp .vzp-s b { position: static; text-align: left; }
}
/* The Upgrade drawer's comparison: under 480 the two plans stack, so "Rehabilitation" and "Occupational disease" keep the card's
   padding (111 px columns were narrower than the words) */
@media (max-width: 479px) { html body .cov-drawer .cmp2 { grid-template-columns: minmax(0, 1fr) !important; } }
html body .cov-drawer .cmp-c li { overflow-wrap: anywhere; }
/* Claims area, the claims fixer, round 2 (regression on #/claims, the comparison's rows): the rows' track fills the plate */
@container (max-width: 760px) { html body #app .vz-ccmp .vzp-bars { justify-content: stretch; grid-template-columns: minmax(0, 1fr); } }

/* ===================================================================================================================
   GUIDE A, "Risk map first" (17 October 2026): the guided selection for a new customer, app/guide-a.js, routes #/guide-a.
   Every selector starts with gda-. A focused full-screen task: the question on the left, her salon's risk map on Fennia's
   dark green on the right (from 1024; under it a small strip before the buttons); the plan page is one wide column.
   =================================================================================================================== */
#app .gda { --gda-dark: #004C07; --gda-lime: #E9FC8E; --gda-soft: #B8EABB; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; background: #fff; color: var(--ink); }
@media (min-width: 1024px) { #app .gda:not(.gda-wide) { grid-template-columns: minmax(0, 1fr) minmax(0, min(44vw, 600px)); } }
#app .gda-left { min-width: 0; padding: 20px 16px 40px; }
@media (min-width: 640px) { #app .gda-left { padding: 32px 40px 56px; } }
@media (min-width: 1024px) { #app .gda:not(.gda-wide) .gda-left { padding: 40px 48px 56px 96px; } }
#app .gda:not(.gda-wide) :is(.gda-head, .gda-main) { max-width: 600px; }
#app .gda-wide .gda-left { width: 100%; max-width: 1216px; margin: 0 auto; padding-bottom: 160px; }
@media (min-width: 1024px) { #app .gda-wide .gda-left { padding: 40px 48px 176px; } }

/* The head: the logo, the progress, Close */
#app .gda-head { display: flex; align-items: center; gap: 24px; min-height: 44px; }
#app .gda-logo { flex: none; display: inline-flex; }
#app .gda-prog { display: flex; align-items: center; gap: 16px; margin-left: auto; }
#app .gda-prog ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
#app .gda-prog li { width: 24px; height: 4px; border-radius: 2px; background: var(--track, #D9D9D9); }
#app .gda-prog li.done { background: var(--green); } #app .gda-prog li.now { background: var(--ink); }
#app .gda-pt { margin: 0; color: #5E5E5E; font-size: 16px; line-height: 24px; white-space: nowrap; }
#app .gda-pt-only { margin-left: auto; }
#app .gda-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
#app .gda-x:hover { background: var(--mint); color: var(--green-strong); }
#app .gda-x:focus-visible { outline: 2px solid var(--green-strong); outline-offset: 2px; }
#app .gda-x svg.i { width: 20px; height: 20px; }
@media (max-width: 639px) { #app .gda-prog ol { display: none; } #app .gda-head { gap: 12px; } }

/* The question */
#app .gda-main { padding-top: 56px; outline: none; }
@media (max-width: 639px) { #app .gda-main { padding-top: 32px; } }
#app .gda h1 { margin: 0 0 16px; color: #00700B; font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; }
#app .gda h2 { margin: 0 0 12px; font-size: 28px; line-height: 32px; font-weight: 700; color: var(--ink); }
#app .gda h3 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 700; color: var(--ink); }
#app .gda p { margin: 0; max-width: var(--measure, 700px); font-size: 16px; line-height: 24px; }
#app .gda-lead { color: #5E5E5E; }
#app .gda-hint { display: block; margin-top: 4px; color: #5E5E5E; font-size: 16px; line-height: 24px; font-weight: 400; }
#app .gda-fs { display: grid; gap: 12px; min-width: 0; margin: 32px 0 0; padding: 0; border: 0; }
#app .gda-fs legend { margin-bottom: 16px; padding: 0; }
#app .gda-leg { display: block; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); }
#app .gda-opt { display: grid; grid-template-columns: auto 24px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 64px; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #DEDEDE; cursor: pointer; transition: box-shadow .15s, background-color .15s; }
#app .gda-opt.no-ic { grid-template-columns: auto minmax(0, 1fr); }
#app .gda-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); cursor: pointer; }
#app .gda-opt-i svg.i { width: 24px; height: 24px; color: var(--green-strong); }
#app .gda-opt-t { display: grid; gap: 2px; font-size: 16px; line-height: 24px; }
#app .gda-opt-s { color: #5E5E5E; }
#app .gda-opt:hover { background: #F4FBF4; box-shadow: inset 0 0 0 2px var(--hover-line, #6CC77A); }
#app .gda-opt:has(input:checked) { background: var(--mint); box-shadow: inset 0 0 0 2px var(--green); }
#app .gda-opt:has(input:checked) .gda-opt-t > span:first-child { font-weight: 700; }
#app .gda-opt:has(input:focus-visible) { outline: 2px solid var(--green-strong); outline-offset: 2px; }
#app .gda-num { margin-top: 32px; }
#app .gda-num label { display: block; font-size: 16px; line-height: 24px; font-weight: 700; }
#app .gda-num-f { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0 16px; height: 52px; border: 1px solid var(--field-line, #8C8A84); border-radius: var(--r-control, 4px); background: var(--field-bg, #F3F2EE); }
#app .gda-num-f input { width: 140px; height: 48px; border: 0; background: transparent; font: inherit; font-size: 20px; color: var(--ink); text-align: right; }
#app .gda-num-f input:focus { outline: none; } #app .gda-num-f:focus-within { outline: 2px solid var(--green-strong); outline-offset: 2px; }
#app .gda-num-f span { font-size: 20px; }
#app .gda-note { display: flex; gap: 12px; margin-top: 24px !important; padding: 16px 20px; border-radius: 12px; background: var(--card, #F5F5F5); }
#app .gda-note svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--green-strong); }
#app .gda-err { display: flex; gap: 8px; margin-top: 12px !important; color: #C4291C; font-weight: 700; }
#app .gda-err svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }
#app .gda-ask { margin-top: 32px; }
#app .gda-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; }
#app .gda-foot .btn { min-height: 44px; }

/* The start: the register card and the two ways in */
#app .gda-reg { display: flex; gap: var(--gap-art, 32px); align-items: flex-start; margin-top: 32px; padding: 24px 32px; border-radius: 16px; background: var(--card, #F5F5F5); }
#app .gda-reg img { flex: none; width: 64px; height: 64px; }
#app .gda-reg h2 { margin: 0 0 8px; font-size: 20px; line-height: 24px; }
#app .gda-reg .link { margin-top: 8px; }
#app .gda-ways { display: grid; gap: 40px; justify-items: start; margin-top: 40px; }
#app .gda-say { width: 100%; padding-top: 40px; border-top: 1px solid #E3E3E3; }
#app .gda-say h2 { font-size: 20px; line-height: 24px; margin-bottom: 8px; }
#app .gda-say-f { --ai-a: 200deg; display: flex; align-items: flex-end; gap: 8px; margin-top: 16px; padding: 10px 10px 10px 20px; border: 3px solid transparent; border-radius: 28px;
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ai-a), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F) border-box; box-shadow: 0 12px 32px rgba(0, 76, 7, .10); }
#app .gda-say-f:focus-within { animation: ai-turn 3s linear infinite; outline: 2px solid var(--green-strong); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { #app .gda-say-f:focus-within { animation: none; } }
#app .gda-say-sp { align-self: center; font-size: 20px; line-height: 1; background: conic-gradient(#FF5A5F, #FFD43B, #5BC24E, #22B8CF, #3D7BF5, #9B5DE5, #FF5A5F); -webkit-background-clip: text; background-clip: text; color: transparent; }
#app .gda-say-f textarea, #app .gda-say-f input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 0; border: 0; background: transparent; resize: none; font: inherit; font-size: 16px; line-height: 24px; color: var(--ink); }
#app .gda-say-f textarea:focus, #app .gda-say-f input:focus { outline: none; }
#app .gda-say-f :is(textarea, input)::placeholder { color: #6B6B6B; }
#app .gda-say-f .aiw-send { flex: none; width: 44px; height: 44px; margin: 0; }
#app .gda-say-f .aiw-send:hover { background: #005C1B; }
#app .gda-ex { display: block; margin-top: 12px; padding: 8px 0; border: 0; background: none; color: #00700B; font: inherit; font-size: 16px; line-height: 24px; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#app .gda-ex:hover { color: var(--green-strong); text-decoration-thickness: 2px; }
#app .gda-fine { margin-top: 8px !important; color: #5E5E5E; }

/* The risk map beside the questions, on Fennia's dark green */
#app .gda-panel { display: none; }
@media (min-width: 1024px) {
  #app .gda-panel { position: sticky; top: 12px; display: flex; flex-direction: column; height: calc(100vh - 24px); margin: 12px 12px 12px 0; padding: 48px 48px 32px; border-radius: 24px; background: var(--gda-dark); color: #fff; overflow: auto; }
}
#app .gda-panel h2 { color: #fff; margin-bottom: 8px; }
#app .gda-p-sub { color: var(--gda-soft); }
#app .gda-chg { display: flex; gap: 12px; margin-top: 24px !important; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .1); color: #fff; }
#app .gda-chg svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #8ADC94; }
#app .gda-prs { margin: 24px 0 0; padding: 0; list-style: none; }
#app .gda-pr { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
#app .gda-pr:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
#app .gda-pr-i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
#app .gda-pr-i svg.i { width: 20px; height: 20px; color: #fff; }
#app .gda-pr h3 { color: #fff; font-size: 16px; line-height: 24px; }
#app .gda-pr-c { display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; color: #fff; }
#app .gda-pr-c svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #8ADC94; }
#app .gda-pr-no svg.i { color: var(--gda-soft); }
#app .gda-pr-s { display: block; margin-top: 4px; color: var(--gda-soft); }
#app .gda-pr:not(.is-new):not(.is-unknown) .gda-pr-c + .gda-pr-s { display: none; }
#app .gda-pr.is-unknown .gda-pr-i { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
#app .gda-pr.is-unknown h3 { color: var(--gda-soft); font-weight: 400; }
#app .gda-pr.is-new { margin: 0 -16px; padding: 16px; border-radius: 16px; border-top-color: transparent; background: rgba(255, 255, 255, .1); }
#app .gda-pr.is-new + .gda-pr { border-top-color: transparent; }
#app .gda-pr-p { color: #fff; font-weight: 700; white-space: nowrap; }
#app .gda-ptot { margin-top: auto; padding-top: 32px; }
#app .gda-ptot b { font-size: 28px; line-height: 32px; }
#app .gda-safe { display: flex; gap: 8px; margin-top: 12px !important; color: var(--gda-soft); }
#app .gda-safe svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }

/* The same, small, under 1024: before the buttons */
#app .gda-strip { margin-top: 40px; padding: 20px; border-radius: 16px; background: var(--gda-dark); color: #fff; }
@media (min-width: 1024px) { #app .gda:not(.gda-wide) .gda-strip { display: none; } }
#app .gda-strip ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
#app .gda-strip li { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 16px; line-height: 24px; }
#app .gda-strip li svg.i { width: 20px; height: 20px; color: #8ADC94; }
#app .gda-strip li.is-unknown { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); color: var(--gda-soft); }
#app .gda-strip li.is-unknown svg.i, #app .gda-strip li.is-off svg.i { color: var(--gda-soft); }
#app .gda-strip-chg { margin-top: 16px !important; }
#app .gda-strip-tot { margin-top: 12px !important; color: var(--gda-soft); } #app .gda-strip-tot b { color: #fff; font-size: 20px; }

/* What the assistant understood */
#app .gda-chat { display: grid; gap: 12px; margin-top: 24px; }
#app .gda-me { justify-self: end; max-width: 480px !important; padding: 12px 16px; border-radius: 20px 20px 4px 20px; background: #007A24; color: #fff; }
#app .gda-bot { justify-self: start; max-width: 520px; }
#app .gda-bot > p:first-child { padding: 12px 16px; border-radius: 20px 20px 20px 4px; background: var(--card, #F5F5F5); }
#app .gda-bot .aiw-meta { margin-top: 6px !important; color: #5E5E5E; }
#app .gda-heard { margin: 32px 0 0; padding: 0; list-style: none; }
#app .gda-heard li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid #E3E3E3; }
#app .gda-heard li:last-child { border-bottom: 1px solid #E3E3E3; }
#app .gda-heard h3 { font-size: 16px; line-height: 24px; }
#app .gda-heard p { color: #5E5E5E; }
#app .gda-hr-i svg.i { width: 24px; height: 24px; color: var(--green); }
#app .gda-heard li.is-miss .gda-hr-i svg.i { color: #5E5E5E; }
#app .gda-heard .link { min-height: 44px; display: inline-flex; align-items: center; margin-top: -10px; }

/* The plan: the head and the summary */
#app .gda-ph { margin-top: 8px; }
#app .gda-ph .gda-lead .link { white-space: nowrap; }
#app .gda-sum { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; padding: 24px; border-radius: 24px; background: var(--card, #F5F5F5); }
@media (min-width: 1024px) { #app .gda-sum { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding: 40px; } }
#app .gda-big { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px !important; }
#app .gda-big b { color: #00700B; font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; }
#app .gda-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { #app .gda-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
#app .gda-tiles li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 12px 16px; border-radius: 16px; background: #fff; }
@media (min-width: 640px) { #app .gda-tiles li { grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: 4px; padding: 16px; } }
#app .gda-t-art { grid-row: span 3; } @media (min-width: 640px) { #app .gda-t-art { grid-row: auto; margin-bottom: 8px; } }
#app .gda-t-art img { width: 48px; height: 48px; }
#app .gda-t-a { font-weight: 700; } #app .gda-t-p { color: #5E5E5E; }
#app .gda-t-s { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--green-strong); }
#app .gda-t-s svg.i { width: 20px; height: 20px; }
#app .gda-tiles li.is-out { background: transparent; box-shadow: inset 0 0 0 2px var(--dash, #ADADAD); }
#app .gda-tiles li.is-out .gda-t-s, #app .gda-tiles li.is-none .gda-t-s { color: var(--ink); }
#app .gda-tiles li.is-out .gda-t-art, #app .gda-tiles li.is-none .gda-t-art { opacity: .45; }
#app .gda-vs { grid-column: 1 / -1; padding-top: 32px; border-top: 1px solid #E0E0E0; }
#app .gda-vs h3 { margin-bottom: 8px; }
#app .gda-vs dl, #app .gda-cost { display: grid; gap: 12px; margin: 20px 0 0; }
#app .gda-vs dl > div, #app .gda-cost > div { display: grid; grid-template-columns: 220px minmax(0, 1fr) 96px; gap: 16px; align-items: center; }
#app .gda-vs dt, #app .gda-cost dt { font-size: 16px; line-height: 24px; color: var(--ink); }
#app .gda-vs dd, #app .gda-cost dd { display: contents; margin: 0; }
#app .gda-vs dd b, #app .gda-cost dd b { font-size: 16px; text-align: right; white-space: nowrap; }
#app .gda-bar { display: block; height: 12px; border-radius: 6px; background: #E3E3E3; overflow: hidden; }
#app .gda-bar-l { height: 16px; border-radius: 8px; }
#app .gda-bar i { display: block; height: 100%; border-radius: inherit; }
#app .gda-bar i.no { background: #333; } #app .gda-bar i.yes { background: var(--green); }
@media (max-width: 639px) { #app .gda-vs dl > div, #app .gda-cost > div { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; } #app .gda-vs dd .gda-bar, #app .gda-cost dd .gda-bar { grid-column: 1 / -1; grid-row: 2; } }

/* Ask about the plan */
#app .gda-askbar { margin-top: 32px; }
#app .gda-ask-f { max-width: 760px; margin-top: 0; border-radius: 999px; align-items: center; }
#app .gda-qs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#app .gda-q { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #C9EDCC; color: #00700B; font: inherit; font-size: 16px; line-height: 24px; text-align: left; cursor: pointer; }
#app .gda-q:hover { background: var(--mint); box-shadow: inset 0 0 0 1px var(--hover-line, #6CC77A); }
#app .gda-q:focus-visible { outline: 2px solid var(--green-strong); outline-offset: 2px; }

/* The risk map in full: a risk, the line, the cover */
#app .gda-sec { margin-top: var(--gap-section, 80px); }
#app .gda-rows { display: grid; gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; }
#app .gda-row { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { #app .gda-row { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: stretch; } }
#app .gda-strong { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; max-width: none !important; margin-bottom: 12px !important; padding: 16px 20px; border-radius: 16px; background: var(--gda-lime); }
#app .gda-strong svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--green-strong); }
#app .gda-risk { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; align-content: start; padding: 24px; border-radius: 16px; background: var(--card, #F5F5F5); }
@media (min-width: 640px) { #app .gda-risk { padding: 32px; } }
#app .gda-risk > :not(.gda-ic):not(.gda-risk-t) { grid-column: 1 / -1; }
#app .gda-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; }
#app .gda-ic svg.i { width: 24px; height: 24px; color: var(--green-strong); }
#app .gda-area { margin-top: 8px !important; color: #5E5E5E; }
#app .gda-often { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px !important; }
#app .gda-often-d { display: inline-flex; gap: 4px; flex: none; margin-top: 8px; }
#app .gda-often-d i { width: 12px; height: 8px; border-radius: 2px; background: #D0D0D0; }
#app .gda-often-d i.on { background: var(--ink); }
#app .gda-cost { margin-top: 20px; }
#app .gda-cost > div { grid-template-columns: 160px minmax(0, 1fr) 80px; }
#app .gda-small { margin-top: 16px !important; color: #5E5E5E; }
#app .gda-link { display: none; }
@media (min-width: 1024px) {
  #app .gda-link { display: block; position: relative; }
  #app .gda-link i { position: absolute; left: -2px; right: -2px; top: 72px; height: 2px; background: var(--green); }
  #app .gda-link i::before, #app .gda-link i::after { content: ""; position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
  #app .gda-link i::before { left: -4px; } #app .gda-link i::after { right: -4px; }
  #app .gda-row.is-off .gda-link i { height: 0; border-top: 2px dashed var(--dash, #ADADAD); background: none; }
  #app .gda-row.is-off .gda-link i::before, #app .gda-row.is-off .gda-link i::after { background: #fff; box-shadow: inset 0 0 0 2px var(--dash, #ADADAD); top: -7px; }
}
@media (max-width: 1023px) {
  #app .gda-link { display: block; height: 24px; }
  #app .gda-link i { display: block; width: 2px; height: 100%; margin-left: 47px; background: var(--green); }
  #app .gda-row.is-off .gda-link i { width: 0; border-left: 2px dashed var(--dash, #ADADAD); background: none; }
}
#app .gda-cover { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--gap-art-sm, 24px); align-content: start; padding: 24px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--green); }
@media (min-width: 640px) { #app .gda-cover { padding: 32px; } }
#app .gda-cover > :not(.gda-art):not(.gda-cov-t) { grid-column: 1 / -1; }
#app .gda-cover.is-out { box-shadow: inset 0 0 0 2px var(--dash, #ADADAD); }
#app .gda-cover.is-out .gda-art { opacity: .45; }
#app .gda-art img { width: 64px; height: 64px; }
#app .gda-cov-m { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px !important; }
#app .gda .badge.gda-gray::before { background: #ADADAD; }
#app .gda-why { margin-top: 20px !important; }
#app .gda-peer { display: flex; gap: 8px; margin-top: 12px !important; color: #5E5E5E; }
#app .gda-peer svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }
#app .gda-lvls { margin-top: 16px; border-top: 1px solid #E3E3E3; }
#app .gda-lvls summary { display: flex; align-items: center; min-height: 44px; padding-top: 4px; color: #00700B; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
#app .gda-lvls summary:hover { color: var(--green-strong); text-decoration-thickness: 2px; }
#app .gda-lvls summary:focus-visible { outline: 2px solid var(--green-strong); outline-offset: 2px; }
#app .gda-lvls fieldset { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; border: 0; }
#app .gda-lv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px #DEDEDE; cursor: pointer; }
#app .gda-lv input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
#app .gda-lv:hover { box-shadow: inset 0 0 0 2px var(--hover-line, #6CC77A); }
#app .gda-lv:has(input:checked) { background: var(--mint); box-shadow: inset 0 0 0 2px var(--green); }
#app .gda-lv:has(input:focus-visible) { outline: 2px solid var(--green-strong); outline-offset: 2px; }
#app .gda-lv-t { display: grid; gap: 2px; }
#app .gda-rec { color: #00700B; }
#app .gda-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
#app .gda-leave { min-height: 44px; }
#app .gda-outnote { display: grid; gap: 16px; justify-items: start; margin-top: 20px; padding: 20px; border-radius: 12px; background: var(--card, #F5F5F5); }
#app .gda-outnote.is-lime { background: var(--gda-lime); }
#app .gda-remind { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
#app .gda-remind input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
#app .gda-sample { display: flex; gap: 8px; margin-top: 24px !important; color: #5E5E5E; }
#app .gda-sample svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }

/* Not in your plan */
#app .gda-nis { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { #app .gda-nis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#app .gda-ni { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--gap-art-sm, 24px); align-content: start; padding: 24px; border-radius: 16px; background: var(--card, #F5F5F5); }
#app .gda-ni img { width: 48px; height: 48px; }
#app .gda-ni .gda-cov-m + p { margin-top: 12px; color: #5E5E5E; }

/* Why this plan */
#app .gda-whyc { margin-top: 24px; padding: 24px; border-radius: 16px; background: var(--card, #F5F5F5); }
@media (min-width: 640px) { #app .gda-whyc { padding: 32px 40px; } }
#app .gda-whyh { display: none; }
@media (min-width: 768px) { #app .gda-whyh { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.4fr); padding-bottom: 12px; font-weight: 700; } #app .gda-whyh span:last-child { grid-column: 3; } }
#app .gda-whyl { margin: 0; padding: 0; list-style: none; }
#app .gda-whyl li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; border-top: 1px solid #E0E0E0; }
@media (min-width: 768px) { #app .gda-whyl li { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.4fr); gap: 0; align-items: start; } }
#app .gda-told { font-weight: 700; }
#app .gda-arr svg.i { width: 20px; height: 20px; margin-top: 2px; color: var(--green); }
@media (max-width: 767px) { #app .gda-arr { display: none; } }
#app .gda-whya { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 24px; border-top: 1px solid #E0E0E0; }
#app .gda-whya p { display: flex; gap: 8px; color: #5E5E5E; }
#app .gda-whya p svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--green); }
#app .gda-next-a { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* The price that stays in view on the plan */
#app .gda-stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); box-shadow: 0 -1px 0 #E3E3E3, 0 -8px 24px rgba(0, 0, 0, .06); }
#app .gda-stick p { margin: 0; } #app .gda-stick b { font-size: 20px; }
@media (max-width: 639px) { #app .gda-stick { justify-content: space-between; gap: 12px; } }
body.gda-on .proto { bottom: 84px !important; }

/* The guide's assistant: the portal's assistant space, centred (no side menu in a task) */
html body .aiw.gda-aiw { --aiw-x: 50vw; bottom: 24px !important; height: min(720px, calc(100vh - 48px)) !important; }
@media (max-width: 1023px) { html body .aiw.gda-aiw { left: 12px !important; right: 12px; transform: none !important; bottom: 12px !important; height: calc(100vh - 24px) !important; } }
html body .gda-aiw .aiw-fine .link { font-size: inherit; }
#app .gda-ai-tag { margin-top: 0; }
/* guide A: the portal's later type rules outrank the block above, so its titles and fields are restated here */
html body #app .gda h1 { font-weight: 700 !important; font-size: 40px !important; line-height: 44px !important; color: #00700B !important; }
html body #app .gda :is(h2, h3) { font-weight: 700 !important; }
html body #app .gda .gda-pr.is-unknown h3 { font-weight: 400 !important; }
html body #app .gda .gda-pt-only { margin-left: auto; }
html body #app .gda .gda-say-f textarea { height: auto; min-height: 44px; padding: 10px 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; }

/* =================================================================
   Guide B, "Recommended package" (17 October 2026): the guided insurance selection for a new customer, app/guide-b.js,
   routes #/guide-b and #/guide-b/<step>. A focused task in its own frame: the question with a dark green panel where the
   recommended package fills in, then three packages side by side (subgrid rows, so the five cases line up across them), then
   her plan with a card per cover. Every selector starts with .gdb. Notes: ../old/explore/guide/direction-b.md
   ================================================================= */
html body #app .gdb { --gdb-x: 64px; min-height: 100vh; background: #fff; color: var(--ink); }
html body #app .gdb-head { display: flex; align-items: center; gap: 16px; height: 96px; max-width: 1368px; margin: 0 auto; padding: 0 var(--gdb-x); }
html body #app .gdb-head .logo { flex: none; }
html body #app .gdb-head .progress { margin-left: auto; }
html body #app .gdb-head .progress li { width: 24px; }
html body #app .gdb-x { width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
html body #app .gdb-head .progress + .gdb-x { margin-left: 8px; }
html body #app .gdb-x:hover { background: #F1F9F2; }
html body #app .gdb-main { max-width: 1368px; margin: 0 auto; padding: 24px var(--gdb-x) 96px; }
html body #app .gdb-main:focus { outline: none; }
html body #app .gdb-split .gdb-main { display: grid; grid-template-columns: minmax(0, 640px) minmax(360px, 480px); justify-content: space-between; column-gap: 64px; align-items: start; }
html body #app .gdb-split .gdb-body { grid-column: 1; grid-row: 1; }
html body #app .gdb-split .gdb-live { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 24px; }
html body #app .gdb-split .gdb-foot { grid-column: 1; grid-row: 2; }
html body #app .gdb h1 { max-width: 700px; font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; color: #00700B; }
html body #app .gdb .lead { max-width: 700px; margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--ink); }
html body #app .gdb h2, html body #app .gdb h3 { color: var(--ink); }
html body #app .gdb p { max-width: var(--measure); }

/* The question steps */
html body #app .gdb-choices { display: grid; gap: 12px; margin-top: 32px; border: 0; padding: 0; }
html body #app .gdb-choice { grid-template-columns: 24px minmax(0, 1fr); gap: 16px; min-height: 72px; padding: 14px 20px; border-radius: 16px; }
html body #app .gdb-choice .t { display: grid; gap: 2px; }
html body #app .gdb-ct { font-size: 16px; line-height: 24px; }
html body #app .gdb-cl { font-size: 16px; line-height: 24px; font-weight: 400; color: var(--ink-2); }
html body #app .gdb-choice:has(input:checked) .gdb-ct { font-weight: 700; }
html body #app .gdb-filled { display: flex; gap: 8px; align-items: flex-start; margin-top: 24px; padding: 12px 16px; border-radius: 12px; background: #F9F9F9; }
html body #app .gdb-filled svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #00700B; }
html body #app .gdb-note { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; margin-top: 24px; padding: 20px 24px; border-radius: 16px; background: #F9F9F9; }
html body #app .gdb-note svg.i { width: 24px; height: 24px; }
html body #app .gdb-note b { display: block; margin-bottom: 8px; }
html body #app .gdb-note .link { margin-top: 12px; }
html body #app .gdb-amt { margin-top: 32px; }
html body #app .gdb-amt label { display: block; font-weight: 700; }
html body #app .gdb-amt-h { margin-top: 4px; color: var(--ink-2); }
html body #app .gdb-amt-f { display: flex; align-items: center; gap: 8px; width: 240px; max-width: 100%; height: 56px; margin-top: 12px; padding: 0 16px; border-radius: 12px; background: var(--field-bg, #F3F2EE); box-shadow: inset 0 0 0 1px var(--field-line, #8C8A84); }
html body #app .gdb-amt-f:hover { box-shadow: inset 0 0 0 1px #008A28, inset 0 0 0 2px #8ADC94; }
html body #app .gdb-amt-f:focus-within { outline: 2px solid #004C07; outline-offset: 2px; }
html body #app .gdb-amt-f input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
html body #app .gdb-amt-f input:focus { outline: none; }
html body #app .gdb-amt-f span { font-size: 20px; color: var(--ink-2); }
html body #app .gdb-amt-f:has(input[aria-invalid="true"]) { box-shadow: inset 0 0 0 2px #D93D27; }
html body #app .gdb-result { display: flex; gap: 12px; align-items: flex-start; margin-top: 32px; padding: 16px 20px; border-radius: 16px; background: #E6FAE7; }
html body #app .gdb-result svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #00700B; }
html body #app .gdb-yel { margin-top: 16px; padding: 20px 24px; border-radius: 16px; background: #F9F9F9; }
html body #app .gdb-yel b { display: block; margin-bottom: 8px; }
html body #app .gdb-yel p { color: var(--ink-2); }
html body #app .gdb-foot-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 48px; }
html body #app .gdb-talk { display: flex; gap: 12px; align-items: center; margin-top: 32px; color: var(--ink-2); }
html body #app .gdb-talk svg.i { flex: none; width: 20px; height: 20px; color: var(--ink); }
html body #app .gdb-talk .link { display: inline; }

/* The live panel: the Recommended package filling in, on Fennia's dark green */
html body #app .gdb-live { padding: 40px 36px 32px; border-radius: 24px; background: #004C07; color: #fff; }
html body #app .gdb-live h2 { font-size: 20px; line-height: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
html body #app .gdb-live-sub { color: #D5F7D7; }
html body #app .gdb-lrs { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
html body #app .gdb-lr { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
html body #app .gdb-lr-i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #8ADC94; color: #004C07; }
html body #app .gdb-lr-i svg.i { width: 18px; height: 18px; }
html body #app .gdb-lr.off .gdb-lr-i { background: transparent; box-shadow: inset 0 0 0 1px rgba(213, 247, 215, .6); color: #D5F7D7; }
html body #app .gdb-lr-t { display: grid; gap: 2px; }
html body #app .gdb-lr-t b { font-weight: 700; }
html body #app .gdb-lr-n { color: #fff; }
html body #app .gdb-lr-n.gdb-soft { color: #D5F7D7; }
html body #app .gdb-lr-why { margin-top: 4px; color: #E9FC8E; }
html body #app .gdb-lr.new .gdb-lr-i { box-shadow: 0 0 0 4px rgba(233, 252, 142, .35); }
html body #app .gdb-lr-p { font-variant-numeric: tabular-nums; white-space: nowrap; }
html body #app .gdb-live-tot { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
html body #app .gdb-live-tot b { font-size: 28px; line-height: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
html body #app .gdb-live-tot span { color: #D5F7D7; }
html body #app .gdb-live-fine { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: #D5F7D7; }
html body #app .gdb-live-fine svg.i { width: 16px; height: 16px; color: #D5F7D7; }

/* The assistant, in the page: a gray card with the rainbow-ringed ask field */
html body #app .gdb-ai { margin-top: 48px; padding: 28px 28px 24px; border-radius: 16px; background: #F9F9F9; }
html body #app .gdb-ai h2 { font-size: 20px; line-height: 24px; font-weight: 700; margin-bottom: 8px; }
html body #app .gdb-ai-sub { color: var(--ink-2); }
html body #app .gdb-ai-log { display: grid; gap: 12px; margin-top: 20px; }
html body #app .gdb-ai-log:empty { display: none; }
html body #app .gdb-me { justify-self: end; max-width: 85%; padding: 10px 16px; border-radius: 18px 18px 4px 18px; background: #00700B; color: #fff; }
html body #app .gdb-bot { justify-self: start; max-width: 92%; display: grid; justify-items: start; gap: 12px; padding: 14px 18px; border-radius: 18px 18px 18px 4px; background: #fff; }
html body #app .gdb-ask { --ai-a: 200deg; display: flex; align-items: center; gap: 8px; min-height: 60px; margin-top: 20px; padding: 6px 6px 6px 18px; border: 3px solid transparent; border-radius: 999px;
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ai-a), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F) border-box; }
html body #app .gdb-ask:focus-within { animation: ai-turn 3s linear infinite; outline: 2px solid #004C07; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html body #app .gdb-ask:focus-within { animation: none; } }
html[data-motion="off"] body #app .gdb-ask:focus-within { animation: none; }
html body #app .gdb-ask-sp { font-size: 20px; line-height: 1; background: conic-gradient(#FF5A5F, #FFD43B, #5BC24E, #22B8CF, #3D7BF5, #9B5DE5, #FF5A5F); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body #app .gdb-ask input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
html body #app .gdb-ask input:focus { outline: none; }
html body #app .gdb-ask input::placeholder { color: #6B6B6B; }
html body #app .gdb-send { flex: none; width: 44px; height: 44px; margin: 0; }
html body #app .gdb-send:hover { background: #005C1B; }
html body #app .gdb-sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
html body #app .gdb-sugg button { min-height: 44px; padding: 8px 18px; border: 1px solid #B8E6BD; border-radius: 22px; background: #fff; color: #00700B; font: inherit; text-align: left; cursor: pointer; }
html body #app .gdb-sugg button:hover { box-shadow: inset 0 0 0 1.5px #00700B; }
html body #app .gdb-sugg button:focus-visible { outline: 2px solid #004C07; outline-offset: 2px; }

/* Start */
html body #app .gdb-first .gdb-main { max-width: 864px; padding-top: 48px; }
html body #app .gdb-know { margin-top: 40px; padding: 28px; border-radius: 16px; background: #F9F9F9; }
html body #app .gdb-know h2 { font-size: 20px; line-height: 24px; font-weight: 700; margin-bottom: 8px; }
html body #app .gdb-know-sub { color: var(--ink-2); }
html body #app .gdb-know ul { display: grid; gap: 16px; margin-top: 20px; }
html body #app .gdb-know li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
html body #app .gdb-know li svg.i { width: 20px; height: 20px; margin-top: 2px; color: #00700B; }
html body #app .gdb-know li > span { display: grid; }
html body #app .gdb-know li > span span { color: var(--ink-2); }
html body #app .gdb-start-go { margin-top: 32px; }
html body #app .gdb-ai-start { background: #fff; padding: 0; margin-top: 56px; }

/* The three packages */
html body #app .gdb-pkgs .gdb-main { padding-bottom: 0; }
html body #app .gdb-based { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 24px; }
html body #app .gdb-based > span { color: var(--ink-2); }
html body #app .gdb-based ul { display: flex; flex-wrap: wrap; gap: 8px; }
html body #app .gdb-based li { padding: 4px 12px; border-radius: 4px; background: #F9F9F9; }
html body #app .gdb-view { display: none; border: 0; padding: 0; }
html body #app .gdb-cmp-grid { display: grid; grid-template-columns: minmax(200px, 0.9fr) repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(10, auto); column-gap: 16px; margin-top: 40px; }
html body #app .gdb-labs, html body #app .gdb-pk { grid-row: 1 / span 10; display: grid; grid-template-rows: subgrid; }
html body #app .gdb-pcs, html body #app .gdb-labs > ul { grid-row: span 5; display: grid; grid-template-rows: subgrid; }
html body #app .gdb-pk { padding: 28px 24px 24px; border-radius: 16px; background: #F9F9F9; }
html body #app .gdb-pk.rec { background: #fff; box-shadow: inset 0 0 0 2px #008A28, 0 8px 24px rgba(0, 76, 7, .10); }
html body #app .gdb-pk-top { display: grid; align-content: start; justify-items: start; }
html body #app .gdb-pk-top h2 { font-size: 28px; line-height: 32px; font-weight: 700; margin-bottom: 8px; }
html body #app .gdb-pk-line { color: var(--ink-2); }
html body #app .gdb-pk-price { margin-top: 16px; color: var(--ink-2); }
html body #app .gdb-pk-price b { font-size: 28px; line-height: 32px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
html body #app .gdb-rec-badge { margin-top: 12px; }
html body #app .gdb-pk-gap { display: block; height: 0; }
html body #app .gdb-pk-ring { display: flex; align-items: center; gap: 16px; padding: 20px 0; }
html body #app .gdb-pk-ring p { color: var(--ink-2); }
html body #app .gdb-pk-ring p b { color: var(--ink); }
html body #app .gdb-ring { flex: none; }
html body #app .gdb-ring text { font: 700 15px/1 inherit; font-family: inherit; fill: #004C07; }
html body #app .gdb-pc { display: grid; align-content: start; gap: 6px; padding: 16px 0; border-top: 1px solid #E3E3E3; }
html body #app .gdb-pk.rec .gdb-pc { border-top-color: #E8E8E8; }
html body #app .gdb-pc-case { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html body #app .gdb-pc-n { font-weight: 700; }
html body #app .gdb-pc.off .gdb-pc-n { font-weight: 400; color: var(--ink-2); }
html body #app .gdb-pc-bar { display: block; height: 8px; border-radius: 4px; background: #D9D9D9; overflow: hidden; }
html body #app .gdb-pc-bar i { display: block; height: 100%; border-radius: 4px; background: #008A28; }
html body #app .gdb-pc-y { color: var(--ink-2); }
html body #app .gdb-pc-y b { color: var(--ink); font-variant-numeric: tabular-nums; }
html body #app .gdb-pc.off .gdb-pc-y b { color: var(--ink); }
html body #app .gdb-pk-left { padding: 16px 0; border-top: 1px solid #C9C9C9; }
html body #app .gdb-pk-left b { display: block; font-size: 20px; line-height: 24px; font-variant-numeric: tabular-nums; }
html body #app .gdb-pk-peer { display: flex; gap: 8px; align-items: flex-start; padding-bottom: 20px; color: var(--ink-2); }
html body #app .gdb-pk-peer svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }
html body #app .gdb-pk-go .btn { width: 100%; }
html body #app .gdb-labs-top { display: flex; align-items: end; }
html body #app .gdb-labs-top p { color: var(--ink-2); padding-bottom: 4px; }
html body #app .gdb-labs > ul > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px 0; border-top: 1px solid #E3E3E3; }
html body #app .gdb-labs li > span:last-child { display: grid; gap: 2px; }
html body #app .gdb-labs li > span:last-child span { color: var(--ink-2); }
html body #app .gdb-lab-i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #F9F9F9; }
html body #app .gdb-lab-i svg.i { width: 22px; height: 22px; }

/* Why we recommend it: the Fennia insight, flat (no gradient outside the assistant) */
html body #app .gdb-why.insight { margin-top: 48px; padding: 40px !important; border-radius: 24px !important; background: #E6FAE7 !important; box-shadow: inset 0 0 0 2px #8ADC94 !important; }
html body #app .gdb-why h2 { font-size: 28px; line-height: 32px; font-weight: 700; }
html body #app .gdb-why .insight-tag { margin: 12px 0 0; }
html body #app .gdb-why-l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
html body #app .gdb-why-l li { display: grid; align-content: start; gap: 8px; padding: 24px; border-radius: 16px; background: #fff; }
html body #app .gdb-why-l b { font-size: 20px; line-height: 24px; }
html body #app .gdb-why-l span { color: var(--ink-2); }
html body #app .gdb-why-fine { margin-top: 20px; color: var(--ink-2); }
html body #app .gdb-pkgs .gdb-foot { position: sticky; bottom: 0; z-index: 5; margin: 48px calc(-1 * var(--gdb-x)) 0; padding: 0 var(--gdb-x); background: #fff; box-shadow: 0 -1px 0 #E3E3E3; }
html body #app .gdb-pkgs .gdb-foot-in { margin: 0; padding: 16px 0; }

/* Her plan */
html body #app .gdb-sum { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 32px; padding: 32px; border-radius: 16px; background: #F9F9F9; }
html body #app .gdb-sum-ring { display: flex; align-items: center; gap: 24px; }
html body #app .gdb-sum-ring .gdb-ring text { font-size: 14px; }
html body #app .gdb-sum-ring p { display: grid; gap: 4px; }
html body #app .gdb-sum-ring p span { color: var(--ink-2); }
html body #app .gdb-pic { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
html body #app .gdb-pic li { display: grid; align-content: start; justify-items: start; gap: 8px; padding: 16px; border-radius: 12px; background: #fff; }
html body #app .gdb-pic li.off { background: transparent; box-shadow: none; border: 2px dashed #ADADAD; padding: 14px; }
html body #app .gdb-pic-i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #E6FAE7; }
html body #app .gdb-pic li.off .gdb-pic-i { background: #F9F9F9; }
html body #app .gdb-pic-i svg.i { width: 22px; height: 22px; }
html body #app .gdb-pic-s { display: flex; gap: 4px; align-items: flex-start; color: var(--ink-2); }
html body #app .gdb-pic-s svg.i { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #008A28; }
html body #app .gdb-cvs { display: grid; gap: 16px; margin-top: 48px; }
html body #app .gdb-cv > article { padding: 32px; border-radius: 16px; background: #F9F9F9; }
html body #app .gdb-cv.off > article { background: #fff; border: 2px dashed #ADADAD; padding: 30px; }
html body #app .gdb-cv-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 24px; align-items: center; }
html body #app .gdb-cv-art img { display: block; width: 64px; height: 64px; }
html body #app .gdb-cv-ht h2 { font-size: 20px; line-height: 24px; font-weight: 700; margin-bottom: 8px; }
html body #app .gdb-cv-name { color: var(--ink-2); }
html body #app .gdb-cv-price { color: var(--ink-2); white-space: nowrap; }
html body #app .gdb-cv-price b { font-size: 20px; line-height: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
html body #app .gdb-cv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 28px; }
html body #app .gdb-cv h3 { font-size: 16px; line-height: 24px; font-weight: 700; margin-bottom: 8px; }
html body #app .gdb-cv-peer { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; color: var(--ink-2); }
html body #app .gdb-cv-peer svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }
html body #app .gdb-bars { display: grid; gap: 12px; margin-top: 12px; }
html body #app .gdb-br { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
html body #app .gdb-br-l { color: var(--ink-2); }
html body #app .gdb-br-t { display: block; height: 12px; border-radius: 6px; background: #D9D9D9; overflow: hidden; }
html body #app .gdb-br-t i { display: block; height: 100%; border-radius: 6px; background: #008A28; }
html body #app .gdb-br-v { white-space: nowrap; font-variant-numeric: tabular-nums; }
html body #app .gdb-case-n { margin-top: 12px; color: var(--ink-2); }
html body #app .gdb-lv { margin-top: 28px; border: 0; padding: 0; }
html body #app .gdb-lv legend { padding: 0; margin-bottom: 12px; font-weight: 700; }
html body #app .gdb-lv-o { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html body #app .gdb-lv-o.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body #app .gdb-lvc { position: relative; display: grid; align-content: start; justify-items: start; gap: 6px; padding: 16px 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #DEDEDE; cursor: pointer; }
html body #app .gdb-lvc:hover { box-shadow: inset 0 0 0 1px #008A28, inset 0 0 0 2px #8ADC94; }
html body #app .gdb-lvc:has(input:checked) { background: #F1F9F2; box-shadow: inset 0 0 0 2px #008A28; }
html body #app .gdb-lvc:has(input:focus-visible) { outline: 2px solid #004C07; outline-offset: 2px; }
html body #app .gdb-lvc-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; }
html body #app .gdb-lvc-p { color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
html body #app .gdb-lvc:has(input:checked) .gdb-lvc-p { color: #00700B; font-weight: 700; }
html body #app .gdb-lvc-l { color: var(--ink-2); }
html body #app .gdb-lvc-rec { margin-top: 4px; }
html body #app .gdb-lv-why { margin-top: 12px; color: var(--ink-2); }
html body #app .gdb-changed { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; padding: 10px 14px; border-radius: 8px; background: #E6FAE7; }
html body #app .gdb-changed svg.i { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #00700B; }
html body #app .gdb-cv-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
html body #app .gdb-out-line { margin-top: 20px; }
html body #app .gdb-remind { display: flex; gap: 12px; align-items: center; min-height: 44px; margin-top: 12px; cursor: pointer; }
html body #app .badge.plain-off::before { background: #ADADAD; }
html body #app .gdb-not { margin-top: 64px; }
html body #app .gdb-not h2, html body #app .gdb-sec h2, html body #app .gdb-next h2 { font-size: 28px; line-height: 32px; font-weight: 700; margin-bottom: 12px; }
html body #app .gdb-not ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
html body #app .gdb-not li { display: grid; align-content: start; gap: 8px; padding: 24px; border-radius: 16px; border: 2px dashed #ADADAD; }
html body #app .gdb-not li span { color: var(--ink-2); }
html body #app .gdb-planv .gdb-main { padding-bottom: 0; }
html body #app .gdb-planv .gdb-foot { position: sticky; bottom: 0; z-index: 5; margin: 48px calc(-1 * var(--gdb-x)) 0; padding: 0 var(--gdb-x); background: #fff; box-shadow: 0 -1px 0 #E3E3E3; }
html body #app .gdb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 16px 0; }
html body #app .gdb-bar-t { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
html body #app .gdb-bar-t b { font-size: 28px; line-height: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
html body #app .gdb-bar-t span { flex-basis: 100%; color: var(--ink-2); }
html body #app .gdb-bar-a { display: flex; gap: 12px; }

/* Your plan, and why */
html body #app .gdb-sumv .gdb-main { max-width: 1080px; }
html body #app .gdb-sum-final { grid-template-columns: minmax(0, 1fr); }
html body #app .gdb-sec { margin-top: 64px; }
html body #app .gdb-srs { display: grid; gap: 12px; margin-top: 20px; }
html body #app .gdb-srs > li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: 24px; border-radius: 16px; background: #F9F9F9; }
html body #app .gdb-srs > li.off { background: #fff; border: 2px dashed #ADADAD; padding: 22px; }
html body #app .gdb-sr-art img { display: block; width: 48px; height: 48px; }
html body #app .gdb-srs b { display: block; margin-bottom: 8px; }
html body #app .gdb-srs p { color: var(--ink-2); }
html body #app .gdb-sr-p { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
html body #app .gdb-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding: 16px 24px; border-top: 2px solid #333; }
html body #app .gdb-tot b { font-size: 20px; line-height: 24px; }
html body #app .gdb-ans { margin-top: 20px; border-top: 1px solid #E3E3E3; }
html body #app .gdb-ans > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 16px; align-items: center; min-height: 64px; border-bottom: 1px solid #E3E3E3; }
html body #app .gdb-ans dt { color: var(--ink-2); }
html body #app .gdb-ans .link { min-height: 44px; }
html body #app .gdb-next { margin-top: 64px; padding: 40px; border-radius: 24px; background: #F9F9F9; }
html body #app .gdb-next-a { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
html body #app .gdb-next-m { margin-top: 20px; }

/* Narrower windows: the panel goes under the question, the packages show one at a time */
@media (max-width: 1199px) {
  html body #app .gdb-why-l { grid-template-columns: minmax(0, 1fr); }
  html body #app .gdb-not ul { grid-template-columns: minmax(0, 1fr); }
  html body #app .gdb-sum { grid-template-columns: minmax(0, 1fr); }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) {
  html body #app .gdb-why-l { grid-template-columns: minmax(0, 1fr); }
  html body #app .gdb-not ul { grid-template-columns: minmax(0, 1fr); }
  html body #app .gdb-sum { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 1023px) {
  html body #app .gdb { --gdb-x: 32px; }
  html body #app .gdb-split .gdb-main { display: block; max-width: 704px; }
  html body #app .gdb-split .gdb-live { position: static; margin-top: 48px; }
  html body #app .gdb-view { display: flex; gap: 4px; margin-top: 32px; padding: 4px; border-radius: 999px; background: #F9F9F9; }
  html body #app .gdb-view label { flex: 1; display: grid; place-items: center; min-height: 44px; padding: 0 8px; border-radius: 999px; cursor: pointer; text-align: center; }
  html body #app .gdb-view label:has(input:checked) { background: #333; color: #fff; font-weight: 700; }
  html body #app .gdb-view label:has(input:focus-visible) { outline: 2px solid #004C07; outline-offset: 2px; }
  html body #app .gdb-cmp-grid { display: block; margin-top: 16px; }
  html body #app .gdb-labs { display: none; }
  html body #app .gdb-pk { display: none; }
  html body #app .gdb-pkgs:has(#gdb-v-ess:checked) .gdb-pk[data-k="ess"], html body #app .gdb-pkgs:has(#gdb-v-rec:checked) .gdb-pk[data-k="rec"], html body #app .gdb-pkgs:has(#gdb-v-comp:checked) .gdb-pk[data-k="comp"] { display: block; }
  html body #app .gdb-pcs { display: block; }
  html body #app .gdb-pc-case { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
  html body #app .gdb-pc-ci svg.i { width: 20px; height: 20px; margin-top: 2px; }
  html body #app .gdb-pc-cc { color: var(--ink-2); }
  html body #app .gdb-pc-n { font-weight: 400; color: var(--ink-2); }
  html body #app .gdb-pc-case { font-weight: 700; }
  html body #app .gdb-pc-cc { font-weight: 400; }
  html body #app .gdb-cv-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  html body #app .gdb-pic { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 639px) {
  html body #app .gdb { --gdb-x: 16px; }
  html body #app .gdb-head { height: 72px; }
  html body #app .gdb-head .progress ol { display: none; }
  html body #app .gdb-main { padding-top: 8px; }
  html body #app .gdb-first .gdb-main { padding-top: 16px; }
  html body #app .gdb-split .gdb-foot, html body #app .gdb-pkgs .gdb-foot { position: sticky; bottom: 0; z-index: 5; margin: 32px calc(-1 * var(--gdb-x)) -96px; padding: 12px var(--gdb-x) calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 #E3E3E3; }
  html body #app .gdb-split .gdb-main { padding-bottom: 96px; }
  html body #app .gdb-foot-in { margin: 0; flex-direction: row-reverse; }
  html body #app .gdb-foot-in .btn-primary { flex: 1; }
  html body #app .gdb-pkgs .gdb-foot-in { padding: 0; }
  html body #app .gdb-ai { padding: 20px 16px; }
  html body #app .gdb-ai-start { padding: 0; }
  html body #app .gdb-know { padding: 20px; }
  html body #app .gdb-pk { padding: 24px 20px 20px; }
  html body #app .gdb-why.insight { padding: 24px 20px !important; }
  html body #app .gdb-why-l li { padding: 20px; }
  html body #app .gdb-sum { padding: 24px 20px; gap: 24px; }
  html body #app .gdb-sum-ring { align-items: flex-start; }
  html body #app .gdb-sum-ring .gdb-ring { width: 88px; height: 88px; }
  html body #app .gdb-pic { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  html body #app .gdb-pic li { grid-template-columns: 40px minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 0; padding: 12px; }
  html body #app .gdb-pic li.off { padding: 10px; }
  html body #app .gdb-pic-i { grid-row: span 2; }
  html body #app .gdb-cv > article { padding: 24px 20px; }
  html body #app .gdb-cv.off > article { padding: 22px 18px; }
  html body #app .gdb-cv-head { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 16px; align-items: start; }
  html body #app .gdb-cv-art img { width: 48px; height: 48px; }
  html body #app .gdb-cv-price { grid-column: 2; }
  html body #app .gdb-lv-o, html body #app .gdb-lv-o.n3 { grid-template-columns: minmax(0, 1fr); }
  html body #app .gdb-br { grid-template-columns: 76px minmax(0, 1fr); row-gap: 4px; }
  html body #app .gdb-br-v { grid-column: 2; }
  html body #app .gdb-planv .gdb-foot { margin-top: 32px; }
  html body #app .gdb-bar { padding: 12px 0; gap: 8px; }
  html body #app .gdb-bar-a { width: 100%; }
  html body #app .gdb-bar-a .btn-primary { flex: 1; }
  html body #app .gdb-srs > li { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 16px; padding: 20px; }
  html body #app .gdb-srs > li.off { padding: 18px; }
  html body #app .gdb-sr-art img { width: 40px; height: 40px; }
  html body #app .gdb-sr-p { grid-column: 2; }
  html body #app .gdb-ans > div { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 0; gap: 4px 16px; }
  html body #app .gdb-ans dt { grid-column: 1 / -1; }
  html body #app .gdb-next { padding: 24px 20px; }
  html body #app .gdb-next-a .btn { width: 100%; }
  html body #app .gdb-start-go .btn { width: 100%; }
}

/* ===== guide-c: the advisor conversation (17 October 2026, Direction C, app/guide-c.js). Fennia's AI assistant asks one
   question at a time; beside it her plan builds on the five areas, on the flows' dark green; the plan page ends on Continue to
   buy. Every selector starts with gdc. Sizes only from the five (40, 28, 20, 16, 12). ===== */
html body #app .gdc { min-height: 100vh; background: #fff; color: #333; --gdc-ring: conic-gradient(from var(--ai-a, 200deg), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F); }
html body #app .gdc :is(h1, h2, h3, b, dt) { font-weight: 700 !important; }
html body #app .gdc p { max-width: var(--measure, 700px); }
html body #app .gdc-top { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 72px; padding: 0 32px; background: #fff; box-shadow: inset 0 -1px 0 #EBEBEB; }
html body #app .gdc-logo img { display: block; }
html body #app .gdc-prog { display: flex; align-items: center; gap: 16px; }
html body #app .gdc-prog ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
html body #app .gdc-prog li { width: 28px; height: 6px; border-radius: 3px; background: #D9D9D9; }
html body #app .gdc-prog li.done { background: #008A28; } html body #app .gdc-prog li.now { background: #004C07; }
html body #app .gdc-prog span { font-size: 16px; line-height: 24px; color: #5E5E5E; white-space: nowrap; }
html body #app .gdc-ta { justify-self: end; display: flex; align-items: center; gap: 12px; }
html body #app .gdc-talk { gap: 8px; min-height: 44px; height: 44px; padding: 0 20px !important; font-weight: 400 !important; }
html body #app .gdc-talk svg.i { width: 20px; height: 20px; }
html body #app .gdc-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #333; }
html body #app .gdc-x:hover { background: #F9F9F9; } html body #app .gdc-x svg.i { width: 24px; height: 24px; }
html body #app .gdc :is(a, button, input):focus-visible, html body #app .gdc-x:focus-visible { outline: 3px solid #004C07 !important; outline-offset: 2px; }
html body #app .gdc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 80px; align-items: start; max-width: 1280px; margin: 0 auto; padding: 48px 32px 96px; }
html body #app .gdc-conv { min-width: 0; max-width: 700px; }
html body #app .gdc h1 { margin: 0 0 16px; font-size: 40px; line-height: 44px; color: #00700B; letter-spacing: -0.02em; }
html body #app .gdc-intro { margin: 0 0 40px; font-size: 16px; line-height: 24px; color: #5E5E5E; }
html body #app .gdc-log { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; list-style: none; }
html body #app .gdc-t { display: grid; gap: 12px; }
html body #app .gdc-ai { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
html body #app .gdc-av { display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid transparent; border-radius: 50%; background: linear-gradient(#fff, #fff) padding-box, var(--gdc-ring) border-box; }
html body #app .gdc-av span { font-size: 20px; line-height: 24px; background: conic-gradient(#FF5A5F, #FFD43B, #5BC24E, #22B8CF, #3D7BF5, #9B5DE5, #FF5A5F); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body #app .gdc-t .gdc-ai > p, html body #app .gdc-log > li.gdc-ai > p { justify-self: start; margin: 0; padding: 12px 16px; border-radius: 4px 16px 16px 16px; background: #F9F9F9; font-size: 16px; line-height: 24px; }
html body #app .gdc-t .gdc-ai > div { padding: 12px 16px; border-radius: 4px 16px 16px 16px; background: #F9F9F9; }
html body #app .gdc-t .gdc-ai > div > p { margin: 0 0 12px; } html body #app .gdc-t .gdc-ai > div .gdc-qs { margin: 0; font-weight: 700 !important; }
html body #app .gdc-t .gdc-ai .gdc-dcard { background: #fff; }
html body #app .gdc-me { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
html body #app .gdc-me > span, html body #app .gdc-log > li.gdc-me { padding: 12px 16px; border-radius: 16px 4px 16px 16px; background: #007A24; color: #fff; font-size: 16px; line-height: 24px; }
html body #app .gdc-log > li.gdc-me { align-self: flex-end; max-width: 80%; }
html body #app .gdc-chg { order: -1; padding: 0; border: 0; background: none; color: #00700B; font: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body #app .gdc-chg:hover, html body #app .gdc-chg2:hover, html body #app .gdc-lk:hover { color: #004C07; text-decoration-thickness: 2px; }
html body #app .gdc-now { margin-top: 16px; }
html body #app .gdc-now .gdc-ai > div > p { margin: 8px 0 16px; font-size: 16px; line-height: 24px; }
html body #app .gdc-ds { display: grid; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
html body #app .gdc-d { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 20px 12px 12px; border-radius: 16px; background: #E6FAE7; }
html body #app .gdc-d > span:last-child { display: grid; } html body #app .gdc-d b { font-size: 16px; line-height: 24px; } html body #app .gdc-d > span > span { color: #2F4A33; font-size: 16px; line-height: 24px; }
html body #app .gdc-di { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #008A28; } html body #app .gdc-di svg.i { width: 20px; height: 20px; color: #fff; }
html body #app :is(.gdc-d-not, .gdc-d-law, .gdc-d-out) { background: #F9F9F9; } html body #app :is(.gdc-d-not, .gdc-d-law, .gdc-d-out) .gdc-di { background: #fff; } html body #app :is(.gdc-d-not, .gdc-d-law, .gdc-d-out) .gdc-di svg.i { color: #5E5E5E; }
html body #app :is(.gdc-d-not, .gdc-d-law, .gdc-d-out) > span > span { color: #5E5E5E; }
html body #app .gdc h2#gdc-q { margin: 0 0 12px; font-size: 28px; line-height: 32px; color: #333; letter-spacing: -0.02em; }
html body #app .gdc-hint { margin: 0 0 24px; font-size: 16px; line-height: 24px; color: #5E5E5E; }
html body #app .gdc-opts { display: flex; flex-wrap: wrap; gap: 12px; }
html body #app .gdc-opts.gdc-col { flex-direction: column; align-items: stretch; max-width: 520px; }
html body #app .gdc-opt { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px 0 20px; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #C4C4C4; color: #333; font: inherit; font-size: 16px; line-height: 24px; text-align: left; cursor: pointer; transition: box-shadow .15s, background .15s; }
html body #app .gdc-opt svg.i { flex: none; width: 24px; height: 24px; color: #00700B; }
html body #app .gdc-opt:hover { background: #F1F9F2; box-shadow: inset 0 0 0 2px #6CC77A; }
html body #app .gdc-opt.on { background: #E6FAE7; box-shadow: inset 0 0 0 2px #008A28; }
html body #app .gdc-box { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 6px; box-shadow: inset 0 0 0 2px #8C8A84; background: #fff; }
html body #app .gdc-box svg.i { width: 16px !important; height: 16px !important; color: #fff !important; opacity: 0; }
html body #app .gdc-tog.on .gdc-box { background: #008A28; box-shadow: none; } html body #app .gdc-tog.on .gdc-box svg.i { opacity: 1; }
html body #app .gdc-go { margin-top: 24px; } html body #app .gdc-go .btn, html body #app .gdc-foot .btn { min-height: 44px; height: 44px; padding: 0 24px !important; font-weight: 400 !important; }
html body #app .gdc-fields { display: grid; gap: 24px; max-width: 420px; } html body #app .gdc-more { margin-top: 24px; }
html body #app .gdc-f label { display: block; font-size: 16px; line-height: 24px; font-weight: 700 !important; }
html body #app .gdc-fh { display: block; margin: 0 0 8px; color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gdc-f input { width: 100%; max-width: 280px; height: 52px; padding: 0 16px; border: 1px solid #8C8A84; border-radius: 12px; background: #fff; color: #333; font: inherit; font-size: 16px; }
html body #app .gdc-f input[aria-invalid="true"] { border-color: #D63D29; box-shadow: inset 0 0 0 1px #D63D29; }
html body #app .gdc-dcard { margin: 0 0 32px; padding: 24px; border-radius: 16px; background: #F9F9F9; }
html body #app .gdc-dp { margin: 16px 0 0 !important; font-size: 16px; line-height: 24px; }
/* The case: two bars of the same cost, green for what the policy pays, the rest left with her (Home's case bar) */
html body #app .gdc-case { padding: 20px 24px; border-radius: 16px; background: #fff; }
html body #app .gdc-ct { margin: 0 0 12px !important; font-size: 16px; line-height: 24px; font-weight: 700 !important; }
html body #app .gdc-cb { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; }
html body #app .gdc-cl, html body #app .gdc-cv { font-size: 16px; line-height: 24px; white-space: nowrap; }
html body #app .gdc-cl { color: #5E5E5E; } html body #app .gdc-cv { text-align: right; font-weight: 700 !important; }
html body #app .gdc-ctr { position: relative; height: 12px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #ADADAD; overflow: hidden; }
html body #app .gdc-ctr i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; }
html body #app .gdc-cw { width: 0 !important; } html body #app .gdc-cy { left: auto !important; right: 0; background: #fff; }
html body #app .gdc-ctr:has(.gdc-cy) { background: #008A28; box-shadow: none; }
html body #app .gdc-ctr .gdc-cy { box-shadow: inset 0 0 0 1px #ADADAD; border-radius: 0 6px 6px 0; }
html body #app .gdc-cn { margin: 12px 0 0 !important; color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gdc-case-l { box-shadow: inset 0 0 0 1px #E3E3E3; }
html body #app .gdc-cmp { margin-top: 32px; padding-left: 56px; }
html body #app .gdc-log > li.gdc-ai { margin-top: 0; }
html body #app .gdc-sugg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
html body #app .gdc-sugg button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #CFE6D3; color: #00700B; font: inherit; font-size: 16px; line-height: 24px; cursor: pointer; text-align: left; }
html body #app .gdc-sugg button:hover { background: #EEF8F0; box-shadow: inset 0 0 0 1px #6CC77A; }
html body #app .gdc-ask { --ai-a: 200deg; display: flex; align-items: center; gap: 8px; max-width: 700px; min-height: 60px; padding: 5px 5px 5px 20px; border: 3px solid transparent; border-radius: 999px; background: linear-gradient(#fff, #fff) padding-box, var(--gdc-ring) border-box; }
html body #app .gdc-ask:focus-within { animation: ai-turn 3s linear infinite; }
html body #app .gdc-ask:has(input:focus-visible) { outline: 3px solid #004C07; outline-offset: 3px; }
html body #app .gdc-ask-sp { font-size: 20px; line-height: 24px; background: conic-gradient(#FF5A5F, #FFD43B, #5BC24E, #22B8CF, #3D7BF5, #9B5DE5, #FF5A5F); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body #app .gdc-ask input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: #333; font: inherit; font-size: 16px; outline: none !important; }
html body #app .gdc-ask input::placeholder { color: #6B6B6B; }
html body #app .gdc-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #007A24; cursor: pointer; }
html body #app .gdc-send:hover { background: #005C1B; } html body #app .gdc-send svg.i { width: 20px; height: 20px; color: #fff; }
html body #app .gdc-fine { margin: 12px 0 0; color: #6B6B6B; font-size: 16px; line-height: 24px; }
html body #app .gdc-foot { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding-left: 56px; }
html body #app .gdc-foot:empty { display: none; }
html body #app .gdc .link { color: #00700B; text-decoration: underline; text-underline-offset: 3px; }
/* The plan as it builds, on the flows' dark green */
html body #app .gdc-panel { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding: 32px; border-radius: 24px; background: #004C07; color: #fff; scrollbar-width: thin; }
html body #app :is(.gdc-panel, .gdc-sheet) h2 { margin: 0 0 8px; font-size: 20px; line-height: 24px; color: #fff; }
html body #app .gdc-psub { margin: 0 0 24px; color: #B8EABB; font-size: 16px; line-height: 24px; }
html body #app .gdc-rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
html body #app .gdc-r { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 72px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
html body #app .gdc-ri { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
html body #app .gdc-ri svg.i { width: 20px; height: 20px; color: #fff; }
html body #app .gdc-rt { display: grid; min-width: 0; } html body #app .gdc-rt b { color: #fff; font-size: 16px; line-height: 24px; }
html body #app .gdc-rt > span { color: #B8EABB; font-size: 16px; line-height: 24px; }
html body #app .gdc-rp { color: #fff; font-size: 16px; line-height: 24px; font-weight: 700 !important; white-space: nowrap; }
html body #app .gdc-empty, html body #app .gdc-out { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
html body #app .gdc-empty .gdc-ri, html body #app .gdc-out .gdc-ri { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
html body #app .gdc-empty .gdc-ri svg.i, html body #app .gdc-out .gdc-ri svg.i { color: #B8EABB; }
html body #app .gdc-on { background: rgba(255, 255, 255, .12); } html body #app .gdc-on .gdc-ri { background: #8ADC94; } html body #app .gdc-on .gdc-ri svg.i { color: #004C07; }
html body #app .gdc-dec { background: #E9FC8E; } html body #app .gdc-dec .gdc-ri { background: #fff; } html body #app .gdc-dec .gdc-ri svg.i { color: #004C07; }
html body #app .gdc-dec .gdc-rt b, html body #app .gdc-dec .gdc-rp { color: #1F1F1F; } html body #app .gdc-dec .gdc-rt > span { color: #333; }
html body #app .gdc-new { animation: gdc-glow 1.6s ease-out 1; }
@keyframes gdc-glow { 0% { box-shadow: 0 0 0 3px #8ADC94; } 100% { box-shadow: 0 0 0 3px rgba(138, 220, 148, 0); } }
@media (prefers-reduced-motion: reduce) { html body #app .gdc-new, html body #app .gdc-ask:focus-within { animation: none; } }
html[data-motion="off"] body #app .gdc-new, html[data-motion="off"] body #app .gdc-ask:focus-within { animation: none; }
html body #app .gdc-pmore { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
html body #app .gdc-pmore li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; color: #D5F7D7; font-size: 16px; line-height: 24px; }
html body #app .gdc-pmore svg.i { width: 20px; height: 20px; margin-top: 2px; color: #8ADC94; } html body #app .gdc-pmore b { color: #fff; }
html body #app .gdc-ptot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 24px; padding-top: 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
html body #app .gdc-pt-n { color: #B8EABB; font-size: 16px; line-height: 24px; }
html body #app .gdc-pt-v { color: #fff; font-size: 16px; line-height: 24px; white-space: nowrap; } html body #app .gdc-pt-v b { font-size: 28px; line-height: 32px; }
/* The phone's plan bar: the five areas as dots, the price, and the plan to open */
html body #app .gdc-barw { display: none; }
html body #app .gdc-sheet { max-height: 70vh; overflow: auto; padding: 24px 16px; background: #004C07; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
html body #app .gdc-sheet[hidden] { display: none; }
@media (max-width: 1023px) {
  html body #app .gdc-top { grid-template-columns: auto minmax(0, 1fr) auto; height: 64px; padding: 0 8px 0 16px; gap: 12px; }
  html body #app .gdc-prog { justify-content: center; } html body #app .gdc-prog ol { display: none; }
  html body #app .gdc-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 32px 16px 96px; }
  html body #app .gdc-panel { display: none; }
  html body #app .gdc-barw { display: block; position: sticky; top: 64px; z-index: 30; }
  html body #app .gdc-bar { display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: #004C07; color: #fff; }
  html body #app .gdc-bdots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
  html body #app .gdc-bd { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
  html body #app .gdc-bd svg.i { width: 16px; height: 16px; color: #B8EABB; }
  html body #app .gdc-bd-on { background: #8ADC94; box-shadow: none; } html body #app .gdc-bd-on svg.i { color: #004C07; }
  html body #app .gdc-bd-dec { background: #E9FC8E; box-shadow: none; } html body #app .gdc-bd-dec svg.i { color: #004C07; }
  html body #app .gdc-btx { margin-left: auto; font-size: 16px; line-height: 24px; white-space: nowrap; }
  html body #app .gdc-bbtn { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); color: #fff; font: inherit; font-size: 16px; cursor: pointer; }
  html body #app .gdc-bbtn:hover { background: rgba(255, 255, 255, .1); }
  html body #app .gdc-cmp, html body #app .gdc-foot { padding-left: 0; }
}
@media (max-width: 639px) {
  html body #app .gdc-talk { width: 44px; padding: 0 !important; justify-content: center; }
  html body #app .gdc-talk span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html body #app .gdc-prog { justify-content: flex-start; }
  html body #app .gdc-ai { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  html body #app .gdc-av { width: 32px; height: 32px; border-width: 2px; } html body #app .gdc-av span { font-size: 16px; }
  html body #app .gdc-now .gdc-ai { grid-template-columns: minmax(0, 1fr); } html body #app .gdc-now .gdc-ai > .gdc-av { display: none; }
  html body #app .gdc-opt { width: 100%; }
  html body #app .gdc-cb { grid-template-columns: minmax(0, 1fr) auto; }
  html body #app .gdc-cb .gdc-ctr { grid-column: 1 / -1; grid-row: auto; }
  html body #app .gdc-dcard, html body #app .gdc-case { padding: 16px; }
  html body #app .gdc-bdots { gap: 4px; } html body #app .gdc-bd { width: 26px; height: 26px; }
}
/* The plan page */
html body #app .gdc-plan .gdc-wrap { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; }
html body #app .gdc-main { min-width: 0; max-width: 780px; }
html body #app .gdc-backlink { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 24px; color: #00700B; font-size: 16px; line-height: 24px; text-decoration: none; }
html body #app .gdc-backlink:hover { text-decoration: underline; }
html body #app .gdc-bk { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #E6FAE7; } html body #app .gdc-bk svg.i { width: 16px; height: 16px; color: #00700B; }
html body #app .gdc-lead { margin: 0; color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gdc-msum { display: none; }
html body #app .gdc-sec { margin-top: 80px; }
html body #app .gdc-sec > h2 { margin: 0 0 12px; font-size: 28px; line-height: 32px; letter-spacing: -0.02em; }
html body #app .gdc-sl2 { margin: 0 0 24px; color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gdc-sec > h2 + .gdc-cov { margin-top: 24px; }
html body #app .gdc-cov { padding: 32px; border-radius: 24px; background: #F9F9F9; }
html body #app .gdc-cov-r { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; align-items: center; }
html body #app .gdc-ring { display: block; width: 160px; height: 160px; }
html body #app .gdc-ring text { font-family: var(--font); font-size: 40px; font-weight: 700; fill: #333; }
html body #app .gdc-cov-t { margin: 0 0 12px; font-size: 20px; line-height: 24px; }
html body #app .gdc-cov-s { margin: 0; color: #33413A; font-size: 16px; line-height: 24px; }
html body #app .gdc-sw { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; background: #C9E36A; vertical-align: 0; }
html body #app .gdc-ats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
html body #app .gdc-at { display: grid; align-content: start; gap: 4px; padding: 16px; border-radius: 16px; background: #fff; }
html body #app .gdc-at b { margin-top: 8px; font-size: 16px; line-height: 24px; } html body #app .gdc-at > span:last-child { color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gdc-ati { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #F9F9F9; } html body #app .gdc-ati svg.i { width: 16px; height: 16px; color: #5E5E5E; }
html body #app .gdc-at.on .gdc-ati { background: #008A28; } html body #app .gdc-at.on .gdc-ati svg.i { color: #fff; }
html body #app .gdc-at.out { background: #E9FC8E; } html body #app .gdc-at.out .gdc-ati { background: #fff; } html body #app .gdc-at.out .gdc-ati svg.i { color: #004C07; } html body #app .gdc-at.out > span:last-child { color: #333; }
html body #app .gdc-pcs { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
html body #app .gdc-pc { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 32px; padding: 32px; border-radius: 24px; background: #F9F9F9; }
html body #app .gdc-pca img { display: block; width: 64px; height: 64px; }
html body #app .gdc-pcb { min-width: 0; }
html body #app .gdc-pch { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 8px; }
html body #app .gdc-pc h3 { margin: 0 0 8px; font-size: 20px; line-height: 24px; }
html body #app .gdc-pch h3 { margin: 0; }
html body #app .gdc-pp { margin: 0; white-space: nowrap; font-size: 16px; line-height: 24px; } html body #app .gdc-pp b { font-size: 20px; line-height: 24px; }
html body #app .gdc-pc .badge { margin: 0 0 16px; }
html body #app .gdc-lvl { margin: 0 0 12px; font-size: 16px; line-height: 24px; color: #333; }
html body #app .gdc-pcb > p { margin: 0 0 16px; font-size: 16px; line-height: 24px; }
html body #app .gdc-chg2 { color: #00700B; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
html body #app .gdc-pcb > .gdc-case { margin: 0 0 16px; }
html body #app .gdc-pcb > p.gdc-peer { color: #5E5E5E; }
html body #app .gdc-pcf { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 8px; }
html body #app .gdc-pcf .btn { min-height: 44px; height: 44px; padding: 0 20px !important; font-weight: 400 !important; }
html body #app .gdc-pc-l { background: #E9FC8E; } html body #app .gdc-pc-l .gdc-pcb > p { color: #1F1F1F; }
html body #app .gdc-pc-l .gdc-pcb > p.gdc-peer { color: #333; }
html body #app .gdc-pc-o { background: #fff; box-shadow: inset 0 0 0 1.5px var(--dash, #ADADAD); }
html body #app .gdc-rem { margin: 0; font-size: 16px; line-height: 24px; }
html body #app .gdc-lk { padding: 0; border: 0; background: none; color: #00700B; font: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body #app .gdc-pc-l .gdc-lk { color: #004C07; }
html body #app .gdc-lvs { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
html body #app .gdc-lvo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #E3E3E3; cursor: pointer; }
html body #app .gdc-lvo:hover { box-shadow: inset 0 0 0 2px #6CC77A; }
html body #app .gdc-lvo.on { background: #F1F9F2; box-shadow: inset 0 0 0 2px #008A28; }
html body #app .gdc-lvo:has(input:focus-visible) { outline: 3px solid #004C07; outline-offset: 2px; }
html body #app .gdc-lvn { grid-column: 1; font-size: 16px; line-height: 24px; } html body #app .gdc-lvr { margin-left: 12px; color: #00700B; }
html body #app .gdc-lva { grid-column: 1; color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gdc-lvp { grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; font-size: 16px; line-height: 24px; }
html body #app .gdc-ng { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
html body #app .gdc-nc { padding: 32px; border-radius: 24px; background: #F9F9F9; }
html body #app .gdc-nc h3 { margin: 0 0 16px; font-size: 20px; line-height: 24px; }
html body #app .gdc-nc ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
html body #app .gdc-nc li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; }
html body #app .gdc-nc li svg.i { width: 24px; height: 24px; color: #5E5E5E; } html body #app .gdc-nc li > span { display: grid; }
html body #app .gdc-nc li b { font-size: 16px; line-height: 24px; } html body #app .gdc-nc li > span > span { color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gdc-ans { margin: 0; }
html body #app .gdc-ans > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; box-shadow: inset 0 -1px 0 #E3E3E3; }
html body #app .gdc-ans dt { font-weight: 400 !important; color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gdc-ans dd { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; font-size: 16px; line-height: 24px; }
html body #app .gdc-ans dd a { color: #00700B; text-decoration: underline; text-underline-offset: 3px; }
html body #app .gdc-dl { margin: 24px 0 0; } html body #app .gdc-dl .btn { gap: 8px; min-height: 44px; height: 44px; padding: 0 20px !important; font-weight: 400 !important; } html body #app .gdc-dl svg.i { width: 20px; height: 20px; }
html body #app .gdc-fn { margin: 80px 0 0; color: #6B6B6B; font-size: 16px; line-height: 24px; }
html body #app .gdc-side { position: sticky; top: 96px; display: grid; gap: 24px; }
html body #app .gdc-sum { padding: 32px; border-radius: 24px; background: #004C07; color: #fff; }
html body #app .gdc-sum h2 { margin: 0 0 16px; font-size: 20px; line-height: 24px; color: #fff; }
html body #app .gdc-sv { margin: 0; color: #D5F7D7; font-size: 16px; line-height: 24px; } html body #app .gdc-sv b { color: #fff; font-size: 40px; line-height: 44px; letter-spacing: -0.02em; }
html body #app .gdc-sy { margin: 4px 0 24px; color: #B8EABB; font-size: 16px; line-height: 24px; }
html body #app .gdc-sl { display: grid; margin: 0 0 24px; padding: 8px 0 0; list-style: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
html body #app .gdc-sl li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 16px; line-height: 24px; }
html body #app .gdc-sl li b { color: #fff; white-space: nowrap; } html body #app .gdc-sl li.off { color: #B8EABB; }
html body #app .gdc-sn { margin: 0 0 24px; color: #D5F7D7; font-size: 16px; line-height: 24px; }
html body #app .gdc-sa { display: grid; gap: 12px; }
html body #app .gdc-sa .btn { width: 100%; min-height: 44px; height: 44px; font-weight: 400 !important; }
html body #app .gdc-buy { background: #fff !important; color: #004C07 !important; box-shadow: none !important; } html body #app .gdc-buy:hover { background: #E6FAE7 !important; }
html body #app .gdc-exp { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7) !important; } html body #app .gdc-exp:hover { background: rgba(255, 255, 255, .12) !important; }
html body #app .gdc-sum :is(a, button):focus-visible { outline-color: #E9FC8E !important; }
html body #app .gdc-askbox { padding: 24px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px #E3E3E3; }
html body #app .gdc-askbox h2 { margin: 0 0 16px; font-size: 20px; line-height: 24px; }
html body #app .gdc-log-s { gap: 12px; margin: 0 0 16px; } html body #app .gdc-log-s:empty { display: none; }
html body #app .gdc-askbox .gdc-ask { min-height: 56px; } html body #app .gdc-askbox .gdc-sugg button { min-height: 40px; }
html body #app .gdc-mbar { display: none; }
@media (max-width: 1023px) {
  html body #app .gdc-plan .gdc-wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  html body #app .gdc-side { position: static; } html body #app .gdc-side > .gdc-sum { display: none; }
  html body #app .gdc-msum { display: block; margin-top: 32px; }
  html body #app .gdc-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 #E3E3E3, 0 -8px 24px rgba(0, 0, 0, .06); font-size: 16px; line-height: 24px; }
  html body #app .gdc-mbar b { font-size: 20px; line-height: 24px; } html body #app .gdc-mbar .btn { min-height: 44px; height: 44px; font-weight: 400 !important; }
  html body #app .gdc-plan { padding-bottom: 72px; }
  html body #app .gdc-ats { grid-template-columns: minmax(0, 1fr); }
  html body #app .gdc-at { grid-template-columns: 32px minmax(0, 1fr); gap: 0 16px; align-items: center; }
  html body #app .gdc-at .gdc-ati { grid-row: 1 / span 2; } html body #app .gdc-at b { margin: 0; }
}
@media (max-width: 639px) {
  html body #app .gdc-cov, html body #app .gdc-nc { padding: 24px 16px; }
  html body #app .gdc-cov-r { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 24px; }
  html body #app .gdc-pc { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 16px; }
  html body #app .gdc-pch { flex-direction: column; gap: 4px; }
  html body #app .gdc-ng { grid-template-columns: minmax(0, 1fr); }
  html body #app .gdc-ans > div { grid-template-columns: minmax(0, 1fr); }
  html body #app .gdc-sum { padding: 24px; }
}
/* Talk to a person: the advisor's times in a modal dialog (outside #app) */
html body .gdc-dlgw { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; font-family: var(--font); color: #333; }
html body .gdc-scrim { position: absolute; inset: 0; background: rgba(51, 51, 51, .4); }
html body .gdc-dlg { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 32px; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .3); }
html body .gdc-dlg img { display: block; }
html body .gdc-dlg h2 { margin: 24px 0 12px; font-size: 28px; line-height: 32px; font-weight: 700; }
html body .gdc-dlg p { margin: 0 0 24px; font-size: 16px; line-height: 24px; }
html body .gdc-dx { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; cursor: pointer; }
html body .gdc-dx:hover { background: #F9F9F9; } html body .gdc-dx svg.i { width: 24px; height: 24px; color: #333; }
html body .gdc-slots { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
html body .gdc-slots legend { margin: 0 0 12px; padding: 0; font-size: 16px; line-height: 24px; font-weight: 700; }
html body .gdc-slot { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px #C4C4C4; font-size: 16px; line-height: 24px; cursor: pointer; }
html body .gdc-slot:hover { box-shadow: inset 0 0 0 2px #6CC77A; }
html body .gdc-slot:has(input:checked) { background: #E6FAE7; box-shadow: inset 0 0 0 2px #008A28; }
html body .gdc-slot input { width: 20px; height: 20px; margin: 0; accent-color: #008A28; }
html body .gdc-dlg :is(button, input):focus-visible { outline: 3px solid #004C07; outline-offset: 2px; }
html body .gdc-da { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 24px; }
html body .gdc-da .btn { min-height: 44px; height: 44px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 400; }
/* guide A, the cover card's level line and its levels (17 October 2026, second pass) */
#app .gda-why { margin-top: 20px !important; }
#app .gda-lvw { margin-top: 12px !important; }
#app .gda-ctrl .link { min-height: 44px; display: inline-flex; align-items: center; }
#app .gda-ctrl { gap: 8px 32px; margin-top: 12px; padding-top: 4px; border-top: 1px solid #E3E3E3; }
#app .gda-cover.is-out .gda-ctrl, #app .gda-row:not(.is-on) .gda-ctrl { border-top: 0; }
#app fieldset.gda-lvls { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; border: 0; }
/* Guide B, second pass (17 October 2026): Bold where the system is Bold (the "#app *" Regular rule needs !important), the insight's
   own colours, the bars as what she'd pay herself (one ink, length is the message), the level shown as one line with Compare levels */
html body #app .gdb :is(h1, h2, h3, b, .gdb-amt label, .gdb-lv legend) { font-weight: 700 !important; }
html body #app .gdb-choice:has(input:checked) .gdb-ct, html body #app .gdb-view label:has(input:checked) span { font-weight: 700 !important; }
html body #app .gdb-pc-n { font-weight: 700 !important; }
html body #app .gdb-pc.off .gdb-pc-n, html body #app .gdb-ai-sub b, html body #app .gdb-pc-y b { font-weight: 400 !important; }
html body #app .gdb-pc-y b { color: var(--ink); }
html body #app .gdb-why.insight h2, html body #app .gdb-why.insight b { color: #333 !important; }
html body #app .gdb-why.insight span, html body #app .gdb-why.insight p { color: #555 !important; }
html body #app .gdb-why.insight .insight-tag { color: #fff !important; background: #004C07 !important; }
html body #app .gdb-why.insight .insight-tag svg.i { color: #E9F368 !important; }
html body #app .gdb-pc-bar, html body #app .gdb-br-t { background: transparent; border-radius: 0; }
html body #app .gdb-pc-bar i, html body #app .gdb-br-t i { background: #5C5C5C; border-radius: 0 4px 4px 0; }
html body #app .gdb-br-t { height: 16px; }
html body #app .gdb-br.on .gdb-br-t i { background: #008A28; }
html body #app .gdb-pc:not(.off) .gdb-pc-bar i { background: #008A28; }
html body #app .gdb-case-t { color: var(--ink-2); }
html body #app .gdb-pk-left b { font-size: 28px; line-height: 32px; margin-top: 4px; }
html body #app .gdb-pk.rec .gdb-pk-left b { color: #00700B; }
html body #app .gdb-sum-ring p { display: block; }
html body #app .gdb-sum-ring p span { display: block; margin-top: 4px; }
html body #app .gdb-lvnow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #E3E3E3; }
html body #app .gdb-lvnow p { flex: 1 1 320px; }
html body #app .gdb-lv { margin-top: 20px; }
html body #app .gdb-lvc-rec { margin-top: 4px; }
html body #app .gdb-ai-q { margin-top: 32px; padding: 20px 24px; }
html body #app .gdb-ai-q h2 { font-size: 16px; line-height: 24px; margin-bottom: 0; }
html body #app .gdb-ai-q .gdb-ask { margin-top: 12px; min-height: 56px; }
html body #app .gdb-ai-q .gdb-sugg { margin-top: 12px; }
html body #app .gdb .gdb-pc .gdb-pc-y b { font-weight: 700 !important; }
html body #app .gda b { font-weight: 700; }
@media (min-width: 1024px) { #app .gda-row { align-items: start; } }
html body #app .gda :is(.gda-num label, .gda-leg, .gda-told, .gda-t-a) { font-weight: 700; }
/* guide A on phones: the five tiles as compact rows, a little less padding in the map's cards */
@media (max-width: 639px) {
  #app .gda-tiles li { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 12px; padding: 12px; }
  #app .gda-t-art { grid-row: span 2; } #app .gda-t-art img { width: 40px; height: 40px; }
  #app .gda-t-s { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
  #app .gda-sum { padding: 20px; gap: 24px; }
  #app .gda-risk, #app .gda-cover { padding: 20px; }
  #app .gda-cover { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; } #app .gda-art img { width: 48px; height: 48px; }
  #app .gda-often { margin-top: 16px !important; }
}
/* Guide B, third pass: every bar is what she'd pay herself, in one ink (length is the message; the rings carry the green) */
html body #app .gdb-pc:not(.off) .gdb-pc-bar i, html body #app .gdb-br.on .gdb-br-t i { background: #5C5C5C; }
html body #app .gdb-pc-bar { height: 8px; }
html body #app .gdb-bars.now-without .gdb-br.on { opacity: .55; }
html body #app .gdb-cv.off .gdb-cv-grid { margin-top: 24px; }
/* guide-c, second pass (17 October 2026): the case bars drawn as Home's (green from the left for what the policy pays, the rest
   left with her), with the key in words under them; on a phone each bar sits under its label and figure */
html body #app .gdc-ctr2 { position: relative; display: block; height: 12px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #ADADAD; overflow: hidden; }
html body #app .gdc-ctr2 i { position: absolute; inset: 0 auto 0 0; background: #008A28; }
html body #app .gdc-key { white-space: nowrap; }
html body #app .gdc-key i { display: inline-block; width: 12px; height: 12px; margin: 0 8px 0 4px; border-radius: 3px; background: #008A28; vertical-align: 0; }
@media (max-width: 639px) {
  html body #app .gdc-cb > :nth-child(1) { grid-area: 1 / 1; } html body #app .gdc-cb > :nth-child(3) { grid-area: 1 / 2; }
  html body #app .gdc-cb > :nth-child(2) { grid-area: 2 / 1 / 3 / 3; margin-bottom: 8px; }
  html body #app .gdc-cb > :nth-child(4) { grid-area: 3 / 1; } html body #app .gdc-cb > :nth-child(6) { grid-area: 3 / 2; }
  html body #app .gdc-cb > :nth-child(5) { grid-area: 4 / 1 / 5 / 3; }
}
html body #app .gdb-ai-start .gdb-bot { background: #F9F9F9; }
html body #app .gda :is(b, .gda-num label, .gda-leg, .gda-told, .gda-t-a, .gda-heard h3) { font-weight: 700 !important; }
@media (max-width: 1023px) {
  html body #app .gdb-pc-case { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
  html body #app .gdb-view { border-radius: 16px; }
  html body #app .gdb-view label { min-height: 56px; padding: 6px 4px; border-radius: 12px; align-content: center; gap: 0; }
  html body #app .gdb-view-p { color: var(--ink-2); }
  html body #app .gdb-view label:has(input:checked) .gdb-view-p { color: #fff; }
}
/* guide-c, third pass (17 October 2026): the panel fits 1440 x 900 with its total pinned at its foot; the decision's case on
   lime, the one thing that needs her; the phone's plan bar as one button (areas, price, chevron) */
html body #app .gdc-panel { padding: 28px 28px 0; }
html body #app .gdc-r { min-height: 64px; padding: 10px 16px; }
html body #app .gdc-psub { margin-bottom: 20px; }
html body #app .gdc-pmore { gap: 8px; }
html body #app .gdc-panel .gdc-ptot { position: sticky; bottom: 0; margin: 16px -28px 0; padding: 20px 28px 24px; background: #004C07; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
html body #app .gdc-dcard { background: #E9FC8E; }
html body #app .gdc-dcard .gdc-dp { color: #1F1F1F; }
@media (max-width: 1023px) {
  html body #app .gdc-bar { width: 100%; min-height: 56px; border: 0; border-radius: 0; font: inherit; text-align: left; cursor: pointer; }
  html body #app .gdc-bar:focus-visible { outline: 3px solid #E9FC8E !important; outline-offset: -3px; }
  html body #app .gdc-btx { color: #fff; }
  html body #app .gdc-bchev { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); transition: transform .2s; }
  html body #app .gdc-bchev svg.i { width: 16px; height: 16px; color: #fff; }
  html body #app .gdc-bar.open .gdc-bchev { transform: rotate(180deg); }
  html body #app .gdc-sheet .gdc-ptot { margin-top: 16px; }
}
/* The packages need about 1200 for three cards and the case column; narrower, one at a time with the switcher */
html body #app .gdb-pk { min-width: 0; }
@media (max-width: 1199px) {
  html body #app .gdb-view { display: flex; gap: 4px; max-width: 560px; margin-top: 32px; padding: 4px; border-radius: 16px; background: #F9F9F9; }
  html body #app .gdb-view label { flex: 1; display: grid; place-items: center; align-content: center; min-height: 56px; padding: 6px 4px; border-radius: 12px; cursor: pointer; text-align: center; }
  html body #app .gdb-view label:has(input:checked) { background: #333; color: #fff; }
  html body #app .gdb-view label:has(input:focus-visible) { outline: 2px solid #004C07; outline-offset: 2px; }
  html body #app .gdb-view-p { color: var(--ink-2); }
  html body #app .gdb-view label:has(input:checked) .gdb-view-p { color: #fff; }
  html body #app .gdb-cmp-grid { display: block; max-width: 560px; margin-top: 16px; }
  html body #app .gdb-labs, html body #app .gdb-pk { display: none; }
  html body #app .gdb-pkgs:has(#gdb-v-ess:checked) .gdb-pk[data-k="ess"], html body #app .gdb-pkgs:has(#gdb-v-rec:checked) .gdb-pk[data-k="rec"], html body #app .gdb-pkgs:has(#gdb-v-comp:checked) .gdb-pk[data-k="comp"] { display: block; }
  html body #app .gdb-pcs { display: block; }
  html body #app .gdb-pc-case { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-weight: 700 !important; color: var(--ink); }
  html body #app .gdb-pc-ci svg.i { width: 20px; height: 20px; margin-top: 2px; }
  html body #app .gdb-pc-cc { color: var(--ink-2); font-weight: 400 !important; }
  html body #app .gdb-pc-n { font-weight: 400 !important; color: var(--ink-2); }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) {
  html body #app .gdb-view { display: flex; gap: 4px; max-width: 560px; margin-top: 32px; padding: 4px; border-radius: 16px; background: #F9F9F9; }
  html body #app .gdb-view label { flex: 1; display: grid; place-items: center; align-content: center; min-height: 56px; padding: 6px 4px; border-radius: 12px; cursor: pointer; text-align: center; }
  html body #app .gdb-view label:has(input:checked) { background: #333; color: #fff; }
  html body #app .gdb-view label:has(input:focus-visible) { outline: 2px solid #004C07; outline-offset: 2px; }
  html body #app .gdb-view-p { color: var(--ink-2); }
  html body #app .gdb-view label:has(input:checked) .gdb-view-p { color: #fff; }
  html body #app .gdb-cmp-grid { display: block; max-width: 560px; margin-top: 16px; }
  html body #app .gdb-labs, html body #app .gdb-pk { display: none; }
  html body #app .gdb-pkgs:has(#gdb-v-ess:checked) .gdb-pk[data-k="ess"], html body #app .gdb-pkgs:has(#gdb-v-rec:checked) .gdb-pk[data-k="rec"], html body #app .gdb-pkgs:has(#gdb-v-comp:checked) .gdb-pk[data-k="comp"] { display: block; }
  html body #app .gdb-pcs { display: block; }
  html body #app .gdb-pc-case { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-weight: 700 !important; color: var(--ink); }
  html body #app .gdb-pc-ci svg.i { width: 20px; height: 20px; margin-top: 2px; }
  html body #app .gdb-pc-cc { color: var(--ink-2); font-weight: 400 !important; }
  html body #app .gdb-pc-n { font-weight: 400 !important; color: var(--ink-2); }}
/* guide-c, fourth pass (17 October 2026): the plan's hero is the ring and one row per area (what covers it, the answer that
   put it there, the price), straight under the title, so the whole plan and its reasons fit the first screen */
html body #app .gdc-hero { margin-top: 32px; }
html body #app .gdc-cov { padding: 28px 32px 32px; }
html body #app .gdc-ring { width: 136px; height: 136px; } html body #app .gdc-cov-r { grid-template-columns: 136px minmax(0, 1fr); }
html body #app .gdc-ats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 28px; }
html body #app .gdc-at { display: grid; grid-template-columns: 32px minmax(0, 1.1fr) minmax(0, 1fr) 72px; gap: 16px; align-items: center; padding: 12px 20px 12px 16px; }
html body #app .gdc-at .gdc-atn { display: grid; } html body #app .gdc-at b { margin: 0; }
html body #app .gdc-at .gdc-atn > span { color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gdc-atw { color: #33413A; font-size: 16px; line-height: 24px; }
html body #app .gdc-atp { text-align: right; font-size: 16px; line-height: 24px; font-weight: 700 !important; white-space: nowrap; }
html body #app .gdc-at.out .gdc-atn > span, html body #app .gdc-at.out .gdc-atw { color: #1F1F1F; }
@media (max-width: 1023px) { html body #app .gdc-at { grid-template-columns: 32px minmax(0, 1fr) auto; align-items: start; } html body #app .gdc-atn { grid-column: 2; } html body #app .gdc-atw { grid-column: 2; grid-row: 2; } html body #app .gdc-atp { grid-column: 3; grid-row: 1; } html body #app .gdc-at .gdc-ati { grid-row: 1; } }

/* ==========================================================================================================================
   SYSTEM FIXER (17 October 2026, after the area reviews). Shared rules the area fixers asked for; one source each.
   ========================================================================================================================== */
/* A page title is 16 from its line, as on the policy page (the spacing rule: page title to text 16) */
html body #app .head h1 + .dateline { margin-top: var(--s-4); }
/* The floating assistant launcher is for phones and tablets only: from 1024 the sidebar's "Ask our AI assistant" is the way in
   (home-29, payments-13). While another dialog is open, the launcher is out of reach (payments-11) */
@media (min-width: 1024px) { html body .aiw-launch:not(.open) { display: none !important; } }
html body:has([aria-modal="true"]:not(.aiw)) .aiw-launch { visibility: hidden; }
/* A toast clears the launcher (payments-12): above the open launcher's X on desktop, above the round launcher on phones */
@media (min-width: 1024px) { html body:has(.aiw-launch.open) .toast { bottom: calc(24px + 56px + 16px); } }
@media (max-width: 1023px) { html body:has(.aiw-launch) .toast { bottom: calc(140px + env(safe-area-inset-bottom)); } }
/* The tab bar's count: the sidebar's look (dark green round, white numeral) at the icon's top-right corner, clear of the glyph;
   the labels keep 8 px from the screen's edges (payments-14) */
html body .tabbar { padding-left: 8px; padding-right: 8px; }
html body .tabbar a .lb { letter-spacing: -0.01em; }
html body .tabbar .count, html body #app .tabbar .count { top: -10px; left: calc(100% - 2px); display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px !important; background: #004C07 !important; color: #fff !important; font-size: 12px; line-height: 16px; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
html body .tabbar .count.attn, html body #app .tabbar .count.attn { background: #E9F368 !important; color: #2A2D00 !important; }
/* The person in the sidebar: the company under her name is reading text, 16/24 gray, not a 12 tag (home-26) */
html body .rail2 .rail-me .who span, html body #app header.rail.rail2 .rail-me .who span { font-size: 16px !important; line-height: 24px !important; color: #5E5E5E; }
/* guide-c, fifth pass (17 October 2026): the plan's rows and ring on a phone (one text column, the price under the reason) */
@media (max-width: 639px) {
  html body #app .gdc-cov { padding: 24px 12px 12px; }
  html body #app .gdc-cov-r { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 16px; padding: 0 4px; }
  html body #app .gdc-at { grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; padding: 12px; }
  html body #app .gdc-atn, html body #app .gdc-atw, html body #app .gdc-atp { grid-column: 2; grid-row: auto; text-align: left; }
  html body #app .gdc-at .gdc-ati { grid-row: 1; }
}
/* Home's pages link each other on desktop too: the pill strip (Home, Your coverage, How you compare, Lower your risk) shows from
   1024 as well, under the title's line (home-7, home-15) */
@media (min-width: 1024px) { html body #app .subnav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); } }

/* ==========================================================================================================================
   The guide (17 October 2026, app/guide.js, routes #/guide...): the final guided insurance selection for a new customer, built
   from the three studies above (gda-, gdb-, gdc-). A focused task in its own frame: the question on the left, her plan filling
   in on the flows' dark green on the right (a dark bar under the header on phones), one decision for business interruption
   insurance, then the plan. Every selector starts with gd-. Sizes only from the five (40, 28, 20, 16, 12). Spec:
   ../old/explore/guide/SPEC.md
   ========================================================================================================================== */
html body #app .gd { min-height: 100vh; background: #fff; color: #333; --gd-dark: #004C07; --gd-lime: #E9FC8E; --gd-soft: #B8EABB;
  --gd-ring: conic-gradient(from var(--ai-a, 200deg), #FF5A5F, #FF9F1C 14%, #FFD43B 28%, #5BC24E 43%, #22B8CF 57%, #3D7BF5 71%, #9B5DE5 86%, #FF5A5F); }
html body #app .gd :is(h1, h2, h3, h4, b, strong, .gd-leg) { font-weight: 700 !important; }
html body #app .gd p { margin: 0; max-width: var(--measure, 700px); font-size: 16px; line-height: 24px; }
html body #app .gd h1 { margin: 0 0 16px; max-width: 700px; color: #00700B !important; font-size: 40px !important; line-height: 44px !important; letter-spacing: -0.02em; }
html body #app .gd h2 { margin: 0 0 12px; color: #333; font-size: 28px; line-height: 32px; letter-spacing: -0.02em; }
html body #app .gd h3 { margin: 0; color: #333; font-size: 20px; line-height: 24px; }
html body #app .gd h4 { margin: 0; color: #333; font-size: 16px; line-height: 24px; }
html body #app .gd .btn { min-height: 44px; height: 44px; padding: 0 22px !important; font-size: 16px; font-weight: 400 !important; }
html body #app .gd .btn svg.i { width: 20px; height: 20px; }
html body #app .gd :is(a, button, input, textarea):focus-visible { outline: 3px solid #004C07 !important; outline-offset: 2px; }
html body #app .gd-lead { color: #5E5E5E; }
html body #app .gd-hint { display: block; margin-top: 4px; color: #5E5E5E; font-size: 16px; line-height: 24px; font-weight: 400 !important; }
html body #app .gd-lk { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: #00700B; font: inherit; font-size: 16px; line-height: 24px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body #app p .gd-lk, html body #app .gd-told .gd-lk { display: inline; min-height: 0; }
html body #app .gd-lk:hover { color: #004C07; text-decoration-thickness: 2px; }

/* The header: the logo, the progress, Talk to a person, Close */
html body #app .gd-top { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 72px; padding: 0 32px; background: #fff; box-shadow: inset 0 -1px 0 #EBEBEB; }
html body #app .gd-logo img { display: block; }
html body #app .gd-prog { display: flex; align-items: center; gap: 16px; }
html body #app .gd-prog ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
html body #app .gd-prog li { width: 28px; height: 6px; border-radius: 3px; background: #D9D9D9; }
html body #app .gd-prog li.done { background: #008A28; } html body #app .gd-prog li.now { background: #004C07; }
html body #app .gd-prog span { color: #5E5E5E; font-size: 16px; line-height: 24px; white-space: nowrap; }
html body #app .gd-ta { justify-self: end; display: flex; align-items: center; gap: 12px; }
html body #app .gd-talk { gap: 8px; padding: 0 20px !important; }
html body #app .gd-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #333; }
html body #app .gd-x:hover { background: #F9F9F9; } html body #app .gd-x svg.i { width: 24px; height: 24px; }

/* The two columns */
html body #app .gd-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 64px; align-items: start; max-width: 1280px; margin: 0 auto; padding: 48px 32px 96px; }
html body #app .gd-main { min-width: 0; max-width: 640px; outline: none; }
html body #app .gd-res .gd-wrap { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; }
html body #app .gd-res .gd-main { max-width: 800px; }

/* The plan as it builds, on the flows' dark green: its total pinned at its foot, so it never falls below the panel */
html body #app .gd-panel { position: sticky; top: 96px; display: flex; flex-direction: column; max-height: calc(100vh - 120px); padding: 32px; border-radius: 24px; background: var(--gd-dark); color: #fff; }
html body #app :is(.gd-panel, .gd-sheet) h2 { margin: 0 0 8px; color: #fff; font-size: 20px; line-height: 24px; }
html body #app .gd-psub { margin: 0 0 24px !important; color: var(--gd-soft); }
html body #app .gd-rows { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-height: 0; margin: 0; padding: 0; list-style: none; overflow: auto; scrollbar-width: thin; }
html body #app .gd-rows > li { flex: none; }
html body #app .gd-r { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 64px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
html body #app .gd-ri { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
html body #app .gd-ri svg.i { width: 20px; height: 20px; color: #fff; }
html body #app .gd-rt { display: grid; min-width: 0; }
html body #app .gd-rt b { color: #fff; font-size: 16px; line-height: 24px; } html body #app .gd-rt > span { color: var(--gd-soft); font-size: 16px; line-height: 24px; }
html body #app .gd-rt > .gd-rw { margin-top: 4px; color: #fff; }
html body #app .gd-rp { color: #fff; font-size: 16px; line-height: 24px; font-weight: 700 !important; white-space: nowrap; }
html body #app :is(.gd-r.is-unk, .gd-r.is-none, .gd-r.is-out) { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
html body #app :is(.gd-r.is-unk, .gd-r.is-none, .gd-r.is-out) .gd-ri { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
html body #app :is(.gd-r.is-unk, .gd-r.is-none, .gd-r.is-out) .gd-ri svg.i { color: var(--gd-soft); }
html body #app .gd-r.is-unk .gd-rt b { color: var(--gd-soft); font-weight: 400 !important; }
html body #app .gd-r.is-on { background: rgba(255, 255, 255, .12); } html body #app .gd-r.is-on .gd-ri { background: #8ADC94; } html body #app .gd-r.is-on .gd-ri svg.i { color: var(--gd-dark); }
html body #app .gd-r.is-dec { background: var(--gd-lime); } html body #app .gd-r.is-dec .gd-ri { background: #fff; }
html body #app .gd-r.is-dec :is(.gd-rt b, .gd-rp, .gd-rt > span, .gd-rt > .gd-rw) { color: #1F1F1F; }
html body #app .gd-r.is-new { animation: gd-glow 1.6s ease-out 1; }
@keyframes gd-glow { 0% { box-shadow: 0 0 0 3px #8ADC94; } 100% { box-shadow: 0 0 0 3px rgba(138, 220, 148, 0); } }
html body #app .gd-ptot { flex: none; margin-top: 20px; padding-top: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
html body #app .gd-pt-v { color: var(--gd-soft); } html body #app .gd-pt-v b { color: #fff; font-size: 28px; line-height: 32px; }
html body #app .gd-safe { display: flex; gap: 8px; margin-top: 8px !important; color: var(--gd-soft); }
html body #app .gd-safe svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }

/* The phone's plan bar: the five areas, the price, and the plan to open */
html body #app .gd-barw { display: none; }
html body #app .gd-sheet { max-height: 70vh; overflow: auto; padding: 24px 16px; background: var(--gd-dark); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
html body #app .gd-sheet[hidden] { display: none; }
html body #app .gd-sheet .gd-rows { overflow: visible; }

/* A question */
html body #app .gd-fs { display: grid; gap: 12px; min-width: 0; margin: 32px 0 0; padding: 0; border: 0; }
html body #app .gd-fs legend { margin-bottom: 16px; padding: 0; }
html body #app .gd-leg { display: block; color: #333; font-size: 16px; line-height: 24px; }
html body #app .gd-leg-q { font-size: 20px; line-height: 24px; }
html body #app .gd-opt { display: grid; grid-template-columns: auto 24px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 64px; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #DEDEDE; cursor: pointer; transition: box-shadow .15s, background-color .15s; }
html body #app .gd-opt.no-ic { grid-template-columns: auto minmax(0, 1fr); }
html body #app .gd-opt input { width: 20px; height: 20px; margin: 0; accent-color: #008A28; cursor: pointer; }
html body #app .gd-opt-i svg.i { width: 24px; height: 24px; color: #00700B; }
html body #app .gd-opt-t { display: grid; gap: 2px; font-size: 16px; line-height: 24px; }
html body #app .gd-opt-s { color: #5E5E5E; }
html body #app .gd-opt:hover { background: #F4FBF4; box-shadow: inset 0 0 0 2px #6CC77A; }
html body #app .gd-opt:has(input:checked) { background: #E6FAE7; box-shadow: inset 0 0 0 2px #008A28; }
html body #app .gd-opt:has(input:checked) .gd-opt-t > span:first-child { font-weight: 700 !important; }
html body #app .gd-opt:has(input:focus-visible) { outline: 3px solid #004C07; outline-offset: 2px; }
html body #app .gd-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
html body #app .gd-num { margin-top: 32px; }
html body #app .gd-num label { display: block; font-size: 16px; line-height: 24px; font-weight: 700 !important; }
html body #app .gd-num-f { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0 16px; height: 52px; border-radius: 12px; background: var(--field-bg, #F3F2EE); box-shadow: inset 0 0 0 1px var(--field-line, #8C8A84); }
html body #app .gd-num-f:hover { box-shadow: inset 0 0 0 1px #008A28, inset 0 0 0 2px #8ADC94; }
html body #app .gd-num-f:focus-within { outline: 3px solid #004C07; outline-offset: 2px; }
html body #app .gd-num-f input { width: 120px; height: 48px; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #333; font: inherit; font-size: 20px; text-align: right; font-variant-numeric: tabular-nums; }
html body #app .gd-num-f input:focus { outline: none !important; }
html body #app .gd-num-f span { font-size: 20px; }
html body #app .gd-num-f:has(input[aria-invalid="true"]) { box-shadow: inset 0 0 0 2px #C4291C; }
html body #app .gd-err { display: flex; gap: 8px; margin-top: 12px !important; color: #C4291C; font-weight: 700 !important; }
html body #app .gd-err[hidden] { display: none; }
html body #app .gd-err svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }
html body #app .gd-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; }

/* What an answer changed, said where she's looking */
html body #app .gd-chg { margin-top: 32px; }
html body #app .gd-chg-t { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
html body #app .gd-av { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid transparent; border-radius: 50%; background: linear-gradient(#fff, #fff) padding-box, var(--gd-ring) border-box; }
html body #app .gd-av span { font-size: 16px; line-height: 16px; background: conic-gradient(#FF5A5F, #FFD43B, #5BC24E, #22B8CF, #3D7BF5, #9B5DE5, #FF5A5F); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body #app .gd-ds { display: grid; gap: 8px; margin: 16px 0 0 44px; padding: 0; list-style: none; }
html body #app .gd-d { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 20px 12px 12px; border-radius: 16px; background: #E6FAE7; }
html body #app .gd-d > span:last-child { display: grid; } html body #app .gd-d b { font-size: 16px; line-height: 24px; }
html body #app .gd-d > span > span { color: #2F4A33; font-size: 16px; line-height: 24px; }
html body #app .gd-di { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #008A28; }
html body #app .gd-di svg.i { width: 20px; height: 20px; color: #fff; }
html body #app .gd-d-strong { background: var(--gd-lime); } html body #app .gd-d-strong .gd-di { background: #fff; } html body #app .gd-d-strong .gd-di svg.i { color: var(--gd-dark); }
html body #app .gd-d-strong > span > span { color: #333; }
html body #app :is(.gd-d-not, .gd-d-law) { background: #F9F9F9; } html body #app :is(.gd-d-not, .gd-d-law) .gd-di { background: #fff; }
html body #app :is(.gd-d-not, .gd-d-law) .gd-di svg.i { color: #5E5E5E; } html body #app :is(.gd-d-not, .gd-d-law) > span > span { color: #5E5E5E; }

/* The assistant on every step: a rainbow-ringed field that answers the question or asks one */
html body #app .gd-ask { margin-top: 56px; padding-top: 40px; box-shadow: inset 0 1px 0 #E3E3E3; }
html body #app .gd-ask h2 { margin: 0 0 16px; font-size: 20px; line-height: 24px; }
html body #app .gd-log { display: flex; flex-direction: column; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
html body #app .gd-log .gd-me { align-self: flex-end; max-width: 80%; padding: 12px 16px; border-radius: 16px 4px 16px 16px; background: #007A24; color: #fff; font-size: 16px; line-height: 24px; }
html body #app .gd-log .gd-ai { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
html body #app .gd-log .gd-ai p { justify-self: start; padding: 12px 16px; border-radius: 4px 16px 16px 16px; background: #F9F9F9; }
html body #app .gd-sugg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
html body #app .gd-sugg button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #CFE6D3; color: #00700B; font: inherit; font-size: 16px; line-height: 24px; text-align: left; cursor: pointer; }
html body #app .gd-sugg button:hover { background: #EEF8F0; box-shadow: inset 0 0 0 1px #6CC77A; }
html body #app .gd-askf { --ai-a: 200deg; display: flex; align-items: center; gap: 8px; max-width: 700px; min-height: 60px; padding: 5px 5px 5px 20px; border: 3px solid transparent; border-radius: 999px; background: linear-gradient(#fff, #fff) padding-box, var(--gd-ring) border-box; }
html body #app .gd-askf:focus-within { animation: ai-turn 3s linear infinite; }
html body #app .gd-askf:has(:is(input, textarea):focus-visible) { outline: 3px solid #004C07; outline-offset: 3px; }
html body #app .gd-askf :is(input, textarea):focus-visible { outline: none !important; }
html body #app .gd-sp { font-size: 20px; line-height: 24px; background: conic-gradient(#FF5A5F, #FFD43B, #5BC24E, #22B8CF, #3D7BF5, #9B5DE5, #FF5A5F); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body #app .gd-askf :is(input, textarea) { flex: 1; min-width: 0; min-height: 44px; height: auto; padding: 10px 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; color: #333; font: inherit; font-size: 16px; line-height: 24px; resize: none; outline: none; }
html body #app .gd-askf :is(input, textarea)::placeholder { color: #6B6B6B; }
html body #app .gd-sayf { align-items: flex-end; border-radius: 28px; padding: 8px 8px 8px 20px; }
html body #app .gd-sayf .gd-sp { align-self: center; }
html body #app .gd-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #007A24; cursor: pointer; }
html body #app .gd-send:hover { background: #005C1B; } html body #app .gd-send svg.i { width: 20px; height: 20px; color: #fff; }
html body #app .gd-fine { margin-top: 12px !important; color: #6B6B6B; }
@media (prefers-reduced-motion: reduce) { html body #app .gd-askf:focus-within, html body #app .gd-r.is-new { animation: none; } }
html[data-motion="off"] body #app :is(.gd-askf:focus-within, .gd-r.is-new) { animation: none; }

/* The start: what we already know, and the two ways in */
html body #app .gd-know { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 32px; margin-top: 40px; padding: 32px; border-radius: 24px; background: #F9F9F9; }
html body #app .gd-know img { display: block; width: 64px; height: 64px; }
html body #app .gd-know h2 { margin: 0; font-size: 20px; line-height: 24px; }
html body #app .gd-kv { display: grid; gap: 0; margin: 20px 0 0; }
html body #app .gd-kv > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 8px 0; box-shadow: inset 0 1px 0 #E3E3E3; }
html body #app .gd-kv dt { color: #5E5E5E; font-size: 16px; line-height: 24px; font-weight: 400 !important; }
html body #app .gd-kv dd { margin: 0; font-size: 16px; line-height: 24px; }
html body #app .gd-know-a { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 8px; }
html body #app .gd-ways { display: grid; gap: 40px; justify-items: start; margin-top: 40px; }
html body #app .gd-say { width: 100%; padding-top: 40px; box-shadow: inset 0 1px 0 #E3E3E3; }
html body #app .gd-say h2 { margin: 0; font-size: 20px; line-height: 24px; }
html body #app .gd-say .gd-askf { margin-top: 16px; }
html body #app .gd-ex { display: block; margin-top: 12px; padding: 10px 0; border: 0; background: none; color: #00700B; font: inherit; font-size: 16px; line-height: 24px; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body #app .gd-ex:hover { color: #004C07; text-decoration-thickness: 2px; }

/* What the assistant understood */
html body #app .gd-log-h { margin-top: 24px; }
html body #app .gd-heard { margin: 24px 0 0; padding: 0; list-style: none; }
html body #app .gd-heard li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 0; box-shadow: inset 0 1px 0 #E3E3E3; }
html body #app .gd-heard li:last-child { box-shadow: inset 0 1px 0 #E3E3E3, inset 0 -1px 0 #E3E3E3; }
html body #app .gd-heard h3 { font-size: 16px; line-height: 24px; } html body #app .gd-heard p { color: #5E5E5E; }
html body #app .gd-hr-i svg.i { width: 24px; height: 24px; color: #008A28; } html body #app .gd-heard li.is-miss .gd-hr-i svg.i { color: #5E5E5E; }
html body #app .gd-heard .gd-lk { margin-top: -10px; }

/* The one decision: lime for the one thing that needs her */
html body #app .gd-dcard { margin-top: 32px; padding: 32px; border-radius: 24px; background: var(--gd-lime); }
html body #app .gd-dcard > p { margin-top: 16px; color: #1F1F1F; }
html body #app .gd-dc-head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; align-items: center; }
html body #app .gd-dc-head img { display: block; width: 64px; height: 64px; }
html body #app .gd-dc-head h2 { margin: 0 0 4px; font-size: 20px; line-height: 24px; }
html body #app .gd-case { margin-top: 20px; padding: 20px 24px; border-radius: 16px; background: #fff; }
html body #app .gd-often { margin-top: 4px !important; color: #5E5E5E; }
html body #app .gd-vs { display: grid; gap: 12px; margin: 16px 0 0; }
html body #app .gd-vs > div { display: grid; grid-template-columns: 88px minmax(0, 1fr) 190px; gap: 16px; align-items: center; }
html body #app .gd-vs dt { color: #5E5E5E; font-size: 16px; line-height: 24px; font-weight: 400 !important; }
html body #app .gd-vs dd { display: contents; margin: 0; }
html body #app .gd-vs dd > span:last-child, html body #app .gd-cl > span:last-child { font-size: 16px; line-height: 24px; white-space: nowrap; }
html body #app .gd-cbar { display: block; height: 12px; border-radius: 6px; background: #E3E3E3; overflow: hidden; }
html body #app .gd-cbar i { display: block; height: 100%; border-radius: inherit; background: #008A28; }
html body #app .gd-cl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 16px; }
html body #app .gd-cn { margin-top: 12px !important; color: #5E5E5E; }
html body #app .gd-peer { display: flex; gap: 8px; margin-top: 16px !important; color: #5E5E5E; }
html body #app .gd-dcard .gd-peer { color: #333; }
html body #app .gd-peer svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }
html body #app .gd-note { display: grid; gap: 8px; justify-items: start; margin-top: 24px; padding: 20px 24px; border-radius: 16px; background: #F9F9F9; }
html body #app .gd-remind { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; line-height: 24px; cursor: pointer; }
html body #app .gd-remind input { width: 20px; height: 20px; margin: 0; accent-color: #008A28; }

/* The plan */
html body #app .gd-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin: -8px 0 16px; color: #00700B; font-size: 16px; line-height: 24px; text-decoration: none; }
html body #app .gd-back:hover { text-decoration: underline; }
html body #app .gd-bk { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #E6FAE7; }
html body #app .gd-bk svg.i { width: 16px; height: 16px; color: #00700B; }
html body #app .gd-hero { margin-top: 40px; padding: 40px; border-radius: 24px; background: #F9F9F9; }
html body #app .gd-ringw { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 32px; align-items: center; }
html body #app .gd-ring { display: block; width: 140px; height: 140px; }
html body #app .gd-ring text { font-family: var(--font); font-size: 40px; font-weight: 700; fill: #333; }
html body #app .gd-ring-t { font-size: 20px !important; line-height: 28px !important; }
html body #app .gd-ring-s { margin-top: 12px !important; color: #33413A; }
html body #app .gd-sw { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; background: #C9E36A; }
html body #app .gd-hrs { display: grid; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
html body #app .gd-hr { display: grid; grid-template-columns: 150px 40px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 80px; padding: 12px 20px; border-radius: 16px; background: #fff; }
html body #app .gd-hr-a { display: flex; align-items: center; gap: 12px; }
html body #app .gd-hr-a b { font-size: 16px; line-height: 24px; }
html body #app .gd-hr-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #F9F9F9; }
html body #app .gd-hr-ic svg.i { width: 16px; height: 16px; color: #5E5E5E; }
html body #app .gd-hr.is-on .gd-hr-ic { background: #008A28; } html body #app .gd-hr.is-on .gd-hr-ic svg.i { color: #fff; }
html body #app .gd-hr-l { position: relative; display: block; height: 12px; }
html body #app .gd-hr-l i { position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: #008A28; }
html body #app .gd-hr-l i::before, html body #app .gd-hr-l i::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #008A28; }
html body #app .gd-hr-l i::before { left: -2px; } html body #app .gd-hr-l i::after { right: -2px; }
html body #app .gd-hr:not(.is-on) .gd-hr-l i { height: 0; top: 5px; border-top: 2px dashed #8C8A84; background: none; }
html body #app .gd-hr:not(.is-on) .gd-hr-l i::before, html body #app .gd-hr:not(.is-on) .gd-hr-l i::after { top: -5px; background: transparent; box-shadow: inset 0 0 0 2px #8C8A84; }
html body #app .gd-hr-p { display: flex; align-items: center; gap: 16px; min-width: 0; }
html body #app .gd-hr-art img { display: block; width: 48px; height: 48px; }
html body #app .gd-hr-t { display: grid; min-width: 0; }
html body #app .gd-hr-t b { font-size: 16px; line-height: 24px; } html body #app .gd-hr-t span { color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gd-hr-v { justify-self: end; font-size: 16px; line-height: 24px; font-weight: 700 !important; white-space: nowrap; }
html body #app .gd-hr.is-out { background: var(--gd-lime); } html body #app .gd-hr.is-out .gd-hr-ic { background: #fff; } html body #app .gd-hr.is-out .gd-hr-ic svg.i { color: var(--gd-dark); }
html body #app .gd-hr.is-out .gd-hr-t span { color: #333; } html body #app .gd-hr.is-out .gd-hr-art { opacity: .55; }
html body #app .gd-hr.is-none { background: transparent; box-shadow: inset 0 0 0 1px #DEDEDE; }
html body #app .gd .gd-sm { height: 44px; padding: 0 18px !important; }
html body #app .gd-hero-k { display: flex; gap: 8px; margin-top: 20px !important; color: #5E5E5E; }
html body #app .gd-hero-k svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #008A28; }
html body #app .gd-sec { margin-top: 80px; }
html body #app .gd-sec > .gd-lead { margin-bottom: 24px; }
html body #app .gd-msum { display: none; }
html body #app .gd-pcs { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
html body #app .gd-pc { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 32px; padding: 32px; border-radius: 24px; background: #F9F9F9; }
html body #app .gd-pc-art img { display: block; width: 64px; height: 64px; }
html body #app .gd-pc-b { min-width: 0; } html body #app .gd-pc-b > p:not(.gd-pc-m):not(.gd-peer) { margin-top: 12px; }
html body #app .gd-pc-m { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px !important; }
html body #app .gd-pc.is-out { background: #fff; box-shadow: inset 0 0 0 2px #ADADAD; outline: 0; }
html body #app .gd-pc.is-out .gd-pc-art { opacity: .55; }
html body #app .gd-pc.is-out .gd-case { box-shadow: inset 0 0 0 1px #E3E3E3; }
html body #app .gd-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
html body #app .gd-lvs { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; border: 0; }
html body #app .gd-lv { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 16px; align-items: start; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #DEDEDE; cursor: pointer; }
html body #app .gd-lv input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #008A28; }
html body #app .gd-lv:hover { box-shadow: inset 0 0 0 2px #6CC77A; }
html body #app .gd-lv:has(input:checked) { background: #E6FAE7; box-shadow: inset 0 0 0 2px #008A28; }
html body #app .gd-lv:has(input:focus-visible) { outline: 3px solid #004C07; outline-offset: 2px; }
html body #app .gd-lv-t { display: grid; gap: 4px; } html body #app .gd-lv-n { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
html body #app .gd-lv-s { color: #5E5E5E; } html body #app .gd-lv-p { display: grid; justify-items: end; white-space: nowrap; }
html body #app .gd-lv-d { color: #5E5E5E; }
html body #app .gd-sample { display: flex; gap: 8px; margin-top: 24px !important; color: #5E5E5E; }
html body #app .gd-sample svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }
html body #app .gd-ng { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: start; }
html body #app .gd-nc { padding: 32px; border-radius: 24px; background: #F9F9F9; }
html body #app .gd-nc h3 { margin: 0 0 16px; }
html body #app .gd-nc ul { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
html body #app .gd-nc li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; }
html body #app .gd-nc li > svg.i { width: 24px; height: 24px; color: #5E5E5E; }
html body #app .gd-nc li b { display: block; font-size: 16px; line-height: 24px; } html body #app .gd-nc li p { color: #5E5E5E; }
html body #app .gd-nc .gd-ctrl { margin-top: 12px; }
html body #app .gd-whyc { padding: 32px 40px; border-radius: 24px; background: #F9F9F9; }
html body #app .gd-whyh { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.2fr); padding-bottom: 12px; font-weight: 700 !important; }
html body #app .gd-whyh span:last-child { grid-column: 3; }
html body #app .gd-whyl { margin: 0; padding: 0; list-style: none; }
html body #app .gd-whyl li { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.2fr); align-items: start; padding: 16px 0; box-shadow: inset 0 1px 0 #E0E0E0; }
html body #app .gd-told { font-weight: 700 !important; } html body #app .gd-told .gd-lk { margin-left: 8px; font-weight: 400 !important; }
html body #app .gd-arr svg.i { width: 20px; height: 20px; margin-top: 2px; color: #008A28; }
html body #app .gd-whya { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 24px; box-shadow: inset 0 1px 0 #E0E0E0; }
html body #app .gd-whya p { display: flex; gap: 8px; color: #5E5E5E; }
html body #app .gd-whya p svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #008A28; }
html body #app .gd-fn { margin-top: 80px !important; color: #6B6B6B; }

/* Beside the plan: the dark summary and the assistant */
html body #app .gd-side { position: sticky; top: 96px; display: grid; gap: 24px; }
html body #app .gd-sum { padding: 32px; border-radius: 24px; background: var(--gd-dark); color: #fff; }
html body #app .gd-sum h2 { margin: 0 0 16px; color: #fff; font-size: 20px; line-height: 24px; }
html body #app .gd-sv { color: #D5F7D7; } html body #app .gd-sv b { color: #fff; font-size: 40px; line-height: 44px; letter-spacing: -0.02em; }
html body #app .gd-sy { margin: 4px 0 24px !important; color: var(--gd-soft); }
html body #app .gd-sl { display: grid; margin: 0 0 24px; padding: 8px 0 0; list-style: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
html body #app .gd-sl li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 16px; line-height: 24px; }
html body #app .gd-sl li b { color: #fff; white-space: nowrap; } html body #app .gd-sl li.off { color: var(--gd-soft); }
html body #app .gd-sn { display: flex; gap: 8px; margin: 0 0 24px !important; color: #D5F7D7; }
html body #app .gd-sn svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }
html body #app .gd-sa { display: grid; gap: 12px; } html body #app .gd-sa .btn { width: 100%; }
html body #app .gd-buy { background: #fff !important; color: var(--gd-dark) !important; box-shadow: none !important; } html body #app .gd-buy:hover { background: #E6FAE7 !important; }
html body #app .gd-exp { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7) !important; } html body #app .gd-exp:hover { background: rgba(255, 255, 255, .12) !important; }
html body #app .gd-sum :is(a, button):focus-visible { outline-color: var(--gd-lime) !important; }
html body #app .gd-side .gd-ask { margin: 0; padding: 24px; border-radius: 24px; box-shadow: inset 0 0 0 1px #E3E3E3; }
html body #app .gd-side .gd-sugg button { min-height: 44px; }
html body #app .gd-mbar { display: none; }

/* Narrower windows: one column, the plan as a dark bar under the header, the price at the foot of the plan */
@media (max-width: 1023px) {
  html body #app .gd-top { grid-template-columns: auto minmax(0, 1fr) auto; height: 64px; padding: 0 8px 0 16px; gap: 12px; }
  html body #app .gd-prog { justify-content: center; } html body #app .gd-prog ol { display: none; }
  html body #app .gd-wrap, html body #app .gd-res .gd-wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 32px 16px 96px; }
  html body #app .gd-main { max-width: 700px; }
  html body #app .gd-panel { display: none; }
  html body #app .gd-barw { display: block; position: sticky; top: 64px; z-index: 30; }
  html body #app .gd-bar { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 16px; border: 0; background: var(--gd-dark); color: #fff; font: inherit; cursor: pointer; }
  html body #app .gd-bdots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
  html body #app .gd-bd { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
  html body #app .gd-bd svg.i { width: 16px; height: 16px; color: var(--gd-soft); }
  html body #app .gd-bd-on { background: #8ADC94; box-shadow: none; } html body #app .gd-bd-on svg.i { color: var(--gd-dark); }
  html body #app .gd-bd-dec { background: var(--gd-lime); box-shadow: none; } html body #app .gd-bd-dec svg.i { color: var(--gd-dark); }
  html body #app .gd-btx { margin-left: auto; font-size: 16px; line-height: 24px; white-space: nowrap; }
  html body #app .gd-bchev svg.i { width: 20px; height: 20px; color: #fff; transition: transform .2s; }
  html body #app .gd-bar.open .gd-bchev svg.i { transform: rotate(180deg); }
  html body #app .gd-bar:focus-visible { outline: 3px solid var(--gd-lime) !important; outline-offset: -3px; }
  html body #app .gd-side { position: static; } html body #app .gd-side > .gd-sum { display: none; }
  html body #app .gd-msum { display: block; margin-top: 24px; }
  html body #app .gd-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 #E3E3E3, 0 -8px 24px rgba(0, 0, 0, .06); }
  html body #app .gd-mbar b { font-size: 20px; line-height: 24px; }
  html body #app .gd-res { padding-bottom: 72px; }
  body.gd-on .proto { bottom: 88px !important; }
  html body #app .gd-hr { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  html body #app .gd-hr-l { display: none; }
  html body #app .gd-hr-a { grid-column: 1; grid-row: 1; } html body #app .gd-hr-v { grid-column: 2; grid-row: 1; }
  html body #app .gd-hr-p { grid-column: 1 / -1; grid-row: 2; padding-left: 44px; }
  html body #app .gd-hero-k { display: none; }
  html body #app .gd-ng { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  html body #app .gd-talk { width: 44px; padding: 0 !important; justify-content: center; }
  html body #app .gd-talk span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html body #app .gd-prog { justify-content: flex-start; }
  html body #app .gd-nums { grid-template-columns: minmax(0, 1fr); gap: 0; }
  html body #app .gd-ds { margin-left: 0; }
  html body #app :is(.gd-know, .gd-pc) { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 16px; }
  html body #app .gd-kv > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  html body #app :is(.gd-dcard, .gd-hero, .gd-nc, .gd-whyc, .gd-sum) { padding: 24px 16px; }
  html body #app .gd-case { padding: 16px; }
  html body #app .gd-vs > div { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  html body #app .gd-vs dd .gd-cbar { grid-column: 1 / -1; grid-row: 2; }
  html body #app .gd-ringw { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
  html body #app .gd-ring { width: 96px; height: 96px; }
  html body #app .gd-hr { padding: 12px 16px; }
  html body #app .gd-hr-p { padding-left: 0; }
  html body #app .gd-hr-art img { width: 40px; height: 40px; }
  html body #app .gd-whyh { display: none; }
  html body #app .gd-whyl li { grid-template-columns: minmax(0, 1fr); gap: 4px; } html body #app .gd-arr { display: none; }
  html body #app .gd-bdots { gap: 4px; } html body #app .gd-bd { width: 26px; height: 26px; }
  html body #app .gd-askf { min-height: 56px; }
  html body #app .gd-log .gd-me { max-width: 90%; }
}

/* Talk to a person: the expert's call times in a modal dialog (outside #app) */
html body .gd-dlgw { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; font-family: var(--font); color: #333; }
html body .gd-scrim { position: absolute; inset: 0; background: rgba(51, 51, 51, .4); }
html body .gd-dlg { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 32px; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .3); }
html body .gd-dlg img { display: block; }
html body .gd-dlg h2 { margin: 24px 0 12px; font-size: 28px; line-height: 32px; font-weight: 700 !important; }
html body .gd-dlg p { margin: 0 0 24px; font-size: 16px; line-height: 24px; }
html body .gd-dlg .gd-err { display: flex; gap: 8px; margin: 0 0 16px; color: #C4291C; font-weight: 700 !important; } html body .gd-dlg .gd-err[hidden] { display: none; }
html body .gd-dlg .gd-err svg.i { width: 20px; height: 20px; flex: none; margin-top: 2px; }
html body .gd-dlg-or { color: #5E5E5E; }
html body .gd-dx { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; cursor: pointer; }
html body .gd-dx:hover { background: #F9F9F9; } html body .gd-dx svg.i { width: 24px; height: 24px; color: #333; }
html body .gd-slots { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
html body .gd-slots legend { margin: 0 0 12px; padding: 0; font-size: 16px; line-height: 24px; font-weight: 700 !important; }
html body .gd-slot { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px #C4C4C4; font-size: 16px; line-height: 24px; cursor: pointer; }
html body .gd-slot:hover { box-shadow: inset 0 0 0 2px #6CC77A; }
html body .gd-slot:has(input:checked) { background: #E6FAE7; box-shadow: inset 0 0 0 2px #008A28; }
html body .gd-slot input { width: 20px; height: 20px; margin: 0; accent-color: #008A28; }
html body .gd-dlg :is(button, input):focus-visible { outline: 3px solid #004C07; outline-offset: 2px; }
html body .gd-da { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 24px; }
html body .gd-da .btn { min-height: 44px; height: 44px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 400 !important; }
/* The guide, second pass: each insurance card opens on its name beside a smaller illustration, so the reading runs the card's
   full width; the case sits as two columns (what happens | what it pays) where there's room; the plan's ask box sits under the
   hero, so the sticky summary is the only thing beside the plan; a left-out card is dashed */
html body #app .gd-pc { display: block; }
html body #app .gd-pc-h { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: center; }
html body #app .gd-pc-art img { width: 48px; height: 48px; object-fit: contain; }
html body #app .gd-pc-b { margin-top: 8px; }
html body #app .gd-pc.is-out { box-shadow: none; border: 2px dashed #ADADAD; }
html body #app .gd-hr-art { display: grid; place-items: center; flex: none; width: 48px; height: 48px; }
html body #app .gd-hr-art img { object-fit: contain; }
html body #app .gd-res .gd-main > .gd-ask { margin-top: 40px; padding-top: 0; box-shadow: none; }
html body #app .gd-ng { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
  html body #app .gd-case-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
  html body #app .gd-case-2 .gd-cl { margin-top: 0; }
}
@media (max-width: 1023px) { html body #app .gd-ng { grid-template-columns: minmax(0, 1fr); } }
/* The guide on phones: the header's label gives way before the buttons (and the start page shows none, the title says it) */
html body #app .gd-prog { min-width: 0; } html body #app .gd-prog span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) { html body #app .gd-prog.is-0 { visibility: hidden; } }
html body #app .gd-nums { align-items: end; }
@media (max-width: 1023px) { html body #app .gd-bar { overflow: hidden; } html body #app .gd-btx { min-width: 0; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 359px) { html body #app .gd-bdots { gap: 3px; } html body #app .gd-bd { width: 24px; height: 24px; } html body #app .gd-bar { gap: 8px; padding: 8px 12px; } }

/* ===== Flows fixer, round 2 (17 October 2026): critic-8, critic-9, critic-10, critic-11, critic-17, critic-19 ===== */
/* critic-8: a flow's error (a purchase or a claim that fails) is the tip card's error variant (flowErr() in flow.js): the error
   wash, a 20 Bold title on one line led by the alert glyph in the error red (4.1:1 on the wash, a graphic), the gray line
   (5.3:1 on the wash), and Try again as a secondary 44 px pill. Words carry the state, never the colour alone */
html body #app .tip2.tip2--error { background: var(--error-wash, #F9E3E0); }
html body #app .tip2--error h2 { display: flex; align-items: flex-start; gap: 8px; outline-offset: 4px; }
html body #app .tip2--error h2 > svg.i { flex: none; width: 24px; height: 24px; color: var(--error, #D63D29); }
html body #app .tip2--error .btn { min-height: 44px; }
/* critic-9: a policy's name and its tier tag are one inline run inside the flex label, so the name's last word and the tag don't
   become separate flex items with an 8 px gap between them */
html body #app .offer-row label.t > .t-in { display: inline; min-width: 0; }
/* critic-10: the Income step's case card ("A broken wrist usually means about 6 weeks off.") takes the card title, 20 Bold.
   It stays an h2: it is the only heading under the step's h1, so an h3 would skip a level */
html body #app .well > h2.well-t { font-size: var(--fs-section) !important; line-height: var(--lh-section) !important; font-weight: 700 !important; letter-spacing: -0.01em; }
/* critic-11: the flows' fields (the needs finder, Buy a policy, File a claim) are white with the 20 px corner and the
   #8C8A84 edge (3.4:1 on white) of the reply field, not the sand fill; an invalid field takes the 2 px error edge. The work
   picker's own input is borderless and clear, so the rounded box around the chips is its one frame (its focus ring is the
   box's green inset) */
html body #app .flow :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input:not([type]), textarea) {
  border: 0 !important; border-radius: 20px !important; background: #fff !important; box-shadow: inset 0 0 0 1px #8C8A84 !important; }
html body #app .flow :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input:not([type]), textarea)[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error, #D63D29) !important; }
html body #app .flow .wf-box input#wf-in { min-height: 36px; height: 36px; padding: 0 4px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html body #app .flow .wf-box input#wf-in:focus { outline: none !important; }
/* critic-17: the level beside a risk (High, Medium, Low) sizes to its words and meter and starts at the text's edge */
html body #app .check.riskrow .lvl { justify-self: start; width: auto; }
/* critic-19: Essential is Fennia's light green (#8ADC94) with ink words (7.9:1), not the near-black fill Janne turned down on the
   admin's users list; lime stays for the one thing that needs her, and the dot badge for status */
html body #app .tag.strong { background: var(--green-line, #8ADC94) !important; color: var(--ink, #333) !important; box-shadow: none !important; }

/* ===== Pages, round 2 (17 October 2026; reg-1, critic-15) ===== */
/* reg-1: a message row's preview line stops at the 700 px measure, as every other line of text does */
html body #app .mrow .prev { max-width: var(--measure, 700px); }
/* critic-15: Write to us names a claim as its card on Claims does: the title, what happened in gray under it, then the status
   badge (the one status look), each on its own line */
html body #app form.wr .choice.wr-claim { grid-template-columns: minmax(0, 1fr); align-items: start; row-gap: 4px; }
html body #app form.wr .choice.wr-claim .t { font-weight: 700; }
html body #app form.wr .choice.wr-claim .wr-sub { color: var(--ink-2); font-weight: 400; }
html body #app form.wr .choice.wr-claim .badge { justify-self: start; margin-top: 8px; white-space: normal; height: auto; }
/* critic-9, the same split name on the buy cards (Home's recommendations in the new stage, Buy a policy): the name's last word
   sits in span.nw, which the "#app *" Regular rule set to 400 while the rest of the name was Bold. It inherits the title's weight */
html body #app .buy-card .t .nw { font-weight: inherit !important; }
/* critic-15: the claim choice's title is Bold like the claim card's (the shell's 400 !important reset would win otherwise) */
html body #app form.wr .choice.wr-claim .t { font-weight: 700 !important; }
/* critic-15: a wrapped claim badge keeps its dot on the first line, as the claim page's facts badges do */
html body #app form.wr .choice.wr-claim .badge { align-items: flex-start; text-align: left; }
html body #app form.wr .choice.wr-claim .badge::before { margin-top: 6px !important; }
/* critic-8: the error title's words sit in a span beside the glyph; the "#app *" Regular rule would make them 400 */
html body #app .tip2--error h2 > span { font-weight: inherit !important; }

/* ---------- Round 2, shell fixes (17 October 2026): critic-0, critic-2, critic-6, critic-16, reg-3 ---------- */
/* critic-0: [hidden] wins over the sidebar's display:flex !important, so the role views really hide what a person may not see */
html body #app header.rail.rail2 .nav-item[hidden], html body .rail2 .nav-item[hidden], html body #app .tabbar a[hidden], html body .mini a[hidden] { display: none !important; }
/* critic-0: the person at the sidebar's foot, by initials when there's no photo (the accounting firm, the broker) */
html body .rail2 .rail-me .rm-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--card-green); color: var(--green-text); font-weight: 700; }
/* critic-2: the profile menu. "See the portal as" is a real heading (20 Bold), not a small label over the group; names and their
   roles read at 16; the language links are 44 tall to the touch; the JS keeps the menu 16 clear of the window's edges */
.pmenu { max-height: calc(100vh - 32px); }
/* critic-16: Users and access in the profile menu under 1024 (the sidebar that holds it is hidden there); a link styled as the menu's rows */
/* critic-6: the tab bar at 320. Each tab is at least as wide as its label and they share what's left, with a 4 gap, so
   "Payments" and "Messages" never touch; at 390 and up the five stay equal */
html body .tabbar { grid-template-columns: repeat(5, minmax(min-content, 1fr)); column-gap: 4px; }
@media (max-width: 359px) { html body .tabbar { padding-left: 4px; padding-right: 4px; } }
/* critic-6: on the narrowest phones a long button label ("Buy business interruption insurance") wraps inside the pill instead
   of pushing the page sideways */
@media (max-width: 374px) { html body #app .btn { max-width: 100%; white-space: normal; text-align: center; padding-block: var(--s-2); } }
/* reg-3: under 1024 the round assistant launcher sits above the tab bar at the right; the Prototype screens pill moves to its left */
@media (max-width: 1023px) { html body:has(.aiw-launch) .proto.over-tabbar { right: calc(16px + 56px + 8px); } }
@media (max-width: 639px) { html body:has(#app .shell.has-dock):has(.aiw-launch) .proto.over-tabbar { right: 16px; } }
html body #app .gd-ring-s + .gd-ring-s { margin-top: 4px !important; }
/* critic-11: the claim flow's time field joins the flows' white fields */
html body #app .flow input[type="time"] { border: 0 !important; border-radius: 20px !important; background: #fff !important; box-shadow: inset 0 0 0 1px #8C8A84 !important; }
html body #app .flow input[type="time"][aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error, #D63D29) !important; }
/* critic-2 (cont.): the heading inside #app's profile menu beats "#app h2" (28) and "#app * { 400 }"; while the menu is open its
   bar (the top bar under 1024, the sidebar from 1024) stacks above the assistant launcher and the Prototype screens pill */
html body #app :is(.topbar, .rail, .mini):has(.v8-acct:not([hidden])) { z-index: 160; }
/* critic-0 + critic-6: the tab bar sizes to the tabs a person has (Emma has three), each at least its label's width */
html body .tabbar { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(min-content, 1fr); }

/* ===== Pages, round 2b (17 October 2026; r2c-pages-cert-320, r2c-pages-reg1-cut-date) ===== */
/* r2c-pages-cert-320: on a narrow sheet the Issued seal drops under the Fennia logo, and its date may wrap,
   so "Issued 27 September 2026" never runs past the sheet and the page never scrolls sideways */
html body #app .ce-top { flex-wrap: wrap; row-gap: var(--s-2); }
html body #app .ce-seal { min-width: 0; }
html body #app .ce-seal-t { white-space: normal; }
/* r2c-pages-reg1-cut-date: within the 700 px measure a message row's preview takes two lines, as on phones,
   so a line that needs them shows whole instead of ending in an ellipsis */
html body #app .mrow .prev { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; }

/* ===== Flows, round 2b (17 October 2026; flows-320-cbar, flows-wf-x-target) ===== */
/* flows-320-cbar: on the narrowest phones every dark-panel row's price sits under the policy's name, the same in
   every row ("Not chosen, 38,00 € a month" was cut at the panel's edge at 320); it may wrap as a last resort */
@media (max-width: 374px) {
  html body #app .cbar .h { flex-direction: column; align-items: flex-start; gap: 4px; }
  html body #app .cbar .p { white-space: normal; min-width: 0; }
}
/* flows-wf-x-target: the × that removes a kind of work keeps its 24 px look with a 44 x 44 hit area */
html body #app .wf-box .wf-x { position: relative; }
html body #app .wf-box .wf-x::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; }

/* ===== Shell, round 2b (17 October 2026; critic-0 layout, reg-3) ===== */
/* critic-0: the role line under Messages' head keeps the head's own 24 gap to the list and the chips */
html body #app .ro-line:has(+ .mcols) { margin-bottom: var(--s-5); }
/* critic-0: when a person has fewer than three Home cards, the ones she has sit centred under the greeting and the ask field */
@media (min-width: 901px) {
  html body #app .hm3-cards:has(> li[hidden]) { grid-template-columns: repeat(auto-fit, minmax(240px, 273px)); justify-content: center; }
}
/* reg-3: the Prototype screens menu opens right-aligned to its pill, which sits left of the launcher; on narrow phones it shrinks
   so it stays 16 from the left edge */
@media (max-width: 1023px) { html body:has(.aiw-launch) .proto.over-tabbar .proto-menu { width: min(280px, calc(100vw - 96px)); } }

/* ===== The guide, the fix pass (17 October 2026, night; app/guide.js, ../old/explore/guide/SPEC.md "The fix pass") ===== */
/* Headings keep air below them (system/README.md, Spacing): card titles 8, never zero */
html body #app :is(.gd-know, .gd-dc-head) h2 { margin: 0 0 var(--s-2, 8px); }
html body #app .gd-case :is(h3, h4) { margin-bottom: var(--s-2, 8px); }
html body #app .gd-case .gd-often { margin-top: 0 !important; }
html body #app .gd-heard h3 { margin-bottom: 4px; }
/* The plan as it builds: one row per area (the reasons are under the answer), so the five rows and the total fit; when a short
   window still cuts them, the panel scrolls the changed row into view and says how many sit below */
html body #app .gd-r { min-height: 56px; padding: 8px 16px; }
html body #app .gd-rows { scrollbar-width: auto; scrollbar-color: rgba(255, 255, 255, .5) transparent; }
html body #app .gd-rows:focus-visible { outline: 3px solid var(--gd-lime) !important; outline-offset: 2px; }
html body #app .gd-more { flex: none; margin-top: 8px !important; color: var(--gd-soft); text-align: center; }
html body #app .gd-more[hidden] { display: none; }
/* Phones: the plan opens in the page and grows with it, no scroll of its own */
html body #app .gd-sheet { max-height: none; overflow: visible; }
html body #app .gd-barw.is-open { position: relative; top: auto; }
/* The start: the assistant and the questions as two equal ways in, in one card above the fold */
html body #app .gd-exp-p { margin-top: 8px !important; }
html body #app .gd-ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; justify-items: stretch; margin-top: 32px; padding: 32px; border-radius: 24px; background: #F9F9F9; }
html body #app .gd-ways .gd-say { width: auto; padding-top: 0; box-shadow: none; }
html body #app .gd-say-l { display: block; margin-bottom: var(--s-2, 8px); color: #333; font-size: 20px; line-height: 24px; font-weight: 700 !important; }
html body #app .gd-ways .gd-say .gd-askf { margin-top: 0; max-width: none; }
html body #app .gd-ways .gd-say .gd-hint { margin-top: 8px; }
html body #app .gd-ways .gd-ex { margin-top: 4px; }
html body #app .gd-or { display: flex; align-items: center; gap: 16px; color: #5E5E5E; font-size: 16px; line-height: 24px; }
html body #app .gd-or::before, html body #app .gd-or::after { content: ""; flex: 1; height: 1px; background: #DEDEDE; }
html body #app .gd-qs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
html body #app .gd-qs .gd-hint { margin: 0; }
html body #app .gd-ways-f { margin-top: 0 !important; }
html body #app .gd-ways ~ .gd-know { margin-top: 32px; }
/* On every question: the assistant's field right under the answer, above Back and Continue */
html body #app .gd-ask-s { margin-top: 32px; padding-top: 0; box-shadow: none; }
html body #app .gd-ask-l { display: block; margin-bottom: var(--s-2, 8px); color: #333; font-size: 16px; line-height: 24px; font-weight: 700 !important; }
html body #app .gd-ask-s .gd-sugg { margin: 12px 0 0; }
html body #app .gd-ask-s .gd-fine { margin-top: 8px !important; }
html body #app .gd-ask .gd-log .gd-ai > div { display: grid; gap: 8px; justify-items: start; min-width: 0; }
html body #app .gd-conf { display: flex; flex-wrap: wrap; gap: 8px; }
html body #app .gd-ask-r h2 { margin: 0 0 12px; font-size: 28px; line-height: 32px; }
html body #app .gd-ask-r .gd-askf-w { margin-top: 12px; }
html body #app .gd-ask-s ~ .gd-foot { margin-top: 32px; }
/* The ring: its figure is page type (20 Bold), not drawn inside the scaled svg; the sentence is reading type with a 20 figure */
html body #app .gd-ringc { position: relative; display: block; width: 140px; height: 140px; }
html body #app .gd-pct { position: absolute; inset: 0; display: grid; place-items: center; color: #333; font-size: 20px; line-height: 24px; font-weight: 700 !important; }
html body #app .gd-ring-t { font-size: 16px !important; line-height: 24px !important; }
html body #app .gd-ring-t b { font-size: 20px; line-height: 24px; }
@media (max-width: 639px) { html body #app .gd-ringc { width: 96px; height: 96px; } }
/* The number fields read at 16 */
html body #app .gd-num-f input, html body #app .gd-num-f span { font-size: 16px; }
html body #app .gd-num-f input::placeholder { color: #6B6B6B; }
/* The hero rows: area | insurance | price, no connector lines (the check and "Left out" carry it). They stack by the hero's own
   width, so a 1024 to 1250 window with the summary beside the plan stacks them too (layout only, no type change) */
html body #app .gd-hero { container-type: inline-size; }
html body #app .gd-hr { grid-template-columns: 150px minmax(0, 1fr) auto; }
@container (max-width: 600px) {
  html body #app .gd-hr { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  html body #app .gd-hr-a { grid-column: 1; grid-row: 1; } html body #app .gd-hr-v { grid-column: 2; grid-row: 1; }
  html body #app .gd-hr-p { grid-column: 1 / -1; grid-row: 2; padding-left: 44px; }
}
@container (max-width: 420px) { html body #app .gd-hr-p { padding-left: 0; } }
/* Lime only for the strongest recommendation left out; any other left-out row is white with a dashed edge, like its card */
html body #app .gd-hr.is-out { background: #fff; box-shadow: inset 0 0 0 2px transparent; outline: 2px dashed #ADADAD; outline-offset: -2px; }
html body #app .gd-hr.is-out .gd-hr-ic { background: #F9F9F9; } html body #app .gd-hr.is-out .gd-hr-ic svg.i { color: #5E5E5E; }
html body #app .gd-hr.is-out .gd-hr-t span { color: #5E5E5E; }
html body #app .gd-hr.is-out.is-strong { background: var(--gd-lime); outline: 0; }
html body #app .gd-hr.is-out.is-strong .gd-hr-ic { background: #fff; } html body #app .gd-hr.is-out.is-strong .gd-hr-ic svg.i { color: var(--gd-dark); }
html body #app .gd-hr.is-out.is-strong .gd-hr-t span { color: #333; }
/* The figures, for comparing, behind a button under the hero; a table that stacks into labelled rows when narrow */
html body #app .gd-figw { margin-top: 16px; container-type: inline-size; }
html body #app .gd-fig { margin-top: 16px; padding: 24px; border-radius: 24px; background: #F9F9F9; }
html body #app .gd-fig[hidden] { display: none; }
html body #app .gd-fig table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
html body #app .gd-fig :is(th, td) { padding: 12px 8px; text-align: left; vertical-align: top; box-shadow: inset 0 -1px 0 #E0E0E0; }
html body #app .gd-fig thead th { color: #5E5E5E; font-weight: 400 !important; }
html body #app .gd-fig tbody th, html body #app .gd-fig tfoot :is(th, td) { font-weight: 700 !important; }
html body #app .gd-fig :is(th, td):nth-child(n+5) { text-align: right; white-space: nowrap; }
html body #app .gd-fig tr.off { color: #5E5E5E; }
html body #app .gd-fig-o { display: block; color: #5E5E5E; font-weight: 400 !important; }
html body #app .gd-fig tfoot :is(th, td) { box-shadow: none; }
@container (max-width: 680px) {
  html body #app .gd-fig :is(table, tbody, tfoot, tr, th, td) { display: block; }
  html body #app .gd-fig thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  html body #app .gd-fig tr { padding: 12px 0; box-shadow: inset 0 -1px 0 #E0E0E0; }
  html body #app .gd-fig tfoot tr { box-shadow: none; }
  html body #app .gd-fig :is(th, td) { padding: 2px 0; box-shadow: none; text-align: left !important; white-space: normal !important; }
  html body #app .gd-fig td { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 8px; }
  html body #app .gd-fig td::before { content: attr(data-l); color: #5E5E5E; font-weight: 400; }
  html body #app .gd-fig td:empty { display: none; }
}
/* Each insurance card opens on one line (name, level, price, what it pays) and folds out for the detail */
html body #app .gd-pc-h { grid-template-columns: 48px minmax(0, 1fr) auto; align-items: start; }
html body #app .gd-pc-p { margin-top: 4px !important; color: #5E5E5E; }
html body #app .gd-pc-t { align-self: center; }
html body #app .gd-pc-b { margin-top: 16px; }
html body #app .gd-pc-b[hidden] { display: none; }
@media (max-width: 639px) { html body #app .gd-pc-h { grid-template-columns: 48px minmax(0, 1fr); } html body #app .gd-pc-t { grid-column: 1 / -1; justify-self: start; } }
html body #app .gd-cl-h { margin-top: 12px !important; color: #5E5E5E; }
html body #app .gd-case-v > .gd-cl-h:first-child { margin-top: 0 !important; }
html body #app .gd-cl-h + .gd-cl { margin-top: 4px; }
html body #app .gd-allow { margin-top: 20px; }
html body #app .gd-allow legend { margin-bottom: 8px; padding: 0; }
/* Why this plan: two groups (what she told us; what the registers told us), each Change a 44 px target */
html body #app .gd-whyg { margin: 24px 0 var(--s-2, 8px); font-size: 20px; line-height: 24px; }
html body #app .gd-whyc > .gd-whyg:first-child { margin-top: 0; }
html body #app .gd-whyl .gd-told { display: grid; justify-items: start; }
html body #app .gd-whyl .gd-told p { font-weight: 700 !important; }
html body #app .gd-whyl .gd-told .gd-lk { display: inline-flex; min-height: 44px; margin: 0; font-weight: 400 !important; }
/* The plan and the check: the summary comes first in the page (an early Tab stop), placed beside the plan */
html body #app .gd-res .gd-wrap > .gd-side { grid-column: 2; grid-row: 1; }
html body #app .gd-res .gd-wrap > .gd-main { grid-column: 1; grid-row: 1; }
@media (max-width: 1023px) { html body #app .gd-res .gd-wrap > .gd-side { grid-column: 1; grid-row: 2; } }
/* A person: the number in the summary and the dialog; the header keeps a word on phones */
html body #app .gd-tel { display: flex; gap: 8px; margin-top: 16px !important; color: #D5F7D7; }
html body #app .gd-tel svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; }
html body #app .gd-sum .gd-tel-a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
html body .gd-dlg .gd-tel-a { color: #00700B; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
html body .gd-dlg .gd-tel-a:focus-visible { outline: 3px solid #004C07; outline-offset: 2px; }
html body #app .gd-tl-s { display: none; }
@media (max-width: 639px) {
  html body #app .gd-talk { width: auto; padding: 0 16px !important; }
  html body #app .gd-talk .gd-tl-l { display: none; }
  html body #app .gd-talk .gd-tl-s { display: inline; position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: nowrap; }
}
/* Employers: the tip before the actions, the call first */
html body #app .gd-tip { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; max-width: 700px; margin: 0 0 24px; padding: 16px 20px; border-radius: 16px; background: #F9F9F9; color: #333; }
html body #app .gd-tip svg.i { width: 24px; height: 24px; color: #333; }
html body #app .gd-sum .gd-tip { background: rgba(255, 255, 255, .1); color: #fff; } html body #app .gd-sum .gd-tip svg.i { color: #fff; }
html body #app .gd-next .gd-tip { margin: 0; }
/* Check and buy: her plan's lines and prices, how she pays, the terms */
html body #app .gd-chk { margin-top: 32px; padding: 32px; border-radius: 24px; background: #F9F9F9; }
html body #app .gd-chk h2 { margin: 0 0 var(--s-2, 8px); font-size: 20px; line-height: 24px; }
html body #app .gd-chl { margin: 0; padding: 0; list-style: none; }
html body #app .gd-chl li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 16px; line-height: 24px; box-shadow: inset 0 -1px 0 #E0E0E0; }
html body #app .gd-chl b { white-space: nowrap; }
html body #app .gd-cht { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; max-width: none; margin-top: 16px !important; font-weight: 700 !important; }
html body #app .gd-cht b { font-size: 20px; line-height: 24px; white-space: nowrap; }
html body #app .gd-cho { margin-top: 4px !important; color: #5E5E5E; }
html body #app .gd-terms { margin-top: 24px; }
html body #app .gd-terms a { color: #00700B; text-decoration: underline; text-underline-offset: 3px; }
html body #app .gd-bf { margin-top: 16px; }
/* The Prototype screens pill stays off the guide (it covered the plan's figures) */
html body.gd-on .proto { display: none !important; }
/* The guide, the fix pass (cont.): the start's field shows its whole example; Equipment and Stock line up label by label;
   on phones Back and Continue stack (the primary on top) and the header's step reads "3 of 5" beside Call */
html body #app .gd-sayf textarea { min-height: 72px; }
html body #app .gd-ways .gd-ways-f { margin-top: 4px !important; }
html body #app .gd-nums { grid-template-rows: repeat(4, auto); align-items: start; row-gap: 0; }
html body #app .gd-nums > .gd-num { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
html body #app .gd-nums > .gd-num > .gd-num-f { align-self: end; justify-self: start; }
html body #app .gd-ps { display: none; }
@media (max-width: 639px) {
  html body #app .gd-ways { padding: 24px 16px; }
  html body #app .gd-foot { flex-direction: column-reverse; align-items: stretch; }
  html body #app .gd-foot .btn { width: 100%; justify-content: center; }
  html body #app .gd-prog .gd-pl:has(+ .gd-ps) { display: none; }
  html body #app .gd-prog .gd-ps { display: inline; }
  html body #app .gd-nums { grid-template-rows: none; }
  html body #app .gd-nums > .gd-num { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 639px) { html body #app .gd-prog .gd-pl:has(+ .gd-ps) { display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
html body #app .gd-lvs-c legend { margin-bottom: 8px; padding: 0; }
@media (max-width: 639px) { html body #app .gd-prog .gd-pl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }

/* The policy cards, the 16 October design restored (17 October 2026, Janne). Grid of three; gray #F5F5F5, 20 corners, the
   illustration at the top left, the name, line and price pushed to the foot so every card in a row lines up; buy cards white
   with a dashed #BDBDBD outline and a green "Buy" at the top right */
html body #app .vz-pcs { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; margin: 24px 0 0 !important; padding: 0 !important; list-style: none; }
@media (max-width: 1023px) { html body #app .vz-pcs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 599px) { html body #app .vz-pcs { grid-template-columns: minmax(0, 1fr) !important; } }
html body #app .vz-pcs > li { display: flex; }
html body #app .pc0 { position: relative; display: flex; flex-direction: column; width: 100%; min-height: 240px; padding: 24px; border-radius: 20px; background: #F9F9F9; color: var(--ink); text-decoration: none; }
html body #app a.pc0:hover { box-shadow: inset 0 0 0 1.5px #00700B; }
html body #app a.pc0:focus-visible { outline: 2px solid #0052CC; outline-offset: 2px; }
html body #app .pc0-art { display: block; width: 64px; height: 64px; }
html body #app .pc0-art svg, html body #app .pc0-art img { width: 64px; height: 64px; }
html body #app .pc0-tx { display: grid; gap: 6px; margin-top: auto; padding-top: 40px; }
html body #app .pc0-n { font-size: 20px !important; line-height: 24px !important; font-weight: 700 !important; letter-spacing: -0.01em; color: var(--ink); }
html body #app .pc0-l { color: #5E5E5E; max-width: 34ch; }
html body #app .pc0-p { margin-top: 24px; color: var(--ink); font-variant-numeric: tabular-nums; } html body #app .pc0-p > span { color: #5E5E5E; }
html body #app .pc0-add { background: #fff; box-shadow: inset 0 0 0 1.5px #fff; border: 1.5px dashed #BDBDBD; padding: 22.5px; }
html body #app a.pc0-add:hover { border-color: #00700B; box-shadow: none; }
html body #app .pc0-buy { position: absolute; top: 20px; right: 24px; color: #00700B; }

/* ===== ART DIRECTION B, "Fennia green moments" (17 October 2026). Active only with ?art=b (app/art-b.js sets
   html[data-art="b"]); every selector starts with it, so nothing changes when the study is off. Spec: explore/visual/direction-b.md.
   Zones: a full-bleed mint field opens the page (Fennia's green moment), white holds what she owns (gray cards), one dark green
   insight with the leaf corner and the lime tag, a gray band with white cards for paperwork. Type 40/28/20/16/12, spacing on 8. */
html[data-art="b"] {
  --b-mint: #E6FAE7; --b-hover: #D5F7D7; --b-green: #008A28; --b-green-t: #00700B; --b-deep: #004C07; --b-lime: #E9F368;
  --b-gray: #F5F5F5; --b-line: #DDDDDD; --b-ink: #333333; --b-ink-2: #5E5E5E; --b-on-deep: #D5F7D7;
  --b-r: 16px; --b-r-sm: 8px; --b-leaf: 160px;
  --b-1: 8px; --b-2: 16px; --b-3: 24px; --b-4: 32px; --b-6: 48px; --b-8: 64px; --b-10: 80px;
}
html[data-art="b"] body #app .page-in { --bleed: calc((100vw - 264px - 100%) / 2); }
@media (max-width: 1023px) { html[data-art="b"] body #app .page-in { --bleed: var(--page-x); } }
html[data-art="b"] body #app :is(.b-gm, .b-sec, .b-ins, .b-band) h1, html[data-art="b"] body #app :is(.b-gm, .b-sec, .b-ins, .b-band) h2 { margin: 0; }
html[data-art="b"] body #app :where(.b-gm, .b-sec, .b-ins, .b-band) :where(ul, ol, dl) { margin: 0; padding: 0; list-style: none; }

/* The green moment: full bleed, mint, Fennia's building pieces at its edges */
html[data-art="b"] body #app .b-gm { position: relative; overflow: hidden; margin: calc(-1 * var(--page-top)) calc(-1 * var(--bleed)) 0; padding: var(--page-top) var(--bleed) var(--b-8); background: var(--b-mint); }
html[data-art="b"] body #app .b-gm-c { padding-top: calc(var(--page-top) + var(--b-2)); }
html[data-art="b"] body #app .b-pc { position: absolute; width: 64px; height: 64px; pointer-events: none; }
@media (max-width: 1359px) { html[data-art="b"] body #app .b-pc:not(.o) { display: none; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1359px) { html[data-art="b"] body #app .b-pc:not(.o) { display: none; }}
@media (max-width: 1199px) { html[data-art="b"] body #app .b-pcs { display: none; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { html[data-art="b"] body #app .b-pcs { display: none; }}
html[data-art="b"] body #app .b-strip { display: none; }
@media (max-width: 1023px) { html[data-art="b"] body #app .b-strip { display: flex; justify-content: space-between; margin: 0 0 var(--b-4); } html[data-art="b"] body #app .b-strip img { width: 32px; height: 32px; } }
html[data-art="b"] body #app .b-gm h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.02em; color: var(--b-deep); font-weight: 700 !important; }
html[data-art="b"] body #app .b-lead { margin: 12px 0 0; max-width: 600px; font-size: 20px; line-height: 28px; color: var(--b-ink); }
html[data-art="b"] body #app .b-acts { display: flex; flex-wrap: wrap; gap: var(--b-2); margin-top: var(--b-4); }
html[data-art="b"] body #app .b-gm .btn-secondary, html[data-art="b"] body #app .b-band .btn-secondary { background: #fff !important; }
html[data-art="b"] body #app .b-gm .hw-bc { background: #fff; } html[data-art="b"] body #app .b-gm .hw-back:hover .hw-bc { background: var(--b-hover); }
html[data-art="b"] body #app .b-gm .hw-back { color: var(--b-green-t); }

/* Home: the centred moment, the ask field, three live facts on white cards */
html[data-art="b"] body #app .b-hero-c { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; }
html[data-art="b"] body #app .b-hero-c .b-lead { margin-left: auto; margin-right: auto; }
html[data-art="b"] body #app .b-ask { margin-top: var(--b-4); box-shadow: 0 8px 24px rgba(0, 76, 7, .10); }
html[data-art="b"] body #app .b-sugg { margin-top: var(--b-2); }
html[data-art="b"] body #app .b-sugg button { background: #fff; border-color: #B8EABB; }
html[data-art="b"] body #app .b-sugg button:hover { background: var(--b-hover); }
html[data-art="b"] body #app .b-fine { margin: var(--b-2) auto 0; color: var(--b-ink-2); }
html[data-art="b"] body #app .b-cards3 { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--b-2); margin-top: var(--b-8) !important; }
@media (max-width: 899px) { html[data-art="b"] body #app .b-cards3 { grid-template-columns: minmax(0, 1fr); } }

/* The card: Fennia's InsuranceCard. Art top left, air, the name (20 Bold), one gray line, the figure at the foot with its words under it */
html[data-art="b"] body #app .b-card { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 248px; padding: var(--b-3); border: 0; border-radius: var(--b-r); background: var(--b-gray); color: var(--b-ink); text-align: left; text-decoration: none; font: inherit; cursor: pointer; }
html[data-art="b"] body #app .b-card-w { background: #fff; }
html[data-art="b"] body #app :is(a.b-card, button.b-card):hover { box-shadow: inset 0 0 0 1.5px var(--b-green-t); }
html[data-art="b"] body #app :is(a.b-card, button.b-card):focus-visible { outline: 2px solid var(--b-deep); outline-offset: 2px; }
html[data-art="b"] body #app .b-art, html[data-art="b"] body #app .b-art img { display: block; width: 64px; height: 64px; }
html[data-art="b"] body #app .b-ct { display: grid; gap: var(--b-1); margin-top: auto; padding-top: var(--b-4); }
html[data-art="b"] body #app .b-cn { margin: 0; font-size: 20px; line-height: 24px; font-weight: 700 !important; color: var(--b-ink); }
html[data-art="b"] body #app .b-cl { color: var(--b-ink-2); max-width: 46ch; }
html[data-art="b"] body #app .b-cf { display: grid; gap: 4px; margin-top: var(--b-3); }
html[data-art="b"] body #app .b-cf b { font-size: 28px; line-height: 32px; letter-spacing: -0.01em; color: var(--b-ink); font-variant-numeric: tabular-nums; }
html[data-art="b"] body #app .b-cf span { color: var(--b-ink-2); }

/* One badge style: white, a hairline, a dot and a word (Fennia's badge). Red: nothing pays. Lime: a change would help. Green: fine */
html[data-art="b"] body #app .b-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px 0 7px; border: 1px solid var(--b-line); border-radius: 4px; background: #fff; color: var(--b-ink); font-size: 12px; line-height: 16px; white-space: nowrap; }
html[data-art="b"] body #app .b-badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--b-green); flex: none; }
html[data-art="b"] body #app .b-badge.red::before { background: #D63D29; }
html[data-art="b"] body #app .b-badge.lime::before { background: var(--b-lime); box-shadow: inset 0 0 0 1.5px #7A8500; }

/* Sections on white: a 28 Bold title, its line 12 under it, the content 24 under that, 80 between sections */
html[data-art="b"] body #app .b-sec { margin-top: var(--b-10) !important; }
html[data-art="b"] body #app .b-sh h2 { font-size: 28px; line-height: 32px; color: var(--b-ink); font-weight: 700 !important; }
html[data-art="b"] body #app .b-sh p { margin: 12px 0 0; color: var(--b-ink-2); }
html[data-art="b"] body #app .b-sh + * { margin-top: var(--b-3) !important; }
html[data-art="b"] body #app .b-sh-a { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--b-3); flex-wrap: wrap; }

/* The Fennia insight: dark green, the leaf corner, the lime tag under the title, the evidence on a white plate */
html[data-art="b"] body #app .b-ins { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--b-6); align-items: start; margin-top: var(--b-10) !important; padding: var(--b-6); border-radius: var(--b-r) var(--b-leaf) var(--b-r) var(--b-r); background: var(--b-deep); color: #fff; }
@media (max-width: 1279px) { html[data-art="b"] body #app .b-ins { grid-template-columns: minmax(0, 1fr); } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { html[data-art="b"] body #app .b-ins { grid-template-columns: minmax(0, 1fr); }}
html[data-art="b"] body #app .b-ins h2 { font-size: 28px; line-height: 32px; color: #fff; font-weight: 700 !important; }
html[data-art="b"] body #app .b-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 8px 4px 6px; border-radius: 4px; background: var(--b-lime); color: var(--b-deep); font-size: 12px; line-height: 16px; font-weight: 700 !important; }
html[data-art="b"] body #app .b-tag svg.i { width: 16px; height: 16px; }
html[data-art="b"] body #app .b-ins-tx p { margin: var(--b-2) 0 0; color: var(--b-on-deep); }
html[data-art="b"] body #app .b-ins-tx .b-ins-fine { color: #fff; }
html[data-art="b"] body #app .b-ins-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--b-3); margin-top: var(--b-4); }
html[data-art="b"] body #app .b-btn-w { background: #fff; color: var(--b-deep); font-weight: 700 !important; }
html[data-art="b"] body #app .b-btn-w:hover { background: var(--b-hover); }
html[data-art="b"] body #app .b-btn-w:focus-visible, html[data-art="b"] body #app .b-lk-w:focus-visible { outline: 2px solid var(--b-lime); outline-offset: 3px; }
html[data-art="b"] body #app .b-lk-w { min-height: 44px; padding: 0; border: 0; background: none; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
html[data-art="b"] body #app .b-lk-w:hover { color: var(--b-lime); }
html[data-art="b"] body #app .b-plate { padding: var(--b-4); border-radius: var(--b-r); background: #fff; color: var(--b-ink); }
html[data-art="b"] body #app .b-plate-h { margin: 0 0 var(--b-2); max-width: none; color: var(--b-ink); }
html[data-art="b"] body #app .b-plate-h b, html[data-art="b"] body #app .b-rf b, html[data-art="b"] body #app .b-rt b { font-weight: 700 !important; }
html[data-art="b"] body #app .b-cases li { display: grid; grid-template-columns: minmax(0, 1fr) auto 96px; align-items: center; gap: var(--b-2); padding: var(--b-2) 0; border-top: 1px solid var(--b-line); }
html[data-art="b"] body #app .b-cases .b-badge { justify-self: start; }
html[data-art="b"] body #app .b-rt { display: grid; } html[data-art="b"] body #app .b-rt span { color: var(--b-ink-2); }
html[data-art="b"] body #app .b-rf { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--b-ink-2); } html[data-art="b"] body #app .b-rf b { color: var(--b-ink); }
@media (max-width: 639px) { html[data-art="b"] body #app .b-cases li { grid-template-columns: minmax(0, 1fr) auto; } html[data-art="b"] body #app .b-cases .b-rt { grid-column: 1 / -1; } }

/* Home: her policies, the 16 October gray cards, four across */
html[data-art="b"] body #app .b-pcs4 { margin-top: var(--b-3) !important; gap: var(--b-2) !important; }
/* 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) { html[data-art="b"] body #app .b-pcs4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } } }
@media (min-width: 600px) and (max-width: 1359px) { html[data-art="b"] body #app .b-pcs4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@media (min-width: 1024px) { @container app (max-width: 1359px) { html[data-art="b"] body #app .b-pcs4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }} }
html[data-art="b"] body #app .b-pcs4 .pc0 { min-height: 288px; border-radius: var(--b-r); }

/* The gray band: full bleed, white cards on it, running to the footer */
html[data-art="b"] body #app .b-band { margin: var(--b-10) calc(-1 * var(--bleed)) -96px !important; padding: var(--b-8) var(--bleed) var(--b-10); background: var(--b-gray); }
html[data-art="b"] body #app .b-band-sec { margin-top: var(--b-8); }
html[data-art="b"] body #app .b-soon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--b-2); }
@media (max-width: 1023px) { html[data-art="b"] body #app .b-soon { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html[data-art="b"] body #app .b-date { min-height: 160px; }
html[data-art="b"] body #app .b-dd { font-size: 20px; line-height: 24px; font-weight: 700 !important; color: var(--b-ink); }
html[data-art="b"] body #app .b-dt { margin-top: auto; padding-top: var(--b-3); color: var(--b-ink); }

/* ======================================================================================================================
   ART DIRECTION C, "Product-grade clarity" (17 October 2026). Active only with ?art=c (app/art-c.js sets html[data-art="c"]).
   Home, a policy and a claim. Every selector starts with html[data-art="c"], so nothing changes when the study is off.
   Tokens and principles: ../old/explore/visual/direction-c.md
   ====================================================================================================================== */
html[data-art="c"] {
  --c-ink: #333333; --c-ink-2: #5E5E5E; --c-line: #DDDDDD; --c-line-2: #E3E3E3; --c-surface: #F5F5F5; --c-white: #FFFFFF;
  --c-green: #008A28; --c-link: #00700B; --c-deep: #004C07; --c-mint: #E6FAE7; --c-light: #8ADC94; --c-lime: #E9F368; --c-track: #D9D9D9;
  --c-gutter: 24px; --c-sec: 80px; --c-head-gap: 32px; --c-pad: 32px; --c-r: 24px; --c-r-in: 16px; --c-r-tag: 4px; --c-leaf: 160px;
}
html[data-art="c"] body #app .c-page { color: var(--c-ink); }
html[data-art="c"] body #app .c-page > * + * { margin-top: var(--c-sec); }
html[data-art="c"] body #app .c-page > .c-strip { margin-top: 40px; }
html[data-art="c"] body #app .c-page > .c-status { margin-top: 40px; }
html[data-art="c"] body #app .c-page :is(p, span, b, dt, dd, li, a, button) { font-variant-numeric: tabular-nums; }
html[data-art="c"] body #app .c-page b, html[data-art="c"] body #app .c-page strong { font-weight: 700 !important; }

/* The grid: 12 columns, 24 gutters. Main and aside 8 + 4; two lists 7 + 5. Under 1280 the columns stack */
html[data-art="c"] body #app .c-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--c-gutter); row-gap: var(--c-sec); align-items: start; }
html[data-art="c"] body #app .c-col-8 { grid-column: span 8; } html[data-art="c"] body #app .c-col-4 { grid-column: span 4; }
html[data-art="c"] body #app .c-col-7 { grid-column: span 7; } html[data-art="c"] body #app .c-col-5 { grid-column: span 5; }
html[data-art="c"] body #app .c-stack > * + * { margin-top: var(--c-sec); }
@media (max-width: 1279px) {
  html[data-art="c"] body #app .c-grid > [class*="c-col-"] { grid-column: 1 / -1; }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) {
  html[data-art="c"] body #app .c-grid > [class*="c-col-"] { grid-column: 1 / -1; }}

/* Heads: the back link, a 128 Fennia illustration, the 40 Bold green title, one line, the actions */
html[data-art="c"] body #app .c-head-m { display: flex; align-items: center; gap: var(--gap-art); margin-top: 24px; }
html[data-art="c"] body #app .c-head-art img { display: block; width: 128px; height: 128px; }
html[data-art="c"] body #app .c-head h1, html[data-art="c"] body #app .c-hhead h1 { margin: 0; font-size: 40px; line-height: 44px; font-weight: 700 !important; color: var(--c-link); letter-spacing: -0.01em; }
html[data-art="c"] body #app .c-head-tx > p { margin: 16px 0 0; max-width: var(--measure); color: var(--c-ink-2); font-size: 16px; line-height: 24px; }
html[data-art="c"] body #app .c-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }

/* Home's head: the greeting, the answer at 20, the assistant's field in its rainbow ring, three questions */
html[data-art="c"] body #app .c-hhead { padding-top: 8px; }
html[data-art="c"] body #app .c-answer { margin: 16px 0 0; max-width: var(--measure); font-size: 20px; line-height: 28px; color: var(--c-ink); }
html[data-art="c"] body #app .c-ask.hm-ask { max-width: 720px; margin: 32px 0 0; }
html[data-art="c"] body #app .c-ask input { font-size: 16px !important; line-height: 24px !important; }
html[data-art="c"] body #app .c-sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
html[data-art="c"] body #app .c-sugg button { min-height: 40px; padding: 0 16px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-white); color: var(--c-link); font: inherit; font-size: 16px; line-height: 24px; cursor: pointer; }
html[data-art="c"] body #app .c-sugg button:hover { box-shadow: inset 0 0 0 1px var(--c-link); border-color: var(--c-link); }

/* The summary strip: one gray band, equal cells split by hairlines, the figure first */
html[data-art="c"] body #app .c-strip { display: grid; grid-template-columns: repeat(var(--cells, 3), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; background: var(--c-surface); border-radius: var(--c-r); }
html[data-art="c"] body #app .c-strip-3 { --cells: 3; } html[data-art="c"] body #app .c-strip-4 { --cells: 4; }
html[data-art="c"] body #app .c-strip > li { display: flex; flex-direction: column; min-width: 0; padding: 28px var(--c-pad) 32px; }
html[data-art="c"] body #app .c-strip > li + li { box-shadow: inset 1px 0 0 var(--c-line); }
html[data-art="c"] body #app .c-fig { display: block; font-size: 28px; line-height: 32px; font-weight: 400 !important; color: var(--c-ink); letter-spacing: -0.01em; white-space: nowrap; }
html[data-art="c"] body #app .c-fig-40 { font-size: 40px; line-height: 44px; }
html[data-art="c"] body #app .c-lab { display: block; margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--c-ink); }
html[data-art="c"] body #app .c-sub { display: block; margin-top: 4px; font-size: 16px; line-height: 24px; color: var(--c-ink-2); }
html[data-art="c"] body #app .c-strip .c-link { margin-top: auto; padding-top: 16px; align-self: flex-start; }
html[data-art="c"] body #app .c-link { color: var(--c-link); font-size: 16px; line-height: 24px; text-decoration: none; text-underline-offset: 3px; }
html[data-art="c"] body #app .c-link:hover { text-decoration: underline; }

/* Section heads: 28 Bold, one gray line under it, one action at the right */
html[data-art="c"] body #app .c-sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: var(--c-head-gap); }
html[data-art="c"] body #app .c-sh h2 { margin: 0; font-size: 28px; line-height: 32px; font-weight: 700 !important; color: var(--c-ink); letter-spacing: -0.01em; }
html[data-art="c"] body #app .c-sh p { margin: 12px 0 0; max-width: var(--measure); color: var(--c-ink-2); font-size: 16px; line-height: 24px; }
html[data-art="c"] body #app .c-sh-act { flex: none; }
html[data-art="c"] body #app .c-h3 { margin: 0 0 16px; font-size: 20px; line-height: 24px; font-weight: 700 !important; color: var(--c-ink); }

/* One status style: white, a hairline, a dot and a word. Green done, a green ring in progress, lime with an edge for her, gray off */
html[data-art="c"] body #app .c-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid var(--c-line); border-radius: var(--c-r-tag); background: var(--c-white); color: var(--c-ink); font-size: 12px; line-height: 16px; white-space: nowrap; }
html[data-art="c"] body #app .c-badge::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); }
html[data-art="c"] body #app .c-badge.c-prog::before { background: var(--c-white); box-shadow: inset 0 0 0 2px var(--c-green); }
html[data-art="c"] body #app .c-badge.c-todo::before { background: var(--c-lime); box-shadow: inset 0 0 0 1px #6B7300; }
html[data-art="c"] body #app .c-badge.c-off::before { background: #ADADAD; }

/* Lists: one gray container, rows split by hairlines; a row whose title is a link opens from anywhere on it */
html[data-art="c"] body #app .c-list { margin: 0; padding: 8px; list-style: none; background: var(--c-surface); border-radius: var(--c-r); }
html[data-art="c"] body #app .c-list > li { position: relative; }
html[data-art="c"] body #app .c-list > li + li::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: var(--c-line); }
html[data-art="c"] body #app .c-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--c-r-in); }
html[data-art="c"] body #app .c-row:has(.c-row-l):hover { background: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-link); }
html[data-art="c"] body #app .c-row:has(.c-row-l):hover + li::before, html[data-art="c"] body #app .c-list > li:hover::before { opacity: 0; }
html[data-art="c"] body #app .c-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-white); color: var(--c-ink); }
html[data-art="c"] body #app .c-ic svg { width: 24px; height: 24px; }
html[data-art="c"] body #app .c-row-tx { display: flex; flex-direction: column; min-width: 0; }
html[data-art="c"] body #app .c-row-tx > span, html[data-art="c"] body #app .c-row-tx > span { color: var(--c-ink-2); font-size: 16px; line-height: 24px; }
html[data-art="c"] body #app .c-row-l { color: var(--c-link); font-size: 16px; line-height: 24px; font-weight: 700 !important; text-decoration: none; }
html[data-art="c"] body #app .c-row-l::after { content: ""; position: absolute; inset: 0; border-radius: var(--c-r-in); }
html[data-art="c"] body #app .c-row-l:focus-visible { outline: none; } html[data-art="c"] body #app .c-row-l:focus-visible::after { outline: 2px solid #0052CC; outline-offset: -2px; }
html[data-art="c"] body #app .c-row-end { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
html[data-art="c"] body #app .c-row-v { color: var(--c-ink); font-size: 16px; line-height: 24px; white-space: nowrap; }
/* The small track on a claim row: one segment a stage */
html[data-art="c"] body #app .c-mt { display: inline-flex; gap: 4px; }
html[data-art="c"] body #app .c-mt i { width: 20px; height: 4px; border-radius: 2px; background: var(--c-track); }
html[data-art="c"] body #app .c-mt i.done { background: var(--c-green); } html[data-art="c"] body #app .c-mt i.now { background: var(--c-light); }
/* Coming up: the date first, in its own column */
html[data-art="c"] body #app .c-dates .c-row { grid-template-columns: 128px minmax(0, 1fr); align-items: start; }
html[data-art="c"] body #app .c-date { font-size: 16px; line-height: 24px; font-weight: 700 !important; color: var(--c-ink); white-space: nowrap; }

/* Home's policies: the 16 October gray cards, four across */
html[data-art="c"] body #app .c-pols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--c-gutter); margin: 0; padding: 0; list-style: none; }
html[data-art="c"] body #app .c-pols > li { display: flex; }
html[data-art="c"] body #app .c-pols .pc0 { border-radius: var(--c-r); min-height: 280px; }
@media (max-width: 1279px) { html[data-art="c"] body #app .c-pols { 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: 1279px) { html[data-art="c"] body #app .c-pols { grid-template-columns: repeat(2, minmax(0, 1fr)); }}

/* If something went wrong tomorrow: one figure for all five cases, then a row each, each bar the case's full cost */
html[data-art="c"] body #app .c-cases { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding: 40px; background: var(--c-surface); border-radius: var(--c-r); }
html[data-art="c"] body #app .c-cases-sum .c-lab { margin-top: 8px; }
html[data-art="c"] body #app .c-cases-sum .c-sub { margin-top: 0; }
html[data-art="c"] body #app .c-bar { position: relative; display: block; height: 8px; border-radius: 4px; background: var(--c-track); overflow: hidden; }
html[data-art="c"] body #app .c-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--c-green); }
html[data-art="c"] body #app .c-bar-lg { height: 12px; border-radius: 6px; margin: 24px 0 16px; }
html[data-art="c"] body #app .c-case-l { margin: 0; padding: 0; list-style: none; }
html[data-art="c"] body #app .c-case { display: grid; grid-template-columns: minmax(0, 1fr) 140px 112px; align-items: center; gap: 24px; padding: 16px 0; }
html[data-art="c"] body #app .c-case:first-child { padding-top: 0; } html[data-art="c"] body #app .c-case:last-child { padding-bottom: 0; }
html[data-art="c"] body #app .c-case + .c-case { box-shadow: inset 0 1px 0 var(--c-line); }
html[data-art="c"] body #app .c-case-tx { display: flex; flex-direction: column; }
html[data-art="c"] body #app .c-case-tx > span { color: var(--c-ink-2); }
html[data-art="c"] body #app .c-case-v { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
html[data-art="c"] body #app .c-case-v > span { color: var(--c-ink-2); }

/* The Fennia insight: the page's one dark green moment, the lime tag under its title, Fennia's leaf corner */
html[data-art="c"] body #app .c-insight { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; margin-top: var(--c-gutter); padding: 40px 48px; background: var(--c-deep); color: var(--c-white); border-radius: var(--c-r) var(--c-leaf) var(--c-r) var(--c-r); }
html[data-art="c"] body #app .c-insight h3 { margin: 0; font-size: 28px; line-height: 32px; font-weight: 700 !important; color: var(--c-white); max-width: 640px; }
html[data-art="c"] body #app .c-insight .insight-tag { margin: 16px 0 0; background: var(--c-lime) !important; color: #20250A !important; font-size: 12px !important; line-height: 16px !important; }
html[data-art="c"] body #app .c-insight .insight-tag svg.i { color: #20250A; }
html[data-art="c"] body #app .c-insight p { margin: 16px 0 0; max-width: 600px; color: var(--c-mint); font-size: 16px; line-height: 24px; }
html[data-art="c"] body #app .c-ins-act { margin-top: 24px; }
html[data-art="c"] body #app .c-btn-on-green { display: inline-flex; align-items: center; min-height: 44px; padding: 0 24px; border-radius: 999px; background: var(--c-white) !important; color: var(--c-deep) !important; border: 0; text-decoration: none; }
html[data-art="c"] body #app .c-btn-on-green:hover { background: var(--c-mint) !important; }
html[data-art="c"] body #app .c-ins-art { display: grid; place-items: center; width: 176px; height: 176px; margin-right: 24px; border-radius: 50%; background: var(--c-mint); }
html[data-art="c"] body #app .c-ins-art img { width: 112px; height: 112px; }

/* A policy: the package as option cards (name, price, one line; the chosen one with Fennia's 2 px edge) */
html[data-art="c"] body #app .c-lvs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
html[data-art="c"] body #app .c-lvs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html[data-art="c"] body #app .c-lv { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: var(--c-r-in); background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); }
html[data-art="c"] body #app .c-lv.on { box-shadow: inset 0 0 0 2px var(--c-green); }
html[data-art="c"] body #app .c-lv-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; align-self: stretch; }
html[data-art="c"] body #app .c-lv-h b { font-size: 20px; line-height: 24px; }
html[data-art="c"] body #app .c-lv-h > span { white-space: nowrap; color: var(--c-ink); } html[data-art="c"] body #app .c-lv-h > span > span { color: var(--c-ink-2); }
html[data-art="c"] body #app .c-lv p { margin: 8px 0 0; color: var(--c-ink-2); }
html[data-art="c"] body #app .c-lv > .c-badge, html[data-art="c"] body #app .c-lv > .btn { margin-top: auto; } html[data-art="c"] body #app .c-lv p { margin-bottom: 24px; }
html[data-art="c"] body #app .c-btn-sm { min-height: 40px !important; padding: 0 18px !important; }

/* What's covered: a tile per cover, two across; the whole tile opens its examples, so the whole tile hovers */
html[data-art="c"] body #app .c-covs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
html[data-art="c"] body #app .c-covs > li { display: flex; }
html[data-art="c"] body #app .c-cov { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; width: 100%; padding: 24px; border: 0; border-radius: var(--c-r-in); background: var(--c-surface); color: var(--c-ink); font: inherit; text-align: left; cursor: pointer; }
html[data-art="c"] body #app .c-cov:hover { box-shadow: inset 0 0 0 1.5px var(--c-link); }
html[data-art="c"] body #app .c-cov:focus-visible { outline: 2px solid #0052CC; outline-offset: 2px; }
html[data-art="c"] body #app .c-cov-ic { color: var(--c-green); } html[data-art="c"] body #app .c-cov-ic svg { width: 24px; height: 24px; }
html[data-art="c"] body #app .c-cov-tx { display: flex; flex-direction: column; align-items: flex-start; }
html[data-art="c"] body #app .c-cov-tx b { font-size: 20px; line-height: 24px; }
html[data-art="c"] body #app .c-cov-tx > span:not(.c-badge) { margin-top: 8px; color: var(--c-ink-2); }
html[data-art="c"] body #app .c-cov-tx > .c-cov-lim { margin-top: 16px; color: var(--c-ink); }
html[data-art="c"] body #app .c-cov-tx > .c-badge { margin-top: 16px; }
html[data-art="c"] body #app .c-cov-cue { grid-column: 2; margin-top: -4px; color: var(--c-link); }
html[data-art="c"] body #app .c-cov-x { background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); }
html[data-art="c"] body #app .c-cov-x .c-cov-ic { color: var(--c-ink-2); }
html[data-art="c"] body #app .c-covs + .c-h3 { margin-top: 40px; }

/* Documents and files: rows of the list; the whole row is the button */
html[data-art="c"] body #app :is(.c-doc, .c-photos) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; padding: 16px 20px; border: 0; border-radius: var(--c-r-in); background: transparent; color: var(--c-ink); font: inherit; text-align: left; cursor: pointer; }
html[data-art="c"] body #app :is(.c-doc, .c-photos):hover { background: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-link); }
html[data-art="c"] body #app :is(.c-doc, .c-photos):focus-visible { outline: 2px solid #0052CC; outline-offset: -2px; }
html[data-art="c"] body #app .c-doc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-white); color: var(--c-green); }
html[data-art="c"] body #app .c-doc-ic svg { width: 24px; height: 24px; }
html[data-art="c"] body #app .c-doc .c-row-tx b, html[data-art="c"] body #app .c-photos .c-row-tx b { font-size: 16px; line-height: 24px; }
html[data-art="c"] body #app .c-cue { color: var(--c-link); }
html[data-art="c"] body #app .c-list + .c-list { margin-top: 16px; }

/* The aside: gray cards, the certificate as the object she hands over, then the facts as label and value side by side */
html[data-art="c"] body #app .c-aside { display: flex; flex-direction: column; gap: var(--c-gutter); position: sticky; top: 24px; }
html[data-art="c"] body #app .c-card { padding: var(--c-pad); border-radius: var(--c-r); background: var(--c-surface); }
html[data-art="c"] body #app .c-card > p { margin: 0; color: var(--c-ink-2); }
html[data-art="c"] body #app .c-card > .btn { margin-top: 24px; }
html[data-art="c"] body #app .c-aside .c-card:first-child { border-top-right-radius: 96px; }
html[data-art="c"] body #app .c-cert-sheet { display: flex; flex-direction: column; gap: 4px; width: 100%; margin: 8px 0 16px; padding: 24px; border: 0; border-radius: 12px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); color: var(--c-ink); font: inherit; text-align: left; cursor: pointer; }
html[data-art="c"] body #app .c-cert-sheet:hover { box-shadow: inset 0 0 0 1.5px var(--c-link); }
html[data-art="c"] body #app .c-cert-sheet:focus-visible { outline: 2px solid #0052CC; outline-offset: 2px; }
html[data-art="c"] body #app .c-cert-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
html[data-art="c"] body #app .c-seal { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-green); color: var(--c-white); }
html[data-art="c"] body #app .c-seal svg { width: 20px; height: 20px; }
html[data-art="c"] body #app .c-cert-l { color: var(--c-ink-2); }
html[data-art="c"] body #app .c-dl { margin: 0; }
html[data-art="c"] body #app .c-dl > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; padding: 12px 0; }
html[data-art="c"] body #app .c-dl > div + div { box-shadow: inset 0 1px 0 var(--c-line); }
html[data-art="c"] body #app .c-dl dt { color: var(--c-ink-2); } html[data-art="c"] body #app .c-dl dd { margin: 0; color: var(--c-ink); }
html[data-art="c"] body #app .c-copy { display: inline-grid; place-items: center; width: 32px; height: 32px; margin: -4px 0 -4px 4px; vertical-align: middle; border: 0; border-radius: 50%; background: transparent; color: var(--c-link); cursor: pointer; }
html[data-art="c"] body #app .c-copy:hover { background: var(--c-mint); } html[data-art="c"] body #app .c-copy svg { width: 20px; height: 20px; }

/* A claim: the status on mint (the page's one coloured moment), its answer at 28, and the progress drawn across the width */
html[data-art="c"] body #app .c-status { padding: 40px 48px 44px; border-radius: var(--c-r) var(--c-leaf) var(--c-r) var(--c-r); background: var(--c-mint); }
html[data-art="c"] body #app .c-status h2 { margin: 16px 0 0; font-size: 28px; line-height: 32px; font-weight: 700 !important; color: var(--c-ink); }
html[data-art="c"] body #app .c-status-tx > p { margin: 12px 0 0; max-width: var(--measure); color: var(--c-ink-2); }
html[data-art="c"] body #app .c-status-tx > .btn { margin-top: 24px; }
html[data-art="c"] body #app .c-track { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 40px 0 0; padding: 0; list-style: none; }
html[data-art="c"] body #app .c-track > li { position: relative; display: flex; flex-direction: column; padding-right: 16px; }
html[data-art="c"] body #app .c-track > li::before { content: ""; position: absolute; top: 11px; left: 32px; right: 8px; height: 2px; background: #BDBDBD; }
html[data-art="c"] body #app .c-track > li.done::before { background: var(--c-green); }
html[data-art="c"] body #app .c-track > li:last-child::before { display: none; }
html[data-art="c"] body #app .c-tk-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-white); box-shadow: inset 0 0 0 2px #8C8C8C; color: var(--c-white); }
html[data-art="c"] body #app .done .c-tk-dot { background: var(--c-green); box-shadow: none; }
html[data-art="c"] body #app .done .c-tk-dot svg { width: 16px; height: 16px; }
html[data-art="c"] body #app .now .c-tk-dot { box-shadow: inset 0 0 0 2px var(--c-green), inset 0 0 0 7px var(--c-white), inset 0 0 0 12px var(--c-green); }
html[data-art="c"] body #app .c-tk-n { margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--c-ink); }
html[data-art="c"] body #app .now .c-tk-n { font-weight: 700 !important; }
html[data-art="c"] body #app .c-tk-d { color: var(--c-ink-2); }
/* Who pays what: certain lines only before the decision; the sum and a two-part bar after it */
html[data-art="c"] body #app .c-sum { margin: 0; padding: 8px var(--c-pad); list-style: none; background: var(--c-surface); border-radius: var(--c-r); }
html[data-art="c"] body #app .c-sum > li { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding: 12px 0; }
html[data-art="c"] body #app .c-sum > li + li { box-shadow: inset 0 1px 0 var(--c-line); }
html[data-art="c"] body #app .c-sum > li > span { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ink); }
html[data-art="c"] body #app .c-sum > li > b { font-weight: 400 !important; text-align: right; }
html[data-art="c"] body #app .c-sum > li.c-sum-t > span, html[data-art="c"] body #app .c-sum > li.c-sum-t > b { font-size: 20px; line-height: 24px; font-weight: 700 !important; }
html[data-art="c"] body #app .c-note { margin: 16px 0 0; max-width: var(--measure); color: var(--c-ink-2); }
html[data-art="c"] body #app .c-split { display: flex; gap: 3px; height: 12px; margin-bottom: 12px; }
html[data-art="c"] body #app .c-split i { border-radius: 6px; background: var(--c-green); } html[data-art="c"] body #app .c-split i + i { background: var(--c-track); }
html[data-art="c"] body #app .c-split-l { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 24px; padding: 0; list-style: none; }
html[data-art="c"] body #app .c-split-l li { display: inline-flex; align-items: center; gap: 8px; }
html[data-art="c"] body #app .c-split-l i { width: 12px; height: 12px; border-radius: 3px; background: var(--c-green); } html[data-art="c"] body #app .c-split-l li + li i { background: var(--c-track); }
/* Photos as pictures */
html[data-art="c"] body #app .c-photos { grid-template-columns: auto minmax(0, 1fr); }
html[data-art="c"] body #app .c-ph-row { display: flex; gap: 8px; }
html[data-art="c"] body #app .c-ph-row img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
html[data-art="c"] body #app .c-ph-none { display: grid; place-items: center; width: 96px; height: 72px; border-radius: 8px; background: var(--c-white); color: var(--c-ink-2); }

/* Phones and narrow windows: layout only, type never changes */
@media (max-width: 1023px) {
  html[data-art="c"] body #app .c-cases { grid-template-columns: 1fr; gap: 32px; }
  html[data-art="c"] body #app .c-strip-4 { --cells: 2; }
  html[data-art="c"] body #app .c-strip-4 > li:nth-child(3) { box-shadow: inset 0 1px 0 var(--c-line); }
  html[data-art="c"] body #app .c-strip-4 > li:nth-child(4) { box-shadow: inset 1px 0 0 var(--c-line), inset 0 1px 0 var(--c-line); }
}
@media (max-width: 639px) {
  html[data-art="c"] { --c-sec: 56px; --c-pad: 24px; --c-leaf: 96px; }
  html[data-art="c"] body #app .c-head-m { flex-direction: column; align-items: flex-start; gap: 24px; }
  html[data-art="c"] body #app .c-head-art img { width: 96px; height: 96px; }
  html[data-art="c"] body #app .c-strip-3 { --cells: 1; }
  html[data-art="c"] body #app .c-strip-3 > li + li { box-shadow: inset 0 1px 0 var(--c-line); }
  html[data-art="c"] body #app .c-strip > li { padding: 24px; }
  html[data-art="c"] body #app .c-strip-4 > li { padding: 20px; }
  html[data-art="c"] body #app .c-sh { flex-direction: column; align-items: flex-start; gap: 16px; }
  html[data-art="c"] body #app .c-row { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  html[data-art="c"] body #app .c-row-end { grid-column: 2; justify-content: flex-start; }
  html[data-art="c"] body #app .c-dates .c-row { grid-template-columns: 1fr; gap: 4px; }
  html[data-art="c"] body #app .c-pols, html[data-art="c"] body #app .c-lvs, html[data-art="c"] body #app .c-lvs-3, html[data-art="c"] body #app .c-covs { grid-template-columns: 1fr; }
  html[data-art="c"] body #app .c-cases { padding: 24px; }
  html[data-art="c"] body #app .c-case { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  html[data-art="c"] body #app .c-case .c-bar { grid-column: 1 / -1; grid-row: 2; }
  html[data-art="c"] body #app .c-insight { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  html[data-art="c"] body #app .c-ins-art { order: -1; width: 120px; height: 120px; margin: 0; } html[data-art="c"] body #app .c-ins-art img { width: 80px; height: 80px; }
  html[data-art="c"] body #app .c-status { padding: 32px 24px; }
  html[data-art="c"] body #app .c-track { grid-template-columns: 1fr; gap: 0; }
  html[data-art="c"] body #app .c-track > li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 16px; padding: 0 0 20px; }
  html[data-art="c"] body #app .c-track > li::before { top: 28px; bottom: 0; left: 11px; right: auto; width: 2px; height: auto; }
  html[data-art="c"] body #app .c-tk-dot { grid-row: 1 / span 2; }
  html[data-art="c"] body #app .c-tk-n { margin-top: 0; }
  html[data-art="c"] body #app .c-photos { grid-template-columns: 1fr; }
  html[data-art="c"] body #app .c-ph-row img, html[data-art="c"] body #app .c-ph-none { width: 88px; height: 66px; }
  html[data-art="c"] body #app .c-aside { position: static; }
  html[data-art="c"] body #app .c-sum { padding: 4px 20px; }
}

/* ==========================================================================================================================
   ART DIRECTION A, "Editorial calm" (17 October 2026). A study, active only with ?art=a (app/art-a.js sets
   html[data-art="a"]). Every selector starts html[data-art="a"], so nothing changes when the study is off.
   Spec and tokens: ../old/explore/visual/direction-a.md
   ========================================================================================================================== */
html[data-art="a"] {
  --aa-ink: #333333; --aa-mute: #5E5E5E; --aa-line: #DDDDDD; --aa-gray: #F5F5F5; --aa-mint: #E6FAE7; --aa-hover: #D5F7D7;
  --aa-green: #008A28; --aa-green-t: #00700B; --aa-deep: #004C07; --aa-lime: #E9F368; --aa-red: #D63D29; --aa-off: #ADADAD;
  --aa-g: 24px;          /* the gutter of the 12-column grid */
  --aa-sec: 80px;        /* between sections (the system's --gap-section) */
  --aa-r: 24px;          /* every card and panel */
  --aa-leaf: 200px;      /* Fennia's leaf corner, the hero panel only */
}
html[data-art="a"] body #app .aa { container: aa / inline-size; color: var(--aa-ink); }
html[data-art="a"] body #app .aa p, html[data-art="a"] body #app .aa h1, html[data-art="a"] body #app .aa h2, html[data-art="a"] body #app .aa h3, html[data-art="a"] body #app .aa ul, html[data-art="a"] body #app .aa ol, html[data-art="a"] body #app .aa dl { margin: 0; }
html[data-art="a"] body #app .aa ul, html[data-art="a"] body #app .aa ol { list-style: none; padding: 0; }
html[data-art="a"] body #app .aa h1 { font-size: 40px !important; line-height: 44px !important; font-weight: 700 !important; letter-spacing: -0.02em; color: var(--aa-green-t); }
html[data-art="a"] body #app .aa .aa-lead { margin-top: 16px; font-size: 20px; line-height: 28px; color: var(--aa-ink); max-width: 34em; }
html[data-art="a"] body #app .aa .aa-p { color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-link { color: var(--aa-green-t); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html[data-art="a"] body #app .aa .aa-link:hover { text-decoration-thickness: 2px; }
html[data-art="a"] body #app .aa a:focus-visible, html[data-art="a"] body #app .aa button:focus-visible { outline: 2px solid var(--aa-green-t) !important; outline-offset: 3px; box-shadow: none; }
html[data-art="a"] body #app .aa .hw-back { margin-bottom: 32px; }

/* Status, one look: a white badge with a dot and a word */
html[data-art="a"] body #app .aa .aa-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--aa-line); font-size: 12px; line-height: 16px; font-weight: 400; color: var(--aa-ink); white-space: nowrap; }
html[data-art="a"] body #app .aa .aa-badge::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--aa-green); }
html[data-art="a"] body #app .aa .aa-b-run::before { background: #fff; box-shadow: inset 0 0 0 2px var(--aa-green); }
html[data-art="a"] body #app .aa .aa-b-low::before { background: var(--aa-lime); box-shadow: inset 0 0 0 1px #7A8200; }
html[data-art="a"] body #app .aa .aa-b-gap::before { background: var(--aa-red); }

/* Figures: Regular, large, tabular; their words under them */
html[data-art="a"] body #app .aa .aa-fig { display: flex; flex-direction: column; min-width: 0; }
html[data-art="a"] body #app .aa .aa-fig-v { font-size: 40px; line-height: 44px; font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--aa-ink); white-space: nowrap; }
html[data-art="a"] body #app .aa .aa-fig-l { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--aa-mute); }

/* The hero of a policy or a claim: the words on eight columns, the panel on four */
html[data-art="a"] body #app .aa .aa-hero { display: grid; gap: 32px; }
html[data-art="a"] body #app .aa .aa-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-meta > span:not(.aa-badge) + span { padding-left: 16px; box-shadow: inset 1px 0 0 var(--aa-line); }
html[data-art="a"] body #app .aa .aa-figs { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-figs .aa-fig { flex: 0 1 auto; max-width: 260px; }
html[data-art="a"] body #app .aa .aa-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
html[data-art="a"] body #app .aa .aa-panel { border-radius: var(--aa-r) 120px var(--aa-r) var(--aa-r); }
html[data-art="a"] body #app .aa .aa-panel-art { order: -1; display: flex; align-items: flex-end; min-height: 176px; padding: 24px; background: var(--aa-gray); }
html[data-art="a"] body #app .aa .aa-panel-art img { width: 112px; height: 112px; }
html[data-art="a"] body #app .aa .aa-panel-mint, html[data-art="a"] body #app .aa .aa-panel-do { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; background: var(--aa-mint); }
html[data-art="a"] body #app .aa .aa-panel-do { background: #FFFFD2; }
html[data-art="a"] body #app .aa .aa-note-art img { display: block; width: 64px; height: 64px; }
html[data-art="a"] body #app .aa .aa-note-t { margin-top: 32px; font-size: 20px; line-height: 24px; font-weight: 700; color: var(--aa-deep); }
html[data-art="a"] body #app .aa .aa-panel-do .aa-note-t { margin-top: 0; color: var(--aa-ink); }
html[data-art="a"] body #app .aa .aa-panel-mint p:not(.aa-note-t), html[data-art="a"] body #app .aa .aa-panel-do p:not(.aa-note-t) { margin-top: 8px; color: var(--aa-ink); }
html[data-art="a"] body #app .aa .aa-panel-mint .btn, html[data-art="a"] body #app .aa .aa-panel-do .btn { margin-top: 24px; }

/* A section: the title in the side column, the content in the main column; stacked when narrow */
html[data-art="a"] body #app .aa .aa-sec { display: grid; gap: 24px; margin-top: var(--aa-sec); padding-top: 32px; border-top: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-side h2 { font-size: 28px !important; line-height: 32px !important; font-weight: 700 !important; letter-spacing: -0.01em; color: var(--aa-ink); }
html[data-art="a"] body #app .aa .aa-side p { margin-top: 12px; color: var(--aa-mute); max-width: 36em; }
html[data-art="a"] body #app .aa .aa-main { min-width: 0; }
html[data-art="a"] body #app .aa .aa-main h3 { font-size: 20px; line-height: 24px; font-weight: 700; color: var(--aa-ink); }

/* Cards: Fennia's gray card; a whole-card link takes the green inset edge on hover, as the policy cards do */
html[data-art="a"] body #app .aa .aa-card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 32px; border-radius: var(--aa-r); background: var(--aa-gray); color: var(--aa-ink); text-decoration: none; }
html[data-art="a"] body #app .aa a.aa-card:hover, html[data-art="a"] body #app .aa a.pc0:hover { box-shadow: inset 0 0 0 2px var(--aa-green-t); }
html[data-art="a"] body #app .aa .aa-cue { margin-top: auto; padding-top: 24px; color: var(--aa-green-t); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html[data-art="a"] body #app .aa a.aa-card:hover .aa-cue { text-decoration-thickness: 2px; }
html[data-art="a"] body #app .aa .pc0 { border-radius: var(--aa-r); padding: 32px; min-height: 264px; }
html[data-art="a"] body #app .aa .aa-pcs { display: grid; gap: var(--aa-g); }
html[data-art="a"] body #app .aa .aa-pcs > li { display: flex; }

/* Home: the hero, Fennia's green moment on a leaf-cornered mint field */
html[data-art="a"] body #app .aa .aa-hhero { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 40px 24px 0; border-radius: var(--aa-r) 120px var(--aa-r) var(--aa-r); background: var(--aa-mint); }
html[data-art="a"] body #app .aa .aa-hhero h1 { color: var(--aa-deep); }
html[data-art="a"] body #app .aa .aa-hhero-tx { position: relative; z-index: 1; max-width: 600px; }
html[data-art="a"] body #app .aa .aa-ask { max-width: none; margin: 32px 0 0 !important; box-shadow: none; }
html[data-art="a"] body #app .aa .aa-ask:has(input:focus-visible) { outline: 2px solid var(--aa-green-t); }
html[data-art="a"] body #app .aa .aa-sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
html[data-art="a"] body #app .aa .aa-sugg button { min-height: 44px; padding: 10px 16px; border: 1px solid #C5E8C9; border-radius: 999px; background: #fff; font: inherit; font-size: 16px; line-height: 24px; color: var(--aa-green-t); text-align: left; cursor: pointer; }
html[data-art="a"] body #app .aa .aa-sugg button:hover { border-color: var(--aa-green-t); }
html[data-art="a"] body #app .aa .aa-fine { margin-top: 16px; color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-town { display: flex; align-items: flex-end; justify-content: flex-end; gap: 4px; margin-top: 32px; pointer-events: none; }
html[data-art="a"] body #app .aa .aa-town img { display: block; width: 48px; height: auto; }
html[data-art="a"] body #app .aa .aa-nowsec { margin-top: var(--aa-g); }
html[data-art="a"] body #app .aa .aa-now { display: grid; gap: var(--aa-g); }
html[data-art="a"] body #app .aa .aa-now > li { display: flex; }
html[data-art="a"] body #app .aa .aa-now-c { min-height: 232px; }
html[data-art="a"] body #app .aa .aa-now-art img { display: block; width: 48px; height: 48px; }
html[data-art="a"] body #app .aa .aa-now-c .aa-fig { margin-top: 32px; }
html[data-art="a"] body #app .aa .aa-now-c .aa-fig-v { white-space: normal; }

/* Home: the five cases as rows, words first, the figure and its verdict at the right */
html[data-art="a"] body #app .aa .aa-answer .aa-fig-l { max-width: 34em; }
html[data-art="a"] body #app .aa .aa-cases { margin-top: 32px; border-top: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-cases > li { display: grid; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-case-t p { margin-top: 8px; color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-case-v { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--aa-mute); font-variant-numeric: tabular-nums; }
html[data-art="a"] body #app .aa .aa-case-v b { font-size: 20px; line-height: 24px; font-weight: 400; color: var(--aa-ink); }
html[data-art="a"] body #app .aa .aa-more { margin-top: 24px; }

/* The Fennia insight: the page's one dark green block, the lime tag under its title */
html[data-art="a"] body #app .aa .aa-ins { margin-top: 32px; padding: 32px; border-radius: var(--aa-r); background: var(--aa-deep); color: #fff; }
html[data-art="a"] body #app .aa .aa-ins h3 { max-width: 30em; color: #fff; }
html[data-art="a"] body #app .aa .aa-ins-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 8px; border-radius: 4px; background: var(--aa-lime); color: var(--aa-ink); font-size: 12px; line-height: 16px; }
html[data-art="a"] body #app .aa .aa-ins-tag svg { width: 16px; height: 16px; }
html[data-art="a"] body #app .aa .aa-ins p { margin-top: 16px; max-width: 40em; color: #fff; }
html[data-art="a"] body #app .aa .aa-ins-act { margin-top: 24px; }
html[data-art="a"] body #app .aa .aa-btn-on-dark { background: #fff !important; color: var(--aa-deep) !important; border: 0 !important; }
html[data-art="a"] body #app .aa .aa-btn-on-dark:hover { background: var(--aa-mint) !important; }
html[data-art="a"] body #app .aa .aa-ins a:focus-visible { outline-color: #fff !important; }

/* Coming up: the date first and largest */
html[data-art="a"] body #app .aa .aa-tl { border-top: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-tl > li { display: grid; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-tl-d { font-size: 20px; line-height: 24px; font-weight: 700; }
html[data-art="a"] body #app .aa .aa-tl-y { display: block; margin-top: 4px; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-tl-x { display: flex; flex-direction: column; gap: 4px; }
html[data-art="a"] body #app .aa .aa-tl-x > span { color: var(--aa-mute); }

/* A policy: what it covers, as rows; the cover's name opens its examples */
html[data-art="a"] body #app .aa .aa-covs { border-top: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-cov { position: relative; padding: 24px 0; border-bottom: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-cov-b { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--aa-ink); text-align: left; cursor: pointer; }
html[data-art="a"] body #app .aa .aa-cov-b::after { content: ""; position: absolute; inset: 0; }
html[data-art="a"] body #app .aa .aa-i { display: inline-flex; color: var(--aa-green-t); }
html[data-art="a"] body #app .aa .aa-i svg { width: 20px; height: 20px; }
html[data-art="a"] body #app .aa .aa-cov:hover .aa-cov-b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--aa-green-t); }
html[data-art="a"] body #app .aa .aa-cov-b:focus-visible { outline: none !important; }
html[data-art="a"] body #app .aa .aa-cov-b:focus-visible::after { outline: 2px solid var(--aa-green-t); outline-offset: 2px; border-radius: 4px; }
html[data-art="a"] body #app .aa .aa-cov p { margin-top: 8px; max-width: 40em; color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-cov .aa-cov-l { color: var(--aa-ink); font-variant-numeric: tabular-nums; }
html[data-art="a"] body #app .aa .aa-h3 { margin-top: 40px; }
html[data-art="a"] body #app .aa .aa-not { display: grid; gap: 12px; margin-top: 16px; }
html[data-art="a"] body #app .aa .aa-not li { display: flex; gap: 12px; max-width: 40em; }
html[data-art="a"] body #app .aa .aa-not svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-ask-row { margin-top: 32px; }

/* A policy: the package, in words. Each level a row; hers carries Fennia's green edge */
html[data-art="a"] body #app .aa .aa-lvs { display: grid; gap: 12px; }
html[data-art="a"] body #app .aa .aa-lv { padding: 24px; border-radius: var(--aa-r); background: #fff; box-shadow: inset 0 0 0 1px var(--aa-line); }
html[data-art="a"] body #app .aa .aa-lv.is-cur { box-shadow: inset 0 0 0 2px var(--aa-green); }
html[data-art="a"] body #app .aa .aa-lv.is-down { background: var(--aa-gray); box-shadow: none; }
html[data-art="a"] body #app .aa .aa-lv.is-down h3, html[data-art="a"] body #app .aa .aa-lv.is-down p { color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-lv-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
html[data-art="a"] body #app .aa .aa-lv-p { margin-left: auto; font-size: 20px; line-height: 24px; font-variant-numeric: tabular-nums; white-space: nowrap; }
html[data-art="a"] body #app .aa .aa-lv p { margin-top: 8px; max-width: 40em; color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-lv .btn { margin-top: 24px; }

/* A policy: its claims, documents and details */
html[data-art="a"] body #app .aa .aa-clcs { display: grid; gap: 12px; }
html[data-art="a"] body #app .aa .aa-clc { display: grid; gap: 16px; padding: 24px 32px; }
html[data-art="a"] body #app .aa .aa-clc-t b { display: block; font-size: 20px; line-height: 24px; }
html[data-art="a"] body #app .aa .aa-clc-t span { display: block; margin-top: 8px; color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-clc-f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
html[data-art="a"] body #app .aa .aa-mt { margin-top: 24px; }
html[data-art="a"] body #app .aa .aa-docs { border-top: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-docs > li { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-doc-i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--aa-gray); color: var(--aa-green); }
html[data-art="a"] body #app .aa .aa-doc-i svg { width: 24px; height: 24px; }
html[data-art="a"] body #app .aa .aa-doc-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
html[data-art="a"] body #app .aa .aa-doc-t > span { color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-doc-b { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--aa-green-t); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html[data-art="a"] body #app .aa .aa-doc-b::after { content: ""; position: absolute; inset: 0; }
html[data-art="a"] body #app .aa .aa-docs > li:hover .aa-doc-b { text-decoration-thickness: 2px; }
html[data-art="a"] body #app .aa .aa-doc-b:focus-visible { outline: none !important; }
html[data-art="a"] body #app .aa .aa-doc-b:focus-visible::after { outline: 2px solid var(--aa-green-t); outline-offset: 2px; border-radius: 4px; }
html[data-art="a"] body #app .aa .aa-dl { border-top: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-dl > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-dl dt { color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-dl dd { margin: 0; color: var(--aa-ink); }

/* A claim: the progress track, and the money as rows that start with their figure */
html[data-art="a"] body #app .aa .aa-track { display: grid; gap: 24px; }
html[data-art="a"] body #app .aa .aa-track > li { position: relative; display: flex; flex-direction: column; padding-left: 44px; min-height: 28px; }
html[data-art="a"] body #app .aa .aa-track > li::before { content: ""; position: absolute; left: 13px; top: 32px; bottom: -20px; width: 2px; background: var(--aa-line); }
html[data-art="a"] body #app .aa .aa-track > li:last-child::before { display: none; }
html[data-art="a"] body #app .aa .aa-track > li.done::before { background: var(--aa-green); }
html[data-art="a"] body #app .aa .aa-dot { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--aa-off); color: #fff; }
html[data-art="a"] body #app .aa .aa-dot svg { width: 16px; height: 16px; }
html[data-art="a"] body #app .aa .done .aa-dot { background: var(--aa-green); box-shadow: none; }
html[data-art="a"] body #app .aa .now .aa-dot { box-shadow: inset 0 0 0 2px var(--aa-green); }
html[data-art="a"] body #app .aa .now .aa-dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--aa-green); }
html[data-art="a"] body #app .aa .aa-st-n { font-weight: 700; padding-top: 2px; }
html[data-art="a"] body #app .aa .aa-st-d { margin-top: 4px; color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-money { border-top: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-money > li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--aa-line); }
html[data-art="a"] body #app .aa .aa-m-v { font-size: 28px; line-height: 32px; font-variant-numeric: tabular-nums; white-space: nowrap; }
html[data-art="a"] body #app .aa .aa-m-t b { display: inline-flex; align-items: center; gap: 8px; }
html[data-art="a"] body #app .aa .aa-m-t > span { display: block; margin-top: 4px; max-width: 40em; color: var(--aa-mute); }
html[data-art="a"] body #app .aa .aa-m-sum { box-shadow: inset 0 1px 0 var(--aa-ink); }

/* Wide: one 12-column grid. Side titles on four columns, content on eight; the hero's words on eight, its panel on four */
@container aa (min-width: 560px) {
  html[data-art="a"] body #app .aa .aa-pcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-art="a"] body #app .aa .aa-cases > li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  html[data-art="a"] body #app .aa .aa-case-v { flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; white-space: nowrap; }
  html[data-art="a"] body #app .aa .aa-tl > li { grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; }
  html[data-art="a"] body #app .aa .aa-dl > div { grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; }
  html[data-art="a"] body #app .aa .aa-money > li { grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; align-items: baseline; }
  html[data-art="a"] body #app .aa .aa-clc { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; }
  html[data-art="a"] body #app .aa .aa-clc-f { flex-direction: column; align-items: flex-end; text-align: right; }
  html[data-art="a"] body #app .aa .aa-track { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; }
  html[data-art="a"] body #app .aa .aa-track > li { padding: 44px 16px 0 0; }
  html[data-art="a"] body #app .aa .aa-track > li::before { left: 36px; right: 8px; top: 13px; bottom: auto; width: auto; height: 2px; }
  html[data-art="a"] body #app .aa .aa-hhero { padding: 56px 56px 0; }
  html[data-art="a"] body #app .aa .aa-town img { width: 64px; }
}
@container aa (min-width: 840px) {
  html[data-art="a"] body #app .aa .aa-hero { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--aa-g); row-gap: 0; }
  html[data-art="a"] body #app .aa .aa-hero-tx { grid-column: 1 / span 8; }
  html[data-art="a"] body #app .aa .aa-hero > .aa-panel { grid-column: 9 / span 4; order: 0; margin-top: 76px; border-top-right-radius: var(--aa-leaf); }
  html[data-art="a"] body #app .aa .aa-panel-art { min-height: 0; padding: 32px; }
  html[data-art="a"] body #app .aa .aa-panel-art img { width: 160px; height: 160px; }
  html[data-art="a"] body #app .aa .aa-sec { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--aa-g); }
  html[data-art="a"] body #app .aa .aa-side { grid-column: 1 / span 4; align-self: start; position: sticky; top: 32px; padding-right: 24px; }
  html[data-art="a"] body #app .aa .aa-main { grid-column: 5 / span 8; }
  html[data-art="a"] body #app .aa .aa-now { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html[data-art="a"] body #app .aa .aa-hhero { min-height: 440px; padding: 64px 64px 0; border-top-right-radius: var(--aa-leaf); }
  html[data-art="a"] body #app .aa .aa-town { position: absolute; right: 56px; bottom: 0; margin: 0; gap: 4px; }
  html[data-art="a"] body #app .aa .aa-town img { width: 64px; }
}

/* Art B: the policy and claim heads. The title and its line on the left, the product's illustration on a white disc with a few
   building pieces on the right, then the facts on a white plate, all inside the green moment */
html[data-art="b"] body #app .b-hero-g { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--b-6); align-items: center; margin-top: var(--b-3); }
@media (max-width: 1023px) { html[data-art="b"] body #app .b-hero-g { grid-template-columns: minmax(0, 1fr); } html[data-art="b"] body #app .b-scene { display: none; } }
html[data-art="b"] body #app .b-scene { position: relative; width: 320px; height: 256px; }
html[data-art="b"] body #app .b-disc { position: absolute; left: 48px; top: 16px; display: grid; place-items: center; width: 224px; height: 224px; border-radius: 50%; background: #fff; }
html[data-art="b"] body #app .b-disc img { width: 128px; height: 128px; }
html[data-art="b"] body #app .b-sp { position: absolute; width: 64px; height: 64px; }
html[data-art="b"] body #app .b-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: var(--b-6) !important; overflow: hidden; border-radius: var(--b-r); background: var(--b-line); }
@media (max-width: 899px) { html[data-art="b"] body #app .b-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html[data-art="b"] body #app .b-facts li { display: grid; align-content: start; gap: 4px; padding: var(--b-3); background: #fff; }
html[data-art="b"] body #app .b-facts b { font-size: 28px; line-height: 32px; letter-spacing: -0.01em; color: var(--b-ink); font-variant-numeric: tabular-nums; }
html[data-art="b"] body #app .b-facts span { color: var(--b-ink-2); }

/* The covers: gray cards, each opens its drawer; the limit and "See examples" at the foot say it opens */
html[data-art="b"] body #app .b-covs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--b-2); }
html[data-art="b"] body #app .b-covs.b-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html[data-art="b"] body #app .b-covs:not(.b-c3) > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 767px) { html[data-art="b"] body #app .b-covs, html[data-art="b"] body #app .b-covs.b-c3 { grid-template-columns: minmax(0, 1fr); } }
html[data-art="b"] body #app .b-cov { min-height: 232px; }
html[data-art="b"] body #app .b-ci { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--b-green); }
html[data-art="b"] body #app .b-ci svg.i { width: 24px; height: 24px; }
html[data-art="b"] body #app .b-cov .b-ct { padding-top: var(--b-3); margin-top: 0; }
html[data-art="b"] body #app .b-cov-f { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--b-1) var(--b-3); margin-top: auto; padding-top: var(--b-3); }
html[data-art="b"] body #app .b-lim { color: var(--b-ink); font-weight: 700 !important; font-variant-numeric: tabular-nums; }
html[data-art="b"] body #app .b-more { color: var(--b-green-t); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 112, 11, .4); }
html[data-art="b"] body #app :is(.b-card:hover, .b-card:focus-within) .b-more { text-decoration-color: currentColor; }

/* The two packages in words, on the insight's plate */
html[data-art="b"] body #app .b-lv li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--b-1) var(--b-2); padding: var(--b-2) 0; border-top: 1px solid var(--b-line); }
html[data-art="b"] body #app .b-lvn { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
html[data-art="b"] body #app .b-lvn b { font-size: 20px; line-height: 24px; font-weight: 700 !important; }
html[data-art="b"] body #app .b-lvp { color: var(--b-ink-2); white-space: nowrap; } html[data-art="b"] body #app .b-lvp b { color: var(--b-ink); font-weight: 700 !important; }
html[data-art="b"] body #app .b-lvt { grid-column: 1 / -1; color: var(--b-ink-2); }

/* The paperwork band: claims as white cards, documents as white rows */
html[data-art="b"] body #app .b-clist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--b-2); }
@media (max-width: 767px) { html[data-art="b"] body #app .b-clist { grid-template-columns: minmax(0, 1fr); } }
html[data-art="b"] body #app .b-clc { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: space-between; gap: var(--b-3) var(--b-2); min-height: 0; }
html[data-art="b"] body #app .b-clc .b-ct { margin-top: 0; padding-top: 0; }
html[data-art="b"] body #app .b-clc .b-cf { grid-column: 1 / -1; margin-top: var(--b-2); }
html[data-art="b"] body #app .b-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--b-2) !important; }
@media (max-width: 899px) { html[data-art="b"] body #app .b-docs { grid-template-columns: minmax(0, 1fr); } }
html[data-art="b"] body #app .b-docs li.doc-card.dc2.dcv { margin: 0 !important; border-radius: var(--b-r) !important; }
html[data-art="b"] body #app .b-docs li.doc-card.dc2.dcv:not(:hover):not(:focus-within) { background: #fff !important; }

/* The claim: where it is, answer first, on a white plate with the track */
html[data-art="b"] body #app .b-status { margin-top: var(--b-6); padding: var(--b-4); border-radius: var(--b-r); background: #fff; }
html[data-art="b"] body #app .b-st-h { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--b-3); }
html[data-art="b"] body #app .b-st-t { font-size: 28px; line-height: 32px; color: var(--b-ink); font-weight: 700 !important; }
html[data-art="b"] body #app .b-st-h p { margin: 12px 0 0; color: var(--b-ink-2); }
html[data-art="b"] body #app .b-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: var(--b-4) !important; }
html[data-art="b"] body #app .b-track li { position: relative; display: grid; align-content: start; gap: 4px; padding-right: var(--b-2); }
html[data-art="b"] body #app .b-track li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 40px; right: 8px; height: 2px; border-radius: 1px; background: var(--b-line); }
html[data-art="b"] body #app .b-track li.done:not(:last-child)::after { background: var(--b-green); }
html[data-art="b"] body #app .b-dot { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #ADADAD; color: #fff; }
html[data-art="b"] body #app .b-track .done .b-dot { background: var(--b-green); box-shadow: none; }
html[data-art="b"] body #app .b-dot svg.i { width: 20px; height: 20px; }
html[data-art="b"] body #app .b-track .now .b-dot { box-shadow: inset 0 0 0 3px var(--b-green); }
html[data-art="b"] body #app .b-track .now .b-dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--b-green); }
html[data-art="b"] body #app .b-sn { color: var(--b-ink); } html[data-art="b"] body #app .b-track .now .b-sn { font-weight: 700 !important; }
html[data-art="b"] body #app .b-sd { color: var(--b-ink-2); }
@media (max-width: 639px) {
  html[data-art="b"] body #app .b-st-h { flex-direction: column-reverse; gap: var(--b-2); }
  html[data-art="b"] body #app .b-track { grid-auto-flow: row; gap: var(--b-3); }
  html[data-art="b"] body #app .b-track li { padding: 4px 0 0 48px; min-height: 56px; }
  html[data-art="b"] body #app .b-dot { position: absolute; left: 0; top: 0; margin: 0; }
  html[data-art="b"] body #app .b-track li:not(:last-child)::after { top: 40px; bottom: -16px; left: 15px; right: auto; width: 2px; height: auto; }
}
html[data-art="b"] body #app .b-sum li { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: baseline; gap: var(--b-2); padding: var(--b-2) 0; border-top: 1px solid var(--b-line); }
html[data-art="b"] body #app .b-sum b { font-size: 20px; line-height: 24px; text-align: right; font-variant-numeric: tabular-nums; color: var(--b-ink); }
html[data-art="b"] body #app .b-sum span { color: var(--b-ink-2); }
html[data-art="b"] body #app .b-sum .tot { border-top: 2px solid var(--b-ink); }
html[data-art="b"] body #app .b-sum .tot b { font-size: 28px; line-height: 32px; font-weight: 700 !important; }
html[data-art="b"] body #app .b-sum .tot span { color: var(--b-ink); font-weight: 700 !important; }

/* Attachments: the photos as photos, documents as a sheet with its type */
html[data-art="b"] body #app .b-atts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--b-2); }
@media (max-width: 1023px) { html[data-art="b"] body #app .b-atts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { html[data-art="b"] body #app .b-atts { grid-template-columns: minmax(0, 1fr); } }
html[data-art="b"] body #app .b-att { min-height: 232px; cursor: default; }
html[data-art="b"] body #app .b-att:has(.b-open:hover) { box-shadow: inset 0 0 0 1.5px var(--b-green-t); }
html[data-art="b"] body #app .b-att:has(.b-open:focus-visible) { outline: 2px solid var(--b-deep); outline-offset: 2px; }
html[data-art="b"] body #app .b-open { padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font-family: inherit; }
html[data-art="b"] body #app .b-open::after { content: ""; position: absolute; inset: 0; border-radius: var(--b-r); }
html[data-art="b"] body #app .b-open:focus-visible { outline: none; }
html[data-art="b"] body #app .b-att .b-ct { padding-top: var(--b-3); }
html[data-art="b"] body #app .b-att .b-more { margin-top: var(--b-2); }
html[data-art="b"] body #app .b-file { position: relative; display: grid; place-items: center; width: 56px; height: 72px; border-radius: var(--b-r-sm); background: #fff; color: var(--b-green); box-shadow: inset 0 0 0 1px var(--b-line); }
html[data-art="b"] body #app .b-file svg.i { width: 24px; height: 24px; margin-top: -12px; }
html[data-art="b"] body #app .b-file b { position: absolute; left: 8px; bottom: 8px; padding: 0 4px; border-radius: 4px; background: var(--b-deep); color: #fff; font-size: 12px; line-height: 16px; font-weight: 700 !important; }
html[data-art="b"] body #app .b-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; overflow: hidden; border-radius: var(--b-r-sm); }
html[data-art="b"] body #app .b-shots img { display: block; width: 100%; height: 96px; object-fit: cover; }

/* The claim's band: the details on a white card beside the help card */
html[data-art="b"] body #app .b-band-g { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--b-6); align-items: start; }
@media (max-width: 1279px) { html[data-art="b"] body #app .b-band-g { grid-template-columns: minmax(0, 1fr); } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { html[data-art="b"] body #app .b-band-g { grid-template-columns: minmax(0, 1fr); }}
html[data-art="b"] body #app .b-dl { padding: var(--b-1) var(--b-4); border-radius: var(--b-r); background: #fff; }
html[data-art="b"] body #app .b-dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--b-2); padding: var(--b-2) 0; border-top: 1px solid var(--b-line); }
html[data-art="b"] body #app .b-dl > div:first-child { border-top: 0; }
html[data-art="b"] body #app .b-dl dt { color: var(--b-ink-2); } html[data-art="b"] body #app .b-dl dd { margin: 0; color: var(--b-ink); }
html[data-art="b"] body #app .b-help { padding: var(--b-4); border-radius: var(--b-r); background: #fff; }
html[data-art="b"] body #app .b-help h2 { margin-top: var(--b-3); }
html[data-art="b"] body #app .b-help p { margin: var(--b-1) 0 0; color: var(--b-ink-2); }
html[data-art="b"] body #app .b-help .b-acts { margin-top: var(--b-3); }
@media (max-width: 1279px) { html[data-art="b"] body #app .b-help { margin-top: 0; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { html[data-art="b"] body #app .b-help { margin-top: 0; }}
@media (max-width: 1023px) { html[data-art="b"] body #app .b-gm { padding-bottom: var(--b-6); } html[data-art="b"] body #app .b-ins, html[data-art="b"] body #app .b-status, html[data-art="b"] body #app .b-help { padding: var(--b-3); } html[data-art="b"] body #app .b-dl { padding: var(--b-1) var(--b-3); } html[data-art="b"] body #app .b-plate { padding: var(--b-3); } html[data-art="b"] body #app .b-ins { --b-leaf: 96px; } }
/* Direction C, second pass (17 October 2026): equal columns for the two lists, a lone tile across both columns, the leaf on the
   policy's certificate card only, facts that keep their label on one line */
html[data-art="c"] body #app .c-two { align-items: stretch; }
html[data-art="c"] body #app .c-two > .c-sec { display: flex; flex-direction: column; }
html[data-art="c"] body #app .c-two > .c-sec > .c-list { flex: 1; }
html[data-art="c"] body #app .c-dates .c-row { grid-template-columns: 144px minmax(0, 1fr); }
html[data-art="c"] body #app .c-covs > li:only-child { grid-column: 1 / -1; }
html[data-art="c"] body #app .c-aside .c-card:first-child { border-top-right-radius: var(--c-r); }
html[data-art="c"] body #app .c-pol .c-aside .c-card:first-child { border-top-right-radius: 96px; }
html[data-art="c"] body #app .c-dl > div { grid-template-columns: auto minmax(0, 1fr); gap: 24px; }
html[data-art="c"] body #app .c-dl dt { white-space: nowrap; }
html[data-art="c"] body #app .c-dl dd { text-align: right; }
html[data-art="c"] body #app .c-dl dd:has(.c-copy) { white-space: nowrap; }
html[data-art="c"] body #app .c-cert-top img { display: block; height: 20px; width: auto; }
@media (max-width: 639px) { html[data-art="c"] body #app .c-dates .c-row { grid-template-columns: 1fr; } }
/* Direction A, round 2: the system's "#app * { font-weight: 400 !important }" (the fin.ai pass) flattens every Bold, so the
   names this direction sets Bold say so with !important; the hero's figures sit on three equal columns; the illustration
   fills the hero panel; Home's town stands clear of the words */
html[data-art="a"] body #app .aa .aa-main h3, html[data-art="a"] body #app .aa .aa-tl-d, html[data-art="a"] body #app .aa .aa-cov-b,
html[data-art="a"] body #app .aa .aa-clc-t b, html[data-art="a"] body #app .aa .aa-doc-b, html[data-art="a"] body #app .aa .aa-st-n,
html[data-art="a"] body #app .aa .aa-note-t, html[data-art="a"] body #app .aa .aa-m-t b, html[data-art="a"] body #app .aa .aa-ins h3 { font-weight: 700 !important; }
html[data-art="a"] body #app .aa .aa-tl-y, html[data-art="a"] body #app .aa .aa-case-v b, html[data-art="a"] body #app .aa .aa-fig-v { font-weight: 400 !important; }
html[data-art="a"] body #app .aa .aa-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
html[data-art="a"] body #app .aa .aa-figs .aa-fig { max-width: none; }
html[data-art="a"] body #app .aa .aa-fig-l { max-width: 18em; }
html[data-art="a"] body #app .aa .aa-panel-art { justify-content: center; align-items: center; }
@container aa (min-width: 560px) {
  html[data-art="a"] body #app .aa .aa-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html[data-art="a"] body #app .aa .aa-clm .aa-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container aa (min-width: 840px) {
  html[data-art="a"] body #app .aa .aa-panel-art img { width: 192px; height: 192px; }
  html[data-art="a"] body #app .aa .aa-hhero { padding-bottom: 64px; }
  html[data-art="a"] body #app .aa .aa-hhero-tx { max-width: 560px; }
  html[data-art="a"] body #app .aa .aa-town { right: 48px; }
  html[data-art="a"] body #app .aa .aa-town img { width: 80px; }
}

/* Art B, home insight second pass: the answer as one big plain figure, the five cases as white tiles under it, the case the offer
   fixes edged in lime (the offer's colour) */
html[data-art="b"] body #app .b-ins-home { row-gap: var(--b-6); }
html[data-art="b"] body #app .b-big { display: grid; gap: var(--b-1); align-content: start; margin: 0; max-width: 440px; justify-self: end; }
@media (max-width: 1279px) { html[data-art="b"] body #app .b-big { justify-self: start; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { html[data-art="b"] body #app .b-big { justify-self: start; }}
html[data-art="b"] body #app .b-big b { font-size: 40px; line-height: 44px; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
html[data-art="b"] body #app .b-big span { color: var(--b-on-deep); }
html[data-art="b"] body #app .b-tiles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--b-2); }
@media (max-width: 1279px) { html[data-art="b"] body #app .b-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) { html[data-art="b"] body #app .b-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 767px) { html[data-art="b"] body #app .b-tiles { grid-template-columns: minmax(0, 1fr); } }
html[data-art="b"] body #app .b-tiles li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--b-1); padding: var(--b-3) 20px; border-radius: var(--b-r); background: #fff; color: var(--b-ink); }
html[data-art="b"] body #app .b-tiles li.hot { box-shadow: inset 0 0 0 3px var(--b-lime); }
html[data-art="b"] body #app .b-tn { font-weight: 700 !important; }
html[data-art="b"] body #app .b-tl { color: var(--b-ink-2); }
html[data-art="b"] body #app .b-tf { margin-top: auto; padding-top: var(--b-2); color: var(--b-ink-2); font-variant-numeric: tabular-nums; }
html[data-art="b"] body #app .b-tf b { color: var(--b-ink); font-weight: 700 !important; }
html[data-art="b"] body #app .b-tiles .b-badge { margin-top: var(--b-1); }
/* Documents on the band, two across: the "View document" cue under the name, so long names never cut off */
html[data-art="b"] body #app .b-docs li.doc-card.dc2.dcv { grid-template-columns: 40px minmax(0, 1fr) !important; align-items: start !important; }
html[data-art="b"] body #app .b-docs .dcv .dc-cue { display: inline !important; grid-column: 2; justify-self: start; }
html[data-art="b"] body #app .b-docs .dc-k { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
html[data-art="a"] body #app .aa .aa-hhero-tx { max-width: none; }
html[data-art="a"] body #app .aa .aa-hhero-tx > h1, html[data-art="a"] body #app .aa .aa-hhero-tx > .aa-lead, html[data-art="a"] body #app .aa .aa-hhero-tx > .aa-ask { max-width: 600px; }
html[data-art="a"] body #app .aa .aa-sugg { max-width: 820px; }
/* Direction C, third pass (17 October 2026): the package as stacked option rows (Apple's configurator: the name and what it holds
   on the left, the price on the right, only the chosen row's edge changes); Fennia's building pieces standing on Home's strip */
html[data-art="c"] body #app .c-lvs, html[data-art="c"] body #app .c-lvs-3 { grid-template-columns: 1fr; gap: 12px; }
html[data-art="c"] body #app .c-lv { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 24px; padding: 24px 28px; }
html[data-art="c"] body #app .c-lv-tx b { display: block; font-size: 20px; line-height: 24px; }
html[data-art="c"] body #app .c-lv-tx p { margin: 8px 0 0 !important; max-width: 440px; color: var(--c-ink-2); }
html[data-art="c"] body #app .c-lv-end { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
html[data-art="c"] body #app .c-lv-p { white-space: nowrap; color: var(--c-ink); } html[data-art="c"] body #app .c-lv-p > span { color: var(--c-ink-2); }
html[data-art="c"] body #app .c-lv-end > .c-badge, html[data-art="c"] body #app .c-lv-end > .btn { margin: 0; }
html[data-art="c"] body #app .c-hhead { position: relative; }
html[data-art="c"] body #app .c-town { position: absolute; right: 24px; bottom: -40px; display: flex; align-items: flex-end; gap: 0; pointer-events: none; }
html[data-art="c"] body #app .c-town img { display: block; width: 72px; height: 72px; }
html[data-art="c"] body #app .c-town img:nth-child(2) { width: 88px; height: 88px; }
html[data-art="c"] body #app .c-town img:nth-child(3) { width: 80px; height: 80px; }
@media (max-width: 1279px) { html[data-art="c"] body #app .c-town { display: none; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { html[data-art="c"] body #app .c-town { display: none; }}
@media (max-width: 639px) {
  html[data-art="c"] body #app .c-strip-3 > li { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; padding: 20px 24px; }
  html[data-art="c"] body #app .c-strip-3 .c-fig { grid-row: 1 / span 4; }
  html[data-art="c"] body #app .c-strip-3 .c-lab { margin-top: 4px; }
  html[data-art="c"] body #app .c-strip-3 .c-link { padding-top: 8px; }
  html[data-art="c"] body #app .c-pols .pc0 { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; min-height: 0; }
  html[data-art="c"] body #app .c-pols .pc0-art { grid-row: 1 / span 2; }
  html[data-art="c"] body #app .c-pols .pc0-tx { padding-top: 0; margin-top: 0; }
  html[data-art="c"] body #app .c-pols .pc0-p { margin-top: 12px; grid-column: 2; }
  html[data-art="c"] body #app .c-doc { grid-template-columns: minmax(0, 1fr) auto; }
  html[data-art="c"] body #app .c-doc .c-doc-ic { display: none; }
  html[data-art="c"] body #app .c-lv { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  html[data-art="c"] body #app .c-lv-end { flex-direction: row; align-items: center; justify-content: space-between; }
}
html[data-art="b"] body #app .b-docs li.doc-card.dc2.dcv { align-content: start !important; }
/* Direction A, round 3: the back link sits above the hero, so the panel lines up with the title on wide screens and the art
   never comes before the way back on a phone; figures stack on a phone; the meta line's dividers only where it stays on one line;
   the photo tool in the ask field only where there is room */
html[data-art="a"] body #app .aa > .hw-back { display: inline-flex; margin-bottom: 32px; }
html[data-art="a"] body #app .aa .aa-figs { grid-template-columns: minmax(0, 1fr); gap: 16px; }
html[data-art="a"] body #app .aa .aa-meta > span:not(.aa-badge) + span { padding-left: 0; box-shadow: none; }
html[data-art="a"] body #app .aa .aa-ask .aiw-tool { display: none; }
html[data-art="a"] body #app .aa .aa-now-c, html[data-art="a"] body #app .aa .pc0 { min-height: 0; }
html[data-art="a"] body #app .aa .aa-now-c .aa-fig { margin-top: 24px; }
@container aa (min-width: 560px) {
  html[data-art="a"] body #app .aa .aa-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  html[data-art="a"] body #app .aa .aa-meta > span:not(.aa-badge) + span { padding-left: 16px; box-shadow: inset 1px 0 0 var(--aa-line); }
  html[data-art="a"] body #app .aa .aa-ask .aiw-tool { display: inline-grid; }
  html[data-art="a"] body #app .aa .aa-now-c { min-height: 232px; }
  html[data-art="a"] body #app .aa .aa-now-c .aa-fig { margin-top: 32px; }
  html[data-art="a"] body #app .aa .pc0 { min-height: 264px; }
}
@container aa (min-width: 840px) {
  html[data-art="a"] body #app .aa .aa-hero > .aa-panel { margin-top: 0; }
}
html[data-art="c"] body #app .c-sugg { max-width: 720px; }
html[data-art="c"] body #app .c-town { right: 56px; }
/* Art B on phones: cards hold their content, no tall empty space; the live facts as rows with the art at the left */
@media (max-width: 899px) {
  html[data-art="b"] body #app .b-cards3 .b-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--b-2); min-height: 0; }
  html[data-art="b"] body #app .b-cards3 .b-art, html[data-art="b"] body #app .b-cards3 .b-art img { width: 48px; height: 48px; }
  html[data-art="b"] body #app .b-cards3 .b-art { grid-row: 1 / span 2; }
  html[data-art="b"] body #app .b-cards3 .b-ct { padding-top: 0; margin-top: 0; }
  html[data-art="b"] body #app .b-cards3 .b-cf { grid-column: 2; margin-top: var(--b-2); }
}
@media (max-width: 767px) {
  html[data-art="b"] body #app .b-card { min-height: 0; }
  html[data-art="b"] body #app .b-pcs4 .pc0 { min-height: 0; }
  html[data-art="b"] body #app .b-pcs4 .pc0-tx { padding-top: var(--b-3); }
  html[data-art="b"] body #app .b-tiles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--b-1) var(--b-2); padding: var(--b-2) 20px; }
  html[data-art="b"] body #app .b-tiles :is(.b-tn, .b-tl) { grid-column: 1 / -1; }
  html[data-art="b"] body #app .b-tiles .b-tf { padding-top: var(--b-1); }
  html[data-art="b"] body #app .b-tiles .b-badge { margin-top: var(--b-1); justify-self: end; }
  html[data-art="b"] body #app .b-facts { grid-template-columns: minmax(0, 1fr); }
  html[data-art="b"] body #app .b-facts li { padding: var(--b-2) var(--b-3); }
  html[data-art="b"] body #app .b-sum li { grid-template-columns: 96px minmax(0, 1fr); }
  html[data-art="b"] body #app .b-ins h2 { padding-right: var(--b-4); }
}
/* Art B: five covers sit three and two, never four and an orphan; the renewal date gets the widest fact cell */
@media (min-width: 768px) {
  html[data-art="b"] body #app .b-covs.b-c5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  html[data-art="b"] body #app .b-covs.b-c5 > li { grid-column: span 2; }
  html[data-art="b"] body #app .b-covs.b-c5 > li:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 900px) { html[data-art="b"] body #app .b-facts { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); } }
@media (min-width: 768px) { html[data-art="b"] body #app .b-covs.b-c5:not(.b-c3) > li:nth-child(n+4):last-child, html[data-art="b"] body #app .b-covs.b-c5:not(.b-c3) > li:nth-child(n+4):nth-child(n) { grid-column: span 3; } }
html[data-art="b"] body #app .b-cov-f { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
html[data-art="c"] body #app .c-card > .c-quote { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 16px; color: var(--c-ink); }
html[data-art="c"] body #app .c-card > .c-quote .c-copy { margin: 0; }
html[data-art="c"] body #app .c-split i + i, html[data-art="c"] body #app .c-split-l li + li i { background: #ADADAD; }
@media (max-width: 639px) { html[data-art="c"] body #app .c-row-v { white-space: normal; } }
html[data-art="b"] body #app .b-scene .b-sp[style*="left:264px"] { left: 256px !important; }
/* Direction A, round 4: the ask field's whole placeholder fits on a phone */
html[data-art="a"] body #app .aa .aa-ask { padding-left: 16px; gap: 4px; }
@container aa (min-width: 560px) { html[data-art="a"] body #app .aa .aa-ask { padding-left: 22px; gap: 8px; } }
html[data-art="a"] body #app .aa .aa-hhero { padding-left: 16px; padding-right: 16px; }
html[data-art="a"] body #app .aa .aa-hhero-tx > h1, html[data-art="a"] body #app .aa .aa-hhero-tx > .aa-lead, html[data-art="a"] body #app .aa .aa-hhero-tx > .aa-sugg, html[data-art="a"] body #app .aa .aa-hhero-tx > .aa-fine { padding-left: 8px; padding-right: 8px; }
@container aa (min-width: 560px) {
  html[data-art="a"] body #app .aa .aa-hhero { padding-left: 56px; padding-right: 56px; }
  html[data-art="a"] body #app .aa .aa-hhero-tx > * { padding-left: 0 !important; padding-right: 0 !important; }
}
@container aa (min-width: 840px) { html[data-art="a"] body #app .aa .aa-hhero { padding-left: 64px; padding-right: 64px; } }
@container aa (min-width: 560px) { html[data-art="a"] body #app .aa .aa-hhero-tx > .aa-ask { padding: 8px 8px 8px 22px !important; } }
html[data-art="a"] body #app .aa .aa-hhero-tx > .aa-ask { padding: 8px 8px 8px 16px; }
