/* ============================================================================
   /product — "story fragments": three fans (one per platform), each a coded,
   partial recreation of a product surface. NO images ship. Cards are
   aria-hidden + inert; the numbered captions are real text.

   Three deliberately different registers — DO NOT unify. Every platform scopes
   its own tokens to its fan so nothing leaks into (or from) the marketing theme.
   Entrance: fan rises + fades in once on view (product-fragments.js adds
   .is-armed → per-card .is-in). Reduced motion / no-JS ⇒ final static state.
   ========================================================================== */

/* ---------- shared fan layout ------------------------------------------- */
.pfrag-fan { position: relative; }
.pfrag-stack { position: relative; }

.pfrag {
  position: relative;
  pointer-events: none;              /* inert — drawn buttons never invite a click */
  border-radius: 12px;
  overflow: hidden;
  /* partiality — content fades out toward the bottom-right before the card ends */
  -webkit-mask-image: linear-gradient(157deg, #000 66%, transparent 99%);
          mask-image: linear-gradient(157deg, #000 66%, transparent 99%);
  transform: var(--fan, none) translateY(var(--enter, 0px));
}

/* entrance — gated behind body.anim (reveals.js adds it only when motion is
   allowed, so reduced-motion / no-JS keep the finished state). product-fragments.js
   adds .is-in per card, staggered, when the fan scrolls into view. */
body.anim .pfrag { opacity: 0; --enter: 24px; transition: opacity .6s cubic-bezier(0.22,1,0.36,1), transform .6s cubic-bezier(0.22,1,0.36,1); }
body.anim .pfrag.is-in { opacity: 1; --enter: 0px; }

/* numbered captions — real, readable text (the fan itself is decorative) */
/* captions sit below the fan; z-index keeps them clear of any card that fans low */
.pfrag-caps { position: relative; z-index: 5; list-style: none; margin: clamp(18px, 3vh, 26px) 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pfrag-caps li { display: grid; grid-template-columns: auto 1fr; column-gap: 11px; align-items: baseline;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Arial, sans-serif;
  font-size: 0.85rem; line-height: 1.4; color: var(--body); }
.pfrag-caps b { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: 0.04em; color: var(--gold); font-size: 0.76rem; }

/* generic redaction bar (secondary detail we deliberately don't spell out) */
.pf-bar { display: block; height: 8px; border-radius: 5px; }

/* ---------- desktop fan (≥1100px): cards overlap in a shallow fan --------- */
@media (min-width: 1100px) {
  /* each stack must be tall enough to CONTAIN its tallest fanned card, so the
     numbered captions below it are never overlapped (PE's kanban card is tall) */
  .pfrag-stack { height: 480px; }
  .pf-pe .pfrag-stack { height: 590px; }
  .pfrag { position: absolute; top: 0; left: 0; width: 100%; }
  /* wider fan ANGLE so the back cards read from behind the front one, without
     pushing them so far left they hit the text column (C3 kept at ~7% right) */
  .pf-1 { --fan: translate(-7%, 16px) rotate(-8deg);   z-index: 1; }
  .pf-2 { --fan: translate(-2%, 9px) rotate(-2.5deg);  z-index: 2; }
  .pf-3 { --fan: translate(7%, 0) rotate(5deg);        z-index: 3; }
}

/* ---------- narrow / mobile: cards stack with a slight overlap ----------- */
@media (max-width: 1099px) {
  .pfrag-fan { max-width: 520px; }
  .pfrag { width: 100%; box-shadow: 0 20px 48px -34px rgba(20,28,44,0.5); }
  .pf-1 { --fan: rotate(-1.4deg); }
  .pf-2 { --fan: rotate(0.8deg); margin-top: -26px; }
  .pf-3 { --fan: rotate(1.8deg); margin-top: -26px; }
}

/* ---------- per-card micro-animations (subtle; one per card) ------------- */
/* start states gated behind body.anim; each fires as its card gets .is-in */
body.anim .cio-chip.c { opacity: 0; transform: translateY(3px); }
.pfrag.is-in .cio-chip.c { opacity: 1; transform: none; transition: opacity .4s ease .35s, transform .4s ease .35s; }
body.anim .cio-fav { opacity: 0; transform: translateY(4px); }
.pfrag.is-in .cio-fav:nth-of-type(1) { opacity: 1; transform: none; transition: opacity .4s ease .25s, transform .4s ease .25s; }
.pfrag.is-in .cio-fav:nth-of-type(2) { opacity: 1; transform: none; transition: opacity .4s ease .4s, transform .4s ease .4s; }
body.anim .cio-check { transform: scale(0.6); opacity: 0; }
.pfrag.is-in .cio-check { transform: scale(1); opacity: 1; transition: transform .35s cubic-bezier(0.34,1.56,0.64,1) .2s, opacity .2s ease .2s; }
body.anim .pe-agent { opacity: 0; }
.pfrag.is-in .pe-agent { opacity: 1; transition: opacity .4s ease .4s; }
body.anim .pe-seg-c { width: 0 !important; }
.pfrag.is-in .pe-seg-c { transition: width .55s cubic-bezier(0.22,1,0.36,1) .15s; }
body.anim .pe-seg-i { width: 0 !important; }
.pfrag.is-in .pe-seg-i { transition: width .5s cubic-bezier(0.22,1,0.36,1) .6s; }
body.anim .bk-band .rng { transform: scaleX(0); transform-origin: left; }
.pfrag.is-in .bk-band .rng { transform: scaleX(1); transition: transform .5s cubic-bezier(0.22,1,0.36,1) .2s; }
body.anim .bk-band .mk { opacity: 0; }
.pfrag.is-in .bk-band .mk { opacity: 1; transition: opacity .3s ease .55s; }
body.anim .bk-reply { clip-path: inset(0 0 100% 0); }
.pfrag.is-in .bk-reply { clip-path: inset(0 0 0 0); transition: clip-path .5s cubic-bezier(0.22,1,0.36,1) .25s; }
body.anim .bk-strk s { background-size: 0 1.5px; }
.pfrag.is-in .bk-strk s { background-size: 100% 1.5px; transition: background-size .4s ease .35s; }
body.anim .bk-audit .bk-audit-tabs .n { opacity: 0; }
.pfrag.is-in .bk-audit .bk-audit-tabs .n { opacity: 1; transition: opacity .3s ease .7s; }

@media (prefers-reduced-motion: reduce) {
  body.anim .pfrag,
  body.anim .cio-chip.c, body.anim .cio-fav, body.anim .cio-check, body.anim .pe-agent,
  body.anim .bk-band .rng, body.anim .bk-band .mk, body.anim .bk-reply, body.anim .bk-strk s,
  body.anim .bk-audit .bk-audit-tabs .n { opacity: 1; transform: none; --enter: 0px; transition: none; clip-path: none; }
  body.anim .pe-seg-c, body.anim .pe-seg-i, body.anim .bk-strk s { transition: none; }
}

/* =========================================================================
   CIO — light working tool: near-white, cool greys, indigo accent, data tables
   ========================================================================= */
.pf-cio {
  --c-bg: #FFFFFF; --c-alt: #F6F7F9; --c-ink: #1E2532; --c-muted: #6C7688; --c-faint: #A6AEBD;
  --c-line: #E9EBF0; --c-line-2: #DFE2E9; --c-indigo: #4F46E5; --c-indigo-bg: #EEF0FE;
  --c-green: #1C9C63; --c-green-bg: #E6F6EC; --c-green-line: #BFE6CE;
  --c-amber: #B4791C; --c-amber-bg: #FBEFD7; --c-amber-line: #F0D8A6;
  --c-dark: #121A2C;
  --c-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Arial, sans-serif;
}
.pf-cio .pfrag { background: var(--c-bg); border: 1px solid var(--c-line-2); box-shadow: 0 22px 50px -34px rgba(30,37,50,0.45);
  font-family: var(--c-sans); color: var(--c-ink); padding: 16px 16px 22px; }
.pf-cio .pf-h { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.01em; }
.pf-cio .pf-mut { color: var(--c-muted); }

/* tabs (pill row) */
.cio-tabs { display: flex; gap: 6px; font-size: 0.62rem; font-weight: 600; }
.cio-tab { padding: 5px 10px; border-radius: 999px; background: var(--c-alt); color: var(--c-muted); white-space: nowrap; }
.cio-tab .n { color: var(--c-faint); margin-left: 5px; }
.cio-tab.on { background: var(--c-dark); color: #fff; }
.cio-tab.on .n { color: rgba(255,255,255,0.6); }
.cio-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 0.6rem; color: var(--c-muted); }
.cio-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cio-sw { width: 9px; height: 9px; border-radius: 3px; border: 1px solid; }
.cio-sw.v { background: var(--c-green-bg); border-color: var(--c-green-line); }
.cio-sw.c { background: var(--c-amber-bg); border-color: var(--c-amber-line); }

/* focus-list table (C1) */
.cio-tbl { margin-top: 13px; width: 100%; }
.cio-thead, .cio-row { display: grid; grid-template-columns: 18px 1.5fr 1fr 1.4fr; column-gap: 10px; align-items: center; }
.cio-thead { font-size: 0.55rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-faint); padding-bottom: 9px; border-bottom: 1px solid var(--c-line); }
.cio-row { padding: 11px 0; border-bottom: 1px solid var(--c-line); font-size: 0.78rem; }
.cio-star { color: #E7B008; font-size: 0.8rem; line-height: 1; }
.cio-co { font-weight: 600; }
.cio-themes { display: flex; flex-wrap: wrap; gap: 5px; }
.cio-chip { font-size: 0.58rem; font-weight: 600; padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.cio-chip.v { background: var(--c-green-bg); color: var(--c-green); }
.cio-chip.c { background: var(--c-amber-bg); color: var(--c-amber); }

/* stance table (C2) */
.cio-stance { margin-top: 4px; }
.cio-sh, .cio-srow { display: grid; grid-template-columns: 1.4fr 0.7fr 1fr 0.7fr 0.6fr; column-gap: 8px; align-items: center; }
.cio-sh { font-size: 0.52rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c-faint); padding-bottom: 8px; border-bottom: 1px solid var(--c-line); }
.cio-srow { padding-top: 12px; font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.cio-ac { font-weight: 600; }
.cio-pill { justify-self: start; font-size: 0.58rem; font-weight: 600; padding: 3px 8px; border-radius: 5px; }
.cio-pill.uw { background: #FDE8E8; color: #C24242; }
.cio-pill.ow { background: var(--c-green-bg); color: var(--c-green); }
.cio-delta.neg { color: #C24242; }
.cio-delta.pos { color: var(--c-green); }
.cio-note { grid-column: 1 / -1; margin-top: 7px; font-size: 0.72rem; color: var(--c-muted); line-height: 1.45; }
.cio-aichip { grid-column: 1 / -1; margin-top: 9px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.cio-ai { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.08em; color: var(--c-indigo); }
.cio-fav { font-size: 0.62rem; font-weight: 500; color: var(--c-green); border: 1px solid var(--c-green-line); background: #F2FBF5; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.cio-srow + .cio-srow { border-top: 1px solid var(--c-line); margin-top: 14px; padding-top: 14px; }

/* fund-specialist agent (C3) */
.cio-agent-head { display: flex; align-items: center; gap: 10px; }
.cio-agent-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--c-indigo-bg); flex: none; position: relative; }
.cio-agent-ic::after { content: ""; position: absolute; inset: 9px; border-radius: 3px; border: 2px solid var(--c-indigo); border-bottom-color: transparent; transform: rotate(45deg); }
.cio-agent-t { font-size: 0.85rem; font-weight: 600; }
.cio-agent-s { font-size: 0.64rem; color: var(--c-indigo); font-weight: 600; }
.cio-banner { margin-top: 13px; display: flex; align-items: center; gap: 10px; background: var(--c-green-bg); border: 1px solid var(--c-green-line); border-radius: 8px; padding: 11px 13px; }
.cio-check { width: 20px; height: 20px; border-radius: 50%; background: var(--c-green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex: none; }
.cio-banner-t { font-size: 0.74rem; font-weight: 600; color: #1B7A4C; line-height: 1.3; }
.cio-preview-l { margin-top: 15px; font-size: 0.54rem; font-weight: 700; letter-spacing: 0.16em; color: var(--c-faint); }
.cio-pv { margin-top: 8px; border: 1px solid var(--c-line-2); border-radius: 9px; padding: 14px; }
.cio-pv-h { font-size: 0.94rem; font-weight: 700; line-height: 1.3; color: var(--c-ink); }
.cio-tag { display: inline-block; margin-top: 9px; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.09em; color: var(--c-indigo); background: var(--c-indigo-bg); border-radius: 5px; padding: 4px 8px; }
.cio-pv-b { margin-top: 10px; font-size: 0.76rem; line-height: 1.55; color: var(--c-muted);
  /* runs into the mask, unfinished */
  background: linear-gradient(180deg, var(--c-muted) 60%, rgba(108,118,136,0) 98%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cio-more { margin-top: 12px; font-size: 0.66rem; color: var(--c-faint); }

/* =========================================================================
   PRIVATE EQUITY — dark operations console: near-black navy, mono figures,
   orange/green status, kanban cards
   ========================================================================= */
.pf-pe {
  --p-bg: #0C1220; --p-card: #151D30; --p-card-2: #1B2540; --p-ink: #E7EBF3; --p-muted: #8B94A8; --p-faint: #5B6479;
  --p-line: rgba(255,255,255,0.08); --p-line-2: rgba(255,255,255,0.16);
  --p-orange: #F5843C; --p-orange-bg: rgba(245,132,60,0.15); --p-green: #35C989; --p-green-bg: rgba(53,201,137,0.16);
  --p-purple: #9B8CFB; --p-purple-bg: rgba(155,140,251,0.17); --p-amber: #E0A94A;
  --p-mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  --p-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Arial, sans-serif;
}
.pf-pe .pfrag { background: var(--p-bg); border: 1px solid var(--p-line-2); box-shadow: 0 24px 54px -30px rgba(0,0,0,0.7);
  font-family: var(--p-sans); color: var(--p-ink); padding: 15px 15px 22px; }
.pf-pe .pf-mono { font-family: var(--p-mono); font-variant-numeric: tabular-nums; }

/* kanban column (P1) */
.pe-colhead { display: flex; align-items: center; gap: 9px; }
.pe-colhead .t { font-size: 0.82rem; font-weight: 600; }
.pe-badge { font-size: 0.6rem; font-weight: 700; background: var(--p-card-2); color: var(--p-muted); border-radius: 6px; padding: 2px 7px; }
.pe-colsub { margin-top: 3px; font-size: 0.62rem; color: var(--p-faint); }
.pe-sliver { position: absolute; top: 15px; right: -2px; width: 78px; opacity: 0.42; }
.pe-sliver .t { font-size: 0.72rem; font-weight: 600; color: var(--p-muted); }
.pe-sliver .s { font-size: 0.54rem; color: var(--p-faint); line-height: 1.3; }
.pe-card { margin-top: 11px; background: var(--p-card); border: 1px solid var(--p-line); border-radius: 9px; padding: 12px 13px; }
.pe-card-h { display: flex; align-items: center; gap: 8px; }
.pe-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--p-orange); flex: none; }
.pe-card-t { font-size: 0.8rem; font-weight: 600; }
.pe-fund { display: inline-block; margin-top: 9px; font-size: 0.6rem; color: var(--p-muted); background: var(--p-card-2); border-radius: 5px; padding: 3px 8px; }
.pe-meta { margin-top: 9px; font-size: 0.66rem; color: var(--p-muted); }
.pe-row { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.pe-time { font-size: 0.62rem; color: var(--p-faint); }
.pe-agent { font-size: 0.56rem; font-weight: 600; color: var(--p-purple); background: var(--p-purple-bg); border-radius: 5px; padding: 3px 7px; }
.pe-mini { font-size: 0.56rem; font-weight: 600; color: var(--p-amber); border: 1px solid rgba(224,169,74,0.4); border-radius: 5px; padding: 3px 7px; }

/* the book — KPI strip + NAV walk (P2) */
.pe-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--p-line); border: 1px solid var(--p-line); border-radius: 8px; overflow: hidden; }
.pe-kpi { background: var(--p-bg); padding: 10px 11px; }
.pe-kpi .k { font-size: 0.5rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-faint); }
.pe-kpi .v { margin-top: 4px; font-size: 0.82rem; font-weight: 600; }
.pe-navt { margin-top: 15px; font-size: 0.78rem; font-weight: 600; }
.pe-navsub { margin-top: 3px; font-size: 0.58rem; color: var(--p-faint); }
.pe-nav { margin-top: 12px; }
.pe-nav-r { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--p-line); font-size: 0.74rem; }
.pe-nav-r .l { color: var(--p-muted); }
.pe-nav-r .v.neg { color: var(--p-orange); }

/* campaign (P3) */
.pe-camp-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pe-camp-t { font-size: 0.82rem; font-weight: 600; line-height: 1.3; max-width: 74%; }
.pe-live { display: inline-flex; align-items: center; gap: 5px; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.04em; color: var(--p-green); background: var(--p-green-bg); border-radius: 999px; padding: 3px 9px; margin-left: 8px; vertical-align: middle; }
.pe-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--p-green); }
.pe-closes { font-size: 0.6rem; color: var(--p-faint); white-space: nowrap; }
.pe-track { margin-top: 14px; height: 12px; border-radius: 6px; background: var(--p-card-2); overflow: hidden; display: flex; }
.pe-seg-c { height: 100%; background: var(--p-green); }
.pe-seg-i { height: 100%; background: repeating-linear-gradient(45deg, rgba(224,169,74,0.85) 0 5px, rgba(224,169,74,0.35) 5px 10px); }
.pe-figs { margin-top: 11px; font-size: 0.66rem; color: var(--p-muted); }
.pe-figs b { color: var(--p-ink); font-weight: 600; }
.pe-book { margin-top: 8px; font-size: 0.64rem; color: var(--p-faint); }
.pe-ghost { margin-top: 16px; opacity: 0.5; }
.pe-ghost .pe-camp-t { color: var(--p-faint); }
.pe-ghost .pe-track { background: var(--p-card-2); }

/* =========================================================================
   BANKER — client print register: warm ivory, white cards, navy serif,
   small-caps gold labels, restrained green/red
   ========================================================================= */
.pf-bk {
  --b-surface: #FAF8F1; --b-card: #FFFFFF; --b-panel: #FBF6EB; --b-navy: #212C46; --b-ink: #39435A;
  --b-muted: #8A93A6; --b-gold: #B98F2C; --b-green: #4E8A6B; --b-red: #BB4A3C;
  --b-line: rgba(26,36,64,0.10); --b-line-2: rgba(26,36,64,0.16);
  --b-serif: Garamond, "EB Garamond", "Hoefler Text", Georgia, "Times New Roman", serif;
  --b-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Arial, sans-serif;
}
.pf-bk .pfrag { background: var(--b-card); border: 1px solid var(--b-line); box-shadow: 0 22px 50px -34px rgba(26,36,64,0.4);
  font-family: var(--b-sans); color: var(--b-ink); padding: 18px 18px 24px; }
.pf-bk .b-label { font-family: var(--b-sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--b-gold); }
.pf-bk .b-h { font-family: var(--b-serif); font-size: 1.14rem; line-height: 1.2; color: var(--b-navy); }

/* B1 — asset-class breakdown */
.bk-b1-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bk-ghostbtn { flex: none; font-family: var(--b-sans); font-size: 0.6rem; font-weight: 500; color: var(--b-ink); border: 1px solid var(--b-line-2); border-radius: 7px; padding: 6px 10px; }
.bk-range { margin-top: 16px; display: grid; grid-template-columns: 1fr 1.15fr; column-gap: 20px; }
.bk-rows { display: flex; flex-direction: column; gap: 15px; }
.bk-rr .l { font-size: 0.68rem; color: var(--b-ink); margin-bottom: 5px; }
.bk-band { position: relative; height: 8px; border-radius: 4px; background: #E7E3D8; }
.bk-band .rng { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: #D8D3C4; }
.bk-band .mk { position: absolute; top: -3px; width: 3px; height: 14px; border-radius: 2px; }
.bk-band .mk.red { background: var(--b-red); }
.bk-band .mk.green { background: var(--b-green); }
.bk-bullets { display: flex; flex-direction: column; gap: 11px; font-size: 0.76rem; line-height: 1.5; color: var(--b-ink); }
.bk-bullets li { list-style: none; position: relative; padding-left: 15px; }
.bk-bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--b-gold); }
.bk-fade { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%); mask-image: linear-gradient(180deg, #000 55%, transparent 96%); }

/* B2 — assistant overlay */
.bk-asst-bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--b-line); }
.bk-asst-t { display: flex; align-items: center; gap: 9px; font-family: var(--b-sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--b-navy); }
.bk-asst-t .mono { font-family: var(--b-serif); font-size: 0.9rem; letter-spacing: 0; }
.bk-asst-gl { color: var(--b-muted); letter-spacing: 0.2em; font-size: 0.7rem; }
.bk-user { margin: 14px 0 0 auto; max-width: 84%; background: var(--b-navy); color: #F3EFE6; font-size: 0.74rem; line-height: 1.5; border-radius: 12px 12px 3px 12px; padding: 11px 13px; }
.bk-reply { margin-top: 13px; font-size: 0.8rem; line-height: 1.55; color: var(--b-ink); font-family: var(--b-serif);
  background: linear-gradient(180deg, var(--b-ink) 52%, rgba(57,67,90,0) 98%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bk-input { margin-top: 16px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--b-line-2); border-radius: 10px; padding: 10px 13px; }
.bk-input .ph { flex: 1; font-size: 0.72rem; color: var(--b-muted); }
.bk-mic { flex: none; width: 9px; height: 13px; border-radius: 5px; border: 1.5px solid var(--b-muted); }
.bk-send { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #E7DABF; color: var(--b-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; }
.bk-disc { margin-top: 11px; font-family: var(--b-sans); font-style: italic; font-size: 0.62rem; color: var(--b-muted); }

/* B3 — slide + audit panel (two overlapping planes) */
.bk-b3 { padding: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.bk-slide { position: relative; background: #EDEAE1; border: 1px solid var(--b-line); border-radius: 12px; padding: 16px 18px 14px; box-shadow: 0 20px 46px -32px rgba(26,36,64,0.5);
  -webkit-mask-image: linear-gradient(120deg, #000 62%, transparent 98%); mask-image: linear-gradient(120deg, #000 62%, transparent 98%); }
.bk-slide-bar { display: flex; justify-content: flex-end; gap: 10px; align-items: center; margin-bottom: 12px; }
.bk-slide-present { font-family: var(--b-sans); font-size: 0.6rem; color: var(--b-muted); }
.bk-slide-export { font-family: var(--b-sans); font-size: 0.6rem; font-weight: 600; color: #7A5B12; background: #F0E4C6; border-radius: 7px; padding: 5px 11px; }
.bk-slide-rule { border-top: 1px solid var(--b-line-2); padding-top: 12px; }
.bk-slide-wm { font-family: var(--b-sans); font-size: 0.5rem; letter-spacing: 0.28em; color: var(--b-muted); }
.bk-slide-kick { margin-top: 20px; font-family: var(--b-sans); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.16em; color: var(--b-gold); }
.bk-slide-title { margin-top: 9px; font-family: var(--b-serif); font-size: 1.36rem; line-height: 1.16; color: var(--b-navy); white-space: nowrap; }
.bk-slide-foot { margin-top: 26px; font-family: var(--b-sans); font-size: 0.48rem; letter-spacing: 0.1em; color: var(--b-muted); }
.bk-audit { position: absolute; right: -1%; top: 44px; width: 59%; background: var(--b-card); border: 1px solid var(--b-line-2); border-radius: 11px; padding: 14px; box-shadow: 0 26px 54px -28px rgba(26,36,64,0.55);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.bk-audit-h { font-family: var(--b-sans); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.13em; color: var(--b-navy); }
.bk-audit-tabs { display: flex; gap: 12px; margin-top: 11px; padding-bottom: 9px; border-bottom: 1px solid var(--b-line); font-family: var(--b-sans); font-size: 0.56rem; font-weight: 600; color: var(--b-muted); }
.bk-audit-tabs .on { color: var(--b-navy); border-bottom: 2px solid var(--b-gold); padding-bottom: 9px; margin-bottom: -10px; }
.bk-audit-tabs .n { color: var(--b-gold); margin-left: 3px; }
.bk-entry { margin-top: 12px; }
.bk-echip { display: inline-block; font-family: var(--b-sans); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.08em; border-radius: 4px; padding: 3px 7px; }
.bk-echip.rew { background: var(--b-panel); color: #8A6D1E; border: 1px solid #E6D6A8; }
.bk-echip.rem { background: #FBEEEC; color: #A94A3C; border: 1px solid #EDCabf; border-color: #EED2CB; }
.bk-el { font-family: var(--b-sans); font-size: 0.52rem; letter-spacing: 0.06em; color: var(--b-muted); margin-top: 8px; }
.bk-ev { font-family: var(--b-sans); font-size: 0.72rem; line-height: 1.45; color: var(--b-navy); margin-top: 3px; }
.bk-ev.orig { color: var(--b-muted); font-style: italic; }
.bk-strk { position: relative; display: inline; }
.bk-strk s { color: var(--b-muted); text-decoration: none; background:
  linear-gradient(currentColor, currentColor) no-repeat; background-size: 100% 1.5px; background-position: 0 52%; }

@media (min-width: 1100px) {
  /* the audit fragment needs headroom; give the banker fan a taller stage */
  .pf-bk .pfrag-stack { height: 500px; }
}
@media (max-width: 1099px) {
  .bk-audit { position: relative; right: auto; top: auto; width: 100%; margin-top: -20px; }
  .bk-b3 { display: flex; flex-direction: column; }
}
