:root {
  color-scheme: light;
  --ink: #24292c;
  --muted: #535c60;
  --plum: #482544;
  --teal: #285f5b;
  --line: #d2d8d7;
  --tint: #f4f7f6;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 1.125rem; line-height: 1.65; }
a { color: var(--plum); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
::selection { background: #d4e8e3; color: #192b29; }
p { margin: 0 0 1rem; 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; line-height: 1.25; }
h1 { max-width: 24ch; color: var(--plum); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 4.3vw, 3.6rem); font-weight: 400; line-height: 1.13; letter-spacing: -.025em; }
h2 { max-width: 32ch; font-size: clamp(1.7rem, 2.5vw, 2.15rem); font-weight: 650; letter-spacing: -.02em; }
h3 { font-size: 1.125rem; font-weight: 650; }
.shell { width: min(77rem, calc(100% - 4rem)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: .75rem; left: .75rem; transform: translateY(-200%); padding: .7rem 1rem; background: #fff; border: 2px solid var(--plum); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: 1.0625rem; font-weight: 700; text-decoration: none; }
.brand-mark { position: relative; display: flex; align-items: center; justify-content: space-between; width: 2.1rem; height: 1rem; }
.brand-mark::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--plum); }
.brand-mark i { z-index: 1; width: .45rem; height: .45rem; border: 2px solid var(--plum); border-radius: 50%; background: #fff; }
.brand-mark i:nth-child(2) { background: var(--teal); border-color: var(--teal); }
.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(--ink); text-decoration: none; }
.primary-nav a:hover { text-decoration: underline; }
.hero { padding-block: 4rem 4.5rem; }
.eyebrow { margin-bottom: 1rem; color: var(--teal); font-size: .875rem; font-weight: 650; letter-spacing: .025em; }
.hero-intro { max-width: 54rem; margin-top: 2rem; }
.hero-lede { font-size: 1.25rem; line-height: 1.58; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; 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(--plum); border-radius: 3px; background: var(--plum); color: #fff; font-size: 1rem; font-weight: 600; text-decoration: none; }
.button:hover { background: #321a2f; 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(--teal); 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: 2rem; align-items: start; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.credibility-label { margin: .15rem 0 0; color: var(--teal); 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: .25rem; }
.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: 4rem; border-top: 1px solid var(--line); }
.section-intro { max-width: 44rem; margin-bottom: 2rem; }
.section-intro h2 { margin-bottom: 1rem; }
.section-intro > p:last-child { color: var(--muted); }
.examples { background: var(--tint); }
.example-list { margin: 0; }
.example-list > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr); gap: 3rem; padding-block: 1.5rem; 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(--teal); font-size: 1.3rem; font-weight: 400; }
details[open] > summary::after { content: "−"; }
summary:hover { color: var(--plum); text-decoration: underline; text-underline-offset: .22em; }
.detail-body { max-width: 70ch; padding: 0 1rem 1.3rem 0; }
.detail-body ol { padding-left: 1.5rem; }
.detail-body li + li { margin-top: .6rem; }
.worked-example { border-top: 1px solid var(--line); }
.scope-note { max-width: 80ch; margin-top: 2rem; padding: 1.35rem 1.5rem 1.45rem; border: 1px solid var(--line); border-left: 3px solid var(--teal); background: #fff; 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: 1.5rem 0 1.5rem 3rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.65fr); gap: 3rem; }
.approach-steps li::before { content: counter(steps, decimal-leading-zero); position: absolute; top: 1.5rem; left: 0; font-size: .9375rem; color: var(--teal); }
.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: 3rem; }
.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: #edf3f1; border-top: 2px solid var(--teal); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 4rem; align-items: start; }
.contact h2 { max-width: 25ch; margin-bottom: 1rem; }
.contact-email { display: inline-block; margin: .5rem 0 .7rem; padding-block: .25rem; 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: 1.5rem; border-left: 1px solid #a6bab3; }
.first-note ul { margin: 1rem 0 1.5rem; padding-left: 1.2rem; }
.first-note li + li { margin-top: .4rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.25rem; font-size: .875rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-inner p { margin: 0; }
.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 1.5rem; padding-block: 1rem .65rem; }
  .primary-nav { gap: 1.4rem; }
  .hero { padding-block: 2.75rem 3rem; }
  .starting-point { max-width: 38rem; }
  .credibility { grid-template-columns: 1fr; gap: 1rem; }
  .credibility ul { grid-template-columns: 1fr; gap: 1rem; }
  .section { padding-block: 3rem; }
  .example-list > div, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 1rem; }
  .example-list dt { max-width: none; }
  .approach-steps li { grid-template-columns: 1fr; gap: .65rem; }
  .about h2 { max-width: 28ch; }
  .location { margin-top: .75rem; }
  .contact-grid { gap: 2rem; }
}
@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: 1.5rem; }
  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(--plum); text-decoration: underline; text-decoration-thickness: 2px; }
.portfolio-preview { background: var(--tint); }
.portfolio-preview .section-intro { max-width: 51rem; }
.demo-disclosure { padding-left: 1rem; border-left: 2px solid var(--teal); font-size: 1rem; color: var(--muted); }
.preview-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem 2rem; margin-bottom: 1rem; }
.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 2rem; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.workflow-bridge { display: flex; justify-content: space-between; align-items: start; gap: 1rem 2rem; 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 3rem; }
.examples-hero > .text-link { margin-bottom: 1.2rem; }
.examples-hero h1 { max-width: 25ch; margin-bottom: 1.5rem; font-size: clamp(2.3rem, 4vw, 3.25rem); }
.examples-hero .hero-lede { max-width: 57ch; }
.examples-hero .demo-disclosure { max-width: 80ch; margin-top: 1.5rem; }
.examples-hero .small { max-width: 80ch; }
.example-jumps { display: flex; flex-wrap: wrap; gap: .5rem 2rem; 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: 1.5rem; }
.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: #fff; border: 1px solid #aeb9bd; border-radius: 2px; font-size: .875rem; line-height: 1.45; color: #273238; }
.lab-ui p { max-width: none; }
.lab-ui-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding: .65rem 1rem; border-bottom: 1px solid #263b43; background: #33474f; color: #fff; }
.lab-ui-header > strong { font-size: .9375rem; font-weight: 600; }
.demo-label { color: #e2ebed; font-size: .8125rem; font-weight: 400; }
.ui-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1.25rem; padding: .45rem 1rem; color: #526168; background: #f1f3f4; font-size: .8125rem; }
.workflow-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; background: #f9fafb; border-block: 1px solid #ccd3d6; }
.workflow-strip li { position: relative; padding: .45rem .9rem; color: #4f5e64; font-weight: 400; border-right: 1px solid #d9dfe2; 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: .5rem; padding-block: .5rem; font-size: .8125rem; }
.stage-counts strong { font-size: .9375rem; font-weight: 600; color: #273238; 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: .5rem; }
  .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: .5rem .9rem; border-bottom: 1px solid #dce1e4; vertical-align: top; }
.lab-table thead th { color: #42525a; background: #eef1f3; font-size: .8125rem; font-weight: 600; border-block: 1px solid #c7d0d5; }
.lab-table tbody th { font-weight: 600; }
.lab-table tbody tr:last-child > * { border-bottom: 0; }
.lab-table .selected-row { background: #e8f0f4; }
.lab-table .selected-row > :first-child { box-shadow: inset 3px 0 #466a7c; }
.lab-table .flagged-row { background: #fffbf2; }
.record-id { display: block; font-family: Consolas, "Cascadia Mono", monospace; font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums; color: #263f4b; }
.cell-note { display: block; color: #596970; font-size: .8125rem; font-weight: 400; margin-top: .2rem; }
.badge { display: inline-block; width: fit-content; padding: .08rem .35rem; border: 1px solid #cbd3d7; border-radius: 2px; background: #f4f6f7; color: #475961; font-size: .8125rem; font-weight: 400; line-height: 1.4; }
.badge.warning { color: #785322; background: #faf4e9; border-color: #dbc8a8; }
.badge.good { color: #325b46; background: #f0f5f1; border-color: #c7d6cc; }
.ui-caption { padding: .7rem 1rem; 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: 1.5rem; padding: 1rem; border-top: 2px solid #b7c4cb; background: #f7f9fa; }
.ui-kicker { color: var(--teal); 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: .5rem; }
.record-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1rem; 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(--teal); outline-offset: -2px; }
.ui-detail-body { padding-bottom: 1rem; }
.ui-detail-body p, .ui-detail-body ul { margin-top: 1rem; }
.ui-detail-body .lab-table { margin-inline: -1.15rem; width: calc(100% + 2.3rem); }
.ui-footnote { color: var(--muted); font-size: .875rem; padding: .75rem 1.15rem; border-top: 1px solid var(--line); background: #f7f9f8; }
.event-log { list-style: none; padding: 0; margin: 0; }
.event-log li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding-block: .55rem; border-bottom: 1px solid #e4e8e6; }
.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: 1.5rem 0 1rem; }
.problem-tool-result > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.5rem; border-top: 1px solid var(--line); padding-block: .65rem; }
.problem-tool-result dt { color: var(--teal); 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: 1rem; margin: 0; padding: 1rem 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 1rem; border-top: 1px solid var(--line); border-left: 2px solid #ad8951; }
.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: #f7f9f8; 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: .25rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.assignment-list .current-assignment { background: #e8f0f4; padding: .75rem; border: 1px solid #c7d3da; border-left: 3px solid #466a7c; 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: 1rem 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 #dce1e4; }
.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 #859d95; border-radius: 2px; }
.step-box.checked { color: #fff; background: var(--teal); border-color: var(--teal); font-size: .875rem; }
.notebook-note { border-left: 2px solid var(--teal); background: #f4f7f6; padding: .8rem 1rem; }
.notebook-note p { margin-bottom: .5rem; }
.notebook-note p:last-child { margin-bottom: 0; }
.document-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.25rem; margin-top: 1rem; 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: 1rem; }
@media (max-width: 62rem) {
  .workflow-bridge, .preview-heading { flex-direction: column; gap: .5rem; }
}
@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 #c6d6d1; }
  .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 1rem; 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 #dbe1de; }
  .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: .25rem; }
  .problem-tool-result dt { margin-bottom: .25rem; }
  .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: 2px; }
.lab-ui :is(button, input, select, textarea):focus-visible { outline: 2px solid #356b80; outline-offset: 2px; }
.demo-controls { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; padding: .75rem .9rem; border-block: 1px solid #d3dadf; background: #f7f9fa; }
.ui-field { display: flex; flex-direction: column; gap: .25rem; 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: #273238; border: 1px solid #aab8bf; background: #fff; 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 #aab8bf; padding: .35rem .65rem; background: #fff; color: #304d5a; cursor: pointer; white-space: normal; }
.ui-action:hover { background: #e9eef1; border-color: #6f8a96; }
.ui-action.primary { color: #fff; background: #355963; border-color: #355963; }
.ui-action.primary:hover { background: #274752; }
.record-button { display: inline-block; margin: 0; border: 0; padding: .1rem 0; background: transparent; color: #234f66; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; text-align: left; }
.record-button[aria-pressed="true"] { color: #223d4a; font-weight: 700; text-decoration: none; }
.grid-status { margin: 0 !important; padding: .45rem .9rem; font-size: .8125rem; color: #52666f; background: #f7f9fa; border-bottom: 1px solid #d3dadf; }
.empty-state { margin: 0; padding: 1.5rem 1rem; color: #526168; border-bottom: 1px solid #d3dadf; }
.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: #f5f7f8; border-block: 1px solid #d3dadf; }
.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: 1rem; background: transparent; }
.demo-note-form > [role="status"] { min-height: 1.45em; margin: 0; }
.prep-checklist input { margin: .25rem 0 0; width: 1rem; height: 1rem; accent-color: #355963; cursor: pointer; }
.prep-checklist input:disabled { cursor: default; }
.step-pending strong { font-weight: 500; }
.session-note { padding-top: .6rem; margin-top: .75rem; border-top: 1px solid #cbd6db; }
@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: .5rem; }
}
@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: .5rem; }
  .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: #fff; color: #222; }
  .demo-label { color: #444; }
}
@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: #666; }
}

/* Launch polish: comfortable controls and clear snapshot/session attribution. */
.availability { margin-top: 1.5rem; padding-left: 1rem; border-left: 3px solid var(--teal); }
.availability h3 { margin-bottom: .5rem; }
.availability:target { outline: 2px solid var(--teal); 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: #7c8b93; }
.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: .5rem; }
.ui-detail-body > .cell-note { margin-block: .5rem; }
.lab-ui .grid-status { line-height: 1.5; }
.review-note .cell-note { margin-bottom: .5rem; }
.work-queue > .cell-note { margin-bottom: 1rem; }
.current-assignment { cursor: default; }
@media (max-width: 44rem) {
  .record-button, .lab-table .ui-action { min-height: 2.75rem; }
  .event-log li { padding-block: .75rem; }
}
