/* /clinical-data-fragmentation: the page's own world, the specimen chain of
   custody. Only this page's figures and grammar live here; tokens, chrome,
   FAQ, related cards and the closing light come from site.css, home.css and
   kit.css. semantic.css still loads (the two sibling topic pages share it), so
   every rule here is scoped to body.page-context and outranks it. scroll.js
   plays the scenes ([data-seq="once"]) and the rows ([data-rows]); kit.js runs
   the example's stepper. At rest, paused or without a script, every figure
   shows its finished frame. */

/* ══ The page's own world: the chain-of-custody form and shipment manifest
   that travel with a lab sample. A record carries a barcoded context label;
   each hand-off is logged as received and checked field by field (I M T P),
   sealed Intact in green, or Held for review in amber when the study version
   differs; sections are manifest lines under a barcode rule. ══ */
body.page-context {
  --cdf-paper: #070b11;
  --cdf-head: #0b111a;
  --cdf-rule: rgba(255, 255, 255, 0.08);
  --cdf-edge: rgba(255, 255, 255, 0.14);
  --cdf-amber: #f2c46d;
  --cdf-ink: rgba(236, 239, 244, 0.9);
  --cdf-cyan: #9fd8ff;
  --cdf-bars: rgba(236, 239, 244, 0.86);
  --cdf-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.3 5 8.4 9.3 3.7' fill='none' stroke='%236ee7b7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --cdf-barcode:
    repeating-linear-gradient(90deg, var(--cdf-bars) 0 2px, transparent 2px 3px, var(--cdf-bars) 3px 4px, transparent 4px 7px, var(--cdf-bars) 7px 10px, transparent 10px 11px, var(--cdf-bars) 11px 12px, transparent 12px 15px, var(--cdf-bars) 15px 16px, transparent 16px 19px),
    repeating-linear-gradient(90deg, transparent 0 5px, var(--cdf-bars) 5px 6px, transparent 6px 17px, var(--cdf-bars) 17px 18px, transparent 18px 29px);
}
body.page-context .cdf-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* a printed barcode; in a scene it prints left to right */
body.page-context .cdf-bc { display: block; flex: none; width: 88px; height: 30px; background: var(--cdf-barcode); clip-path: inset(0 0 0 0); transition: clip-path 0.8s var(--ease-out); }
body.page-context [data-seq].is-armed .cdf-bc[data-at]:not(.is-on) { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }

/* a system's tag, as printed on a manifest line */
body.page-context .cdf-sys { display: inline-block; min-width: 50px; padding: 3px 7px; border: 1px solid rgba(92, 200, 255, 0.38); border-radius: 3px; font: 600 11px/1.3 var(--font-mono); font-style: normal; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; color: var(--cdf-cyan); white-space: nowrap; }

/* the bar every figure on this page carries */
body.page-context .cdf-coc__bar,
body.page-context .cdf-split__bar,
body.page-context .cdf-label__bar,
body.page-context .cdf-reg__bar,
body.page-context .cdf-dis__bar,
body.page-context .cdf-ruler__bar,
body.page-context .cdf-way__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--cdf-rule);
  background: var(--cdf-head);
  font: 500 11px var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 239, 244, 0.72);
}
body.page-context .cdf-coc__bar b,
body.page-context .cdf-split__bar b,
body.page-context .cdf-label__bar b,
body.page-context .cdf-reg__bar b,
body.page-context .cdf-dis__bar b,
body.page-context .cdf-ruler__bar b { flex: none; font-weight: 500; color: var(--cdf-cyan); }

/* ── section heads: manifest lines under a barcode rule ── */
body.page-context main { counter-reset: cdf-line; }
body.page-context .section { counter-increment: cdf-line; padding: 104px 0 112px; }
body.page-context .section-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  column-gap: 64px;
  align-items: end;
  max-width: none;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
body.page-context .section-head::before { content: ""; position: absolute; left: 0; top: -1px; width: 140px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(92, 200, 255, 0)); }
body.page-context .section-head::after { content: "Line " counter(cdf-line, decimal-leading-zero); position: absolute; right: 0; top: 11px; font: 500 11px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
body.page-context .section-head > .kicker,
body.page-context .section-head > .section-title { grid-column: 1; }
body.page-context .section-head > .section-lede { grid-column: 2; grid-row: 1 / span 2; align-self: end; max-width: 50ch; margin: 0; font-size: 16px; }
body.page-context .section-head .kicker { display: flex; align-items: center; gap: 12px; }
body.page-context .section-head .kicker::before { content: ""; flex: none; width: 38px; height: 11px; background: var(--cdf-barcode); opacity: 0.6; }
body.page-context .section-lede strong { font-weight: 500; color: var(--fg); }

/* ── hero: title on the left, the custody manifest on the right ── */
body.page-context .cdf-hero { padding: 132px 0 96px; }
body.page-context .cdf-hero::before { background: radial-gradient(ellipse 40% 55% at 74% 56%, rgba(92, 200, 255, 0.07), transparent 70%), radial-gradient(ellipse 60% 70% at 80% 0%, rgba(255, 255, 255, 0.045), transparent 70%); }
body.page-context .cdf-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: 40px 64px; align-items: center; }
body.page-context .cdf-hero__kicker { color: var(--cdf-cyan); }
body.page-context .cdf-hero .page-title { max-width: none; font-size: clamp(42px, 4.6vw, 66px); }
body.page-context .cdf-hero .page-lede { max-width: 44ch; font-size: 17.5px; }
/* what the manifest shows, as the product stands today */
body.page-context .cdf-hero__status { display: grid; gap: 9px; margin: 30px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.1); list-style: none; animation: heroUp 0.8s var(--ease-out) 0.26s both; }
body.page-context .cdf-hero__status li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
body.page-context .cdf-hero__status .kit-state { flex: none; justify-content: center; min-width: 68px; }

/* the manifest */
body.page-context .cdf-coc { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--cdf-edge); border-radius: 10px; background: var(--cdf-paper); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(92, 200, 255, 0.18); font-variant-numeric: tabular-nums; animation: heroUp 0.9s var(--ease-out) 0.15s both; }
body.page-context .cdf-coc__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 18px; border-bottom: 1px dashed rgba(255, 255, 255, 0.12); }
body.page-context .cdf-coc__acc { display: grid; gap: 3px; margin: 0; }
body.page-context .cdf-coc__acc small { font: 500 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-coc__acc b { font: 600 14px var(--font-mono); letter-spacing: 0.04em; color: #fff; }
body.page-context .cdf-coc__acc span { font-size: 12.5px; color: var(--muted); }
body.page-context .cdf-coc__val { display: flex; align-items: baseline; gap: 8px; margin: 0; }
body.page-context .cdf-coc__val b { font: 500 46px/1 var(--font-display); letter-spacing: -0.02em; color: #fff; }
body.page-context .cdf-coc__val small { font: 500 11px var(--font-mono); letter-spacing: 0.12em; color: var(--cdf-cyan); }

body.page-context .cdf-coc__ctx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--cdf-rule); }
body.page-context .cdf-coc__ctx > div { position: relative; min-width: 0; padding: 12px 14px 13px; border-right: 1px solid var(--cdf-rule); }
body.page-context .cdf-coc__ctx > div:last-child { border-right: 0; }
body.page-context .cdf-coc__ctx dt { display: flex; align-items: center; gap: 7px; margin: 0 0 7px; font: 500 11px var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cdf-cyan); white-space: nowrap; }
body.page-context .cdf-coc__ctx dt i,
body.page-context .cdf-coc__keys i { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border: 1px solid rgba(92, 200, 255, 0.5); border-radius: 3px; font: 600 11px/1 var(--font-mono); font-style: normal; letter-spacing: 0; color: var(--cdf-cyan); }
body.page-context .cdf-coc__ctx dd { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--cdf-ink); transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
body.page-context .cdf-coc__ctx dd + dd { transition-delay: 80ms; }
/* the form is printed first: field names show, their values fill in */
body.page-context .cdf-coc.is-armed .cdf-coc__ctx > div[data-at]:not(.is-on) { opacity: 1; transform: none; }
body.page-context .cdf-coc.is-armed .cdf-coc__ctx > div[data-at]:not(.is-on) dd { opacity: 0; transform: translateY(4px); }
/* the field the QMS disagrees on */
body.page-context .cdf-coc__ctx .is-time { background: rgba(242, 196, 109, 0.05); box-shadow: inset 0 0 0 1px rgba(242, 196, 109, 0.55); transition: background-color 0.4s ease, box-shadow 0.4s ease; }
body.page-context .cdf-coc.is-armed .cdf-coc__ctx .is-time:not(:has(.cdf-coc__diff.is-on)) { background: transparent; box-shadow: inset 0 0 0 1px rgba(242, 196, 109, 0); }
body.page-context .cdf-coc__diff { display: inline-block; margin-top: 6px; padding: 2px 6px; border-radius: 3px; background: rgba(242, 196, 109, 0.14); font: 600 11px var(--font-mono); font-style: normal; letter-spacing: 0.04em; color: var(--cdf-amber); white-space: nowrap; }

/* the route the label travels: lab, EDC, CTMS, QMS */
body.page-context .cdf-coc__route { position: relative; height: 60px; margin: 0 42px; }
body.page-context .cdf-coc__route::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: rgba(255, 255, 255, 0.14); }
body.page-context .cdf-coc__seg { position: absolute; top: 22px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, rgba(110, 231, 183, 0.3), var(--live)); clip-path: inset(0 0 0 0); transition: clip-path 0.9s var(--ease-out); }
body.page-context .cdf-coc__seg.s1 { left: 0; width: 33.333%; }
body.page-context .cdf-coc__seg.s2 { left: 33.333%; width: 33.334%; }
body.page-context .cdf-coc__seg.s3 { left: 66.667%; width: 33.333%; background: linear-gradient(90deg, rgba(242, 196, 109, 0.25), var(--cdf-amber)); }
body.page-context .cdf-coc.is-armed .cdf-coc__seg[data-at]:not(.is-on) { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }
body.page-context .cdf-coc__node { position: absolute; top: 15px; display: grid; justify-items: center; gap: 7px; font: 500 11px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transform: translateX(-50%); }
body.page-context .cdf-coc__node::before { content: ""; width: 16px; height: 16px; border: 1px solid rgba(92, 200, 255, 0.6); border-radius: 50%; background: var(--cdf-paper); transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease; }
body.page-context .cdf-coc__node.n1 { left: 0; color: var(--cdf-cyan); }
body.page-context .cdf-coc__node.n2 { left: 33.333%; }
body.page-context .cdf-coc__node.n3 { left: 66.667%; }
body.page-context .cdf-coc__node.n4 { left: 100%; }
body.page-context .cdf-coc__node.is-ok { color: var(--live); }
body.page-context .cdf-coc__node.is-ok::before { border-color: var(--live); background: rgba(110, 231, 183, 0.16) var(--cdf-check) center / 10px no-repeat; box-shadow: 0 0 12px rgba(110, 231, 183, 0.45); }
body.page-context .cdf-coc__node.is-held { color: var(--cdf-amber); }
body.page-context .cdf-coc__node.is-held::before { border-color: var(--cdf-amber); background: rgba(242, 196, 109, 0.2); box-shadow: 0 0 14px rgba(242, 196, 109, 0.55); }
body.page-context .cdf-coc.is-armed .cdf-coc__node[data-at]:not(.is-on) { opacity: 1; transform: translateX(-50%); color: var(--muted); }
body.page-context .cdf-coc.is-armed .cdf-coc__node[data-at]:not(.is-on)::before { border-color: rgba(255, 255, 255, 0.35); background: var(--cdf-paper); box-shadow: none; }
/* the label itself, riding the route; it lands where the last hand-off ended */
body.page-context .cdf-coc__tag { position: absolute; top: 1px; left: 100%; width: 28px; height: 13px; margin-left: -14px; border-radius: 2px; background: repeating-linear-gradient(90deg, #0b1220 0 1px, transparent 1px 3px, #0b1220 3px 5px, transparent 5px 6px) 5px 3px / 18px 7px no-repeat, #e3eefb; box-shadow: 0 0 14px rgba(242, 196, 109, 0.75); transition: left 1s var(--ease-out), box-shadow 0.4s ease; }
body.page-context .cdf-coc.is-armed .cdf-coc__tag { left: 0; box-shadow: 0 0 14px rgba(92, 200, 255, 0.8); }
body.page-context .cdf-coc.is-armed:has(.s1.is-on) .cdf-coc__tag { left: 33.333%; }
body.page-context .cdf-coc.is-armed:has(.s2.is-on) .cdf-coc__tag { left: 66.667%; }
body.page-context .cdf-coc.is-armed:has(.s3.is-on) .cdf-coc__tag { left: 100%; }
body.page-context .cdf-coc.is-armed:has(.n4.is-on) .cdf-coc__tag { box-shadow: 0 0 14px rgba(242, 196, 109, 0.75); }

/* the custody log */
body.page-context .cdf-coc__cols,
body.page-context .cdf-coc__log li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 96px 87px 136px; align-items: center; column-gap: 12px; padding: 0 18px; }
body.page-context .cdf-coc__cols { padding-top: 9px; padding-bottom: 8px; border-top: 1px solid var(--cdf-rule); font: 500 11px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-coc__keys,
body.page-context .cdf-coc__chk { display: grid; grid-template-columns: repeat(4, 18px); gap: 5px; }
body.page-context .cdf-coc__keys i { border-color: rgba(92, 200, 255, 0.3); }
body.page-context .cdf-coc__log { margin: 0; padding: 0 0 4px; list-style: none; }
body.page-context .cdf-coc__log li { min-height: 42px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; color: var(--cdf-ink); }
body.page-context .cdf-coc__n { font: 500 11px var(--font-mono); color: var(--label); }
body.page-context .cdf-coc__leg { font-weight: 600; color: #fff; white-space: nowrap; }
body.page-context .cdf-coc__log time { font: 400 11.5px var(--font-mono); color: var(--muted); white-space: nowrap; }
body.page-context .cdf-coc__chk i { width: 18px; height: 18px; border: 1px solid rgba(110, 231, 183, 0.5); border-radius: 4px; background: rgba(110, 231, 183, 0.12) var(--cdf-check) center / 11px no-repeat; }
body.page-context .cdf-coc__chk i.is-diff { display: grid; place-items: center; border-color: rgba(242, 196, 109, 0.75); background: rgba(242, 196, 109, 0.16); font: 700 13px/1 var(--font-ui); font-style: normal; color: var(--cdf-amber); }
/* the log's lines and boxes are printed first; each hand-off fills its line */
body.page-context .cdf-coc__leg,
body.page-context .cdf-coc__log time { transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
body.page-context .cdf-coc.is-armed .cdf-coc__log li[data-at]:not(.is-on) { opacity: 1; transform: none; }
body.page-context .cdf-coc.is-armed .cdf-coc__log li[data-at]:not(.is-on) :is(.cdf-coc__leg, time) { opacity: 0; transform: translateX(-6px); }
body.page-context .cdf-coc.is-armed .cdf-coc__log li.is-held:not(:has(.cdf-stamp.is-on)) { background: transparent; }
body.page-context .cdf-coc.is-armed .cdf-coc__chk i { transition: border-color 0.3s ease, background-color 0.3s ease, background-size 0.3s var(--ease-out), color 0.3s ease; }
body.page-context .cdf-coc.is-armed .cdf-coc__chk i[data-at]:not(.is-on) { opacity: 1; transform: none; border-color: rgba(255, 255, 255, 0.16); background-color: transparent; background-size: 0 0; color: transparent; }
body.page-context .cdf-stamp { justify-self: start; padding: 4px 8px; border: 1px solid currentColor; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--cdf-paper), inset 0 0 0 3px rgba(255, 255, 255, 0.07); font: 600 11px/1.3 var(--font-mono); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
body.page-context .cdf-stamp.is-ok { color: var(--live); }
body.page-context .cdf-stamp.is-held { color: var(--cdf-amber); }
body.page-context .cdf-coc.is-armed .cdf-stamp[data-at]:not(.is-on) { transform: translateY(-8px); }
body.page-context .cdf-coc__log li.is-held { background: linear-gradient(90deg, rgba(242, 196, 109, 0.06), transparent 70%); }
body.page-context .cdf-coc__note { margin: 0; padding: 12px 18px 13px; border-top: 1px dashed rgba(242, 196, 109, 0.32); font-size: 13px; line-height: 1.5; color: var(--muted); }
body.page-context .cdf-coc__note b { font-weight: 600; color: var(--cdf-amber); }
body.page-context .cdf-coc__foot { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 10px 18px 11px; border-top: 1px solid var(--cdf-rule); background: var(--cdf-head); font: 500 11px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-coc__foot b { margin-right: 7px; font: 500 17px/1 var(--font-display); letter-spacing: 0; color: #fff; }

/* ── 01 the problem: one visit, as four systems hold it ── */
body.page-context .cdf-split { margin: 52px 0 0; overflow: hidden; border: 1px solid var(--cdf-edge); border-radius: 10px; background: var(--cdf-paper); }
body.page-context .cdf-split__table { width: 100%; border-collapse: collapse; }
body.page-context .cdf-split__table th,
body.page-context .cdf-split__table td { padding: 15px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
body.page-context .cdf-split__table thead th { padding-top: 11px; padding-bottom: 11px; border-bottom-color: var(--cdf-rule); background: rgba(255, 255, 255, 0.015); font: 500 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-split__table tbody th { width: 27%; font: 500 14.5px var(--font-ui); color: #fff; white-space: nowrap; }
body.page-context .cdf-split__table tbody th .cdf-sys { margin-right: 14px; }
body.page-context .cdf-split__table td { font: 400 13.5px var(--font-mono); color: var(--cdf-ink); }
/* a value that disagrees with its neighbours carries a faint red dotted rule */
body.page-context .cdf-split__table td > span { text-decoration: underline dotted rgba(255, 138, 130, 0.5); text-decoration-thickness: 1px; text-underline-offset: 6px; }
body.page-context .cdf-split__table .cdf-split__sum th,
body.page-context .cdf-split__table .cdf-split__sum td { border-bottom: 0; background: rgba(255, 69, 58, 0.035); }
body.page-context .cdf-split__table .cdf-split__sum th { font: 500 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-split .is-x { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 8px; border: 1px solid rgba(255, 69, 58, 0.42); border-radius: 999px; font: 600 11px/1.3 var(--font-mono); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: #ff8a82; white-space: nowrap; }
body.page-context .cdf-split .is-x::before { content: "≠"; font: 700 13px/1 var(--font-ui); }
body.page-context .cdf-split__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0; padding: 12px 20px; border-top: 1px solid var(--cdf-rule); background: var(--cdf-head); font: 500 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-split__foot i { padding: 3px 9px; border: 1px dashed rgba(255, 255, 255, 0.26); border-radius: 4px; font-style: normal; letter-spacing: 0.02em; text-transform: none; color: rgba(236, 239, 244, 0.78); }

/* ── 02 what travels: the context label prints around a bare value ── */
body.page-context .cdf-label { margin: 52px 0 0; overflow: hidden; border: 1px solid var(--cdf-edge); border-radius: 12px; background: var(--cdf-paper); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95); }
body.page-context .cdf-label__body { display: grid; grid-template-columns: minmax(230px, 0.82fr) repeat(4, minmax(0, 1fr)); }
body.page-context .cdf-label__value { display: flex; flex-direction: column; gap: 18px; padding: 24px 22px 22px; border-right: 1px dashed rgba(255, 255, 255, 0.16); background: linear-gradient(180deg, rgba(92, 200, 255, 0.06), rgba(92, 200, 255, 0) 70%); }
body.page-context .cdf-label__value .cdf-bc { width: 128px; height: 40px; }
body.page-context .cdf-label__num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: auto 0 0; }
body.page-context .cdf-label__num b { font: 500 76px/0.9 var(--font-display); letter-spacing: -0.03em; color: #fff; }
body.page-context .cdf-label__num small { font: 500 13px var(--font-mono); letter-spacing: 0.12em; color: var(--cdf-cyan); }
body.page-context .cdf-label__state { display: grid; margin: 0; }
body.page-context .cdf-label__state span { grid-area: 1 / 1; font: 500 11px/1.5 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
body.page-context .cdf-label__state .is-bare { color: var(--label); }
body.page-context .cdf-label__state .is-full { color: var(--live); }
body.page-context .cdf-zone { position: relative; min-width: 0; padding: 22px 18px 20px; border-right: 1px solid var(--cdf-rule); }
body.page-context .cdf-zone:last-child { border-right: 0; }
body.page-context .cdf-zone h3 { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(92, 200, 255, 0.28); font: 500 19px/1.2 var(--font-display); letter-spacing: -0.01em; color: #fff; }
body.page-context .cdf-zone dl { display: grid; gap: 11px; margin: 0; }
body.page-context .cdf-zone dt { font: 500 11px var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-zone dd { margin: 3px 0 0; font-size: 14px; line-height: 1.4; color: var(--cdf-ink); }
/* each field prints in turn under a scan line */
body.page-context .cdf-zone dl > div { transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms + 140ms); }
body.page-context .cdf-zone dl > div:nth-child(2) { --i: 1; }
body.page-context .cdf-zone dl > div:nth-child(3) { --i: 2; }
body.page-context .cdf-zone dl > div:nth-child(4) { --i: 3; }
body.page-context .cdf-zone dl > div:nth-child(5) { --i: 4; }
body.page-context .cdf-label.is-armed .cdf-zone:not(.is-on) dl > div { opacity: 0; transform: translateY(6px); }
/* the blank label is printed first: its four headings wait for their fields */
body.page-context .cdf-label.is-armed .cdf-zone[data-at]:not(.is-on) { opacity: 1; transform: none; }
body.page-context .cdf-zone h3 { transition: color 0.4s ease, border-color 0.4s ease; }
body.page-context .cdf-label.is-armed .cdf-zone:not(.is-on) h3 { color: rgba(236, 239, 244, 0.42); border-bottom-color: rgba(255, 255, 255, 0.08); }
body.page-context .cdf-zone::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, rgba(92, 200, 255, 0), rgba(92, 200, 255, 0.9), rgba(92, 200, 255, 0)); opacity: 0; pointer-events: none; }
body.page-context .cdf-label.is-armed .cdf-zone.is-on::after { animation: cdfScan 1.1s var(--ease-out) 1 both; }
@keyframes cdfScan { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 100% { top: calc(100% - 2px); opacity: 0; } }
body.page-context .cdf-label.is-armed .cdf-label__num small[data-at]:not(.is-on) { transform: translateX(-6px); }
body.page-context .cdf-label__rule { display: flex; align-items: baseline; gap: 14px; margin: 0; padding: 13px 22px; border-top: 1px solid var(--cdf-rule); background: var(--cdf-head); font-size: 14px; line-height: 1.5; color: var(--cdf-ink); }
body.page-context .cdf-label__rule b { flex: none; font: 500 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cdf-cyan); }
body.page-context .cdf-more { margin: 22px 0 0; }
body.page-context .cdf-more .text-link,
body.page-context .cdf-board__more .text-link { letter-spacing: 0.1em; color: var(--cdf-cyan); }
/* a label long enough to wrap runs as text, so its arrow follows the last word
   (as an inline-flex box the wrapped label filled the line and pushed the arrow
   to the far edge on a phone); balanced lines, as home.css .section-more */
body.page-context :is(.cdf-more, .cdf-board__more) { font-size: 11px; line-height: 1.7; text-wrap: balance; }
body.page-context :is(.cdf-more, .cdf-board__more) .text-link { display: inline; line-height: inherit; }
body.page-context :is(.cdf-more, .cdf-board__more) .text-link span { display: inline-block; margin-left: 4px; }

/* ── 03 ownership: the custodian register and a disagreement ── */
body.page-context .cdf-own { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr); gap: 24px; align-items: start; margin-top: 52px; }
body.page-context .cdf-reg { margin: 0; overflow: hidden; border: 1px solid var(--cdf-edge); border-radius: 10px; background: var(--cdf-paper); }
body.page-context .cdf-reg table { width: 100%; border-collapse: collapse; }
body.page-context .cdf-reg th,
body.page-context .cdf-reg td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
body.page-context .cdf-reg tbody tr:last-child th,
body.page-context .cdf-reg tbody tr:last-child td { border-bottom: 0; }
body.page-context .cdf-reg thead th { padding-top: 11px; padding-bottom: 11px; border-bottom-color: var(--cdf-rule); background: rgba(255, 255, 255, 0.015); font: 500 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-reg tbody th { width: 30%; }
body.page-context .cdf-reg tbody th b { display: block; font: 500 21px/1.1 var(--font-display); color: #fff; }
body.page-context .cdf-reg tbody th small { display: block; margin-top: 5px; font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-reg td { font-size: 14px; line-height: 1.5; color: var(--muted); }
body.page-context .cdf-reg td:last-child { color: var(--cdf-ink); }
body.page-context .cdf-reg td:last-child::before { content: "↳ "; color: var(--accent); }

body.page-context .cdf-dis { margin: 0; overflow: hidden; border: 1px solid var(--cdf-edge); border-radius: 10px; background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(92, 200, 255, 0.07), transparent 70%), var(--cdf-paper); }
body.page-context .cdf-dis__recs { display: grid; gap: 8px; padding: 18px 18px 4px; }
body.page-context .cdf-dis__rec { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 10px 12px; border: 1px solid var(--cdf-rule); border-radius: 8px; background: rgba(255, 255, 255, 0.02); }
body.page-context .cdf-dis__what { font-size: 13.5px; line-height: 1.3; color: #fff; }
body.page-context .cdf-dis__what small { display: block; margin-top: 3px; font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-dis__rec b { font: 500 25px/1 var(--font-display); letter-spacing: -0.01em; color: #fff; white-space: nowrap; }
body.page-context .cdf-dis__neq { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font: 500 11px var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cdf-cyan); }
body.page-context .cdf-dis__neq i { font: 700 18px/1 var(--font-ui); font-style: normal; }
body.page-context .cdf-dis__no { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 18px 0; padding: 11px 12px; border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 8px; font-size: 13.5px; color: var(--muted); }
/* the strike is drawn per line, so it still runs through the text when it wraps */
body.page-context .cdf-dis__no s { text-decoration: none; background: linear-gradient(rgba(236, 239, 244, 0.75), rgba(236, 239, 244, 0.75)) 0 58% / 100% 1.5px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 0.6s var(--ease-out) 0.35s; }
body.page-context .cdf-dis.is-armed .cdf-dis__no:not(.is-on) s { background-size: 0% 1.5px; }
body.page-context .cdf-dis__no em { flex: none; font: 600 11px var(--font-mono); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cdf-cyan); }
body.page-context .cdf-dis__yes { display: flex; align-items: center; gap: 12px; margin: 10px 18px 0; padding: 12px; border: 1px solid rgba(92, 200, 255, 0.5); border-radius: 8px; background: rgba(92, 200, 255, 0.07); box-shadow: 0 0 34px -14px rgba(92, 200, 255, 0.7); font-size: 14px; line-height: 1.35; color: #fff; }
body.page-context .cdf-dis__yes b { flex: none; padding: 3px 8px; border-radius: 4px; background: rgba(92, 200, 255, 0.18); font: 600 12px var(--font-mono); letter-spacing: 0.04em; }
body.page-context .cdf-dis__end { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 18px 18px; font-size: 13.5px; color: var(--live); }
body.page-context .cdf-dis__end::before { content: ""; flex: none; width: 18px; height: 18px; border: 1px solid rgba(110, 231, 183, 0.55); border-radius: 50%; background: rgba(110, 231, 183, 0.12) var(--cdf-check) center / 11px no-repeat; }

/* ── 04 the example: a stepper over one window ruler ── */
body.page-context .cdf-ex { grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 24px 32px; margin-top: 52px; }
body.page-context .cdf-ex .kit-tabs > [data-switch-tab] { display: flex; flex-direction: column; justify-content: flex-start; padding: 18px 20px 18px 22px; }
body.page-context .cdf-ex .kit-tabs > [data-switch-tab] small { display: block; margin-bottom: 6px; font: 500 11px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-ex .kit-tabs > [data-switch-tab].is-active small { color: var(--cdf-cyan); }
body.page-context .cdf-ex .kit-tabs > [data-switch-tab] b { font: 500 18px/1.25 var(--font-display); }
body.page-context .cdf-ex .kit-tabs > [data-switch-tab] span { margin-top: 6px; font-size: 13.5px; line-height: 1.5; }
body.page-context .cdf-ruler { margin: 0; overflow: hidden; border: 1px solid var(--cdf-edge); border-radius: 10px; background: var(--cdf-paper); }
body.page-context .cdf-ruler__plot { padding: 22px 30px 4px; }
/* study days 20 to 36: x = (day - 20) / 16 */
body.page-context .cdf-ruler__track { position: relative; isolation: isolate; height: 158px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 25% 100%, repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 6.25%) 0 100% / 100% 8px no-repeat; }
body.page-context .cdf-ruler__band { position: absolute; left: calc((var(--a) - 20) / 16 * 100%); width: calc((var(--b) - var(--a)) / 16 * 100%); height: 30px; display: flex; align-items: center; gap: 10px; padding: 0 10px; white-space: nowrap; }
body.page-context .cdf-ruler__band::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: 4px; }
body.page-context .cdf-ruler__band > * { position: relative; z-index: 1; }
body.page-context .cdf-ruler__band b { font: 600 11.5px var(--font-mono); letter-spacing: 0.04em; color: #fff; }
body.page-context .cdf-ruler__band small { position: absolute; left: 10px; top: calc(100% + 6px); font: 500 11px var(--font-mono); letter-spacing: 0.06em; color: var(--cdf-cyan); }
body.page-context .cdf-ruler__band.is-new { --a: 23; --b: 33; top: 42px; }
/* the bands are filled solid over the paper, so the day-28 target line runs behind them and their labels */
body.page-context .cdf-ruler__band.is-new::before { border: 1px solid rgba(92, 200, 255, 0.75); background: linear-gradient(rgba(92, 200, 255, 0.13), rgba(92, 200, 255, 0.13)), var(--cdf-paper); box-shadow: 0 0 26px -10px rgba(92, 200, 255, 0.8); clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease-out), box-shadow 0.4s ease; }
body.page-context .cdf-ruler__band.is-old { --a: 25; --b: 31; top: 102px; }
body.page-context .cdf-ruler__band.is-old::before { border: 1px dashed rgba(255, 255, 255, 0.42); background: linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035)), var(--cdf-paper); }
body.page-context .cdf-ruler__band.is-old b { color: rgba(236, 239, 244, 0.8); }
body.page-context .cdf-ruler__target { position: absolute; z-index: -1; left: 50%; top: 34px; bottom: 0; border-left: 1px dashed rgba(255, 255, 255, 0.28); }
body.page-context .cdf-ruler__visit { position: absolute; left: 75%; top: 0; bottom: 0; width: 0; }
body.page-context .cdf-ruler__visit::before { content: ""; position: absolute; left: -1px; top: 26px; bottom: 0; width: 2px; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.35)); }
body.page-context .cdf-ruler__visit::after { content: ""; position: absolute; left: -6px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, 0.7); }
body.page-context .cdf-ruler__visit b,
body.page-context .cdf-ruler__visit small { position: absolute; top: 0; white-space: nowrap; font: 600 11.5px var(--font-mono); color: #fff; }
body.page-context .cdf-ruler__visit b { right: 12px; }
body.page-context .cdf-ruler__visit small { left: 12px; font-weight: 500; color: var(--muted); }
body.page-context .cdf-ruler__mark { position: absolute; left: calc(75% + 8px); padding: 2px 7px; border-radius: 3px; font: 600 11px/1.3 var(--font-mono); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; }
/* "in" sits inside the amended band, just left of the visit line; "out" sits past the old band's end */
body.page-context .cdf-ruler__mark.is-in { top: 48px; left: auto; right: calc(25% + 8px); background: rgba(110, 231, 183, 0.16); color: var(--live); }
body.page-context .cdf-ruler__mark.is-out { top: 108px; background: rgba(242, 196, 109, 0.16); color: var(--cdf-amber); }
body.page-context .cdf-ruler__axis { position: relative; height: 24px; margin-top: 6px; }
body.page-context .cdf-ruler__axis span { position: absolute; left: calc((var(--d) - 20) / 16 * 100%); transform: translateX(-50%); font: 500 11px var(--font-mono); color: var(--label); }
body.page-context .cdf-ruler__recs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 14px 18px 0; list-style: none; }
body.page-context .cdf-ruler__recs li { display: grid; align-content: start; gap: 6px; padding: 12px 14px; border: 1px solid var(--cdf-rule); border-radius: 8px; background: rgba(255, 255, 255, 0.02); }
body.page-context .cdf-ruler__recs .cdf-sys { justify-self: start; }
body.page-context .cdf-ruler__recs b { font: 500 16px/1.25 var(--font-display); color: #fff; }
body.page-context .cdf-ruler__recs small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
body.page-context .cdf-ruler__recs li.is-qms { border-color: rgba(242, 196, 109, 0.45); background: rgba(242, 196, 109, 0.05); }
body.page-context .cdf-ruler__recs li.is-qms b { color: var(--cdf-amber); }
body.page-context .cdf-ruler__review { margin: 10px 18px 0; padding: 14px 16px 15px; border: 1px solid rgba(92, 200, 255, 0.45); border-radius: 8px; background: rgba(92, 200, 255, 0.06); }
body.page-context .cdf-ruler__review > p { margin: 0 0 10px; font: 500 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cdf-cyan); }
body.page-context .cdf-ruler__review ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
body.page-context .cdf-ruler__review li { display: grid; gap: 3px; min-width: 0; }
body.page-context .cdf-ruler__review li span { font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-ruler__review li b { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: #fff; }
body.page-context .cdf-ruler__note { margin: 0; padding: 12px 18px 14px; font: 500 11px/1.5 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); }
/* The ruler builds once when it comes into view (scroll.js): the amended
   window opens out of the old one, the visit lands with its marks, and the
   records and the review fill their empty form lines. Then every part holds,
   and the stepper only lights the chosen step's part. At rest (paused,
   reduced motion, no script) the ruler is complete. */
body.page-context .cdf-ruler__track [data-s],
body.page-context .cdf-ruler__recs li > *,
body.page-context .cdf-ruler__review > * { transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
body.page-context .cdf-ruler__recs li > :nth-child(2),
body.page-context .cdf-ruler__review > :nth-child(2) { transition-delay: 70ms; }
body.page-context .cdf-ruler__recs li > :nth-child(3) { transition-delay: 140ms; }
body.page-context .cdf-ruler__recs li,
body.page-context .cdf-ruler__review { transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease; }
/* the amended band opens out of the old window's width, then takes its label */
body.page-context .cdf-ruler.is-armed .cdf-ruler__band.is-new[data-at]:not(.is-on) { opacity: 1; transform: none; }
body.page-context .cdf-ruler.is-armed .cdf-ruler__band.is-new:not(.is-on)::before { clip-path: inset(0 20% 0 20%); }
body.page-context .cdf-ruler__band.is-new > * { transition: opacity 0.5s var(--ease-out) 0.6s; }
body.page-context .cdf-ruler.is-armed .cdf-ruler__band.is-new:not(.is-on) > * { opacity: 0; transition-delay: 0s; }
/* records and the review wait as empty lines on the form */
body.page-context .cdf-ruler.is-armed .cdf-ruler__recs li[data-at]:not(.is-on),
body.page-context .cdf-ruler.is-armed .cdf-ruler__review[data-at]:not(.is-on) { opacity: 1; transform: none; border-style: dashed; border-color: rgba(255, 255, 255, 0.13); background: transparent; box-shadow: none; }
body.page-context .cdf-ruler.is-armed .cdf-ruler__recs li[data-at]:not(.is-on) > *,
body.page-context .cdf-ruler.is-armed .cdf-ruler__review[data-at]:not(.is-on) > * { opacity: 0; transform: translateY(8px); }
/* the chosen step's part lights */
body.page-context .cdf-ex[data-switch-current="1"] .cdf-ruler__band.is-new::before { box-shadow: 0 0 0 1px rgba(92, 200, 255, 0.5), 0 0 30px -8px rgba(92, 200, 255, 0.9); }
body.page-context .cdf-ex[data-switch-current="2"] .cdf-ruler__recs li[data-s="2"],
body.page-context .cdf-ex[data-switch-current="3"] .cdf-ruler__recs li[data-s="3"]:not(.is-qms),
body.page-context .cdf-ex[data-switch-current="4"] .cdf-ruler__review { box-shadow: 0 0 0 1px rgba(92, 200, 255, 0.55), 0 0 30px -12px rgba(92, 200, 255, 0.7); }
body.page-context .cdf-ex[data-switch-current="3"] .cdf-ruler__recs li.is-qms { box-shadow: 0 0 0 1px rgba(242, 196, 109, 0.6), 0 0 30px -12px rgba(242, 196, 109, 0.6); }

/* ── 05 Accura OS: the waybill and what runs today ── */
body.page-context .cdf-os { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 32px 56px; align-items: start; margin-top: 52px; }
body.page-context .cdf-way { margin: 0; overflow: hidden; border: 1px solid var(--cdf-edge); border-radius: 10px; background: var(--cdf-paper); }
body.page-context .cdf-way__fields { margin: 0; padding: 4px 20px 2px; }
body.page-context .cdf-way__fields > div { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); }
body.page-context .cdf-way__fields > div:last-child { border-bottom: 0; }
body.page-context .cdf-way__fields dt { padding-top: 3px; font: 500 11px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-way__fields dd { margin: 0; font-size: 15px; line-height: 1.45; color: #fff; }
body.page-context .cdf-way__fields dd a { color: var(--cdf-cyan); border-bottom: 1px solid rgba(159, 216, 255, 0.4); }
body.page-context .cdf-way__fields dd a:hover { color: #fff; border-bottom-color: #fff; }
body.page-context .cdf-way__seal { display: flex; align-items: center; gap: 18px; margin: 0; padding: 14px 20px 16px; border-top: 1px solid var(--cdf-rule); background: var(--cdf-head); }
body.page-context .cdf-way__seal .cdf-bc { width: 96px; height: 32px; }
body.page-context .cdf-way__seal span { display: grid; gap: 4px; font: 600 13.5px var(--font-mono); letter-spacing: 0.02em; color: #fff; }
body.page-context .cdf-way__seal small { font: 500 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--live); }
body.page-context .cdf-board__head { margin: 0; padding-bottom: 12px; font: 500 11px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
body.page-context .cdf-board__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }
body.page-context .cdf-board__list li { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 20px; align-items: baseline; padding: 18px 0 18px 18px; border-bottom: 1px solid var(--cdf-rule); border-left: 2px solid rgba(92, 200, 255, 0.55); }
body.page-context .cdf-board__list li:has(.kit-state--live) { border-left-color: var(--live); }
body.page-context .cdf-board__list li:has(.kit-state--plan) { border-left: 2px dashed rgba(255, 255, 255, 0.3); }
body.page-context .cdf-board__list .kit-state { grid-row: 1 / span 2; align-self: start; justify-self: start; margin-top: 3px; }
body.page-context .cdf-board__list b { font: 500 20px/1.25 var(--font-display); letter-spacing: -0.01em; color: #fff; }
body.page-context .cdf-board__list small { margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
body.page-context .cdf-board__more { margin: 22px 0 0; }

/* ── keep reading: four forwarding labels ── */
body.page-context .cdf-related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.page-context .cdf-related a::before { content: ""; display: block; width: 36px; height: 9px; margin-bottom: 16px; background: var(--cdf-barcode); opacity: 0.45; }

/* the close is the site's shared .cta (home.css), as on the sibling topic pages */

/* ── widths ── */
@media (min-width: 1001px) and (max-width: 1279px) {
  /* beside the title the manifest is narrower: its context label folds two by two */
  body.page-context .cdf-coc__ctx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-context .cdf-coc__ctx > div:nth-child(2) { border-right: 0; }
  body.page-context .cdf-coc__ctx > div:nth-child(-n + 2) { border-bottom: 1px solid var(--cdf-rule); }
}
@media (max-width: 1240px) {
  body.page-context .cdf-label__body { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.page-context .cdf-label__value { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 28px; border-right: 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.16); }
  body.page-context .cdf-label__num { margin: 0; }
  body.page-context .cdf-label__num b { font-size: 60px; }
  body.page-context .cdf-label__state { margin-left: auto; }
}
@media (min-width: 901px) and (max-width: 1240px) {
  /* the four zone headings keep one rule line when one of them wraps */
  body.page-context .cdf-zone h3 { display: flex; align-items: flex-end; min-height: calc(2.4em + 13px); }
}
@media (min-width: 1001px) and (max-width: 1100px) {
  /* a tablet held sideways keeps the manifest beside the title, with the
     phone's compact custody log, so the hand-offs play in the first view */
  body.page-context .cdf-hero__grid { gap: 40px 44px; }
  body.page-context .cdf-coc__cols,
  body.page-context .cdf-coc__log li { grid-template-columns: 18px minmax(0, 1fr) 87px 66px; column-gap: 9px; padding: 0 14px; }
  body.page-context .cdf-coc__time,
  body.page-context .cdf-coc__stamp-long { display: none; }
}
@media (max-width: 1199px) {
  /* below this the title column is too narrow for two-line titles: the lede goes under */
  body.page-context .section-head { grid-template-columns: minmax(0, 1fr); }
  body.page-context .section-head > .section-lede { grid-column: 1; grid-row: auto; max-width: 60ch; margin-top: 20px; }
}
@media (max-width: 1100px) {
  body.page-context .cdf-own { grid-template-columns: minmax(0, 1fr); }
  body.page-context .cdf-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  /* under the full-width register the disagreement runs across: the two
     records on the left, what happens to them on the right */
  body.page-context .cdf-dis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 6px; align-content: start; }
  body.page-context .cdf-dis__bar { grid-column: 1 / -1; }
  body.page-context .cdf-dis__recs { grid-column: 1; grid-row: 2 / span 3; padding-bottom: 18px; }
  body.page-context .cdf-dis__no,
  body.page-context .cdf-dis__yes,
  body.page-context .cdf-dis__end { grid-column: 2; margin-left: 0; }
  body.page-context .cdf-dis__no { margin-top: 18px; }
  body.page-context .cdf-dis__end { padding-left: 0; }
}
@media (max-width: 1000px) {
  body.page-context .cdf-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  body.page-context .cdf-hero .page-title { font-size: clamp(42px, 6vw, 62px); }
  body.page-context .cdf-ex { grid-template-columns: minmax(0, 1fr); }
  body.page-context .cdf-os { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  body.page-context .cdf-label__state { margin-left: 0; flex-basis: 100%; }
  /* the manifest table becomes one labelled line per record */
  body.page-context .cdf-split__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.page-context .cdf-split__table,
  body.page-context .cdf-split__table tbody { display: block; width: 100%; }
  body.page-context .cdf-split__table tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; padding: 16px 18px; border-bottom: 1px solid var(--cdf-rule); }
  body.page-context .cdf-split__table tr.cdf-split__sum { border-bottom: 0; background: rgba(255, 69, 58, 0.035); }
  body.page-context .cdf-split__table th,
  body.page-context .cdf-split__table td { display: block; width: auto; padding: 0; border: 0; background: none; }
  body.page-context .cdf-split__table tbody th { grid-column: 1 / -1; width: auto; white-space: normal; }
  body.page-context .cdf-split__table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 500 11px var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
  body.page-context .cdf-split__table .cdf-split__sum th,
  body.page-context .cdf-split__table .cdf-split__sum td { background: none; }
  body.page-context .cdf-label__body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-context .cdf-zone:nth-child(3) { border-right: 0; }
  body.page-context .cdf-zone:nth-child(2),
  body.page-context .cdf-zone:nth-child(3) { border-bottom: 1px solid var(--cdf-rule); }
  body.page-context .cdf-ruler__review ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the stepper becomes a row of four steps over the ruler (a strip that
     scrolls sideways on a phone, kit.css) */
  body.page-context .cdf-ex .kit-tabs { grid-auto-columns: minmax(0, 1fr); }
  body.page-context .cdf-ex .kit-tabs > [data-switch-tab] { padding: 16px 16px 16px 18px; }
}
@media (max-width: 760px) {
  body.page-context .section { padding: 76px 0 84px; }
  body.page-context .section-head { padding-top: 26px; }
  body.page-context .section-head::after { top: 9px; }
  body.page-context .cdf-hero { padding: 116px 0 64px; }
  body.page-context .cdf-hero .page-title { font-size: 40px; }
  body.page-context .cdf-hero .page-lede { font-size: 16.5px; }
  body.page-context .cdf-coc__head { grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; padding: 14px; }
  body.page-context .cdf-coc__head .cdf-bc { width: 60px; height: 26px; }
  body.page-context .cdf-coc__val { grid-column: 1 / -1; }
  body.page-context .cdf-coc__val b { font-size: 40px; }
  body.page-context .cdf-coc__ctx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-context .cdf-coc__ctx > div:nth-child(2) { border-right: 0; }
  body.page-context .cdf-coc__ctx > div:nth-child(-n + 2) { border-bottom: 1px solid var(--cdf-rule); }
  body.page-context .cdf-coc__route { margin: 0 30px; }
  body.page-context .cdf-coc__cols,
  body.page-context .cdf-coc__log li { grid-template-columns: 18px minmax(0, 1fr) 87px 66px; column-gap: 9px; padding: 0 14px; }
  body.page-context .cdf-coc__time,
  body.page-context .cdf-coc__stamp-long { display: none; }
  body.page-context .cdf-coc__note { padding: 12px 14px; }
  body.page-context .cdf-coc__foot { padding: 10px 14px; gap: 6px 16px; }
  /* the register becomes labelled cards */
  body.page-context .cdf-reg thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.page-context .cdf-reg table,
  body.page-context .cdf-reg tbody { display: block; width: 100%; }
  body.page-context .cdf-reg td::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 500 11px var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
  body.page-context .cdf-reg tr { display: block; padding: 16px; border-bottom: 1px solid var(--cdf-rule); }
  body.page-context .cdf-reg tbody tr:last-child { border-bottom: 0; }
  body.page-context .cdf-reg th,
  body.page-context .cdf-reg td { display: block; width: auto; padding: 0; border: 0; }
  body.page-context .cdf-reg tbody th { display: flex; align-items: baseline; gap: 12px; width: auto; margin-bottom: 10px; }
  body.page-context .cdf-reg tbody th small { margin: 0; }
  body.page-context .cdf-reg td + td { margin-top: 10px; }
  body.page-context .cdf-reg td:last-child::before { content: attr(data-label); }
  body.page-context .cdf-label__value { padding: 18px; }
  body.page-context .cdf-label__value .cdf-bc { width: 88px; height: 30px; }
  body.page-context .cdf-label__num b { font-size: 52px; }
  body.page-context .cdf-zone { padding: 18px 16px; }
  body.page-context .cdf-label__rule { flex-direction: column; gap: 4px; padding: 13px 18px; }
  body.page-context .cdf-ruler__plot { padding: 18px 22px 4px; }
  body.page-context .cdf-ruler__recs { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 0; }
  body.page-context .cdf-ruler__review { margin: 10px 14px 0; }
  body.page-context .cdf-ruler__note { padding: 12px 14px; }
  body.page-context .cdf-way__fields > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  body.page-context .cdf-board__list li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  body.page-context .cdf-board__list .kit-state { grid-row: auto; }
}
@media (max-width: 640px) {
  body.page-context .cdf-split__table tr { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  /* four short steps read best as a list on a phone, so the step that plays
     is always in view (instead of kit.css's sideways strip) */
  body.page-context .cdf-ex .kit-tabs { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  body.page-context .cdf-ex .kit-tabs > [data-switch-tab] { padding: 13px 16px 14px 18px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  body.page-context .cdf-ex .kit-tabs > [data-switch-tab]:last-child { border-bottom: 0; }
  body.page-context .cdf-ex .kit-tabs > [data-switch-tab] small { margin-bottom: 4px; }
  body.page-context .cdf-ex .kit-tabs > [data-switch-tab] b { font-size: 17px; }
  body.page-context .cdf-ex .kit-tabs > [data-switch-tab] span { margin-top: 4px; font-size: 13px; }
  body.page-context .cdf-ex .kit-tabs > [data-switch-tab] > i { top: 0; bottom: 0; left: 0; right: auto; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; }
  body.page-context .cdf-ex .kit-tabs > [data-switch-tab].is-active > i { transform: scaleY(1); }
  body.page-context .cdf-ex.is-auto .kit-tabs > [data-switch-tab].is-active > i { animation-name: kitDwellY; }
  body.page-context .cdf-label__body { grid-template-columns: minmax(0, 1fr); }
  body.page-context .cdf-zone { border-right: 0; border-bottom: 1px solid var(--cdf-rule); }
  body.page-context .cdf-zone:last-child { border-bottom: 0; }
  body.page-context .cdf-zone dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  body.page-context .cdf-related { grid-template-columns: minmax(0, 1fr); }
  body.page-context .cdf-ruler__band small { left: 6px; }
  body.page-context .cdf-ruler__band { padding: 0 6px; }
  body.page-context .cdf-ruler__band b { font-size: 11px; letter-spacing: 0; }
}

/* ── motion off: every scene is already on its last frame (scroll.js); the
   page's own CSS motion stops too ── */
@media (prefers-reduced-motion: reduce) {
  body.page-context .cdf-coc,
  body.page-context .cdf-hero__status { animation: none; }
  body.page-context .cdf-bc,
  body.page-context .cdf-coc__seg,
  body.page-context .cdf-coc__tag,
  body.page-context .cdf-coc__node::before,
  body.page-context .cdf-coc__ctx .is-time,
  body.page-context .cdf-coc__ctx dd,
  body.page-context .cdf-coc__leg,
  body.page-context .cdf-coc__log time,
  body.page-context .cdf-coc.is-armed .cdf-coc__chk i,
  body.page-context .cdf-zone h3,
  body.page-context .cdf-zone dl > div,
  body.page-context .cdf-dis__no s,
  body.page-context .cdf-ruler__band.is-new::before,
  body.page-context .cdf-ruler__band.is-new > *,
  body.page-context .cdf-ruler__track [data-s],
  body.page-context .cdf-ruler__recs li,
  body.page-context .cdf-ruler__recs li > *,
  body.page-context .cdf-ruler__review,
  body.page-context .cdf-ruler__review > * { transition: none; }
  body.page-context .cdf-zone::after { animation: none; }
}
