/* ARCELL V3 — targeted copy/layout refinement, specimen workflow and data visuals.
   Uses the V2 brand tokens. No external fonts, trackers or UI dependencies. */
.heading-single { grid-template-columns: 1fr; }
.section-heading.heading-statement { display: block; margin-bottom: 38px; }
.heading-statement h2 { max-width: 1050px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.65; letter-spacing: -.025em; }
#advantage .heading-statement h2 { color: #fff; }
.instrument { padding: 20px; }
.proof-label { align-self: center; }
.proof-label span { display: block; max-width: 220px; }
.related-guides { border-top: 1px solid var(--line); background: var(--tint); padding: 25px 0; }
.related-guides .container { display: flex; align-items: center; gap: 24px 36px; flex-wrap: wrap; }
.related-guides p { margin: 0 auto 0 0; font-weight: 700; }

/* A restrained data-first stage, with complete source figure groups. */
.bioinformatics-section { background: #fff; }
.analysis-explorer { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 18px 56px #17345908; }
.analysis-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); background: #f7fafc; }
.analysis-tabs button { position: relative; min-height: 74px; padding: 19px 22px; background: none; border: 0; border-right: 1px solid var(--line); color: var(--muted); font-size: 15px; font-weight: 700; text-align: left; display: flex; gap: 16px; align-items: center; line-height: 1.5; }
.analysis-tabs button:last-child { border-right: 0; }
.analysis-tabs button[aria-selected="true"] { color: var(--navy); background: #fff; }
.analysis-tabs button[aria-selected="true"]::after { content: ''; position: absolute; bottom: 0; left: 22px; right: 22px; height: 3px; background: var(--teal); border-radius: 3px 3px 0 0; }
.analysis-tabs button:hover { background: #edf7f6; }
.analysis-tabs .tab-number { color: #7fa8b2; font-size: 10px; letter-spacing: .1em; font-weight: 750; }
.analysis-tabs button:focus-visible { outline-offset: -5px; }
.analysis-panel { display: grid; grid-template-columns: minmax(0,1.23fr) minmax(0,1fr); min-height: 428px; }
.analysis-panel:focus { outline: none; }
.analysis-panel:focus-visible { outline: 3px solid var(--teal); outline-offset: -5px; }
.analysis-visual { padding: 32px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg,#f5f9fc,#fff); }
.analysis-plot-surface { flex: 1; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 24px; background: #fff; border: 1px solid #e6edf3; border-radius: 12px; padding: 25px; min-height: 274px; }
.plot-link { position: relative; display: block; width: 100%; border-radius: 5px; }
.plot-link img { width: 100%; height: auto; object-fit: contain; }
.analysis-visual.single-plot .plot-link img { max-height: 305px; }
.analysis-visual.has-two .plot-link { max-width: 390px; }
.analysis-visual.has-two .plot-link img { max-height: 130px; }
.analysis-panel[data-analysis-panel="space"] .plot-link { max-width: 300px; }
.plot-expand { position: absolute; right: 2px; bottom: 2px; width: 26px; height: 26px; background: #fff; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); text-align: center; font-size: 15px; line-height: 24px; box-shadow: 0 2px 6px #1638630c; opacity: .85; }
.plot-link:hover .plot-expand { background: var(--teal); color: #fff; opacity: 1; }
.analysis-source { margin: 13px 0 0 !important; color: #6e8193; font-size: 10px; line-height: 1.7; }
.analysis-copy { padding: 39px 36px; align-self: center; }
.analysis-copy .eyebrow { font-size: 10px; margin-bottom: 16px; }
.analysis-copy h3 { font-size: clamp(23px,2vw,28px); line-height: 1.5; margin-bottom: 18px; }
.analysis-copy>p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.9; }
.analysis-copy ul { list-style: none; padding: 0; margin: 20px 0 26px; font-size: 13px; color: var(--ink); }
.analysis-copy li { position: relative; padding-left: 19px; margin-top: 9px; }
.analysis-copy li::before { content: ''; position: absolute; left: 0; top: .8em; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }
.analysis-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.analysis-gallery-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.gallery-figure { min-height: 235px; padding: 34px 30px 24px; display: flex; align-items: center; justify-content: center; background: #fff; border-bottom: 1px solid #eef3f6; }
.gallery-figure .plot-link { max-width: 490px; }
.gallery-figure img { max-height: 185px; }
#spatial .gallery-figure .plot-link { max-width: 320px; }
.gallery-caption { padding: 25px 30px 30px; display: grid; grid-template-columns: 25px 1fr; gap: 11px 12px; align-items: baseline; }
.gallery-caption h3 { font-size: 22px; }
.gallery-caption p { color: var(--muted); font-size: 14px; grid-column: 2; }
.gallery-source { margin-top: 24px !important; }
.analysis-delivery { border-top: 1px solid var(--line); }

/* Eight-step service loop. The DOM order remains 1–8 for reading/accessibility.
   Wide screens use a serpentine layout; narrow screens use plain numerical order. */
.sample-workflow-section { background: #fff; }
.service-flow { --flow-gap: 20px; position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: auto auto; gap: 30px var(--flow-gap); }
.service-step { position: relative; padding: 24px 25px 25px; border: 1px solid var(--line); background: #fff; border-radius: 13px; }
.service-step:nth-child(2n) { background: #f5fafb; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-number { font-size: 12px; color: var(--teal); font-weight: 750; letter-spacing: .08em; }
.step-symbol { color: var(--teal); display: block; width: 38px; height: 38px; }
.step-symbol svg { display: block; width: 100%; height: 100%; }
.service-step h3 { font-size: 19px; margin-bottom: 12px; }
.service-step p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.service-step:not(:nth-child(4)):not(:last-child)::after { content: '→'; position: absolute; top: 50%; right: calc(-1 * var(--flow-gap) + 2px); transform: translateY(-50%); width: calc(var(--flow-gap) - 4px); font-size: 15px; color: #83a8b9; text-align: center; }
.service-step:nth-child(4)::after { content: '↓'; position: absolute; right: 50%; bottom: -28px; transform: translateX(50%); color: #83a8b9; font-size: 18px; line-height: 26px; }
.service-step:nth-child(5) { grid-column: 4; grid-row: 2; }
.service-step:nth-child(6) { grid-column: 3; grid-row: 2; }
.service-step:nth-child(7) { grid-column: 2; grid-row: 2; }
.service-step:nth-child(8) { grid-column: 1; grid-row: 2; }
.service-step:nth-child(n+5):not(:last-child)::after { content: '←'; right: auto; left: calc(-1 * var(--flow-gap) + 2px); }
.workflow-footer { display: flex; gap: 20px 35px; align-items: baseline; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.workflow-footer>span { font-size: 11px; color: var(--teal); font-weight: 700; flex-shrink: 0; letter-spacing: .02em; }
.workflow-footer p { font-size: 12px; color: var(--muted); margin: 0; }

/* Sample-type preparation panels. No unconfirmed numerical acceptance limits. */
.sampling-guide-section { scroll-margin-top: 105px; }
.sampling-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; }
.sampling-panel-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 22px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.sampling-panel-heading h3 { font-size: 24px; }
.preparation-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; padding: 26px 0 28px; }
.preparation-steps>div+div { border-left: 1px solid var(--line); padding-left: 29px; }
.preparation-steps span { font-size: 11px; font-weight: 750; letter-spacing: .08em; color: var(--teal); }
.preparation-steps h4 { margin: 12px 0; font-size: 20px; }
.preparation-steps p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.preparation-check { background: #f2f8f8; border-radius: 7px; padding: 14px 18px; font-size: 13px; color: var(--muted); margin: 0 !important; }
.sample-download { margin-top: 25px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 25px 30px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.sample-download h3 { font-size: 19px; margin-bottom: 9px; }
.sample-download p { font-size: 13px; color: var(--muted); }
.sample-download .button { flex-shrink: 0; }
.sample-prep-note { margin-top: 20px !important; font-size: 12px; color: var(--muted); }

/* Source image inspection, progressively enhanced from ordinary image links. */
.figure-dialog { width: min(1120px,calc(100vw - 36px)); max-height: 92vh; padding: 0; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: 0 35px 120px #07182780; }
.figure-dialog::backdrop { background: #06172dd9; }
.figure-dialog-inner { display: flex; flex-direction: column; max-height: 90vh; }
.figure-dialog-heading { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #fff; border-bottom: 1px solid var(--line); padding: 17px 22px; }
.figure-dialog-heading h2 { font-size: 18px; line-height: 1.6; }
.figure-dialog-close { border: 1px solid var(--line); background: #fff; border-radius: 50%; flex-shrink: 0; width: 40px; height: 40px; line-height: 1; font-size: 26px; color: var(--ink); }
.figure-dialog-stage { overflow: auto; background: #f5f8fa; padding: 22px; }
.figure-dialog-stage img { display: block; background: #fff; width: auto; max-width: 100%; max-height: none; margin: auto; }
.figure-dialog-foot { padding: 13px 22px 17px; background: #fff; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.figure-dialog-foot a { color: var(--teal); white-space: nowrap; }
body.has-figure-dialog { overflow: hidden; }

@media(min-width:1021px) and (max-width:1200px) {
 .main-nav { gap: 14px; }
 .main-nav>a { font-size: 11px; }
 .header-inner { gap: 17px; }
 .header-actions { gap: 9px; }
 .analysis-copy { padding: 28px; }
 .analysis-visual { padding: 25px; }
 .service-step { padding: 21px 18px; }
 .service-step h3 { font-size: 17px; }
}
@media(max-width:1020px) {
 .analysis-tabs button { padding: 16px; gap: 9px; font-size: 13px; }
 .analysis-tabs button[aria-selected="true"]::after { left: 16px; right: 16px; }
 .analysis-copy { padding: 28px; }
 .analysis-visual { padding: 25px; }
 .analysis-plot-surface { padding: 20px; }
 .service-step { padding: 20px 17px; }
 .service-step h3 { font-size: 16px; }
 .service-step p { font-size: 12px; }
 .preparation-steps { gap: 22px; }
 .preparation-steps>div+div { padding-left: 21px; }
 .gallery-figure { min-height: 200px; padding: 25px; }
}
@media(max-width:760px) {
 .section-heading.heading-statement { margin-bottom: 30px; }
 .heading-statement h2 { font-size: 27px; line-height: 1.65; }
 .analysis-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .analysis-tabs button { min-height: 56px; font-size: 13px; border-bottom: 1px solid var(--line); }
 .analysis-tabs button:nth-child(2n) { border-right: 0; }
 .analysis-tabs button:nth-last-child(-n+2) { border-bottom: 0; }
 .analysis-panel { grid-template-columns: 1fr; }
 .analysis-visual { padding: 23px; }
 .analysis-plot-surface { min-height: 180px; padding: 19px; gap: 20px; }
 .analysis-visual.single-plot .plot-link img { max-height: 220px; }
 .analysis-visual.has-two .plot-link { max-width: 360px; }
 .analysis-visual.has-two .plot-link img { max-height: 125px; }
 .analysis-copy { padding: 10px 25px 30px; }
 .analysis-copy h3 { font-size: 24px; }
 .analysis-copy .eyebrow { font-size: 9px; }
 .analysis-source { font-size: 9px; }
 .analysis-copy ul { margin: 17px 0 22px; }
 .analysis-gallery { grid-template-columns: 1fr; gap: 20px; }
 .gallery-figure { min-height: 205px; padding: 28px; }
 .gallery-caption { padding: 21px 23px 25px; }
 .gallery-caption h3 { font-size: 21px; }
 .service-flow { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
 .service-step { grid-row: auto !important; grid-column: auto !important; padding: 20px; }
 .service-step::after { display: none !important; }
 .service-step h3 { font-size: 17px; }
 .service-step p { font-size: 12px; }
 .step-top { margin-bottom: 17px; }
 .step-symbol { width: 32px; height: 32px; }
 .workflow-footer { flex-direction: column; gap: 8px; }
 .sampling-panel { padding: 25px; }
 .sampling-panel-heading { align-items: flex-start; flex-direction: column; gap: 14px; padding-bottom: 23px; }
 .sampling-panel-heading h3 { font-size: 23px; }
 .preparation-steps { grid-template-columns: 1fr; gap: 24px; padding: 24px 0; }
 .preparation-steps>div+div { border-left: 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
 .preparation-steps h4 { font-size: 19px; margin-top: 9px; }
 .preparation-steps p { font-size: 14px; }
 .preparation-check { font-size: 12px; }
 .sample-download { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; }
 .sample-prep-note { font-size: 11px; }
 .related-guides .container { gap: 14px 26px; }
 .related-guides p { flex-basis: 100%; }
 .figure-dialog-stage { padding: 12px; }
 .figure-dialog-heading { padding: 12px 15px; }
 .figure-dialog-heading h2 { font-size: 16px; }
 .figure-dialog-foot { padding: 13px 15px; font-size: 10px; align-items: flex-start; }
 .figure-dialog-foot a { font-size: 11px; }
}
@media(max-width:390px) {
 .heading-statement h2 { font-size: 25px; }
 .analysis-tabs button { padding: 14px 12px; gap: 9px; font-size: 12px; }
 .analysis-visual { padding: 18px; }
 .analysis-plot-surface { min-height: 156px; padding: 14px; }
 .analysis-copy { padding: 9px 21px 27px; }
 .analysis-copy h3 { font-size: 23px; }
 .analysis-copy>p:not(.eyebrow) { font-size: 13px; }
 .analysis-copy li { font-size: 12px; }
 .service-flow { gap: 12px; }
 .service-step { padding: 17px 14px; }
 .service-step h3 { font-size: 16px; }
 .service-step p { font-size: 11px; }
 .sampling-panel { padding: 22px; }
 .sampling-panel-heading h3 { font-size: 21px; }
 .sample-download { padding: 22px; }
}
@media(prefers-reduced-motion:reduce) { .analysis-explorer *, .figure-dialog * { scroll-behavior: auto; } }
@media print {
 .analysis-tabs,.plot-expand,.figure-dialog { display: none !important; }
 .analysis-panel[hidden],.sampling-panel[hidden] { display: block !important; }
 .analysis-panel { display: block; min-height: 0; break-inside: avoid; }
 .service-flow { grid-template-columns: repeat(2,1fr); }
 .service-step { grid-column: auto !important; grid-row: auto !important; }
 .service-step::after { display: none !important; }
}
