/* Smith Lab Systems: shared brand and interface tokens. No remote font dependency. */
:root {
  color-scheme: light;
  --navy: #102A43;
  --navy-hover: #1D3E5C;
  --slate: #64748B;
  --ink: #243B53;
  --muted: #475569;
  --line: #CBD5E1;
  --control-border: var(--slate);
  --white: #FFFFFF;
  --tint: #F8FAFC;
  --surface-muted: #F1F5F9;
  --selected: #E2E8F0;
  --warning-ink: #785322;
  --warning-surface: #FAF4E9;
  --warning-line: #DBC8A8;
  --success-ink: #325B46;
  --success-surface: #F0F5F1;
  --success-line: #C7D6CC;
  --font-sans: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-mono: Consolas, "Cascadia Mono", monospace;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-space: var(--space-8);
  --content-width: 77rem;
  --radius: 2px;
  font-family: var(--font-sans);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--white); font-size: 1.0625rem; line-height: 1.65; }
a { color: var(--navy); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
::selection { background: var(--selected); color: var(--navy); }
p { margin: 0 0 var(--space-4); max-width: 66ch; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, p, a, dt, dd, li, summary { overflow-wrap: break-word; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.25; }
h1 { max-width: 27ch; font-size: clamp(2rem, 3.6vw, 3.125rem); font-weight: 700; line-height: 1.16; letter-spacing: -.03em; text-wrap: balance; }
h2 { max-width: 32ch; font-size: clamp(1.65rem, 2.4vw, 2rem); font-weight: 650; letter-spacing: -.02em; }
h3 { font-size: 1.125rem; font-weight: 650; }
.shell { width: min(var(--content-width), calc(100% - var(--space-8))); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: .75rem; left: .75rem; transform: translateY(-200%); padding: .7rem var(--space-4); background: var(--white); border: 2px solid var(--navy); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-top: 4px solid var(--navy); border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--navy); text-decoration: none; flex-shrink: 0; }
.brand-mark { display: block; width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.brand-wordmark { font-size: 1rem; font-weight: 750; line-height: 1.25; letter-spacing: .065em; }
.brand:hover .brand-wordmark { text-decoration: underline; text-underline-offset: .25em; }
.primary-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: .9375rem; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--navy); text-decoration: none; }
.primary-nav a:hover { text-decoration: underline; }
.hero { padding-block: var(--section-space); }
.eyebrow { margin-bottom: var(--space-4); color: var(--navy); font-size: .875rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.hero-intro { max-width: 54rem; margin-top: var(--space-6); }
.hero-lede { font-size: 1.25rem; line-height: 1.58; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: 1.65rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .65rem 1.1rem; border: 1px solid var(--navy); border-radius: var(--radius); background: var(--navy); color: var(--white); font-size: 1rem; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--navy-hover); border-color: var(--navy-hover); text-decoration: underline; }
.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: 1rem; }
.text-link span { margin-left: .3em; }
.starting-point { margin-top: 1.75rem; border-left: 3px solid var(--navy); padding: .15rem 0 .15rem 1.35rem; }
.starting-point h2 { margin-bottom: .8rem; font-size: 1.25rem; letter-spacing: 0; }
.starting-point p { color: var(--muted); font-size: 1.0625rem; }
.credibility { display: grid; grid-template-columns: minmax(10rem, .45fr) minmax(0, 2fr); gap: var(--space-6); align-items: start; margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.credibility-label { margin: .15rem 0 0; color: var(--navy); font-size: .9375rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.credibility ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.credibility li { display: grid; gap: var(--space-1); }
.credibility strong { font-size: 1.0625rem; line-height: 1.4; }
.credibility span { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.section { padding-block: var(--section-space); border-top: 1px solid var(--line); }
.section-intro { max-width: 44rem; margin-bottom: var(--space-6); }
.section-intro h2 { margin-bottom: var(--space-4); }
.section-intro > p:last-child { color: var(--muted); }
.examples { background: var(--white); }
.example-list { margin: 0; }
.example-list > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr); gap: var(--space-7); padding-block: var(--space-5); border-top: 1px solid var(--line); }
.example-list dt { max-width: 23ch; font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
.example-list dd { margin: 0; }
.example-list dd p { margin-bottom: .6rem; }
.example-list dd p:last-child { margin-bottom: 0; }
.example-list strong { font-weight: 650; }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.15rem 2.5rem 1.15rem 0; cursor: pointer; font-weight: 600; list-style: none; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .5rem; top: 1.1rem; color: var(--navy); font-size: 1.3rem; font-weight: 400; }
details[open] > summary::after { content: "−"; }
summary:hover { color: var(--navy); text-decoration: underline; text-underline-offset: .22em; }
.detail-body { max-width: 70ch; padding: 0 var(--space-4) 1.3rem 0; }
.detail-body ol { padding-left: var(--space-5); }
.detail-body li + li { margin-top: .6rem; }
.worked-example { border-top: 1px solid var(--line); }
.scope-note { max-width: 80ch; margin-top: var(--space-6); padding: 1.35rem var(--space-5) 1.45rem; border: 1px solid var(--line); border-left: 3px solid var(--navy); background: var(--white); color: var(--muted); }
.scope-note h3 { margin-bottom: .45rem; color: var(--ink); font-size: 1.25rem; }
.scope-note p { max-width: 72ch; }
.approach-steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.approach-steps li { counter-increment: steps; position: relative; padding: var(--space-5) 0 var(--space-5) var(--space-7); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.65fr); gap: var(--space-7); }
.approach-steps li::before { content: counter(steps, decimal-leading-zero); position: absolute; top: 1.5rem; left: 0; font-size: .9375rem; color: var(--navy); }
.approach-steps p { color: var(--muted); }
.about { background: var(--tint); }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr); gap: var(--space-7); }
.about h2 { max-width: 18ch; }
.location { margin-top: 1.25rem; color: var(--muted); font-size: 1rem; }
.questions details { max-width: 54rem; }
.questions details:first-of-type { border-top: 1px solid var(--line); }
.contact { background: var(--surface-muted); border-top: 2px solid var(--navy); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: var(--space-8); align-items: start; }
.contact h2 { max-width: 25ch; margin-bottom: var(--space-4); }
.contact-email { display: inline-block; margin: var(--space-2) 0 .7rem; padding-block: var(--space-1); font-size: clamp(1rem, 2.4vw, 1.3rem); font-weight: 650; overflow-wrap: anywhere; }
.small { font-size: 1rem; color: var(--muted); }
.first-note { padding-left: var(--space-5); border-left: 1px solid var(--line); }
.first-note ul { margin: var(--space-4) 0 var(--space-5); padding-left: 1.2rem; }
.first-note li + li { margin-top: .4rem; }
.site-footer { padding-block: var(--space-6); background: var(--navy); color: var(--line); font-size: .875rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.footer-identity { display: grid; gap: var(--space-3); }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--white); }
.site-footer .brand-mark { width: 2rem; height: 2rem; }
.site-footer .brand-wordmark { font-size: .8125rem; }
.site-footer a:focus-visible { outline-color: var(--white); }
.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; flex-shrink: 0; }
@media (max-width: 52rem) {
  .shell { width: min(44rem, calc(100% - 2.5rem)); }
  .header-inner { flex-wrap: wrap; gap: .35rem var(--space-5); padding-block: var(--space-4) .65rem; }
  .primary-nav { gap: 1.4rem; }
  :root { --section-space: var(--space-7); }
  .hero { padding-block: var(--section-space); }
  .starting-point { max-width: 38rem; }
  .credibility { grid-template-columns: 1fr; gap: var(--space-4); }
  .credibility ul { grid-template-columns: 1fr; gap: var(--space-4); }
  .brand-mark { width: 2.25rem; height: 2.25rem; }
  .brand-wordmark { font-size: .9375rem; }
  .example-list > div, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .example-list dt { max-width: none; }
  .approach-steps li { grid-template-columns: 1fr; gap: .65rem; }
  .about h2 { max-width: 28ch; }
  .location { margin-top: var(--space-3); }
  .contact-grid { gap: var(--space-6); }
}
@media (max-width: 28rem) {
  .shell { width: calc(100% - 2rem); }
  .primary-nav { width: 100%; justify-content: space-between; gap: .2rem .8rem; font-size: .875rem; }
  .hero-lede { font-size: 1.125rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .35rem; }
}
@media (forced-colors: active) { .button { border: 1px solid ButtonText; } }
@media print {
  .primary-nav, .hero-actions, .skip-link, .footer-inner a { display: none; }
  .shell { width: 100%; }
  body { font-size: 11pt; }
  .hero, .section { padding-block: var(--space-5); }
  details::details-content { content-visibility: visible; }
}

/* Independently created, fictional laboratory interface previews. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.primary-nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; }
.portfolio-preview { background: var(--tint); }
.portfolio-preview .section-intro { max-width: 51rem; }
.demo-disclosure { padding-left: var(--space-4); border-left: 2px solid var(--navy); font-size: 1rem; color: var(--muted); }
.preview-heading { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3) var(--space-6); margin-bottom: var(--space-4); }
.preview-heading h3 { font-size: 1.25rem; }
.preview-heading p { margin: 0; font-size: 1rem; color: var(--muted); }
.examples-paths { display: flex; flex-wrap: wrap; gap: .35rem var(--space-6); padding-block: .85rem; border-bottom: 1px solid var(--line); }
.workflow-bridge { display: flex; justify-content: space-between; align-items: start; gap: var(--space-4) var(--space-6); padding-top: 1.25rem; }
.workflow-bridge p { max-width: 70ch; font-size: 1rem; }
.workflow-bridge a { flex-shrink: 0; }
.examples-hero { padding-block: 1.75rem var(--space-7); }
.examples-hero > .text-link { margin-bottom: 1.2rem; }
.examples-hero h1 { max-width: 25ch; margin-bottom: var(--space-5); font-size: clamp(2rem, 3.6vw, 3rem); }
.examples-hero .hero-lede { max-width: 57ch; }
.examples-hero .demo-disclosure { max-width: 80ch; margin-top: var(--space-5); }
.examples-hero .small { max-width: 80ch; }
.example-jumps { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 1.75rem; font-size: 1rem; }
.example-jumps a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.study-heading { margin-bottom: var(--space-5); }
.study-heading .eyebrow { margin-bottom: .6rem; }
.study-heading h2 { max-width: none; margin-bottom: .65rem; }
.study-heading > p:last-child { color: var(--muted); }
.study-tint { background: var(--tint); }
.lab-ui { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: .875rem; line-height: 1.45; color: var(--ink); }
.lab-ui p { max-width: none; }
.lab-ui-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-2) var(--space-4); padding: .65rem var(--space-4); border-bottom: 1px solid var(--navy); background: var(--navy); color: var(--white); }
.lab-ui-header > strong { font-size: .9375rem; font-weight: 600; }
.demo-label { color: var(--line); font-size: .8125rem; font-weight: 400; }
.ui-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1.25rem; padding: .45rem var(--space-4); color: var(--muted); background: var(--surface-muted); font-size: .8125rem; }
.workflow-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; background: var(--tint); border-block: 1px solid var(--line); }
.workflow-strip li { position: relative; padding: .45rem .9rem; color: var(--muted); font-weight: 400; border-right: 1px solid var(--line); font-size: .8125rem; }
.workflow-strip li:last-child { border-right: 0; }
.stage-counts li { display: flex; flex-direction: row; justify-content: space-between; align-items: baseline; gap: var(--space-2); padding-block: var(--space-2); font-size: .8125rem; }
.stage-counts strong { font-size: .9375rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.lab-table { width: 100%; border-collapse: collapse; text-align: left; }
.sample-grid, .qc-grid { table-layout: fixed; }
.sample-grid :is(th, td), .qc-grid :is(th, td) { overflow-wrap: anywhere; }
.sample-grid col:nth-child(1) { width: 30%; }
.sample-grid col:nth-child(2) { width: 22%; }
.sample-grid col:nth-child(3) { width: 9%; }
.sample-grid col:nth-child(4) { width: 11%; }
.sample-grid col:nth-child(5) { width: 10%; }
.sample-grid col:nth-child(6) { width: 18%; }
@media (min-width: 44.001rem) and (max-width: 62rem) {
  .lab-table:is(.sample-grid, .qc-grid) :is(th, td) { padding-inline: var(--space-2); }
  .sample-grid col:nth-child(1) { width: 27%; }
  .sample-grid col:nth-child(2) { width: 21%; }
  .sample-grid col:nth-child(3) { width: 9%; }
  .sample-grid col:nth-child(4) { width: 13%; }
  .sample-grid col:nth-child(5) { width: 11%; }
  .sample-grid col:nth-child(6) { width: 19%; }
}
.lab-table th, .lab-table td { padding: var(--space-2) .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.lab-table thead th { color: var(--muted); background: var(--surface-muted); font-size: .8125rem; font-weight: 600; border-block: 1px solid var(--line); }
.lab-table tbody th { font-weight: 600; }
.lab-table tbody tr:last-child > * { border-bottom: 0; }
.lab-table .selected-row { background: var(--selected); }
.lab-table .selected-row > :first-child { box-shadow: inset 3px 0 var(--navy); }
.lab-table .flagged-row { background: var(--warning-surface); }
.record-id { display: block; font-family: var(--font-mono); font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--navy); }
.cell-note { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; margin-top: .2rem; }
.badge { display: inline-block; width: fit-content; padding: .08rem .35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-muted); color: var(--muted); font-size: .8125rem; font-weight: 400; line-height: 1.4; }
.badge.warning { color: var(--warning-ink); background: var(--warning-surface); border-color: var(--warning-line); }
.badge.good { color: var(--success-ink); background: var(--success-surface); border-color: var(--success-line); }
.ui-caption { padding: .7rem var(--space-4); border-bottom: 1px solid var(--line); color: var(--ink); text-align: left; font-weight: 600; }
.ui-caption span { margin-left: .7rem; color: var(--muted); font-size: .875rem; font-weight: 400; }
.record-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); padding: var(--space-4); border-top: 2px solid var(--line); background: var(--tint); }
.ui-kicker { color: var(--navy); font-size: .875rem; font-weight: 600; margin-bottom: .4rem; }
.record-panel h3, .review-note h3, .notebook-record h3, .work-queue h3 { font-size: 1rem; margin-bottom: var(--space-2); }
.record-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem var(--space-4); margin: 0; }
.record-meta dt { color: var(--muted); font-size: .875rem; }
.record-meta dd { margin: .1rem 0 0; font-variant-numeric: tabular-nums; }
.ui-details { padding-inline: 1.15rem; border-top: 1px solid var(--line); border-bottom: 0; }
.ui-details summary { font-size: .9375rem; padding-block: .85rem; }
.ui-details summary::after { top: .7rem; }
.ui-details:target { outline: 2px solid var(--navy); outline-offset: -2px; }
.ui-detail-body { padding-bottom: var(--space-4); }
.ui-detail-body p, .ui-detail-body ul { margin-top: var(--space-4); }
.ui-detail-body .lab-table { margin-inline: -1.15rem; width: calc(100% + 2.3rem); }
.ui-footnote { color: var(--muted); font-size: .875rem; padding: var(--space-3) 1.15rem; border-top: 1px solid var(--line); background: var(--tint); }
.event-log { list-style: none; padding: 0; margin: 0; }
.event-log li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-4); padding-block: .55rem; border-bottom: 1px solid var(--line); }
.event-log time { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.problem-tool-result { display: grid; gap: 0; max-width: 66rem; margin: var(--space-5) 0 var(--space-4); }
.problem-tool-result > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-5); border-top: 1px solid var(--line); padding-block: .65rem; }
.problem-tool-result dt { color: var(--navy); font-size: .875rem; font-weight: 650; }
.problem-tool-result dd { margin: 0; font-size: 1rem; }
.implementation-note { max-width: 75ch; border-top: 1px solid var(--line); font-size: 1rem; }
.batch-summary { display: grid; grid-template-columns: .7fr 1fr 1fr 1fr; gap: var(--space-4); margin: 0; padding: var(--space-4) 1.15rem; border-block: 1px solid var(--line); }
.batch-summary dt { color: var(--muted); font-size: .875rem; margin-bottom: .3rem; }
.batch-summary dd { margin: 0; font-weight: 600; }
.review-note { padding: .85rem var(--space-4); border-top: 1px solid var(--line); border-left: 2px solid var(--warning-line); }
.review-note .badge { margin-bottom: .65rem; }
.review-note > p { font-size: .875rem; color: var(--muted); margin-bottom: .65rem; }
.review-note blockquote { margin: 0 0 .65rem; max-width: 76ch; }
.notebook-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr); border-top: 1px solid var(--line); }
.work-queue { padding: 1.15rem; background: var(--tint); border-right: 1px solid var(--line); }
.assignment-list { list-style: none; padding: 0; margin: 0; }
.assignment-list li { display: flex; flex-direction: column; align-items: start; gap: var(--space-1); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.assignment-list .current-assignment { background: var(--selected); padding: var(--space-3); border: 1px solid var(--line); border-left: 3px solid var(--navy); margin-block: .65rem; }
.assignment-list .cell-note { margin-top: 0; }
.notebook-record { padding: 1.15rem; }
.notebook-record-heading p:last-child { font-size: .875rem; color: var(--muted); }
.prep-checklist { margin: var(--space-4) 0; padding: 0; list-style: none; }
.prep-checklist li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: .65rem; padding-block: .65rem; border-top: 1px solid var(--line); }
.prep-checklist strong { font-weight: 600; }
.step-box { display: flex; justify-content: center; align-items: center; width: 1.15rem; height: 1.15rem; margin-top: .15rem; border: 1px solid var(--control-border); border-radius: var(--radius); }
.step-box.checked { color: var(--white); background: var(--navy); border-color: var(--navy); font-size: .875rem; }
.notebook-note { border-left: 2px solid var(--navy); background: var(--tint); padding: .8rem var(--space-4); }
.notebook-note p { margin-bottom: var(--space-2); }
.notebook-note p:last-child { margin-bottom: 0; }
.document-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.25rem; margin-top: var(--space-4); font-size: .875rem; }
.document-links strong { width: 100%; font-weight: 600; }
.document-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.contact-followup { margin-top: var(--space-4); }
@media (max-width: 62rem) {
  .workflow-bridge, .preview-heading { flex-direction: column; gap: var(--space-2); }
}
@media (max-width: 44rem) {
  .examples-hero { padding-block: 1.25rem 2.5rem; }
  .example-jumps { flex-direction: column; gap: .2rem; }
  .lab-ui-header, .ui-toolbar { padding-inline: .85rem; }
  .lab-ui-header { align-items: start; flex-direction: column; }
  .workflow-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workflow-strip li { padding-inline: .85rem; }
  .workflow-strip li:nth-child(3) { border-right: 0; }
  .workflow-strip li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .responsive-table, .responsive-table tbody { display: block; }
  .responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .responsive-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem var(--space-4); padding: .85rem; border-bottom: 1px solid var(--line); }
  .responsive-table tbody tr:last-child { border-bottom: 0; }
  .responsive-table tbody th, .responsive-table tbody td { display: block; padding: 0; border: 0; min-width: 0; }
  .responsive-table tbody th { grid-column: 1 / -1; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
  .responsive-table tbody td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .875rem; margin-bottom: .15rem; }
  .ui-caption { display: block; padding-inline: .85rem; }
  .ui-caption span { display: block; margin: .2rem 0 0; }
  .record-panel, .notebook-grid { grid-template-columns: 1fr; }
  .record-panel, .work-queue, .notebook-record, .ui-footnote, .review-note { padding-inline: .85rem; }
  .work-queue { border-right: 0; border-bottom: 1px solid var(--line); }
  .ui-details { padding-inline: .85rem; }
  .ui-detail-body .lab-table { margin-inline: -.85rem; width: calc(100% + 1.7rem); }
  .event-log li { grid-template-columns: 1fr; gap: .15rem; }
  .problem-tool-result > div { grid-template-columns: 1fr; gap: var(--space-1); }
  .problem-tool-result dt { margin-bottom: var(--space-1); }
  .batch-summary { grid-template-columns: 1fr 1fr; padding-inline: .85rem; }
}

/* Native controls, compact grid tools, and honest in-page demo state. */
[hidden] { display: none !important; }
.lab-ui button, .lab-ui input, .lab-ui select, .lab-ui textarea { font: inherit; }
.lab-ui button, .lab-ui input, .lab-ui select, .lab-ui textarea { border-radius: var(--radius); }
.lab-ui :is(button, input, select, textarea):focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.demo-controls { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; padding: var(--space-3) .9rem; border-block: 1px solid var(--line); background: var(--tint); }
.ui-field { display: flex; flex-direction: column; gap: var(--space-1); font-size: .8125rem; font-weight: 500; min-width: 0; }
.demo-controls .ui-field:first-child { flex: 1 1 15rem; }
.ui-field :is(input, select, textarea) { width: 100%; min-height: 2.2rem; color: var(--ink); border: 1px solid var(--control-border); background: var(--white); padding: .4rem .55rem; font-weight: 400; }
.ui-field textarea { resize: vertical; min-height: 4rem; }
.ui-field select { min-width: 7.5rem; }
.ui-action { display: inline-flex; align-items: center; justify-content: center; min-height: 2.2rem; border: 1px solid var(--control-border); padding: .35rem .65rem; background: var(--white); color: var(--navy); cursor: pointer; white-space: normal; }
.ui-action:hover { background: var(--selected); border-color: var(--control-border); }
.ui-action.primary { color: var(--white); background: var(--navy); border-color: var(--navy); }
.ui-action.primary:hover { background: var(--navy-hover); }
.record-button { display: inline-block; margin: 0; border: 0; padding: .1rem 0; background: transparent; color: var(--navy); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; text-align: left; }
.record-button[aria-pressed="true"] { color: var(--navy); font-weight: 700; text-decoration: none; }
.grid-status { margin: 0 !important; padding: .45rem .9rem; font-size: .8125rem; color: var(--muted); background: var(--tint); border-bottom: 1px solid var(--line); }
.empty-state { margin: 0; padding: var(--space-5) var(--space-4); color: var(--muted); border-bottom: 1px solid var(--line); }
.compact-controls { align-items: center; justify-content: space-between; font-size: .8125rem; }
.review-state { display: block; margin-bottom: .4rem; font-size: .8125rem; }
.qc-grid .review-state { min-height: 2.9em; }
.qc-grid .ui-action { width: min(100%, 8.5rem); }
.lab-table .ui-action { font-size: .8125rem; padding: .2rem .45rem; min-height: 1.8rem; }
.demo-review-form, .demo-note-form { display: flex; flex-wrap: wrap; align-items: start; gap: .65rem; padding: .9rem; background: var(--surface-muted); border-block: 1px solid var(--line); }
.demo-review-form > .ui-field, .demo-note-form > .ui-field { flex: 1 0 100%; }
.demo-review-form > p, .demo-note-form > p { flex-basis: 100%; }
.demo-review-form .cell-note { margin: 0; }
.demo-note-form { padding-inline: 0; margin-top: var(--space-4); background: transparent; }
.demo-note-form > [role="status"] { min-height: 1.45em; margin: 0; }
.prep-checklist input { margin: var(--space-1) 0 0; width: 1rem; height: 1rem; accent-color: var(--navy); cursor: pointer; }
.prep-checklist input:disabled { cursor: default; }
.step-pending strong { font-weight: 500; }
.session-note { padding-top: .6rem; margin-top: var(--space-3); border-top: 1px solid var(--line); }
@media (min-width: 62rem) {
  .hero-intro { max-width: none; }
  .hero-intro > div { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 3.5rem; align-items: start; }
  .hero-intro > div > p, .hero-intro .hero-actions { grid-column: 1; }
  .hero-intro .starting-point { grid-column: 2; grid-row: 1 / span 3; margin-top: .2rem; }
  .hero-intro .hero-actions { margin-top: var(--space-2); }
}
@media (max-width: 44rem) {
  .responsive-table colgroup { display: none; }
  .prep-checklist .cell-note { min-height: 2.9em; }
  #work-notebook .grid-status { min-height: calc(2.9em + .9rem + 1px); }
  .demo-controls { gap: var(--space-2); }
  .demo-controls .ui-field { flex: 1 1 calc(50% - .5rem); }
  .demo-controls .ui-field:first-child { flex-basis: 100%; }
  .demo-controls .ui-field select { min-width: 0; }
  .demo-controls > .ui-action { flex: 1 1 auto; }
  .lab-table .ui-action { min-height: 2.2rem; }
  .record-button { min-height: 2rem; display: inline-flex; align-items: center; }
}
@media print {
  .demo-controls, .demo-review-form, .demo-note-form, .lab-table .ui-action { display: none; }
  .lab-ui-header { background: var(--white); color: var(--ink); }
  .demo-label { color: var(--muted); }
}
@media (max-width: 22rem) {
  .responsive-table tbody tr, .batch-summary, .record-meta { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .step-box.checked { background: Highlight; color: HighlightText; }
  .selected-row, .current-assignment { border: 1px solid Highlight; }
}
@media print {
  .example-jumps { display: none; }
  .lab-ui { break-inside: auto; }
  .lab-table tr, .record-panel, .review-note, .prep-checklist li { break-inside: avoid; }
  .badge, .step-box { border-color: var(--muted); }
}

/* Launch polish: comfortable controls and clear snapshot/session attribution. */
.availability { margin-top: var(--space-5); padding-left: var(--space-4); border-left: 3px solid var(--navy); }
.availability h3 { margin-bottom: var(--space-2); }
.availability:target { outline: 2px solid var(--navy); outline-offset: 6px; }
.ui-action, .lab-table .ui-action, .record-button { min-height: 2.75rem; }
.ui-field :is(input, select) { min-height: 2.75rem; }
.ui-field :is(input, select, textarea), .ui-action { border-color: var(--control-border); }
.lab-ui :is(p, blockquote, .session-note, .event-log, .record-meta) { overflow-wrap: anywhere; }
.notebook-grid > * { min-width: 0; }
.lab-ui blockquote { margin-inline: 0; }
.prep-checklist label { min-height: 2.75rem; cursor: pointer; }
.prep-checklist .step-pending:has(input:disabled) label { cursor: default; }
.history-heading { margin-top: 1.25rem; }
.ui-detail-body > h3 { margin-bottom: var(--space-2); }
.ui-detail-body > .cell-note { margin-block: var(--space-2); }
.lab-ui .grid-status { line-height: 1.5; }
.review-note .cell-note { margin-bottom: var(--space-2); }
.work-queue > .cell-note { margin-bottom: var(--space-4); }
.current-assignment { cursor: default; }
@media (max-width: 44rem) {
  .record-button, .lab-table .ui-action { min-height: 2.75rem; }
  .event-log li { padding-block: var(--space-3); }
}

/* Keep the inverse identity visible in print and Windows high-contrast themes. */
@media print {
  .site-footer { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .site-footer .brand { display: inline-flex; }
}
@media (forced-colors: active) {
  .site-header .brand-mark { forced-color-adjust: none; background: var(--white); }
  .site-footer .brand-mark { forced-color-adjust: none; background: var(--navy); }
}

/* Local expansion: compact engineering examples within the established brand. */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: var(--radius); }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
button:disabled { cursor: default; opacity: .6; }
button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.record-button[aria-pressed="true"] { background: transparent; color: var(--navy); }
.positioning-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.positioning-hero h1 { font-size: clamp(2rem, 3.35vw, 3rem); max-width: 26ch; }
.positioning-hero .hero-lede { margin-top: 1.5rem; font-size: 1.2rem; }
.engineering-figure { margin-top: .35rem; border: 1px solid var(--line); background: var(--tint); font-size: .875rem; }
.figure-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); font-size: .7rem; font-weight: 700; letter-spacing: .045em; }
.file-preview { display: flex; align-items: center; gap: .85rem; padding: 1rem; border-bottom: 1px solid var(--line); background: var(--white); }
.file-preview div { display: grid; gap: .25rem; }
.file-preview span { color: var(--muted); font-size: .8rem; }
.file-preview .file-type { padding: .65rem .5rem; border: 1px solid var(--line); color: var(--navy); font-family: var(--font-mono); }
.engineering-path { padding: .5rem 1rem .5rem 2.5rem; margin: 0; }
.engineering-path li { padding: .65rem .25rem; border-bottom: 1px solid var(--line); }
.engineering-path li:last-child { border-bottom: 0; }
.engineering-path strong, .engineering-path span { display: block; }
.engineering-path span { font-size: .8125rem; color: var(--muted); }
.engineering-path .figure-exception { color: var(--warning-ink); }
.engineering-figure > a { margin: 0 1rem .75rem; font-size: .875rem; }
.positioning-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; border-top: 1px solid var(--line); margin-top: 2.25rem; padding-top: 1.25rem; }
.positioning-strip p { font-size: .9375rem; margin: 0; color: var(--muted); }
.positioning-strip strong { display: block; color: var(--navy); margin-bottom: .3rem; }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--white); }
.solution-preview { display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem; text-decoration: none; border-right: 1px solid var(--line); }
.solution-preview:last-child { border-right: 0; }
.solution-preview:hover { background: var(--surface-muted); }
.solution-number { font-size: .75rem; letter-spacing: .04em; color: var(--muted); font-weight: 650; }
.solution-preview h3 { font-size: 1.3rem; line-height: 1.35; }
.solution-preview p { color: var(--muted); font-size: 1rem; margin: 0; }
.solution-action { margin-top: auto; text-decoration: underline; font-size: .9375rem; }
.examples-paths a { min-height: 2.75rem; display: inline-flex; align-items: center; font-size: .9375rem; }
.disclosure-line { margin-top: 1.25rem; font-size: .875rem; max-width: 105ch; }
.automation-picker { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 2rem; }
.problem-choices { display: grid; gap: .5rem; }
.problem-choices .ui-action { justify-content: flex-start; text-align: left; padding: .8rem 1rem; font-size: 1rem; }
.problem-answer { padding: 1.5rem; border: 1px solid var(--line); background: var(--tint); }
.problem-answer h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.problem-answer p { font-size: 1rem; }
.problem-answer .capability-line { border-top: 1px solid var(--line); padding-top: .8rem; font-size: .875rem; color: var(--muted); }
.system-fit { background: var(--tint); }
.systems-diagram { display: grid; grid-template-columns: 1fr 2rem 1.2fr 2rem 1fr; gap: 1rem; align-items: center; }
.systems-diagram > div { align-self: stretch; padding: 1.25rem; border: 1px solid var(--line); background: var(--white); }
.systems-diagram > span { color: var(--slate); text-align: center; font-size: 1.5rem; }
.systems-diagram h3 { margin-bottom: .75rem; }
.systems-diagram p { font-size: .9375rem; }
.systems-diagram .automation-node { border-top: 3px solid var(--navy); }
.labor-estimator { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border: 1px solid var(--line); }
.calculator-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.5rem; }
.calculator-fields .ui-action { width: fit-content; }
.estimate-output { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; border-left: 1px solid var(--line); background: var(--tint); }
.estimate-output strong { font-size: 1.8rem; font-weight: 650; line-height: 1.3; color: var(--navy); }
.estimate-output span { font-size: .9375rem; color: var(--muted); margin-bottom: 1.2rem; }
.estimate-output span:last-child { margin-bottom: 0; }
.demo-navigation { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.demo-navigation a { display: flex; align-items: center; min-height: 3rem; padding: .5rem .8rem; border: 1px solid var(--line); text-decoration: none; font-size: .875rem; }
.demo-navigation a[aria-current] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.example-study { scroll-margin-top: 1rem; }
.example-study .study-heading > p { max-width: 86ch; }
.comparison { margin-block: 1rem 1.5rem; border: 1px solid var(--line); padding: 0 1rem; font-size: .9375rem; }
.comparison > summary { padding-block: .8rem; }
.comparison > summary::after { top: .7rem; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-block: .5rem 1rem; }
.comparison-grid > div + div { border-left: 1px solid var(--line); padding-left: 2rem; }
.comparison-grid h3 { font-size: 1rem; }
.comparison-grid ol { padding-left: 1.2rem; margin-block: .65rem; }
.comparison-grid li { padding-block: .15rem; }
.comparison-grid p { color: var(--muted); font-size: .875rem; }
.demo-cta { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); font-size: 1rem; max-width: none; }
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; background: var(--tint); border-block: 1px solid var(--line); }
.pipeline li { padding: .75rem 1rem; border-right: 1px solid var(--line); color: var(--muted); }
.pipeline li.done { color: var(--success-ink); background: var(--success-surface); box-shadow: inset 0 -3px var(--success-ink); }
.pipeline li:last-child { border-right: 0; }
.notice { padding: .75rem 1rem; margin: 0; color: var(--muted); background: var(--tint); border-top: 1px solid var(--line); font-size: .875rem; }
.notice:empty { display: none; }
.raw-data { max-height: 17rem; overflow: auto; padding: 1rem; margin: 0 0 1rem; background: var(--tint); border: 1px solid var(--line); font: .8rem/1.6 var(--font-mono); white-space: pre; }
.demo-controls input[type="file"] { width: 15.5rem; max-width: 100%; font-size: .8125rem; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line); }
.metrics > div { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; border-right: 1px solid var(--line); }
.metrics > div:last-child { border-right: 0; }
.metrics strong { font-size: 1.15rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.metrics span { font-size: .8125rem; color: var(--muted); }
.observations { padding: 1rem; }
.observations h3 { font-size: 1rem; }
.observations .session-note p { margin-top: .5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .ui-field { width: 100%; }
.demo-padding { padding: 1.15rem; }
.demo-padding > h3, .demo-padding form > h3 { margin-block: 1rem; }
.demo-padding > h3:first-child { margin-top: 0; }
.ui-field { min-width: 0; }
.ui-field input[type="checkbox"] { width: 1.15rem; height: 1.15rem; min-height: 1.15rem; accent-color: var(--navy); margin-block: .6rem; }
.sample-entry { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; align-items: end; gap: .75rem; padding-block: .85rem; border-top: 1px solid var(--line); }
.flush { padding-inline: 0; background: transparent; border: 0; }
.submission-receipt:not(:empty) { padding-top: 1rem; margin-top: 1rem; border-top: 2px solid var(--line); }
.submission-receipt h3 { margin-bottom: .65rem; }
.receiving-submission { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.receiving-sample { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: .5rem 1rem; align-items: center; padding-top: .8rem; }
.receiving-sample .record-id { grid-column: 1 / -1; overflow-wrap: anywhere; }
.receiving-sample .ui-action { font-size: .8125rem; }
.receiving-record:not(:empty) { padding: 1rem; margin-top: 1rem; border: 1px solid var(--line); background: var(--tint); }
.receiving-record h3 { overflow-wrap: anywhere; }
.receiving-record .ui-field { margin-block: .75rem; }
.receiving-record > button { margin: .5rem .75rem .5rem 0; }
.queue-actions { grid-column: 1 / -1; padding: 0; border: 0; }
.queue-actions:empty { display: none; }
.queue-actions p { flex-basis: 100%; }
.prep-calculations { margin-block: 1rem; font-size: .875rem; }
.chart-wrap { padding: 1rem; }
.chart-wrap h3 { font-size: 1rem; margin-bottom: 1rem; }
.chart-wrap svg { display: block; width: 100%; max-height: 20rem; }
.report-preview { border-top: 1px solid var(--line); background: var(--surface-muted); padding: 1rem; }
.document-frame { width: 100%; height: 34rem; display: block; background: var(--white); border: 1px solid var(--line); }
.print-frame { position: fixed; width: 1px; height: 1px; right: 0; bottom: 0; border: 0; }
.validation-list { color: var(--warning-ink); padding-left: 1.2rem; margin-bottom: 0; }
.table-scroll { max-height: 30rem; overflow: auto; overscroll-behavior: contain; }
.table-scroll:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; }
.table-scroll .lab-table thead { position: sticky; top: 0; z-index: 1; }
@media (max-width: 62rem) {
  .positioning-hero { grid-template-columns: 1fr; gap: 2rem; }
  .positioning-hero h1 { max-width: 29ch; }
  .engineering-figure { max-width: 36rem; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-preview { border-right: 0; border-bottom: 1px solid var(--line); gap: .65rem; }
  .solution-preview:last-child { border-bottom: 0; }
  .automation-picker { grid-template-columns: 1fr; gap: 1rem; }
  .problem-choices { grid-template-columns: 1fr 1fr; }
  .systems-diagram { grid-template-columns: 1fr; gap: .5rem; }
  .systems-diagram > span { transform: rotate(90deg); }
  .systems-diagram > div { padding: 1rem; }
  .systems-diagram p { max-width: none; }
  .sample-entry { grid-template-columns: 1fr 1fr; }
  .sample-entry > :first-child { grid-column: 1 / -1; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics > div:nth-child(2) { border-right: 0; }
  .metrics > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 44rem) {
  .positioning-strip { grid-template-columns: 1fr; gap: 1rem; }
  .positioning-hero .hero-lede { font-size: 1.1rem; }
  .problem-choices, .labor-estimator, .comparison-grid, .form-grid { grid-template-columns: 1fr; }
  .estimate-output { border-left: 0; border-top: 1px solid var(--line); }
  .calculator-fields { padding: 1rem; }
  .calculator-fields .ui-field { font-size: .875rem; }
  .demo-navigation { display: grid; grid-template-columns: 1fr; }
  .demo-navigation a { min-height: 2.75rem; }
  .examples-hero { padding-bottom: 1.5rem; }
  .comparison-grid { gap: .75rem; }
  .comparison-grid > div + div { padding: .75rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .receiving-sample { grid-template-columns: 1fr; }
  .receiving-sample .record-id { grid-column: auto; }
  .sample-entry { grid-template-columns: 1fr; }
  .sample-entry > :first-child { grid-column: auto; }
  .sample-entry > button { justify-self: start; }
  .demo-controls .ui-field input[type="file"] { width: 100%; }
  .document-frame { height: 30rem; }
  .table-scroll { max-height: 32rem; }
  .table-scroll .responsive-table thead { position: absolute; }
}
@media (max-width: 22rem) { .calculator-fields { grid-template-columns: 1fr; } .metrics { grid-template-columns: 1fr; } .metrics > div { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) { .pipeline li.done, .demo-navigation a[aria-current], button[aria-pressed="true"] { outline: 2px solid Highlight; } }
@media print { .demo-navigation, .pipeline { display: none; } .positioning-hero, .solution-grid { display: block; } .engineering-figure { break-inside: avoid; } }
/* Homepage messaging and browser-local batch demonstration. */
.workflow-hero { background: #f3f6f8; border-bottom: 1px solid var(--line); }
.workflow-layout { display: grid; grid-template-columns: 1fr .93fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 6vw, 6rem); }
.workflow-layout h1 { font-size: clamp(2.65rem, 4.5vw, 4.05rem); line-height: 1.06; letter-spacing: -.05em; max-width: 20ch; }
.workflow-layout h1 span { display: block; }
.workflow-layout .hero-lede { margin-block: 1.45rem; color: var(--muted); max-width: 43ch; }
.workflow-layout .eyebrow, .workflow-examples .eyebrow { font: 650 .77rem/1.5 var(--font-mono); letter-spacing: .09em; }
.workflow-layout .button { padding-inline: 1.35rem; }
.workflow-layout > div:first-child { align-self: start; }
.hero-start { color: var(--ink); font-weight: 600; }
.workflow-layout .hero-actions { gap: .75rem 1.15rem; }
.workflow-layout .hero-actions a { font-size: .94rem; }
.batch-demo { align-self: start; min-width: 0; border: 1px solid var(--line); background: white; }
.batch-heading { padding: 1.25rem clamp(1rem, 2.5vw, 2rem); background: var(--navy); color: white; }
.batch-heading h2 { color: white; font-size: clamp(1.35rem, 2.45vw, 2rem); }
.batch-caption, .batch-label { font: 600 .76rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.batch-caption { color: #d4e1eb; margin-bottom: .45rem; }
.batch-body { padding: 1.15rem clamp(1rem, 2.5vw, 2rem) 1.35rem; }
.batch-manual, .batch-auto { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: .8rem; padding-block: .6rem; }
.batch-manual { border-bottom: 1px solid var(--line); }
.batch-body h3 { font-size: .97rem; }
.batch-manual p, .batch-auto p, .batch-note { color: var(--muted); font-size: .93rem; line-height: 1.5; }
#batch-controls { background: var(--tint); margin-top: .65rem; padding: 1rem; border: 1px solid var(--line); }
.batch-label { color: var(--muted); margin: 0; }
.batch-rows { list-style: none; margin: .4rem 0 .8rem; padding: 0; font-size: .92rem; }
.batch-rows li { display: flex; align-items: baseline; gap: 1rem; padding: .33rem 0; border-bottom: 1px solid var(--line); }
.batch-id { font-family: var(--font-mono); white-space: nowrap; font-size: .85rem; }
.batch-rows .batch-more { color: var(--muted); border: 0; font-size: .84rem; }
.batch-status { font-size: 1.13rem; color: var(--navy); font-weight: 700; margin: 0; }
.batch-status .batch-note { margin: .25rem 0 .8rem; font-weight: 400; }
.batch-inspector { margin-bottom: .75rem; }
.batch-inspector summary { font-weight: 650; padding-block: .6rem; }
.batch-inspector select { max-width: 100%; width: 100%; min-height: 2.75rem; font: inherit; color: var(--navy); }
.batch-paper { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; padding: 1rem; background: white; border: 1px solid var(--line); font-size: .9rem; }
.batch-paper dd { margin: 0; }
@media (max-width: 30rem) {
  .batch-manual, .batch-auto { grid-template-columns: 1fr; gap: .2rem; }
}
.workflow-examples { background: var(--tint); border-block: 1px solid var(--line); }
.workflow-examples .solution-grid { border-top: 3px solid var(--navy); }
.workflow-examples .solution-number { font-family: var(--font-mono); }
#problems .problem-choices button[aria-pressed="true"] { background: var(--navy); color: white; }
@media (max-width: 52rem) {
  .workflow-layout { grid-template-columns: 1fr; }
  .workflow-layout h1 { max-width: 19ch; }
  .batch-demo { width: min(100%, 39rem); }
}
@media (max-width: 30rem) {
  .workflow-layout h1 { font-size: clamp(2.35rem, 10vw, 3.2rem); }
}

.founder-line { max-width: 49ch; font-size: 1rem; color: var(--muted); }
.batch-rows .inspect-flag { min-height: 2.75rem; padding: .25rem .4rem; border: 0; background: transparent; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; }
.batch-rows li:has(.inspect-flag) { align-items: center; }
@media screen and (max-width: 36rem) {
  .primary-nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: .5rem; font-size: 1rem; }
  .primary-nav a { min-height: 3rem; justify-content: center; padding: .3rem .4rem; border: 1px solid var(--line); }
}
.demo-navigation { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap: .65rem; }
.demo-navigation a { display: grid; align-content: start; gap: .4rem; padding: 1rem; font-size: 1rem; line-height: 1.4; }
.demo-navigation a span { font-size: .875rem; }
.workflow-guide { max-width: 60rem; border: 1px solid var(--line); border-left: .3rem solid var(--navy); background: var(--tint); padding: clamp(1rem,3vw,2rem); margin: 1rem 0; }
.workflow-guide h3 { font-size: clamp(1.3rem,2.4vw,1.85rem); margin: .55rem 0; }
.workflow-guide h3:focus { outline-offset: .25rem; }
.guide-evidence:has(> *) { background: white; padding: 1rem; margin: .85rem 0; border: 1px solid var(--line); }
.guide-success { font-weight: 600; }
.guide-fields { display:grid; grid-template-columns: minmax(6rem,.8fr) minmax(0,1.5fr); margin: .5rem 0 0; font-size:.95rem; }
.guide-fields dt,.guide-fields dd { padding: .45rem .25rem; border-top: 1px solid var(--line); overflow-wrap:anywhere; }
.guide-fields dd { margin:0; font-weight:600; }
.guide-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; margin-top: 1rem; }
.guide-actions button:not(.primary), .copy-email { border:0; padding:.55rem; background:transparent; color:inherit; text-decoration:underline; font:inherit; cursor:pointer; min-height:2.75rem; }
.guide-actions button.primary { min-height:3rem; }
.free-mode { padding:.75rem 1rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.free-mode .guide-actions { margin:0; }
.example-study .table-scroll { max-height:none; overflow:visible; }
.example-study .lab-ui { width:100%; }
.example-study .study-heading > p { max-width:66ch; }
.contact .copy-email { color:var(--navy); padding-left:0; }
.contact .copy-email:focus-visible { outline:2px solid currentColor; }
@media(max-width:38rem) {
  .guide-actions button.primary { width:100%; }
  .demo-navigation { grid-template-columns:1fr; }
  .guide-fields { font-size:.88rem; }
}
