/* =====================================================================================================================
   v8 / purchase: buying and changing cover (17 October 2026). The offer page, its sheet, the acceptance dialog, the Change
   drawer, the green moment's white zone, and the guide (the plan she gets an offer from) in the flow shell.
   Spec: ../../old/explore/visual/PURCHASE-SPEC.md inside ../../old/explore/visual/VISUAL-SPEC.md. Markup: ../../prototype/app/v8-purchase.js
   and ../../prototype/app/guide.js. Loads after base.css; the specificity strategy is base.css's (README.md section 2):
   in-app rules start #v8 #app (2 ids), dialogs on <body> start #v8 .v8-dlgw, and only font-size and font-weight (and restyled
   older classes) carry !important. Only the five sizes; no font-size inside a media query.
   ===================================================================================================================== */

/* ---------- 1. Parts of the old offer page the new one keeps (19 October 2026: the head, the sheet, the cards, "You could also
   add", the invoice table, the icon rows and the scroll-in foot bar were replaced by section 14, the offer as a document) ---------- */
/* A booked meeting's line under the offer's title */
#v8 #app .v8-of-meta { align-items: flex-start; flex-wrap: nowrap; color: var(--v8-ink); }
#v8 #app .v8-of-meta svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--v8-green); }
/* The signature line, on the green moment's receipt */
#v8 #app .v8-of-sign { display: flex; align-items: flex-start; gap: var(--v8-3); margin-top: var(--v8-5); padding-top: var(--v8-5); border-top: 1px solid var(--v8-line); color: var(--v8-ink-2); }
#v8 #app .v8-of-signed { color: var(--v8-ink); }
#v8 #app .v8-of-signed .v8-seal { flex: none; margin-top: 0; }
#v8 #app .v8-of-pdf { min-height: 44px; margin-top: var(--v8-2); }
/* A changed price: a mint wash that fades (off with reduced motion) */
#v8 #app .v8-of-flash { border-radius: var(--v8-r-sm); animation: v8-of-fl 1.2s ease-out both; }
@keyframes v8-of-fl { from { background: var(--v8-mint); box-shadow: 0 0 0 8px var(--v8-mint); } to { background: transparent; box-shadow: 0 0 0 8px transparent; } }

/* ---------- 3. Two questions about her health: Yes and No as option rows ---------- */
#v8 #app .v8-of-qs { display: grid; gap: var(--v8-6); max-width: var(--v8-measure); }
#v8 #app .v8-of-q { margin: 0; padding: 0; border: 0; min-width: 0; }
#v8 #app .v8-of-ql { display: block; padding: 0; margin-bottom: var(--v8-4); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-lead) !important; font-weight: 700 !important; color: var(--v8-ink); text-wrap: pretty; }
#v8 #app .v8-of-yn { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: var(--v8-3); }
/* The rows' states (rest, hover, chosen, focus, error, disabled) are base.css 22's; only the layout is here (the integrator,
   18 October 2026) */
#v8 #app .v8-of-ynr { align-items: center; min-height: 56px; padding: 0 var(--v8-5); }
@media (max-width: 599px) { #v8 #app .v8-of-yn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#v8 :is(#app, .v8-dlgw) .v8-of-err { display: flex; align-items: flex-start; gap: 8px; margin-top: var(--v8-4); color: var(--v8-red); }
#v8 :is(#app, .v8-dlgw) .v8-of-err[hidden] { display: none; }
#v8 :is(#app, .v8-dlgw) .v8-of-err svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--v8-red); }

/* ---------- 4. Icon discs in the dialogs (What's covered) ---------- */
#v8 :is(#app, .v8-dlgw) .v8-of-ai { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--v8-white); color: var(--v8-green); }
#v8 :is(#app, .v8-dlgw) .v8-of-ai svg.i { width: 24px; height: 24px; color: var(--v8-green); }

/* ---------- 5. Option rows ---------- */
/* Option rows (pay, invoices, the drawer's packages, the dialogs): white, a hairline; only the edge changes when chosen */
#v8 :is(#app, .v8-dlgw) .v8-of-opts { margin: 0; padding: 0; border: 0; min-width: 0; }
#v8 :is(#app, .v8-dlgw) .v8-of-opts + .v8-of-opts { margin-top: var(--v8-6); }
#v8 :is(#app, .v8-dlgw) .v8-of-leg { display: block; padding: 0; margin-bottom: var(--v8-3); color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
#v8 :is(#app, .v8-dlgw) .v8-of-o { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: start; gap: var(--v8-2) var(--v8-4); padding: var(--v8-4) var(--v8-5); color: var(--v8-ink); cursor: pointer; }
#v8 :is(#app, .v8-dlgw) .v8-of-o + .v8-of-o { margin-top: var(--v8-3); }
#v8 :is(#app, .v8-dlgw) .v8-of-ot { display: grid; gap: 4px; min-width: 0; }
/* An option row's name is 20 Bold everywhere, as V8.options draws it (the integrator, 18 October 2026: it was 16 on step 2 and
   the offer, 20 in the Change drawer and in V8.options) */
#v8 :is(#app, .v8-dlgw) .v8-of-ot b { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
#v8 :is(#app, .v8-dlgw) .v8-of-ot > span { color: var(--v8-ink-2); }
#v8 :is(#app, .v8-dlgw) .v8-of-or { display: grid; justify-items: end; gap: var(--v8-2); white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--v8-ink-2); }
#v8 :is(#app, .v8-dlgw) .v8-of-or b { color: var(--v8-ink); font-weight: 700 !important; }
/* The radio is base.css 22's glyph (states and all); here only its place. The input itself stays in the row for the keyboard and
   screen readers (v8-vh) */
#v8 :is(#app, .v8-dlgw) .v8-of-o::before { content: ""; grid-column: 1; grid-row: 1; }
#v8 :is(#app, .v8-dlgw) .v8-of-o > .v8-of-ot { grid-column: 2; }
#v8 :is(#app, .v8-dlgw) .v8-of-o > .v8-of-or { grid-column: 3; }
@media (max-width: 479px) { #v8 :is(#app, .v8-dlgw) .v8-of-o { grid-template-columns: 24px minmax(0, 1fr); } #v8 :is(#app, .v8-dlgw) .v8-of-o > .v8-of-or { grid-column: 2; justify-items: start; } }

/* ---------- 6. Paragraphs in the offer's sections, and the insight's button on phones ---------- */
#v8 #app .v8-of-p { margin-top: var(--v8-5); }
#v8 #app .v8-of-p + .v8-of-p { margin-top: var(--v8-3); }
#v8 #app .v8-sh + .v8-of-p { margin-top: var(--v8-5) !important; }
@media (max-width: 639px) { #v8 #app :is(.v8-ofx, .gd8) .v8-ins .v8-ins-acts .v8-btn { max-width: 100%; height: auto; min-height: 44px; padding-top: 10px; padding-bottom: 10px; white-space: normal; text-align: left; } }

/* ---------- 7. (The scroll-in foot bar is gone: the offer's foot bar is section 13's .v8-bj-dock, section 14) ---------- */

/* ---------- 8. A new customer's frame: the flow's top bar around the offer (she has no portal yet) ---------- */
#v8 #app .v8-ofx { min-height: 100vh; background: var(--v8-white); }
#v8 #app .v8-ofx .page-in { max-width: 1176px; --v8-bleed: calc((100cqw - 100%) / 2); }   /* 100cqw: #app's width, so it holds when the AI drawer docks */
#v8 #app :is(.v8-ofx, .gd8) .v8-fbar { padding-left: max(var(--page-x), calc((100% - 1176px) / 2)); padding-right: max(var(--page-x), calc((100% - 1176px) / 2)); }
#v8 #app .v8-ofx .v8-fbar { justify-content: flex-start; }
#v8 #app .v8-ofx .v8-fbar-r { margin-left: auto; }
#v8 #app .v8-ofx .v8-talk { color: var(--v8-green-t); }
#v8 #app .v8-ofx-done .v8-fbar { border-bottom-color: transparent; }
/* Phones: the step count keeps its width ("Step 3 of 3"), down to 320 (base.css fits the bar below 360, VISUAL-SPEC 23) */
@media (max-width: 1023px) { #v8 #app :is(.v8-ofx, .gd8) .v8-fnav { flex: 1 0 auto; } }
/* The floating assistant answers about policies she owns; a new customer has none yet, so it stays off her offer */
#v8:has(#app .v8-ofx:not(.v8-ofx-own)) body .aiw-launch:not(.open) { display: none !important; }

/* ---------- 9. The green moment's white zone: what happens next, and the certificate for her landlord ---------- */
#v8 #app .v8-of-gm .v8-gm-card { padding: 0; background: none; }
#v8 #app .v8-of-gm .v8-gm-l { color: var(--v8-ink); }
#v8 #app .v8-of-after2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--v8-8); align-items: start; }
#v8 #app .v8-of-after1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
#v8 #app .v8-nw { white-space: nowrap; }
@media (max-width: 1099px) { #v8 #app .v8-of-after2 { 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) { #v8 #app .v8-of-after2 { grid-template-columns: minmax(0, 1fr); }}
#v8 #app .v8-of-next .v8-track { margin-top: var(--v8-5); }
#v8 #app .v8-of-next .v8-track .v8-sd { max-width: 46ch; }
#v8 #app .v8-of-cert .v8-line { margin-top: var(--v8-3); }
#v8 #app .v8-of-stage { display: grid; place-items: center; margin-top: var(--v8-5); padding: var(--v8-8) var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-of-stage .v8-cert { max-width: 360px; margin: 0; padding: var(--v8-6); }
#v8 #app .v8-of-url { overflow-wrap: anywhere; }
#v8 #app .v8-of-certa { margin-top: var(--v8-5); }
@media (max-width: 639px) { #v8 #app .v8-of-stage { padding: var(--v8-5) var(--v8-4); } #v8 #app .v8-of-stage .v8-cert { padding: var(--v8-5); } }

/* ---------- 10. Dialogs: accept, talk to an expert, the start date, what's covered, the Change drawer ---------- */
#v8 .v8-dlgw .v8-of-dlg { display: grid; gap: var(--v8-4); color: var(--v8-ink); font-size: var(--v8-fs-16); line-height: var(--v8-lh-16); }
#v8 .v8-dlgw .v8-of-dlg > p { margin: 0; max-width: var(--v8-measure); }
#v8 .v8-dlgw .v8-of-dlg .sr, #v8 .v8-dlgw .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#v8 .v8-dlgw .v8-of-sent { padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-lead) !important; font-weight: 400 !important; text-wrap: pretty; }
#v8 .v8-dlgw .v8-of-quiet, #v8 .v8-dlgw .v8-of-dnote { color: var(--v8-ink-2); }
#v8 .v8-dlgw .v8-dlg-h h2:focus { outline: none; }
#v8 .v8-dlgw .v8-dlg-h h2:focus-visible { outline: var(--v8-focus); outline-offset: 0 !important; border-radius: 4px; box-shadow: var(--v8-focus-glow) !important; }
#v8 .v8-dlgw .v8-of-pend { cursor: progress; }
#v8 .v8-dlgw .v8-of-fail { padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 .v8-dlgw .v8-of-fail[hidden] { display: none; }
#v8 .v8-dlgw .v8-of-failh { display: flex; align-items: center; gap: var(--v8-2); margin: 0 0 var(--v8-2); }
#v8 .v8-dlgw .v8-of-failh svg.i { width: 20px; height: 20px; color: var(--v8-red); }
#v8 .v8-dlgw .v8-of-failh b { font-weight: 700 !important; }
#v8 .v8-dlgw .v8-of-fail p:last-child { margin: 0; }
/* Fields in dialogs: the label above, a 48 white field with the field edge */
#v8 .v8-dlgw .v8-of-field { display: grid; gap: var(--v8-2); }
#v8 .v8-dlgw .v8-of-field[hidden] { display: none; }
#v8 .v8-dlgw .v8-of-field label { color: var(--v8-ink); }
#v8 .v8-dlgw .v8-of-hint { margin: -4px 0 0; color: var(--v8-ink-2); }
#v8 .v8-dlgw .v8-of-in { width: 100%; height: 56px; padding: 0 16px; border: 0; border-radius: var(--v8-r-sm); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-field); color: var(--v8-ink); font: inherit; font-size: var(--v8-fs-16) !important; -webkit-appearance: none; appearance: none; }
#v8 .v8-dlgw .v8-of-in:focus { outline: none; box-shadow: inset 0 0 0 2px var(--v8-deep); }
#v8 .v8-dlgw .v8-of-err-on .v8-of-in { box-shadow: inset 0 0 0 2px var(--v8-red); }
#v8 .v8-dlgw .v8-of-err-on .v8-of-err { margin-top: 0; }
/* What's covered: the covers with their amounts, then what isn't included, then the two documents */
#v8 .v8-dlgw .v8-of-h3 { margin: var(--v8-4) 0 0; font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
#v8 .v8-dlgw .v8-of-covl { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-lead) !important; }
#v8 .v8-dlgw :is(.v8-of-covs, .v8-of-not, .v8-of-docs) { margin: 0; padding: 0; list-style: none; }
#v8 .v8-dlgw :is(.v8-of-covs, .v8-of-docs) > li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: var(--v8-4); padding: var(--v8-3) 0; border-bottom: 1px solid var(--v8-line); }
#v8 .v8-dlgw :is(.v8-of-covs, .v8-of-docs) > li:last-child { border-bottom: 0; }
#v8 .v8-dlgw .v8-of-covs b { font-weight: 700 !important; }
#v8 .v8-dlgw .v8-of-covs li > span:last-child, #v8 .v8-dlgw .v8-of-docs li > span:last-child { color: var(--v8-ink); text-align: right; font-variant-numeric: tabular-nums; }
#v8 .v8-dlgw .v8-of-docs li > span:last-child { color: var(--v8-ink-2); }
#v8 .v8-dlgw .v8-of-ai { background: var(--v8-gray); }
#v8 .v8-dlgw .v8-of-docs .v8-link { justify-self: start; min-height: 44px; }
#v8 .v8-dlgw .v8-of-not > li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--v8-3); padding: 6px 0; }
#v8 .v8-dlgw .v8-of-not svg.i { width: 20px; height: 20px; margin-top: 2px; color: var(--v8-ink-2); }
@media (max-width: 599px) { #v8 .v8-dlgw .v8-of-covs > li { grid-template-columns: 48px minmax(0, 1fr); } #v8 .v8-dlgw .v8-of-covs li > span:last-child { grid-column: 2; text-align: left; } }
/* The Change drawer's foot: Remove at the left, the primary at the right */
#v8 .v8-dlgw .v8-of-rm { margin-right: auto; min-height: 44px; }
/* Phones: the acceptance dialog is a full-height sheet, buttons stacked, the primary on top */
@media (max-width: 639px) {
  #v8 .v8-dlgw .v8-modal { width: 100vw; max-height: 100vh; }
  #v8 .v8-dlgw .v8-modal.v8-of-acc { top: 0; left: 0; height: 100%; max-height: none; border-radius: 0; transform: none; }
  #v8 .v8-dlgw.v8-on .v8-modal.v8-of-acc { transform: none; }
  #v8 .v8-dlgw .v8-dlg-f { flex-direction: column-reverse; padding-left: var(--v8-4); padding-right: var(--v8-4); }
  #v8 .v8-dlgw .v8-dlg-f > .v8-btn { width: 100%; white-space: normal; text-align: center; }
  #v8 .v8-dlgw .v8-of-rm { margin: 0; align-self: center; }
}

/* =====================================================================================================================
   11. The guide in the flow shell (app/guide.js, gdFrame8): the plan she gets an offer from. The question column, "Your plan so
   far" as a white sheet on the gray stage, the plan cards, and the older gd- controls brought onto the v8 tokens
   ===================================================================================================================== */
#v8 #app .gd8 { --gd-ring: var(--v8-ring); --gd-lime: var(--v8-lime); --gd-dark: var(--v8-deep); }
#v8 #app .gd8 .gd-know h2 + .gd-hint { margin-top: var(--v8-2); }
#v8 #app .gd8 .v8-fig { align-content: start; }
#v8 #app .gd8-res .v8-stage { padding: var(--v8-4); }
#v8 #app .gd8-res .v8-sheet-doc { padding: var(--v8-5); }
#v8 #app .gd8 .v8-fbody > :first-child, #v8 #app .gd8 .v8-fbody > .gd-fs:first-child { margin-top: 0 !important; }
#v8 #app .gd8 .v8-fline { color: var(--v8-ink-2); }
#v8 #app .gd8 :is(.gd-lead, .gd-hint, .gd-fine, .gd-sample) { color: var(--v8-ink-2); }
#v8 #app .gd8 .gd-exp-p { margin-top: var(--v8-2); }
/* Choices: option rows; their states and the radio and checkbox glyphs are base.css 22's (the integrator, 18 October 2026) */
#v8 #app .gd8 .gd-fs { gap: var(--v8-3); margin-top: var(--v8-6); }
#v8 #app .gd8 .gd-opt { grid-template-columns: 24px 24px minmax(0, 1fr); gap: var(--v8-4); min-height: 64px; padding: var(--v8-4) var(--v8-5); }
#v8 #app .gd8 .gd-opt.no-ic { grid-template-columns: 24px minmax(0, 1fr); }
#v8 #app .gd8 .gd-opt:has(input:checked) .gd-opt-t > span:first-child { font-weight: 400 !important; }
/* The input drawn by base.css 22; here only what base.css leaves: no native look, and the white check on a checked box */
#v8 #app .gd8 :is(.gd-opt, .gd-remind) input { margin: 0; background-position: center; background-size: 18px; background-repeat: no-repeat; -webkit-appearance: none; appearance: none; cursor: pointer; }
#v8 #app .gd8 :is(.gd-opt, .gd-remind) input[type="checkbox"]:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5 9.5-10' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E"); }
#v8 #app .gd8 .gd-opt-i svg.i { color: var(--v8-green); }
#v8 #app .gd8 .gd-opt-s { color: var(--v8-ink-2); }
#v8 #app .gd8 .gd-leg { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
#v8 #app .gd8 .gd-fs-dev legend .gd-hint { margin-top: var(--v8-2); }
#v8 #app .gd8 .gd-err { margin-top: var(--v8-3) !important; color: var(--v8-red); font-weight: 400 !important; }
/* Amounts: the v8 field, 48 tall, white, the field edge; the euro sign after the number */
#v8 #app .gd8 .gd-num { margin-top: var(--v8-5); }
#v8 #app .gd8 .gd-nums .gd-num { margin-top: 0; }
#v8 #app .gd8 .gd-num label { font-weight: 400 !important; color: var(--v8-ink); }
#v8 #app .gd8 .gd-num .gd-hint { margin-top: 4px; }
#v8 #app .gd8 .gd-num-f { height: 56px; margin-top: var(--v8-2); border-radius: var(--v8-r-sm); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-field); }
#v8 #app .gd8 .gd-num-f:hover { box-shadow: inset 0 0 0 1px var(--v8-ink); }
#v8 #app .gd8 .gd-num-f:focus-within { outline: none; box-shadow: inset 0 0 0 2px var(--v8-deep); }
#v8 #app .gd8 .gd-num-f:has(input[aria-invalid="true"]) { box-shadow: inset 0 0 0 2px var(--v8-red); }
#v8 #app .gd8 .gd-num-f input { height: 44px; font-size: var(--v8-fs-16) !important; }
#v8 #app .gd8 .gd-num-f span { font-size: var(--v8-fs-16) !important; color: var(--v8-ink-2); }
@media (max-width: 599px) { #v8 #app .gd8 .gd-nums { grid-template-columns: minmax(0, 1fr); row-gap: var(--v8-5); } }
/* What an answer changed: the assistant's sentence and the cards it added, on a mint help panel (VISUAL-SPEC 20.4, form 2) */
#v8 #app .gd8 .gd-chg { margin-top: var(--v8-6); padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-mint); }
#v8 #app .gd8 .gd-ds { margin: var(--v8-4) 0 0; }
#v8 #app .gd8 .gd-d { background: var(--v8-white); padding: var(--v8-3) var(--v8-4) var(--v8-3) var(--v8-3); }
#v8 #app .gd8 .gd-d > span > span { color: var(--v8-ink-2); }
#v8 #app .gd8 .gd-di { background: var(--v8-green); }
#v8 #app .gd8 .gd-d-strong { background: var(--v8-white); box-shadow: inset 0 0 0 3px var(--v8-lime); }
#v8 #app .gd8 .gd-d-strong .gd-di { background: var(--v8-mint); } #v8 #app .gd8 .gd-d-strong .gd-di svg.i { color: var(--v8-deep); }
#v8 #app .gd8 :is(.gd-d-not, .gd-d-law) .gd-di { background: var(--v8-gray); } #v8 #app .gd8 :is(.gd-d-not, .gd-d-law) .gd-di svg.i { color: var(--v8-ink); }
/* The assistant inside the guide: her words in mint bubbles at the right, the assistant's on white with a hairline */
#v8 #app .gd8 .gd-ask { margin-top: var(--v8-9); padding-top: 0; box-shadow: none; }   /* no rule above a title (harmonised 18 October 2026) */
#v8 #app .gd8 .gd-ask h2 { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; }
#v8 #app .gd8 .gd-ask-l { display: block; margin-bottom: var(--v8-3); font-weight: 400 !important; color: var(--v8-ink); }
#v8 #app .gd8 .gd-log .gd-me { background: var(--v8-mint); color: var(--v8-ink); }
#v8 #app .gd8 .gd-log .gd-ai p { background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app .gd8 .gd-sugg button { min-height: 40px; box-shadow: inset 0 0 0 1px var(--v8-pressed); color: var(--v8-green-t); }
#v8 #app .gd8 .gd-sugg button:hover { background: var(--v8-hover); box-shadow: inset 0 0 0 1px var(--v8-pressed); }
#v8 #app .gd8 .gd-send { background: var(--v8-green); } #v8 #app .gd8 .gd-send:hover { background: var(--v8-deep); }
#v8 #app .gd8 .gd-askf :is(input, textarea)::placeholder { color: var(--v8-ink-2); }
@media (hover: none) { #v8 #app .gd8 .gd-sugg button { min-height: 44px; } }
/* The start, what we heard, the notes: gray cards and hairline rows on the tokens */
#v8 #app .gd8 .gd-know { border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .gd8 .gd-kv > div { box-shadow: inset 0 1px 0 var(--v8-line); }
/* The start's card: radius 16, no rule above its title; the ask field is the one pill every page uses (harmonised 18 October 2026) */
#v8 #app .gd8 .gd-ways { border-radius: var(--v8-r); }
#v8 #app .gd8 .gd-say { box-shadow: none; }
#v8 #app .gd8 .gd-askf { border-radius: var(--v8-r-pill); }
#v8 #app .gd8 .gd-sayf { border-radius: var(--v8-r); }
#v8 #app .gd8 .gd-say-l { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
#v8 #app .gd8 .gd-heard li { box-shadow: inset 0 1px 0 var(--v8-line); }
#v8 #app .gd8 .gd-heard li:last-child { box-shadow: inset 0 1px 0 var(--v8-line), inset 0 -1px 0 var(--v8-line); }
#v8 #app .gd8 .gd-heard p { color: var(--v8-ink-2); }
#v8 #app .gd8 .gd-hr-i svg.i { color: var(--v8-green); }
#v8 #app .gd8 .gd-note { border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .gd8 .gd-lk { color: var(--v8-green-t); text-decoration-color: rgba(0, 112, 11, .4); }
#v8 #app .gd8 .gd-lk:hover { text-decoration-color: currentColor; }

/* "Your plan so far": the five areas as rows on the white sheet; the price so far, its total Bold */
#v8 #app .gd8-rows { display: grid; margin-top: var(--v8-5); border-top: 1px solid var(--v8-line); }
#v8 #app .gd8-r { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: var(--v8-3); padding: var(--v8-3) 0; border-bottom: 1px solid var(--v8-line); }
#v8 #app .gd8-ri { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--v8-gray); }
#v8 #app .gd8-ri svg.i { width: 20px; height: 20px; color: var(--v8-green); }   /* Fennia's icons in green, as on every page */
#v8 #app .gd8-r.is-on .gd8-ri { background: var(--v8-mint); }
#v8 #app .gd8-r.is-on .gd8-ri svg.i { color: var(--v8-green); }
#v8 #app .gd8-rt { display: grid; min-width: 0; }
#v8 #app .gd8-rt b { font-weight: 700 !important; }
#v8 #app .gd8-rt > span { color: var(--v8-ink-2); }
#v8 #app .gd8-r.is-on .gd8-rt > span { color: var(--v8-ink); }
#v8 #app .gd8-rp { white-space: nowrap; font-variant-numeric: tabular-nums; }
#v8 #app .gd8-tot { display: grid; gap: var(--v8-3); margin-top: var(--v8-5); }
#v8 #app .gd8-sum { display: grid; gap: 4px; max-width: none !important; }
#v8 #app .gd8-sum b { font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
#v8 #app .gd8-sum span { color: var(--v8-ink-2); }

/* The plan: one list of plan cards, the InsuranceCard's horizontal form (art 64, name and reason, price at the right) */
#v8 #app .gd8-plan { display: grid; gap: var(--v8-cards); margin-top: 0; }
#v8 #app .gd8-pc { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "art tx pr" "art ac ac" "lv lv lv"; column-gap: var(--v8-5); row-gap: var(--v8-2); padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .gd8-pc > .v8-art { grid-area: art; }
#v8 #app .gd8-pt { grid-area: tx; display: grid; gap: var(--v8-2); min-width: 0; }
#v8 #app .gd8-pt .v8-cl { max-width: 52ch; }
#v8 #app .gd8-pp { grid-area: pr; align-self: start; margin-top: 2px; }
#v8 #app .gd8-pa { grid-area: ac; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--v8-5); }
#v8 #app .gd8-lk { min-height: 44px; }
#v8 #app .gd8-lv { grid-area: lv; display: grid; gap: var(--v8-5); margin-top: var(--v8-3); }
#v8 #app .gd8-lv .v8-of-opts + .v8-of-opts { margin-top: 0; }
#v8 #app .gd8-pc.is-out .v8-art { opacity: .55; }
#v8 #app .gd8-pc.is-out .gd8-pp span { color: var(--v8-ink-2); }
#v8 #app .gd8-pc.is-out .gd8-pa { margin-top: var(--v8-2); }
@media (max-width: 599px) {
  #v8 #app .gd8-pc { grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "art tx" "pr pr" "ac ac" "lv lv"; column-gap: var(--v8-4); padding: var(--v8-4); }
  #v8 #app .gd8-pc > .v8-art, #v8 #app .gd8-pc > .v8-art :is(img, svg) { width: 48px !important; height: 48px !important; }
}
#v8 #app .gd8-back { margin-top: var(--v8-4); }
#v8 #app .gd8-back .v8-link { min-height: 44px; }
#v8 #app .gd8-sec { margin-top: var(--v8-9); }
#v8 #app .gd8-sec > .v8-line { margin-top: var(--v8-3); }
#v8 #app .gd8-p { margin-top: var(--v8-4); max-width: var(--v8-measure); }
#v8 #app .gd8-not { margin-top: var(--v8-5); padding: var(--v8-2) var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .gd8-not > li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--v8-4); padding: var(--v8-4) 0; border-bottom: 1px solid var(--v8-line); }
#v8 #app .gd8-not > li:last-child { border-bottom: 0; }
#v8 #app .gd8-not > li { grid-template-columns: 48px minmax(0, 1fr); }
#v8 #app .gd8-ni { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--v8-white); }
#v8 #app .gd8-ni svg.i { display: block; width: 24px; height: 24px; color: var(--v8-green); }
#v8 #app .gd8-not b { font-weight: 700 !important; }
#v8 #app .gd8-not p { margin-top: 4px; color: var(--v8-ink-2); }
#v8 #app .gd8-not .gd8-pa { margin-top: var(--v8-3); }
#v8 #app .gd8-fn { margin-top: var(--v8-6); color: var(--v8-ink-2); }
/* The plan's summary in the aside: the price at 40, the share of five cases at 28, Get your offer */
#v8 #app .gd8-tt > span { max-width: 32ch; }
#v8 #app .gd8-pct { margin-top: var(--v8-5); padding-top: var(--v8-5); border-top: 1px solid var(--v8-line); }
#v8 #app .gd8-safe { margin-top: var(--v8-5); }
#v8 #app .gd8-acts { display: grid; gap: var(--v8-3); margin-top: var(--v8-5); }
#v8 #app .gd8-acts .v8-btn { width: 100%; white-space: normal; text-align: center; }
#v8 #app .gd8-acts .v8-btn[aria-disabled="true"] { cursor: progress; }
#v8 #app .gd8-tel { margin-top: var(--v8-4); }
/* On the plan the aside carries Get your offer from 1024; below, the sticky foot does (and the aside is the bottom sheet) */
@media (min-width: 1024px) { #v8 #app .gd8-res .v8-ffoot { display: none; } }
/* The one decision: the case and its two figures on a gray card, no bars */
#v8 #app .gd8-dcard { display: grid; gap: var(--v8-3); margin-top: 0; padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .gd8-dcard > .v8-cn { margin-top: var(--v8-3); }
#v8 #app .gd8-dfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--v8-5); margin: var(--v8-3) 0; padding: var(--v8-5) 0; border-top: 1px solid var(--v8-line); border-bottom: 1px solid var(--v8-line); }
#v8 #app .gd8-dfacts .v8-fig + .v8-fig { padding-left: var(--v8-5); border-left: 1px solid var(--v8-line); }
#v8 #app .gd8-dp b { font-weight: 700 !important; }
/* Talk to a person (the guide's dialog, on <body>): the v8 modal frame, slots as option rows */
#v8 body .gd-scrim { background: var(--v8-scrim) !important; }
#v8 body .gd-dlg { width: min(560px, 100%) !important; padding: var(--v8-6) !important; border-radius: var(--v8-r) !important; box-shadow: var(--v8-shadow-pop) !important; color: var(--v8-ink); }
#v8 body .gd-dlg h2 { font-size: var(--v8-fs-28) !important; }
#v8 body .gd-dlg .gd-slot { min-height: 56px !important; border-radius: var(--v8-r) !important; box-shadow: inset 0 0 0 1px var(--v8-line) !important; background: var(--v8-white) !important; }
#v8 body .gd-dlg .gd-slot:hover { box-shadow: var(--v8-edge-hover) !important; }
#v8 body .gd-dlg .gd-slot:has(input:checked) { background: var(--v8-white) !important; box-shadow: var(--v8-edge-chosen) !important; }
#v8 body .gd-dlg .gd-slots legend { font-size: var(--v8-fs-20) !important; }
#v8 body .gd-dlg .gd-err { color: var(--v8-red) !important; font-weight: 400 !important; }
#v8 body .gd-dlg :is(button, input, a):focus-visible { outline: var(--v8-focus) !important; outline-offset: 0 !important; box-shadow: var(--v8-focus-glow) !important; }
#v8 body .gd-dlg .gd-dx { width: 44px; height: 44px; border-radius: 50%; }
/* The plan's sticky foot on phones: two buttons share 288 px at 320, so labels may wrap */
#v8 #app .gd8 .v8-ffoot .btn { height: auto; min-height: 44px; padding: 0 16px !important; white-space: normal; text-align: center; }
#v8 #app .gd8 :is(.v8-ffoot, .gd8-pa) .v8-btn { min-width: 0; white-space: normal; text-align: center; }
/* Below 480 a label may wrap: it keeps 9 above and below it (44 with the secondary's 1 px edge on one line) */
@media (max-width: 479px) { #v8 #app .gd8 .v8-ffoot .btn { padding: 9px 16px !important; } #v8 #app .gd8 .v8-ffoot .v8-btn { padding: 10px 16px; } }

/* ---------- 11. Step parts the flows share (19 October 2026, round K) ----------
   The first journey's choice cards, its gray stage with a white card inside, "Your cover, risk by risk" and the pinned preview went
   with the redesign (SPEC 8.2): the journey is section 13, the offer 14, Make changes 12, all in one frame (.v8-bjr). What is left
   here: the way-out line, a step with more than one question, the date field, the risk's word (an icon and a word), and the guide's
   plan as a bottom sheet on phones */
#v8 #app .v8-bj-else { margin-top: var(--v8-7); max-width: var(--v8-measure); color: var(--v8-ink-2); }
/* A step with two questions (the contents amounts, the details, the end): each 40 apart; a hint 8 under its question, 16 over the rows */
#v8 #app .v8-bj-qs > * + * { margin-top: var(--v8-7); }
#v8 #app .v8-bj-q .v8-of-leg { margin-bottom: var(--v8-2); }
#v8 #app .v8-bj-q :is(.v8-bj-hint, .v8-of-hint2) { margin: 0 0 var(--v8-4); max-width: var(--v8-measure); color: var(--v8-ink-2); }
#v8 #app .v8-bj-date { margin-top: var(--v8-4); max-width: 320px; }
#v8 #app .v8-bj-date[hidden] { display: none; }
/* The risk's word (step 1's groups, Make changes' panel): an icon and a word, both 16; the check for Right size in Fennia green */
#v8 #app .v8-bj-fv { display: inline-flex; align-items: center; gap: var(--v8-2); color: var(--v8-ink); white-space: nowrap; }
#v8 #app .v8-bj-fi { display: grid; place-items: center; width: 20px; height: 20px; flex: none; }
#v8 #app .v8-bj-fi svg.i { width: 20px; height: 20px; color: var(--v8-ink); }
#v8 #app .v8-bj-fv.is-right .v8-bj-fi svg.i { color: var(--v8-green); }
/* The guide's plan on phones, as a bottom sheet: the sheet's head already names it, so the sheet's own title goes; the chat bubble
   steps aside while it is open, so it never covers the sheet's last line */
@media (max-width: 1023px) {
  #v8 #app .gd8.v8-sheet-on .v8-fpv .v8-sheet-doc > .v8-h2:first-child { display: none; }
  #v8 #app .gd8.v8-sheet-on .v8-fpv .v8-sheet-doc > .v8-h2:first-child + .v8-cl { margin-top: 0; }
  #v8:has(#app .gd8.v8-sheet-on) body .aiw-launch:not(.open) { display: none !important; }
}

/* ---------- 12. Make changes (18 October 2026): #/cover/<id>/changes and its short flows ----------
   Since round K (19 October 2026, SPEC 10) the purchase journey's frame (.v8-bjr, section 13): the column and the gray panel beside
   it (bjPanel: "Your new price" on the steps that change the price, her policy on the others), the question as the h1 and the
   fieldset's legend, the blue box, Back and the primary paired at the left (the flow's fixed foot under 1024). The steps use the
   system's option rows (optRows, optLabels), fields (V8.field), icon rows (V8.iconRows), the definition list (V8.dl) and the task rows
   (V8.taskRows, step 1). The old preview (a white "Your policy" card on a gray stage, the actions inside it) is gone */
/* A step whose h1 heads the body (what to change, the contents amounts, the details, the end): 32 between its line and the body */
#v8 #app .v8-mc .v8-fbody > .v8-fline + * { margin-top: var(--v8-6); }
#v8 #app .v8-mc .v8-fbody > .v8-fline + .v8-bj-err { margin-top: var(--v8-5); }
#v8 #app .v8-mc .v8-bj-err { max-width: 640px; }
#v8 #app .v8-mc .v8-fbody > .v8-bj-err + * { margin-top: var(--v8-6); }
#v8 #app .v8-mc .v8-bj-q1 > .v8-bj-err { margin-top: var(--v8-5); }
/* The panel: the policy's number under its name, then its facts between hairlines; the risk's word under the figure */
#v8 #app .v8-bj-plead { margin: var(--v8-1) 0 0; color: var(--v8-ink-2); }
#v8 #app .v8-mc-panel .v8-mc-pv { margin-top: var(--v8-4); border-top: 1px solid var(--v8-line); border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-mc-panel .v8-pvf { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
#v8 #app .v8-mc-panel .v8-mc-fit { padding-bottom: 0; }
/* The details' panel: the policies the details apply to, each with its art at 40 */
#v8 #app .v8-mc-rows { display: grid; gap: var(--v8-3); margin: var(--v8-4) 0 0; padding: var(--v8-4) 0 0; list-style: none; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-mc-rows > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--v8-4); align-items: center; }
#v8 #app .v8-mc-ri :is(img, svg) { display: block; width: 40px; height: 40px; }
#v8 #app .v8-mc-rt { display: grid; min-width: 0; }
#v8 #app .v8-mc-rt b { font-weight: 700 !important; }
#v8 #app .v8-mc-rt span { color: var(--v8-ink-2); }
/* Under 1024 the panel follows the step in the page (the journey's own panel goes: its foot bar carries the price) */
@media (max-width: 1023px) { #v8 #app .v8-bjr.v8-mc .v8-bj-panel { display: block; position: static; margin-top: var(--v8-7); } }
@media (max-width: 639px) { #v8 #app .v8-bjr.v8-mc .v8-bj-panel { padding: var(--v8-5) var(--v8-4); } }
/* Step 1's task rows are the system's V8.taskRows (base.css 11, .v8-tasks), since 18 October 2026. Since the review of 18 October
   no filled arrow disc on each row (Janne: no arrows everywhere): the row hovers as one link and ends in a small gray chevron
   (mcTasks swaps the disc for it). Step 1 shows no step count: its total depends on what she picks */
#v8 #app .v8-mc .v8-task { grid-template-columns: 48px minmax(0, 1fr) 24px; }
#v8 #app .v8-mc-chev { display: grid; place-items: center; width: 24px; height: 24px; color: var(--v8-ink-2); }
#v8 #app .v8-mc-chev svg.i { width: 20px; height: 20px; }
@media (hover: hover) { #v8 #app .v8-mc .v8-task:hover .v8-mc-chev { color: var(--v8-ink); } }
#v8 #app .v8-mc-start .v8-fcount, #v8 #app .v8-mc-start .v8-fseg { display: none !important; }
/* The preview: a change shows the new value with what she has now under it */
#v8 #app .v8-mc-pv .v8-pvf dd { display: grid; gap: 2px; justify-items: start; }
#v8 #app .v8-mc-was { display: block; color: var(--v8-ink-2); }
/* Step 2: a question that has nothing left to change says so with a check */
#v8 #app .v8-mc-done { display: flex; align-items: flex-start; gap: var(--v8-3); margin-top: 0; max-width: var(--v8-measure); }
#v8 #app .v8-mc-done svg.i { flex: none; width: 24px; height: 24px; color: var(--v8-green); }
/* Your details: a fieldset per group (the option rows' legend), the postcode and the city side by side from 480 */
/* The fields fill the column, so they share one right edge with the option cards and the business box below them */
#v8 #app .v8-mc-fs .v8-form { max-width: 100%; margin-top: var(--v8-4); }
#v8 #app .v8-mc-pc > * { margin-top: 0 !important; }
#v8 #app .v8-mc-pc { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: var(--v8-4); }
@media (max-width: 479px) { #v8 #app .v8-mc-pc { grid-template-columns: minmax(0, 1fr); gap: var(--v8-6); } }
#v8 #app .v8-mc-biz { margin-top: var(--v8-3); color: var(--v8-ink-2); }
/* End this policy: what it means, on the system's icon rows under the question */
#v8 #app .v8-mc-what .v8-irows { margin-top: var(--v8-5); }
/* Check and confirm: the summary as the system's definition list, Change at the right of the date */
#v8 #app .v8-mc-dl dd { align-items: baseline; }
#v8 #app .v8-mc-chg { flex: none; min-height: 44px; display: inline-flex; align-items: center; }
#v8 #app .v8-mc-p { max-width: var(--v8-measure); }
/* The confirmations: sections on white under the policy page's white hero, then the band */
#v8 #app .v8-mc-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--v8-8); align-items: start; }
#v8 #app .v8-mc-after > .v8-sec:only-child { grid-column: 1 / -1; max-width: 760px; }
@media (max-width: 1023px) { #v8 #app .v8-mc-after { grid-template-columns: minmax(0, 1fr); } }
/* The hint under the guide's AI field stands clear of the field (18 October 2026) */
#v8 #app .gd8 .gd-say .gd-hint { margin-top: var(--v8-2); }
#v8 :is(#app, .v8-dlgw) .v8-of-ai.v8-of-ai-art { background: none !important; border-radius: 0; }
#v8 :is(#app, .v8-dlgw) .v8-of-ai.v8-of-ai-art :is(img, svg) { display: block; width: 48px !important; height: 48px !important; }
/* Make changes, the package step: no separate level indicator since the review of 18 October 2026; her own option row carries
   the "Your package" badge, as the Change drawer's rows do */
/* 44 px touch targets on the offer (ux9, 18 October 2026): the documents' buttons and "Read the protection instructions" keep
   their place in the layout (10 px of padding above and below, taken back by the same negative margin, so a name that wraps
   onto two lines moves nothing either) but take a press across 44 px. The rows' own ::after already spreads each document
   button over its whole row */
#v8 #app [aria-labelledby="of-docs"] .v8-rows-l, #v8 #app [aria-labelledby="of-prot"] .v8-of-p > .v8-link { padding-block: 10px; margin-block: -10px; }

/* ---------- 12.1 What her choice does to her risk (reference study, plan item 16, 18 October 2026) ----------
   The package and amounts steps' panels show, under the figure, the risk area the policy covers with its fit as an icon and a
   word (.v8-bj-fv), and the fact behind it under it, above a hairline (SPEC 10: "its risk line stays under the panel's figure").
   Since round K the package's capsule meter is not repeated in the panel: the option rows mark her package */
#v8 #app .v8-mc-fit { display: grid; gap: 4px; margin-top: var(--v8-5); padding: var(--v8-4) 0; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-mc-fith { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px var(--v8-4); max-width: none; }
#v8 #app .v8-mc-fith b { font-weight: 700 !important; }
#v8 #app .v8-mc-fit .v8-cl { margin: 0; }
/* Round G review: the amounts step has a row per amount (Equipment, Stock for sale), and the package step's separate line names an
   amount the package doesn't change, so both sit apart from the line above them */
#v8 #app .v8-mc-fit .v8-cl + .v8-mc-fith { margin-top: var(--v8-3); }
#v8 #app .v8-mc-fit .v8-mc-fitx { margin-top: var(--v8-2); }

/* The amounts step's equipment: the worth field (a euro sign inside its right edge, 240 wide), "Estimate it" under it, the
   estimate panel in place (gray, radius 16: a row per kind of thing with its typical price under its name and a 96 wide count
   at the right, the total as a 28 figure with its words under it, then "Use this estimate"), then the option rows */
#v8 #app .v8-mc-eqs .v8-field { max-width: var(--v8-measure); }
#v8 #app .v8-mc-eur { position: relative; display: block; max-width: 240px; }
#v8 #app .v8-mc-eur > input { padding-right: 40px; font-variant-numeric: tabular-nums; }
#v8 #app .v8-mc-eur > span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--v8-ink-2); pointer-events: none; }
#v8 #app .v8-mc-estb { margin: var(--v8-2) 0 0; }
#v8 #app .v8-mc-estb .v8-link { display: inline-flex; align-items: center; min-height: 44px; }
#v8 #app .v8-mc-est { margin-top: var(--v8-3); padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-mc-est[hidden] { display: none; }
#v8 #app .v8-mc-esth { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; color: var(--v8-ink); }
#v8 #app .v8-mc-est > .v8-cl { margin-top: var(--v8-2); }
#v8 #app .v8-mc-ers { display: grid; margin-top: var(--v8-4); border-top: 1px solid var(--v8-line); }
#v8 #app .v8-mc-er { display: grid; grid-template-columns: minmax(0, 1fr) 96px; align-items: center; gap: var(--v8-4); padding: var(--v8-3) 0; border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-mc-er:has(.v8-mc-eo) { grid-template-columns: minmax(0, 1fr) 144px; }
#v8 #app .v8-mc-er label { display: grid; gap: 2px; min-width: 0; }
#v8 #app .v8-mc-er label b { font-weight: 700 !important; }
#v8 #app .v8-mc-er label span { color: var(--v8-ink-2); }
#v8 #app .v8-mc-en { text-align: right; font-variant-numeric: tabular-nums; }
#v8 #app .v8-mc-er .v8-mc-eur { max-width: none; }
#v8 #app .v8-mc-estt { display: grid; gap: 2px; margin-top: var(--v8-5); max-width: none; }
#v8 #app .v8-mc-estt b { font-size: var(--v8-fs-28) !important; line-height: var(--v8-lh-28) !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; color: var(--v8-ink); }
#v8 #app .v8-mc-estt span { color: var(--v8-ink-2); }
#v8 #app .v8-mc-esta { margin-top: var(--v8-4); }
/* Round G review: what she told us sits under the estimate, so the two figures can be compared; a count that isn't a number and an
   empty estimate show their error on screen, under the field or the total */
#v8 #app .v8-mc-estold { margin-top: var(--v8-2); }
#v8 #app .v8-mc-er .v8-mc-eerr { grid-column: 1 / -1; margin: 0; }
#v8 #app .v8-mc-est > .v8-mc-eerr { margin-top: var(--v8-3); }
#v8 #app .v8-mc-eqo { margin-top: var(--v8-5); }
@media (max-width: 479px) {
  #v8 #app .v8-mc-est { padding: var(--v8-5) var(--v8-4); }
  #v8 #app .v8-mc-er { grid-template-columns: minmax(0, 1fr) 80px; gap: var(--v8-3); }
  #v8 #app .v8-mc-er:has(.v8-mc-eo) { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .v8-mc-esta .v8-btn { width: 100%; }
}

/* ---------- 13. The purchase journey, redesigned (19 October 2026): #/buy/start and #/buy/details ----------
   ../old/explore/purchase-redesign/SPEC.md sections 3 to 5, from the reference's w.css ("The frame", "The price panel", "Step 1",
   "Step 2"), renamed ws- and w- to v8-bj-. The flow carries .v8-bjr (not .v8-bj, which stays Make changes' frame with section 11).
   v8 tokens only; type 40/28/20/16/12 at 400 and 700; no font-size inside a media query */
/* The frame: one column up to 720 and the price panel (320 to 360) beside it, 48 apart, inside 1176 */
#v8 #app .v8-bjr .v8-fgrid { grid-template-columns: minmax(0, 720px) minmax(320px, 360px); justify-content: space-between; column-gap: var(--v8-8); }
#v8 #app .v8-bjr .v8-fcol { grid-column: auto; }
/* Each step writes its own h1 inside the body, so the body starts at the column's top */
#v8 #app .v8-bjr .v8-fbody { margin-top: 0; }
#v8 #app .v8-bjr .v8-fcol .v8-ftitle { margin: 0; }
#v8 #app .v8-bjr .v8-fline { max-width: 640px; }

/* The price panel, "Your new price": the needs plan's gray panel, a plain sum, the figure at 40. No border, no hover */
#v8 #app .v8-bj-panel { position: sticky; top: 96px; min-width: 0; padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-bj-ph { margin: 0; color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; letter-spacing: -0.01em; }
#v8 #app .v8-bj-sum { margin: var(--v8-4) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-bj-sum > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--v8-4); align-items: start; padding: var(--v8-3) 0; border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-bj-sn { display: grid; color: var(--v8-ink); }
#v8 #app .v8-bj-sn > span { color: var(--v8-ink-2); }
#v8 #app .v8-bj-sa { color: var(--v8-ink); font-weight: 700 !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
#v8 #app .v8-bj-sum > li:first-child .v8-bj-sa { font-weight: 400 !important; }
#v8 #app .v8-bj-tot { display: grid; gap: var(--v8-1); margin: var(--v8-5) 0 0; }
#v8 #app .v8-bj-f40 { color: var(--v8-ink); font-size: var(--v8-fs-40) !important; line-height: var(--v8-lh-40) !important; font-weight: 700 !important; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
#v8 #app .v8-bj-tot > span { color: var(--v8-ink-2); }
#v8 #app .v8-bj-pnote { margin: var(--v8-4) 0 0; color: var(--v8-ink-2); }
#v8 #app .v8-bj-pacts { display: grid; gap: var(--v8-3); margin-top: var(--v8-5); }
#v8 #app .v8-bj-pacts .v8-btn { width: 100%; min-height: 48px; justify-content: center; }
/* A record's title has its badge beside it ("What you accepted", Accepted) */
#v8 #app .v8-bj-phw { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--v8-2) var(--v8-4); }
/* The hidden input of a row covers the whole row (round K, findings 13 and 18): focus scrolls the whole row into view, clear of the
   foot bar and the chat bubble (base.css's scroll-padding), not only its top corner. It stays invisible; the row draws its state */
#v8 #app :is(.v8-bj-pick, .v8-of-o) > input.v8-vh { inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; clip: auto !important; overflow: visible !important; opacity: 0; cursor: pointer; }
/* Under 1024 only: the white foot bar (step 1) and the price line above step 2's buttons. Their type is set here, outside any
   media query (round K, findings 6 and 20: the dock's figure was sized inside the max-width query); the query only shows them */
#v8 #app .v8-bj-dock, #v8 #app .v8-bj-sumline { display: none; }
#v8 #app .v8-bj-dock b { color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
#v8 #app .v8-bj-dock span { color: var(--v8-ink-2); }
#v8 #app .v8-bj-sumline b { color: var(--v8-ink); font-weight: 700 !important; }

/* Step 1: groups by her risks. The head row is the h2 (20 Bold) and the risk's word, top-aligned; the line 8 under it; the rows
   16 under the line, 8 apart; the first group 40 under the page's line, the next 48 under the last row */
#v8 #app .v8-bjr .v8-bj-e { margin-top: var(--v8-5); max-width: 640px; }
#v8 #app .v8-bj-g { margin-top: var(--v8-8); }
#v8 #app .v8-bj-g:first-child { margin-top: var(--v8-7); }
#v8 #app .v8-bj-gh { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--v8-2) var(--v8-4); }
#v8 #app .v8-bj-h { margin: 0; color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; letter-spacing: -0.01em; }
#v8 #app .v8-bj-gh .v8-bj-fv { min-height: 24px; font-weight: 400 !important; }
#v8 #app .v8-bj-gl { margin: var(--v8-2) 0 0; max-width: 640px; color: var(--v8-ink-2); }
#v8 #app .v8-bj-list { display: grid; gap: var(--v8-2); margin-top: var(--v8-4); }
/* Fennia's checkbox card: at rest white with the soft edge; hover the hover edge; chosen #E6FAE7 with the 2 px green edge and the
   filled box; focus the focus ring; error the red edge. Only the row hovers: it is the one thing she ticks */
#v8 #app .v8-bj-pick { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: start; column-gap: var(--v8-4); min-height: 72px; padding: var(--v8-4) var(--v8-5); border-radius: var(--v8-r-sm); background: var(--v8-white); box-shadow: var(--v8-st-soft); color: var(--v8-ink); cursor: pointer; transition: box-shadow .12s ease-out, background-color .12s ease-out; }
@media (hover: hover) {
  #v8 #app .v8-bj-pick:hover { box-shadow: var(--v8-st-hover); }
  #v8 #app .v8-bj-pick:has(input:checked):hover { box-shadow: var(--v8-st-sel-ck-hover); }
  #v8 #app .v8-bj-pick:hover:has(input:checked) .v8-bj-ck { background: var(--v8-deep); }
}
#v8 #app .v8-bj-pick:has(input:checked) { background: var(--v8-sel); box-shadow: var(--v8-st-sel-ck); }
#v8 #app .v8-bj-pick:has(input:focus-visible) { box-shadow: var(--v8-st-focus); }
#v8 #app .v8-bj-pick:has(input:checked:focus-visible) { box-shadow: var(--v8-st-sel-focus); }
#v8 #app .v8-bj-pick:has(input[aria-invalid="true"]) { box-shadow: inset 0 0 0 2px var(--v8-red); }
#v8 #app .v8-bj-ck { display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--v8-r-tag); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-ctl-edge); color: var(--v8-white); }
#v8 #app .v8-bj-ck svg { width: 18px; height: 18px; visibility: hidden; color: var(--v8-white); fill: currentColor; }
#v8 #app .v8-bj-pick:has(input:checked) .v8-bj-ck { background: var(--v8-green); box-shadow: none; }
#v8 #app .v8-bj-pick:has(input:checked) .v8-bj-ck svg { visibility: visible; }
#v8 #app .v8-bj-pt { display: grid; gap: var(--v8-1); min-width: 0; }
#v8 #app .v8-bj-pn { font-weight: 700 !important; }
#v8 #app .v8-bj-pl { max-width: 460px; color: var(--v8-ink-2); }
/* The price: one form, one right-aligned column, tabular figures */
#v8 #app .v8-bj-pp { display: grid; justify-items: end; gap: var(--v8-2); margin: 0; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
#v8 #app .v8-bj-pp b { font-weight: 700 !important; }
/* The one strong recommendation: the same row, bigger. Art 64, the name 20, the price 20 */
#v8 #app .v8-bj-big { grid-template-columns: 24px 64px minmax(0, 1fr) auto; column-gap: var(--v8-5); padding: var(--v8-5); }
#v8 #app .v8-bj-art { display: block; width: 64px; height: 64px; }
#v8 #app .v8-bj-art :is(img, svg) { display: block; width: 64px; height: 64px; }
#v8 #app .v8-bj-big .v8-bj-pn, #v8 #app .v8-bj-big .v8-bj-pp b { font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; letter-spacing: -0.01em; }
#v8 #app .v8-bj-big .v8-bj-pl { color: var(--v8-ink); }
#v8 #app .v8-bj-way { margin-top: var(--v8-7); max-width: 640px; }
/* A link inside a sentence keeps the line's rhythm and still has a 44 target */
#v8 #app .v8-bj-way .v8-link { display: inline-block; padding: 10px 0; margin: -10px 0; }

/* Step 2: one question. The question is the h1 and the legend */
#v8 #app .v8-bj-q1, #v8 #app .v8-bj-hq1 { margin: 0; padding: 0; border: 0; min-width: 0; }
#v8 #app .v8-bj-leg { display: block; float: none; width: 100%; margin: 0; padding: 0; }
#v8 #app .v8-bj-opts { margin-top: var(--v8-6); max-width: 640px; }
#v8 #app .v8-bj-opts .v8-of-o { min-height: 72px; align-items: center; }
#v8 #app .v8-bj-opts .v8-of-ot > span { display: block; margin-top: var(--v8-1); color: var(--v8-ink-2); }
#v8 #app .v8-bj-opts .v8-of-or { text-align: right; }
/* The two health questions, each its own fieldset: the question 16 Bold, Yes and No as two equal radio cards, 24 apart */
#v8 #app .v8-bj-hqs { display: grid; gap: var(--v8-6); max-width: 640px; margin-top: var(--v8-6); }
#v8 #app .v8-bj-ql { display: block; float: none; width: 100%; padding: 0; margin: 0 0 var(--v8-3); color: var(--v8-ink); font-weight: 700 !important; text-wrap: pretty; }
#v8 #app .v8-bj-yn { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: var(--v8-5); }
#v8 #app .v8-bj-yn .v8-of-ynr { align-items: center; min-height: 56px; padding: 0 var(--v8-5); }
#v8 #app .v8-bjr .v8-bj-why { margin-top: var(--v8-6); max-width: 640px; }
/* Back and the primary, paired at the left, 40 under the box */
#v8 #app .v8-bjr .v8-ffoot { justify-content: flex-start; margin-top: var(--v8-7); }
#v8 #app .v8-bjr .v8-ffoot > :only-child { margin-left: 0; }
#v8 #app .v8-bjr .v8-ffoot .v8-btn { min-height: 48px; }

/* 1024 to 1199: the panel narrows to 320, 40 from the column */
@media (max-width: 1199px) { #v8 #app .v8-bjr .v8-fgrid { grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--v8-7); } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) { #v8 #app .v8-bjr .v8-fgrid { grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--v8-7); }}
/* Under 1024: one column. The panel goes (the foot bar or the price line carries the price) */
@media (max-width: 1023px) {
  /* The page ends 40 above the "Prototype screens" pill, which keeps the foot bar's height clear itself (round K, finding 14) */
  #v8 #app .v8-bjr .v8-fmain { padding-bottom: var(--v8-7); }
  #v8 #app .v8-bjr .v8-fgrid { grid-template-columns: minmax(0, 1fr); }
  #v8 #app .v8-bjr .v8-bj-panel { display: none; }
  #v8 #app .v8-bj-sumline { display: block; margin: var(--v8-6) 0 0; max-width: 640px; color: var(--v8-ink-2); }
  #v8 #app .v8-bj-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: var(--v8-4); padding: 12px var(--page-x, 16px) calc(12px + env(safe-area-inset-bottom)); background: var(--v8-white); border-top: 1px solid var(--v8-line); }
  #v8 #app .v8-bj-dock p { display: grid; margin: 0; min-width: 0; }
  #v8 #app .v8-bj-dock .v8-btn { flex: none; min-height: 48px; }
}
/* Under 640: a row's price moves under its line, left-aligned; the big row stacks the box, the art, then the words */
@media (max-width: 639px) {
  #v8 #app .v8-bj-pick { grid-template-columns: 24px minmax(0, 1fr); row-gap: var(--v8-2); padding: var(--v8-4); }
  #v8 #app .v8-bj-pick .v8-bj-pp { grid-column: 2; justify-items: start; text-align: left; }
  #v8 #app .v8-bj-big { grid-template-columns: 24px minmax(0, 1fr); column-gap: var(--v8-4); padding: var(--v8-4); }
  #v8 #app .v8-bj-big .v8-bj-art, #v8 #app .v8-bj-big .v8-bj-pt, #v8 #app .v8-bj-big .v8-bj-pp { grid-column: 2; }
  #v8 #app .v8-bj-big .v8-bj-ck { grid-row: 1; }
  #v8 #app .v8-bj-opts .v8-of-or { justify-items: start; text-align: left; }
  #v8 #app .v8-bj-yn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  #v8 #app .v8-bj-dock { flex-wrap: wrap; }
  #v8 #app .v8-bj-dock .v8-btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-bj-pick { transition: none; } }
@media print { #v8 #app .v8-bjr :is(.v8-fbar, .v8-bj-panel, .v8-bj-dock) { display: none !important; } }

/* ---------- 14. The offer as a document (19 October 2026): #/offer/<id>, step 3 ----------
   ../old/explore/purchase-redesign/SPEC.md sections 6, 6.9 and 7, from the reference's w.css ("Step 3: the offer", "The green moment"),
   renamed w- to v8-od- (the old v8-of- names stay with the dialogs, the option rows and the health questions). The panel and the
   foot bar are section 13's (.v8-bj-panel, .v8-bj-dock), so the journey's three steps are one component. v8 tokens only; type
   40/28/20/16/12 at 400 and 700; no font-size inside a media query. Hover only on links, buttons and the case disclosure */
/* The page: the head, then the panel, then the facts and the document. From 1024 the panel stands in the right column, sticky,
   beside the head and the document; the DOM order keeps the price right after the title for every reader */
#v8 #app .v8-od-main { padding: var(--v8-9) var(--page-x) var(--v8-11); }
#v8 #app .v8-od { display: grid; grid-template-columns: minmax(0, 720px) minmax(320px, 360px); grid-template-areas: "head panel" "fx panel" "doc panel"; justify-content: space-between; column-gap: var(--v8-8); max-width: 1176px; margin: 0 auto; align-items: start; }
#v8 #app .v8-od > .v8-od-head { grid-area: head; min-width: 0; }
#v8 #app .v8-od > .v8-od-panel { grid-area: panel; }
#v8 #app .v8-od > .v8-od-fx { grid-area: fx; min-width: 0; }
#v8 #app .v8-od > .v8-od-doc { grid-area: doc; min-width: 0; }
#v8 #app .v8-od-head .v8-back { margin-bottom: var(--v8-4); }
#v8 #app .v8-od-head .v8-ftitle:focus { outline: none; }
#v8 #app .v8-od-head .v8-of-meta { margin-top: var(--v8-4); }
#v8 #app .v8-od-panel .v8-bj-pacts .v8-btn-2 { background: var(--v8-white); }
/* A record (accepted or expired) in the portal shell: one column (the shell's content is narrower), the panel after the head */
#v8 #app .shell .v8-od { grid-template-columns: minmax(0, 720px); grid-template-areas: none; justify-content: start; }
#v8 #app .shell .v8-od > :is(.v8-od-head, .v8-od-panel, .v8-od-fx, .v8-od-doc) { grid-area: auto; }
#v8 #app .shell .v8-od-panel { position: static; margin-top: var(--v8-6); }
/* A new customer's sum has no "Today" line, and a receipt neither: every amount is Bold */
#v8 #app .v8-bj-sum.v8-od-nt > li:first-child .v8-bj-sa { font-weight: 700 !important; }

/* The facts row: the figure first at 20, its label under it at 16; the label comes first in the source */
#v8 #app .v8-od-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--v8-4) var(--v8-5); margin: var(--v8-6) 0 0; padding: var(--v8-5) 0; border-top: 1px solid var(--v8-line); border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-od-facts > div { display: flex; flex-direction: column; min-width: 0; }
#v8 #app .v8-od-facts dt { order: 2; margin-top: var(--v8-1); color: var(--v8-ink-2); }
#v8 #app .v8-od-facts dd { order: 1; margin: 0; color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-variant-numeric: tabular-nums; }
#v8 #app .v8-od-facts dd.v8-od-fa { order: 3; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; }
#v8 #app .v8-od-fa .v8-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: -10px; }
#v8 #app .v8-od-start { margin-top: var(--v8-5); max-width: 640px; }
#v8 #app .v8-od-start[hidden], #v8 #app .v8-od-datew[hidden] { display: none; }
#v8 #app .v8-od-datew { margin-top: var(--v8-4); }

/* Sections of the document: 64 apart; the first 40 under the facts; a section's line 12 under its title */
#v8 #app .v8-od-sec { margin-top: var(--v8-9); }
#v8 #app .v8-od-sec1 { margin-top: var(--v8-7); }
#v8 #app .v8-od-sec .v8-h2:focus { outline: none; }
#v8 #app .v8-od-sl { margin-top: var(--v8-3); max-width: 640px; }
#v8 #app .v8-od-items { display: grid; gap: var(--v8-4); margin-top: var(--v8-5); }

/* An item: Fennia's section card, white with the 1 px #DDDDDD inside edge, radius 16, 32 in. Titled; no hover, only its controls */
#v8 #app .v8-od-item { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); }
#v8 #app .v8-od-ih { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--v8-5); align-items: start; }
#v8 #app .v8-od-art :is(img, svg) { display: block; width: 64px; height: 64px; }
#v8 #app .v8-od-it .v8-cn:focus { outline: none; }
#v8 #app .v8-od-it .v8-cl { margin-top: var(--v8-2); max-width: 46ch; }
#v8 #app .v8-od-ip { display: grid; justify-items: end; gap: var(--v8-1); margin: 0; max-width: 220px; text-align: right; }
#v8 #app .v8-od-ip b { color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
#v8 #app .v8-od-ip > span:not(.v8-badge) { color: var(--v8-ink-2); }   /* the status keeps its ink word (README 192) */
#v8 #app .v8-od-ip > .v8-badge { margin-top: var(--v8-1); }
#v8 #app .v8-od-ib { margin-left: calc(64px + var(--v8-5)); }
#v8 #app .v8-od-ib > * + * { margin-top: var(--v8-5); }
#v8 #app .v8-od-ib > .v8-info { max-width: none; margin-top: var(--v8-5); }
#v8 #app .v8-od-ib > .v8-info:first-child { margin-top: var(--v8-5); }
#v8 #app .v8-od-links { display: flex; flex-wrap: wrap; gap: 0 var(--v8-5); }
#v8 #app :is(.v8-od-links, .v8-od-cov, .v8-od-docs) .v8-link { display: inline-flex; align-items: center; min-height: 44px; }

/* The case: two bars on one scale, data palette only (what we'd pay in the data blue, what's left with her hatched) */
#v8 #app .v8-od-case { margin: var(--v8-5) 0 0; padding: var(--v8-5); border-radius: var(--v8-r-sm); background: var(--v8-gray); }
#v8 #app .v8-od-cap { color: var(--v8-ink); font-weight: 700 !important; }
#v8 #app .v8-od-case-d { padding: 0; }
#v8 #app .v8-od-dh { margin: 0; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; }
#v8 #app .v8-od-disc { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--v8-4); min-height: 56px; padding: var(--v8-3) var(--v8-5); border: 0; border-radius: var(--v8-r-sm); background: none; color: var(--v8-green-t); font: inherit; font-weight: 700 !important; text-align: left; cursor: pointer; }
#v8 #app .v8-od-disc:hover { text-decoration: underline; text-underline-offset: 3px; }
#v8 #app .v8-od-disc:focus-visible { outline: none; box-shadow: var(--v8-st-focus); }
#v8 #app .v8-od-chev svg { display: block; width: 24px; height: 24px; fill: currentColor; transition: transform .15s ease-out; }
#v8 #app .v8-od-disc[aria-expanded="true"] .v8-od-chev svg { transform: rotate(180deg); }
#v8 #app .v8-od-cb { padding: 0 var(--v8-5) var(--v8-5); }
#v8 #app .v8-od-cb[hidden] { display: none; }
#v8 #app .v8-od-br { margin-top: var(--v8-3); }
#v8 #app .v8-od-cb > .v8-od-br:first-child { margin-top: 0; }
#v8 #app .v8-od-bl { margin: 0; color: var(--v8-ink); }
#v8 #app .v8-od-bl b { font-weight: 700 !important; }
#v8 #app .v8-od-bar { display: flex; gap: 2px; height: 16px; margin-top: var(--v8-2); }
#v8 #app :is(.v8-od-bar, .v8-od-key) i { display: block; height: 100%; border-radius: 2px; }
#v8 #app .v8-od-pay { background: var(--v8-data-base); }
#v8 #app .v8-od-left { background: var(--v8-white) var(--v8-data-left); box-shadow: inset 0 0 0 1px var(--v8-data-edge); }
#v8 #app .v8-od-key { display: flex; flex-wrap: wrap; gap: var(--v8-2) var(--v8-5); margin: var(--v8-3) 0 0; color: var(--v8-ink-2); }
#v8 #app .v8-od-key span { display: inline-flex; align-items: center; gap: var(--v8-2); }
#v8 #app .v8-od-key i { width: 16px; height: 16px; }

/* What it covers: GOV.UK's summary list. Rows at least 52, rules between them; Change in a 72 column on the row that changes */
#v8 #app .v8-od-cov { margin: var(--v8-5) 0 0; }
#v8 #app .v8-od-cr { display: grid; grid-template-columns: minmax(12ch, 1fr) auto 72px; gap: var(--v8-4); align-items: center; min-height: 52px; padding: var(--v8-1) 0; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-od-cr:last-child { border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-od-cov dt { color: var(--v8-ink-2); }
#v8 #app .v8-od-cov dd { margin: 0; color: var(--v8-ink); text-align: right; font-variant-numeric: tabular-nums; }
#v8 #app .v8-od-cov dd.v8-od-ca { grid-column: 3; justify-self: end; }
#v8 #app .v8-od-cr:not(.v8-od-cr-a) dd { grid-column: 2 / 4; }

/* Not in this offer: her gaps, each its own gray card (one thing each), Add it the only control */
#v8 #app .v8-od-not { margin-top: var(--v8-7); }
#v8 #app .v8-od-noth { margin: 0; color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; }
#v8 #app .v8-od-notl { display: grid; gap: var(--v8-3); margin: var(--v8-4) 0 0; padding: 0; list-style: none; }
#v8 #app .v8-od-notl > li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: var(--v8-4); align-items: start; padding: var(--v8-5); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-od-nart :is(img, svg) { display: block; width: 48px; height: 48px; }
#v8 #app .v8-od-nt { display: grid; gap: var(--v8-1); min-width: 0; }
#v8 #app .v8-od-nt b { font-weight: 700 !important; }
#v8 #app .v8-od-nt > span { max-width: 52ch; color: var(--v8-ink-2); }
#v8 #app .v8-od-nr { display: grid; justify-items: end; gap: var(--v8-3); white-space: nowrap; color: var(--v8-ink-2); }
#v8 #app .v8-od-nr b { color: var(--v8-ink); font-weight: 700 !important; font-variant-numeric: tabular-nums; }
/* Add it is the system chip button (README 111): no size or colour of its own here */
#v8 #app .v8-od-ok { margin: var(--v8-4) 0 0; color: var(--v8-ink-2); }
#v8 #app .v8-od-hq { margin-top: var(--v8-7); }
#v8 #app .v8-od-hq .v8-of-qs { margin-top: var(--v8-5); }

/* The first invoices: Stripe's rhythm, lines then a dark rule and the total in Bold, on one gray card (the invoice is one thing) */
#v8 #app .v8-od-inv { margin: var(--v8-5) 0 0; padding: var(--v8-2) var(--v8-6); border-radius: var(--v8-r); background: var(--v8-gray); }
#v8 #app .v8-od-inv > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--v8-5); padding: var(--v8-4) 0; border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-od-inv dt { color: var(--v8-ink); }
#v8 #app .v8-od-inv dd { margin: 0; color: var(--v8-ink); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
#v8 #app .v8-od-inv > div:nth-last-child(2) { border-bottom: 0; }
#v8 #app .v8-od-inv .v8-od-invt { border-top: 1px solid var(--v8-ink); border-bottom: 0; }
#v8 #app .v8-od-inv .v8-od-invt :is(dt, dd) { font-weight: 700 !important; }
#v8 #app .v8-od-notes { display: grid; gap: var(--v8-2); margin: var(--v8-4) 0 0; max-width: 640px; color: var(--v8-ink-2); }
#v8 #app .v8-od-notes p { margin: 0; }
/* A link inside a sentence keeps the line's rhythm and still has a 44 target */
#v8 #app .v8-od-notes .v8-link { display: inline-block; padding: 10px 0; margin: -10px 0; }
#v8 #app .v8-od-choose { display: grid; gap: var(--v8-7); margin-top: var(--v8-7); max-width: 640px; }
#v8 #app .v8-od-choose .v8-of-opts + .v8-of-opts { margin-top: 0; }

/* Protection instructions: numbered gray cards, no line icons */
#v8 #app .v8-od-prot { display: grid; gap: var(--v8-3); margin: var(--v8-5) 0 0; padding: 0; list-style: none; counter-reset: p; }
#v8 #app .v8-od-prot li { position: relative; padding: var(--v8-5) var(--v8-5) var(--v8-5) 72px; border-radius: var(--v8-r); background: var(--v8-gray); counter-increment: p; }
#v8 #app .v8-od-prot li::before { content: counter(p); position: absolute; left: var(--v8-5); top: var(--v8-5); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--v8-white); box-shadow: inset 0 0 0 1px var(--v8-line); color: var(--v8-ink); font-weight: 700 !important; }
#v8 #app .v8-od-prot p { margin: var(--v8-2) 0 0; color: var(--v8-ink-2); }
#v8 #app .v8-od-ins { margin-top: var(--v8-9); }

/* Documents: white rows 72 high (records she looks up), the name a green link, "PDF" at the right */
#v8 #app .v8-od-docs { display: grid; margin: var(--v8-4) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--v8-line); }
#v8 #app .v8-od-docs li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; column-gap: var(--v8-4); min-height: 72px; padding: var(--v8-2) 0; border-bottom: 1px solid var(--v8-line); }
#v8 #app .v8-od-dt { display: grid; justify-items: start; }
#v8 #app .v8-od-dt > span { color: var(--v8-ink-2); }
#v8 #app .v8-od-di svg { display: block; width: 24px; height: 24px; color: var(--v8-ink); }
#v8 #app .v8-od-dm { color: var(--v8-ink-2); }

/* The foot bar (section 13's .v8-bj-dock) carries Accept under 1024; the bubble stands on it, never over Accept */

/* The green moment: the receipt on mint, the eight building pieces standing on the zone's floor (none float) */
#v8 #app .v8-od-gm { padding-bottom: calc(var(--v8-10) + 64px); }
#v8 #app .v8-od-gm .v8-gm-t:focus { outline: none; }
#v8 #app .v8-od-ground { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 var(--v8-7); pointer-events: none; }
#v8 #app .v8-od-ground img { display: block; width: 64px; height: 64px; }
#v8 #app .v8-od-gm .v8-gm-card { padding: var(--v8-6); border-radius: var(--v8-r); background: var(--v8-white); text-align: left; }
#v8 #app .v8-od-acct { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--v8-2) var(--v8-4); }
#v8 #app .v8-od-acc .v8-of-sign { margin-top: var(--v8-5); padding-top: var(--v8-5); border-top: 1px solid var(--v8-line); }
#v8 #app .v8-od-acc .v8-of-pdf { margin-top: var(--v8-3); min-height: 44px; }
#v8 #app .v8-of-certa .v8-link { display: inline-flex; align-items: center; min-height: 44px; }

/* 1024 to 1199: the panel narrows to 320, 40 from the column */
@media (max-width: 1199px) {
  #v8 #app .v8-od { grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--v8-7); }
  /* The item's price goes under its line, so the name and line keep their measure in the narrower column */
  #v8 #app .v8-od-ih { grid-template-columns: 64px minmax(0, 1fr); }
  #v8 #app .v8-od-ih > .v8-od-ip { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--v8-1) var(--v8-2); max-width: none; margin-top: calc(-1 * var(--v8-2)); text-align: left; }
  #v8 #app .v8-od-ih > .v8-od-ip:has(.v8-badge) { display: grid; justify-items: start; }
  /* "8,50 € a month in all" keeps its own line under "+2,00 € a month more" (round K, finding 10) */
  #v8 #app .v8-od-ih > .v8-od-ip > span + span { flex-basis: 100%; }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1199px) {
  #v8 #app .v8-od { grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--v8-7); }
  /* The item's price goes under its line, so the name and line keep their measure in the narrower column */
  #v8 #app .v8-od-ih { grid-template-columns: 64px minmax(0, 1fr); }
  #v8 #app .v8-od-ih > .v8-od-ip { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--v8-1) var(--v8-2); max-width: none; margin-top: calc(-1 * var(--v8-2)); text-align: left; }
  #v8 #app .v8-od-ih > .v8-od-ip:has(.v8-badge) { display: grid; justify-items: start; }
  /* "8,50 € a month in all" keeps its own line under "+2,00 € a month more" (round K, finding 10) */
  #v8 #app .v8-od-ih > .v8-od-ip > span + span { flex-basis: 100%; }}
/* Under 1024: one column. The panel opens the page after the title (its Accept goes to the foot bar; Talk to a person stays, the
   human route, since the flow bar shows only an icon) */
@media (max-width: 1023px) {
  /* The page ends 40 above the "Prototype screens" pill, which keeps the foot bar's height clear itself (base.css), so no strip of
     empty white stands over the foot bar (round K, finding 14) */
  #v8 #app .v8-od-main { padding: var(--v8-7) var(--page-x) var(--v8-7); }
  /* Talk to a person at its own width, at the left: the chat bubble stands at the window's right edge, so it never sits on the
     human route (round K, finding 18) */
  #v8 #app .v8-od-panel .v8-bj-pacts { justify-items: start; }
  #v8 #app .v8-od-panel .v8-bj-pacts .v8-btn { width: auto; }
  #v8 #app .v8-od, #v8 #app .shell .v8-od { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
  #v8 #app .v8-od > :is(.v8-od-head, .v8-od-panel, .v8-od-fx, .v8-od-doc) { grid-area: auto; }
  #v8 #app .v8-od-panel { position: static; margin-top: var(--v8-6); }
  #v8 #app .v8-od-panel #of-accept, #v8 #app .v8-od:has(~ .v8-od-dock) .v8-od-pnote-l { display: none; }
  #v8 #app .v8-od-ground img { width: 32px; height: 32px; }
  #v8 #app .v8-od-gm { padding-bottom: calc(var(--v8-7) + 32px); }
  #v8 #app .v8-od-gm .v8-gm-col { padding-top: var(--v8-7); }
}
@media (max-width: 639px) {
  #v8 #app .v8-od-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #v8 #app .v8-od-item { padding: var(--v8-5) var(--v8-4); }
  #v8 #app .v8-od-ih { grid-template-columns: 48px minmax(0, 1fr); gap: var(--v8-4); }
  #v8 #app .v8-od-art :is(img, svg) { width: 48px; height: 48px; }
  #v8 #app .v8-od-ih > .v8-od-ip { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--v8-1) var(--v8-2); max-width: none; text-align: left; }
  #v8 #app .v8-od-ih > .v8-od-ip:has(.v8-badge) { display: grid; justify-items: start; }
  #v8 #app .v8-od-ih > .v8-od-ip .v8-badge { max-width: 100%; }
  #v8 #app .v8-od-ih > .v8-od-ip > span + span { flex-basis: 100%; }
  #v8 #app .v8-od-ib { margin-left: 0; }
  #v8 #app .v8-od-case { padding: var(--v8-4); }
  #v8 #app .v8-od-case-d { padding: 0; }
  #v8 #app .v8-od-disc { padding: var(--v8-3) var(--v8-4); }
  #v8 #app .v8-od-cb { padding: 0 var(--v8-4) var(--v8-4); }
  #v8 #app .v8-od-cr { grid-template-columns: minmax(0, 1fr) auto; gap: var(--v8-1) var(--v8-4); padding: var(--v8-3) 0; }
  #v8 #app .v8-od-cov dt { grid-column: 1 / -1; }
  #v8 #app .v8-od-cov dd, #v8 #app .v8-od-cr:not(.v8-od-cr-a) dd { grid-column: 1; text-align: left; }
  #v8 #app .v8-od-cr:not(.v8-od-cr-a) dd { grid-column: 1 / -1; }
  #v8 #app .v8-od-cov dd.v8-od-ca { grid-column: 2; grid-row: 2; }
  #v8 #app .v8-od-notl > li { grid-template-columns: 48px minmax(0, 1fr); padding: var(--v8-4); }
  #v8 #app .v8-od-nr { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: space-between; align-items: center; }
  #v8 #app .v8-od-inv { padding: var(--v8-1) var(--v8-4); }
  #v8 #app .v8-od-prot li { padding: var(--v8-4) var(--v8-4) var(--v8-4) 64px; }
  #v8 #app .v8-od-prot li::before { left: var(--v8-4); top: var(--v8-4); }
  #v8 #app .v8-od-docs li { grid-template-columns: 24px minmax(0, 1fr); }
  #v8 #app .v8-od-dm { display: none; }
  #v8 #app .v8-od-panel { padding: var(--v8-5) var(--v8-4); }
  #v8 #app .v8-od-ground { padding: 0 var(--v8-4); }
  #v8 #app .v8-od-gm .v8-gm-card { padding: var(--v8-5) var(--v8-4); }
}
@media (max-width: 359px) { #v8 #app .v8-od-facts { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { #v8 #app .v8-od-chev svg { transition: none; } }
@media print { #v8 #app .v8-ofx :is(.v8-fbar, .v8-od-panel, .v8-bj-dock) { display: none !important; } }

/* ---------- 15. The offer in the policy page's parts (22 October 2026, README 98): #/offer/<id> ----------
   Janne: "these offers ... you haven't updated with our new policy page styling, so please do that", and "When you go to that
   offer, you don't see the side navigation." Markup: ../../prototype/app/v8-purchase.js pkHero, pkItem, docsSec, body. Nearly
   everything is the policy page's own classes (policy-k.css: .v8pk-hero, .v8pk-facts, .v8pk-sec, .v8pk-covg, .v8pk-lw, .v8pk-docs;
   base.css: the subtle button; ix-glance-k.css: the subtle link). These rules only place them on the offer, and turn the offer's
   own lists (not in this offer, the invoice, the protection instructions) into the policy page's boxes: white, one 1 px
   --v8-line, 8 corners, hairlines between rows, no gray fills, squares not circles (README 70). Type 20/16/12 only, never inside a
   media query */
#v8 #app .v8-odk { min-width: 0; }
/* In a new customer's flow frame there is no shell column: the policy page's measure, centred */
#v8 #app .v8-od-main > .v8-odk { max-width: var(--content-max, 1176px); margin: 0 auto; }
#v8 #app .v8-odk .v8-hero-w { margin-top: 0; }
/* The hero: the notes under Accept (the signature line, an expert's part) 16 ink-2, 12 under the buttons; the facts' Change */
#v8 #app .v8-od-hero .v8-od-hn { margin: var(--v8-3) 0 0; color: var(--v8-ink-2); }
#v8 #app .v8-od-hero .v8-od-hn + .v8-od-hn { margin-top: var(--v8-1); }
#v8 #app .v8-od-hero .v8-of-meta { margin-top: var(--v8-3); }
#v8 #app .v8-od-facts2 > li > .ixgk-acts { margin-top: var(--v8-1); }
#v8 #app .v8-od-hero .v8-od-start { margin-top: var(--v8-5); max-width: 640px; }
/* What's in your offer: each insurance is the policy page's Coverages panel; panels of one topic 40 apart (README 87) */
#v8 #app .v8-od-in .v8-od-items { display: grid; gap: var(--v8-7); }
#v8 #app .v8-od-in .v8-od-items > .v8-od-pnl { margin-top: 0 !important; }
#v8 #app .v8-od-pnl > .v8-panel-h h3.v8-h2 { margin: 0; color: var(--v8-ink); font-size: var(--v8-fs-20) !important; line-height: var(--v8-lh-20) !important; font-weight: 700 !important; letter-spacing: 0; }
#v8 #app .v8-od-pnl > .v8-panel-h h3.v8-h2:focus { outline: none; }
#v8 #app .v8-od-pnl > .v8-panel-h .v8-art :is(img, svg) { width: 56px !important; height: 56px !important; }
#v8 #app .v8-od-pnl > :is(.v8-info, .v8-od-vw, .v8-od-case) { margin-top: var(--v8-6) !important; }
#v8 #app .v8-od-pnl > .v8-od-vw + .v8-od-case { margin-top: var(--v8-5) !important; }
#v8 #app .v8-od-pnl > .v8-od-pl { margin: var(--v8-6) 0 0; }
#v8 #app .v8-od-pnl > .v8-od-pl .ixgk-acts { flex-direction: row; flex-wrap: wrap; column-gap: var(--v8-5); }
#v8 #app .v8-od-pnl .v8-od-case { background: var(--v8-white); }
/* The insurance's figures: the covers list's rows (.v8pk-lh), the name 16 ink, the value 16 Bold at the right, Change after it */
#v8 #app .v8-od-vl { margin: 0; }
#v8 #app .v8-od-vl dt { flex: 1 1 auto; min-width: 0; color: var(--v8-ink); }
#v8 #app .v8-od-vl dd { margin: 0; }
#v8 #app .v8-od-vl .v8-od-vv { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--v8-1) var(--v8-2); color: var(--v8-ink); text-align: right; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
#v8 #app .v8-od-vl .v8-od-vv .ixgk-lc { display: inline-flex; align-items: center; gap: var(--v8-2); }
html#v8[data-policy] #app .v8-od-vl .v8-od-vv .ixgk-lw { font-weight: 700 !important; }
#v8 #app .v8-od-vl .v8-od-was { font-weight: 400 !important; color: var(--v8-ink-2); }
#v8 #app .v8-od-vl .v8-od-va { flex: none; }
/* The group of covers under the figures: the policy page's spacing inside its panel */
#v8 #app .v8-od-pnl > .v8-panel-g { margin-top: var(--v8-8) !important; }
/* Not in this offer: one white box, a row per thing she could add, hairlines between */
#v8 #app .v8-od-not .v8-od-notl { gap: 0; margin: 0; border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
#v8 #app .v8-od-not .v8-od-notl > li { border-radius: 0; background: transparent; }
#v8 #app .v8-od-not .v8-od-notl > li + li { border-top: 1px solid var(--v8-line); }
#v8 #app .v8-od-in .v8-od-ok, #v8 #app .v8-od-not .v8-od-ok { margin: var(--v8-4) 0 0; color: var(--v8-ink-2); }
/* The first invoices: a boxed list, white with the line, the total row Bold over a hairline */
#v8 #app .v8-od-invs .v8-od-inv { border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
/* Protection instructions: one boxed list, the number in a 32 gray square (8 corners) */
#v8 #app .v8-od-pr .v8-od-prot { gap: 0; margin: 0; border: 1px solid var(--v8-line); border-radius: var(--v8-r-sm); background: var(--v8-white); }
#v8 #app .v8-od-pr .v8-od-prot li { border-radius: 0; background: transparent; }
#v8 #app .v8-od-pr .v8-od-prot li + li { border-top: 1px solid var(--v8-line); }
#v8 #app .v8-od-pr .v8-od-prot li::before { border-radius: var(--v8-r-sm); background: var(--v8-gray); box-shadow: none; }
#v8 #app .v8-od-pr .v8-od-prot h3.v8-cn { font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; color: var(--v8-ink); }
@media (max-width: 639px) {
  #v8 #app .v8-od-vl .v8pk-lh { flex-wrap: wrap; row-gap: var(--v8-1); }
  #v8 #app .v8-od-vl dt { flex-basis: 100%; }
  #v8 #app .v8-od-vl .v8-od-vv { justify-content: flex-start; text-align: left; }
  #v8 #app .v8-od-vl .v8-od-va { margin-left: auto; }
}
@media (forced-colors: active) { #v8 #app :is(.v8-od-not .v8-od-notl, .v8-od-invs .v8-od-inv, .v8-od-pr .v8-od-prot) { border-color: CanvasText; } }
#v8 #app .v8-od-vl .v8-od-vv > .v8-od-vt { font-weight: 700 !important; }
