/* ========================================================================
   MORTGAGE PAGE - LIGHT THEME  (Brian, 29 Sep 2026)
   Scoped to html.theme-light so the insurance, commercial and UK pages,
   which share styles.css, are not touched. Remove the class on <html>
   and the page is exactly as it was.
   ======================================================================== */

html.theme-light {
  --bg: #ffffff;
  --bg-elev: #f7f4f9;
  --bg-card: #ffffff;
  --bg-card-2: #faf7fb;
  --line: rgba(22, 16, 30, 0.10);
  --line-strong: rgba(22, 16, 30, 0.20);
  --line-brand: rgba(115, 1, 107, 0.32);

  --text: #16121c;
  --text-mute: #4b4458;
  --text-dim: #7b7288;

  --shadow-card: 0 1px 2px rgba(22, 16, 30, 0.05), 0 22px 45px -28px rgba(22, 16, 30, 0.30);
  --shadow-glow: 0 0 0 1px rgba(178, 20, 158, 0.25), 0 18px 45px -18px rgba(178, 20, 158, 0.45);
}

html.theme-light,
html.theme-light body { background: #ffffff; color: var(--text); }

/* Atmosphere: a faint purple wash at the top only, no film grain. */
html.theme-light .atmosphere {
  background: radial-gradient(ellipse 70% 40% at 50% -12%, rgba(115, 1, 107, 0.09), transparent 62%);
}
html.theme-light .grain { display: none; }

/* Type ---------------------------------------------------------------- */
html.theme-light .text-grad {
  background: none;
  -webkit-text-fill-color: #16121c;
  color: #16121c;
}
html.theme-light .text-brand,
html.theme-light .accent {
  background: none;
  -webkit-text-fill-color: var(--brand);
  color: var(--brand);
}
html.theme-light .eyebrow {
  color: var(--brand);
  background: rgba(115, 1, 107, 0.06);
  border-color: rgba(115, 1, 107, 0.22);
}
html.theme-light .eyebrow .dot { background: var(--brand); }
html.theme-light .lede { color: var(--text-mute); }

/* Chrome -------------------------------------------------------------- */
html.theme-light .topbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
}
html.theme-light .topbar-logo { filter: none; }
html.theme-light .scarcity {
  background: #16121c;
  color: #ffffff;
}
html.theme-light .scarcity .pulse-dot { background: #ffffff; }

/* Sections ------------------------------------------------------------ */
html.theme-light .section { background: transparent; }
html.theme-light .section--light,
html.theme-light .section--panel {
  background: #faf7fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
html.theme-light .section--panel .text-grad,
html.theme-light .section--light .text-grad { color: #16121c; -webkit-text-fill-color: #16121c; }
/* Opt-in: keep the light-band card styling but on plain white, no band edges. */
html.theme-light .section--light.section--plain { background: #ffffff; border-top: 0; border-bottom: 0; }
/* Personal page: compact result cards */
.section--plain#results .case-grid { gap: 10px; }
.section--plain#results .case-card,
.section--plain#results .case-card--feature { padding: 14px 14px; gap: 8px !important; }
.section--plain#results .case-card .case-num { font-size: clamp(24px, 2vw, 32px); }
.section--plain#results .case-label { font-size: 10px; }
.section--plain#results .case-title { font-size: 13px; line-height: 1.4; }
.section--plain#results .case-meta { gap: 6px 12px; font-size: 11.5px; }
.section--plain#results .spark { height: 28px; }
/* Personal page: reviews come first, as one compact sliding row */
.section--plain#results .reviews-block--first { margin-top: 0; margin-bottom: clamp(44px, 5vw, 72px); }
.section--plain#results .reviews-head { margin-bottom: 20px; }
.section--plain#results .reviews-track { padding: 6px 0 18px; }
.section--plain#results .reviews-track .review-card { margin-right: 12px; }
.section--plain#results .reviews-track .review-card { flex: 0 0 270px; padding: 16px 16px; gap: 10px; }
.section--plain#results .review-quote { font-size: 14px; line-height: 1.5; }
.section--plain#results .review-stars { font-size: 13px; }
.section--plain#results .review-by { padding-top: 10px; }
.section--plain#results .review-by strong { font-size: 13px; }
.section--plain#results .review-by span { font-size: 12px; }
@media (max-width: 640px) { .section--plain#results .reviews-track .review-card { flex-basis: 240px; } }
/* Personal page: compact FAQ */
.faq--compact { padding-top: clamp(32px, 4vw, 56px) !important; padding-bottom: clamp(32px, 4vw, 56px) !important; }
.faq--compact .faq-title { text-align: center; font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 22px; color: var(--text); -webkit-text-fill-color: var(--text); }
.faq--compact .faq { max-width: 760px; margin: 0 auto; gap: 8px; }
.faq--compact .faq-item summary { padding: 14px 18px; font-size: 15px; }
.faq--compact .faq-item .faq-icon { width: 24px; height: 24px; }
.faq--compact .faq-item .faq-body { padding: 0 18px 16px; font-size: 14px; line-height: 1.55; }
.faq--compact .cta-block { margin-top: 26px; }
/* Personal page: slightly larger line under the form */
.hero:has(+ #results.section--plain) .apply-sub,
body:has(#results.section--plain) .apply-sub { font-size: 16px; margin-top: 14px; }

/* Cards --------------------------------------------------------------- */
html.theme-light .case-card,
html.theme-light .review-card,
html.theme-light .faq-item {
  background: #ffffff;
  border: 1px solid rgba(22, 16, 30, 0.09);
  box-shadow: 0 1px 2px rgba(22, 16, 30, 0.04), 0 20px 45px -30px rgba(22, 16, 30, 0.35);
  color: var(--text);
}
html.theme-light .case-card--feature {
  background: linear-gradient(180deg, #ffffff, #fbf4f9);
  border-color: rgba(115, 1, 107, 0.26);
}
html.theme-light .case-num,
html.theme-light .case-card--feature .case-num {
  background: none;
  -webkit-text-fill-color: var(--brand);
  color: var(--brand);
}
html.theme-light .case-card .case-label { color: var(--brand); opacity: 0.85; }
html.theme-light .case-card .case-title { color: #16121c; }
html.theme-light .review-quote { color: #2b2440; }
html.theme-light .review-stars { color: var(--brand); }
html.theme-light .review-by { border-top: 1px solid rgba(22, 16, 30, 0.09); }
html.theme-light .review-by strong { color: #16121c; }
html.theme-light .review-by span { color: #7a7290; }
html.theme-light .reviews-head h3 { color: #16121c; }

/* FAQ ----------------------------------------------------------------- */
html.theme-light .faq-item .faq-icon {
  background: rgba(115, 1, 107, 0.06);
  border: 1px solid rgba(115, 1, 107, 0.20);
  color: var(--brand);
}
html.theme-light .faq-item[open] .faq-icon { background: var(--brand); color: #ffffff; border-color: transparent; }
html.theme-light .faq-item .faq-body { color: var(--text-mute); }

/* Final CTA + footer --------------------------------------------------- */
html.theme-light .final-cta::before { display: none; }
html.theme-light .footer {
  background: #16121c;
  color: #ffffff;
  border-top: none;
}
html.theme-light .footer .small { color: rgba(255, 255, 255, 0.62); }
html.theme-light .footer img { opacity: 0.9; filter: brightness(0) invert(1); }
.footer--mortgage { padding: 36px 24px 26px; gap: 12px; }
.footer--mortgage img { height: 40px; margin-bottom: 4px; }
.footer--mortgage .footer-legal { max-width: 860px; font-size: 11.5px; line-height: 1.55; opacity: 0.85; }

/* Sticky mobile bar ---------------------------------------------------- */
html.theme-light .sticky-mobile {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
}

/* ========================================================================
   APPLY BLOCK - the Typeform now lives on the page, not in a pop-up.
   ======================================================================== */

.apply-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.apply-head {
  text-align: center;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(18px, 2.4vw, 26px);
  color: #16121c;
  margin-bottom: 14px;
}
.apply-frame {
  border: 1px solid rgba(115, 1, 107, 0.28);
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(22, 16, 30, 0.05), 0 30px 70px -35px rgba(115, 1, 107, 0.55);
  padding: 10px;
  overflow: hidden;
}
/* The welcome screen is centred in this frame on a desktop and the Start
   button is pinned to the bottom of it on a phone. The Calendly-sized box
   (min 680px, or nearly a full phone screen) left an empty white card under
   the hero and the Start button below the fold. Stay compact until the
   visitor advances. html.tf-started (set from Typeform onQuestionChanged)
   restores the height the booking step needs.
   Height note (1 Oct): the last question is a Calendly block, so the started
   box holds three nested frames - our page > Typeform > Calendly. Calendly
   needs ~700px of height and at least 320px of width or it collapses into its
   squashed column and scrolls inside itself. 520px left it about 300px. */
.apply-embed {
  width: 100%;
  height: 380px;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
}
html.tf-started .apply-embed {
  height: min(840px, calc(100vh - 90px));
  min-height: 680px;
}

.apply-start-fallback {
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text-mute);
}
.apply-start-fallback a { color: #73016b; font-weight: 700; }

@media (max-width: 720px) {
  /* Welcome: short enough that the bottom-pinned Start button sits under the
     hero. Started: take the whole phone screen. Three frames deep (page >
     Typeform > Calendly) every pixel spent on page chrome is a pixel stolen
     from the answer options and the time slots. */
  .apply-embed { height: 340px; min-height: 0; }
  html.tf-started .apply-embed { height: calc(100svh - 18px); min-height: 560px; }
  .apply-frame { padding: 3px; border-radius: 14px; }
  .apply-wrap {
    padding-left: 0;
    padding-right: 0;
    margin-left: -14px;
    margin-right: -14px;
    width: calc(100% + 28px);
  }
}
.apply-sub {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-mute);
}
.apply-note {
  text-align: center;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-dim);
}

/* VSL slot - hidden until a video is set in the tweaks panel/defaults. */
.vsl-slot {
  max-width: 900px;
  margin: 0 auto 26px;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #16121c;
  border: 1px solid rgba(115, 1, 107, 0.30);
  box-shadow: 0 30px 70px -35px rgba(22, 16, 30, 0.6);
}
.vsl-slot iframe, .vsl-slot video { width: 100%; height: 100%; display: block; border: 0; }
.vsl-cap {
  text-align: center;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Who this is for / not for - the direct line at the bigger brokerages. */
.fit-bar {
  max-width: 900px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px) { .fit-bar { grid-template-columns: 1fr; } }
.fit-card {
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.5;
  border: 1px solid;
}
.fit-card strong { display: block; font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: 6px; }
.fit-card--yes { background: rgba(74, 222, 128, 0.07); border-color: rgba(30, 140, 80, 0.28); color: #14301f; }
.fit-card--yes strong { color: #1b7a4b; }
.fit-card--no { background: rgba(255, 84, 112, 0.06); border-color: rgba(190, 40, 70, 0.22); color: #3a1520; }
.fit-card--no strong { color: #b32a45; }

/* Three-number proof strip under the fold. */
.stat-strip {
  max-width: 900px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  text-align: center;
}
@media (max-width: 720px) { .stat-strip { gap: 10px; } }
.stat-strip .n {
  font-weight: 900;
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1.1;
}
.stat-strip .l {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}
.stat-foot {
  max-width: 900px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* Logo is a white lockup: turn it dark on the light ground. */
html.theme-light .topbar-logo { filter: brightness(0) saturate(100%); opacity: 0.88; }
html.theme-light .topbar-logo--color { filter: none; opacity: 1; mix-blend-mode: multiply; height: 34px; }

/* Thank-you pages on the light ground */
html.theme-light .confirm-card,
html.theme-light .founder-section,
html.theme-light .faq-vid,
html.theme-light .ty-more > summary { background: #ffffff; border-color: var(--line); box-shadow: var(--shadow-card); }
html.theme-light .ty-more-toggle { color: var(--brand); background: rgba(115,1,107,0.07); border-color: rgba(115,1,107,0.25); }
html.theme-light .confirm-steps .step-num { color: var(--brand); background: rgba(115,1,107,0.07); border-color: rgba(115,1,107,0.25); }
html.theme-light .confirm-callout { background: #fff8e6; border-color: rgba(191,128,0,0.30); color: var(--text); }
html.theme-light .confirm-callout strong { color: #9a6700; }
html.theme-light .founder-head .small-eyebrow { color: var(--brand); }
html.theme-light .prep-list li .check { color: #15803d; background: rgba(21,128,61,0.10); border-color: rgba(21,128,61,0.35); }
html.theme-light .faq-vid-body h4 { color: var(--text); }
html.theme-light .topbar-meta { color: var(--text-mute); }
html.theme-light .vidmodal-card, html.theme-light .vidmodal-close { background: #ffffff; }
/* Thank-you pages with no top bar: colour logo centred at the top */
.ty-logo-wrap { padding: clamp(22px, 3vw, 36px) 24px 0; text-align: center; position: relative; z-index: 2; }
.ty-logo-wrap .hero-logo { margin: 0 auto; }

/* Final CTA card: keep it as the one dark block on the page, with legible type. */
html.theme-light .final-cta {
  background: #16121c;
  border: 1px solid rgba(115, 1, 107, 0.45);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px);
}
html.theme-light .final-cta h2,
html.theme-light .final-cta .text-grad { color: #ffffff; -webkit-text-fill-color: #ffffff; }
html.theme-light .final-cta .text-brand { color: #e879d6; -webkit-text-fill-color: #e879d6; }
html.theme-light .final-cta .lede { color: rgba(255, 255, 255, 0.72); }
html.theme-light .final-cta .mono { color: rgba(255, 255, 255, 0.55) !important; }

/* ========================================================================
   HERO HEADLINE - three stacked lines, sized per screen.
   The small lines and the big funded-loan line are separate blocks so the
   phone can size them independently instead of inheriting one font-size.
   ======================================================================== */

.hero-head h1.h1-stack { display: block; }
.hero-head h1.h1-stack .h1-sm,
.hero-head h1.h1-stack .h1-big { display: block; }
.hero-head h1.h1-stack .h1-sm,
.hero-head h1.h1-stack .h1-big {
  font-size: 1em;
  font-weight: 900;
  line-height: 1.06;
}

/* Logo sits centred above the headline now that the top bar is gone. */
.hero-logo {
  display: block;
  height: 40px;
  width: auto;
  margin: 0 auto 4px;
  mix-blend-mode: multiply;
}
@media (max-width: 720px) {
  .hero-logo { height: 30px; margin-bottom: 2px; }
}

/* Phones: the big line is the only thing allowed to be big. Everything else
   shrinks and tightens so the headline block stays short and the form sits
   higher up the screen. */
@media (max-width: 720px) {
  html.theme-light .hero-head h1 {
    font-size: clamp(22px, 5.9vw, 27px);
    line-height: 1.14;
    letter-spacing: -0.012em;
    padding: 0 2px;
  }
  html.theme-light .hero-head h1.h1-stack .h1-sm,
  html.theme-light .hero-head h1.h1-stack .h1-big {
    font-size: 1em;
    line-height: 1.14;
    text-wrap: balance;
  }
  html.theme-light .hero-head h1.h1-stack .h1-big { margin: 2px 0; }
  /* "FOR US MORTGAGE BROKERAGES..." pill: smaller and tighter on a phone. */
  html.theme-light .hero-head .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
    line-height: 1.3;
    padding: 5px 10px;
    max-width: 92vw;
    text-align: center;
  }
  html.theme-light .hero-head .eyebrow .dot { width: 5px; height: 5px; }
  html.theme-light .hero-head .hero-lede {
    font-size: 15.5px;
    line-height: 1.5;
    margin-top: 12px !important;
  }
  html.theme-light .stat-strip .n { font-size: clamp(20px, 6.5vw, 28px); }
}

/* Very narrow phones (iPhone SE / mini): one more step down so the big line
   never runs into the edge of the screen. */
@media (max-width: 380px) {
  html.theme-light .hero-head h1 { font-size: 21px; }
  html.theme-light .hero-head .eyebrow { font-size: 8.5px; letter-spacing: 0.08em; }
}

/* Sticky header must not sit on top of the apply heading when a CTA jumps here. */
#apply { scroll-margin-top: 64px; }
.apply-inline { width: 100%; text-align: left; }

/* Case studies - every card the same size */
#results .case-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
#results .case-card, #results .case-card--feature { grid-column: auto; grid-row: auto; padding: 16px 16px; }
#results .case-card { gap: 10px !important; }
#results .cv-cols { height: 56px; }
#results .cv-compare { gap: 8px; }
#results .cv-bar { height: 16px; }

/* Tighter vertical rhythm between sections (mortgage pages only) */
html.theme-light .section { padding-top: clamp(48px, 5vw, 76px); padding-bottom: clamp(48px, 5vw, 76px); }
html.theme-light .section--light { padding-top: clamp(52px, 5.5vw, 84px); padding-bottom: clamp(52px, 5.5vw, 84px); }
html.theme-light .section-head { margin-bottom: clamp(28px, 3vw, 40px); }
html.theme-light .reviews-block { margin-top: clamp(40px, 4.5vw, 64px); }
html.theme-light .reviews-head { margin-bottom: clamp(20px, 2.5vw, 32px); }
html.theme-light .hero { padding-bottom: clamp(36px, 4vw, 60px); }

/* Pull the on-page form up so the welcome screen's Start button is in the
   first view. The long mortgage headlines were the pages where a full-height
   embed left only the Typeform logo on screen. */
@media (min-width: 721px) {
  html.theme-light .hero { padding-top: 16px; }
  html.theme-light .hero-center { gap: 14px; }
  html.theme-light .hero--centered .hero-head { gap: 8px; }
  html.theme-light .hero-lede { margin-top: 6px !important; }
  html.theme-light .hero-head h1.h1-stack {
    font-size: clamp(32px, 3.05vw, 44px);
    line-height: 1.05;
  }
}
@media (max-width: 720px) {
  html.theme-light .hero { padding-top: 8px; }
  html.theme-light .hero-center { gap: 8px; }
  html.theme-light .hero--centered .hero-head { gap: 8px; }
  html.theme-light .hero-head h1.h1-stack {
    font-size: clamp(20px, 5.4vw, 22px);
    line-height: 1.06;
  }
  html.theme-light .hero-head .hero-lede { margin-top: 4px !important; line-height: 1.4; }
}
@media (max-width: 720px) {
  html.theme-light .section, html.theme-light .section--light { padding-top: 44px; padding-bottom: 44px; }
}
#results .case-card .case-num { font-size: clamp(30px, 2.6vw, 42px); }
@media (max-width: 1180px) { #results .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { #results .case-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }

/* Reviews - one sliding row */
.reviews-marquee {
  overflow: hidden;
  margin: 0 calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track { display: flex; gap: 0; width: max-content; padding: 8px 0 28px; animation: reviews-slide 60s linear infinite; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
.reviews-track .review-card { flex: 0 0 340px; margin-right: 16px; }
@keyframes reviews-slide { from { transform: translateX(0); } to { transform: translate3d(-50%,0,0); } }
@media (max-width: 640px) { .reviews-track .review-card { flex-basis: 280px; } .reviews-track { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) { .reviews-track { animation: none; } .reviews-marquee { overflow-x: auto; } }

/* Case study mini charts */
/* Confirmed pages: three equal-size graphic result cards */
.case-grid--viz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.case-grid--viz .case-card,
.case-grid--viz .case-card--feature { grid-column: auto; grid-row: auto; display: flex; flex-direction: column; gap: 16px; padding: 22px 20px; background: #ffffff; border: 1px solid rgba(26,20,48,0.08); box-shadow: 0 1px 2px rgba(26,20,48,0.05), 0 18px 40px -26px rgba(26,20,48,0.24); }
.case-grid--viz .case-card--feature { border-color: rgba(178,20,158,0.30); }
.case-grid--viz .case-meta { margin-top: auto; }
.case-grid--viz .case-num { background: none; -webkit-text-fill-color: #1a1430; color: #1a1430; }
.case-grid--viz .case-card--feature .case-num { background: linear-gradient(135deg, #1a1430 0%, var(--brand-hi) 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.case-grid--viz .case-label { color: var(--brand-hi); opacity: 0.85; }
.case-grid--viz .case-title { color: #2b2440; font-size: 15px; line-height: 1.45; margin-top: 6px; }
.case-grid--viz .cv-cols { height: 64px; }
@media (max-width: 820px) { .case-grid--viz { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.cv-territory { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.cv-territory span { aspect-ratio: 1; border-radius: 4px; background: rgba(26,20,48,0.08); }
.cv-territory span.is-you { background: linear-gradient(135deg, var(--brand), var(--brand-hi)); box-shadow: 0 0 0 3px rgba(178,20,158,0.18); }
#results .case-card { display: flex; flex-direction: column; gap: 16px; }
#results .case-card .case-meta { margin-top: auto; }
.cv { width: 100%; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.02em; color: #7a7290; }
.cv-compare { display: flex; flex-direction: column; gap: 12px; }
.cv-k { text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 5px; }
.cv-pair { display: flex; flex-direction: column; gap: 4px; }
.cv-bar { height: 18px; border-radius: 4px; display: flex; align-items: center; padding: 0 7px; white-space: nowrap; min-width: 34px; }
.cv-bar span { font-size: 10.5px; font-weight: 600; }
.cv-bar--before { background: rgba(26,20,48,0.08); color: #57506a; }
.cv-bar--after { background: linear-gradient(90deg, var(--brand), var(--brand-hi)); color: #fff; }
.cv-cols { display: flex; align-items: flex-end; gap: 6px; height: 78px; }
.cv-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; }
.cv-colbar { width: 100%; border-radius: 4px 4px 1px 1px; background: rgba(178,20,158,0.22); min-height: 4px; }
.cv-colbar.is-last { background: linear-gradient(180deg, var(--brand-hi), var(--brand)); }
.cv-collab { font-size: 9.5px; }
.cv-ratio { display: flex; flex-direction: column; gap: 8px; }
.cv-rrow { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 8px; }
.cv-rk { text-transform: uppercase; letter-spacing: 0.08em; }
.cv-rtrack { height: 14px; border-radius: 4px; background: rgba(26,20,48,0.06); overflow: hidden; }
.cv-rbar { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-hi)); }
.cv-rbar--small { background: #b7b0c4; }
.cv-rv { font-weight: 600; color: #1a1430; }
.cv-funnel { display: flex; flex-direction: column; gap: 6px; }
.cv-frow { display: flex; align-items: center; gap: 8px; }
.cv-fbar { height: 22px; border-radius: 4px; background: rgba(178,20,158,0.22); display: flex; align-items: center; padding: 0 8px; min-width: 34px; }
.cv-fbar strong { font-size: 11px; color: #1a1430; }
.cv-fbar.is-last { background: linear-gradient(90deg, var(--brand), var(--brand-hi)); }
.cv-fbar.is-last strong { color: #fff; }
.cv-fk { text-transform: uppercase; letter-spacing: 0.08em; }
.cv-ring { display: flex; align-items: center; gap: 14px; }
.cv-ring svg { transform: rotate(-90deg); flex-shrink: 0; }
.cv-ring circle { fill: none; stroke-width: 8; stroke-linecap: round; }
.cv-ring-track { stroke: rgba(26,20,48,0.07); }
.cv-ring-track--in { stroke-width: 6; }
.cv-ring-was { stroke: #b7b0c4; stroke-width: 6; }
.cv-ring-now { stroke: var(--brand-hi); }
.cv-ring-legend { display: flex; flex-direction: column; gap: 6px; }
.cv-ring-legend--row { flex-direction: row; gap: 14px; margin-top: 8px; }
.cv-ring-legend div { display: flex; align-items: center; gap: 6px; }
.cv-dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.cv-dot--now { background: var(--brand-hi); }
.cv-dot--was { background: #c9c3d4; }
.cv-tl-track { position: relative; height: 26px; border-bottom: 2px solid rgba(26,20,48,0.1); }
.cv-tl-dot { position: absolute; bottom: -6px; width: 10px; height: 10px; border-radius: 999px; transform: translateX(-50%); background: #c9c3d4; }
.cv-tl-dot--appt { width: 14px; height: 14px; bottom: -8px; background: var(--brand-hi); box-shadow: 0 0 0 3px rgba(178,20,158,0.18); }
.cv-tl-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 9.5px; }
