/* BENCHJOY / November refinement. Load after the existing site styles. */
:root {
  --bj-ink: #172034;
  --bj-blue: #0B4176;
  --bj-line: #d7dfeb;
  --bj-muted: #667389;
  --bj-surface: #f4f6fb;
  --bj-positive: #176449;
  --bj-caution: #8a570e;
  --bj-negative: #a33336;
}
body { color: var(--bj-ink); text-rendering: optimizeLegibility; }
::selection { color: #fff; background: #0B4176; }
button, a, input, select, textarea { touch-action: manipulation; }
button, a { transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #0B4176;
  outline-offset: 4px;
}
button:disabled { cursor: not-allowed; }
input, select, textarea, button { max-width: 100%; }
:where(.hero-copy,.hero-art,.builder-main,.quote-aside,.panel,.sample-content,.sample-fields,.form-grid > *, .screening-sample > *) { min-width: 0; }
:where(.fineprint,.scope-note,.row-status,.screening-note,.screening-sample p) { overflow-wrap: anywhere; }
.site-header { min-height: 92px; border-bottom-color: #cdd6e5; }
.site-header nav button { min-height: 91px; font-weight: 600; }
.site-header nav button:hover, .account-button:hover { color: var(--bj-blue); }
.logo .brand-mark { transition: transform .25s ease; }
.logo:hover .brand-mark { transform: rotate(-5deg); }
.demo-banner { line-height: 1.5; padding-top: 7px; padding-bottom: 7px; }

/* Give the existing sequence illustrations room; keep the blue/ink identity. */
.landing-hero { padding-top: 74px; padding-bottom: 76px; gap: 60px; }
.hero-copy h1 { font-weight: 750; line-height: 1.2; letter-spacing: -.065em; }
.hero-kicker { color: #4b5971; margin-bottom: 31px; }
.hero-description { font-size: 16px; line-height: 1.9; max-width: 410px; }
.hero-buttons { gap: 28px; }
.hero-buttons .button { min-height: 53px; }
.hero-bottomnote { font-size: 12px; line-height: 1.7; color: #6b7890; }
.hero-art { position: relative; }
.sequence-art { border: 1px solid #d5dce8; }
.art-caption { line-height: 1.65; font-size: 11px; }
.landing-divider { padding-top: 29px; padding-bottom: 62px; border-top: 1px solid #34435e; }
.landing-divider p { color: #647188; line-height: 1.9; }
.section-intro { padding-top: 34px; padding-bottom: 42px; }
.section-intro > p { font-weight: 700; color: #4c5e7c; }
.product-story { gap: 32px; padding-top: 47px; padding-bottom: 49px; }
.product-story h3 { font-size: clamp(58px,5.5vw,76px); font-weight: 750; }
.product-story h4 { font-size: 25px; line-height: 1.48; }
.product-story p { font-size: 14px; line-height: 1.85; }
.product-id { color: #0B4176; font-weight: 700; }
.product-id span { color: #77859b; font-weight: 400; }
.product-facts { column-gap: 7px; row-gap: 7px; }
.product-facts span { color: #4a5b77; background: #fff; padding: 6px 9px; font-size: 11px; }
.product-link:hover { color: #0B4176; border-bottom-color: #0B4176; }
.product-link:hover span { transform: translate(2px,-2px); }
.product-link span { transition: transform .16s ease; }
.fragment-study { background: #edf0f6; border: 1px solid #dae1ed; }
.vector-study { background: #17243d; border: 1px solid #17243d; }
.scope-caption { line-height: 1.9; font-size: 12px; color: #728099; }
.paperwork-section { background: #eff2f8; border-top: 1px solid #e2e7f0; border-bottom: 1px solid #e2e7f0; }
.paperwork-layout h2 { font-weight: 700; }
.paperwork-layout > div > p:not(.small-label) { font-size: 14px; }
.paper-front { box-shadow: 0 16px 40px #152a4712; border: 1px solid #dde4ee; }
.paper-row { line-height: 1.6; font-size: 11px; }
.paper-front h3 { color: #243451; }
.paper-note { font-size: 12px; }
.landing-end h2 { font-weight: 700; }
.end-services { gap: 24px; }
.end-services button:hover { color: #0B4176; }
.site-footer { border-top-color: #d7dfeb; }

/* Ordering: a clear rail for services, a quiet workspace, and a stable quote. */
.order-workspace { padding-top: 50px; }
.section-head { gap: 20px; align-items: flex-end; }
.section-head .subtle { max-width: 240px; font-size: 12px; line-height: 1.7; }
.section-head h2 { font-size: 34px; line-height: 1.35; }
.product-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; border-top: 1px solid #d7dfeb; border-bottom: 1px solid #bfcce2; }
.product-tabs button { min-width: 0; min-height: 88px; padding: 18px 14px; align-items: center; border-right: 1px solid #e0e6f0; }
.product-tabs button:last-child { border-right: 0; }
.product-tabs button:hover { background: #EEF2F7; color: #244fc9; }
.product-tabs button[aria-selected="true"] { background: #eaf0ff; color: #1f419a; }
.product-tabs button[aria-selected="true"]::after { height: 3px; }
.product-tabs strong { font-size: 19px; line-height: 1.35; font-weight: 750; }
.product-tabs small { font-size: 11px; line-height: 1.65; margin-top: 3px; overflow-wrap: anywhere; }
.product-symbol { width: 30px; text-align: center; flex-shrink: 0; }
.builder-grid { gap: 40px; align-items: start; }
.panel { padding-top: 29px; padding-bottom: 31px; }
.panel-title { gap: 16px; align-items: center; margin-bottom: 16px; }
.panel-title h3 { line-height: 1.5; font-size: 21px; }
.panel-title .eyebrow { margin-bottom: 7px; }
.panel > .muted, .configuration > .muted { margin-top: -3px; margin-bottom: 21px; color: #66758c; }
.form-grid { column-gap: 20px; row-gap: 18px; }
label { color: #4a5b77; font-weight: 500; }
input:not([type="checkbox"]):not([type="radio"]),select,textarea { border-color: #c9d3e4; color: #21314b; line-height: 1.6; font-size: 14px; padding: 11px 12px; border-radius: 3px; }
input:not([type="checkbox"]):not([type="radio"]):hover,select:hover,textarea:hover { border-color: #98aac7; }
textarea { resize: vertical; }
input::placeholder,textarea::placeholder { color: #929bad; opacity: 1; }
.check-row { align-items: flex-start; gap: 10px; }
.check-row input { flex-shrink: 0; accent-color: #0B4176; margin-top: 4px; }
.scope-note { background: #eff3fb; color: #536783; font-size: 12px; line-height: 1.85; border-left-color: #5f83ed; }
.fineprint { font-size: 11px; line-height: 1.8; color: #77849b; }
.sample-row { padding: 19px 0; border-bottom-color: #dbe3ef; }
.sample-row:focus-within { background: #f3f6fc; box-shadow: 10px 0 #f3f6fc,-10px 0 #f3f6fc; }
.sample-number { font: 700 12px ui-monospace,SFMono-Regular,Consolas,monospace; background: #e9effc; color: #375fb7; }
.sample-content { gap: 12px; }
.sample-content textarea { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 12px; letter-spacing: .025em; line-height: 1.8; }
.sample-content .row-status { font-size: 11px; color: #73819a; line-height: 1.7; }
.add-row { min-height: 46px; font-weight: 600; background: #f0f4fc; border-color: #cbd8ef; color: #3b5b97; }
.add-row:hover { background: #EEF2F7; border-color: #8ca9ec; }
#bulkBox { padding: 18px; background: #eef2f9; margin: 18px 0; border: 1px solid #d5dfef; }
#bulkBox .button-row { margin-top: 12px; flex-wrap: wrap; gap: 12px; }
.quote-aside { top: 24px; }
.quote-card { padding: 27px 25px; border: 1px solid #c8d5e9; border-top: 3px solid #0B4176; box-shadow: 0 12px 30px #1e3a6410; }
.quote-top { letter-spacing: .01em; color: #71809a; }
.quote-card h3 { font-size: 33px; line-height: 1.3; margin-top: 20px; margin-bottom: 9px; }
.quote-card #quoteDescription { font-size: 12px; line-height: 1.75; }
.price-display { margin-top: 25px; margin-bottom: 24px; }
.price-display small { display: block; font-size: 11px; color: #75839b; margin-bottom: 8px; }
.price-display strong { font-size: clamp(29px,3vw,39px); color: #192a4a; overflow-wrap: anywhere; line-height: 1.25; font-variant-numeric: tabular-nums; }
.money-row { padding: 9px 0; gap: 16px; line-height: 1.65; }
.money-row b { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.money-row small { color: #7b8ba5; }
.quote-total { align-items: center; padding-top: 20px; margin-top: 12px; }
.quote-total strong { font-variant-numeric: tabular-nums; font-size: 27px; line-height: 1.4; text-align: right; overflow-wrap: anywhere; }
.quote-card .full { min-height: 48px; margin-top: 10px; }
.quote-card .included-list { border-top: 1px solid #dce5f2; padding-top: 11px; margin-top: 18px; }
.quote-card .included-list span { font-size: 11px; line-height: 1.65; }
#placeOrder:disabled { background: #e8edf5; color: #758299; border-color: #d6dfec; opacity: 1; }
#formErrors:not(:empty) { border-left: 2px solid #b44a4c; padding: 12px 14px; background: #fff3f2; color: #8e3337; margin-top: 15px; }

/* Complexity is a service decision, not decorative traffic-light dots. */
.screening-panel { margin-top: 24px; padding: 23px 0 10px; border-top: 1px solid #bdcce4; }
.screening-panel > h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.5; }
.screening-panel > p { margin: 0 0 18px; color: #66758c; font-size: 13px; line-height: 1.85; }
.screening-panel .panel-title { margin-bottom: 12px; }
.screening-panel .button-row { flex-wrap: wrap; gap: 12px; margin: 15px 0; }
.screening-panel [role="status"],.screening-note { color: #62748f; line-height: 1.85; font-size: 12px; }
.screening-status { display: inline-flex; align-items: center; gap: 7px; min-height: 25px; padding: 4px 9px; border: 1px solid #cdd8e9; background: #edf2f9; color: #546b8a; font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .01em; border-radius: 2px; white-space: normal; }
.screening-status::before { content: ''; width: 5px; height: 5px; background: currentColor; flex-shrink: 0; }
.screening-status.accepted,.screening-status[data-status="accepted"],.screening-status[data-state="accepted"] { background: #eaf5ef; color: #176449; border-color: #bcdccb; }
.screening-status.moderate,.screening-status[data-status="moderate"],.screening-status[data-state="moderate"] { background: #fff4df; color: #8a570e; border-color: #ead3a7; }
.screening-status.difficult,.screening-status[data-status="difficult"],.screening-status[data-state="difficult"] { background: #fff0ef; color: #a33336; border-color: #e7b9b9; }
.screening-status.pending,.screening-status[data-status="pending"],.screening-status[data-state="pending"] { background: #edf2f9; color: #546b8a; border-color: #cdd8e9; }
.screening-sample { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 18px; padding: 16px 0; border-bottom: 1px solid #dce4f0; align-items: start; }
.screening-sample:first-of-type { border-top: 1px solid #dce4f0; }
.screening-sample strong { color: #2b405f; font-size: 13px; overflow-wrap: anywhere; }
.screening-sample p,.screening-sample small { margin: 0; font-size: 12px; line-height: 1.8; color: #647690; }
.screening-sample > p,.screening-sample > small,.screening-sample > ul { grid-column: 1/-1; }
.screening-sample ul { padding-left: 18px; color: #647690; font-size: 12px; line-height: 1.8; margin: 3px 0; }
.screening-summary { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; margin: 17px 0; }
.screening-policy { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid #d5deed; border-bottom: 1px solid #d5deed; margin: 20px 0; }
.screening-policy > * { padding: 15px; border-right: 1px solid #d5deed; min-width: 0; }
.screening-policy > :last-child { border-right: 0; }
.screening-policy p { font-size: 12px; line-height: 1.8; margin: 10px 0 0; color: #61738e; }

/* Sequencing choices: label purpose and input before technical service names. */
.sequencing-guide { margin: 23px 0 26px; padding: 23px 0; border-top: 1px solid #bfcee6; border-bottom: 1px solid #d5deed; }
.sequencing-guide > h3 { font-size: 21px; line-height: 1.5; margin: 0 0 9px; }
.sequencing-guide > p { color: #66758c; font-size: 13px; line-height: 1.85; margin: 0 0 18px; }
.seq-choices,.sequencing-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.seq-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; text-align: left; padding: 19px; border: 1px solid #d1dced; border-radius: 2px; background: #fff; color: #354e75; font-size: 13px; line-height: 1.75; }
.seq-choice:hover { background: #f2f6ff; border-color: #93aee8; }
.seq-choice[aria-pressed="true"],.seq-choice.selected,.seq-choice.active { background: #edf3ff; border-color: #0B4176; box-shadow: inset 3px 0 #0B4176; }
.seq-choice strong,.seq-choice h4 { display: block; margin: 0; color: #1c355e; font-size: 16px; line-height: 1.5; font-weight: 700; }
.seq-choice small,.seq-choice p { display: block; color: #657b99; font-size: 12px; line-height: 1.85; margin: 0; }
.seq-choice .seq-input,.seq-choice .seq-spec { font-size: 11px; font-weight: 600; color: #45669d; }
.seq-choice .seq-price { margin-top: auto; padding-top: 8px; color: #0B4176; font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 700; }
.sequencing-guide table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; line-height: 1.7; }
.sequencing-guide th { background: #edf2fb; color: #3f5b83; font-weight: 600; }
.sequencing-guide th,.sequencing-guide td { border-bottom: 1px solid #d9e2ef; padding: 12px; vertical-align: top; }
.table-scroll,.table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.table-scroll table,.table-wrap table { min-width: 580px; }

@media (min-width: 1450px) {
  .landing-hero { gap: 65px; }
  .hero-copy h1 { font-size: 75px; }
}
@media (max-width: 1100px) {
  .landing-hero { gap: 32px; padding-top: 55px; padding-bottom: 55px; }
  .hero-copy h1 { font-size: clamp(43px,4.9vw,58px); }
  .hero-description { font-size: 14px; }
  .builder-grid { gap: 27px; }
  .product-tabs button { padding: 17px 11px; gap: 8px; }
  .product-tabs strong { font-size: 17px; }
  .product-tabs small { font-size: 10px; }
  .quote-card { padding: 25px 20px; }
  .quote-total strong { font-size: 25px; }
}
@media (max-width: 850px) {
  .site-header { min-height: 0; }
  .site-header nav button { min-height: 48px; }
  .landing-hero { gap: 24px; padding-top: 43px; padding-bottom: 47px; }
  .hero-copy h1 { font-size: clamp(38px,5.4vw,47px); }
  .hero-description { font-size: 13px; }
  .hero-bottomnote { font-size: 11px; }
  .product-story { gap: 23px; padding: 37px 0; }
  .product-story h4 { font-size: 21px; }
  .product-story p { font-size: 13px; }
  .builder-grid { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .quote-aside { position: static; }
  .quote-card { padding: 27px; }
  .product-tabs button { min-height: 83px; }
  .section-head h2 { font-size: 31px; }
}
@media (max-width: 600px) {
  .wrap,.site-header { padding-left: 21px; padding-right: 21px; }
  .demo-banner { font-size: 10px; gap: 7px; flex-wrap: wrap; }
  .header-actions { gap: 12px; }
  .hero-copy h1 { font-size: clamp(39px,9.5vw,56px); white-space: normal; }
  .landing-hero { grid-template-columns: minmax(0,1fr); padding-top: 38px; gap: 32px; }
  .hero-kicker { margin-bottom: 24px; font-size: 11px; }
  .hero-description { max-width: 100%; font-size: 14px; margin-top: 23px; }
  .hero-buttons { flex-direction: row; gap: 20px; flex-wrap: wrap; align-items: center; }
  .hero-buttons .button { min-height: 48px; padding: 12px 16px; font-size: 12px; }
  .hero-bottomnote { font-size: 11px; }
  .hero-art { width: 100%; max-width: 490px; justify-self: center; }
  .art-caption { font-size: 10px; }
  .landing-divider { display: block; padding-top: 23px; padding-bottom: 37px; }
  .landing-divider > span:first-child { font-size: 15px; }
  .landing-divider p { font-size: 12px; margin-top: 14px; }
  .section-intro { gap: 20px; padding: 26px 0 32px; }
  .section-intro h2 { font-size: 27px; }
  .product-story { grid-template-columns: 28px minmax(0,1fr); gap: 20px 14px; padding: 31px 0; }
  .product-story-copy { grid-column: 2; }
  .product-story h3 { font-size: 60px; margin-bottom: 20px; }
  .product-story h4 { font-size: 22px; }
  .product-story p { font-size: 13px; }
  .fragment-study,.vector-study { grid-column: 2; min-height: 230px; }
  .product-facts span { font-size: 10px; }
  .scope-caption { font-size: 11px; margin-bottom: 42px; }
  .paperwork-section { padding-top: 44px; padding-bottom: 49px; }
  .paperwork-layout { grid-template-columns: minmax(0,1fr); gap: 39px; }
  .paperwork-layout h2 { font-size: 39px; }
  .paper-stack { max-width: 350px; padding-right: 15px; }
  .paper-front { padding: 25px; }
  .paper-row { font-size: 10px; }
  .landing-end { padding-top: 46px; padding-bottom: 40px; }
  .landing-end h2 { font-size: 34px; }
  .end-services { column-gap: 18px; row-gap: 15px; }
  .end-services small { flex-basis: 100%; margin-left: 0; line-height: 1.8; }
  .section-head { align-items: start; flex-wrap: wrap; gap: 12px; }
  .section-head h2 { font-size: 29px; }
  .section-head .subtle { max-width: none; }
  .order-workspace { padding-top: 32px; }
  .product-tabs { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 0; }
  .product-tabs button { flex: 0 0 140px; min-height: 80px; scroll-snap-align: start; padding: 15px 12px; }
  .product-tabs strong { font-size: 17px; }
  .product-tabs small { font-size: 10px; }
  .product-symbol { width: 26px; font-size: 23px; }
  .panel-title { flex-wrap: wrap; gap: 10px; }
  .panel-title h3 { font-size: 20px; }
  .panel-title .text-button { padding: 0; font-size: 11px; line-height: 1.8; text-align: left; }
  .panel { padding-top: 25px; padding-bottom: 25px; }
  .sample-row { gap: 9px; }
  .sample-row:focus-within { box-shadow: none; }
  .sample-number { width: 24px; height: 24px; }
  .sample-content { gap: 11px; }
  .form-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .form-grid .span-2 { grid-column: auto; }
  .sample-content textarea { font-size: 12px; }
  input:not([type="checkbox"]):not([type="radio"]),select,textarea { font-size: 16px; }
  #bulkBox { padding: 14px; }
  .quote-card { padding: 24px 21px; }
  .quote-card h3 { font-size: 31px; }
  .price-display strong { font-size: 38px; }
  .quote-total strong { font-size: 26px; }
  .money-row { gap: 12px; }
  .scope-note { padding: 13px 14px; font-size: 12px; }
  .screening-policy { grid-template-columns: minmax(0,1fr); }
  .screening-policy > * { border-right: 0; border-bottom: 1px solid #d5deed; }
  .screening-policy > :last-child { border-bottom: 0; }
  .screening-sample { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .screening-sample .screening-status { justify-self: start; }
  .seq-choices,.sequencing-options { grid-template-columns: minmax(0,1fr); }
  .seq-choice { padding: 17px; }
  .seq-choice strong,.seq-choice h4 { font-size: 16px; }
  dialog { width: calc(100% - 24px); max-width: calc(100% - 24px); padding: 26px 20px; }
  dialog h2 { font-size: 27px; }
  .site-footer { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
