/* Deal-profile islands, matching the Stripe/OpenRouter resource family. */
body { display: block; padding: 24px; }
.cx-wrap { max-width: 1040px; margin: auto; }
.cx-article-head, .cx-prose { padding: 0 30px; }
.cx-article-head h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 650; line-height: 1.06; }
.cx-dek { max-width: 800px; font-size: 21px; line-height: 1.5; margin-top: 18px; color: var(--mv-text-sec); }
.cx-byline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 20px 0 28px; color: var(--mv-text-muted); font-size: 14px; }
.cx-byline img { border-radius: 50%; object-fit: cover; }
.cx-byline time { margin-left: 8px; }
.cx-island { position: relative; background: var(--mv-toggle-active); border: 1px solid var(--mv-border); border-radius: 18px; padding: 30px; margin: 28px 0 20px; }
[data-theme="dark"] .cx-island { background: var(--mv-bg); }
.cx-island h2 { font-size: clamp(23px, 3vw, 28px); font-weight: 650; line-height: 1.2; padding-right: 50px; }
.cx-island .subtitle { margin: 8px 0 0; font-size: 15px; }
.cx-prose p { max-width: 800px; font-size: 17px; line-height: 1.6; color: var(--mv-text-sec); margin: 12px 0; }
.cx-prose h2 { font-size: 25px; margin-top: 30px; }
a { color: var(--mv-blue); text-underline-offset: 3px; }
.cx-prose .source-links { font-size: 14px; margin: 22px 0; }
.bar-list { display: grid; gap: 28px; padding: 30px 0 20px; }
.bar-row { display: grid; grid-template-columns: 230px minmax(0, 1fr) 95px; align-items: center; gap: 18px; min-height: 44px; }
.bar-label { font-size: 17px; font-weight: 600; line-height: 1.2; }
small { display: block; font-weight: 400; font-size: 13px; color: var(--mv-text-muted); margin-top: 5px; }
.bar-track { height: 36px; background: var(--mv-grid); border-radius: 4px; }
.bar-fill { height: 100%; min-width: 2px; border-radius: 4px; background: var(--mv-dark-grey); }
.bar-fill.hero { background: var(--mv-blue); }
.bar-value { font-size: 22px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.price-bars { display: flex; gap: 24px; width: 100%; max-width: 600px; height: 450px; margin: 22px auto 0; padding-top: 42px; }
.price-column { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.price-track { flex: 1; display: flex; align-items: flex-end; border-bottom: 1px solid var(--mv-border); }
.price-fill { position: relative; width: 100%; background: var(--mv-dark-grey); border-radius: 5px 5px 0 0; }
.price-fill.hero { background: var(--mv-blue); }
.price-fill span { position: absolute; bottom: calc(100% + 12px); width: 100%; text-align: center; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-label { min-height: 66px; padding-top: 14px; text-align: center; font-size: 17px; font-weight: 600; line-height: 1.2; }
.cx-island-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; color: var(--mv-text-muted); font-size: 12px; }
.dr-logo svg { display: block; width: 110px; height: 26px; }
[data-theme="light"] .is-dark, [data-theme="dark"] .is-light { display: none; }
.dl-png-btn { position: absolute; right: 20px; top: 18px; border: 1px solid var(--mv-border); border-radius: 20px; padding: 5px 10px; color: var(--mv-text-sec); background: var(--mv-pill-bg); font: inherit; font-size: 12px; cursor: pointer; opacity: 0; }
.cx-island:hover .dl-png-btn, .dl-png-btn:focus-visible { opacity: 1; }
/* Area-comparable investment and proceeds bubbles, as in the deal-profile family. */
:root { --ib-exit-1: #65D8B5; --ib-exit-2: #18A97B; --ib-exit-text: #087451; } /* theme-guardrail-allow: proceeds series colors, paired for dark mode below */
[data-theme="dark"] { --ib-exit-1: #8AEBD0; --ib-exit-2: #1BC895; --ib-exit-text: #72E2BD; } /* theme-guardrail-allow: proceeds series colors, dark pair */
.ib-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 18px 0 12px; font-size: 13px; color: var(--mv-text-sec); }
.ib-legend span { display: flex; align-items: center; gap: 7px; }
.ib-legend i { width: 10px; height: 10px; border-radius: 50%; }
.ib-legend .in { background: var(--mv-blue); }
.ib-legend .out { background: var(--ib-exit-2); }
.ib-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .ib-chart { position: relative; min-width: 880px; }
  .ib-guide { position: absolute; width: 0; border-left: 1px dashed var(--mv-border); }
  .ib-guide-label { position: absolute; top: 0; transform: translateX(-50%); text-align: center; line-height: 1.3; white-space: nowrap; }
  .ib-guide-label.t2 { top: 52px; }
  .ib-guide-label.t3 { top: 104px; }
  .ib-guide-label .g1 { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mv-text-sec); }
  .ib-guide-label .g2 { display: block; font-size: 11px; font-weight: 600; color: var(--mv-text-muted); }
  .ib-guide-label .g3 { display: block; margin-top: 1px; font-size: 11.5px; font-weight: 700; color: var(--mv-text-sec); font-variant-numeric: tabular-nums; }
  .ib-guide-label.sale .g1 { color: var(--ib-exit-text); }
  .ib-guide-label.sale .g3 { color: var(--ib-exit-text); }
  .ib-rows { position: relative; }
  .ib-row { display: flex; align-items: center; }
  /* Super subtle banding; the sticky label carries the same band pre-blended
     to a solid so bubbles still scroll under it cleanly. */
  .ib-row:nth-child(even) { background: var(--ib-band); }
  .ib-row:nth-child(even) .ib-label { background: var(--ib-band-solid); }
  .ib-label {
    flex: 0 0 auto; display: flex; align-items: center; gap: 9px;
    padding-right: 10px; min-width: 0; align-self: stretch;
    position: sticky; left: 0; z-index: 2;
    background: var(--ib-card); transition: background 0.3s ease;
  }
  .ib-name-wrap { min-width: 0; }
  .ib-name { display: block; font-size: 16px; font-weight: 800; color: var(--mv-text); white-space: normal; line-height: 1.2; transition: color 0.3s ease; }
  .ib-sub { display: block; margin-top: 1px; font-size: 11.5px; font-weight: 600; line-height: 1.35; color: var(--mv-text-muted); white-space: normal; line-height: 1.2; }
  /* Narrow panes (renderer stamps .ib-narrow): tighter type for the 170px name column. */
  .ib-chart.ib-narrow .ib-name { font-size: 14px; }
  .ib-chart.ib-narrow .ib-sub { font-size: 11px; }
  .ib-plot { position: relative; flex: 1 1 auto; height: 100%; min-width: 0; }
  .ib-track { position: absolute; top: 50%; height: 2px; margin-top: -1px; background: var(--mv-border); border-radius: 1px; }
  .ib-bubble { position: absolute; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
  .ib-bubble.in { background: var(--mv-blue); opacity: 0.85; }
  /* Radial highlight keeps the exit bubble from reading as a flat green dot;
     plain radial-gradient survives html2canvas (repeating- variants don't). */
  .ib-bubble.out { background: radial-gradient(circle at 32% 30%, var(--ib-exit-1), var(--ib-exit-2) 70%); display: flex; align-items: center; justify-content: center; }
  .ib-tick-val { position: absolute; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--mv-text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .ib-out-label { position: absolute; top: 50%; transform: translateY(-50%); font-size: 14.5px; font-weight: 800; color: var(--ib-exit-text); white-space: nowrap; font-variant-numeric: tabular-nums; transition: color 0.3s ease; }
  .ib-out-label .x { color: var(--mv-text-muted); font-weight: 700; font-size: 12px; }
  /* Narrow: the multiple stacks under the value so a phone shows it in full. */
  .ib-out-label .yr { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--mv-text-muted); }
  .ib-years { position: relative; height: 20px; }
  .ib-year { position: absolute; top: 4px; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--mv-text-muted); font-variant-numeric: tabular-nums; }
  .ib-bubble, .ib-track, .ib-tick-val, .ib-out-label { transition: opacity 0.6s ease; }

:root { --ib-card: var(--mv-toggle-active); --ib-band: var(--mv-bg); --ib-band-solid: var(--mv-bg); }
[data-theme="dark"] { --ib-card: var(--mv-bg); --ib-band: var(--mv-pill-bg); --ib-band-solid: var(--mv-pill-bg); }
.ib-fav { flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid var(--mv-border); border-radius: 7px; display: flex; align-items: center; justify-content: center; background: var(--ib-card); }
.ib-fav img { display: block; }
.ib-fav:not(.ib-initials) { background: #FFFFFF; } /* theme-guardrail-allow: original brand images need a light backing in both themes */
.ib-initials { font-size: 11px; font-weight: 700; color: var(--mv-text-muted); }
.model-note { font-size: 12px; line-height: 1.4; color: var(--mv-text-muted); margin-top: 14px; max-width: 790px; }
.ib-scroll-hint { display: none; font-size: 12px; color: var(--mv-text-muted); margin-top: 10px; }
.cx-preview .cx-article-head, .cx-preview .cx-prose, .cx-preview .cx-island:not([data-preview-keep]) { display: none; }
.cx-preview .cx-island { margin: 0; }
@media (max-width: 700px) {
  body { padding: 12px; }
  .cx-article-head, .cx-prose { padding: 0 8px; }
  .cx-island { padding: 20px 16px; }
  .cx-dek { font-size: 19px; }
  .bar-row { grid-template-columns: minmax(0, 1fr) 76px; gap: 10px; }
  .bar-label { grid-column: 1 / -1; }
  .bar-track { height: 28px; }
  .bar-value { font-size: 20px; }
  .price-bars { height: 330px; gap: 14px; }
  .price-fill span { font-size: 21px; }
  .price-label { font-size: 14px; min-height: 70px; }
  .dl-png-btn { opacity: 1; }
  .ib-scroll-hint { display: block; }
}

/* Ownership wheel, using the Revolut family composition and logo legend. */
.ownership-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr); gap: 26px; align-items: center; margin-top: 22px; }
.ownership-wheel { position: relative; min-width: 0; }
.ownership-wheel svg { display: block; width: 100%; height: auto; }
.ownership-hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 54%; }
.ownership-hub .ownership-hub-logo { display: block; width: 50%; height: auto; margin: 0 auto; color: var(--mv-text); }
/* 50% of the hub, not 72%: the hub box is 54% of the wheel and the hole is
   only 52%, so a wordmark filling the hub crowds the ring. At 50% the logo
   reaches 0.59 of the inner radius against the label's 0.55. */
.ownership-hub span { display: block; color: var(--mv-text-muted); font-size: 15px; margin-top: 7px; }
.ownership-common { position: absolute; top: 86%; left: 50%; width: 70%; transform: translate(-50%, -50%); text-align: center; }
.ownership-common strong { display: block; font-size: clamp(21px, 3vw, 32px); line-height: 1; }
.ownership-common span { display: block; font-size: 12px; margin-top: 4px; }
.ownership-legend { list-style: none; padding: 0; margin: 0; }
.ownership-legend li { display: flex; align-items: center; gap: 10px; min-height: 49px; padding: 7px 0; border-bottom: 1px solid var(--mv-border); }
.ownership-legend li:last-child { border: 0; }
.ownership-name { flex: 1; min-width: 0; font-weight: 700; font-size: 16px; line-height: 1.2; }
.ownership-legend b { flex-shrink: 0; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--mv-blue); }
.ownership-swatch { width: 7px; height: 26px; flex-shrink: 0; }
.ownership-swatch span { display: block; width: 100%; height: 100%; border-radius: 2px; }

/* Two price definitions share one scale; gaps never become zero-value marks. */
.acq-controls { display: flex; gap: 2px; width: fit-content; padding: 3px; margin: 20px 0 12px; border-radius: 20px; background: var(--mv-pill-bg); border: 1px solid var(--mv-border); }
.acq-controls button { border: 0; border-radius: 16px; padding: 5px 12px; font: inherit; font-size: 13px; color: var(--mv-text-sec); background: transparent; cursor: pointer; }
.acq-controls button[aria-pressed="true"] { background: var(--mv-toggle-active); color: var(--mv-text); font-weight: 700; }
.acq-head, .acq-row { display: grid; grid-template-columns: minmax(205px, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 26px; padding: 12px; }
.acq-head { font-weight: 700; font-size: 16px; }
.acq-head small { margin: 0; font-size: 12px; }
.acq-row { min-height: 94px; align-items: center; }
.acq-row:nth-child(even) { background: var(--ib-band); }
.acq-name strong, .acq-name span { display: block; }
.acq-name strong { font-size: 19px; line-height: 1.2; }
.acq-name span { font-size: 12px; color: var(--mv-text-muted); margin-top: 2px; }
.acq-name small { font-size: 12px; line-height: 1.25; margin-top: 5px; }
.acq-measure { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 10px; align-items: center; }
.acq-measure b { font-size: 21px; font-variant-numeric: tabular-nums; text-align: right; }
.acq-track { position: relative; height: 50px; display: flex; align-items: center; }
.acq-bar { height: 25px; border-radius: 3px; background: var(--mv-dark-grey); }
.acq-bubble { display: none; border-radius: 50%; background: var(--mv-dark-grey); }
.acq-row.hero .acq-bar, .acq-row.hero .acq-bubble { background: var(--mv-blue); }
.acq-row.hero .acq-name strong, .acq-row.hero .acq-measure b { color: var(--mv-blue); }
.acq-chart[data-view="bubbles"] .acq-bar { display: none; }
.acq-chart[data-view="bubbles"] .acq-bubble { display: block; }
.acq-mobile-label { display: none; }
.acq-measure.missing { font-size: 12px; color: var(--mv-text-muted); }
@media (max-width: 760px) {
  .ownership-layout { grid-template-columns: 1fr; gap: 8px; }
  .ownership-wheel { width: 100%; max-width: 530px; margin: auto; }
  .ownership-legend li { min-height: 48px; }
  .ownership-name, .ownership-legend b { font-size: 14px; }
  .acq-head { display: none; }
  .acq-row { grid-template-columns: 1fr; gap: 6px; padding: 15px 10px; }
  .acq-mobile-label { display: block; grid-column: 1 / -1; font-size: 11px; font-weight: 600; color: var(--mv-text-muted); }
  .acq-measure { gap: 2px 10px; }
  .acq-measure b { font-size: 19px; }
  .acq-track { height: 40px; }
  .acq-name { margin-bottom: 4px; }
}
.cx-exporting #ownership .ownership-layout { grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr); gap: 26px; }
.cx-exporting #multiples .acq-head, .cx-exporting #multiples .acq-row { display: grid; grid-template-columns: minmax(205px, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 26px; padding: 12px; }
.cx-exporting #multiples .acq-mobile-label { display: none; }
.cx-exporting #multiples .acq-track { height: 50px; }
