/* sample page styles — see docs/DESIGN_SYSTEM.md; tokens come from site.css.
   /sample-report: a report a CFO would forward. sr- prefix. Built on .st, .num, .money-xl, .rec-table, .disclose,
   .surface-2, data-link-scope, data-seq, data-pulse from the shared layer. Nothing here hides content without JS. */

/* ── hero: report cover ── */
.sr-hero h1 { max-width: 20ch; font-size: clamp(34px, 4.4vw, 58px); }
.sr-cover { display: flex; flex-wrap: wrap; gap: 0; margin: 40px 0 0; border-top: 1px solid var(--line); max-width: 860px; }
.sr-cover > div { padding: 16px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.sr-cover > div:last-child { border-right: 0; margin-right: 0; }
.sr-cover dt { font: 500 12px/1.3 var(--ui-sans);   color: var(--text-3); margin-bottom: 6px; }
.sr-cover dd { margin: 0; color: var(--text); font-size: 15px; }
@media (max-width: 640px) { .sr-cover { display: grid; } .sr-cover > div { border-right: 0; margin-right: 0; padding: 12px 0 0; } }

/* ── layout: section index + report column ── */
main > section.sr-body { padding: 0 0 clamp(16px, 2.4vw, 40px); }
main > section.sr-body::before { content: none; }
.sr-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.sr-main { min-width: 0; }
.sr-sec { scroll-margin-top: calc(var(--header) + 72px); padding-top: clamp(56px, 7vw, 96px); }
.sr-sec + .sr-sec { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }

/* phones/tablets: a compact jump menu pinned under the header (it is one line tall and never covers a target: sections carry scroll-margin) */
.sr-side { display: contents; }
.sr-toc { display: none; }
.sr-jump { position: sticky; top: var(--header); z-index: 20; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.sr-jump > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; list-style: none; font: 500 14px/1 var(--font); color: var(--text); }
.sr-jump > summary::-webkit-details-marker { display: none; }
.sr-jump > summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: translateY(-3px) rotate(45deg); transition: transform var(--t-comp) var(--ease-std); }
.sr-jump[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.sr-jump ol, .sr-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: sr; }
.sr-jump ol { padding: 4px 0 14px; }
.sr-jump a, .sr-toc ol a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; color: var(--text-2); background: none !important; border-bottom: 1px solid var(--line); }
.sr-jump li:last-child a { border-bottom: 0; }
.sr-jump a .num, .sr-toc a .num { font-size: 13px; color: var(--text-2); }   /* a11y 2026-11-17: was --text-3, 2.77:1 on the TOC surface; --text-2 clears AA 4.5:1 */
@media (min-width: 1100px) {
  .sr-layout { grid-template-columns: 208px minmax(0, 1fr); gap: 72px; }
  .sr-side { display: block; }
  .sr-jump { display: none; }
  .sr-toc { display: block; position: sticky; top: calc(var(--header) + 40px); padding-top: clamp(56px, 7vw, 96px); }
  .sr-sec { scroll-margin-top: calc(var(--header) + 24px); }
  .sr-toc-h { font: 500 12px/1.3 var(--ui-sans);   color: var(--text-3); margin: 0 0 12px; }
  .sr-toc ol a { min-height: 40px; font-size: 14px; border-bottom: 0; border-left: 1px solid var(--line); padding: 6px 0 6px 14px; transition: color var(--t-micro) var(--ease-std), border-color var(--t-micro) var(--ease-std); }
  .sr-toc ol a:hover, .sr-toc ol a:focus-visible { color: var(--text); border-left-color: var(--violet-2); }
  .sr-toc-pdf { display: inline-block; margin-top: 20px; font-size: 14px; }
}

/* ── section heads ── */
.sr-sec-head { max-width: 760px; margin-bottom: 32px; }
.sr-sec-kicker { font: 500 12px/1.3 var(--ui-sans);   color: var(--violet-2); margin: 0 0 12px; }
.sr-sec-head h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; margin: 0; }
.sr-sec-desc { margin: 12px 0 0; color: var(--text-2); }
.sr-h3 { font-size: 17px; font-weight: 550; letter-spacing: -0.005em; margin: 48px 0 16px; display: flex; align-items: baseline; gap: 10px; }
.sr-h3 .num { font-size: 14px; font-weight: 400; }
.sr-k { display: block; font: 500 12px/1.3 var(--ui-sans);   color: var(--text-3); margin: 0 0 10px; }
.open-hint { margin: -12px 0 24px; max-width: 70ch; }

/* ── executive summary ── */
.sr-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 60%), var(--surface); box-shadow: var(--e-2); }
.sr-stats > div { padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.sr-stats > div + div { border-left: 1px solid var(--line); }
.sr-stats dt { font: 500 12px/1.3 var(--ui-sans);   color: var(--text-3); margin-bottom: 12px; }
.sr-stats dd { margin: 0; font: 500 clamp(26px, 2.7vw, 40px)/1 var(--ui-sans); letter-spacing: -0.035em; color: var(--text); }
@media (max-width: 640px) { .sr-stats { grid-template-columns: 1fr 1fr; } .sr-stats > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; border-left: 0; border-top: 1px solid var(--line); } .sr-stats > div:nth-child(3) { border-left: 1px solid var(--line); } }

.sr-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 600px) { .sr-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .sr-pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sr-pillar a { display: flex; flex-direction: column; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: inherit; background-image: none !important;
  transition: border-color var(--t-micro) var(--ease-std), background-color var(--t-micro) var(--ease-std), transform var(--t-comp) var(--ease); }
.sr-pillar a:hover { border-color: var(--line-strong); background-color: var(--elevated); transform: translateY(-1px); }
.sr-pillar-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.sr-pillar-name { font-weight: 550; color: var(--text); font-size: 15px; }
.sr-pillar-n { font: 500 40px/1 var(--ui-sans); letter-spacing: -0.04em; color: var(--text); margin: 22px 0 6px; }
.sr-pillar-c { font-size: 14px; color: var(--text-2); }
.sr-pillar-d { font-size: 14px; color: var(--text-3); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); line-height: 1.5; }
.sr-pillar.is-cannot a { border-style: dashed; border-color: rgba(143, 138, 163, .35); background: transparent; }
.sr-pillar.is-cannot .sr-pillar-n { color: var(--slate); }

/* buckets (shared markup from pages.mjs) */
#buckets .buckets { gap: 12px; }
@media (min-width: 1100px) { #buckets .buckets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1440px) { #buckets .buckets { grid-template-columns: repeat(4, 1fr); } }

/* ── lead findings ── */
.sr-leads { display: grid; gap: 20px; }
.sr-lead { padding: clamp(20px, 3vw, 36px); min-width: 0; }
.sr-lead-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sr-lead-amt { margin: 20px 0 10px; }
.sr-lead-t { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; font-weight: 550; margin: 0; max-width: 60ch; }
.sr-lead-p { font-size: 14px; color: var(--text-3); margin: 8px 0 0; }
.sr-why { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.sr-rule { font-size: 13px; color: var(--text-3); margin: 14px 0 0; }
.sr-rule code { font: 13px/1 var(--cite); color: var(--text-2); }
.sr-more { margin-top: 24px; }
.sr-more > summary { font-size: 15px; color: var(--lav); }
.sr-lead-rest { padding-top: 8px; }
.sr-lead-rest > :first-child { margin-top: 0; }
.sr-lead > .sr-lead-rest { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

/* bridge: reported → recomputed → difference */
.sr-bridge { display: grid; gap: 8px; margin: 0 0 18px; }
@media (min-width: 900px) {
  .sr-bridge { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
  .sr-bridge-math { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.sr-br-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--sunken); }
.sr-br-col:focus-visible { outline-offset: 2px; }
.sr-br-k { font: 500 12px/1.3 var(--ui-sans);   color: var(--text-3); }
.sr-br-v { font: 500 clamp(20px, 2vw, 26px)/1.1 var(--ui-sans); letter-spacing: -0.02em; color: var(--text); }
.sr-br-s { font: 12.5px/1.45 var(--cite); color: var(--text-3); overflow-wrap: break-word; }
.sr-br-op { align-self: center; justify-self: center; font: 500 13px/1 var(--ui-sans); color: var(--text-3); padding: 0 2px; }
.sr-br-diff { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(124, 92, 255, .10), rgba(124, 92, 255, .03)); }
.sr-br-diff .sr-br-v { color: var(--lav); }
.sr-sum { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; }
.sr-sum li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--text-2); }
.sr-sum .num { color: var(--text); }
.sr-sum-t { border-top: 1px solid var(--line-2); margin-top: 4px; padding-top: 8px !important; color: var(--text) !important; font-weight: 500; }
@media (max-width: 899px) { .sr-br-op { justify-self: start; padding: 0 16px; } }

/* lineage path: horizontal with connectors on wide screens, a vertical rail on phones */
.sr-path { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.sr-step { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255, 255, 255, .025); }
.sr-step + .sr-step::before { content: ""; position: absolute; left: -22px; top: 50%; width: 22px; height: 1.5px; background: var(--line-strong); transform-origin: left; }
.sr-step-k { font: 500 12px/1.3 var(--ui-sans);   color: var(--text-3); }
.sr-step-v { font-size: 14px; color: var(--text); }
.sr-step.is-missing { border-style: dashed; border-color: rgba(245, 181, 71, .45); background: var(--amber-bg); }
.sr-step.is-missing .sr-step-k { color: var(--amber); }
.sr-step-m { font-size: 13px; color: var(--amber); }
@media (max-width: 767px) {
  .sr-path { display: grid; gap: 8px; padding-left: 22px; position: relative; }
  .sr-path::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 1.5px; background: linear-gradient(var(--violet-2), rgba(167, 139, 250, .2)); }
  .sr-step { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
  .sr-step::after { content: ""; position: absolute; left: -21px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--violet-2); }
  .sr-step.is-missing::after { border-color: var(--amber); border-style: dashed; }
  .sr-step + .sr-step::before { content: none; }
}
.mr-motion details[open] .sr-step + .sr-step::before, .mr-motion .sr-lead .sr-step + .sr-step::before { animation: srDraw .5s var(--ease-io) both; animation-delay: calc(var(--i, 1) * 60ms); }
@keyframes srDraw { from { transform: scaleX(0); } }

/* evidence lineage rows */
.sr-evidence { margin-top: 28px; }
.sr-ev { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sr-ev li { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 2px 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255, 255, 255, .02); }
.sr-ev-role { grid-row: span 2; font: 500 12px/1.5 var(--ui-sans);   color: var(--violet-2); }
.sr-ev-src { font: 13px/1.5 var(--cite); color: var(--text); overflow-wrap: anywhere; }
.sr-ev-val { font-size: 13px; color: var(--lav); }
.sr-ev-val::before { content: "= "; color: var(--text-3); }
.sr-ev-note { grid-column: 2 / -1; font-size: 14px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 640px) { .sr-ev li { grid-template-columns: minmax(0, 1fr); } .sr-ev-role, .sr-ev-note { grid-row: auto; grid-column: auto; } }

.sr-ku { display: grid; gap: 8px 32px; margin-top: 24px; }
@media (min-width: 768px) { .sr-ku { grid-template-columns: 1fr 1fr; } }
.sr-ku .list { margin: 0; }
.sr-ku .list li { padding: 9px 0 9px 22px; }
.sr-ku .list li::before { top: 20px; }
.sr-cause { margin-top: 20px; padding: 14px 16px; border-radius: var(--r-card); border: 1px solid var(--line-strong); background: var(--violet-bg); }
.sr-cause p { margin: 0; font-size: 15px; }
.sr-action { margin: 20px 0 0; padding: 14px 16px; border-left: 2px solid var(--violet-2); background: rgba(255, 255, 255, .025); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text); max-width: none; }
.sr-action .sr-k { margin-bottom: 4px; }
.sr-life { margin-top: 20px; }

/* ── dense record list (the rest of the findings) ── */
.sr-recs { border-top: 1px solid var(--line-2); }
.sr-recs-head, .sr-rec > summary { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) minmax(0, auto); gap: 6px 24px; align-items: start; }
.sr-recs-head { padding: 10px 44px 10px 14px; font: 500 12px/1.3 var(--ui-sans);   color: var(--text-3); border-bottom: 1px solid var(--line); }
.sr-recs-head span:first-child { text-align: right; }
.sr-rec { border-bottom: 1px solid var(--line); }
.sr-rec > summary { position: relative; padding: 16px 44px 16px 14px; cursor: pointer; list-style: none; transition: background-color var(--t-micro) var(--ease-std); }
.sr-rec > summary::-webkit-details-marker { display: none; }
.sr-rec > summary:hover { background: rgba(255, 255, 255, .025); }
.sr-rec > summary::after { content: ""; position: absolute; right: 18px; top: 22px; width: 8px; height: 8px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: rotate(45deg); transition: transform var(--t-comp) var(--ease-std); }
.sr-rec[open] > summary::after { transform: translateY(4px) rotate(-135deg); }
.sr-rec[open] > summary { background: rgba(124, 92, 255, .05); }
.sr-rec-amt { font-size: 16px; color: var(--text); text-align: right; padding-top: 1px; }
.sr-rec-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sr-rec-t { color: var(--text); font-weight: 450; line-height: 1.45; font-size: 16px; }
.sr-rec-p { font-size: 14px; color: var(--text-3); }
.sr-rec-st { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sr-rec-body { padding: 8px 14px 28px; }
.sr-rec-body .sr-why { margin-top: 8px; padding-top: 16px; border-top: 0; }
.sr-rec[open] > .sr-rec-body { animation: srIn var(--t-panel) var(--ease) both; }
@keyframes srIn { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 767px) {
  .sr-recs-head { display: none; }
  .sr-rec > summary { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 36px 16px 0; gap: 8px 12px; }
  .sr-rec-amt { text-align: left; font-size: 18px; grid-column: 1; grid-row: 1; }
  .sr-rec-st { grid-column: 1 / -1; grid-row: 3; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .sr-rec-main { grid-column: 1 / -1; grid-row: 2; }
  .sr-rec > summary::after { right: 8px; }
  .sr-rec-body { padding: 4px 0 24px; }
}

/* ── Margin Integrity ── */
.sr-statement { max-width: 76ch; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); margin-bottom: 24px; }
.sr-wf { margin-bottom: 4px; }
.sr-wf-list, .sr-peer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sr-wf-row, .sr-peer li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 8.5rem; gap: 6px 18px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sr-wf-l, .sr-peer-l { font-size: 14px; color: var(--text-2); line-height: 1.4; }
.sr-wf-l small { display: block; font-size: 13px; color: var(--text-3); }
.sr-wf-v, .sr-peer-v { text-align: right; font-size: 15px; color: var(--text); }
.sr-peer-v { font-size: 13px; color: var(--text-2); white-space: normal; }
.sr-wf-track { position: relative; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .04); overflow: hidden; }
.sr-wf-bar { position: absolute; top: 0; bottom: 0; left: var(--o); width: var(--w); min-width: 2px; border-radius: 3px; background: var(--lav); transform-origin: left center; }
.sr-wf-row.is-total .sr-wf-l { color: var(--text); font-weight: 550; }
.sr-wf-row.is-total .sr-wf-bar { background: var(--violet); }
.sr-wf-row.is-rem .sr-wf-bar { background: repeating-linear-gradient(135deg, var(--slate) 0 4px, rgba(143, 138, 163, .45) 4px 8px); }
.sr-wf-aside { font-size: 14px; line-height: 1.6; margin: 14px 0 0; max-width: none; }
.sr-wf-aside .st { margin-right: 6px; }
.sr-peer { margin: 0 0 18px; }
.sr-peer li.is-this .sr-peer-l { color: var(--text); font-weight: 550; }
.sr-peer li.is-this .sr-wf-bar { background: var(--amber); }
.sr-peer li:not(.is-this) .sr-wf-bar { background: var(--slate); }
@media (max-width: 640px) {
  .sr-wf-row, .sr-peer li { grid-template-columns: minmax(0, 1fr) auto; }
  .sr-wf-l { grid-column: 1 / -1; }
  .sr-peer-l { grid-column: 1; grid-row: 1; }
  .sr-peer-v { grid-column: 2; grid-row: 1; }
  .sr-peer li .sr-wf-track { grid-column: 1 / -1; grid-row: 2; }
  .sr-pillar a { padding: 16px 18px; }
  .sr-pillar-n { font-size: 32px; margin: 14px 0 4px; }
}

.sr-table td.sr-diff { color: var(--text-2); }
.sr-table tr.has-diff td.sr-diff { color: var(--lav); }
.sr-table tr[data-state="requires_review"] td { background: rgba(245, 181, 71, .05); }
.sr-wipp-list { display: grid; gap: 10px; }
.sr-wipp { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.sr-wipp[open] { border-color: var(--line-2); }
.sr-wipp > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 20px; padding: 16px 44px 16px 18px; position: relative; cursor: pointer; list-style: none; transition: background-color var(--t-micro) var(--ease-std); }
.sr-wipp > summary::-webkit-details-marker { display: none; }
.sr-wipp > summary:hover { background: rgba(255, 255, 255, .025); }
.sr-wipp > summary::after { content: ""; position: absolute; right: 18px; top: 50%; margin-top: -6px; width: 8px; height: 8px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: rotate(45deg); transition: transform var(--t-comp) var(--ease-std); }
.sr-wipp[open] > summary::after { transform: translateY(3px) rotate(-135deg); }
.sr-wipp-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sr-wipp-name span { font-size: 13px; color: var(--text-3); }
.sr-wipp-dots { display: inline-flex; gap: 4px; }
.sr-wipp-dots i { width: 8px; height: 8px; border-radius: 2px; background: var(--green); opacity: .8; }
.sr-wipp-dots i.d-exception { background: var(--amber); opacity: 1; }
.sr-wipp-dots i.d-cannot { background: var(--slate); }
.sr-wipp-sum { font: 13px/1.3 var(--ui-sans); color: var(--text-3); }
.sr-wipp .rec-table { border-top: 1px solid var(--line); }
.sr-wipp[open] > table { animation: srIn var(--t-panel) var(--ease) both; }
@media (max-width: 767px) {
  .sr-wipp > summary { grid-template-columns: minmax(0, 1fr); }
  .sr-wipp .rec-table tr { padding: 14px 18px; }
}
.sr-tablecard { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
@media (max-width: 767px) { .sr-tablecard .rec-table tr { padding: 14px 16px; } }
.sr-table td:last-child .st { vertical-align: middle; }

/* ── Closeout: not assessed, shown as deliberately as a finding ── */
.sr-cannot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 22px; border: 1px dashed rgba(143, 138, 163, .4); border-radius: var(--r-card); }
.sr-cannot p { margin: 0; color: var(--text-2); }

/* ── appendix ── */
.sr-app-grid { display: grid; gap: 8px 64px; }
@media (min-width: 900px) { .sr-app-grid { grid-template-columns: 1fr 1fr; } }
.sr-app-grid .sr-h3:first-child { margin-top: 0; }
.sr-appendix .list li { font-size: 15px; }

/* ── print: static, light, professional (the PDF stays the primary print artifact) ── */
@media print {
  :root { --bg: #fff; --surface: #fff; --elevated: #fff; --sunken: #fff; --raised: #fff; --text: #111; --text-2: #333; --text-3: #555; --text-4: #777;
    --line: #d9d9de; --line-2: #c4c4cc; --line-strong: #9b8fd6; --violet-2: #5b3fd6; --lav: #4b32b8; --violet-bg: #f3f0ff; --amber: #8a5a00; --amber-bg: #fff6e5; --green: #11703f; --green-bg: #eaf7ef; --slate: #555; --e-2: none; --e-3: none; }
  html, body { background: #fff !important; }
  .mr-header { position: static !important; background: #fff !important; border-bottom: 1px solid var(--line) !important; animation: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mr-header .mr-menu, .mr-header .btn { display: none !important; }
  .page-hero { padding: 0 0 16px !important; border: 0; }
  .sr-hero .cta-row, .sr-side, .sr-toc, .sr-jump, .open-hint, .sr-toc-pdf { display: none !important; }
  .sr-layout { display: block; }
  .sr-sec { padding-top: 24px; margin-top: 24px !important; }
  details::details-content { content-visibility: visible !important; height: auto !important; opacity: 1 !important; translate: none !important; }
  details > summary::after { content: none !important; }
  .sr-lead, .sr-rec, .sr-wipp, .sr-pillar a, .sr-stats, .sr-br-col, .sr-ev li { box-shadow: none !important; background: #fff !important; break-inside: avoid; }
  .sr-lead { border: 1px solid var(--line); }
  .sr-rec > summary, .sr-wipp > summary { break-after: avoid; }
  .sr-wf-bar { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .readout { padding: 24px 0 !important; }
  a { color: inherit !important; }
}

/* control pulse on table rows: a tr::after becomes a phantom table column in Chromium, so the sweep runs on the cells */
.mr-motion .sr-tablecard[data-pulse] tr[data-state]::after { content: none; }
.mr-motion .sr-tablecard[data-pulse] tr.is-checking > td { animation: srSweep 560ms var(--ease-io) both; }
@keyframes srSweep { 0% { background-color: transparent; } 35% { background-color: rgba(124, 92, 255, .09); } 100% { background-color: transparent; } }

/* ── SITE FX (site agent): the report in motion — bridges build, differences answer, records open with a stagger,
   WIP checks tick in order, the section index marker. From-states only under .mr-motion; money never moves on its own. */
.mr-motion .sr-wf [data-at][data-fx="grow"]:not(.is-on), .mr-motion .sr-peer [data-at][data-fx="grow"]:not(.is-on) { transform: scaleX(0); }
.mr-motion .sr-wf [data-at][data-fx="grow"], .mr-motion .sr-peer [data-at][data-fx="grow"] { transition: transform 1.1s var(--ease), opacity .5s var(--ease-std); }
.sr-wf-row.is-total .sr-wf-bar { box-shadow: 0 0 18px -2px rgba(var(--fx-a), .55); }
.mr-motion .sr-lead.fx-in .sr-bridge > .sr-br-col { animation: fxRise .75s var(--ease) backwards; }
.mr-motion .sr-lead.fx-in .sr-bridge > .sr-br-col:nth-child(1) { animation-delay: .35s; }
.mr-motion .sr-lead.fx-in .sr-bridge > :nth-child(3) { animation-delay: .5s; }
.mr-motion .sr-lead.fx-in .sr-bridge > :nth-child(2):not(.sr-br-col), .mr-motion .sr-lead.fx-in .sr-bridge > :nth-child(4):not(.sr-br-col) { animation: fxRise .6s var(--ease) .6s backwards; }
.mr-motion .sr-lead.fx-in .sr-bridge > .sr-br-diff { animation: fxRise .75s var(--ease) .75s backwards, srAnswer 1.8s var(--ease) 1.2s backwards; }
@keyframes srAnswer { 0% { box-shadow: 0 0 0 0 rgba(var(--fx-b), .55), inset 0 0 0 1px rgba(var(--fx-b), .7); } 100% { box-shadow: 0 0 0 12px rgba(var(--fx-b), 0), inset 0 0 0 1px rgba(var(--fx-b), 0); } }
.sr-br-col { transition: border-color var(--t-comp) var(--ease-std), transform var(--t-comp) var(--ease), background-color var(--t-comp) var(--ease-std); }
.sr-br-col[data-link-src]:hover { transform: translateY(-2px); border-color: var(--line-strong); }

/* records open: real height (site.css), then the explanation arrives in reading order */
.sr-rec[open] > .sr-rec-body { animation: none; }
.sr-rec[open] > .sr-rec-body > *, .sr-more[open] .sr-lead-rest > * { animation: srIn .5s var(--ease) backwards; }
.sr-rec[open] > .sr-rec-body > :nth-child(2), .sr-more[open] .sr-lead-rest > :nth-child(2) { animation-delay: 70ms; }
.sr-rec[open] > .sr-rec-body > :nth-child(3), .sr-more[open] .sr-lead-rest > :nth-child(3) { animation-delay: 140ms; }
.sr-rec[open] > .sr-rec-body > :nth-child(4), .sr-more[open] .sr-lead-rest > :nth-child(4) { animation-delay: 210ms; }
.sr-rec[open] > .sr-rec-body > :nth-child(n+5), .sr-more[open] .sr-lead-rest > :nth-child(n+5) { animation-delay: 280ms; }
.sr-rec > summary .sr-rec-amt { transition: color var(--t-comp) var(--ease-std); }
.sr-rec[open] > summary { box-shadow: inset 2px 0 0 var(--violet-2); }
.sr-rec > summary::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgb(var(--fx-b)); transform: scaleY(0); transform-origin: top; transition: transform var(--t-panel) var(--ease); }
.sr-rec > summary:hover::before { transform: scaleY(1); }

/* WIP checks tick in order as the tables arrive */
.mr-motion .sr-wipp-list.fx-in .sr-wipp-dots i { animation: srTick .5s var(--ease) backwards; animation-delay: calc(var(--fx-i, 0) * 70ms + 300ms); }
.mr-motion .sr-wipp-list.fx-in .sr-wipp-dots i:nth-child(2) { animation-delay: calc(var(--fx-i, 0) * 70ms + 360ms); }
.mr-motion .sr-wipp-list.fx-in .sr-wipp-dots i:nth-child(3) { animation-delay: calc(var(--fx-i, 0) * 70ms + 420ms); }
.mr-motion .sr-wipp-list.fx-in .sr-wipp-dots i:nth-child(4) { animation-delay: calc(var(--fx-i, 0) * 70ms + 480ms); }
.mr-motion .sr-wipp-list.fx-in .sr-wipp-dots i:nth-child(5) { animation-delay: calc(var(--fx-i, 0) * 70ms + 540ms); }
.mr-motion .sr-wipp-list.fx-in .sr-wipp-dots i:nth-child(n+6) { animation-delay: calc(var(--fx-i, 0) * 70ms + 600ms); }
@keyframes srTick { from { transform: scale(.2); filter: brightness(2.4); } }

/* section index marker sits on the index rule */
.sr-toc .fx-toc-mark { left: -.5px; }
@media (min-width: 1100px) { .sr-toc ol a[aria-current="location"] { color: var(--text); } .sr-toc ol a[aria-current="location"] .num { color: var(--lav); } }

/* the SAMPLE exports (downloads) */
.sr-exports { padding: 48px 0 8px; }
.sr-exports h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 10px; }
.sr-exports > .wrap > p { max-width: 720px; color: var(--text-2); }
.sr-exp-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 960px; }
.sr-exp-list li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .6fr); gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sr-exp-list a { font-family: var(--cite); font-size: 14px; overflow-wrap: anywhere; }
.sr-exp-kind { color: var(--text-2); font-size: 14px; }
.sr-exp-cols { grid-column: 1 / -1; overflow-wrap: anywhere; }
@media (max-width: 640px) { .sr-exp-list li { grid-template-columns: 1fr; } }

/* Run 3: email-gated sample report PDF (assets/sample-dl.js) */
.sr-dl { display: grid; gap: 8px; margin-block: 16px; max-width: 640px; }
.sr-dl-h { margin: 0; }
.sr-dl-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.sr-dl-row label { flex-basis: 100%; }
.sr-dl-row input[type="email"] { flex: 1 1 240px; min-width: 0; }

/* owner Chrome check 2026-11-21: /xray/sample scrolled sideways (document 2,621 px at 1,278). The prepared-email blocks
   (pre.xray-draft) did not wrap and a table was wider than a phone. Drafts wrap; wide tables scroll inside their own box; the
   report never makes the page wider than the window (overflow-x: clip, so sticky and anchor positions keep working). */
.xray-sample, .xray-page main, article.xray { max-width: 100%; overflow-x: clip; }
article.xray pre.xray-draft { white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; max-width: 100%; }
article.xray table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
article.xray td, article.xray th { overflow-wrap: anywhere; }
