/* The document layer: what AIUS generates (reports, widgets, briefs, decks, published sessions).
   Product chrome lives in chrome.css; nothing here styles the shell around the document. */
.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 0;
  padding-top: 32px;
  padding-right: 0;
}
.report-layout .dateline {
  gap: 8px 16px;
  margin-bottom: 16px;
}
/* The headline is aius.co's .h-display on the insights page: 28px, 600, tight. */
.report-layout .report #summary > h1 {
  margin-bottom: 16px;
  font-size: 28px;
  letter-spacing: var(--ls-title);
  line-height: 1.05;
}
.report-layout .summary-grid {
  margin-bottom: 48px;
}
.report-layout .summary-lead > .prose p {
  font-size: 14.5px;
  line-height: 1.55;
}
/* The dateline is aius.co's .h-eyebrow: 12px muted, led by the three pixel dots. */
.dateline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--fg-muted);
  overflow-wrap: anywhere;
}
.dateline::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  margin-right: 16px;
  background: #8cff7b;
  box-shadow:
    8px 0 0 #3eacff,
    16px 0 0 #ff7bde;
}
.dateline > span {
  min-width: 0;
  max-width: 100%;
}
.report-provenance {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.report-provenance dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 8px 0 0;
  font-size: 12px;
}
.report-provenance dl > div {
  min-width: 0;
  max-width: 100%;
}
.report-provenance dt {
  color: var(--fg-muted);
}
.report-provenance dd {
  margin: 4px 0 0;
}
.report h1 {
  margin-bottom: 16px;
  max-width: 100%;
  font-weight: 600;
}
.report #summary > h1 {
  font-size: 28px;
  line-height: 1.05;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}
.summary-lead {
  display: grid;
  gap: 16px;
  grid-column: span 8;
  min-width: 0;
}
.summary-lead:only-child {
  grid-column: 1 / -1;
}
.summary-lead > .prose {
  display: grid;
  gap: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.summary-lead > .prose p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  max-width: none;
}
.report-missing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 16px;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.report-missing > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.report-missing dt {
  color: var(--fg-muted);
  font-size: 12px;
}
.chart-empty-identity {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  font-size: 13px;
}
.chart-empty-identity > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px;
  overflow-wrap: anywhere;
}
.chart-empty-identity dt {
  color: var(--fg-muted);
}
.chart-empty-identity dd {
  margin: 0;
}
.report-missing dd,
.evidence-absence {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 599px) {
  .report-missing {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media print {
  .report-missing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    break-inside: avoid;
  }
}
.why {
  display: grid;
  gap: 8px;
  grid-column: span 4;
  min-width: 0;
  margin-left: -8px;
  padding: 0 0 0 16px;
  position: relative;
  font-size: 13.5px;
}
.why::before {
  background: var(--rule-fade-y);
  border-radius: 999px;
  content: "";
  inline-size: 1px;
  inset-block: 0;
  inset-inline-start: 0;
  position: absolute;
}
.why h2 {
  color: var(--caps-ink);
  font-family: var(--caps-font);
  font-size: var(--caps-size);
  font-weight: var(--caps-weight);
  letter-spacing: var(--ls-caps);
  line-height: var(--caps-line);
  text-transform: uppercase;
  margin: 0;
}
.why .prose p {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}
.why .prose p + p {
  margin-top: 8px;
}
.brief-purpose {
  max-width: 720px;
  margin-bottom: 32px;
}
.project-brief,
.brief-guardrails,
.brief-preview,
.question {
  overflow-wrap: anywhere;
}
.brief-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 0;
  margin: 16px 0;
  list-style: none;
  color: var(--fg-muted);
  font-size: 13px;
}
.brief-labels li,
.brief-source {
  overflow-wrap: anywhere;
}
.brief-guardrails > h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}
.brief-guardrails > .annotation {
  margin: 8px 0 16px;
}
.project-brief .brief-guardrails {
  margin-top: 32px;
  max-width: 72ch;
}
.brief-preview {
  margin: 24px 0;
}
.brief-preview th .annotation {
  display: block;
  font-weight: 400;
}
.brief-preview pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.brief-preview table {
  width: 100%;
}
@media print {
  .brief-preview .table-scroll {
    overflow: visible;
  }
  .brief-preview table {
    table-layout: fixed;
    min-width: 0;
  }
  .brief-preview td,
  .brief-preview th {
    overflow-wrap: anywhere;
  }
}
.prose {
  overflow-wrap: anywhere;
  overflow-x: auto;
}
.prose > :last-child {
  margin-bottom: 0;
}
/* aius.co's .dv-md code: Geist Mono, a hairline chip inline and a dark block. */
.prose pre {
  overflow-x: auto;
  background: #0a0a0a;
  color: #e6e6e6;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: var(--font-code);
  font-size: 12px;
}
.prose code {
  font-family: var(--font-code);
  font-size: 12px;
}
.prose :not(pre) > code {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
.prose a {
  color: var(--link);
  text-decoration-color: currentColor;
}
.prose img {
  display: none;
}
.prose blockquote {
  margin-left: 0;
  border-left: 2px solid var(--line-strong);
  padding-left: 16px;
  color: var(--fg-muted);
}
.questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 12px 0 40px;
}
.questions[data-count="3"],
.questions[data-count="6"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.question-heading {
  margin-bottom: 0;
  color: var(--caps-ink);
  font-family: var(--caps-font);
  font-size: var(--caps-size);
  font-weight: var(--caps-weight);
  letter-spacing: var(--ls-caps);
  line-height: var(--caps-line);
  text-transform: uppercase;
}
.question {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  min-width: 0;
}
.question[data-answer-state="partial"] .question-state {
  color: var(--warning-fg);
}
.question[data-answer-state="unanswered"] .question-state,
.question[data-answer-state="blocked"] .question-state {
  color: var(--danger-fg);
}
.question-ask {
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.55;
}
.question-state {
  font-size: 13.5px;
  font-weight: 600;
}
.question p {
  margin-bottom: 0;
}
.question a {
  display: block;
  font-size: 12px;
}
.question sup a {
  display: inline;
}
/* Sections sit 32px apart, aius.co's page padding and its insights rhythm. */
.report-section {
  margin-top: 32px;
  scroll-margin-top: 72px;
}
.report-layout .report-section {
  margin-top: 32px;
}
.report-section > h2 {
  margin-bottom: 12px;
}
.report-section-authored {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.report-layout .report-section-authored {
  row-gap: 16px;
}
.report-section-authored > * {
  grid-column: 1 / -1;
  min-width: 0;
}
.comparison-chart {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.4;
}
.comparison-lollipop,
.comparison-dumbbell {
  display: grid;
  gap: 6px;
}
.comparison-row {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  break-inside: avoid;
}
.comparison-label,
.comparison-value {
  min-width: 0;
  overflow-wrap: anywhere;
}
.comparison-value {
  min-width: 24px;
  max-width: 10rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.comparison-track {
  display: block;
  height: 12px;
  position: relative;
  margin-inline: 4px;
}
.comparison-stem,
.comparison-bar,
.comparison-dot,
.comparison-baseline {
  position: absolute;
}
.comparison-stem {
  top: 5px;
  height: 2px;
  background: var(--line-strong);
}
.comparison-dot {
  top: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--chart-solo-soft);
}
.comparison-baseline {
  top: 0;
  height: 12px;
  border-left: 1px solid var(--line);
}
.comparison-row[data-emphasis] .comparison-dot,
.comparison-row[data-emphasis] .comparison-bar {
  background: var(--chart-s1);
}
.comparison-row[data-emphasis] .comparison-label,
.comparison-row[data-emphasis] .comparison-value,
.comparison-pair[data-emphasis] > .comparison-label {
  font-weight: 600;
}
.comparison-axis {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-strong);
  padding-top: 6px;
  margin-left: calc(13rem + 12px);
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.comparison-axis > span:nth-child(2) {
  text-align: center;
}
.comparison-axis > span:last-child {
  text-align: right;
}
.comparison-multiples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 24px;
}
.comparison-cell {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}
.comparison-cell > h4 {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.comparison-rows {
  display: grid;
  gap: 6px;
}
.comparison-cell .comparison-row {
  grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) auto;
}
.comparison-cell .comparison-axis {
  margin-left: calc(9rem + 12px);
}
.comparison-bar {
  top: 2px;
  height: 8px;
  background: var(--chart-solo-soft);
  border-radius: 2px;
}
.comparison-dumbbell {
  gap: 16px;
}
.comparison-pair {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  break-inside: avoid;
}
.comparison-pair-body {
  min-width: 0;
  padding-inline: 6px;
}
.comparison-pair-track {
  position: relative;
  height: 32px;
}
.comparison-pair-track[data-crowded] {
  height: 12px;
}
.comparison-pair-track .comparison-stem {
  top: auto;
  bottom: 5px;
}
.comparison-point {
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateX(-50%);
}
.comparison-point-value {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-variant-numeric: tabular-nums;
}
.comparison-point-value[data-edge="start"] {
  transform: none;
}
.comparison-point-value[data-edge="end"] {
  transform: translateX(-100%);
}
.comparison-chart [data-series="strong"]:not(.comparison-pair-values > span) {
  background: var(--chart-s1);
}
.comparison-chart [data-series="soft"]:not(.comparison-pair-values > span) {
  background: var(--chart-solo-soft);
  border: 1px solid var(--chart-s1);
}
.comparison-pair-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.comparison-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-left: calc(13rem + 12px);
}
.comparison-key > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow-wrap: anywhere;
}
.comparison-key i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
@media (max-width: 640px) {
  .comparison-row,
  .comparison-cell .comparison-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .comparison-row > .comparison-label {
    grid-column: 1 / -1;
  }
  .comparison-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .comparison-axis,
  .comparison-cell .comparison-axis,
  .comparison-key {
    margin-left: 0;
  }
}
@media (max-width: 959px) {
  .comparison-multiples {
    gap: 16px;
  }
}
@media print {
  .comparison-chart {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .comparison-multiples {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* The head sits in the eight-column reading track; the track, not a second measure, sets its line. */
.report-section-authored > .report-section-head,
.report-section-authored > .brief-guardrails {
  grid-column: 1 / span 8;
}
.report-section-head > h2 {
  margin: 0;
  overflow-wrap: anywhere;
}
.report-layout .report-section-head > h2,
.report-layout .foundation-tile h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: var(--ls-title);
  line-height: 1.2;
}
.report-section-head > p {
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}
/* The kicker is aius.co's .h-section label. */
.report-section-head > .section-kicker,
.foundation-tile > .section-kicker {
  color: var(--caps-ink);
  font-family: var(--caps-font);
  font-size: var(--caps-size);
  font-weight: var(--caps-weight);
  letter-spacing: var(--ls-caps);
  line-height: var(--caps-line);
  text-transform: uppercase;
}
.report-section-head > .standfirst {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.report-layout .report-section-head > .standfirst {
  font-size: 14.5px;
  line-height: 1.55;
}
.widgets {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.report-layout .widgets {
  row-gap: 16px;
}
.widget-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}
.report-layout .widget-row {
  row-gap: 16px;
}
.widget-row[data-span="8"] {
  grid-column: 1 / span 8;
}
.widget-row[data-columns="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.widget-row[data-columns="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.widget-row[data-columns="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.widget-row > .widget[data-weight] {
  grid-column: auto;
}
.widget {
  grid-column: span 12;
  min-width: 0;
  overflow-wrap: anywhere;
}
/* The weight decides the line; a second measure inside a section does not (Dmytro, 2026-09-18). */
.widget .prose {
  max-width: none;
}
/* One card, aius.co's .dv .card: a block the reader steps out of the argument to consult is white,
   edged by one hairline, 14px corners, flat. A card never nests. */
/* A widget inside another card is a row of that card, never a second card. */
.widget[data-card]:not(.foundation-fold .widget),
.widget-row.kpi-band,
.question,
.foundation-fold,
.report-section > .widgets .method-evidence,
.outputs-view .method-evidence,
.check-list,
.source-index {
  background: var(--card-ground, var(--bg));
  /* Evidence has to stand out from the argument around it: a firm edge, still flat as aius.co cards are. */
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.widget[data-card]:not(.foundation-fold .widget),
.widget-row.kpi-band {
  padding: 18px;
}
.widget-row.kpi-band > .widget[data-card] {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.figure-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.figure-head > div {
  min-width: 0;
}
.figure-head + * {
  margin-top: 14px;
}
/* Figure heads are aius.co's .card-title and .card-sub. */
.report-layout .widget .figure-head h3,
.report-layout .widget .figure-head h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}
.figure-head .annotation {
  margin: 2px 0 0;
  font-size: 12px;
}
/* A link that leaves the page says so; words are the accent, glyphs are muted. */
.object-link {
  align-items: baseline;
  color: var(--fg-muted);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  gap: 6px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
.object-link::after {
  content: "\2197";
}
.object-link:hover {
  text-decoration: underline;
}
.widget > .notebook-source {
  display: block;
  margin-top: 12px;
}
.figure-head > .notebook-source {
  flex-shrink: 0;
}
.chart-unavailable {
  display: grid;
  gap: 12px;
  color: var(--fg);
  font-size: 13.5px;
  line-height: 1.55;
}
@media (min-width: 960px) {
  .widget-row[data-columns="1"] > .widget[data-card]:has(> .chart-unavailable) {
    grid-column: 1 / span 8;
  }
  .widget-row[data-columns="1"]:has(> .widget[data-card] > .chart-unavailable) {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}
.chart-unavailable p {
  margin: 8px 0 0;
}
.widget[data-weight="reading"] {
  grid-column: span 8;
}
.widget[data-weight="half"] {
  grid-column: span 6;
}
.widget[data-weight="compact"] {
  grid-column: span 4;
}
.widget[data-weight="micro"] {
  grid-column: span 3;
}
.widget h3 {
  margin-bottom: 8px;
}
.report-layout .widget h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 12px;
}
.metric {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: var(--ls-title);
  font-variant-numeric: tabular-nums;
}
.metric small {
  font-size: 13px;
  font-weight: 400;
}
/* Callouts are aius.co's .dv .callout: a tinted ground, a tinted hairline, 10px corners, flat. */
.callout {
  --callout-ground: var(--surface);
  --callout-ink: var(--fg-muted);
  --callout-rule: var(--line);
  align-content: start;
  background: var(--callout-ground);
  border: 1px solid var(--callout-rule);
  border-radius: var(--radius-md);
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  isolation: isolate;
  overflow: hidden;
  padding: 14px 16px;
  position: relative;
  row-gap: 8px;
  font-size: 13px;
  line-height: 1.55;
}
.callout[data-tone="caution"] {
  --callout-ground: var(--warning-bg);
  --callout-ink: var(--warning-fg);
  --callout-rule: var(--warning-line);
}
.callout[data-tone="judgement"] {
  --callout-ground: var(--brand-wash);
  --callout-ink: var(--brand);
  --callout-rule: rgb(var(--brand-rgb) / 0.18);
}
.callout[data-tone="flag"] {
  --callout-ground: var(--danger-bg);
  --callout-ink: var(--danger-fg);
  --callout-rule: var(--danger-line);
}
.callout-head {
  display: grid;
  grid-area: 1 / 1 / 2 / -1;
  position: relative;
  row-gap: 4px;
  z-index: 1;
}
.callout-body {
  display: grid;
  gap: 8px;
  grid-area: 2 / 1;
  position: relative;
  z-index: 1;
}
.callout p,
.callout .callout-title {
  margin: 0;
  max-width: none;
}
.callout-kicker {
  color: var(--callout-ink);
  font-family: var(--caps-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}
.callout[data-tone="neutral"] .callout-kicker {
  color: var(--fg-muted);
}
.report-layout .callout .callout-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  text-wrap: balance;
}
/* aius.co's callouts carry no artwork. */
.callout-mark {
  display: none !important;
  align-items: center;
  align-self: stretch;
  color: var(--callout-ink);
  display: flex;
  grid-area: 2 / 2 / 3 / 3;
  inline-size: 620px;
  justify-content: center;
  justify-self: end;
  margin-inline-end: -200px;
  margin-inline-start: calc(32px - 220px);
  min-block-size: 140px;
  opacity: 0.22;
  overflow: hidden;
  pointer-events: none;
  position: relative;
  z-index: 0;
}
.callout-mark svg {
  block-size: 310px;
  inline-size: 100%;
  inset-block-start: 50%;
  position: absolute;
  translate: 0 -50%;
}
@container (max-width: 736px) {
  .callout-mark {
    display: none;
  }
}
.callout-body .prose > p + p {
  margin-top: 8px;
}
.chart-frame {
  height: 300px;
  position: relative;
  width: 100%;
  margin: 16px 0;
}
.chart-frame canvas {
  width: 100% !important;
  height: 100% !important;
}
.general-chart {
  display: flex;
  flex-direction: column;
  margin: 0;
}
/* Axis titles read like a chart's own labels: the value axis above the plot, the other centred under its
   ticks. The range each band also names stays for assistive technology; the ticks already show it. */
.general-chart > .chart-axis-bands {
  display: contents;
}
.general-chart .chart-axis-band,
.general-chart .chart-axis-band[data-grouped] {
  display: block;
  border: 0;
  padding: 0;
  margin: 6px 0 0;
  color: var(--fg-muted);
  font-size: 12px;
  text-align: center;
}
.general-chart .chart-axis-band[data-axis="y"] {
  order: -1;
  margin: 0 0 10px;
  text-align: left;
}
.general-chart .chart-axis-band > span:first-child,
.general-chart .chart-axis-band > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.distribution-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 16px 24px;
  margin: 20px 0 0;
}
.distribution-stats dt {
  color: var(--fg-muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.distribution-stats dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.chart-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--chart-axis);
}
.chart-tick {
  position: absolute;
  display: block;
  font-size: 11px;
  line-height: 16px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.chart-axis-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line-2);
  padding: 6px 0;
  color: var(--fg-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.chart-axis-band span:nth-child(2) {
  text-align: center;
}
.chart-axis-band[data-grouped] {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  row-gap: 4px;
}
.chart-axis-band[data-grouped] span:nth-child(2) {
  grid-column: 1 / -1;
  grid-row: 1;
}
.chart-axis-band span:last-child {
  text-align: right;
}
.chart-series {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0;
  margin: 12px 0;
  list-style: none;
  font-size: 12px;
}
.chart-series li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.chart-series li[data-subject] {
  font-weight: 600;
}
/* Series keys are aius.co's pixel swatches. */
.chart-series i {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}
.chart-records {
  container: chart-records / inline-size;
  margin: 16px 0;
}
.chart-records h4 {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 8px;
}
.chart-records .annotation {
  margin: 0 0 8px;
}
.chart-series [data-chart-series],
.chart-data [data-chart-point] {
  cursor: pointer;
}
.chart-series [data-pointed] span,
.chart-data [data-pointed] td:first-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.boxplot-group {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.boxplot-group h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.boxplot-group[data-pointed] h4 {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.boxplot-group dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr));
  gap: 12px 20px;
  margin: 0;
}
.boxplot-group dt {
  font-size: 12px;
  color: var(--fg-muted);
}
.boxplot-group dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.chart-series [data-muted] i {
  background: var(--line-strong) !important;
}
.general-chart canvas:focus-visible,
.chart-series [data-chart-series]:focus-visible,
.chart-data [data-chart-point]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}
.heatmap-scroll {
  max-height: 480px;
  margin-top: 16px;
}
.heatmap-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.heatmap-scroll td,
.heatmap-scroll th {
  min-width: 72px;
  max-width: 240px;
  overflow-wrap: anywhere;
}
.heatmap-scroll tbody th {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg);
  background: none;
}
.heatmap-scroll .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.heatmap-unannotated {
  opacity: 0;
}
.heatmap-scale {
  margin-top: 16px;
}
.heatmap-ramp {
  height: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(to right, color-mix(in srgb, var(--heat-seq) 10%, var(--bg)), var(--heat-seq));
}
.heatmap-scale[data-scale="diverging"] .heatmap-ramp {
  background: linear-gradient(
    to right,
    var(--heat-low),
    color-mix(in srgb, var(--heat-low) 10%, var(--bg)) 50%,
    color-mix(in srgb, var(--heat-high) 10%, var(--bg)) 50%,
    var(--heat-high)
  );
}
.heatmap-scale-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px;
  padding-top: 6px;
  font-size: 11px;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.heatmap-scale-values span:nth-child(2) {
  text-align: center;
}
.heatmap-scale-values span:last-child {
  text-align: right;
}
.widget table {
  min-width: 360px;
}
/* Scrolling past the end of a table carries on down the page; only sideways scrolling stays in the table, so a
   trackpad swipe there never turns into the browser's back gesture. */
.report-table-scroll {
  margin-top: 14px;
  overflow: auto;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}
.report-layout .report-table-scroll {
  margin-top: 14px;
}
/* Report tables are aius.co's .tbl: 12.5px rows on hairlines, small uppercase heads. */
.report-data-table {
  font-size: 12.5px;
  line-height: 1.45;
  border-collapse: separate;
  border-spacing: 0;
}
.report-layout .report-data-table {
  font-size: 12.5px;
  line-height: 1.45;
}
.report-data-table th,
.report-data-table td {
  padding: 9px 12px;
}
.report-layout .report-data-table th,
.report-layout .report-data-table td {
  padding-block: 9px;
}
/* The sticky head takes the card's own fill. */
.report-data-table thead {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1;
  border-bottom: 1px solid var(--line);
}
.report-data-table thead th {
  background: var(--bg);
}
.report-data-table tbody > tr > * {
  border-bottom: 0;
}
.report-data-table tbody > tr + tr > * {
  border-top: 1px solid var(--line);
}
.report-data-table thead th {
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.report-layout .report-data-table thead th {
  font-size: 11px;
}
.report-data-table thead td {
  background: var(--bg);
}
.report-data-table thead tr:last-child > * {
  border-bottom-color: var(--line);
}
.report-data-table tbody th {
  font-size: 12.5px;
  font-weight: 500;
  background: none;
  color: var(--fg);
}
.report-layout .report-data-table tbody th {
  font-size: 12.5px;
}
.report-data-table tr[data-self] th,
.report-data-table tr[data-self] td,
.chart-data tr[data-self] td {
  font-weight: 600;
}
.report-data-table [data-numeric] {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.report-data-table [data-mono] {
  font-family: var(--font-code);
}
/* The controls sit on the table's title line, at the right of the card, not on a row of their own. */
.table-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.widget[data-card]:has(> [data-report-table] > .table-controls) {
  position: relative;
}
.widget[data-card] > [data-report-table] > .table-controls {
  position: absolute;
  top: 14px;
  right: 14px;
}
.widget[data-card]:has(> [data-report-table] > .table-controls) > .figure-head {
  padding-right: 150px;
}
.table-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}
.table-control .icon {
  width: 14px;
  height: 14px;
}
.table-control[aria-expanded="true"] {
  border-color: var(--brand-line);
  color: var(--brand);
}
.table-sort {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: inherit;
  white-space: nowrap;
}
.table-sort .icon {
  flex-shrink: 0;
}
.table-filters input {
  min-width: 90px;
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}
.table-register {
  font-size: 12px;
  margin-left: 8px;
  color: var(--fg-muted);
}
.table-error {
  color: var(--danger);
  font-size: 13px;
}
.aggregate-section th {
  border-top: 1px solid var(--line-strong);
}
@media print {
  .report-table-scroll {
    max-height: none !important;
    overflow: visible;
    display: contents;
  }
  .report-data-table thead {
    position: static;
    display: table-header-group;
    break-inside: avoid;
    z-index: auto;
  }
  .report-data-table tr {
    break-inside: avoid;
  }
  .report-data-table {
    min-width: 0 !important;
    margin-top: 20px;
  }
  /* Flex boxes inside headers prevent Chromium's repeated print headers. */
  .table-sort {
    display: contents;
  }
  .table-controls,
  .table-filters,
  .table-sort .icon,
  .table-export-note {
    display: none !important;
  }
}
/* Source-first foundation, following the September 3 prototype revision. */
.foundation-fold {
  overflow: visible;
  padding: 0;
  scroll-margin-top: 24px;
}
/* A section-rank disclosure: the whole tile is the control and its mark sits centred at the foot. */
.foundation-tile {
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  font-weight: 400;
  padding: 24px 24px 12px;
  user-select: none;
}
.foundation-fold[open] > .foundation-tile {
  padding-bottom: 24px;
}
.foundation-tile:focus-visible,
.source-head:focus-visible {
  box-shadow: 0 0 0 3px rgb(46 0 156 / 0.12);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.foundation-control {
  justify-self: center;
  margin-block-start: 16px;
}
.foundation-fold[open] > .foundation-tile > .foundation-control {
  display: none;
}
.foundation-tile::-webkit-details-marker,
.source-head::-webkit-details-marker {
  display: none;
}
.foundation-tile h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: var(--ls-title);
}
.foundation-tile > .section-kicker {
  display: block;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.foundation-deck {
  display: block;
  margin-top: 8px;
}
.foundation-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 16px;
}
.foundation-metrics > span,
.source-head > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.foundation-metric-label,
.foundation-metric-note,
.foundation-metrics strong {
  display: block;
}
.foundation-metric-label,
.foundation-metric-note {
  font-size: 12px;
  color: var(--fg-muted);
}
/* Foundation figures are aius.co's KPI values. */
.foundation-metrics strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: var(--ls-title);
  font-variant-numeric: tabular-nums;
  margin: 4px 0;
}
.foundation-close-row {
  margin: 4px 0 0;
  text-align: center;
}
.foundation-close {
  background: none;
  border: 0;
  border-radius: 999px;
  min-height: 24px;
  padding: 0;
}
.foundation-close:hover:not(:disabled) {
  background: none;
}
.foundation-fold > .foundation-body {
  margin: 0;
  padding: 0 24px 12px;
}
@media (max-width: 959px) {
  .foundation-tile {
    padding: 20px 20px 12px;
  }
  .foundation-fold[open] > .foundation-tile {
    padding-bottom: 20px;
  }
  .foundation-control {
    margin-block-start: 16px;
  }
  .foundation-fold > .foundation-body {
    padding: 0 20px 12px;
  }
}
.source-controls,
.source-alert-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.source-controls {
  justify-content: flex-end;
  margin-bottom: 12px;
}
.source-toggle-all,
.source-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--link);
  font-size: 12px;
  font-weight: 500;
  text-underline-offset: 4px;
}
.source-toggle-all:hover:not(:disabled),
.source-copy:hover:not(:disabled) {
  background: none;
  text-decoration: underline;
}
.foundation-sources,
.source-alert-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.foundation-source {
  border-block-start: 1px solid var(--line);
  padding: 16px 0;
}
.source-head {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto auto;
  align-items: baseline;
  column-gap: 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 400;
  user-select: none;
}
.source-head > .disclosure-mark {
  align-self: center;
  grid-area: 1 / 1;
}
.source-head h3 {
  font-size: 13.5px;
  font-weight: 500;
  grid-area: 1 / 2;
  line-height: 1.55;
  margin: 0;
}
/* A row states its state once, in aius.co pills at its right end. */
.source-flag,
.source-quality {
  align-items: center;
  align-self: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  justify-self: end;
  line-height: 1.45;
  min-height: 22px;
  padding: 0 8px;
  white-space: nowrap;
}
.source-flag {
  background: var(--warning-bg);
  border-color: var(--line);
  color: var(--warning-fg);
}
.foundation-source[data-flagged="true"] .source-quality {
  background: var(--warning-bg);
  color: var(--warning-fg);
}
.source-meta {
  font-size: 12px;
  color: var(--fg-muted);
}
.source-description,
.source-meta,
.source-alert-signals {
  grid-column: 2 / -1;
  margin-top: 6px;
}
.source-description {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}
.source-meta {
  margin-top: 8px;
}
@media (max-width: 959px) {
  .source-head {
    grid-template-columns: 24px minmax(0, 1fr);
  }
  .source-flag,
  .source-quality {
    grid-column: 2 / -1;
    justify-self: start;
    margin-top: 6px;
  }
}
.source-alert-signals {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--fg-muted);
}
.source-alert-signals strong {
  font-weight: 500;
  text-transform: capitalize;
}
.foundation-provenance {
  margin-top: 32px;
}
.source-body {
  border-top: 1px solid var(--line);
  margin-inline-start: 40px;
  margin-top: 16px;
  padding-top: 16px;
}
.source-body h4,
.foundation-standing h4 {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}
.source-alert-list li {
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.source-alert-label {
  margin-bottom: 4px;
  font-size: 13px;
}
.source-alert-label strong {
  text-transform: capitalize;
}
.source-alert-list p:last-child {
  margin-bottom: 0;
}
.source-copy-status {
  color: var(--fg-muted);
  font-size: 13px;
}
.source-copy-status:empty {
  display: none;
}
.source-profile,
.source-object,
.source-field-use,
.source-lineage {
  margin-top: 16px;
}
.source-field-use {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  overflow-wrap: anywhere;
}
.source-field-use ul {
  padding-left: 20px;
  font-size: 13px;
}
.source-object {
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  padding: 16px 0 0;
}
.source-lineage-table th[scope="rowgroup"] {
  vertical-align: top;
}
.profile-table > tbody > tr > th {
  text-align: left;
  font-weight: 500;
}
.widget .profile-table {
  min-width: 720px;
}
.profile-observations .table-scroll table {
  min-width: 0;
  table-layout: fixed;
}
.profile-table .kpi-spark {
  width: 180px;
  height: 56px;
}
.profile-table .kpi-spark-range {
  max-width: 220px;
}
@media print {
  .widget .profile-table {
    min-width: 0;
    table-layout: fixed;
  }
  .profile-table .kpi-spark {
    width: 100%;
  }
  .profile-table > tbody > tr {
    break-inside: avoid;
  }
  .widget:has(.profile-columns) {
    break-inside: auto;
  }
}
.source-lineage {
  margin-top: 24px;
}
.source-lineage h4 {
  color: var(--caps-ink);
  font-family: var(--caps-font);
  font-size: var(--caps-size);
  font-weight: var(--caps-weight);
  letter-spacing: var(--ls-caps);
  line-height: var(--caps-line);
  text-transform: uppercase;
}
.source-object-body {
  min-width: 0;
  padding: 16px 0 0;
}
.foundation-evidence {
  margin-top: 32px;
}
.foundation-standing {
  display: block;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.4;
  margin-top: 16px;
  padding-top: 16px;
  overflow-wrap: anywhere;
}
.foundation-standing b {
  font-weight: 600;
}
.standing-references {
  display: block;
  margin-top: 8px;
  color: var(--fg-muted);
}
.data-foundation [id] {
  scroll-margin-top: 72px;
}
/* Outline anchors land under the mast at the gap the outline measures; this follows the foundation
   default so a folded widget lands where a section does. */
[data-document-outline] .widget,
[data-document-outline] .report-section {
  scroll-margin-top: var(--outline-anchor-gap, 0px);
}
.foundation-standing > div {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}
@media (max-width: 959px) {
  .data-foundation,
  .data-foundation [id] {
    scroll-margin-top: 120px;
  }
}
@media (max-width: 767px) {
  .foundation-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media print {
  .foundation-fold {
    background: none;
  }
  .foundation-tile,
  .foundation-fold > .foundation-body {
    padding: 0;
  }
  .foundation-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    break-inside: avoid;
  }
  .foundation-control,
  .foundation-close-row,
  .foundation-body > .source-controls,
  .source-copy,
  .source-copy-status,
  .source-head > .disclosure-mark {
    display: none;
  }
  .source-head {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .source-head > h3 {
    grid-area: 1 / 1;
  }
  .source-description,
  .source-meta,
  .source-alert-signals {
    grid-column: 1 / -1;
  }
  .source-body {
    margin-inline-start: 0;
  }
  .source-head,
  .source-alert-heading,
  .source-profile > summary {
    break-after: avoid;
  }
  .source-alerts,
  .source-profile .widget {
    break-inside: auto;
  }
  .source-profile .table-scroll table {
    table-layout: fixed;
    min-width: 0;
    width: 100%;
  }
  .source-profile th,
  .source-profile td {
    overflow-wrap: anywhere;
  }
}
.quality-list {
  list-style: none;
  padding: 0;
}
.quality-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.quality-list strong {
  display: block;
}
.check-list {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0 24px;
}
/* Each row carries its own top rule; the card edge closes the list. The state is read first and
   placed last, as one chip at the row's right end (Dmytro, 2026-09-18). */
.check-list li {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 16px 0;
}
.check-list li + li {
  border-top: 1px solid var(--line);
}
.check-list li > div {
  grid-area: 1 / 1;
}
/* Check states are aius.co's solid pills. */
.report .check-state {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  grid-area: 1 / 2;
  justify-self: end;
  line-height: 1.45;
  margin: 0;
  min-height: 22px;
  padding: 0 8px;
  white-space: nowrap;
}
.check-list [data-result="ok"] .check-state {
  background: var(--success-bg);
  color: var(--success-fg);
}
.check-list [data-result="warn"] .check-state {
  background: var(--warning-bg);
  color: var(--warning-fg);
}
.check-list [data-result="fail"] .check-state {
  background: var(--danger-bg);
  color: var(--danger-fg);
}
.report .check-list h3,
.report .brief-guardrails h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}
.report .check-list div p {
  color: var(--fg-muted);
  margin: 4px 0 0;
}
.report .check-list div p:not(.evidence-absence) {
  font-size: 12.5px;
}
/* Tier A: a block of the document takes the card; its mark sits at the right end of the head. */
.method-evidence {
  margin-top: 24px;
  padding: 0;
}
/* Only the disclosure's own head: summaries nested inside it (the evidence map's folders) keep their own layout. */
.method-evidence > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  column-gap: 16px;
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  padding: 0 18px;
  font-size: 13px;
  line-height: 1.45;
  user-select: none;
}
.method-evidence > summary::-webkit-details-marker {
  display: none;
}
.method-evidence > summary:focus-visible {
  box-shadow: 0 0 0 3px rgb(46 0 156 / 0.12);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.method-evidence > summary + * {
  border-block-start: 1px solid var(--line);
}
.method-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.method-heading > span:first-child {
  font-weight: 600;
}
.method-heading .annotation {
  line-height: 1.4;
  font-weight: 400;
}
.method-steps {
  padding: 16px 18px 18px;
  font-size: 13.5px;
}
.method-evidence > .method-steps {
  margin-top: 0;
}
.method-steps ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}
.method-steps p {
  margin: 0;
}
/* aius.co's .keynums block. */
.method-key-numbers {
  display: block;
  font-family: var(--font-code);
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  background: var(--surface);
  border-radius: 8px;
  padding: 10px 12px;
}
.method-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.evidence-unavailable > .annotation {
  display: block;
}
@media (max-width: 719px) {
  .check-list {
    padding: 0 16px;
  }
}
@media print {
  .check-list li,
  .method-steps li {
    break-inside: avoid;
  }
}
.kpi-band {
  gap: 16px 24px;
}
.kpi-band > .widget[data-weight] {
  grid-column: auto;
}
.report-kpi {
  display: grid;
  gap: 8px;
}
.report-kpi p {
  margin: 0;
}
/* KPI tiles are aius.co's .kpi: a 12px muted label, a 24px 600 value, a 12px delta. */
.kpi-label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--fg-muted);
  font-size: 12px;
  min-height: 34px;
}
.kpi-label > .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}
.kpi-label > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.kpi-value,
.gauge-value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: var(--ls-title);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.kpi-unit,
.kpi-delta {
  color: var(--fg-muted);
  font-size: 12px;
}
.kpi-delta {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.kpi-delta > span:first-child {
  align-self: start;
  display: inline-flex;
}
.kpi-delta .icon {
  width: 16px;
  height: 18px;
}
.kpi-spark {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 56px;
}
.kpi-spark-data {
  font-size: 13px;
  min-width: 0;
}
.kpi-spark-data .table-scroll table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
}
.kpi-spark-data th,
.kpi-spark-data td {
  overflow-wrap: anywhere;
}
.report-gauge {
  max-width: 480px;
  margin: 0;
}
.report-gauge p {
  margin: 8px 0;
}
.gauge-plot {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 13 / 10;
}
.gauge-bounds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin: 0;
}
.gauge-bounds dt,
.stat-test-facts dt {
  font-size: 12px;
  color: var(--fg-muted);
}
.gauge-bounds dd,
.stat-test-facts dd {
  margin: 4px 0 0;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.gauge-limit {
  font-size: 14px;
  font-weight: 600;
}
.stat-test-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 16px 24px;
  margin: 0 0 24px;
}
.stat-test-facts > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.stat-test-facts dd {
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 959px) {
  .widget-row[data-span] {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
  }
  .widget-row.kpi-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .widget-row.kpi-band[data-columns="3"] {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 479px) {
  .report-section {
    margin-top: 32px;
  }
  .report-layout .report-section {
    margin-top: 32px;
  }
  .report-layout .report-section-authored,
  .report-layout .widgets,
  .report-layout .widget-row {
    row-gap: 16px;
  }
  .widget-row.kpi-band {
    grid-template-columns: 1fr;
  }
}
@media print {
  .widget-row[data-span] {
    grid-column: 1 / -1;
    display: block;
  }
  .widget-row > .widget + .widget {
    margin-top: 24px;
  }
  .kpi-band:has(.kpi-spark-data) {
    display: block;
  }
  .kpi-band:has(.kpi-spark-data) > .widget {
    margin-bottom: 24px;
  }
  .widgets:has(.funnel-widget),
  .widgets:has(.kpi-spark-data) {
    display: block;
  }
  .funnel-widget,
  .widget:has(.kpi-spark-data) {
    break-inside: auto;
  }
  .report-kpi {
    display: block;
  }
  .report-kpi > * {
    margin-top: 8px;
  }
  .kpi-label {
    min-height: 0;
  }
  .funnel-widget .general-chart,
  .report-gauge,
  .stat-test-facts,
  .kpi-spark {
    break-inside: avoid;
  }
  .kpi-spark-data > summary,
  .kpi-spark-range,
  .kpi-label,
  .kpi-value,
  .kpi-unit,
  .kpi-delta {
    break-after: avoid;
  }
  .funnel-widget table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }
  .funnel-widget td,
  .funnel-widget th {
    overflow-wrap: anywhere;
  }
}
/* The map rides in the layout's own right-hand column, so it stays beside the document however the page is
   centred or narrowed: 16px toward the prose, the rest of the column toward the edge. */
.outline {
  position: sticky;
  top: max(calc(var(--outline-mast-bottom, 49px) + 16px), calc(50dvh - 168px));
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  /* Up by half the layout's 32px top padding, so it starts 16px under the mast as the sticky offset expects. */
  margin: -16px 0 0 16px;
  z-index: 5;
  width: 56px;
  height: 336px;
  max-height: calc(100dvh - var(--outline-mast-bottom, 49px) - 32px);
  overflow: visible;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.outline a {
  display: block;
  position: relative;
  border-block: 1px solid transparent;
  border-block-width: var(--outline-segment-border, 1px);
  padding: 0 4px;
  color: var(--fg-muted);
}
.outline-ink {
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 2px);
}
.outline a[data-depth="2"] .outline-ink {
  width: 80%;
}
.outline a[aria-current="location"] {
  color: var(--brand);
}
.outline a[data-highlighted] {
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.outline a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.outline-viewport {
  position: absolute;
  left: 0;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  pointer-events: none;
}
.outline-label {
  position: absolute;
  width: max-content;
  max-width: 280px;
  overflow-wrap: anywhere;
  right: calc(100% + 8px);
  transform: translateY(-50%);
  padding: 6px 10px;
  background: var(--tip-bg);
  color: var(--tip-fg);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
}
.mobile-contents {
  display: none;
}
.mobile-contents a[data-depth="2"] {
  margin-left: 16px;
}
.mobile-contents a[aria-current="location"] {
  color: var(--brand);
  font-weight: 600;
}
.sources li {
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.source-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px 18px;
}
.source-index article {
  --entry-inset: 0px;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  display: grid;
  gap: 4px 16px;
  grid-template-columns: 24px minmax(0, 1fr);
  padding: 16px 0;
  position: relative;
  overflow-wrap: anywhere;
  break-inside: avoid;
}
.source-index article:nth-child(odd) {
  padding-right: 20px;
}
.source-index article:nth-child(even) {
  --entry-inset: 20px;
  padding-left: var(--entry-inset);
}
.source-index article:nth-last-child(-n + 2):nth-child(odd),
.source-index article:last-child {
  border-bottom: 0;
}
.source-index article:target::after {
  background: var(--brand);
  content: "";
  inline-size: 2px;
  inset-block: 0;
  inset-inline-start: calc(var(--entry-inset) - 12px);
  position: absolute;
}
.presentation-sources {
  padding: 24px;
}
.presentation-sources .report-section {
  margin: 20px 0 0;
}
.presentation-sources h2 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.presentation-sources article:focus {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.presentation-slide sup a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.source-index article > span {
  color: var(--fg-muted);
  font-size: 11px;
  grid-row: 1 / 4;
  line-height: 1.4;
}
.source-index article > strong {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
}
.source-index article > small,
.source-index article > em {
  color: var(--fg-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}
.source-index article > em {
  color: var(--fg-subtle);
}
@media (max-width: 719px) {
  .source-index {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 16px;
  }
  .source-index article:nth-child(n) {
    --entry-inset: 0px;
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .source-index article:nth-last-child(-n + 2):nth-child(odd):not(:last-child) {
    border-bottom: 1px solid var(--line);
  }
}
.session-transcript {
  max-width: 72ch;
  min-width: 0;
}
.session-table-scroll {
  overflow-x: auto;
  margin-bottom: 16px;
}
.session-table-scroll th,
.session-table-scroll td {
  min-width: 120px;
}
.session-table-print {
  display: none;
}
.session-table-scroll:focus-visible,
.session-reader pre:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.session-message {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.session-message .speaker {
  color: var(--caps-ink);
  font-family: var(--caps-font);
  font-size: var(--caps-size);
  font-weight: var(--caps-weight);
  letter-spacing: var(--ls-caps);
  line-height: var(--caps-line);
  text-transform: uppercase;
  margin-bottom: 12px;
}
@media (max-width: 1279px) {
  .report-layout {
    display: block;
    padding-right: var(--gutter);
  }
  .outline {
    display: none;
  }
  /* Below the outline's breakpoint the contents sit under the title as a quiet box (Dmytro, 2026-09-18). */
  .mobile-contents {
    background: var(--surface);
    border: 0;
    border-radius: var(--radius-md);
    display: block;
    margin: 0 0 32px;
    padding: 12px 16px;
  }
  .mobile-contents a {
    border-radius: var(--radius-sm);
    color: var(--fg-muted);
    display: block;
    font-size: 13px;
    margin-top: 2px;
    padding: 6px 8px;
    text-decoration: none;
  }
  .mobile-contents a:hover {
    background: var(--bg);
    color: var(--fg);
  }
  .mobile-contents[open] > summary {
    margin-bottom: 8px;
  }
  .summary-grid {
    gap: 24px;
  }
  .questions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 959px) {
  .report-section-authored > .report-section-head,
  .report-section-authored > .brief-guardrails {
    grid-column: 1 / -1;
  }
  .summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .summary-lead,
  .why {
    grid-column: 1 / -1;
  }
  .questions,
  .questions[data-count] {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .dateline {
    margin-bottom: 24px;
  }
}
@media (max-width: 719px) {
  .questions,
  .questions[data-count] {
    gap: 20px;
  }
}
@media (max-width: 599px) {
  .report h1,
  .report-layout .report #summary > h1 {
    font-size: 24px;
  }
  .summary-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .questions,
  .questions[data-count] {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .widget[data-weight] {
    grid-column: span 12;
  }
  .table-scroll table {
    min-width: 500px;
  }
  .chart-frame {
    height: 250px;
  }
}
@media print {
  .session-reader .prose,
  .session-reader pre {
    overflow: visible;
  }
  .session-reader pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .session-reader table {
    table-layout: fixed;
  }
  .session-reader th,
  .session-reader td {
    padding: 6px;
    min-width: 0;
  }
  .session-table-scroll {
    overflow: visible;
  }
  .session-table-scroll[data-print-rows] {
    display: none;
  }
  .session-table-print {
    display: block;
  }
  .session-table-print > p {
    break-after: avoid;
  }
  .session-table-print dl {
    margin: 0 0 24px;
  }
  .session-table-print dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
    break-inside: avoid;
  }
  .session-table-print dt {
    color: var(--fg-muted);
  }
  .session-table-print dd {
    margin: 0;
  }
  .session-message .speaker {
    break-after: avoid;
  }
  .report-layout {
    display: block;
  }
  .report-section-authored {
    display: block;
  }
  .report-section-head {
    margin-bottom: 24px;
    break-inside: avoid;
    break-after: avoid;
  }
  .brief-guardrails {
    margin-top: 24px;
  }
  .brief-guardrails > h3,
  .brief-guardrails > .annotation {
    break-after: avoid;
  }
  .source-index {
    display: block;
  }
  .source-index article:nth-child(n) {
    border-left: 0;
    padding-left: 0;
    break-inside: avoid;
  }
  .widget {
    break-inside: avoid;
  }
  .widgets:has([data-report-table]),
  .widgets:has(.distribution-widget),
  .widgets:has(.report-heatmap),
  .widgets:has(.comparison-chart),
  .widgets:has(.boxplot-data) {
    display: block;
  }
  .widgets:has([data-report-table]) > :is(.widget, .widget-row),
  .widgets:has(.distribution-widget) > :is(.widget, .widget-row),
  .widgets:has(.report-heatmap) > :is(.widget, .widget-row),
  .widgets:has(.comparison-chart) > :is(.widget, .widget-row),
  .widgets:has(.boxplot-data) > :is(.widget, .widget-row) {
    margin-bottom: 24px;
  }
  .widget:has([data-report-table]),
  .distribution-widget,
  .widget:has(.report-heatmap),
  .widget:has(.comparison-chart),
  .widget:has(.boxplot-data) {
    break-inside: auto;
  }
  .comparison-chart,
  .comparison-cell,
  .comparison-rows {
    display: block;
  }
  .comparison-row {
    margin-bottom: 6px;
  }
  .comparison-pair {
    margin-bottom: 16px;
  }
  .comparison-cell {
    margin-bottom: 24px;
  }
  .comparison-cell > h4 {
    margin-bottom: 12px;
    break-after: avoid;
  }
  .comparison-axis {
    break-before: avoid;
  }
  .distribution-widget .general-chart,
  .widget:has(.boxplot-data) .general-chart,
  .distribution-stats > div {
    break-inside: avoid;
  }
  .heatmap-has-data .heatmap-matrix {
    display: none;
  }
  .heatmap-scroll {
    max-height: none;
    overflow: visible;
  }
  .heatmap-scroll table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }
  .heatmap-scroll td,
  .heatmap-scroll th {
    min-width: 0;
    max-width: none;
  }
  .heatmap-scroll thead th {
    position: static;
  }
  .heatmap-scroll tr,
  .heatmap-scale {
    break-inside: avoid;
  }
  .boxplot-group dl {
    display: block;
  }
  .boxplot-group dl > div {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
    padding: 4px 0;
  }
  .boxplot-group dd {
    margin: 0;
  }
  .boxplot-group h4 {
    break-after: avoid;
  }
  .report-section > h2,
  .report-section-head > h2,
  .widget > h3 {
    break-after: avoid;
  }
}
/* Dmytro's September 9 deliverable covers; contents never replace the artwork. */
.takeaway {
  container: deliverables / inline-size;
  margin-top: 40px;
  margin-bottom: 24px;
}
/* aius.co's "What's in the box": an .h-section label over flat 14px cards. */
.takeaway > h2 {
  color: var(--caps-ink);
  font-family: var(--caps-font);
  font-size: var(--caps-size);
  font-weight: var(--caps-weight);
  letter-spacing: var(--ls-caps);
  line-height: var(--caps-line);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.takeaway__list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Cards in one row share its height, so a one-line title does not leave a short card beside taller ones; a note
   about the deliverable stays below its card. */
.takeaway-item {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  overflow-wrap: anywhere;
  container: file-tile / inline-size;
}
.takeaway-card {
  --cover-ground: var(--surface);
  flex: 1 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(64px, 1fr) auto;
  inline-size: 100%;
  min-block-size: max(176px, 66.67cqw);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--cover-ground) 45%, var(--bg));
  color: var(--fg);
  text-align: start;
}
.takeaway-card[data-file-kind="presentation"] {
  --cover-ground: #f7e7f0;
}
.takeaway-card[data-file-kind="spreadsheet"] {
  --cover-ground: #ffe2d6;
}
.takeaway-card[data-file-kind="archive"] {
  --cover-ground: #fff6e0;
}
.takeaway-card[data-file-kind="dataset"] {
  --cover-ground: #e6f4ff;
}
@media screen {
  :root[data-theme="dark"] .takeaway-card {
    background: color-mix(in srgb, var(--cover-ground) 12%, var(--bg));
  }
}
.takeaway-card:hover {
  border-color: var(--line-bold);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 4px 16px -8px rgb(0 0 0 / 0.12);
}
.takeaway-card:has(.takeaway-card__download-surface:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
.takeaway-card__download-surface {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.takeaway-card__download-surface:focus-visible {
  outline: 0;
}
.takeaway-card__download-surface[aria-disabled] {
  cursor: not-allowed;
}
.takeaway-card__heading {
  grid-area: 1 / 1 / 2 / 3;
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: start;
  gap: 4px 8px;
  padding: 12px;
}
.takeaway-card__kind {
  flex: 1 1 max-content;
  min-inline-size: 0;
  position: relative;
  margin: 4px 0 0 4px;
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.takeaway-card__footer {
  grid-area: 3 / 1 / 4 / 3;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: end;
}
.takeaway-card__body {
  flex: 1 1 80px;
  min-inline-size: 0;
  display: grid;
  gap: 4px;
  margin: 16px 18px 18px;
}
/* The title is what the reader looks for; the extension and size support it. */
.takeaway-card__name {
  color: var(--fg-muted);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: var(--ls-title);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.takeaway-card__description {
  display: block;
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.takeaway-card__meta {
  display: block;
  color: var(--fg-muted);
  font-size: 12px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.takeaway-pill {
  position: relative;
  max-inline-size: 100%;
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.takeaway-art {
  position: relative;
  grid-area: 2 / 1 / 3 / 3;
  min-height: 64px;
  pointer-events: none;
}
.takeaway-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.55;
  mask-image: linear-gradient(90deg, transparent 15%, #000);
}
.takeaway-art svg {
  position: absolute;
  inset: 0 0 0 auto;
  height: 100%;
  width: 70%;
  color: var(--fg-muted);
  opacity: 0.75;
  stroke-width: 1.6;
}
.takeaway-card__preview {
  position: relative;
  flex: 0 0 auto;
  margin: 8px;
  z-index: 2;
  min-inline-size: 46px;
  block-size: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}
.takeaway-card__preview:hover {
  border-color: var(--line-strong);
  color: var(--fg);
}
@container deliverables (max-width: 760px) {
  .takeaway__list {
    gap: 12px;
  }
  .takeaway-card__name {
    font-size: 24px;
  }
}
@container deliverables (max-width: 559px) {
  .takeaway__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container deliverables (max-width: 279px) {
  .takeaway__list {
    grid-template-columns: minmax(0, 1fr);
  }
}
@container file-tile (max-width: 175px) {
  .takeaway-card__kind {
    flex-basis: 100%;
    margin: 4px;
  }
  .takeaway-art {
    min-height: 48px;
  }
  .takeaway-card__body {
    margin: 12px;
  }
  .takeaway-card__name {
    font-size: 24px;
  }
}
@container file-tile (max-width: 220px) {
  .takeaway-card__preview > span {
    display: none;
  }
  .takeaway-card__preview {
    padding: 0;
  }
}
.evidence-tree {
  display: grid;
  gap: 8px;
  padding: 8px 16px 20px;
}
.model-record > .annotation {
  max-width: 720px;
}
.model-record {
  min-width: 0;
  overflow-wrap: anywhere;
}
.model-record .model-title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  margin: 16px 0 8px;
}
.model-record h4 {
  font-size: 13px;
  font-weight: 600;
  margin: 24px 0 12px;
}
.model-metrics {
  min-width: 580px;
}
.model-metrics .annotation {
  display: block;
}
.model-metric-check {
  display: block;
  margin-top: 4px;
  max-width: 32ch;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: var(--fg-muted);
}
.model-metric-check[data-metric-check="mismatch"] {
  color: var(--fg);
}
.model-charts {
  margin-top: 24px;
}
.model-prose {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.6;
}
.model-prose p {
  white-space: pre-wrap;
}
@media print {
  .model-metrics {
    min-width: 0;
    table-layout: fixed;
  }
  .model-metrics tr {
    break-inside: avoid;
  }
  .model-record h3,
  .model-record h4 {
    break-after: avoid;
  }
}
.presentation-dialog .dialog-heading > div {
  min-width: 0;
}
.presentation-dialog .dialog-heading h2 {
  font-size: 18px;
  overflow-wrap: anywhere;
}
.presentation-dialog .dialog-heading p {
  margin: 4px 0 0;
}
.presentation-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
}
.presentation-outline {
  max-height: 65dvh;
  overflow: auto;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}
.presentation-outline button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 12px 8px;
  font-size: 13px;
  line-height: 1.4;
}
.presentation-outline button span {
  overflow-wrap: anywhere;
}
.presentation-outline button[aria-current="step"] {
  color: var(--fg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--fg);
}
.presentation-stage {
  min-width: 0;
  max-height: 65dvh;
  overflow: auto;
  border: 1px solid var(--line);
}
.presentation-slide {
  aspect-ratio: 16 / 9;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 480px;
  padding: 36px;
  background: var(--bg);
  overflow-wrap: anywhere;
}
.presentation-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--fg-muted);
}
.presentation-marks {
  display: flex;
  gap: 6px;
  flex: none;
}
.presentation-marks i {
  width: 4px;
  height: 4px;
  background: #8cff7b;
}
.presentation-marks i:nth-child(2) {
  background: #3eacff;
}
.presentation-marks i:nth-child(3) {
  background: #ff7bde;
}
.presentation-body {
  flex: 1;
  min-width: 0;
}
.presentation-body > h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: 0;
}
.presentation-slide[data-slide-kind="cover"] .presentation-body,
.presentation-slide[data-slide-kind="statement"] .presentation-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.presentation-slide[data-slide-kind="cover"] h2,
.presentation-slide[data-slide-kind="statement"] h2 {
  font-size: 40px;
  max-width: 24ch;
}
.presentation-accent {
  color: var(--brand);
}
.presentation-sub {
  font-size: 17px;
  line-height: 1.6;
  max-width: 65ch;
  white-space: pre-wrap;
}
.presentation-chips {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: var(--fg-muted);
}
.presentation-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.presentation-body .widget {
  grid-column: auto;
  min-width: 0;
  margin: 0;
}
.presentation-table {
  max-width: 100%;
}
.presentation-table table {
  min-width: 0;
  width: 100%;
}
.presentation-table th,
.presentation-table td {
  white-space: normal;
  overflow-wrap: anywhere;
}
.presentation-bullets {
  padding-left: 24px;
  margin: 24px 0;
  font-size: 20px;
  line-height: 1.6;
}
.presentation-bullets li + li {
  margin-top: 16px;
}
.presentation-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 12px;
  color: var(--fg-muted);
  white-space: pre-wrap;
}
.presentation-footer p {
  margin: 0;
}
.authored-presentation > [role="status"] {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .presentation-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .presentation-outline {
    display: flex;
    gap: 8px;
    max-height: 104px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 8px;
  }
  .presentation-outline button {
    flex: 0 0 180px;
  }
  .presentation-stage {
    max-height: 55dvh;
  }
  .presentation-slide {
    padding: 20px;
    min-height: 360px;
  }
  .presentation-slide[data-slide-kind] h2 {
    font-size: 24px;
  }
  .presentation-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
  .presentation-bullets {
    font-size: 16px;
  }
}
.slide-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  display: grid;
  place-items: center;
}
.slide-stage img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.slide-controls button {
  min-height: 46px;
  min-width: 46px;
}
.dateline .publication-revision {
  flex-basis: 100%;
  justify-content: flex-start;
  padding: 0;
  font-size: inherit;
}

/* Tier B (Dmytro, 2026-09-18): a disclosure that is a row inside another object takes no card and
   one rule; its control leads in a 24px column with a 16px gap. Tier is read off the container. */
:is(
    .chart-data,
    .heatmap-data,
    .kpi-spark-data,
    .profile-columns,
    .profile-observations,
    .mobile-contents,
    .source-object,
    .source-profile,
    .composition-members,
    .brief-preview
  )
  > summary {
  align-items: center;
  column-gap: 16px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  list-style: none;
  user-select: none;
}
:is(
    .chart-data,
    .heatmap-data,
    .kpi-spark-data,
    .profile-columns,
    .profile-observations,
    .mobile-contents,
    .source-object,
    .source-profile,
    .composition-members,
    .brief-preview
  )
  > summary::-webkit-details-marker {
  display: none;
}
:is(
    .chart-data,
    .heatmap-data,
    .kpi-spark-data,
    .profile-columns,
    .profile-observations,
    .mobile-contents,
    .source-object,
    .source-profile,
    .composition-members,
    .brief-preview
  )
  > summary::before {
  background: var(--bg);
  block-size: 24px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-sizing: border-box;
  content: "";
  grid-area: 1 / 1;
  inline-size: 24px;
}
:is(
    .chart-data,
    .heatmap-data,
    .kpi-spark-data,
    .profile-columns,
    .profile-observations,
    .mobile-contents,
    .source-object,
    .source-profile,
    .composition-members,
    .brief-preview
  )
  > summary::after {
  align-self: center;
  block-size: 8px;
  border-block-end: 1.5px solid var(--fg-muted);
  border-inline-end: 1.5px solid var(--fg-muted);
  box-sizing: border-box;
  content: "";
  grid-area: 1 / 1;
  inline-size: 8px;
  justify-self: center;
  rotate: -45deg;
  transform: translate(calc(8px * -9 / 56), calc(8px * -9 / 56));
}
:is(
    .chart-data,
    .heatmap-data,
    .kpi-spark-data,
    .profile-columns,
    .profile-observations,
    .mobile-contents,
    .source-object,
    .source-profile,
    .composition-members,
    .brief-preview
  )[open]
  > summary::after {
  rotate: 45deg;
}
:is(
    .chart-data,
    .heatmap-data,
    .kpi-spark-data,
    .profile-columns,
    .profile-observations,
    .mobile-contents,
    .source-object,
    .source-profile,
    .composition-members,
    .brief-preview
  )
  > summary:focus-visible {
  box-shadow: 0 0 0 3px rgb(46 0 156 / 0.12);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
/* Inside a card each row opens with its own rule; the card edge closes the list. */
.widget[data-card]
  :is(.chart-data, .heatmap-data, .kpi-spark-data, .profile-columns, .profile-observations, .composition-members) {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
  font-size: 13px;
}
@media print {
  :is(
      .chart-data,
      .heatmap-data,
      .kpi-spark-data,
      .profile-columns,
      .profile-observations,
      .mobile-contents,
      .source-object,
      .source-profile,
      .composition-members,
      .brief-preview
    )
    > summary::before,
  :is(
      .chart-data,
      .heatmap-data,
      .kpi-spark-data,
      .profile-columns,
      .profile-observations,
      .mobile-contents,
      .source-object,
      .source-profile,
      .composition-members,
      .brief-preview
    )
    > summary::after {
    display: none;
  }
  /* Without its mark the row's text must not fall into the empty 24px mark column. */
  :is(
      .chart-data,
      .heatmap-data,
      .kpi-spark-data,
      .profile-columns,
      .profile-observations,
      .mobile-contents,
      .source-object,
      .source-profile,
      .composition-members,
      .brief-preview
    )
    > summary {
    display: block;
  }
}

.report-layout :is(a, button, summary, [tabindex="0"]):focus-visible {
  box-shadow: 0 0 0 3px rgb(46 0 156 / 0.12);
}
@media print {
  /* On paper a card is a hairline box; a banner keeps its tone and rule but loses its lift and art. */
  .widget[data-card]:not(.foundation-fold .widget),
  .widget-row.kpi-band,
  .question,
  .foundation-fold,
  .method-evidence,
  .check-list,
  .source-index {
    background: var(--bg);
    border-color: var(--line);
    box-shadow: none;
  }
  .callout {
    border: 1px solid var(--callout-rule);
  }
}

/* Inside a source row the lineage figure is a labelled row of that card: its head is the caps label. */
.report-layout .source-lineage .widget .figure-head :is(h3, h4) {
  color: var(--caps-ink);
  font-family: var(--caps-font);
  font-size: var(--caps-size);
  font-weight: var(--caps-weight);
  letter-spacing: var(--ls-caps);
  line-height: var(--caps-line);
  text-transform: uppercase;
}

/* Narrow chart-record containers: labelled rows instead of a wide table. */
@media screen {
  @container chart-records (max-width: 600px) {
    .widget .chart-records table {
      min-width: 0;
    }
    .chart-records thead {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
    }
    .chart-records tbody {
      display: block;
    }
    .chart-records tbody tr {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px 16px;
      padding: 16px 0;
      border-top: 1px solid var(--line);
    }
    .chart-records td {
      display: block;
      border: 0;
      padding: 0;
      text-align: left;
      overflow-wrap: anywhere;
    }
    .chart-records td:first-child {
      grid-column: 1 / -1;
    }
    .chart-records td:nth-last-child(2) {
      grid-column: 1;
    }
    .chart-records td:last-child {
      grid-column: 2;
    }
    .chart-records td::before {
      content: attr(data-label);
      display: block;
      font-size: 11px;
      color: var(--fg-muted);
      margin-bottom: 4px;
    }
  }
}
