/* marvels lane styles. Owned by lane fe-marvels; uses tokens from /styles.css.
   Regions: sorter (#sorter), audit trail (#audit-ready), heritage (#since-1494). */
.mv-eyebrow, .mv-readout dt, .mv-tray__label, .mv-stage__done, .mv-col__head, .mv-col__count, .mv-tape, .mv-sheet__kicker, .mv-pl__period, .mv-pl__group th, .mv-wp__ref, .mv-wp__close, .mv-rung__label, .mv-gl th, .mv-bigt__label, .mv-tacct__sides, .mv-tpair__eq { font-family: var(--mono); text-transform: uppercase; }
.mv-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; color: var(--on-night-muted); }
.mv-chip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(168, 226, 192, 0.45); color: var(--mint); font-weight: 600; }
.mv-chip--paper { box-shadow: inset 0 0 0 1px var(--rule-strong); color: var(--eyeshade); }
/* ---------- 1. Sorter: from shoebox to balanced ---------- */
.mv-sorter { padding-block: 0; background: var(--night); color: var(--on-night); }
.mv-sorter__frame { position: relative; isolation: isolate; overflow: clip; padding-block: var(--section); }
.mv-sorter__backdrop { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; opacity: 0.42; transform-origin: 50% 72%; }
.mv-sorter__frame::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 18% 0%, rgba(50, 132, 96, 0.2), transparent 70%), linear-gradient(180deg, var(--night) 0%, rgba(10, 26, 20, 0.66) 26%, rgba(10, 26, 20, 0.74) 62%, var(--night) 100%);
}
.mv-sorter__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: end; }
.mv-sorter__title { margin-top: 14px; }
.mv-sorter__lede { margin-top: 16px; max-width: 46em; font-size: clamp(1rem, 1.1vw, 1.12rem); line-height: 1.55; color: var(--on-night-muted); text-wrap: pretty; }
.mv-readout { display: grid; grid-template-columns: repeat(3, auto); }
.mv-readout__item { padding: 2px 22px 2px 16px; box-shadow: inset 1px 0 0 var(--night-rule); }
.mv-readout dt { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; color: var(--on-night-muted); white-space: nowrap; }
.mv-readout dd { margin: 4px 0 0; min-width: 5.2ch; font-size: clamp(1.6rem, 2.3vw, 2.15rem); font-weight: 620; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.mv-readout__item--people dd { color: var(--tick); }
.mv-desk { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 28px; margin-top: 36px; }
.mv-stage { position: relative; display: grid; grid-template-rows: minmax(170px, 1fr) auto; min-height: 520px; min-width: 0; }
.mv-stage__canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.mv-tray { position: absolute; top: 26px; right: 0; z-index: 1; width: 136px; height: 80px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px rgba(215, 57, 43, 0.55); background: rgba(215, 57, 43, 0.05); }
.mv-tray__label { position: absolute; left: 0; bottom: calc(100% + 6px); display: inline-flex; align-items: center; gap: 7px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; white-space: nowrap; color: var(--on-night-muted); }
.mv-tray__label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--tick); }
.mv-stage__done { grid-row: 1; align-self: center; justify-self: center; position: relative; z-index: 1; margin-right: 150px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; color: var(--on-night-muted); transition: opacity 500ms var(--ease-out); }
.mv-sorter:not([data-state='balanced']) .mv-stage__done { opacity: 0; }
.mv-cols { grid-row: 2; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.mv-col { display: flex; flex-direction: column; min-width: 0; }
.mv-col__head, .mv-col__total { position: relative; z-index: 3; }
.mv-col__head { display: grid; gap: 2px; min-height: 3.1em; align-content: end; }
.mv-col__no { font-size: 0.6rem; letter-spacing: 0.12em; color: var(--on-night-muted); }
.mv-col__name { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; line-height: 1.25; }
.mv-col__well { position: relative; z-index: 1; display: block; height: clamp(110px, 22vh, 230px); margin-block: 8px; border-radius: 4px; background: repeating-linear-gradient(0deg, rgba(214, 232, 220, 0.07) 0 1px, transparent 1px 12px), rgba(15, 37, 29, 0.78); box-shadow: inset 0 0 0 1px var(--night-rule); }
.mv-col__total { display: grid; gap: 2px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.mv-col__amt { font-size: 0.86rem; font-weight: 500; letter-spacing: -0.01em; color: var(--mint); white-space: nowrap; }
.mv-col__count { font-size: 0.62rem; letter-spacing: 0.08em; color: var(--on-night-muted); white-space: nowrap; }
.mv-tb { display: flex; flex-direction: column; min-width: 0; }
.mv-tape {
  position: relative; padding: 20px 18px 16px;
  background: linear-gradient(90deg, rgba(20, 40, 30, 0.05), transparent 8%, transparent 92%, rgba(20, 40, 30, 0.05)), var(--tape);
  box-shadow: 0 34px 60px -34px rgba(2, 12, 8, 0.85);
  font-size: 0.72rem; font-weight: 500; line-height: 1.45; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: #27312c;
}
.mv-tape::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; background: linear-gradient(45deg, var(--tape) 50%, transparent 50%) 0 0 / 10px 8px repeat-x, linear-gradient(-45deg, var(--tape) 50%, transparent 50%) 0 0 / 10px 8px repeat-x; }
.mv-tape__table { width: 100%; border-collapse: collapse; }
.mv-tape__cap { padding-bottom: 10px; text-align: center; color: #4a5650; }
.mv-tape__cap span { display: block; }
.mv-tape__brand { font-weight: 600; letter-spacing: 0.14em; color: #1d2622; }
.mv-tape__table th, .mv-tape__table td { padding: 3px 0; font-weight: 500; vertical-align: baseline; }
.mv-tape__table thead th { padding: 8px 0 6px; font-size: 0.62rem; letter-spacing: 0.12em; color: #5d6963; text-align: right; border-top: 1px dashed rgba(39, 49, 44, 0.35); }
.mv-tape__table thead th:first-child, .mv-tape__table tbody th, .mv-tape__table tfoot th { text-align: left; white-space: nowrap; }
.mv-tape__table td { padding-left: 8px; text-align: right; white-space: nowrap; letter-spacing: 0; color: #1d2622; }
.mv-tape__no { color: #6a766f; }
.mv-tape__total th, .mv-tape__total td { padding-top: 8px; font-weight: 600; color: #1d2622; border-top: 1px dashed rgba(39, 49, 44, 0.45); }
.mv-tape__total td { text-decoration: underline double; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mv-tape__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed rgba(39, 49, 44, 0.35); }
.mv-tape__eq { font-weight: 600; letter-spacing: 0.12em; color: #1d2622; }
.mv-stamp { display: grid; justify-items: center; gap: 1px; padding: 5px 11px 4px; border: 3px solid var(--tick-ink); border-radius: var(--r-sm); box-shadow: inset 0 0 0 2px var(--tape), inset 0 0 0 3px var(--tick-ink); color: var(--tick-ink); transform: rotate(-9deg); pointer-events: none; }
.mv-stamp__word { font-family: var(--font); font-size: 1.32rem; font-weight: 800; font-stretch: 125%; letter-spacing: 0.08em; line-height: 1.05; text-transform: uppercase; }
.mv-stamp__sub { font-size: 0.54rem; font-weight: 600; letter-spacing: 0.2em; }
.mv-sorter__cta { margin-top: 22px; display: grid; gap: 12px; }
.mv-sorter__cta .btn { width: 100%; }
.mv-sorter__note { font-size: 0.8rem; line-height: 1.5; color: var(--on-night-muted); }
.mv-sorter :focus-visible { outline-color: var(--mint); }
/* Desktop set-piece: a sticky one-viewport frame inside a 220vh section; 120vh of scroll scrubs the sort. */
.mv-sorter.is-pinned { height: 220vh; }
.mv-sorter.is-pinned .mv-sorter__frame { position: sticky; top: 0; height: 100vh; padding: 88px 0 20px; }
.mv-sorter.is-pinned .mv-sorter__inner { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.mv-sorter.is-pinned .mv-desk { min-height: 0; margin-top: 26px; }
.mv-sorter.is-pinned .mv-stage { min-height: 0; grid-template-rows: minmax(100px, 1fr) auto; }
@media (max-height: 820px) {
  .mv-sorter.is-pinned .mv-sorter__title { margin-top: 8px; font-size: clamp(2rem, 3.4vw, 2.9rem); }
  .mv-sorter.is-pinned .mv-sorter__lede { margin-top: 8px; font-size: 0.96rem; line-height: 1.5; }
  .mv-sorter.is-pinned .mv-desk { margin-top: 16px; }
  .mv-sorter.is-pinned .mv-col__well { height: clamp(80px, 17vh, 200px); margin-block: 6px; }
  .mv-sorter.is-pinned .mv-col__count, .mv-sorter.is-pinned .mv-sorter__note, .mv-sorter.is-pinned .mv-tape__cap span:last-child { display: none; }
  .mv-sorter.is-pinned .mv-tape { padding-block: 14px 10px; line-height: 1.3; }
  .mv-sorter.is-pinned .mv-tape__foot { min-height: 54px; margin-top: 6px; }
  .mv-sorter.is-pinned .mv-sorter__cta { margin-top: 14px; }
  .mv-sorter.is-pinned .mv-sorter__cta .btn { min-height: 48px; }
}
@media (max-width: 1180px) {
  .mv-desk { grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; }
  .mv-tape { padding-inline: 14px; font-size: 0.68rem; }
}
@media (max-width: 980px) {
  .mv-sorter__head { grid-template-columns: minmax(0, 1fr); }
  .mv-readout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mv-readout__item:first-child { padding-left: 0; box-shadow: none; }
  .mv-desk { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 30px; }
  .mv-stage { grid-template-rows: 200px auto; min-height: 0; }
  .mv-tray { top: 24px; width: 100px; height: 64px; }
  .mv-stage__done { margin-right: 110px; }
  .mv-cols { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 10px; border-top: 1px solid var(--night-rule); }
  .mv-col { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'head total' 'well well'; align-items: baseline; gap: 0 12px; padding: 9px 0 10px; border-bottom: 1px solid var(--night-rule); }
  .mv-col__head { grid-area: head; display: flex; gap: 10px; min-height: 0; align-items: baseline; }
  .mv-col__name { font-size: 0.7rem; }
  .mv-col__total { grid-area: total; display: flex; gap: 10px; align-items: baseline; }
  .mv-col__well { grid-area: well; height: 16px; margin: 8px 0 0; background: rgba(15, 37, 29, 0.78); }
  .mv-tb { width: 100%; max-width: 440px; }
}
@media (max-width: 420px) {
  .mv-readout__item { padding-inline: 12px 8px; }
  .mv-readout dt { font-size: 0.58rem; letter-spacing: 0.08em; }
  .mv-readout dd { font-size: clamp(1.2rem, 6.4vw, 1.6rem); }
  .mv-col__count { display: none; }
  .mv-tape { padding-inline: 12px; font-size: 0.64rem; letter-spacing: 0; }
  .mv-stamp__word { font-size: 1.1rem; }
}
/* ---------- 2. Audit trail: click any number ---------- */
.mv-audit { border-top: 1px solid var(--rule); }
.mv-audit__click { color: var(--eyeshade); }
.mv-audit__irs { margin-top: 14px; max-width: 34em; font-size: clamp(1.02rem, 1.1vw, 1.12rem); font-weight: 600; line-height: 1.5; }
.mv-audit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.mv-sheet, .mv-wp { border-radius: var(--r-lg); background: var(--tape); box-shadow: 0 1px 0 rgba(13, 59, 46, 0.06), 0 34px 60px -44px rgba(13, 59, 46, 0.55), inset 0 0 0 1px rgba(13, 59, 46, 0.06); }
.mv-sheet { position: sticky; top: 96px; padding: clamp(20px, 2.4vw, 30px) clamp(18px, 2.4vw, 30px) 22px; }
.mv-sheet__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; color: var(--muted); }
.mv-pl { width: 100%; margin-top: 18px; border-collapse: collapse; }
.mv-pl__cap { padding-bottom: 14px; text-align: left; border-bottom: 2px solid var(--ink); }
.mv-pl__cap span { display: block; }
.mv-pl__title { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 640; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.1; }
.mv-pl__period { margin-top: 4px; font-size: 0.68rem; letter-spacing: 0.12em; color: var(--muted); }
.mv-pl th, .mv-pl td { padding: 0; vertical-align: middle; }
.mv-pl__row { border-bottom: 1px solid var(--rule); }
.mv-pl__row th { padding: 6px 12px 6px 0; font-size: 0.98rem; font-weight: 500; text-align: left; }
.mv-pl__row td { text-align: right; }
.mv-pl__no { display: inline-block; min-width: 3.4em; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--muted); }
.mv-pl__group th { padding: 18px 0 4px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); text-align: left; border-bottom: 1px solid var(--rule); }
.mv-pl__net { border-top: 1.5px solid var(--ink); border-bottom: 0; }
.mv-pl__net th { padding-block: 10px; font-weight: 700; }
.mv-pl__net .mv-fig__amt { padding-bottom: 2px; border-bottom: 3px double var(--ink); text-decoration: none; }
.mv-sheet__hint { margin-top: 16px; font-size: 0.82rem; color: var(--muted); }
.mv-fig {
  position: relative; isolation: isolate; min-height: 44px; min-width: 44px; margin-right: -10px; padding: 0 10px;
  border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 0.94rem; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--ink);
  transition: background-color var(--fast) var(--ease-out), color var(--fast) var(--ease-out);
}
.mv-fig__amt { display: inline-block; text-decoration: underline dotted var(--rule-strong); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.mv-fig__ring { position: absolute; inset: 1px -4px; z-index: -1; width: calc(100% + 8px); height: calc(100% - 2px); overflow: visible; }
.mv-fig__ring path { fill: none; stroke: var(--tick); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset 460ms var(--ease-out); }
.mv-fig[aria-expanded='true'] { color: var(--tick-ink); }
.mv-fig[aria-expanded='true'] .mv-fig__ring path, .mv-fig:focus-visible .mv-fig__ring path { stroke-dashoffset: 0; }
@media (hover: hover) {
  .mv-fig:hover { background: rgba(215, 57, 43, 0.06); }
  .mv-fig:hover .mv-fig__ring path { stroke-dashoffset: 0; }
}
.mv-trail { position: relative; min-width: 0; }
.mv-cover { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--night); box-shadow: 0 34px 60px -40px rgba(13, 59, 46, 0.6); }
.mv-cover__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.mv-cover::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 52%, rgba(10, 26, 20, 0.86) 100%); }
.mv-cover__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 6px; padding: clamp(18px, 2.4vw, 28px); color: var(--on-night); }
.mv-cover__title { font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 640; font-stretch: 108%; letter-spacing: -0.015em; }
.mv-cover__text { max-width: 30em; font-size: 0.94rem; line-height: 1.5; color: #c9d8cf; }
.mv-trail__panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.mv-audit.is-js .mv-trail__panels { gap: 0; }
.mv-audit.is-js .mv-cover.is-tab { position: absolute; top: 22px; left: clamp(18px, 2.4vw, 28px); z-index: 2; width: 84px; border-radius: var(--r-sm); box-shadow: 0 10px 20px -12px rgba(13, 59, 46, 0.7); }
.mv-audit.is-js .mv-cover.is-tab .mv-cover__cap, .mv-audit.is-js .mv-cover.is-tab::after { display: none; }
.mv-audit.is-js[data-trail] .mv-wp__head { padding-left: 104px; }
.mv-wp { min-width: 0; padding: 22px clamp(18px, 2.4vw, 28px) 26px; }
.mv-wp__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 2px 16px; min-height: 63px; }
.mv-wp__ref { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; color: var(--tick-ink); }
.mv-wp__title { grid-column: 1; justify-self: start; font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 640; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.15; }
.mv-wp__title:focus { outline: none; }
.mv-wp__title:focus-visible { outline: 2px solid var(--eyeshade); outline-offset: 3px; border-radius: 2px; }
.mv-wp__amt { grid-column: 1; font-family: var(--mono); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.mv-wp__amt span { position: relative; display: inline-block; }
.mv-wp__close { grid-column: 2; grid-row: 1 / span 3; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer; box-shadow: inset 0 0 0 1px var(--rule-strong); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-2); transition: box-shadow var(--fast) var(--ease-out), color var(--fast) var(--ease-out); }
@media (hover: hover) { .mv-wp__close:hover { box-shadow: inset 0 0 0 1px var(--eyeshade); color: var(--ink); } }
.mv-rungs { position: relative; margin-top: 18px; padding-left: 26px; }
.mv-rungs::before { content: ''; position: absolute; left: 4px; top: 22px; bottom: 26px; width: 1px; background: var(--rule-strong); }
.mv-rung { position: relative; min-width: 0; padding: 14px 0 16px; border-top: 1px dashed var(--rule); }
.mv-rung::before { content: ''; position: absolute; left: -26px; top: 19px; width: 9px; height: 9px; border-radius: 2px; background: var(--eyeshade); box-shadow: 0 0 0 3px var(--tape); }
.mv-rung:last-child::before { background: var(--tick); }
.mv-rung__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; }
.mv-rung__n { color: var(--eyeshade); }
.mv-rung__sub { font-weight: 500; letter-spacing: 0.08em; color: var(--muted); }
.mv-rung__line { margin-top: 8px; font-size: 0.95rem; color: var(--ink-2); }
.mv-rung__foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.84rem; color: var(--ink-2); }
.mv-rung__foot .tick { width: 15px; height: 15px; }
.mv-scroll { margin-top: 8px; overflow-x: auto; }
.mv-gl { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.74rem; font-variant-numeric: tabular-nums; }
.mv-gl th { padding: 4px 10px 6px 0; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); text-align: left; border-bottom: 1px solid var(--rule); }
.mv-gl td { padding: 6px 10px 6px 0; border-bottom: 1px solid rgba(207, 219, 209, 0.6); color: var(--ink-2); white-space: nowrap; vertical-align: top; }
.mv-gl td:nth-child(3) { white-space: normal; }
.mv-gl th:last-child, .mv-gl td:last-child { padding-right: 8px; text-align: right; }
.mv-gl tr.is-picked td { background: rgba(215, 57, 43, 0.07); color: var(--ink); font-weight: 600; }
.mv-gl tr.is-picked td:first-child { box-shadow: inset 2px 0 0 var(--tick); padding-left: 8px; }
.mv-bank { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; margin-top: 8px; padding: 10px 12px; border-radius: 4px; background: rgba(13, 59, 46, 0.045); box-shadow: inset 0 0 0 1px var(--rule); font-family: var(--mono); font-size: 0.74rem; font-variant-numeric: tabular-nums; }
.mv-bank__desc { min-width: 0; overflow-wrap: anywhere; }
.mv-bank__amt { font-weight: 600; text-align: right; white-space: nowrap; }
.mv-doc { position: relative; max-width: 360px; margin-top: 10px; padding: 16px 18px 14px; border-radius: 3px; background: var(--paper-white); box-shadow: inset 0 0 0 1px var(--rule), 0 18px 30px -24px rgba(13, 59, 46, 0.6); transform: rotate(-0.6deg); }
.mv-doc__title { max-width: calc(100% - 64px); font-size: 0.95rem; font-weight: 620; font-stretch: 104%; line-height: 1.3; }
.mv-doc__lines { display: grid; gap: 2px; margin-top: 10px; font-family: var(--mono); font-size: 0.74rem; font-variant-numeric: tabular-nums; }
.mv-doc__lines div { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; }
.mv-doc__lines dd { margin: 0; white-space: nowrap; }
.mv-doc__total { margin-top: 2px; border-top: 1px solid var(--ink); font-weight: 600; }
.mv-doc__cpa { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 2px; color: var(--tick-ink); transform: rotate(-8deg); }
.mv-doc__cpa span { font-family: var(--mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; }
.mv-doc__tick { width: 24px; height: 24px; }
.mv-doc__tick path { fill: none; stroke: var(--tick); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mv-note { margin-top: 12px; max-width: 40em; font-size: 0.9rem; line-height: 1.55; color: var(--ink-2); }
.mv-note strong { font-weight: 650; color: var(--ink); }
.mv-note--aje { padding-left: 12px; box-shadow: inset 2px 0 0 var(--tick); }
.mv-foot { display: grid; margin-top: 8px; font-family: var(--mono); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.mv-foot div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px solid rgba(207, 219, 209, 0.6); }
.mv-foot dd { display: inline-flex; align-items: center; gap: 6px; margin: 0; white-space: nowrap; }
.mv-foot dd .tick { width: 14px; height: 14px; }
.mv-foot div.mv-foot__net { border-bottom: 0; font-weight: 600; }
.mv-foot__net dd { padding-bottom: 2px; border-bottom: 3px double var(--ink); margin-right: 20px; }
.mv-audit__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: clamp(36px, 4vw, 52px); }
.mv-audit__note { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 980px) {
  .mv-audit__grid { grid-template-columns: minmax(0, 1fr); }
  .mv-sheet { position: relative; top: auto; }
}
@media (max-width: 720px) {
  /* Phones: the caption sits on its own dark panel under the photo instead of over the cream binder pages. */
  .mv-cover::after { display: none; }
  .mv-cover__cap { position: relative; padding: 16px 18px 18px; background: var(--night); }
  .mv-audit__cta .btn { width: 100%; }
  .mv-audit.is-js .mv-cover.is-tab { width: 64px; top: 20px; }
  .mv-audit.is-js[data-trail] .mv-wp__head { padding-left: 80px; }
  .mv-wp__close { grid-row: auto; grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .mv-rungs { padding-left: 20px; }
  .mv-rung::before { left: -20px; }
  .mv-gl { font-size: 0.68rem; }
  .mv-gl td, .mv-gl th { padding-right: 6px; }
  .mv-gl td:first-child { white-space: normal; }
  .mv-bank { grid-template-columns: minmax(0, 1fr) auto; }
  .mv-bank__desc { grid-column: 1 / -1; grid-row: 2; }
}
/* ---------- 3. Heritage: every debit has a credit ---------- */
.mv-heritage { background: var(--ledger-hi); border-top: 1px solid var(--rule); overflow: clip; }
.mv-heritage__title { font-size: clamp(2.3rem, 5.4vw, 5.2rem); font-stretch: 116%; letter-spacing: -0.042em; line-height: 0.98; }
.mv-heritage__line { display: block; }
.mv-heritage__since { color: var(--eyeshade); }
.mv-bigt { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); margin-top: clamp(36px, 5vw, 64px); padding-top: 24px; }
.mv-bigt__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ink); transform-origin: 0 50%; }
.mv-bigt__stem { position: absolute; top: 0; bottom: 0; left: calc(100% * 5 / 11 - 1px); width: 2px; background: var(--ink); transform-origin: 50% 0; }
.mv-bigt__side { min-width: 0; }
.mv-bigt__side--dr { padding-right: clamp(24px, 4vw, 64px); }
.mv-bigt__side--cr { padding-left: clamp(24px, 4vw, 64px); }
.mv-bigt__label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; color: var(--ink-2); }
.mv-bigt__tag { font-weight: 700; color: var(--tick-ink); }
.mv-portrait__frame { padding: clamp(8px, 1vw, 12px); border-radius: 3px; background: var(--tape); box-shadow: inset 0 0 0 1px var(--rule), 0 34px 60px -38px rgba(13, 59, 46, 0.6); }
.mv-portrait__img { width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; }
.mv-portrait__cap { margin-top: 12px; font-size: 0.82rem; line-height: 1.5; color: var(--muted); }
.mv-story { display: grid; gap: 16px; max-width: 36em; }
.mv-story p { font-size: clamp(1.02rem, 1.15vw, 1.14rem); line-height: 1.62; color: var(--ink-2); text-wrap: pretty; }
.mv-story p:first-child { color: var(--ink); }
.mv-tpair { position: relative; max-width: 520px; margin-top: clamp(30px, 3.4vw, 44px); }
.mv-tpair__accts { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3.4vw, 44px); }
.mv-tacct { position: relative; min-width: 0; }
.mv-tacct__name { padding-bottom: 6px; font-size: 1.04rem; font-weight: 640; font-stretch: 108%; text-align: center; }
.mv-tacct__sides { display: flex; justify-content: space-between; padding: 6px 4px 0; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.mv-tacct__body { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 108px; margin-top: -18px; padding-top: 18px; border-top: 2px solid var(--ink); }
.mv-tacct__body::before { content: ''; position: absolute; left: calc(50% - 1px); top: 0; bottom: 0; width: 2px; background: var(--ink); }
.mv-tacct__col { display: grid; align-content: start; gap: 2px; padding: 4px 8px 6px; }
.mv-tacct__entry { display: flex; justify-content: flex-end; align-items: baseline; gap: 6px; padding: 3px 0; font-family: var(--mono); font-size: 0.84rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mv-ref { font-size: 0.62rem; font-weight: 600; color: var(--tick-ink); }
.mv-tacct__total { width: 50%; padding: 6px 8px 3px; font-family: var(--mono); font-size: 0.84rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); }
.mv-tacct__total--cr { margin-left: 50%; }
.mv-tpair__ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mv-tpair__ink path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: butt; }
.mv-tpair.is-ink .mv-tacct__body { border-top-color: transparent; }
.mv-tpair.is-ink .mv-tacct__body::before { background: transparent; }
.mv-tpair__cap { display: grid; gap: 8px; margin-top: 22px; }
.mv-tpair__eq { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; }
.mv-tpair__eq .tick { width: 20px; height: 20px; }
.mv-tpair__key { font-size: 0.84rem; line-height: 1.55; color: var(--muted); }
.mv-heritage__cta { margin-top: 10px; }
@media (max-width: 980px) {
  .mv-bigt { grid-template-columns: minmax(0, 1fr); }
  .mv-bigt__stem { display: none; }
  .mv-bigt__side--dr { padding-right: 0; }
  .mv-bigt__side--cr { padding-left: 0; margin-top: 44px; padding-top: 22px; box-shadow: inset 0 1px 0 var(--rule-strong); }
  .mv-portrait { max-width: 640px; }
}
@media (max-width: 420px) {
  .mv-tacct__entry, .mv-tacct__total { font-size: 0.76rem; }
  .mv-tacct__col { padding-inline: 5px; }
}
