/* src/launch/site.css + src/launch/product.css, built by the website workshop. */

/* src/launch/site.css */

/* controlling.app, the test's site, in the design Jan picked on 2026-11-21
   (D · Auswahl of ../../../controlling-app-directions-2026-11-21): the site
   wears the product. White, Inter, the app's blue, hairlines; depth comes from
   one pale tray behind a product view. No dark band, no glow, no mono eyebrow.

   This file is the whole page layer: tokens, type, header and footer, buttons,
   the form, and every section of the ten templates. The product views bring
   their own stylesheet (product.css, everything under `.pv`). */
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

.cap {
  --bg: #ffffff;
  --ink: #0b1220;
  --muted: #5b6474;
  --line: #e7e9ee;
  --line-strong: #d3d8e1;
  --tray: #f3f5f9;
  --action: #2563eb;
  --action-soft: #eaf1ff;
  --action-ink: #1d4ed8;
  --frame-line: #dde1e9;
  --frame-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 18px 44px -18px rgb(15 23 42 / 0.16);
  --measure: 1200px;
  --gap-section: 128px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* The reset weighs nothing (`:where`), so any class below can set a margin or a colour. */
:where(.cap) *, :where(.cap) *::before, :where(.cap) *::after { box-sizing: border-box; }
:where(.cap) :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin: 0; }
:where(.cap) :where(ul, ol) { padding: 0; list-style: none; }
:where(.cap) :where(a) { color: inherit; text-decoration: none; }
:where(.cap) :where(img, svg) { max-width: 100%; }
.cap h1, .cap h2 { font-weight: 600; letter-spacing: -0.032em; text-wrap: balance; }
.cap h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.03; }
.cap h2 { font-size: clamp(29px, 3.3vw, 44px); line-height: 1.1; }
.cap h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
.cap :focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 48px, var(--measure)); margin-inline: auto; }
.only-narrow { display: none !important; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 15px; font-weight: 500; }
.kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--action); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px; font: 600 16px/1 Inter, system-ui, sans-serif; white-space: nowrap; cursor: pointer; }
.cap .btn--primary { background: var(--action); color: #fff; }
.cap .btn--quiet { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Header and the phone sheet (chrome.js drives `.site-menu-btn`, `.sheet`, `body.menu-open`) ── */
.site-header { position: relative; border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.logo__mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--action); color: #fff; font-size: 15px; font-weight: 700; line-height: 1; }
.site-nav { display: flex; gap: 28px; margin-right: auto; font-size: 15px; font-weight: 500; }
.cap .site-nav a, .cap .site-link { color: var(--muted); }
.cap .site-nav a[aria-current='page'] { color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 500; }
.site-menu-btn { display: none; height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); font: 500 14px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.sheet { display: none; }
.mega__col { display: grid; }
.mega__link { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mega__link b { font-size: 17px; font-weight: 600; }
.mega__link span { color: var(--muted); font-size: 14px; }
.cap .sheet__cta { width: 100%; margin-top: 20px; }
/* The header's "Anmelden" is hidden at phone width, so the sheet carries the login for existing customers (Jan, 2026-11-28). */
.cap .sheet__login { width: 100%; margin-top: 20px; }
.cap .sheet__login + .sheet__cta { margin-top: 10px; }

/* ── A product view on the page: the frame gives it its edge, the tray its ground ── */
.frame { overflow: hidden; border: 1px solid var(--frame-line); border-radius: 12px; background: #fff; box-shadow: var(--frame-shadow); }
.tray { border-radius: 16px; background: var(--tray); }
.tray > .frame, .tray > div > .frame { border-radius: 10px; box-shadow: none; }

/* ── Hero with the overview (Home, Cashflow) ───────────────────────────── */
.hero { padding-top: 76px; }
.hero__text { display: grid; justify-items: center; gap: 22px; text-align: center; }
.hero__text .lead { max-width: 640px; }
.hero__text .actions { justify-content: center; margin-top: 6px; }
.stage { margin-top: 60px; padding: 14px; border-radius: 22px; }
.stage .frame { box-shadow: var(--frame-shadow); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-block: 1px solid var(--line); }
.trust li { display: grid; gap: 2px; padding: 18px 24px; border-left: 1px solid var(--line); }
.trust li:first-child { padding-left: 0; border-left: 0; }
.trust b { font-size: 15px; font-weight: 600; }
.trust span { color: var(--muted); font-size: 14px; }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding-top: var(--gap-section); }
.section__head { display: grid; gap: 18px; max-width: 680px; }
.section__head + * { margin-top: 44px; }
.section--tight { padding-top: 48px; }
.feature + .threes { margin-top: 36px; }

/* Three steps, each with the whole of a small view */
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.work__grid > li { display: grid; align-content: start; gap: 10px; }
.work__grid h3 { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.work__grid h3 i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 600; line-height: 1; }
.work__grid p { color: var(--muted); font-size: 16px; }
.work__grid .tray { display: grid; align-items: center; height: 348px; padding: 20px; overflow: hidden; }
.work__grid .tray.is-bleed { align-items: start; padding-bottom: 0; }
.work__grid .tray.is-bleed .frame { border-bottom: 0; border-radius: 10px 10px 0 0; }
.work__grid .pv-board.is-chart .pv-chart { height: 150px; }

/* The assistant: a question, the answer beside its variants, one change to approve */
.talk { padding: 40px 48px 48px; }
.ask { width: min(100%, 720px); margin-inline: auto; padding: 20px 20px 14px 24px; border: 1px solid var(--line-strong); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 16px 36px -20px rgb(15 23 42 / 0.2); }
.ask__q { font-size: 21px; font-weight: 500; line-height: 1.35; letter-spacing: -0.012em; }
.ask__row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--muted); font-size: 14px; }
.ask__row b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--action); color: #fff; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.chips li { padding: 6px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--muted); font-size: 14px; }
.reply { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; gap: 48px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line-strong); }
.reply__text { display: grid; gap: 14px; }
.reply__who { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.reply__who .logo__mark { width: 24px; height: 24px; border-radius: 7px; font-size: 13px; }
.reply__verdict { font-size: 30px; font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
.reply__text .frame { margin-top: 6px; }
.reply__text .pv-approve, .frame > .pv-approve { border: 0; border-radius: 0; padding: 16px 18px; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-block: 1px solid var(--line); }
.points li { display: grid; align-content: start; gap: 2px; padding: 18px 24px; border-left: 1px solid var(--line); }
.points li:first-child { padding-left: 0; border-left: 0; }
.points b { font-size: 16px; font-weight: 600; }
.points span { color: var(--muted); font-size: 15px; }

/* The test's steps beside the plan */
.start { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 56px; }
.steps { border-top: 1px solid var(--line); }
.steps > li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tray); color: var(--ink); font-size: 15px; font-style: normal; font-weight: 600; line-height: 1; }
.steps p { color: var(--muted); font-size: 16px; }
.steps em { padding: 5px 11px; border-radius: 7px; background: var(--action-soft); color: var(--action-ink); font-size: 13px; font-style: normal; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.steps em.is-none { background: var(--tray); color: var(--muted); }
.steps > .steps__note { display: block; padding: 16px 0 0; border-bottom: 0; color: var(--muted); font-size: 15px; }
.plan { display: grid; gap: 18px; padding: 30px 30px 32px; border: 1px solid var(--line-strong); border-radius: 18px; background: #fff; }
.plan__name { color: var(--muted); font-size: 15px; font-weight: 600; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: -8px; }
.plan__amount { font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.plan__unit, .plan__for { color: var(--muted); font-size: 16px; }
.plan ul { display: grid; gap: 9px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; }
.plan li, .card li { display: flex; align-items: baseline; gap: 10px; }
.plan li::before, .card li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--action); transform: translateY(-2px); }
.plan li > svg { display: none; }
.plan__usage { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.plan__usage b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 16px; font-weight: 600; }
.plan .btn { justify-self: start; }
.tag-pending { align-self: center; padding: 3px 9px; border: 1px dashed var(--line-strong); border-radius: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }

/* The choice: the software or WHK's service */
.choice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.card { display: grid; align-content: start; gap: 14px; padding: 30px 30px 32px; border: 1px solid var(--line-strong); border-radius: 18px; }
.card__kind { color: var(--muted); font-size: 15px; font-weight: 600; }
.cap .card h3 { margin-top: -8px; font-size: 28px; letter-spacing: -0.025em; }
.card > p { color: var(--muted); font-size: 16px; }
.card ul { display: grid; gap: 9px; padding-block: 16px; border-block: 1px solid var(--line); font-size: 16px; }
.card .card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--ink); font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.card__price span { color: var(--muted); font-size: 15px; font-weight: 400; letter-spacing: 0; }
.card .btn { justify-self: start; margin-top: 6px; }

/* ── Sub-pages: a hero with its view, then features in rows ────────────── */
.page-hero { padding-top: 64px; }
.page-hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 64px; }
.page-hero__text { display: grid; justify-items: start; gap: 20px; }
.cap .page-hero h1 { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.06; }
.page-hero .tray { padding: 20px; }
.page-hero--stack .page-hero__in { grid-template-columns: 1fr; gap: 0; }
.page-hero--stack .page-hero__text { max-width: 760px; }
.page-hero--stack .stage { margin-top: 48px; }
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-strong); }
.cap .crumbs a { color: var(--muted); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 72px; }
.feature--flip > .feature__text { order: 2; }
.feature--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.feature__text { display: grid; justify-items: start; gap: 16px; }
.feature__text .kicker { margin-bottom: -4px; }
.feature .tray { padding: 28px 32px; }
.feature .tray.is-narrow { padding-inline: 64px; }
.facts { display: grid; width: 100%; margin-top: 8px; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts b { font-size: 16px; font-weight: 600; }
.facts span { color: var(--muted); font-size: 15px; }
.cap .more { color: var(--action-ink); font-size: 16px; font-weight: 600; }
.threes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.threes > li { display: grid; align-content: start; gap: 8px; }
.threes h3 { display: flex; align-items: center; gap: 10px; }
.threes h3 i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 600; line-height: 1; }
.threes p { color: var(--muted); font-size: 16px; }

/* What the plan includes on a feature page, and the way on */
.included { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; gap: 72px; }
.included ul { border-top: 1px solid var(--line); }
.included li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.included li em { padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 600; }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cap .related a { display: grid; gap: 4px; padding: 24px 26px; border: 1px solid var(--line-strong); border-radius: 16px; }
.related b { font-size: 19px; font-weight: 600; letter-spacing: -0.012em; }
.related span { color: var(--muted); font-size: 16px; }
.related i { margin-top: 8px; color: var(--action-ink); font-size: 15px; font-style: normal; font-weight: 600; }

/* ── Preise ────────────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; gap: 56px; }
.pricing__side { display: grid; gap: 16px; }
.pricing__side > p { color: var(--muted); font-size: 15px; }
.compare-table { border-top: 1px solid var(--line); font-size: 16px; }
.compare-row, .compare-group { display: grid; grid-template-columns: minmax(0, 1fr) 120px 140px; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); }
.compare-row--head { min-height: 40px; color: var(--muted); font-size: 14px; font-weight: 600; }
.compare-row [role='cell'], .compare-row [role='columnheader'] { text-align: center; }
.compare-row [role='columnheader']:first-child { text-align: left; }
.compare-group { min-height: 44px; margin-top: 12px; border-bottom-color: var(--line-strong); font-weight: 600; }
.cap .compare-link { color: var(--action-ink); }
.compare-row svg { width: 18px; height: 18px; }
.compare-row .y { color: var(--action); }
.compare-row .n { color: var(--line-strong); }
.usage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 72px; }
.usage__text { display: grid; gap: 16px; }
.usage .tray { padding: 28px 48px; }
.faq { display: grid; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq summary { font-size: 18px; font-weight: 600; cursor: pointer; }
.faq p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.faq a, .prose a { color: var(--action-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Legal texts: one readable column ──────────────────────────────────── */
.page-hero--stack + .prose { margin-top: 40px; }
.prose { display: grid; gap: 14px; font-size: 17px; line-height: 1.65; }
.prose > * { max-width: 760px; }
.cap .prose h2 { margin-top: 34px; font-size: 25px; line-height: 1.2; letter-spacing: -0.022em; scroll-margin-top: 16px; }
.cap .prose h3 { margin-top: 14px; }
.prose ul { display: grid; gap: 6px; padding-left: 22px; list-style: disc; }
.prose strong { font-weight: 600; }
.prose code { padding: 1px 5px; border-radius: 5px; background: var(--tray); font-size: 0.92em; }
.prose blockquote { margin: 0; padding: 12px 16px; border-left: 3px solid var(--line-strong); color: var(--muted); }
.prose > .prose__table { max-width: none; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--tray); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }

/* ── The closing band, the form, small pages ───────────────────────────── */
.closing { margin-top: 112px; padding-block: 96px; background: var(--tray); }
.closing__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 72px; }
.closing__text { display: grid; justify-items: start; gap: 18px; max-width: 480px; }
.closing--band .closing__in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.form-card { padding: 30px; border: 1px solid var(--frame-line); border-radius: 18px; background: #fff; }
.lead-form { display: grid; gap: 14px; }
.clerk-field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.clerk-field input, .clerk-field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; color: var(--ink); font: 400 16px/1.4 Inter, system-ui, sans-serif; resize: none; }
.lead-form__trap { position: absolute; left: -9999px; }
.lead-form .clerk-submit { justify-self: start; margin-top: 4px; }
.lead-form__status { color: #b3261e; font-size: 14px; }
.lead-form__done { font-size: 19px; font-weight: 600; }
.form-card__foot { margin-top: 16px; color: var(--muted); font-size: 14px; }
.cap .form-card__foot a { color: var(--action-ink); font-weight: 600; }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 72px; padding-block: 72px 112px; }
.demo__text { display: grid; gap: 18px; }
.cap .demo h1 { font-size: clamp(34px, 3.9vw, 54px); }
.demo .form-card { margin-top: 12px; }
.demo__side { display: grid; gap: 22px; padding: 28px; }
.simple { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 64px; padding-block: 88px 120px; }
.simple__text { display: grid; justify-items: start; gap: 20px; }
.simple .tray { padding: 20px; }
.caption { margin-top: 10px; color: var(--muted); font-size: 13px; text-align: center; }
.cs-header .site-header__inner { justify-content: space-between; }
.cs-by { color: var(--muted); font-size: 14px; }

/* ── Footer (`.w2-footer` is the hook chrome.js marks the current page on) ── */
.w2-footer { margin-top: var(--gap-section); border-top: 1px solid var(--line); font-size: 15px; }
.closing + .w2-footer, main:has(> .closing:last-child) + .w2-footer { margin-top: 0; border-top: 0; }
.site-footer__inner { display: grid; grid-template-columns: 1.6fr 3fr; gap: 32px; padding-block: 56px 40px; }
.site-footer__brand p { margin-top: 12px; color: var(--muted); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer__cols > div { display: grid; align-content: start; gap: 10px; }
.cap .site-footer__cols h4 { color: var(--muted); font-size: 13px; font-weight: 600; }
.site-footer__cols .is-planned { color: var(--muted); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 1000px) {
  .cap { --gap-section: 80px; }
  .only-wide { display: none !important; }
  .only-narrow { display: block !important; }
  .wrap { width: min(100% - 32px, 560px); }
  .lead { font-size: 17px; }
  .btn { height: 46px; }
  .btn--sm { height: 36px; padding: 0 14px; }
  .site-nav, .site-link { display: none; }
  .site-header__inner { height: 60px; justify-content: space-between; gap: 12px; }
  .site-header__actions { gap: 8px; }
  .site-header__actions .btn--sm { padding: 0 12px; }
  .site-menu-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 11px; }
  .logo { gap: 8px; font-size: 16px; }
  .logo__mark { width: 26px; height: 26px; }
  .menu-open .sheet { display: block; position: absolute; inset: 100% 0 auto; z-index: 20; padding: 8px 16px 24px; border-bottom: 1px solid var(--line); background: var(--bg); box-shadow: 0 24px 40px -24px rgb(15 23 42 / 0.25); }
  .hero { padding-top: 44px; }
  .hero__text { gap: 16px; }
  .hero__text .actions { width: 100%; flex-direction: column; }
  .hero__text .actions .btn { width: 100%; }
  .stage { margin-top: 36px; padding: 8px; border-radius: 16px; }
  .trust, .points { grid-template-columns: 1fr; margin-top: 20px; }
  .trust li, .points li { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .trust li:first-child, .points li:first-child { border-top: 0; }
  .section__head + * { margin-top: 28px; }
  .work__grid, .threes { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .threes { gap: 24px; }
  .work__grid .tray, .work__grid .tray.is-bleed { height: auto; padding: 10px; }
  .work__grid .tray.is-bleed .frame { border-bottom: 1px solid var(--frame-line); border-radius: 10px; }
  .talk { padding: 12px 12px 16px; }
  .ask { padding: 16px 14px 12px 16px; border-radius: 14px; }
  .ask__q { font-size: 18px; }
  .chips { justify-content: flex-start; }
  .reply { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; padding: 24px 4px 0; }
  .reply__verdict { font-size: 26px; }
  .start, .choice, .feature, .included, .pricing, .usage, .closing__in, .closing--band .closing__in, .demo, .simple, .page-hero__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps > li { grid-template-columns: 30px minmax(0, 1fr); gap: 4px 14px; padding: 18px 0; }
  .steps i { width: 30px; height: 30px; }
  .steps em { grid-column: 2; justify-self: start; margin-top: 6px; }
  .plan, .card { padding: 24px 22px 26px; }
  .plan__amount { font-size: 48px; }
  .plan .btn, .card .btn { justify-self: stretch; }
  .choice { gap: 16px; }
  .page-hero { padding-top: 40px; }
  .page-hero .tray, .feature .tray, .feature .tray.is-narrow, .usage .tray, .simple .tray { padding: 10px; }
  .page-hero--stack .stage { margin-top: 32px; }
  .feature--flip > .feature__text { order: 0; }
  .related { grid-template-columns: 1fr; gap: 16px; }
  .compare-row, .compare-group { grid-template-columns: minmax(0, 1fr) 64px 76px; font-size: 15px; }
  .closing { margin-top: 72px; padding-block: 64px; }
  .form-card { padding: 22px; }
  .demo { padding-block: 40px 72px; }
  .demo__side { padding: 12px 12px 20px; }
  .simple { padding-block: 48px 72px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 28px; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}

/* src/launch/product.css */

/* The product views of the test's site (product.mjs) in the look of today's app:
   white surface, Inter, hairlines, one blue, green and red only for money in
   and out. Everything sits under `.pv`; the page styles (site.css) only frame it. */
.pv {
  --pv-bg: #ffffff;
  --pv-soft: #f6f7f9;
  --pv-fg: #0f172a;
  --pv-muted: #64748b;
  --pv-faint: #94a3b8;
  --pv-line: #e6e8ee;
  --pv-line-strong: #cfd5e0;
  --pv-blue: #2563eb;
  --pv-blue-soft: #eef3ff;
  --pv-in: #177245;
  --pv-in-soft: #eff7f1;
  --pv-out: #b3261e;
  --pv-out-soft: #fbf1f0;
  box-sizing: border-box;
  background: var(--pv-bg);
  color: var(--pv-fg);
  font: 400 13px/1.4 Inter, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  text-align: left;
  letter-spacing: 0;
}
.pv *, .pv *::before, .pv *::after { box-sizing: border-box; }
.pv i, .pv em { font-style: normal; }
.pv small { font-size: inherit; }
.pv-ic { flex: none; }
.pv-logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--pv-blue); color: #fff; font: 700 14px/1 Inter, sans-serif; }
.pv-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--pv-line-strong); border-radius: 8px; background: #fff; font-weight: 500; white-space: nowrap; }
.pv-btn--primary { border-color: var(--pv-blue); background: var(--pv-blue); color: #fff; }
.pv-dot { display: inline-block; width: 5px; height: 5px; margin-right: 10px; border-radius: 50%; background: var(--pv-faint); vertical-align: middle; }
.pv-cat { display: inline-block; flex: none; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--pv-faint); }
.pv-cat--in { background: #8a7a12; }
.pv-cat--ad { background: #c2600c; }
.pv-cat--goods { background: #7a4fd1; }
.pv-cat--ship { background: #0e8f8f; }
.pv-cat--tax { background: #c0353d; }

/* ── Cashflow overview ─────────────────────────────────────────────────── */
.pv-board { display: flex; min-width: 0; }
.pv-rail { flex: none; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 68px; padding: 14px 0; border-right: 1px solid var(--pv-line); background: var(--pv-soft); color: var(--pv-fg); }
.pv-rail__item { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10px; color: var(--pv-fg); }
.pv-rail__item.is-on .pv-ic { padding: 4px; width: 28px; height: 26px; border-radius: 7px; background: #dfe8fb; color: var(--pv-blue); }
.pv-rail__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px 0; border-block: 1px solid var(--pv-line); }
.pv-rail__pair i { display: grid; place-items: center; width: 26px; height: 24px; border-radius: 6px; }
.pv-rail__pair .is-on { background: #dfe8fb; color: var(--pv-blue); }
.pv-rail__group { font-size: 10px; color: var(--pv-muted); }
.pv-main { flex: 1; min-width: 0; }
.pv-bar { display: flex; align-items: center; gap: 22px; height: 44px; padding: 0 18px; border-bottom: 1px solid var(--pv-line); color: #1e293b; font-weight: 500; white-space: nowrap; overflow: hidden; }
.pv-bar > span { display: inline-flex; align-items: center; gap: 7px; }
.pv-period { gap: 0 !important; border: 1px solid var(--pv-line-strong); border-radius: 8px; }
.pv-period > * { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; font-weight: 500; }
.pv-period > b { border-inline: 1px solid var(--pv-line); }

.pv-kpis { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 10px 14px 0; border: 1px solid var(--pv-line); border-radius: 8px; }
.pv-kpi { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 7px 14px 8px; border-left: 1px solid var(--pv-line); }
.pv-kpi:first-child { border-left: 0; }
.pv-kpi.is-lead { border-left: 3px solid var(--pv-blue); border-radius: 7px 0 0 7px; background: #f7f9ff; }
.pv-kpi__label { color: var(--pv-muted); font-size: 11px; white-space: nowrap; }
.pv-kpi__label i { color: var(--pv-faint); }
.pv-kpi__value { display: flex; align-items: baseline; gap: 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.pv-kpi__value small { overflow: hidden; color: var(--pv-muted); font-size: 11px; font-weight: 400; letter-spacing: 0; text-overflow: ellipsis; }
.pv-kpi__dot { align-self: center; width: 7px; height: 7px; border-radius: 50%; background: var(--pv-in); }

/* The chart shares the grid's columns: label column, one per month, the sum. */
.pv-board { --pv-label: 196px; --pv-sumw: 0px; }
.pv-board.has-sum { --pv-sumw: 84px; }
.pv-chart { display: grid; grid-template-columns: var(--pv-label) minmax(0, 1fr) var(--pv-sumw); height: 168px; margin-top: 8px; }
.pv-chart__axis { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; padding: 6px 12px 0 0; color: var(--pv-faint); font-size: 10px; }
.pv-chart__plot { position: relative; margin-top: 12px; border-bottom: 1px solid var(--pv-line); background: linear-gradient(var(--pv-line), var(--pv-line)) 0 50% / 100% 1px no-repeat; }
.pv-chart__forecast { position: absolute; inset: -12px 0 0 auto; right: 0; border-left: 1px solid #475569; background: #fafbfd; }
.pv-chart__bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); }
.pv-chart__bars span { display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.pv-chart__bars i { width: min(11px, 16%); border-radius: 1px 1px 0 0; }
.pv-chart__bars .in { background: #2e7d4f; }
.pv-chart__bars .out { background: #cf6b63; }
.pv-chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--pv-blue); overflow: visible; }
.pv-chart__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--pv-blue); }
.pv-chart__dot.is-low, .pv-chart__dot.is-high { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.pv-chart__dot.is-low { background: #9d3b5e; box-shadow: 0 0 0 5px rgb(157 59 94 / 0.18); }
.pv-chart__dot.is-high { background: #1c7c74; box-shadow: 0 0 0 5px rgb(28 124 116 / 0.18); }

.pv-grid { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.pv-grid th, .pv-grid td { height: 34px; padding: 0 12px; border-top: 1px solid var(--pv-line); font-weight: 400; text-align: right; white-space: nowrap; overflow: hidden; }
.pv-grid th:first-child { width: var(--pv-label); border-right: 1px solid var(--pv-line-strong); text-align: left; text-overflow: ellipsis; }
.pv-grid .pv-sum { width: var(--pv-sumw); border-left: 1px solid var(--pv-line-strong); font-weight: 600; }
.pv-grid thead th { height: 44px; color: #1e293b; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pv-grid thead th i { color: var(--pv-muted); font-weight: 500; }
.pv-grid thead .pv-grid__corner { color: var(--pv-muted); font-weight: 500; text-align: right; }
.pv-grid thead .pv-sum { font-size: 9.5px; white-space: normal; line-height: 1.25; }
.pv-grid .is-split { border-left: 1px solid #475569; }
.pv-grid thead .is-now { color: var(--pv-fg); font-weight: 700; }
.pv-row--open th, .pv-row--net th, .pv-row--close th { font-size: 11px; font-weight: 700 !important; letter-spacing: 0.07em; text-transform: uppercase; }
.pv-row--open > * { background: var(--pv-blue-soft); border-block: 1px solid #c6d4f5 !important; }
.pv-row--open th { color: #1d4ed8; }
.pv-row--in > *, .pv-row--out > * { height: 40px !important; font-weight: 600 !important; }
.pv-row--in > * { background: var(--pv-in-soft); color: var(--pv-in); }
.pv-row--in th { box-shadow: inset 3px 0 0 var(--pv-in); color: var(--pv-fg); }
.pv-row--out > * { background: var(--pv-out-soft); }
.pv-row--out th { box-shadow: inset 3px 0 0 var(--pv-out); }
.pv-arrow { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 8px; border-radius: 4px; font-size: 11px; line-height: 1; }
.pv-row--in .pv-arrow { background: #d6ecdd; color: var(--pv-in); }
.pv-row--out .pv-arrow { background: #f6d9d6; color: var(--pv-out); }
.pv-row--item th { padding-left: 22px; color: #334155; }
.pv-row--item .pv-sum { color: var(--pv-fg); }
.pv-row--net > * { border-top: 1px solid var(--pv-line-strong) !important; font-weight: 600 !important; }
.pv-row--close > * { height: 40px !important; background: var(--pv-soft); font-weight: 700 !important; }

/* ── Bank list ─────────────────────────────────────────────────────────── */
.pv-banks { padding-bottom: 6px; }
.pv-banks__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px 14px; }
.pv-banks__head > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pv-banks__total { display: flex; align-items: baseline; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.pv-banks__total small { color: #334155; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.pv-banks__note { color: #334155; font-size: 12px; }
.pv-banks__cols, .pv-acct { display: grid; grid-template-columns: minmax(0, 1fr) 96px 92px; align-items: center; gap: 12px; padding: 0 18px; }
.pv-banks__cols { height: 34px; border-bottom: 1px solid var(--pv-blue); color: var(--pv-muted); font-size: 11px; }
.pv-banks__cols b { color: var(--pv-fg); font-size: 13px; font-weight: 600; }
.pv-banks__cols span:last-child, .pv-acct__bal { text-align: right; }
.pv-acct { grid-template-columns: 30px minmax(0, 1fr) 96px 92px; height: 56px; border-bottom: 1px solid var(--pv-line); }
.pv-acct:last-child { border-bottom: 0; }
.pv-tile { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: #fff; font-size: 11px; font-weight: 700; }
.pv-tile--a { background: #47609c; }
.pv-tile--b { background: #2a62c9; }
.pv-tile--c { background: #62708a; }
.pv-acct__name, .pv-acct__bal { display: flex; flex-direction: column; min-width: 0; }
.pv-acct__name b { overflow: hidden; font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.pv-acct__name small, .pv-acct__bal small { overflow: hidden; color: #475569; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pv-acct__name small i { color: var(--pv-blue); }
.pv-acct__bal b { font-size: 14px; font-weight: 600; }
.pv-spark { width: 88px; height: 26px; color: #64748b; }
.pv-spark circle { fill: var(--pv-blue); stroke: none; }

/* ── Transactions ──────────────────────────────────────────────────────── */
.pv-tx__tabs { display: flex; align-items: center; gap: 18px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--pv-line); color: #1e293b; font-weight: 500; white-space: nowrap; overflow: hidden; }
.pv-tx__tabs b { padding: 4px 9px; border-radius: 6px; background: #e9edf5; font-weight: 600; }
.pv-tx__tabs i { margin-left: 4px; color: var(--pv-muted); font-size: 11px; }
.pv-tx__day { padding: 9px 16px 7px; border-bottom: 1px solid var(--pv-line-strong); background: var(--pv-soft); color: #334155; font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.pv-tx__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 150px 104px; align-items: center; gap: 12px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--pv-line); }
.pv-tx__row:last-child { border-bottom: 0; }
.pv-tx__who { display: flex; align-items: baseline; gap: 10px; min-width: 0; overflow: hidden; white-space: nowrap; }
.pv-tx__who b { flex: 0 1 auto; min-width: 0; overflow: hidden; font-weight: 500; text-overflow: ellipsis; }
.pv-tx__who small { flex: 0 100 auto; min-width: 0; overflow: hidden; color: var(--pv-muted); font-size: 12px; text-overflow: ellipsis; }
.pv-tx__by { padding: 1px 6px; border: 1px dashed var(--pv-line-strong); border-radius: 5px; color: var(--pv-muted); font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.pv-tx__by.is-new { border-color: #9db5f5; color: var(--pv-blue); }
.pv-tx__cat { display: flex; align-items: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-tx__amt { font-weight: 600; text-align: right; white-space: nowrap; }
.pv-tx__amt.is-in { color: var(--pv-in); }

/* ── Assistant ─────────────────────────────────────────────────────────── */
.pv-chat { display: flex; flex-direction: column; }
.pv-chat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--pv-line); }
.pv-chat__head b { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.pv-chat__head span { color: var(--pv-muted); font-size: 12px; white-space: nowrap; }
.pv-chat__body { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 16px; }
.pv-msg { margin: 0; font-size: 14px; line-height: 1.5; }
.pv-msg p { margin: 0; }
.pv-msg--user { align-self: flex-end; max-width: 86%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: #eef1f6; }
.pv-msg--bot { display: flex; flex-direction: column; gap: 10px; }
.pv-tools { display: inline-flex; align-items: center; gap: 5px; color: var(--pv-muted); font-size: 12px; }
.pv-mini { width: 100%; border-collapse: collapse; font-size: 13px; }
.pv-mini th, .pv-mini td { height: 32px; padding: 0 10px; border-bottom: 1px solid var(--pv-line); font-weight: 400; text-align: left; white-space: nowrap; }
.pv-mini thead th { height: 28px; color: var(--pv-muted); font-size: 11px; }
.pv-mini td { color: var(--pv-muted); }
.pv-mini td:last-child { color: var(--pv-fg); font-weight: 600; text-align: right; }
.pv-mini .is-pick > * { background: #f7f9ff; }
.pv-mini .is-pick th { box-shadow: inset 2px 0 0 var(--pv-blue); }
.pv-approve { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 13px; border: 1px solid var(--pv-line-strong); border-radius: 10px; }
.pv-msg--bot .pv-approve { margin-top: 4px; }
.pv-approve__kind { color: #a16207; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; }
.pv-approve__title { font-size: 14px; font-weight: 600; line-height: 1.35; }
.pv-approve__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-block: 1px solid var(--pv-line); font-size: 13px; white-space: nowrap; }
.pv-approve__row span:first-child { display: inline-flex; align-items: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pv-approve__row s { color: var(--pv-muted); }
.pv-approve__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pv-approve__actions em { margin-left: 4px; color: var(--pv-muted); font-size: 12px; }
.pv-chat__composer { display: flex; justify-content: space-between; align-items: center; margin: 0 14px 14px; padding: 8px 8px 8px 14px; border: 1px solid var(--pv-line-strong); border-radius: 12px; color: var(--pv-faint); font-size: 14px; }
.pv-chat__composer i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--pv-blue); color: #fff; }

/* ── Trial steps, AI credit ────────────────────────────────────────────── */
.pv-steps, .pv-credit { padding: 16px 18px; }
.pv-steps__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; }
.pv-steps__head b { font-size: 14px; font-weight: 600; }
.pv-steps__head span { color: var(--pv-muted); font-size: 12px; }
.pv-step { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--pv-line); }
.pv-step > i { display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--pv-line-strong); border-radius: 50%; }
.pv-step.is-done > i { border-color: var(--pv-in); background: var(--pv-in); color: #fff; }
.pv-step.is-next > i { border-color: var(--pv-blue); box-shadow: 0 0 0 3px #dfe8fb; }
.pv-step span { display: flex; flex-direction: column; min-width: 0; }
.pv-step b { font-size: 14px; font-weight: 500; }
.pv-step small { color: var(--pv-muted); font-size: 12px; }
.pv-step em { color: var(--pv-in); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pv-step.is-next em { color: var(--pv-blue); }
.pv-steps__foot { padding-top: 10px; border-top: 1px solid var(--pv-line); color: var(--pv-muted); font-size: 12px; }
.pv-credit { display: flex; flex-direction: column; gap: 12px; }
.pv-credit__head { display: flex; flex-direction: column; gap: 2px; }
.pv-credit__value { display: flex; align-items: baseline; gap: 10px; font-size: 26px; font-weight: 600; letter-spacing: -0.015em; }
.pv-credit__value small { color: var(--pv-muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.pv-credit__bar { height: 6px; border-radius: 3px; background: #e9edf5; overflow: hidden; }
.pv-credit__bar i { display: block; height: 100%; border-radius: 3px; background: var(--pv-blue); }
.pv-credit__rows div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--pv-line); }
.pv-credit__rows span { color: #334155; }
.pv-credit__rows b { font-weight: 600; }
.pv-credit__top { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--pv-line); color: var(--pv-muted); }
.pv-credit__top span:first-child { margin-right: auto; }

/* The chart alone (no grid): a row of month initials under it, a short axis column. */
.pv-board.is-chart, .pv-board.is-compact.is-chart { --pv-label: 58px; }
.pv-board.is-chart .pv-chart__axis { padding-right: 8px; }
.pv-months { display: grid; grid-template-columns: var(--pv-label) repeat(var(--n), 1fr); padding: 7px 0 12px; color: var(--pv-muted); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-align: center; }
.pv-months .is-now { color: var(--pv-fg); }

/* Narrow frames: the grid keeps its figures, the label column gives way. */
.pv-board.is-compact { --pv-label: 124px; }
.pv-board.is-compact .pv-grid th, .pv-board.is-compact .pv-grid td { padding: 0 8px; font-size: 12.5px; }
.pv-board.is-compact .pv-kpis { margin: 10px 10px 0; }
.pv-board.is-compact .pv-kpi { padding: 7px 10px 8px; }
.pv-board.is-compact .pv-kpi__value { flex-direction: column; align-items: flex-start; gap: 0; font-size: 17px; }
.pv-board.is-compact .pv-chart { height: 128px; }
.pv-board.is-compact .pv-chart__axis { padding-right: 8px; }
.pv-board.is-compact .pv-row--open th, .pv-board.is-compact .pv-row--net th, .pv-board.is-compact .pv-row--close th { font-size: 10px; letter-spacing: 0.04em; }
.pv-tx.is-compact .pv-tx__row { grid-template-columns: minmax(0, 1fr) auto; height: auto; padding: 9px 14px; row-gap: 2px; }
.pv-tx.is-compact .pv-tx__by { display: none; }
.pv-tx.is-compact .pv-tx__who { flex-direction: column; align-items: flex-start; gap: 0; grid-row: span 2; }
.pv-tx.is-compact .pv-tx__cat { grid-column: 2; grid-row: 2; justify-content: flex-end; color: var(--pv-muted); font-size: 12px; }
.pv-tx.is-compact .pv-tx__amt { grid-column: 2; grid-row: 1; }
.pv-tx.is-compact .pv-tx__tabs span:last-child { display: none; }
.pv-banks.is-compact .pv-banks__cols, .pv-banks.is-compact .pv-acct { padding: 0 14px; }
.pv-banks.is-compact .pv-banks__cols { grid-template-columns: minmax(0, 1fr) 92px; }
.pv-banks.is-compact .pv-banks__cols span:nth-child(2), .pv-banks.is-compact .pv-spark { display: none; }
.pv-banks.is-compact .pv-acct { grid-template-columns: 30px minmax(0, 1fr) 92px; }

/* ── Variants chart, activity ──────────────────────────────────────────── */
.pv-variants { padding: 14px 14px 12px; }
.pv-variants svg { display: block; width: 100%; height: auto; }
.pv-variants .rule { stroke: var(--pv-line); stroke-width: 1; }
.pv-variants .axis { fill: var(--pv-faint); font-size: 11px; }
.pv-variants path { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.pv-variants path.base { stroke: #94a3b8; }
.pv-variants path.early { stroke: var(--pv-out); stroke-dasharray: 5 5; }
.pv-variants path.late { stroke: var(--pv-blue); }
.pv-variants circle { stroke: #fff; stroke-width: 2; }
.pv-variants circle.base { fill: #64748b; }
.pv-variants circle.early { fill: var(--pv-out); }
.pv-variants circle.late { fill: var(--pv-blue); }
.pv-variants text.base, .pv-variants text.early, .pv-variants text.late { font-size: 12px; font-weight: 600; }
.pv-variants text.base { fill: #475569; }
.pv-variants text.early { fill: var(--pv-out); }
.pv-variants text.late { fill: var(--pv-blue); }
.pv-variants__key { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 8px 4px 0; color: #334155; font-size: 12px; }
.pv-variants__key span { display: inline-flex; align-items: center; gap: 7px; }
.pv-variants__key i { width: 16px; height: 0; border-top: 2.2px solid #94a3b8; }
.pv-variants__key i.early { border-top: 2.2px dashed var(--pv-out); }
.pv-variants__key i.late { border-top-color: var(--pv-blue); }
.pv-change { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--pv-line); }
.pv-change:last-child { border-bottom: 0; }
.pv-change > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.pv-change b { font-size: 14px; font-weight: 500; }
.pv-change small { overflow: hidden; color: #334155; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pv-change em { color: var(--pv-muted); font-size: 12px; }
.pv-change .pv-btn { gap: 6px; height: 28px; padding: 0 10px; font-size: 12px; }
.pv-board.is-compact .pv-grid thead th { font-size: 10px; letter-spacing: 0.02em; }

/* ── Forecast of one month ─────────────────────────────────────────────── */
.pv-seg { display: inline-flex; padding: 2px; border: 1px solid var(--pv-line-strong); border-radius: 8px; white-space: nowrap; }
.pv-seg > * { padding: 4px 9px; border-radius: 6px; color: #334155; font-size: 12px; font-weight: 400; }
.pv-seg > b { background: #fff; box-shadow: 0 0 0 1px var(--pv-line-strong); color: var(--pv-fg); font-weight: 600; }
.pv-forecast__head { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 12px; }
.pv-forecast__value { color: var(--pv-in); font-size: 26px; font-weight: 600; letter-spacing: -0.015em; }
.pv-forecast__note { color: #475569; }
.pv-forecast__note b { color: var(--pv-fg); font-weight: 600; }
.pv-forecast__tabs { display: flex; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--pv-line); color: #475569; }
.pv-forecast__tabs > * { padding: 9px 0; }
.pv-forecast__tabs b { margin-bottom: -1px; border-bottom: 2px solid var(--pv-blue); color: var(--pv-fg); font-weight: 600; }
.pv-forecast__body { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 18px; }
.pv-forecast__body > b { font-size: 14px; font-weight: 600; }
.pv-forecast__sum { display: flex; align-items: center; gap: 8px; }
.pv-forecast__sum span { display: flex; flex-direction: column; align-items: center; min-width: 68px; padding: 6px 10px; border: 1px solid var(--pv-line-strong); border-radius: 8px; font-size: 15px; font-weight: 600; }
.pv-forecast__sum small { color: var(--pv-muted); font-size: 11px; font-weight: 400; }
.pv-forecast__sum i { color: var(--pv-muted); }
.pv-forecast__sum .is-result { border-color: #9db5f5; background: var(--pv-blue-soft); color: #1d4ed8; }
.pv-forecast__sum .is-result small { color: #1d4ed8; }
.pv-forecast__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; height: 128px; padding: 22px 14px 22px; border: 1px solid var(--pv-line); border-radius: 8px; }
.pv-forecast__bars span { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.pv-forecast__bars i { position: relative; width: 26px; border-radius: 3px 3px 0 0; background: #cbd2dd; }
.pv-forecast__bars i.is-now { background: #1e293b; }
.pv-forecast__bars i.is-plan { background: var(--pv-blue); }
.pv-forecast__bars em { position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%); color: #475569; font-size: 10px; }
.pv-forecast__bars small { position: absolute; top: calc(100% + 5px); color: var(--pv-muted); font-size: 11px; }
.pv-forecast__key { display: flex; gap: 16px; color: #475569; font-size: 12px; }
.pv-forecast__key span { display: inline-flex; align-items: center; gap: 6px; }
.pv-forecast__key i { width: 9px; height: 9px; border-radius: 2px; background: #cbd2dd; }
.pv-forecast__key i.is-now { background: #1e293b; }
.pv-forecast__key i.is-plan { background: var(--pv-blue); }
.pv-forecast__set { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; color: #334155; }
.pv-forecast__set em { font-weight: 600; color: var(--pv-fg); }
.pv-forecast__set .pv-seg { justify-self: start; }

/* ── Scenarios ─────────────────────────────────────────────────────────── */
.pv-scen { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px 12px; }
.pv-scen__title { padding: 0 8px 6px; font-size: 15px; font-weight: 500; }
.pv-scen__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; }
.pv-scen__row.is-on { background: #eef1f6; }
.pv-scen__row span { display: flex; flex-direction: column; min-width: 0; }
.pv-scen__row b { font-size: 13px; font-weight: 500; }
.pv-scen__row small { color: #475569; font-size: 12px; }
.pv-scen__line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; padding: 7px 10px; }
.pv-scen__line span { font-weight: 500; }
.pv-scen__line em { color: var(--pv-muted); }
.pv-scen__line i { color: var(--pv-blue); font-weight: 500; }
.pv-scen__label { padding: 8px 10px 2px; color: var(--pv-muted); font-size: 11px; }
.pv-scen__save { margin: 8px 6px 0; padding: 7px 12px; border: 1px solid var(--pv-line-strong); border-radius: 8px; font-weight: 500; text-align: center; }

/* ── Connect a bank ────────────────────────────────────────────────────── */
.pv-connect { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.pv-connect__title { font-size: 14px; font-weight: 600; }
.pv-connect__steps { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: -6px; color: #475569; }
.pv-connect__steps b { color: var(--pv-fg); font-weight: 500; }
.pv-connect__tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pv-connect__tiles span { display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 54px; padding: 0 4px 9px; border: 1px solid var(--pv-line-strong); border-radius: 8px; font-size: 12px; white-space: nowrap; }
.pv-connect__tiles .is-more { align-items: center; padding-bottom: 0; border-style: dashed; color: #475569; }
.pv-connect__field { display: flex; flex-direction: column; gap: 5px; }
.pv-connect__field small { color: #334155; font-size: 12px; }
.pv-connect__field span { padding: 8px 12px; border: 1px solid var(--pv-line-strong); border-radius: 8px; }
.pv-connect__go { padding: 9px; border-radius: 8px; background: var(--pv-blue); color: #fff; font-weight: 600; text-align: center; }
.pv-connect__note { margin: 0; color: #475569; font-size: 12px; text-align: center; }

/* ── Rules ─────────────────────────────────────────────────────────────── */
.pv-rules__tabs { display: flex; align-items: center; gap: 20px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--pv-line); color: #475569; font-size: 14px; white-space: nowrap; overflow: hidden; }
.pv-rules__tabs b { align-self: stretch; display: inline-flex; align-items: center; border-bottom: 2px solid var(--pv-blue); color: var(--pv-fg); font-weight: 600; }
.pv-rules__tabs i { margin-left: 4px; color: var(--pv-muted); font-size: 12px; font-weight: 400; }
.pv-rules__tabs em { margin-left: auto; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.pv-rules__cols, .pv-rules__row { display: grid; grid-template-columns: minmax(0, 1fr) 76px; align-items: center; gap: 12px; padding: 0 16px; }
.pv-rules__cols { height: 30px; border-bottom: 1px solid var(--pv-line); background: var(--pv-soft); color: var(--pv-muted); font-size: 11px; }
.pv-rules__cols span:last-child, .pv-rules__row > b { text-align: right; }
.pv-rules__group { display: flex; align-items: center; height: 36px; padding: 0 16px; }
.pv-rules__group b { font-weight: 600; }
.pv-rules__row { min-height: 38px; padding-block: 6px; border-bottom: 1px solid var(--pv-line); }
.pv-rules__row:last-child { border-bottom: 0; }
.pv-rules__row span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #334155; }
.pv-rules__row em { padding: 2px 8px; border: 1px solid var(--pv-line-strong); border-radius: 6px; color: var(--pv-fg); font-weight: 500; }
.pv-rules__row span i { color: var(--pv-faint); }
.pv-rules__row > b { font-weight: 500; }
.pv-rules.is-compact .pv-rules__tabs em { display: none; }
.pv-connect.is-compact .pv-connect__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-connect.is-compact .pv-connect__tiles .is-more { grid-column: 1 / -1; height: 40px; }
