.overview-page { line-height: 1.6; }
.overview-page [hidden] { display: none !important; }
.overview-page a { color: var(--green-soft); text-underline-offset: 4px; }
.overview-page h2 { font-size: clamp(25px, 3vw, 35px); letter-spacing: -.04em; line-height: 1.2; }
.overview-page h3 { letter-spacing: -.025em; }
.overview-page p { color: #acc0b7; }
.overview-page :focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.overview-page section[id] { scroll-margin-top: 100px; }
.overview-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: center; padding: 76px 0 58px; }
.overview-hero h1 { font-size: clamp(48px, 5.4vw, 72px); }
.overview-hero > div > p { font-size: 17px; max-width: 650px; margin-bottom: 28px; }
.overview-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.overview-page .primary-button, .overview-page .ghost-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-decoration: none; font-size: 12px; }
.overview-page .primary-button { color: #04110d; }
.runtime-summary { padding: 28px; background: linear-gradient(135deg, #112a22, #141f2f); border: 1px solid var(--line); border-radius: 18px; }
.runtime-summary > .eyebrow { font-size: 10px; }
.runtime-row { display: flex; align-items: center; gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.runtime-row strong { font-size: 14px; font-weight: 600; }
.runtime-row p { font-size: 12px; margin: 3px 0 0; }
.runtime-symbol { display: grid; place-items: center; width: 35px; height: 35px; flex-shrink: 0; border-radius: 10px; font-size: 13px; }
.vaccine-symbol { color: #c1caff; background: #293450; }
.protein-symbol { color: #99f7da; background: #204c3a; }
.bridge-symbol { color: #eccd98; background: #3b3222; }
.runtime-summary > a { display: inline-block; font-size: 11px; margin-top: 18px; }
.context-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 60px; }
.context-strip .eyebrow { font-size: 10px; }
.context-strip h2 { font-size: 22px; margin: 9px 0 0; }
.context-strip p { margin: 0; font-size: 13px; align-self: center; }
.map-heading { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.map-heading h2 { margin-bottom: 12px; }
.map-heading p { font-size: 13px; margin: 0; }
.quiet-button { border: 1px solid #2b453b; color: #d5e5dd; background: #10261c; border-radius: 8px; padding: 9px 12px; font-size: 11px; cursor: pointer; }
.quiet-button:disabled { opacity: .4; cursor: not-allowed; }
.quiet-button:not(:disabled):hover { border-color: var(--green); }
.map-heading > .quiet-button { flex-shrink: 0; }
.status-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.status-chip { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 4px 9px; border-radius: 6px; font-size: 10px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.status-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status-chip.live { background: #173c2c; color: #a0f1cc; }
.status-chip.stored { background: #222e4c; color: #c0ceff; }
.status-chip.local { background: #23312b; color: #c4d4cc; }
.status-chip.planned { background: #382d1c; color: #ebc899; }
.provenance-note { border-left: 2px solid #576c9b; padding: 12px 16px; background: #101f25; font-size: 12px; color: #b0c2c7; margin-bottom: 28px; }
.provenance-note strong { color: #e0eaf3; }
.workflow-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.workflow-lane { min-width: 0; }
.lane-heading { border-top: 2px solid #7b91da; padding: 25px 0 20px; min-height: 300px; }
.protein-lane .lane-heading { border-top-color: var(--green); }
.vaccine-lane .eyebrow { color: #b4c4ff; }
.lane-heading h3 { font-size: 28px; margin-bottom: 8px; }
.lane-question { color: #d5e4dc !important; font-size: 14px; min-height: 46px; }
.lane-runtime { font-size: 12px; min-height: 58px; }
.lane-source { display: flex; flex-direction: column; gap: 5px; padding: 12px 15px; background: #0d2118; border-radius: 9px; }
.lane-source > span, .lane-output > span { font-size: 9px; color: var(--muted); letter-spacing: .1em; }
.lane-source strong { font-size: 11px; font-weight: 500; }
.workflow-steps { padding: 0; list-style: none; margin: 0; display: grid; gap: 22px; }
.workflow-steps > li { position: relative; min-width: 0; }
.workflow-steps > li:not(:last-child)::after { content: "↓"; position: absolute; bottom: -22px; left: 22px; line-height: 22px; font-size: 14px; color: #536b60; }
.workflow-step { display: block; width: 100%; min-height: 218px; height: 100%; text-align: left; border-radius: 12px; border: 1px solid #294135; padding: 19px 21px; color: var(--text); background: #0d2018; cursor: pointer; transition: border-color 150ms ease, background 150ms ease; }
.workflow-step:hover { border-color: #69b598; background: #132c21; }
.vaccine-lane .workflow-step:hover { border-color: #849cdb; background: #15252a; }
.step-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-number { font: 12px ui-monospace, monospace; color: var(--muted); }
.step-arrow { margin-left: auto; color: #8caf9d; }
.step-card-title { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.step-card-line { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; font-size: 11px; color: #acc0b7; margin-top: 6px; line-height: 1.6; }
.step-card-line > b { color: #79998a; font-size: 9px; letter-spacing: .05em; padding-top: 2px; font-weight: 500; }
.lane-output { padding: 20px 21px; margin-top: 22px; border: 1px solid #345148; background: #132a21; border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.vaccine-lane .lane-output { border-color: #364964; background: #14212d; }
.lane-output strong { font-size: 13px; font-weight: 500; }
.lane-output a { font-size: 12px; }
.review-bar { display: flex; align-items: center; gap: 24px; padding: 26px; margin: 26px 0 60px; border: 1px solid var(--line); background: #0d1d18; border-radius: 12px; }
.review-icon { color: #95b6a5; font-size: 23px; }
.review-bar h3 { font-size: 18px; margin-bottom: 5px; }
.review-bar p { font-size: 12px; margin: 0; }
.ai-section { margin-bottom: 64px; }
.ai-section h2 { max-width: 710px; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ai-grid article { border-top: 1px solid #365043; padding-top: 22px; }
.ai-grid h3 { font-size: 20px; margin: 18px 0 10px; }
.ai-grid p { font-size: 13px; }
.ai-grid a { font-size: 12px; }
.connection-section { padding-top: 36px; border-top: 1px dashed #685c3e; }
.connection-section .eyebrow { color: #e0c18d; }
.roadmap-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.roadmap-step { display: block; text-align: left; width: 100%; height: 100%; border: 1px dashed #65593c; background: #1b2018; border-radius: 11px; padding: 22px; color: var(--text); }
.roadmap-step:hover { background: #26291c; border-color: #c8af7e; }
.roadmap-step > strong { display: block; font-size: 16px; font-weight: 600; margin: 16px 0 9px; }
.roadmap-output { display: block; font-size: 12px; color: #b9bca8; }
.roadmap-link { display: block; font-size: 11px; color: #e0c18d; margin-top: 15px; }
.boundary-note { padding: 20px 24px; background: #2a251b; border-left: 2px solid #bc9e65; margin-top: 24px; color: #e6cca5; font-size: 13px; }
.boundary-note p { font-size: 12px; color: #c7bda9; margin: 5px 0 0; }
.open-workspaces { padding: 66px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.open-workspaces h2 { font-size: 25px; margin-bottom: 0; }
#stepDialog { width: min(690px, calc(100% - 30px)); max-height: calc(100dvh - 40px); border: 1px solid #416456; border-radius: 18px; background: #0d2018; color: var(--text); padding: 30px; box-shadow: 0 30px 100px #0008; overflow: auto; overscroll-behavior: contain; }
#stepDialog::backdrop { background: #020b08c9; backdrop-filter: blur(5px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dialog-top .eyebrow { font-size: 10px; margin: 0; }
#stepTitle { margin: 16px 0 12px; font-size: 29px; }
.dialog-runtime { font-size: 12px; }
.step-method { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; gap: 5px; }
.step-method span { color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.step-method strong { font-size: 13px; font-weight: 500; }
.step-detail-list { margin: 22px 0; }
.step-detail-list > div { display: grid; grid-template-columns: 65px 1fr; gap: 15px; margin: 15px 0; font-size: 13px; }
.step-detail-list dt { color: var(--green-soft); }
.step-detail-list dd { margin: 0; color: #c2d1c8; }
.step-limit { background: #30291d; border-radius: 9px; padding: 16px; color: #e8cda3; font-size: 12px; }
.step-limit p { color: #ccbda5; margin: 5px 0 0; }
.step-evidence { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; margin: 18px 0; }
.dialog-actions { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.step-pagination { display: flex; gap: 8px; }
.export-status { font-size: 12px; color: var(--green-soft); text-align: center; padding: 0 24px 20px; }
@media (max-width: 1000px) {
  .overview-hero { gap: 32px; }
  .overview-hero h1 { font-size: 50px; }
  .workflow-lanes { gap: 22px; }
  .workflow-step { min-height: 252px; }
  .lane-heading { min-height: 340px; }
  .ai-grid { gap: 20px; }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .open-workspaces { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .overview-page section[id] { scroll-margin-top: 135px; }
  .overview-hero, .context-strip, .workflow-lanes, .ai-grid { grid-template-columns: 1fr; }
  .overview-hero { padding: 42px 0 32px; gap: 30px; }
  .overview-hero h1 { font-size: 46px; }
  .overview-hero > div > p { font-size: 15px; }
  .overview-actions { align-items: stretch; }
  .runtime-summary { padding: 22px; }
  .context-strip { gap: 16px; margin-bottom: 40px; }
  .map-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lane-heading { min-height: auto; padding-bottom: 22px; }
  .lane-question, .lane-runtime { min-height: auto; }
  .workflow-step { min-height: 210px; padding: 18px; }
  .workflow-lanes { gap: 40px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .review-bar { padding: 22px; align-items: flex-start; }
  .ai-grid { gap: 26px; }
  .status-chip { font-size: 9px; }
  #stepDialog { padding: 20px; max-height: calc(100dvh - 24px); }
  #stepTitle { font-size: 26px; }
  .step-detail-list > div { grid-template-columns: 1fr; gap: 3px; }
  .dialog-top .eyebrow { max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .overview-page { scroll-behavior: auto; }
  .workflow-step { transition: none; }
}
