/* The public pages' hero system. Two parts, both opt-in:
   pv-*  page type and hero layout. A public page opts in with class "pv" beside "mw" (or its own page class) and
         "pv-hero" on its hero section; pages without the class are untouched (Pricing, Sign up, Sign in, About, Home).
   ps-*  the stage: one calm colour field with a single product panel on it that goes through real states, one step
         at a time (wwwroot/js/public-stage.js sets data-step on the stage and is-on on every [data-from]/[data-to]
         element). Components/Pages/PageComponents/PublicStage.razor is the frame. A panel is either drawn in HTML
         (ps-head, ps-rows, ps-strip ...) or a real capture of the admin (is-shot).
   No glows, orbits, connection lines or floating cards. Motion is a short fade with a small rise, and state changes
   that read like the app: a pill changes, a bar moves, a number counts, a row arrives.
   Without the script every scene shows its last step. Under prefers-reduced-motion the script shows the last step
   and does not advance. */

/* ---- Tokens ---------------------------------------------------------------------------------------------------- */
.pv { --pv-ink: #0b0f19; --pv-muted: #565973; --pv-line: rgba(11, 15, 25, .12); --pv-page: #fcfdfd; font-family: "Manrope", system-ui, sans-serif; }
[data-bs-theme="dark"] .pv { --pv-ink: #eef0fa; --pv-muted: #afb5ca; --pv-line: rgba(255, 255, 255, .14); --pv-page: #0b0f19; }

/* ---- The whole public site: headings, labels, buttons ------------------------------------------------------------ */
/* main.page-wrapper is MainLayout, so this reaches every public page (and sign in / sign up) and nothing in the admin
   app, whose layout is .admin-shell. Headings are the thinner cut; labels over headings are sentence case; buttons are
   pills with a slight top-to-bottom gradient and a hairline highlight. */
.page-wrapper :is(h1, h2, .h1, .h2, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6) { font-family: "Manrope", system-ui, sans-serif; font-weight: 500 !important; letter-spacing: -.032em; }
.page-wrapper :is(h3, h4, .h3, .h4) { font-weight: 600 !important; letter-spacing: -.012em; }
.page-wrapper :is(.mw-gradient-text, .v4-title-gradient) { color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.page-wrapper :is(.mw-eyebrow, .hs-eyebrow, .nf-eyebrow, .bgt-eyebrow, .imp-eyebrow, .cnc-eyebrow) { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }

.page-wrapper .btn:not(.btn-link, .btn-close, .btn-icon, .navbar-toggler) { border-radius: 999px; font-weight: 600; letter-spacing: 0; }
/* The primary button. It was violet; now it is the page's own ink, a little softened, on a pill: dark on a light page,
   light on a dark one, and inside a cover it takes that cover's ink and page colour, so it sits in the page's own
   colours wherever it is. */
.page-wrapper :is(.btn-primary, .sp-btn-primary) { --bp-ink: var(--pv-ink, #0b0f19); --bp-page: var(--pv-page, #fcfdfd); --bp-fill: linear-gradient(180deg, color-mix(in srgb, var(--bp-ink) 78%, var(--bp-page)), color-mix(in srgb, var(--bp-ink) 92%, var(--bp-page))); --si-btn-color: var(--bp-page); --si-btn-hover-color: var(--bp-page); --si-btn-active-color: var(--bp-page); --si-btn-disabled-color: var(--bp-page); border-color: transparent; background: var(--bp-fill); color: var(--bp-page); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(11, 15, 25, .16); transition: filter .18s ease, transform .12s ease; }
[data-bs-theme="dark"] .page-wrapper :is(.btn-primary, .sp-btn-primary) { --bp-ink: var(--pv-ink, #eef0fa); --bp-page: var(--pv-page, #0b0f19); --bp-fill: linear-gradient(180deg, var(--bp-ink), color-mix(in srgb, var(--bp-ink) 84%, var(--bp-page))); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(0, 0, 0, .3); }
.page-wrapper :is(.btn-primary, .sp-btn-primary):is(:hover, :focus-visible):not(:disabled) { border-color: transparent; background: var(--bp-fill); color: var(--bp-page); filter: brightness(1.12); transform: none; }
[data-bs-theme="dark"] .page-wrapper :is(.btn-primary, .sp-btn-primary):is(:hover, :focus-visible):not(:disabled) { filter: brightness(1.06); }
.page-wrapper :is(.btn-primary, .sp-btn-primary):focus-visible { outline: 2px solid var(--bp-ink); outline-offset: 2px; }
.page-wrapper :is(.btn-primary, .sp-btn-primary):active:not(:disabled) { border-color: transparent; background: var(--bp-fill); color: var(--bp-page); filter: brightness(.94); transform: translateY(1px); }
.page-wrapper :is(.btn-outline-secondary, .btn-outline-primary, .btn-secondary), .mw-nav .mw-nav-signin, .pv .pv-hero :is(.mw-secondary-action, .bgt-text-link, .pv-link) { border-color: transparent; background: linear-gradient(180deg, #fff, #f3f4f9); color: #0b0f19; box-shadow: inset 0 0 0 1px rgba(11, 15, 25, .12), 0 1px 2px rgba(11, 15, 25, .06); transition: box-shadow .18s ease, transform .12s ease; }
.page-wrapper :is(.btn-outline-secondary, .btn-outline-primary, .btn-secondary):is(:hover, :focus-visible), .mw-nav .mw-nav-signin:is(:hover, :focus-visible), .pv .pv-hero :is(.mw-secondary-action, .bgt-text-link, .pv-link):hover { border-color: transparent; background: linear-gradient(180deg, #fff, #f3f4f9); color: #0b0f19; box-shadow: inset 0 0 0 1px rgba(11, 15, 25, .34), 0 1px 2px rgba(11, 15, 25, .08); text-decoration: none; }
[data-bs-theme="dark"] .page-wrapper :is(.btn-outline-secondary, .btn-outline-primary, .btn-secondary), [data-bs-theme="dark"] .mw-nav .mw-nav-signin, [data-bs-theme="dark"] .pv .pv-hero :is(.mw-secondary-action, .bgt-text-link, .pv-link) { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); color: #eef0fa; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .08); }
[data-bs-theme="dark"] .page-wrapper :is(.btn-outline-secondary, .btn-outline-primary, .btn-secondary):is(:hover, :focus-visible), [data-bs-theme="dark"] .mw-nav .mw-nav-signin:is(:hover, :focus-visible), [data-bs-theme="dark"] .pv .pv-hero :is(.mw-secondary-action, .bgt-text-link, .pv-link):hover { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.mw-nav .mw-nav-signin { min-height: 38px; padding: 0 15px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 600; }
.mw-nav .mw-nav-getapp { display: inline-flex; align-items: center; gap: 4px; min-height: 38px; padding: 0 16px; font-size: 13px; }

/* ---- Hero type and layout -------------------------------------------------------------------------------------- */
/* One weight, one colour. The second line of a headline is not tinted and nothing is set in capitals. */
.pv .pv-hero { position: relative; padding: clamp(118px, 10.5vw, 152px) 0 clamp(48px, 6vw, 84px); background: none; }
.pv .pv-hero :is(h1, .pv-title) { margin: 0 0 20px; color: var(--pv-ink); font-size: clamp(36px, 4.15vw, 58px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.pv .pv-hero :is(h1, .pv-title) > span { color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.pv .pv-hero :is(.mw-eyebrow, .bgt-eyebrow), .pv-kicker { display: block; margin: 0 0 14px; color: var(--pv-muted); font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.pv .pv-hero :is(.mw-eyebrow, .bgt-eyebrow) > i { display: none; }
.pv .pv-hero :is(.mw-lead, .bgt-lead, .pv-lead) { max-width: 31em; margin: 0; color: var(--pv-muted); font-size: 17px; line-height: 1.65; }
.pv .pv-hero :is(.mw-hero-grid, .bgt-hero-grid, .pv-hero-grid) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); align-items: center; gap: clamp(36px, 5.5vw, 84px); }
.pv .pv-hero :is(.mw-actions, .bgt-actions, .pv-actions) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.pv .pv-hero :is(.mw-actions, .bgt-actions, .pv-actions) .btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: 999px; box-shadow: none; font-size: 14px; font-weight: 600; }
.pv .pv-hero :is(.mw-secondary-action, .bgt-text-link, .pv-link) { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; }
.pv .pv-hero :is(.mw-actions, .bgt-actions, .pv-actions) i { font-size: 18px; }
.pv .pv-hero :is(.mw-reassurance, .bgt-reassurance, .pv-notes) { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 24px; color: var(--pv-muted); font-size: 13px; }
.pv .pv-hero :is(.mw-reassurance, .bgt-reassurance, .pv-notes) :is(span, li) { display: inline-flex; align-items: center; gap: 6px; }
.pv .pv-hero :is(.mw-reassurance, .bgt-reassurance, .pv-notes) i { color: inherit; font-size: 16px; opacity: .75; }

ul.pv-notes { padding: 0; list-style: none; }
/* The small print under a hero's buttons, and a hero that is a slide in the home carousel. */
.pv-fine { max-width: 36em; margin: 20px 0 0; color: var(--pv-muted); font-size: 13px; line-height: 1.6; }
.pv-fine strong { color: var(--pv-ink); font-weight: 600; }
.pv .pv-fine a { color: var(--pv-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pv .pv-hero.pv-slide { padding-bottom: clamp(24px, 3vw, 40px); }
/* The quieter ways in, under a hero's buttons: the app stores and sign-in, as labelled links in the muted ink. */
.pv-alt { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 16px 0 0; color: var(--pv-muted); font-size: 13.5px; line-height: 1.6; }
.pv-alt > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.pv .pv-alt a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: var(--pv-ink); font-weight: 600; text-decoration: none; }
.pv .pv-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pv .pv-alt a:focus-visible { outline: 2px solid var(--pv-ink); outline-offset: 2px; border-radius: 4px; }
.pv-alt i { font-size: 17px; }
.pv .pv-hero .pv-alt + .pv-fine { margin-top: 10px; }

.pv .pv-hero .pv-lead + .pv-lead { margin-top: 12px; font-size: 15px; }
.pv .pv-hero .pv-lead + .pv-fine { margin-top: 12px; }
/* A short list of points under a hero's lead, and a page that opens with a heading only (FAQ). */
.pv-points { display: grid; gap: 9px; max-width: 34em; margin: 20px 0 0; padding: 0; list-style: none; color: var(--pv-muted); font-size: 14px; line-height: 1.55; }
.pv-points > li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.pv-points i { margin-top: 2px; font-size: 17px; opacity: .75; }
.pv-points strong { color: var(--pv-ink); font-weight: 600; }
.pv .mw-page-intro { padding: clamp(118px, 10.5vw, 152px) 0 40px; background: none; }
.pv .mw-page-intro h1 { margin: 0 0 18px; font-size: clamp(36px, 4.15vw, 58px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.pv .mw-page-intro p { font-size: 17px; line-height: 1.65; }

/* ---- Type below the hero ---------------------------------------------------------------------------------------- */
/* Section headings, labels and links on a pv page follow the hero: lighter, one colour, nothing in capitals. */
.pv :is(h2, .mw-overview-title) { font-weight: 500; letter-spacing: -.03em; }
.pv h2 > span, .pv .mw-gradient-text { color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.pv h3 { font-weight: 600; letter-spacing: -.01em; }
.pv :is(.mw-eyebrow, .bgt-eyebrow, .nf-eyebrow) { color: var(--pv-muted); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.pv :is(.mw-text-link, .bgt-text-link) { font-weight: 600; }

/* Sections under the hero: flat bands, quieter lists and links, and a stage in place of the old demo. In a reversed
   section the panel hangs toward the copy instead of off the page edge. */
.pv :is(.mw-feature-band, .mw-green-band, .mw-ai-band, .mw-report-band) { background: none; }
.pv .mw-story h2 { font-size: clamp(28px, 2.9vw, 40px); line-height: 1.15; }
.pv .mw-benefits li { font-size: 14px; font-weight: 500; }
.pv .mw-benefits i { color: var(--pv-muted); }
.pv .mw-text-link { color: var(--pv-ink); }
.pv .mw-text-link:hover { color: var(--pv-ink); }
@media (min-width: 992px) {
    .pv .mw-story.is-reversed .ps-card { margin-right: -30px; margin-left: 28px; }
}

/* ---- The stage ------------------------------------------------------------------------------------------------- */
/* Field colours: one calm slate field under every stage on the site, whatever the area (it used to run through each
   area's hue, violet by default). The top strip goes from near-white through slate, the bottom strip from near-black to
   a pale slate. Each strip is four panes with their own short gradient, softened, like light through fluted glass. The
   area's colour now lives only in the panel (--ps-accent), never in the field. */
.ps-stage { --t1: #f4f6fa; --t2: #dbe2ec; --t3: #bcc8d8; --t4: #8296b0; --t5: #5b708e; --t6: #2e3d55; --t7: #95a7be; --t8: #e3e8f0;
    --b1: #080b12; --b2: #121a2a; --b3: #1a2638; --b4: #2a3d58; --b5: #3f5878; --b6: #6c86a8; --b7: #9bb0c9; --b8: #dfe7f1;
    --ps-ink: #0b0f19; --ps-sub: #5d6178; --ps-rule: rgba(11, 15, 25, .09); --ps-well: rgba(11, 15, 25, .045); --ps-glass: rgba(255, 255, 255, .92);
    --ps-good: #15803d; --ps-warn: #b45309; --ps-info: #2563eb; --ps-accent: #212836; --ps-on-accent: #fff; --ps-you: #2563eb; --ps-partner: #d97706; --ps-track: rgba(11, 15, 25, .08);
    --ps-shadow: 0 0 0 1px rgba(11, 15, 25, .06), 0 1px 1px rgba(11, 15, 25, .05), 0 8px 14px -6px rgba(11, 15, 25, .14), 0 26px 36px -20px rgba(11, 15, 25, .34);
    position: relative; display: grid; min-width: 0; min-height: clamp(380px, 37vw, 528px); }
[data-bs-theme="dark"] .ps-stage { --ps-ink: #f1f2f8; --ps-sub: #a3a8be; --ps-rule: rgba(255, 255, 255, .1); --ps-well: rgba(255, 255, 255, .055); --ps-glass: linear-gradient(rgba(255, 255, 255, .045), rgba(255, 255, 255, .02)), rgba(11, 14, 24, .84);
    --ps-good: #4ade80; --ps-warn: #fbbf24; --ps-info: #7cb0ff; --ps-accent: #dadee7; --ps-on-accent: #0b0f19; --ps-you: #60a5fa; --ps-partner: #fbbf24; --ps-track: rgba(255, 255, 255, .1);
    --ps-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 1px 1px rgba(0, 0, 0, .14), 0 6px 10px -4px rgba(0, 0, 0, .22), 0 20px 28px -16px rgba(0, 0, 0, .38); }
/* The frame: the stage, and one quiet line under it saying where the picture comes from. */
.ps-figure { min-width: 0; margin: 0; }
.ps-figure > figcaption { margin-top: 10px; color: var(--pv-muted, #565973); font-size: 12px; line-height: 1.4; text-align: right; }
/* Tones set the panel's accent only; the field stays the calm slate above. Budgets: plum. Reports: indigo. Couples and
   sharing: the couple's blue (with their amber for the partner). Calm: ink. */
[data-bs-theme="dark"] .ps-tone-plan { --ps-accent: #dadee7; }
[data-bs-theme="dark"] .ps-tone-reports { --ps-accent: #dadee7; }
.ps-tone-couple { --ps-accent: #2563eb; }
[data-bs-theme="dark"] .ps-tone-couple { --ps-accent: #60a5fa; }
.ps-tone-plan { --ps-accent: #212836; }
.ps-tone-reports { --ps-accent: #212836; }

.ps-field { grid-area: 1 / 1; position: relative; overflow: hidden; border-radius: 24px; background: var(--b1); isolation: isolate; }
.ps-field::before, .ps-field::after { content: ""; position: absolute; left: -9%; right: -9%; filter: blur(10px); animation: ps-drift 28s ease-in-out infinite alternate; }
.ps-field::before { top: -9%; height: 60%; background: linear-gradient(90deg, var(--t1) 0, var(--t2) 25%, var(--t3) 25%, var(--t4) 50%, var(--t5) 50%, var(--t6) 75%, var(--t7) 75%, var(--t8) 100%); }
.ps-field::after { bottom: -9%; height: 60%; background: linear-gradient(90deg, var(--b1) 0, var(--b2) 25%, var(--b3) 25%, var(--b4) 50%, var(--b5) 50%, var(--b6) 75%, var(--b7) 75%, var(--b8) 100%); animation-direction: alternate-reverse; }
[data-bs-theme="dark"] .ps-field { filter: saturate(.92) brightness(.82); }
.ps-stage::after { content: ""; grid-area: 1 / 1; z-index: 1; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .12); pointer-events: none; }
[data-bs-theme="dark"] .ps-stage::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
@keyframes ps-drift { from { transform: translate3d(-2.5%, 0, 0) scale(1.02); } to { transform: translate3d(2.5%, -2%, 0) scale(1.09); } }

/* The panel. It hangs a little off the field's left edge, the way a window sits on a desk. */
.ps-card { grid-area: 1 / 1; z-index: 2; align-self: center; position: relative; min-width: 0; margin: 44px 28px 76px -30px; padding: 18px 18px 14px; border-radius: 16px; background: var(--ps-glass); -webkit-backdrop-filter: blur(40px) saturate(1.6); backdrop-filter: blur(40px) saturate(1.6); box-shadow: var(--ps-shadow); color: var(--ps-ink); font-family: "Manrope", system-ui, sans-serif; font-size: 13px; line-height: 1.45; font-variant-numeric: tabular-nums; container-type: inline-size; }
.ps-card :is(b, strong) { font-weight: 600; }
.ps-card small { display: block; color: var(--ps-sub); font-size: 11.5px; }
.ps-card :is(ul, ol) { list-style: none; margin: 0; padding: 0; }
.ps-card p { margin: 0; color: var(--ps-sub); }

.ps-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(11, 15, 25, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; font-size: 20px; }
.ps-toggle::before { content: ""; position: absolute; inset: -4px; }
.ps-toggle:hover { background: rgba(11, 15, 25, .95); }
.ps-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.ps-stage:not([data-ps-live]) .ps-toggle, .ps-stage[data-ps-still] .ps-toggle { display: none; }
.ps-stage[data-paused="true"] .ps-field::before, .ps-stage[data-paused="true"] .ps-field::after { animation-play-state: paused; }

/* ---- What is on a panel ---------------------------------------------------------------------------------------- */
.ps-head { display: flex; align-items: center; gap: 10px; min-height: 24px; margin-bottom: 14px; }
.ps-head > b { font-size: 14px; }
.ps-head > span:not(.ps-badge) { color: var(--ps-sub); }
.ps-badge { display: inline-flex; align-items: center; height: 22px; margin-left: auto; padding: 0 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ps-rule); color: var(--ps-sub); font-size: 12px; white-space: nowrap; }

.ps-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 12px; border-block: 1px solid var(--ps-rule); }
.ps-kpis > div { padding: 11px 12px 12px 0; }
.ps-kpis > div + div { padding-left: 14px; border-left: 1px solid var(--ps-rule); }
.ps-kpis b { display: block; margin-top: 2px; font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; }
.ps-kpis em { color: var(--ps-sub); font-size: 12px; font-style: normal; font-weight: 500; letter-spacing: 0; }
.ps-kpis b.ps-swap { display: grid; justify-items: start; }
.ps-kpi-wide { display: flex; align-items: end; gap: 14px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ps-rule); }
.ps-kpi-wide b { display: block; margin-top: 2px; font-size: 27px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.ps-kpi-wide svg { flex: 0 1 44%; min-width: 0; height: 44px; margin-left: auto; overflow: visible; }
.ps-kpi-wide path { fill: none; stroke: var(--ps-good); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s cubic-bezier(.3, .6, .2, 1); }
.ps-kpi-wide path.is-on { stroke-dashoffset: 0; }
.ps-delta { display: inline-block; margin-top: 2px; color: var(--ps-good); font-size: 12px; font-weight: 600; }

/* Rows: an icon, a name, a status, an amount. */
.ps-rows > li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto; align-items: center; gap: 0 10px; min-height: 36px; padding: 5px 0; }
.ps-rows > li + li { border-top: 1px solid var(--ps-rule); }
.ps-rows > li > i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ps-rule); color: var(--ps-sub); font-size: 15px; }
.ps-rows > li > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-rows > li > b > em { color: var(--ps-sub); font-style: normal; font-weight: 500; }
.ps-amt { min-width: 6.4em; color: var(--ps-ink); text-align: right; white-space: nowrap; }
.ps-amt em { color: var(--ps-sub); font-style: normal; }
.ps-meter { grid-column: 2 / -1; height: 4px; margin: 5px 0 3px; border-radius: 4px; background: var(--ps-track); overflow: hidden; }
.ps-meter::before { content: ""; display: block; width: var(--v, 0%); height: 100%; border-radius: inherit; background: var(--ps-accent); transition: width .9s cubic-bezier(.3, .7, .2, 1), background-color .4s; }
.ps-meter.is-warn::before { background: var(--ps-warn); }
.ps-rows > li.is-picked { margin-inline: -8px; padding-inline: 8px; border-radius: 9px; border-top-color: transparent; background: var(--ps-well); }
.ps-rows > li.is-picked + li { border-top-color: transparent; }

/* Two people and one tally: what each owes, and the net between them. You are blue; your partner is amber. */
.ps-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 0 12px; margin-bottom: 12px; padding-bottom: 11px; border-bottom: 1px solid var(--ps-rule); }
.ps-duo b { display: block; margin-top: 2px; font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.ps-duo .is-you b { color: var(--ps-you); }
.ps-duo .is-partner { text-align: right; }
.ps-duo .is-partner b { color: var(--ps-partner); }
.ps-duo-net { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; color: var(--ps-sub); font-size: 12.5px; text-align: center; }
.ps-duo .ps-duo-net b { display: inline-grid; margin: 0; font-size: 12.5px; letter-spacing: 0; vertical-align: bottom; }
.ps-duo-bar { grid-column: 1 / -1; grid-row: 2; height: 6px; margin-top: 10px; border-radius: 6px; background: var(--ps-partner); overflow: hidden; }
.ps-duo-bar::before { content: ""; display: block; width: var(--v, 0%); height: 100%; background: var(--ps-you); transition: width .9s cubic-bezier(.3, .7, .2, 1); }

/* A switch, and a list of them. */
.ps-switch { position: relative; width: 34px; height: 20px; border-radius: 20px; background: var(--ps-track); box-shadow: inset 0 0 0 1px var(--ps-rule); transition: background-color .3s; }
.ps-switch::before { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .3s cubic-bezier(.3, .7, .2, 1); }
.ps-switch.is-set { background: var(--ps-accent); }
.ps-switch.is-set::before { transform: translateX(14px); }
.ps-toggles > li { min-height: 44px; }
.ps-toggles > li > b { white-space: normal; line-height: 1.3; }
.ps-toggles > li > b > em { display: block; font-size: 11.5px; }
.ps-pick > small { margin: 10px 0 2px; }

/* Financial Intelligence: the suggested questions, the question asked, the checks, the answer, the composer. */
.ps-card .ps-hello { margin: 2px 0 10px; }
.ps-hello b { color: var(--ps-ink); font-size: 15px; }
.ps-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ps-cards > li { padding: 10px 11px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ps-rule); }
.ps-cards > li > b { display: block; margin-bottom: 2px; }
.ps-cards > li > span { display: block; color: var(--ps-sub); font-size: 12px; line-height: 1.4; }
.ps-cards > li > em { display: inline-block; margin-top: 6px; color: var(--ps-info); font-size: 11px; font-style: normal; font-weight: 600; }
.ps-card .ps-q { width: fit-content; max-width: 86%; margin: 0 0 10px auto; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--ps-accent); color: var(--ps-on-accent); font-size: 12.5px; line-height: 1.4; }
.ps-checks > li { display: flex; align-items: center; gap: 8px; min-height: 24px; color: var(--ps-sub); font-size: 12px; }
.ps-checks > li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ps-rule); transition: background-color .3s, box-shadow .3s; transition-delay: var(--d, 0s); }
.ps-checks > li.is-on { color: var(--ps-ink); }
.ps-checks > li.is-on::before { background: var(--ps-good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2 6.2 9.4 10 5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
.ps-card .ps-answer > p { margin: 10px 0 6px; font-size: 12.5px; }
.ps-answer > p b { color: var(--ps-ink); }
.ps-mini > li { display: grid; grid-template-columns: minmax(0, 1fr) 3em 6em; padding: 5px 0; border-top: 1px solid var(--ps-rule); font-size: 12.5px; }
.ps-mini em { color: var(--ps-sub); font-style: normal; }
.ps-mini b { text-align: right; }
.ps-composer { display: flex; align-items: center; gap: 8px; height: 36px; margin-top: 10px; padding: 0 5px 0 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ps-rule); color: var(--ps-sub); font-size: 12.5px; }
.ps-composer > i { display: grid; place-items: center; width: 26px; height: 26px; margin-left: auto; border-radius: 50%; background: var(--ps-accent); color: var(--ps-on-accent); font-size: 14px; }

/* Help: a search box over a short list of answers. */
.ps-search { display: flex; align-items: center; gap: 8px; height: 36px; margin-bottom: 6px; padding: 0 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ps-rule); }
.ps-search > i { color: var(--ps-sub); font-size: 16px; }
.ps-search > span:empty::before { content: attr(data-ph); color: var(--ps-sub); }

/* A browser inside the panel (Cancel Assist's private session), with a sign-in form and a dialog in it. */
.ps-browser { margin-top: 8px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ps-rule); overflow: hidden; }
.ps-browser-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-bottom: 1px solid var(--ps-rule); background: var(--ps-well); color: var(--ps-sub); font-size: 11.5px; white-space: nowrap; }
.ps-browser-bar > i { color: var(--ps-good); font-size: 13px; }
.ps-browser-bar > span { color: var(--ps-ink); }
.ps-browser-bar > em { margin-left: auto; overflow: hidden; font-style: normal; text-overflow: ellipsis; }
.ps-slot.ps-browser-body { min-height: 122px; margin-top: 0; padding: 12px; }
.ps-slot.ps-browser-body > * { align-self: center; }
.ps-form { display: grid; gap: 6px; max-width: 270px; }
.ps-form > span { display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 10px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--ps-rule); color: var(--ps-sub); font-size: 11.5px; }
.ps-form > span > i { color: var(--ps-ink); font-size: 9px; font-style: normal; letter-spacing: 3px; }
.ps-dialog > div { display: flex; gap: 8px; margin-top: 8px; }
.ps-ghost { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ps-rule); font-size: 12px; font-weight: 600; }

/* A row of numbered steps (Import), and a set of choices to pick from. */
.ps-steps { display: flex; gap: 4px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ps-rule); }
.ps-card .ps-steps { padding-bottom: 12px; }
.ps-steps > li { flex: 1; min-width: 0; padding-top: 7px; overflow: hidden; border-top: 2px solid var(--ps-track); color: var(--ps-sub); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; transition: border-color .3s, color .3s; }
.ps-steps > li.is-done { border-top-color: var(--ps-ink); color: var(--ps-ink); }
.ps-steps > li.is-now { border-top-color: var(--ps-accent); color: var(--ps-ink); font-weight: 600; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-card .ps-chips { margin-top: 8px; }
.ps-chips > li.is-picked { background: var(--ps-ink); box-shadow: none; color: var(--pv-page, #fff); }
[data-bs-theme="dark"] .ps-chips > li.is-picked { color: #0b0f19; }
.ps-rows > li { transition: opacity .35s ease; }
.ps-rows > li.is-hidden { opacity: .3; }
.ps-chips > li { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ps-rule); font-size: 12.5px; font-weight: 600; }

/* A status. It is a hairline pill with a mark; the words carry the meaning, the colour only agrees with them. */
.ps-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ps-rule); color: var(--ps-sub); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ps-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ps-pill.is-good { color: var(--ps-good); }
.ps-pill.is-warn { color: var(--ps-warn); }
.ps-pill.is-info { color: var(--ps-info); }
.ps-pill.is-busy::before { width: 8px; height: 8px; border: 1.5px solid currentColor; border-right-color: transparent; background: none; animation: ps-spin .9s linear infinite; }
@keyframes ps-spin { to { transform: rotate(1turn); } }

/* A strip under the rows: something that arrived, with what it means. */
.ps-strip { display: flex; align-items: center; gap: 10px; min-height: 40px; margin-top: 8px; padding: 7px 10px; border-radius: 10px; background: var(--ps-well); }
.ps-strip > i { flex: none; color: var(--ps-sub); font-size: 17px; }
.ps-strip > span { min-width: 0; flex: 1; }
.ps-strip > span > small { margin-top: 1px; }
.ps-strip small.ps-swap { display: grid; }
.ps-strip > :is(.ps-pill, .ps-btn, .ps-end) { flex: none; margin-left: auto; }
.ps-end > * { justify-self: end; }
.ps-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ps-ink); color: var(--pv-page, #fff); font-size: 12px; font-weight: 600; transition: transform .14s; }
[data-bs-theme="dark"] .ps-btn { color: #0b0f19; }
.ps-btn.is-press { transform: scale(.94); }
.ps-caret::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; background: currentColor; vertical-align: -.16em; animation: ps-blink 1s steps(1) infinite; }
@keyframes ps-blink { 50% { opacity: 0; } }

/* Horizontal bars with a label and a value (a report's breakdown). */
.ps-bars > li { display: grid; grid-template-columns: 7.4em minmax(0, 1fr) 4.2em 3.4em; align-items: center; gap: 0 10px; min-height: 30px; padding: 0 8px; margin-inline: -8px; border-radius: 9px; transition: background-color .3s; }
.ps-bars > li > span:first-child { color: var(--ps-sub); }
.ps-bars > li > i { height: 8px; border-radius: 3px; background: var(--ps-track); overflow: hidden; }
.ps-bars > li > i::before { content: ""; display: block; width: var(--v, 0%); height: 100%; border-radius: inherit; background: var(--ps-accent); transition: width 1s cubic-bezier(.3, .7, .2, 1); }
.ps-bars > li > b { text-align: right; }
.ps-bars > li > small { text-align: right; white-space: nowrap; }
.ps-bars > li.is-on { background: var(--ps-well); }
.ps-bars > li.is-on > span:first-child { color: var(--ps-ink); }
.ps-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.ps-detail > div { padding: 8px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ps-rule); }
.ps-detail b { display: block; font-size: 15px; }
.ps-detail + .ps-rows { margin-top: 6px; }

/* The line under a panel: what this step is showing, and where the loop is. */
.ps-foot { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--ps-rule); }
.ps-card .ps-caption { display: grid; margin: 0; color: var(--ps-sub); font-size: 12.5px; line-height: 1.45; min-height: 2.9em; }
.ps-caption b { color: var(--ps-ink); }
.ps-segs { display: flex; gap: 4px; margin-top: 9px; }
.ps-segs > i { flex: 1; height: 2px; border-radius: 2px; background: var(--ps-track); overflow: hidden; }
.ps-segs > i::before { content: ""; display: block; height: 100%; background: var(--ps-ink); opacity: .7; transform: scaleX(0); transform-origin: 0 50%; }
.ps-segs > i.is-done::before { transform: none; }
.ps-segs > i.is-now::before { animation: ps-seg var(--ps-hold, 2.6s) linear forwards; }
.ps-stage[data-paused="true"] .ps-segs > i.is-now::before { animation-play-state: paused; }
@keyframes ps-seg { to { transform: none; } }

/* The pointer that presses a button in a scene. */
.ps-cursor { position: absolute; left: 0; top: 0; z-index: 4; width: 18px; height: 18px; opacity: 0; pointer-events: none; transform: translate3d(var(--x, 0), var(--y, 0), 0); transition: transform .62s cubic-bezier(.3, .1, .2, 1), opacity .25s; }
.ps-cursor.is-on { opacity: 1; }
.ps-cursor::before { content: ""; position: absolute; inset: 0; background: var(--ps-ink); clip-path: polygon(0 0, 0 78%, 22% 60%, 38% 96%, 52% 90%, 37% 55%, 66% 55%); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
.ps-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ps-ink); opacity: 0; transform: scale(.4); }
.ps-cursor.is-click::after { animation: ps-click .5s ease-out; }
@keyframes ps-click { 0% { opacity: .7; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.5); } }

/* ---- A panel that is a real capture of the app -------------------------------------------------------------------- */
/* is-shot: the panel is one or more captures of the same admin card (a light and a dark file each), stacked, one per
   state; the script cross-fades them. ps-fx holds marks placed in percent of the capture (--x --y --w --h): ps-ring
   outlines one part, ps-veil keeps a part covered until its step, ps-tag is a short label. The caption sits in its
   own bar under the capture. */
.ps-card.is-shot { padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.ps-shots { position: relative; display: grid; }
.ps-shots > * { grid-area: 1 / 1; min-width: 0; }
.ps-shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 26px rgba(11, 15, 25, .3)); }
.ps-shot .ps-dark, [data-bs-theme="dark"] .ps-shot .ps-light { display: none; }
[data-bs-theme="dark"] .ps-shot .ps-dark { display: block; }
.ps-stage[data-ps-live] .ps-shot.ps-keep:is([data-from], [data-to]) { opacity: 0; transition: opacity .55s ease; }
.ps-stage[data-ps-live] .ps-shot.ps-keep.is-on { opacity: 1; }
.ps-fx { position: absolute; inset: 0; pointer-events: none; }
.ps-fx > * { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); }
.ps-ring, .ps-veil { width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); }
.ps-ring { border-radius: clamp(5px, 1.2cqw, 12px); box-shadow: 0 0 0 2px var(--ps-accent), 0 0 0 6px color-mix(in srgb, var(--ps-accent) 22%, transparent); }
.ps-veil { background: var(--ps-veil, #fff); }
[data-bs-theme="dark"] .ps-veil { background: var(--ps-veil-dark, #161b28); }
.ps-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ps-ink); color: var(--pv-page, #fff); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
[data-bs-theme="dark"] .ps-tag { color: #0b0f19; }
.ps-card.is-shot .ps-foot { margin-top: 10px; padding: 11px 14px 12px; border: 0; border-radius: 12px; background: var(--ps-glass); -webkit-backdrop-filter: blur(40px) saturate(1.6); backdrop-filter: blur(40px) saturate(1.6); box-shadow: var(--ps-shadow); }
.ps-card.is-shot .ps-caption { min-height: 0; }

/* An animation that already exists (the Pricing hero's All Access diagram), set on the stage as its panel. */
.ps-card.is-embed { padding: 14px; overflow: hidden; }
.ps-card.is-embed > * { max-width: 100%; }

/* ---- Step states ----------------------------------------------------------------------------------------------- */
/* Without the script: show the last step. Anything with an end (data-to) is an earlier state, so it is left out. */
.ps-stage:not([data-ps-live]) [data-to], .ps-stage:not([data-ps-live]) .ps-cursor { display: none; }
.ps-stage:not([data-ps-live]) .ps-kpi-wide path { stroke-dashoffset: 0; }
/* With it: things arrive with a short fade and a small rise, and leave upward. */
.ps-stage[data-ps-live] :is([data-from], [data-to]):not(.ps-keep) { opacity: 0; filter: blur(4px); transform: translateY(7px); transition: opacity .32s ease, filter .32s ease, transform .32s ease; }
.ps-stage[data-ps-live] :is([data-from], [data-to]).is-past:not(.ps-keep) { transform: translateY(-7px); }
.ps-stage[data-ps-live] :is([data-from], [data-to]).is-on:not(.ps-keep) { opacity: 1; filter: none; transform: none; transition-delay: calc(.14s + var(--d, 0s)); }
/* Stacked alternatives that take turns in one place (a status, an amount, a caption). */
.ps-swap { display: inline-grid; }
.ps-swap > * { grid-area: 1 / 1; }
.ps-swap.ps-amt > * { justify-self: end; }
.ps-swap.is-start > * { justify-self: start; }
.ps-swap.ps-slot { display: grid; min-height: 52px; margin-top: 8px; }
.ps-slot > .ps-strip { margin-top: 0; }
.ps-slot > .ps-detail { margin-top: 0; }
.ps-slot.is-view { margin-top: 0; }
.ps-slot.is-view > * { align-self: start; }
.ps-caption.ps-swap { display: grid; }

/* ---- The cover: a full-width header with one large numeral behind the headline (What's new) -------------------- */
/* The base cover is a calm slate wash (it was violet); the area covers below set their own colours. */
.pv-cover { --c1: #cfd8e4; --c2: #e2e7ee; --c3: #f0f2f6; --num: rgba(255, 255, 255, .78); --num-edge: rgba(46, 61, 85, .16); position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: min(88vh, 820px); padding: 148px 0 104px; background: linear-gradient(180deg, var(--c1) 0, var(--c2) 38%, var(--c3) 70%, var(--pv-page) 100%); text-align: center; }
[data-bs-theme="dark"] .pv-cover { --c1: #2e3a50; --c2: #1f283a; --c3: #141a27; --num: rgba(255, 255, 255, .12); --num-edge: transparent; }
.pv-cover-art { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; overflow: hidden; pointer-events: none; }
.pv-cover-num { --s: var(--pv-scroll, 0); color: var(--num); font-family: "Manrope", system-ui, sans-serif; font-size: clamp(380px, 82vh, 860px); font-weight: 800; line-height: .76; letter-spacing: -.05em; text-shadow: 0 0 70px var(--num-edge); filter: blur(calc(7px + var(--s) * 18px)); transform: translate3d(0, calc(-3% + var(--s) * 9%), 0) scale(calc(1 + var(--s) * .06)); user-select: none; animation: pv-float 16s ease-in-out infinite alternate; }
@keyframes pv-float { from { translate: 0 -1.2%; } to { translate: 0 1.2%; } }
.pv-cover-copy { position: relative; max-width: 980px; padding-inline: 24px; }
.pv .pv-cover h1 { max-width: none; margin: 0; color: var(--pv-ink); font-size: clamp(40px, 6.2vw, 88px); font-weight: 500; line-height: 1.02; letter-spacing: -.042em; text-wrap: balance; }
.pv-cover .pv-kicker { margin-bottom: 20px; color: var(--pv-ink); font-size: 14px; opacity: .78; }
.pv-cover-lead { max-width: 34em; margin: 24px auto 0; color: var(--pv-ink); font-size: 18px; line-height: 1.6; opacity: .8; }
.pv-cover-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.pv-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: color-mix(in srgb, var(--pv-ink) 8%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--pv-ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.pv-btn:hover { background: color-mix(in srgb, var(--pv-ink) 14%, transparent); color: var(--pv-ink); }
.pv-btn.is-solid { background: linear-gradient(180deg, color-mix(in srgb, var(--pv-ink) 82%, var(--pv-page)), var(--pv-ink)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 18px -12px rgba(11, 15, 25, .7); color: var(--pv-page); }
.pv-btn.is-solid:hover { color: var(--pv-page); filter: brightness(1.12); }
.pv-btn i { font-size: 20px; }
.pv .pv-cover .pv-kicker a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Investments: the same cover in green, with a portfolio line drawing itself across the foot of it against a benchmark. */
.pv-cover.is-green { --c1: #9ee2bf; --c2: #cbf2de; --c3: #e8f9f0; --line: #0f7a50; --line-2: rgba(11, 15, 25, .34); --fill: rgba(15, 122, 80, .2); }
[data-bs-theme="dark"] .pv-cover.is-green { --c1: #0f7a52; --c2: #0b4c37; --c3: #0b2a22; --line: #6ee7b7; --line-2: rgba(255, 255, 255, .38); --fill: rgba(110, 231, 183, .2); }
.pv-cover.is-green { padding-bottom: clamp(190px, 26vh, 280px); }
.pv-cover-chart { position: absolute; inset: auto 0 0; height: 46%; container: pv-chart / inline-size; }
.pv-cover-chart > svg { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(to top, #000 70%, transparent); mask-image: linear-gradient(to top, #000 70%, transparent); clip-path: inset(0 100% 0 0); animation: pv-draw 3s cubic-bezier(.4, .1, .2, 1) .35s forwards; }
.pv-cover-chart path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.pv-cover-chart .is-you { stroke: var(--line); stroke-width: 2.5; }
.pv-cover-chart .is-basis { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 5 6; }
.pv-cover-chart .is-area { fill: var(--fill); stroke: none; }
.pv-cover-chart .is-grid { stroke: var(--line-2); stroke-width: 1; opacity: .35; }
/* Line tags: they name the two lines while the chart draws, then step aside while the marker walks (js/public-cover-chart.js sets is-tracking). */
.pv-cover-tags { position: absolute; inset: 0; transition: opacity .45s ease; }
.pv-cover-chart.is-tracking .pv-cover-tags { opacity: 0; }
.pv-cover-tags > b { position: absolute; z-index: 1; display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--pv-ink); color: var(--pv-page); font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(6px); animation: pv-tag .5s ease forwards; }
.pv-cover-tags > b.is-you { right: 24px; top: 14.7%; margin-top: -40px; animation-delay: 3.2s; }
.pv-cover-tags > b.is-basis { right: 24px; top: 54.7%; margin-top: 12px; background: color-mix(in srgb, var(--pv-ink) 12%, transparent); color: var(--pv-ink); animation-delay: 3.5s; }
/* The marker: a hairline at the month, a dot on each line, the gap between them (the gain) as a bar, and a glass card reading
   out the month, value, cost basis and gain. Placed in px by the script; hidden until it runs. */
.pv-track { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity .5s ease; }
.pv-cover-chart.is-tracking .pv-track { opacity: 1; }
.pv-track > i { position: absolute; left: 0; top: 0; }
.pv-track > i.is-rule { width: 1px; height: calc(100% - var(--ty, 0px) + 56px); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--pv-ink) 30%, transparent) 56px, color-mix(in srgb, var(--pv-ink) 10%, transparent)); transform: translate(var(--tx, 0), calc(var(--ty, 0px) - 56px)); }
.pv-track > i.is-gain { width: 3px; margin-left: -1px; height: var(--gh, 0); border-radius: 2px; background: linear-gradient(180deg, var(--line), color-mix(in srgb, var(--line) 30%, transparent)); transform: translate(var(--tx, 0), var(--ty, 0)); }
.pv-track > i.is-you, .pv-track > i.is-basis { width: 12px; height: 12px; margin: -6px; border-radius: 50%; }
.pv-track > i.is-you { background: var(--line); box-shadow: 0 0 0 3px var(--pv-page), 0 0 0 9px color-mix(in srgb, var(--line) 18%, transparent); transform: translate(var(--tx, 0), var(--ty, 0)); }
.pv-track > i.is-basis { width: 10px; height: 10px; margin: -5px; background: var(--pv-page); box-shadow: inset 0 0 0 2px var(--line-2), 0 0 0 3px color-mix(in srgb, var(--pv-page) 60%, transparent); transform: translate(var(--tx, 0), var(--by, 0)); }
.pv-track-card { position: absolute; left: 0; top: 0; display: grid; gap: 5px; min-width: 176px; padding: 10px 12px 11px; border-radius: 14px; background: color-mix(in srgb, var(--pv-page) 76%, transparent); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); box-shadow: 0 0 0 1px var(--pv-line), 0 12px 24px -16px rgba(11, 15, 25, .6); color: var(--pv-ink); font-size: 12.5px; font-weight: 600; line-height: 1.15; text-align: left; white-space: nowrap; font-variant-numeric: tabular-nums; transform: translate(var(--cx, 0), var(--cy, 0)); }
.pv-track-card > small { color: var(--pv-muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pv-track-card > span { display: flex; align-items: center; gap: 7px; color: var(--pv-muted); font-weight: 500; }
.pv-track-card > span::before { content: ""; flex: none; width: 12px; height: 0; border-top: 2.5px solid var(--line); border-radius: 2px; }
.pv-track-card > span.is-basis::before { border-top: 2px dashed var(--line-2); }
@media (max-width: 700px) { .pv-cover.is-green .pv-cover-note > span { display: none; } }
.pv-track-card em { margin-left: auto; padding-left: 14px; color: var(--pv-ink); font-style: normal; font-weight: 600; }
.pv-track-card > strong { margin-top: 1px; padding-top: 6px; border-top: 1px solid var(--pv-line); color: var(--line); font-size: 13px; font-weight: 700; }
@container pv-chart (max-width: 620px) {
    .pv-track-card { min-width: 0; padding: 8px 10px 9px; font-size: 12px; }
    .pv-track-card > span.is-basis { display: none; }
}
.pv-cover-note { position: absolute; left: 24px; bottom: 14px; margin: 0; color: var(--pv-ink); font-size: 12px; opacity: .6; }
@keyframes pv-draw { to { clip-path: inset(0 0 0 0); } }
@keyframes pv-dot { to { opacity: 1; } }
@keyframes pv-pulse { 50% { box-shadow: 0 0 0 11px color-mix(in srgb, var(--line) 0%, transparent); } }
@keyframes pv-tag { to { opacity: 1; transform: none; } }

/* ---- Smaller screens ------------------------------------------------------------------------------------------- */
@container (max-width: 430px) {
    .ps-kpis b { font-size: 17px; }
    .ps-kpi-wide b { font-size: 23px; }
    .ps-rows > li { grid-template-columns: minmax(0, 1fr) auto auto; gap: 0 8px; }
    .ps-rows > li > i { display: none; }
    .ps-meter { grid-column: 1 / -1; }
    .ps-amt { min-width: 6.2em; }
    .ps-strip > i { display: none; }
    .ps-cards { grid-template-columns: minmax(0, 1fr); }
    .ps-duo b { font-size: 18px; }
    .ps-bars > li { grid-template-columns: 6.6em minmax(0, 1fr) 4em 3.2em; }
}
@media (max-width: 991.98px) {
    .pv .pv-hero :is(.mw-hero-grid, .bgt-hero-grid, .pv-hero-grid) { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .ps-stage { min-height: 0; }
    .ps-figure { max-width: 680px; width: 100%; margin-inline: auto; }
    .ps-card { margin: 32px 16px 68px; }
}
@media (max-width: 575.98px) {
    .pv .pv-hero { padding-top: 108px; }
    .pv .pv-hero :is(h1, .pv-title) { font-size: clamp(32px, 9.4vw, 40px); }
    .pv .pv-hero :is(.mw-lead, .bgt-lead, .pv-lead) { font-size: 16px; }
    .ps-field, .ps-stage::after { border-radius: 18px; }
    .ps-card { margin: 24px 10px 62px; padding: 14px 14px 12px; }
    .pv-cover { min-height: 0; padding: 132px 0 72px; }
    .pv-cover-num { font-size: 118vw; }
    .pv-cover-lead { font-size: 16px; }
    .pv-btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .ps-field::before, .ps-field::after, .pv-cover-num, .ps-pill.is-busy::before, .ps-caret::after { animation: none; }
    .pv-cover-chart > svg { clip-path: none; animation: none; }
    .pv-cover-tags > b { opacity: 1; transform: none; animation: none; }
    .pv-track { display: none; }
    .ps-stage *, .ps-stage *::before, .ps-stage *::after { transition: none !important; }
}

/* ---- More panel parts (the What's New stages) ---------------------------------------------------------------------- */
/* A fourth status colour, for a limit that has been passed. */
.ps-stage { --ps-bad: #c2410c; }
[data-bs-theme="dark"] .ps-stage { --ps-bad: #fb923c; }
.ps-pill.is-bad { color: var(--ps-bad); }
.ps-rows > li.is-off { opacity: .5; }
.ps-chips > li.is-quiet { color: var(--ps-sub); font-weight: 500; }
.ps-chips > li { transition: background-color .3s, color .3s, box-shadow .3s; }
.ps-chips + .ps-slot.is-view { margin-top: 12px; }
.ps-card .ps-q + .ps-kpis { margin-top: 2px; }

/* A gauge: one bar against a limit, with marks at the thresholds along it (ps-gauge has-ticks). */
.ps-gauge { position: relative; height: 8px; margin: 4px 0 12px; border-radius: 8px; background: var(--ps-track); }
.ps-gauge.has-ticks { margin-bottom: 26px; }
.ps-gauge::before { content: ""; display: block; width: var(--v, 0%); max-width: 100%; height: 100%; border-radius: inherit; background: var(--ps-accent); transition: width .9s cubic-bezier(.3, .7, .2, 1), background-color .4s; }
.ps-gauge.is-warn::before { background: var(--ps-warn); }
.ps-gauge.is-over::before { background: var(--ps-bad); }
.ps-gauge.is-good::before { background: var(--ps-good); }
.ps-gauge > i { position: absolute; left: var(--at); top: -3px; width: 1px; height: 14px; background: var(--ps-sub); opacity: .55; }
.ps-gauge > i::after { content: attr(data-l); position: absolute; left: 0; top: 17px; color: var(--ps-sub); font-size: 10.5px; font-style: normal; line-height: 1; white-space: nowrap; transform: translateX(-50%); }
.ps-gauge > i:last-child::after { transform: translateX(-100%); }
/* The three dates of a statement cycle, over its gauge. */
.ps-cycle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 7px; color: var(--ps-sub); font-size: 11.5px; }
.ps-cycle > span:nth-child(2) { text-align: center; }
.ps-cycle > span:last-child { text-align: right; }
.ps-cycle b { display: block; color: var(--ps-ink); font-size: 13px; }

/* A slider under a row: the track fills and the thumb travels to --v. */
.ps-slide { position: relative; grid-column: 2 / -1; height: 4px; margin: 9px 7px 8px; border-radius: 4px; background: var(--ps-track); }
.ps-slide::before { content: ""; display: block; width: var(--v, 0%); height: 100%; border-radius: inherit; background: var(--ps-accent); transition: width .9s cubic-bezier(.3, .7, .2, 1); }
.ps-slide::after { content: ""; position: absolute; left: var(--v, 0%); top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(11, 15, 25, .16), 0 1px 3px rgba(11, 15, 25, .3); transition: left .9s cubic-bezier(.3, .7, .2, 1); }

/* A plot: a line drawn one segment per step, a dashed level across it, and a mark where they meet. */
.ps-plot { position: relative; margin-bottom: 4px; }
.ps-plot > svg { display: block; width: 100%; height: auto; max-height: 150px; overflow: visible; }
.ps-plot path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ps-plot .ps-level { stroke: var(--ps-accent); stroke-width: 1; stroke-dasharray: 3 4; opacity: .8; }
.ps-plot .ps-line { stroke: var(--ps-ink); stroke-width: 1.6; stroke-dasharray: 100; stroke-dashoffset: 100; }
.ps-plot .ps-line.is-on { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.3, .6, .2, 1) .15s; }
.ps-plot .ps-mark { fill: var(--ps-good); stroke: var(--ps-glass-edge, #fff); stroke-width: 1.5; opacity: 0; }
[data-bs-theme="dark"] .ps-plot .ps-mark { stroke: #0b0e18; }
.ps-plot .ps-mark.is-on { opacity: 1; transition: opacity .3s ease 1.1s; }
.ps-plot > b { position: absolute; left: 0; top: calc(var(--y) * 1%); color: var(--ps-accent); font-size: 11px; font-weight: 600; line-height: 1; transform: translateY(-150%); }
.ps-stage:not([data-ps-live]) .ps-plot .ps-line { stroke-dashoffset: 0; }
.ps-stage:not([data-ps-live]) .ps-plot .ps-mark { opacity: 1; }

/* Columns (one answer view), and the email a scheduled check sends. */
.ps-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; height: 118px; }
.ps-cols > li { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 5px; color: var(--ps-sub); font-size: 11px; }
.ps-cols > li > i { align-self: end; width: 100%; max-width: 38px; height: calc(var(--h) * 1%); border-radius: 4px 4px 1px 1px; background: var(--ps-accent); opacity: .55; transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.3, .7, .2, 1) calc(.2s + var(--d, 0s)); }
.ps-cols > li.is-top { color: var(--ps-ink); font-weight: 600; }
.ps-cols > li.is-top > i { opacity: 1; }
.ps-stage[data-ps-live] .ps-cols:not(.is-on) > li > i { transform: scaleY(.15); transition: none; }
.ps-mailbox { min-height: 132px; }
.ps-mail { padding: 11px 12px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ps-rule); }
.ps-mail-from { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: var(--ps-sub); font-size: 11.5px; }
.ps-mail-from > i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ps-well); font-size: 13px; }
.ps-mail-from > span { color: var(--ps-ink); font-weight: 600; }
.ps-mail-from > em { margin-left: auto; font-style: normal; }
.ps-mail > b { display: block; font-size: 13.5px; line-height: 1.35; }
.ps-card .ps-mail > p { margin-top: 3px; font-size: 12px; }
.ps-mail > .ps-btn { margin-top: 10px; }
.ps-mail > .ps-mini { margin-top: 8px; }
.ps-mailbox > .ps-checks { align-self: center; }
@container (max-width: 430px) {
    .ps-cols { gap: 5px; height: 100px; }
    .ps-cycle { font-size: 10.5px; }
    .ps-chips > li.is-quiet { display: none; }
    .ps-gauge > i:nth-last-child(2)::after { display: none; }
}

/* ---- The Help panel beside a card (Support, PublicStageExplain) ------------------------------------------------- */
/* Calm: the panel's accent is the ink itself, for a scene about help rather than money and for the Investments page,
   so nothing on the panel is coloured but the values (gain, loss, caution). The field is the same slate as every stage. */
.ps-tone-calm { --ps-accent: #0b0f19; }
[data-bs-theme="dark"] .ps-tone-calm { --ps-accent: #f1f2f8; }
/* The card on the dashboard. Help docks over its right side the way the app's panel does, solid so the chart under it
   does not show through the words. */
.ps-hx { --hx-pop: #fff; --hx-lit: color-mix(in srgb, var(--ps-ink) 7%, transparent); }
[data-bs-theme="dark"] .ps-hx { --hx-pop: #1a1f2d; }
.ps-hx-screen { position: relative; min-height: 262px; padding: 14px 14px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ps-rule); overflow: hidden; }
.ps-hx-top { display: flex; align-items: center; gap: 8px; }
.ps-hx-top > span:first-child { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ps-hx-top em { color: var(--ps-sub); font-size: 12px; font-style: normal; white-space: nowrap; }
.ps-hx-range { margin-left: auto; color: var(--ps-sub); font-size: 12px; }
.ps-hx-q { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ps-rule); color: var(--ps-ink); font-size: 14px; transition: background-color .25s, box-shadow .25s; }
.ps-stage[data-step="0"] .ps-hx-q { animation: ps-hx-call 1.6s ease-in-out infinite; }
.ps-hx-q.is-open { background: var(--ps-ink); box-shadow: none; color: var(--pv-page, #fff); }
[data-bs-theme="dark"] .ps-hx-q.is-open { color: #0b0f19; }
@keyframes ps-hx-call { 50% { box-shadow: inset 0 0 0 1px var(--ps-rule), 0 0 0 5px color-mix(in srgb, var(--ps-ink) 9%, transparent); } }
/* The number and the change. Marked with a quiet ink wash while Help is talking about them. */
.ps-hx-num { display: inline-block; margin: 12px 0 2px -6px; padding: 0 6px; border-radius: 8px; font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; transition: background-color .35s, box-shadow .35s; }
.ps-hx-trend { display: flex; align-items: center; gap: 3px; width: fit-content; margin-left: -6px; padding: 2px 6px; border-radius: 7px; color: var(--ps-good); font-size: 12px; font-weight: 600; transition: background-color .35s, box-shadow .35s; }
.ps-hx-trend > i { font-size: 15px; }
.ps-hx :is(.ps-hx-num, .ps-hx-trend).is-lit { background: var(--hx-lit); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ps-ink) 22%, transparent); }
.ps-hx-chart { margin-top: 12px; }
.ps-hx-chart svg { display: block; width: 100%; height: 96px; overflow: visible; }
.ps-hx-chart path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.ps-hx-grid { stroke: var(--ps-rule); stroke-width: 1; }
.ps-hx-line { stroke: var(--ps-ink); stroke-width: 1.75; stroke-dasharray: 100; stroke-dashoffset: 0; }
.ps-stage[data-ps-live] .ps-hx-line:not(.is-on) { stroke-dashoffset: 100; }
.ps-stage[data-ps-live] .ps-hx-chart .ps-hx-line.is-on:not(.ps-keep) { transition: stroke-dashoffset 1.3s cubic-bezier(.3, .6, .2, 1) .2s, opacity .3s ease .14s, filter .3s ease .14s, transform .3s ease .14s; }
.ps-hx-axis { display: flex; justify-content: space-between; margin-top: 6px; color: var(--ps-sub); font-size: 11px; }
/* The panel. It slides in from the card's right edge instead of rising. */
.ps-hx-dock { position: absolute; top: 6px; right: 6px; bottom: 6px; z-index: 1; display: flex; flex-direction: column; width: 54%; padding: 12px 13px; border-radius: 9px; background: var(--hx-pop); box-shadow: 0 0 0 1px var(--ps-rule), 0 16px 32px -18px rgba(11, 15, 25, .45); }
.ps-stage[data-ps-live] .ps-hx-dock:not(.is-on) { transform: translateX(18px); }
.ps-hx-dock-head { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--ps-rule); }
.ps-hx-dock-head > i:first-child { color: var(--ps-ink); font-size: 16px; }
.ps-hx-dock-head > span { overflow: hidden; color: var(--ps-sub); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ps-hx-dock-head > i:last-child { margin-left: auto; color: var(--ps-sub); font-size: 15px; }
.ps-hx-dock small { margin-bottom: 6px; color: var(--ps-sub); font-size: 11px; font-weight: 600; }
.ps-card .ps-hx-dock p { color: var(--ps-ink); font-size: 12.5px; line-height: 1.55; }
.ps-hx-defs > li { display: grid; gap: 1px; padding: 6px 0; }
.ps-hx-defs > li + li { border-top: 1px solid var(--ps-rule); }
.ps-hx-defs b { font-size: 13px; }
.ps-hx-defs span { color: var(--ps-sub); font-size: 11.5px; line-height: 1.45; }
.ps-hx-acts { display: grid; gap: 4px; }
.ps-hx-acts > li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 34px; padding: 0 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ps-rule); font-size: 12px; font-weight: 600; transition: background-color .3s, box-shadow .3s; }
.ps-hx-acts > li > i { color: var(--ps-sub); font-size: 15px; }
.ps-hx-acts > li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-hx-acts > li > em { color: var(--ps-sub); font-size: 11px; font-style: normal; font-weight: 500; white-space: nowrap; }
.ps-hx-acts > li.is-picked { background: linear-gradient(180deg, var(--hx-lit), color-mix(in srgb, var(--ps-ink) 11%, transparent)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ps-ink) 18%, transparent); }
.ps-hx-tick { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s; }
.ps-hx-tick > i { color: var(--pv-page, #fff); font-size: 13px; }
[data-bs-theme="dark"] .ps-hx-tick > i { color: #0b0f19; }
.ps-hx-acts > li.is-picked .ps-hx-tick { background: var(--ps-ink); opacity: 1; transform: none; }
@container (max-width: 430px) {
    .ps-hx-screen { min-height: 300px; }
    .ps-hx-dock { top: auto; left: 6px; width: auto; height: 62%; }
    .ps-stage[data-ps-live] .ps-hx-dock:not(.is-on) { transform: translateY(18px); }
    .ps-hx-num { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { .ps-stage .ps-hx-q { animation: none; } }
