/* Isolated styles: no atlas selectors, root tokens, or global element overrides. */
.lab-dialog {
  --lab-space-1: 4px;
  --lab-space-2: 8px;
  --lab-space-3: 12px;
  --lab-space-4: 16px;
  --lab-space-5: 20px;
  --lab-space-6: 24px;
  --lab-space-8: 32px;
  --lab-text-meta: max(12px, .75rem);
  --lab-text-body: max(14px, .875rem);
  --lab-text-heading: max(18px, 1.125rem);
  --lab-text-title: clamp(20px, 1.2rem + .25vw, 24px);
  --lab-text-number: clamp(20px, 1.2rem + .5vw, 27px);
  --lab-soft: color-mix(in srgb, var(--accent, #a84e28) 8%, var(--surface, #fcfcfa));
  position: fixed;
  inset: 0;
  width: min(1120px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  height: 90vh;
  height: 90dvh;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line, #ddd9d2);
  border-radius: 8px;
  color: var(--ink, #272722);
  background: var(--surface, #fcfcfa);
  font-family: var(--font-body, sans-serif);
  font-size: var(--lab-text-body);
  line-height: 1.75;
  text-align: left;
  box-shadow: 0 24px 80px color-mix(in srgb, var(--ink, #272722) 20%, transparent);
  overflow: hidden;
  overscroll-behavior: contain;
  isolation: isolate;
}
.lab-dialog[open] { display: flex; flex-direction: column; }
.lab-dialog:not([open]) { display: none; }
.lab-dialog::backdrop { background: rgb(16 22 22 / .52); backdrop-filter: blur(5px); }
.lab-dialog *, .lab-dialog *::before, .lab-dialog *::after { box-sizing: border-box; }
.lab-dialog [hidden] { display: none !important; }
.lab-dialog :is(button, input, select, summary, a, [tabindex]):focus-visible {
  outline: 2px solid var(--accent, #a84e28);
  outline-offset: 3px;
}
.lab-dialog :is(button, input, select) { font-family: inherit; }
.lab-dialog :is(button, summary, a) { -webkit-tap-highlight-color: transparent; }
.lab-dialog :is(p, li, figcaption) { max-width: none; }
.lab-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--lab-space-4);
  flex: none;
  padding: var(--lab-space-5) var(--lab-space-6) var(--lab-space-4);
  border-bottom: 1px solid var(--line);
}
.lab-header-copy { min-width: 0; }
.lab-eyebrow {
  margin: 0 0 var(--lab-space-1);
  font-family: var(--font-mono, monospace);
  font-size: var(--lab-text-meta);
  font-weight: 400;
  letter-spacing: .035em;
  color: var(--muted, #6e6c65);
}
.lab-title {
  margin: 0;
  font-family: var(--font-body, sans-serif);
  font-size: var(--lab-text-title);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.lab-description { margin: var(--lab-space-1) 0 0; font-size: var(--lab-text-meta); color: var(--muted); }
.lab-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lab-space-2);
  flex: none;
  min-width: 76px;
  min-height: 44px;
  margin: 0;
  padding: var(--lab-space-2) var(--lab-space-3);
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: var(--lab-text-body);
  cursor: pointer;
}
.lab-close-symbol { font-size: var(--lab-text-heading); line-height: 1; }
.lab-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: none;
  gap: 0;
  margin: 0;
  padding: 0 var(--lab-space-6);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.lab-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 var(--lab-space-2);
  min-width: 0;
  min-height: 56px;
  margin: 0;
  padding: var(--lab-space-2);
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-size: var(--lab-text-body);
  line-height: 1.6;
  cursor: pointer;
}
.lab-tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.lab-tab-ref { font-family: var(--font-mono, monospace); font-size: var(--lab-text-meta); font-weight: 400; }
.lab-content {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  padding: var(--lab-space-6);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  scroll-behavior: auto;
}
.lab-panel { min-width: 0; outline: none; }
.lab-section-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--lab-space-4); margin-bottom: var(--lab-space-3); }
.lab-heading { margin: 0; font-size: var(--lab-text-heading); font-weight: 600; line-height: 1.5; }
.lab-subheading { margin: 0 0 var(--lab-space-2); font-size: var(--lab-text-body); font-weight: 600; line-height: 1.75; }
.lab-copy { margin: 0 0 var(--lab-space-3); font-size: var(--lab-text-body); line-height: 1.85; overflow-wrap: anywhere; }
.lab-copy:last-child { margin-bottom: 0; }
.lab-meta { display: block; margin: var(--lab-space-2) 0 0; font-size: var(--lab-text-meta); line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.lab-meta strong { font-weight: 600; color: var(--ink); }
.lab-ref { display: inline; margin-left: var(--lab-space-1); color: var(--muted); font-size: var(--lab-text-meta); font-weight: 400; line-height: 1.75; }
.lab-number { font-family: var(--font-mono, monospace); font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.lab-button, .lab-drill-button, .lab-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lab-space-2);
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: var(--lab-space-2) var(--lab-space-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: var(--lab-text-body);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.lab-button-quiet { flex: none; font-size: var(--lab-text-meta); color: var(--muted); }
.lab-button-row { display: flex; flex-wrap: wrap; gap: var(--lab-space-2); }
.lab-drill-button { color: var(--accent); font-size: var(--lab-text-meta); padding-inline: var(--lab-space-2); white-space: nowrap; }
.lab-controls { display: grid; gap: var(--lab-space-5); margin: var(--lab-space-5) 0 var(--lab-space-2); padding: var(--lab-space-5); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; }
.lab-bom-controls { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.lab-field { min-width: 0; }
.lab-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--lab-space-2); margin: 0 0 var(--lab-space-2); font-size: var(--lab-text-body); font-weight: 500; }
.lab-inline-output { font-family: var(--font-mono, monospace); font-size: var(--lab-text-body); color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 600; }
.lab-select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: var(--lab-space-2);
  font-size: var(--lab-text-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.lab-range {
  --lab-range-progress: 100%;
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.lab-range::-webkit-slider-runnable-track { height: 5px; border-radius: 2px; background: linear-gradient(to right, var(--accent) var(--lab-range-progress), var(--line) var(--lab-range-progress)); }
.lab-range::-moz-range-track { height: 5px; border-radius: 2px; background: var(--line); }
.lab-range::-moz-range-progress { height: 5px; border-radius: 2px; background: var(--accent); }
.lab-range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7.5px; border: 3px solid var(--surface); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.lab-range::-moz-range-thumb { width: 15px; height: 15px; border: 3px solid var(--surface); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.lab-range-limits { display: flex; justify-content: space-between; gap: var(--lab-space-4); font-family: var(--font-mono, monospace); font-size: var(--lab-text-meta); color: var(--muted); line-height: 1.65; }
.lab-range-limits > :last-child { text-align: right; }
.lab-metrics { display: grid; gap: 0; margin: var(--lab-space-5) 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.lab-metrics-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lab-metric { display: flex; flex-direction: column; min-width: 0; padding: var(--lab-space-4) var(--lab-space-5); border-right: 1px solid var(--line); }
.lab-metric:last-child { border-right: 0; }
.lab-metric-emphasis { background: var(--lab-soft); }
.lab-metric-label { display: block; font-size: var(--lab-text-meta); color: var(--muted); line-height: 1.7; }
.lab-metric-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--lab-space-2); margin-top: var(--lab-space-2); font-weight: 500; font-size: var(--lab-text-number); line-height: 1.4; overflow-wrap: anywhere; }
.lab-metric-emphasis .lab-metric-value { color: var(--accent); }
.lab-unit { display: inline; font-family: var(--font-mono, monospace); font-size: var(--lab-text-meta); font-weight: 400; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.lab-callout { margin: var(--lab-space-5) 0; padding: var(--lab-space-4) var(--lab-space-5); border: 1px solid var(--line); border-radius: 4px; background: var(--bg); }
.lab-audit { background: var(--lab-soft); }
.lab-callout-title { margin: 0 0 var(--lab-space-2); font-size: var(--lab-text-body); font-weight: 600; color: var(--ink); }
.lab-audit-comparison { display: flex; flex-wrap: wrap; gap: var(--lab-space-2) var(--lab-space-5); margin-bottom: var(--lab-space-3); font-size: var(--lab-text-meta); color: var(--muted); }
.lab-audit-comparison b { margin-left: var(--lab-space-1); color: var(--ink); font-size: var(--lab-text-body); font-weight: 500; white-space: nowrap; }
.lab-table-wrap { width: 100%; min-width: 0; margin: var(--lab-space-5) 0; }
.lab-table { width: 100%; max-width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; color: var(--ink); font-size: var(--lab-text-body); line-height: 1.75; text-align: left; }
.lab-table-caption { padding: 0 0 var(--lab-space-3); font-size: var(--lab-text-meta); line-height: 1.8; text-align: left; color: var(--muted); caption-side: top; }
.lab-table th, .lab-table td { padding: var(--lab-space-3); border: 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; overflow-wrap: anywhere; font-weight: 400; }
.lab-table thead th { background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--lab-text-meta); font-weight: 500; }
.lab-table tbody th { font-weight: 500; }
.lab-table tfoot th, .lab-table tfoot td { background: var(--lab-soft); font-weight: 600; }
.lab-table .lab-total-cell { font-weight: 500; }
.lab-bom-table th:nth-child(1) { width: 28%; }
.lab-bom-table th:nth-child(2) { width: 17%; }
.lab-bom-table th:nth-child(3) { width: 19%; }
.lab-bom-table th:nth-child(4) { width: 20%; }
.lab-bom-table th:nth-child(5) { width: 16%; }
.lab-cell-note, .lab-scope { display: block; margin-top: var(--lab-space-1); font-size: var(--lab-text-meta); font-weight: 400; line-height: 1.65; color: var(--muted); }
.lab-boundary { padding-top: var(--lab-space-2); }
.lab-supply-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--lab-space-6); margin: var(--lab-space-4) 0 var(--lab-space-5); }
.lab-probability { min-width: 0; margin: 0; padding: var(--lab-space-5); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; }
.lab-prob-row { display: grid; grid-template-columns: 94px minmax(0, 1fr) 38px; align-items: center; gap: var(--lab-space-3); min-height: 40px; font-size: var(--lab-text-body); }
.lab-prob-label { white-space: nowrap; }
.lab-prob-track { height: 8px; background: var(--line); border-radius: 1px; }
.lab-prob-fill { display: block; height: 100%; background: var(--accent); border-radius: 1px; }
.lab-prob-row > strong { text-align: right; font-weight: 500; }
.lab-supply-estimates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lab-space-5); min-width: 0; }
.lab-estimate { min-width: 0; }
.lab-estimate-value { display: block; margin: var(--lab-space-2) 0 var(--lab-space-3); font-family: var(--font-mono, monospace); font-size: var(--lab-text-number); line-height: 1.35; font-weight: 500; }
.lab-supply-table { font-size: var(--lab-text-body); }
.lab-supply-table thead th:nth-child(1) { width: 13%; }
.lab-supply-table thead th:nth-child(2) { width: 17%; }
.lab-supply-table thead th:nth-child(3) { width: 26%; }
.lab-supply-table thead th:nth-child(4) { width: 22%; }
.lab-supply-table thead th:nth-child(5) { width: 22%; }
.lab-supply-table tbody th .lab-ref { display: block; margin-left: 0; margin-top: var(--lab-space-2); }
.lab-time-cell { color: var(--muted); }
.lab-timeline-section { margin-top: var(--lab-space-8); }
.lab-timeline { list-style: none; margin: var(--lab-space-4) 0 0; padding: 0; }
.lab-timeline-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--lab-space-4); margin: 0; padding: var(--lab-space-4) 0; border-top: 1px solid var(--line); }
.lab-timeline-date { font-family: var(--font-mono, monospace); font-size: var(--lab-text-body); color: var(--accent); }
.lab-timeline-title { display: block; margin: 0 0 var(--lab-space-1); font-size: var(--lab-text-body); font-weight: 500; }
.lab-timeline-stale { padding-inline: var(--lab-space-3); background: var(--bg); }
.lab-timeline-stale .lab-timeline-date { color: var(--muted); }
.lab-disclaimer { margin: 0 0 var(--lab-space-3); font-size: var(--lab-text-body); font-weight: 600; color: var(--accent); }
.lab-capacity-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lab-space-4); margin-top: var(--lab-space-5); padding: var(--lab-space-4) 0; border-block: 1px solid var(--line); }
.lab-capacity-strip strong { display: block; font-size: var(--lab-text-heading); font-weight: 500; }
.lab-capacity-strip span { display: block; margin-top: var(--lab-space-1); font-size: var(--lab-text-meta); color: var(--muted); }
.lab-sei-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lab-field-wide { grid-column: 1 / -1; }
.lab-fixed-assumptions { display: flex; flex-wrap: wrap; gap: var(--lab-space-2) var(--lab-space-5); padding-block: var(--lab-space-2); font-size: var(--lab-text-meta); color: var(--muted); }
.lab-fixed-assumptions b { color: var(--ink); font-weight: 500; }
.lab-formula-block { display: grid; gap: var(--lab-space-2); margin: var(--lab-space-5) 0 var(--lab-space-3); padding: var(--lab-space-4); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; }
.lab-formula { margin: 0; font-family: var(--font-mono, monospace); font-size: var(--lab-text-meta); line-height: 1.9; overflow-wrap: anywhere; color: var(--muted); }
.lab-formula[data-lab-value] { color: var(--ink); }
.lab-details { margin: var(--lab-space-4) 0; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.lab-summary { min-height: 48px; padding: var(--lab-space-3) var(--lab-space-4); font-size: var(--lab-text-body); font-weight: 500; line-height: 1.75; cursor: pointer; }
.lab-summary::marker { color: var(--muted); font-size: var(--lab-text-meta); }
.lab-details-content { padding: 0 var(--lab-space-4) var(--lab-space-4); }
.lab-grid-table th, .lab-grid-table td { padding-inline: var(--lab-space-2); }
.lab-corrections { margin: var(--lab-space-5) 0; padding: var(--lab-space-5); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; }
.lab-correction-list { display: grid; gap: var(--lab-space-3); margin: var(--lab-space-2) 0 0; padding-left: var(--lab-space-5); font-size: var(--lab-text-body); line-height: 1.85; }
.lab-correction-list li { padding-left: var(--lab-space-1); overflow-wrap: anywhere; }
.lab-correction-list li::marker { font-family: var(--font-mono, monospace); color: var(--muted); }
.lab-correction-list strong { font-weight: 600; }
.lab-evidence-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--lab-space-3); margin: var(--lab-space-5) 0 var(--lab-space-2); }
.lab-filter-group { display: flex; flex-wrap: wrap; gap: var(--lab-space-2); }
.lab-filter-button { font-size: var(--lab-text-meta); font-weight: 400; }
.lab-filter-button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: var(--lab-soft); }
.lab-evidence-toolbar .lab-meta { margin: 0; }
.lab-evidence-list { min-width: 0; }
.lab-evidence-card { padding: var(--lab-space-5) 0; border-bottom: 1px solid var(--line); }
.lab-evidence-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--lab-space-2) var(--lab-space-4); }
.lab-evidence-label { font-size: var(--lab-text-meta); color: var(--muted); }
.lab-source-links { display: flex; flex-wrap: wrap; gap: 0 var(--lab-space-5); }
.lab-source-link { display: inline-flex; align-items: center; gap: var(--lab-space-1); min-height: 44px; max-width: 100%; padding-block: var(--lab-space-2); color: var(--accent); font-size: var(--lab-text-meta); line-height: 1.75; text-decoration-line: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.lab-source-link > span { flex: none; }
.lab-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--lab-space-1) var(--lab-space-4); flex: none; min-height: 40px; padding: var(--lab-space-2) var(--lab-space-6); border-top: 1px solid var(--line); color: var(--muted); background: var(--surface); font-size: var(--lab-text-meta); line-height: 1.75; }

@media (hover: hover) {
  .lab-close:hover, .lab-button:hover, .lab-drill-button:hover, .lab-filter-button:hover { color: var(--accent); background: var(--lab-soft); border-color: var(--accent); }
  .lab-tab:hover { color: var(--accent); background: var(--lab-soft); }
  .lab-summary:hover { color: var(--accent); background: var(--bg); }
  .lab-source-link:hover { text-decoration-color: currentColor; }
}

@media (max-width: 920px) {
  .lab-tab-ref { display: none; }
  .lab-supply-intro { grid-template-columns: 1fr; }
  .lab-supply-estimates { gap: var(--lab-space-6); }
  .lab-metric { padding: var(--lab-space-4); }
  .lab-metric-value { font-size: max(20px, 1.25rem); }
  .lab-supply-table .lab-thead { display: none; }
  .lab-supply-table, .lab-supply-table tbody, .lab-supply-table tr, .lab-supply-table td, .lab-supply-table th { display: block; width: 100%; }
  .lab-supply-table caption { display: block; }
  .lab-supply-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lab-space-3) var(--lab-space-5); padding: var(--lab-space-4) 0; border-top: 1px solid var(--line); }
  .lab-supply-table tbody th { grid-column: 1 / -1; padding: 0; font-weight: 600; }
  .lab-supply-table tbody th .lab-ref { display: inline; margin-left: var(--lab-space-2); }
  .lab-supply-table th, .lab-supply-table td { padding: 0; border: 0; }
  .lab-supply-table td::before { display: block; content: attr(data-label); font-size: var(--lab-text-meta); color: var(--muted); margin-bottom: var(--lab-space-1); }
}

@media (max-width: 640px) {
  .lab-header { padding: var(--lab-space-4); gap: var(--lab-space-2); }
  .lab-description { line-height: 1.7; }
  .lab-close { min-width: 44px; padding-inline: var(--lab-space-2); font-size: var(--lab-text-meta); }
  .lab-close-symbol { display: none; }
  .lab-tabs { padding: 0 var(--lab-space-2); }
  .lab-tab { padding: var(--lab-space-2) var(--lab-space-1); min-height: 52px; font-size: var(--lab-text-meta); }
  .lab-content { padding: var(--lab-space-4); }
  .lab-section-heading { flex-wrap: wrap; gap: var(--lab-space-2); }
  .lab-heading { font-size: var(--lab-text-heading); }
  .lab-controls { padding: var(--lab-space-3); gap: var(--lab-space-4); }
  .lab-bom-controls, .lab-sei-controls { grid-template-columns: minmax(0, 1fr); }
  .lab-select { font-size: max(16px, 1rem); }
  .lab-metrics-three { grid-template-columns: minmax(0, 1fr); }
  .lab-metric { padding: var(--lab-space-3) var(--lab-space-4); border-right: 0; border-bottom: 1px solid var(--line); }
  .lab-metric:last-child { border-bottom: 0; }
  .lab-metric-value { font-size: var(--lab-text-title); margin-top: var(--lab-space-1); }
  .lab-metric .lab-meta { margin-top: var(--lab-space-1); }
  .lab-callout { padding: var(--lab-space-4); }
  .lab-audit-comparison { flex-direction: column; gap: var(--lab-space-2); }
  .lab-bom-table .lab-thead { display: none; }
  .lab-bom-table, .lab-bom-table tbody, .lab-bom-table tfoot, .lab-bom-table tr, .lab-bom-table td, .lab-bom-table th { display: block; width: 100%; }
  .lab-bom-table caption { display: block; }
  .lab-bom-table tbody tr { padding: var(--lab-space-4) 0; border-top: 1px solid var(--line); }
  .lab-bom-table th, .lab-bom-table td { padding: 0; border: 0; }
  .lab-bom-table tbody th { margin-bottom: var(--lab-space-2); font-weight: 600; }
  .lab-bom-table tbody th .lab-scope { display: inline; margin-left: var(--lab-space-2); }
  .lab-bom-table tbody td { display: grid; grid-template-columns: minmax(90px, .85fr) minmax(0, 1.15fr); gap: 0 var(--lab-space-3); align-items: center; padding-block: var(--lab-space-1); }
  .lab-bom-table tbody td::before { content: attr(data-label); font-size: var(--lab-text-meta); color: var(--muted); font-weight: 400; }
  .lab-bom-table td .lab-cell-note { grid-column: 2; margin-top: 0; }
  .lab-bom-table .lab-drill-button { justify-self: start; }
  .lab-bom-table tfoot tr { padding: var(--lab-space-3); background: var(--lab-soft); border-top: 1px solid var(--line); }
  .lab-bom-table tfoot th { margin-bottom: var(--lab-space-2); }
  .lab-bom-table tfoot .lab-total-cell { font-size: var(--lab-text-heading); }
  .lab-supply-estimates { grid-template-columns: minmax(0, 1fr); gap: var(--lab-space-5); }
  .lab-estimate + .lab-estimate { padding-top: var(--lab-space-4); border-top: 1px solid var(--line); }
  .lab-probability { padding: var(--lab-space-3); }
  .lab-prob-row { grid-template-columns: 88px minmax(0, 1fr) 34px; gap: var(--lab-space-2); }
  .lab-supply-table tbody tr { grid-template-columns: minmax(0, 1fr); gap: var(--lab-space-3); }
  .lab-timeline-item { grid-template-columns: minmax(0, 1fr); gap: var(--lab-space-2); }
  .lab-capacity-strip { grid-template-columns: minmax(0, 1fr); gap: var(--lab-space-3); }
  .lab-capacity-strip > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: var(--lab-space-3); align-items: baseline; }
  .lab-capacity-strip span { margin-top: 0; }
  .lab-corrections { padding: var(--lab-space-4); }
  .lab-summary { padding-inline: var(--lab-space-3); }
  .lab-details-content { padding-inline: var(--lab-space-3); }
  .lab-grid-table { font-size: var(--lab-text-meta); }
  .lab-grid-table th, .lab-grid-table td { padding-inline: var(--lab-space-1); }
  .lab-footer { padding-inline: var(--lab-space-4); }
  .lab-footer > :last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lab-dialog *, .lab-dialog *::before, .lab-dialog *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
