/* Report pages (layout "report"): a long simulation or measurement report set in the site's type and dark
   surfaces. Color carries one of three meanings: a router or series (the four --r-* hues, kept from the
   study's charts), a caveat (the institute's amber) or nothing (ink and surfaces). The tokens sit on the
   body because the chart tooltip is appended to it; --ink and --rule keep the site's values. */
body.is-report {
  --paper: var(--surface-0);
  --paper-2: var(--surface-1);
  --paper-3: var(--surface-2);
  --ink-2: var(--text-secondary);
  --ink-3: var(--text-muted);
  --axis: #5b5551;
  --r-rr: #b0508e;
  --r-kv: #e06c17;
  --r-kvp16: #5a8cf5;
  --r-aff: #25a892;
  --neutral: #6f6964;
  --neutral-2: #3f3a36;
  --seq-lo: #2a2521;
  --seq-hi: #cfc9c2;
  --seq-on-lo: var(--ink);
  --seq-on-hi: var(--surface-0);
  --cav-bg: #2a2115;
  --cav-mark: var(--primary);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  --display: var(--font-display);
  --text: var(--font-display);
  --mono: var(--font-mono);
  --bar: 49px;
}
/* Anchors clear the masthead and the section bar (49px), inside the 120px the section bar treats as current; below 860px only the bar sticks. */
html:has(body.is-report) { scroll-padding-top: calc(var(--head) + 60px); }
@media (max-width: 860px) { html:has(body.is-report) { scroll-padding-top: 60px; } }

.report { font-size: 17px; line-height: 1.6; overflow-wrap: break-word; }
.report a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--primary) 55%, transparent); }
.report a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--primary); }
.report summary:focus-visible, .report .chart svg:focus-visible { outline: 2px solid var(--primary-ink); outline-offset: 3px; border-radius: 2px; }
.report :is(p, ul, ol, dl, figure) { margin: 0; }
.report code { font: 0.86em/1.4 var(--mono); background: var(--paper-3); border-radius: var(--r-sm); padding: 0.12em 0.36em; overflow-wrap: anywhere; }
.report h2 { font-size: clamp(1.45rem, 1.15rem + 0.9vw, 1.9rem); font-weight: 620; font-stretch: 110%; line-height: 1.1; letter-spacing: -0.015em; }
.report h3 { font-size: 19px; font-weight: 620; font-stretch: 106%; line-height: 1.3; letter-spacing: -0.005em; }
.report h4 { font-size: 15px; font-weight: 620; font-stretch: 104%; line-height: 1.35; }
.report .anchor { margin-left: 8px; color: var(--ink-3); text-decoration: none; font: 400 0.8em var(--mono); opacity: 0; }
.report :is(h2, h3, h4):hover .anchor, .report .anchor:focus-visible { opacity: 1; }
@media (hover: none) { .report .anchor { opacity: 0.55; } }

/* Section bar: the report's contents under the site masthead */
.report .topbar { position: sticky; top: var(--head); z-index: 20; background: var(--surface-0); border-bottom: 1px solid var(--rule); }
.report .topbar .wrap { display: flex; align-items: center; gap: 14px; min-height: 48px; padding-block: 4px; }
.report .brand { font-size: 14px; font-weight: 650; font-stretch: 112%; color: var(--ink); text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) { .report .brand { display: none; } }
.report .simtag { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; background: var(--primary); color: var(--on-primary); padding: 5px 8px; border-radius: var(--r-sm); text-decoration: none; }
.report .simtag:hover { text-decoration: underline; text-decoration-color: var(--on-primary); }
.report .toc { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }
.report .toc::-webkit-scrollbar { display: none; }
/* Right-aligned while it fits; the auto margin collapses when it overflows, so the first item stays reachable. */
.report .toc ul { display: flex; gap: 2px; padding: 0 24px 0 0; white-space: nowrap; }
.report .toc li:first-child { margin-left: auto; }
.report .toc a { display: block; padding: 8px 10px; font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--ink-2); text-decoration: none; box-shadow: inset 0 -2px 0 transparent; transition: color 0.15s, box-shadow 0.15s; }
.report .toc a:hover { color: var(--ink); box-shadow: inset 0 -2px 0 var(--rule-strong); }
.report .toc a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--primary); }
@media (max-width: 860px) {
  body.is-report { --bar: 0px; }
  .report .topbar { top: 0; }
}

/* Cover: the site's page head, with the headline number and Fig. 1 under one strong rule */
.report .cover { padding: var(--s-2xl) 0 var(--s-xl); }
.report .cover h1 { max-width: 20ch; }
.report .eyebrow { margin-bottom: var(--s-md); }
.report .standfirst { font-size: clamp(17px, 1rem + 0.35vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 56ch; margin-top: var(--s-lg); }
.report .standfirst b { color: var(--ink); font-weight: 600; }
.report .byline { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: var(--s-lg); font: 400 13px/1.5 var(--mono); color: var(--ink-3); }
.report .byline a { color: var(--ink-2); }
.report .hero { display: grid; gap: 30px 64px; margin-top: var(--s-xl); padding-top: var(--s-xl); border-top: 2px solid var(--rule-strong); }
@media (min-width: 920px) { .report .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; } }
.report .hero-num { display: block; font-size: clamp(108px, 14.5vw, 196px); font-weight: 680; font-stretch: 118%; line-height: 0.8; letter-spacing: -0.045em; margin-left: -0.04em; color: var(--ink); }
.report .hero-text { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.36; max-width: 31ch; margin-top: 26px; color: var(--ink-2); }
.report .hero-fig { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.report .hero-fig .fig-d { color: var(--ink-3); }

/* Sections: a heading rail on the left, the content on the right, as on the site's interior pages */
.report .report-body { padding-bottom: var(--s-xl); }
.report .row { padding-top: 40px; margin-top: 48px; border-top: 1px solid var(--rule); min-width: 0; }
.report .row.major { border-top: 2px solid var(--rule-strong); margin-top: 72px; }
.report .row.first { border-top: 0; margin-top: 8px; }
.report .body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.report .rail { margin-bottom: 18px; }
@media (min-width: 1040px) {
  .report .row { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr); column-gap: var(--s-2xl); }
  .report .rail { margin-bottom: 0; }
  .report .rail > * { position: sticky; top: calc(var(--head) + var(--bar) + 24px); }
}
/* Archivo sets about 1.3 characters per ch, so these widths hold lines near 75-80 characters. */
.report .body > :is(p, ul, ol, dl) { max-width: 60ch; }
.report .body > p { color: var(--ink-2); }
.report .body > p b, .report .body li b { color: var(--ink); font-weight: 600; }
.report .body > h4 { margin-top: 14px; }
.report ul.plain { list-style: disc; padding-left: 1.15em; display: flex; flex-direction: column; gap: 9px; color: var(--ink-2); }
.report ul.plain li::marker { color: var(--ink-3); }
.report .note { font-size: 14.5px; line-height: 1.5; color: var(--ink-3); max-width: 62ch; }

/* Study totals and terms */
.report .ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule); max-width: none; }
.report .ledger div { padding: 14px 18px 16px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.report .ledger b { font-size: 30px; font-weight: 640; font-stretch: 112%; line-height: 1.1; letter-spacing: -0.02em; }
.report .ledger span { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); max-width: 26ch; }
.report dl.defs { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 10px 24px; font-size: 15.5px; }
.report dl.defs dt { font-weight: 620; }
.report dl.defs dd { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .report dl.defs { grid-template-columns: 1fr; gap: 2px; } .report dl.defs dd { margin-bottom: 10px; } }

/* Findings and limits: the site's panel, a strong rule over a raised surface; limits in amber */
.report .pair { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; margin-top: 64px; }
@media (min-width: 980px) { .report .pair { grid-template-columns: 1fr 1fr; gap: 28px; } }
.report .panel { background: var(--paper-2); border-top: 2px solid var(--rule-strong); padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.report .panel.limits { background: var(--cav-bg); border-top-color: var(--primary); }
@media (max-width: 640px) { .report .panel { padding: 20px 16px 24px; } }
.report .panel ol { counter-reset: n; display: flex; flex-direction: column; gap: 15px; }
.report .panel li { counter-increment: n; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; font-size: 15.5px; line-height: 1.52; color: var(--ink-2); }
.report .panel li::before { content: counter(n); font-size: 20px; font-weight: 640; font-stretch: 112%; line-height: 1.15; color: var(--ink-3); }
.report .panel.limits li::before { color: var(--primary); }
.report .panel li b { color: var(--ink); font-weight: 620; }
.report .panel code { background: color-mix(in srgb, var(--ink) 9%, transparent); }

/* Caveat marker wherever a figure shows modeled timing */
.report .cav { position: relative; align-self: flex-start; font-size: 13.5px; line-height: 1.4; color: var(--ink); background: var(--cav-bg); padding: 5px 11px 5px 28px; border-radius: var(--r-sm); }
.report .cav::before { content: ""; position: absolute; left: 11px; top: 10px; width: 8px; height: 8px; background: var(--primary); transform: rotate(45deg); }

/* Figures. The site's .fig is a decorative layer; a report figure is content. */
.report .fig { position: static; pointer-events: auto; user-select: auto; overflow: visible; display: flex; flex-direction: column; gap: 14px; min-width: 0; border-top: 1px solid var(--rule-strong); padding-top: 14px; margin: 10px 0 0; scroll-margin-top: calc(var(--head) + var(--bar) + 16px); }
.report .cover .fig { border-top: 0; padding-top: 0; margin-top: 0; }
.report .fig > figcaption { display: flex; flex-direction: column; gap: 6px; }
.report .fig-t { font-size: 19px; font-weight: 620; font-stretch: 104%; line-height: 1.3; letter-spacing: -0.005em; max-width: 56ch; }
.report .fig-n { font: 500 12px/1 var(--mono); color: var(--ink-3); margin-right: 10px; white-space: nowrap; letter-spacing: 0.02em; text-transform: uppercase; }
.report .fig-d { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.report .panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px 44px; min-width: 0; }
@media (min-width: 760px) {
  .report .panels.p2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report .panels.p31 { grid-template-columns: minmax(0, 3.6fr) minmax(0, 1fr); }
}
.report .panels.p4 { gap: 26px 24px; }
@media (min-width: 560px) { .report .panels.p4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .report .panels.p4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 560px) { .report .panels.p4 .ptitle { min-height: 2.7em; } }
.report .panels > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.report .ptitle { font-size: 14px; font-weight: 620; font-stretch: 104%; line-height: 1.35; }
.report .pdesc { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.report .chart { position: relative; min-height: 60px; min-width: 0; }
.report .chart svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.report .chart svg:focus:not(:focus-visible) { outline: none; }
.report .chart text { font: 400 11.5px var(--mono); fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.report .chart text.lab { font: 500 12.5px var(--text); fill: var(--ink-2); }
.report .chart :is(text, tspan).strong { fill: var(--ink); font-weight: 500; }
.report .chart :is(text, tspan).mid { fill: var(--ink-2); }
.report .chart text.head { font: 620 13px var(--text); fill: var(--ink); }
.report .chart text.on-hi { fill: var(--seq-on-hi); }
.report .chart text.on-lo { fill: var(--seq-on-lo); }
.report .chart .halo { fill: none; stroke: var(--ink); stroke-width: 1.5; pointer-events: none; }
.report .chart .grid { stroke: var(--rule); }
.report .chart .base { stroke: var(--axis); }
.report .failed { font-size: 14px; color: var(--ink-2); }
.report .legend { display: flex; flex-wrap: wrap; gap: 5px 20px; font-size: 13px; line-height: 1.4; color: var(--ink-2); max-width: none; }
.report .legend li { display: flex; align-items: center; }
.report .sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 7px; flex: none; background: var(--c, var(--ink)); }
.report .sw.dot { border-radius: 50%; }
.report .sw.ring { border-radius: 50%; background: none; border: 2.25px solid var(--c, var(--ink)); }
.report .sw.line { height: 2px; width: 14px; border-radius: 1px; }
.report .sw.dia { transform: rotate(45deg) scale(0.82); border-radius: 1px; }
.report .sw.out { background: none; border: 1.5px solid var(--c, var(--ink)); }
.report .c-rr { --c: var(--r-rr); } .report .c-kv { --c: var(--r-kv); } .report .c-kvp16 { --c: var(--r-kvp16); } .report .c-aff { --c: var(--r-aff); }
.report .c-ink { --c: var(--ink); } .report .c-ink3 { --c: var(--ink-3); } .report .c-neutral { --c: var(--neutral); }
.report .routerkey { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; }

/* Chart tooltip, appended to the body */
.tip { position: fixed; pointer-events: none; z-index: 40; max-width: 280px; background: var(--surface-1); color: var(--ink-2); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--rule), var(--shadow); padding: 9px 11px 10px; font: 400 12.5px/1.45 var(--text); }
.tip .t { color: var(--ink); font-weight: 620; overflow-wrap: anywhere; margin-bottom: 3px; }
.tip b { color: var(--ink); font: 500 12px var(--mono); }
.tip .k { display: inline-block; width: 12px; height: 3px; border-radius: 1px; margin-right: 6px; vertical-align: middle; }

/* Tables behind each figure */
.report details.tbl { min-width: 0; }
.report details.tbl > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 9px; font: 500 12px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); list-style: none; padding: 8px 0; user-select: none; }
.report details.tbl > summary::-webkit-details-marker { display: none; }
.report details.tbl > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-1px) rotate(-45deg); transition: transform 0.18s ease-out; }
.report details.tbl[open] > summary::before { transform: translateY(-2px) rotate(45deg); }
.report details.tbl > summary:hover { color: var(--ink); }
.report details.tbl > summary .hide, .report details.tbl[open] > summary .show { display: none; }
.report details.tbl[open] > summary .hide { display: inline; }
.report details.tbl > :is(.tablewrap, .note) { margin-top: 8px; }
.report .tablewrap { overflow-x: auto; min-width: 0; }
.report .tablewrap.tall { max-height: 460px; overflow-y: auto; }
.report table { border-collapse: collapse; width: 100%; font: 400 12.5px/1.4 var(--mono); font-variant-numeric: tabular-nums; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.report :is(th, td) { padding: 8px 12px; border-bottom: 1px solid var(--rule); text-align: right; white-space: nowrap; }
.report :is(th, td):first-child { padding-left: 2px; }
.report :is(th, td):last-child { padding-right: 2px; }
.report tbody tr:last-child td { border-bottom: 0; }
.report tbody tr:hover td { background: var(--paper-2); }
.report th { font: 600 12.5px/1.3 var(--text); color: var(--ink-2); vertical-align: bottom; white-space: normal; min-width: 72px; border-bottom: 1px solid var(--rule-strong); background: var(--surface-0); }
.report .tablewrap.tall th { position: sticky; top: 0; }
.report :is(th, td).l { text-align: left; }
.report td.l { font: 400 13.5px/1.4 var(--text); }
.report td.wrap { white-space: normal; min-width: 180px; overflow-wrap: anywhere; }
.report td.miss { font-weight: 600; color: var(--ink); }
.report td.miss::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--ink); margin-right: 6px; border-radius: 1px; }
.report td.total { font-weight: 620; }
.report td code { background: none; padding: 0; font-size: 12px; }

.report .cite { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); padding: 14px 0 16px; font: 400 14px/1.55 var(--mono); color: var(--ink); }
.report noscript p { padding: 0 var(--gutter) var(--s-xl); color: var(--ink-2); }

/* Figures draw in once, the first time they scroll into view */
@keyframes report-grow-x { from { transform: scaleX(0); } }
@keyframes report-grow-y { from { transform: scaleY(0); } }
@keyframes report-appear { from { opacity: 0; } }
@keyframes report-draw { from { stroke-dashoffset: var(--len); } }
@media (prefers-reduced-motion: no-preference) {
  .report .chart.in:not(.done) .gx { transform-box: fill-box; transform-origin: left center; animation: report-grow-x 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
  .report .chart.in:not(.done) .gy { transform-box: fill-box; transform-origin: center bottom; animation: report-grow-y 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--i, 0) * 12ms); }
  .report .chart.in:not(.done) .ap { animation: report-appear 0.5s ease-out both; animation-delay: calc(var(--i, 0) * 6ms + 80ms); }
  .report .chart.in:not(.done) .dr { stroke-dasharray: var(--len); animation: report-draw 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@media print {
  .masthead, .report .topbar, .foot { position: static; }
  .report details.tbl > summary { display: none; }
}
