/* Discovery studio: one visual language for genome, evidence and research decisions. */
:root {
  --studio-bg: #f8fbfd;
  --studio-panel: #fff;
  --studio-wash: #edf2f9;
  --studio-text: #535e7c;
  --studio-faint: #75819c;
  --studio-accent: #6451af;
  --studio-accent-soft: #ebe7fa;
  --studio-cyan: #3c849a;
  --studio-success: #2d7a7d;
  --studio-shadow: 0 24px 80px #233e7310;
}
:root[data-theme="dark"] {
  --studio-bg: #101426;
  --studio-panel: #161b30;
  --studio-wash: #12172b;
  --studio-text: #b5bdd3;
  --studio-faint: #919db9;
  --studio-accent: #b5a3f5;
  --studio-accent-soft: #2b2546;
  --studio-cyan: #81c9d7;
  --studio-success: #87cacc;
  --studio-shadow: 0 28px 90px #0002;
}
.enzyme-mark { display: block; width: 100%; height: 100%; }
.enzyme-mark .mark-detail { opacity: .5; stroke-width: 1.2; }
.guide-tool-title { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.guide-tool-title>span { display: block; width: 65px; height: 65px; color: var(--studio-accent); flex-shrink: 0; }
.guide-tool-title h2 { font-size: clamp(30px,4vw,48px); }
.eyebrow { font-size: 10px; }
.statusbar { font-size: 10px; }
.sectionhead>p { font-size: 15px; }
.application p,.engage p,details p { font-size: 14px; }
.application h3 { max-width: 470px; line-height: 1.25; }
.applications { column-gap: 65px; row-gap: 35px; }
.application { padding-top: 30px; }
.application-mark { width: 64px; height: 64px; margin-bottom: 30px; color: var(--studio-accent); }
.application .mono { font-size: 10px; }


.discovery-section { max-width: 1500px; margin: auto; padding: 110px 50px 100px; }
.studio-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; margin-bottom: 50px; }
.studio-intro h2 { font-size: clamp(42px,4.5vw,67px); }
.studio-intro>div>p { margin: 0; color: var(--studio-text); font-size: 16px; line-height: 1.85; max-width: 510px; }
.studio-disclosure { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 24px; font: 9px 'IBM Plex Mono',monospace; }
.studio-disclosure>span { width: 6px; height: 6px; border-radius: 50%; background: var(--studio-cyan); }
.studio-disclosure b { font-weight: 400; color: var(--studio-cyan); }
.studio-disclosure small { font-size: 9px; color: var(--studio-faint); margin-left: 8px; }
.story-ribbon { display: flex; gap: 22px; align-items: center; padding: 23px 0; border-block: 1px solid var(--line); margin-bottom: 38px; color: var(--studio-text); font: 10px 'IBM Plex Mono',monospace; }
.story-ribbon i { color: var(--studio-accent); margin: 0 auto; font-size: 15px; font-style: normal; }
.discovery-console { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 24px; align-items: start; }
.module-sidebar { position: sticky; top: 25px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--studio-wash); }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 22px 20px; color: var(--studio-faint); }
.sidebar-heading span { font-size: 8px; letter-spacing: .06em; }
.sidebar-heading b { font-size: 13px; font-weight: 400; color: var(--studio-accent); }
.module-sidebar .agent-grid { display: flex; flex-direction: column; gap: 0; padding: 0 10px; }
.module-button { position: relative; display: grid; grid-template-columns: 43px 1fr 15px; gap: 12px; align-items: center; width: 100%; padding: 20px 12px; border: 1px solid transparent; border-radius: 12px; color: var(--studio-text); background: transparent; text-align: left; transition: background .2s,border-color .2s,transform .2s; }
.module-button:hover { background: var(--studio-panel); }
.module-button.is-selected { background: var(--studio-panel); border-color: var(--line); box-shadow: 0 5px 20px #1f275308; color: var(--ink); }
.module-button.is-selected::before { content: ''; width: 2px; height: 36px; position: absolute; left: -11px; border-radius: 2px; background: var(--studio-accent); }
.module-icon { width: 42px; height: 42px; color: var(--studio-accent); }
.module-label { min-width: 0; }
.module-label small { display: block; color: var(--studio-faint); font: 7px 'IBM Plex Mono',monospace; letter-spacing: .05em; margin-bottom: 6px; }
.module-label strong { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.4px; margin-bottom: 5px; }
.module-label>span { display: block; font-size: 10px; color: var(--studio-faint); }
.module-state { font-size: 15px; color: var(--studio-faint); }
.module-button.is-complete .module-state { color: var(--studio-success); }
.journey-progress { margin: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.journey-progress>div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--studio-text); }
.journey-progress b { font: 10px 'IBM Plex Mono',monospace; font-weight: 400; color: var(--studio-accent); }
.journey-meter { height: 3px; background: var(--line); margin-top: 15px; border-radius: 3px; overflow: hidden; }
.journey-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg,var(--studio-accent),var(--studio-cyan)); transition: width .5s ease; }
.journey-progress p { font-size: 10px; line-height: 1.8; color: var(--studio-faint); margin: 16px 0 12px; }
#restart-journey { padding: 0; border: 0; color: var(--studio-accent); background: none; text-align: left; font-size: 10px; }
.studio-main { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--studio-panel); box-shadow: var(--studio-shadow); min-width: 0; }
.studio-main .lab { margin: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; scroll-margin-top: 25px; }
.module-brief { padding: 34px 36px 0; background: radial-gradient(ellipse at 100% 0,var(--studio-accent-soft),transparent 58%),var(--studio-panel); }
.module-overline { display: flex; justify-content: space-between; gap: 20px; color: var(--studio-faint); font-size: 8px; letter-spacing: .07em; }
.brief-status { font: 7px 'IBM Plex Mono',monospace; color: var(--studio-accent); text-align: right; }
.brief-title { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 30px 0; }
.brief-title h3 { font-size: clamp(35px,3.4vw,54px); font-weight: 450; letter-spacing: -.055em; margin: 0 0 12px; }
.brief-title p { color: var(--studio-text); font-size: 14px; line-height: 1.8; max-width: 470px; margin: 0; }
.brief-try { border: 0; background: none; padding: 0 0 4px; border-bottom: 1px solid var(--line); color: var(--studio-accent); font-size: 11px; margin-top: 14px; }
.brief-icon { flex: 0 0 94px; height: 94px; color: var(--studio-accent); }
.brief-tabs { display: flex; gap: 27px; border-bottom: 1px solid var(--line); }
.brief-tabs button { padding: 0 0 16px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--studio-faint); font-size: 12px; line-height: 1.5; }
.brief-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--studio-accent); }
.module-detail { padding: 28px 0 30px; min-height: 280px; }
.module-summary { color: var(--studio-text); font-size: 14px; line-height: 1.85; margin: 0 0 23px; max-width: 760px; }
.reach-list { display: grid; gap: 18px; }
.reach-list>div { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 15px; }
.reach-list>div>span { font: 9px 'IBM Plex Mono',monospace; color: var(--studio-accent); padding-top: 4px; }
.reach-list p { font-size: 13px; line-height: 1.75; margin: 0; color: var(--studio-text); }
.chain-nodes { display: grid; grid-template-columns: 1fr; }
.chain-node { display: grid; grid-template-columns: 32px 1fr; gap: 15px; position: relative; padding: 14px 0; border-top: 1px solid var(--line); }
.chain-order { color: var(--studio-faint); font: 9px 'IBM Plex Mono',monospace; padding-top: 3px; }
.chain-node>div { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; gap: 3px 15px; }
.chain-node h4 { color: var(--ink); font-size: 13px; font-weight: 500; margin: 0; }
.chain-node p { grid-column: 2; margin: 3px 0 0; color: var(--studio-faint); font-size: 11px; line-height: 1.7; }
.chain-node .node-type { font: 8px 'IBM Plex Mono',monospace; color: var(--studio-cyan); }
.chain-node.llm .node-type { color: var(--studio-accent); }
.chain-node.llm,.chain-node.human { background: transparent; border-color: var(--line); }
.architecture-note { font-size: 10px; line-height: 1.8; color: var(--studio-faint); margin: 18px 0 0; }
.handoff-panel { display: flex; align-items: flex-start; gap: 30px; padding: 20px 0; }
.handoff-glyph { width: 85px; height: 85px; flex: 0 0 85px; color: var(--studio-accent); }
.handoff-panel .mono { font-size: 8px; color: var(--studio-accent); }
.handoff-panel h4 { margin: 18px 0; color: var(--ink); font-size: 21px; line-height: 1.55; font-weight: 450; letter-spacing: -.45px; }
.handoff-panel p { color: var(--studio-text); font-size: 13px; line-height: 1.85; }
.investigation { background: var(--studio-bg); border-top: 1px solid var(--line); }
.investigation-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 32px 36px 27px; }
.investigation-heading .eyebrow { margin: 0 0 10px; font-size: 8px; color: var(--studio-accent); }
.investigation-heading h4 { font-size: 25px; font-weight: 450; letter-spacing: -.7px; margin: 0; }
.investigation .simulation { font-size: 7px; color: var(--studio-cyan); padding-left: 10px; border-left: 1px solid var(--line); }
.incoming-record { display: flex; align-items: center; gap: 13px; margin: 0 30px 20px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--studio-accent-soft); }
.incoming-record>span { width: 40px; height: 40px; flex-shrink: 0; color: var(--studio-accent); }
.incoming-record p { font: 8px 'IBM Plex Mono',monospace; line-height: 1.8; color: var(--studio-text); margin: 0; }
.incoming-record p b { color: var(--ink); font-weight: 500; }
.incoming-record small { display: block; font: 11px/1.8 'DM Sans',sans-serif; margin-top: 5px; color: var(--studio-text); }
.case-header { display: flex; align-items: center; gap: 18px; margin: 0 30px 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.case-id { flex-shrink: 0; display: grid; place-items: center; width: 57px; height: 57px; border: 1px solid var(--line); border-radius: 13px; color: var(--studio-accent); background: var(--studio-panel); font: 11px 'IBM Plex Mono',monospace; }
.case-header b { font-size: 12px; font-weight: 500; line-height: 1.7; }
.case-header p { font-size: 11px; line-height: 1.7; color: var(--studio-faint); margin: 5px 0 0; }
.case-stamp { margin-left: auto; white-space: nowrap; color: var(--studio-faint); font: 7px 'IBM Plex Mono',monospace; align-self: flex-start; padding-top: 6px; }
.live-trace { border: 1px solid var(--line); border-radius: 16px; margin: 0 30px 28px; background: var(--studio-panel); overflow: hidden; }
.trace-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 22px 0; color: var(--studio-faint); }
.trace-heading .mono { font-size: 8px; letter-spacing: .06em; }
.trace-heading b { font: 9px 'IBM Plex Mono',monospace; color: var(--studio-accent); }
.trace-network { display: block; width: 100%; height: 145px; padding: 10px 25px 0; }
.trace-baseline { stroke: var(--line); stroke-width: .6; opacity: .4; }
.trace-route { stroke: var(--studio-accent); stroke-width: 1.5; opacity: .3; }
.trace-route-moving { opacity: 0; stroke: var(--studio-cyan); stroke-width: 2.5; stroke-dasharray: 10 22; }
.is-running .trace-route-moving { opacity: 1; animation: trace-flow 1.8s linear infinite; }
@keyframes trace-flow { to { stroke-dashoffset: -128; } }
.trace-node rect { fill: var(--studio-panel); stroke: var(--line); stroke-width: 1; transition: stroke .3s,fill .3s; }
.trace-node text { fill: var(--studio-faint); font: 9px 'IBM Plex Mono',monospace; }
.trace-node.active rect { stroke: var(--studio-accent); fill: var(--studio-accent-soft); stroke-width: 1.5; }
.trace-node.active text { fill: var(--studio-accent); }
.trace-node.done rect { stroke: var(--studio-cyan); }
.phase-track { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; margin: 0 15px 20px; }
.phase-track .flow-node { display: block; border: 0; background: transparent; padding: 11px 7px; text-align: center; border-radius: 7px; cursor: pointer; }
.phase-track .flow-node span { display: none; }
.phase-track .flow-node b { font-size: 10px; line-height: 1.65; font-weight: 450; color: var(--studio-faint); }
.phase-track .flow-node:hover { background: var(--studio-wash); }
.phase-track .flow-node.active { background: var(--studio-accent-soft); }
.phase-track .flow-node.active b { color: var(--studio-accent); }
.phase-track .flow-node.done b { color: var(--studio-text); }
.phase-track .flow-node:disabled { cursor: default; }
.trace-progress { background: var(--line); height: 2px; }
.trace-progress>span { display: block; height: 100%; width: 0; background: linear-gradient(90deg,var(--studio-accent),var(--studio-cyan)); transition: width .5s ease; }
.trace-insight { display: grid; grid-template-columns: 6px 1fr; gap: 14px; padding: 21px 23px 23px; min-height: 112px; }
.trace-indicator { width: 5px; height: 5px; border-radius: 50%; background: var(--studio-accent); margin-top: 7px; }
.is-running .trace-indicator { animation: signal-breathe 1.3s ease-in-out infinite; }
@keyframes signal-breathe { 50% { opacity: .2; box-shadow: 0 0 0 4px var(--studio-accent-soft); } }
.trace-insight strong { font-size: 13px; font-weight: 500; color: var(--ink); }
.trace-insight p { font-size: 12px; line-height: 1.85; margin: 7px 0 0; color: var(--studio-text); }
.trace-result-link { display: flex; justify-content: space-between; width: 100%; padding: 16px 23px; border: 0; border-top: 1px solid var(--line); color: var(--studio-accent); background: var(--studio-accent-soft); font-size: 11px; text-align: left; }
.trace-result-link[hidden] { display: none; }
.investigation .lab-layout { grid-template-columns: 245px minmax(0,1fr); min-height: 500px; border-top: 1px solid var(--line); }
.investigation .lab-controls { padding: 27px 24px; background: var(--studio-wash); border-color: var(--line); }
.control-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--studio-faint); margin-bottom: 25px; }
.control-heading span { font-size: 8px; letter-spacing: .06em; }
.control-heading b { font-size: 18px; font-weight: 400; color: var(--studio-accent); }
.investigation .lab-controls label { font-size: 12px; line-height: 1.7; margin-bottom: 9px; }
.investigation :is(.lab-controls select,.lab-controls textarea) { font-size: 12px; line-height: 1.75; margin-bottom: 20px; padding: 12px; }
.investigation .lab-controls textarea { height: 145px; }
.investigation .fixture-note { font-size: 10px; line-height: 1.8; color: var(--studio-faint); }
.investigation .checks { margin-bottom: 23px; }
.investigation .checks label { font-size: 12px; gap: 8px; color: var(--studio-text); }
.investigation .checks input { width: 14px; height: 14px; }
.investigation .run-btn { font-size: 12px; padding: 15px 16px; border-radius: 10px; align-items: center; }
.investigation .run-btn>span:last-child { font-size: 18px; }
.investigation .reset-btn { font-size: 10px; color: var(--studio-accent); margin-top: 19px; }
.control-disclosure { margin: 22px 0 0; font-size: 10px; line-height: 1.85; color: var(--studio-faint); }
.investigation .input-claim { padding-left: 12px; }
.investigation .input-claim p { font-size: 12px; color: var(--studio-text); line-height: 1.8; }
.investigation .lab-results { padding: 27px 26px; min-width: 0; background: var(--studio-bg); }
.investigation .result-top { font-size: 7px; line-height: 1.8; color: var(--studio-faint); padding-bottom: 18px; }
.investigation #demo-status { color: var(--studio-accent); }
.discovery-empty { padding: 40px 0 20px; }
.empty-symbol { width: 66px; height: 66px; color: var(--studio-accent); margin-bottom: 30px; }
.discovery-empty>.mono { font-size: 8px; letter-spacing: .04em; color: var(--studio-faint); }
.discovery-empty h4 { font-size: 27px; font-weight: 450; letter-spacing: -.7px; line-height: 1.25; color: var(--ink); margin: 20px 0; }
.discovery-empty>p { font-size: 13px; color: var(--studio-text); line-height: 1.85; margin-bottom: 28px; }
.signal-preview { display: grid; gap: 11px; padding-top: 18px; border-top: 1px solid var(--line); }
.signal-preview>span { display: flex; gap: 12px; color: var(--studio-text); font-size: 12px; }
.signal-preview i { font: 8px 'IBM Plex Mono',monospace; color: var(--studio-accent); font-style: normal; padding-top: 3px; }
.discovery-loading { padding: 60px 0; }
.discovery-loading>.enzyme-mark { width: 65px; height: 65px; color: var(--studio-accent); margin-bottom: 30px; animation: signal-breathe 2s ease-in-out infinite; }
.discovery-loading>.mono { font-size: 8px; color: var(--studio-accent); }
.discovery-loading h4 { font-size: 29px; font-weight: 450; letter-spacing: -.9px; line-height: 1.3; margin: 20px 0 30px; }
.discovery-loading p { font-size: 12px; line-height: 1.8; color: var(--studio-faint); }
.loading-lines { display: grid; gap: 13px; margin-bottom: 30px; }
.loading-lines i { display: block; height: 6px; border-radius: 4px; background: linear-gradient(90deg,var(--line),var(--studio-accent-soft),var(--line)); background-size: 200% 100%; animation: loading-sweep 2s linear infinite; }
.loading-lines i:nth-child(2) { width: 85%; }.loading-lines i:nth-child(3) { width: 65%; }
@keyframes loading-sweep { to { background-position: -200% 0; } }
.evidence-lens { padding: 24px 0; border-bottom: 1px solid var(--line); margin-bottom: 25px; animation: evidence-arrive .5s ease both; }
.evidence-lens>.mono,.lens-title>.mono { font-size: 8px; color: var(--studio-faint); letter-spacing: .05em; }
.lens-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; }
.lens-title>b { font-size: 42px; font-weight: 450; color: var(--studio-accent); letter-spacing: -1.5px; text-align: right; }
.lens-title small { display: block; font-size: 9px; font-weight: 400; color: var(--studio-faint); letter-spacing: 0; margin-top: 3px; }
.coverage-bars { display: grid; gap: 14px; }
.coverage-bars>div { display: grid; grid-template-columns: 108px minmax(20px,1fr) 12px; align-items: center; gap: 10px; }
.coverage-bars label { color: var(--studio-text); font-size: 10px; }.coverage-bars b { color: var(--studio-accent); font: 9px 'IBM Plex Mono',monospace; }
.coverage-bars>div>span { display: block; height: 5px; background: var(--line); border-radius: 5px; overflow: hidden; }
.coverage-bars i { display: block; height: 100%; background: var(--studio-accent); border-radius: 5px; min-width: 0; }
.coverage-bars>div:nth-child(2) i { background: var(--studio-cyan); }.coverage-bars>div:nth-child(3) i { background: #9a82bc; }
.evidence-lens>p { margin: 20px 0 0; font-size: 10px; line-height: 1.8; color: var(--studio-faint); }
.decision-signals { display: grid; gap: 17px; margin-top: 26px; }
.decision-signals>div { display: grid; grid-template-columns: 23px 1fr 20px; align-items: start; gap: 10px; }
.signal-index { font: 8px 'IBM Plex Mono',monospace; color: var(--studio-accent); padding-top: 4px; }
.decision-signals b { font-size: 13px; font-weight: 500; color: var(--ink); }.decision-signals p { font-size: 11px; color: var(--studio-text); margin: 7px 0 0; line-height: 1.7; }
.decision-signals i { color: var(--studio-cyan); font-size: 16px; font-style: normal; }
.investigation .result-card { padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); margin: 0; border-radius: 0; background: transparent; animation: evidence-arrive .5s ease both; }
.investigation .result-tag { font-size: 8px; letter-spacing: .03em; color: var(--studio-accent); }
.investigation .result-card h4 { margin: 11px 0 9px; font-size: 15px; line-height: 1.55; font-weight: 450; }
.investigation .result-card p { font-size: 12px; line-height: 1.9; color: var(--studio-text); }
.investigation .output-intro,.investigation .question-context { font-size: 12px; line-height: 1.9; color: var(--studio-text); margin: 15px 0 20px; }
@keyframes evidence-arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.discovery-handoff { padding: 27px 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); background: var(--studio-panel); }
.discovery-handoff .mono { font-size: 8px; color: var(--studio-accent); }
.discovery-handoff p { font-size: 13px; color: var(--studio-text); line-height: 1.8; margin: 10px 0 0; max-width: 400px; }
#next-tool { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 205px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--studio-accent-soft); color: var(--studio-accent); font-size: 11px; text-align: left; }
#next-tool>span { font-size: 18px; }
#next-tool:disabled { opacity: .4; cursor: default; background: transparent; }
#next-tool:not(:disabled):hover { border-color: var(--studio-accent); }
.investigation .lab-bottom { padding: 20px 30px; gap: 25px; }
.investigation .lab-bottom p { font-size: 10px; line-height: 1.9; color: var(--studio-faint); }
.investigation .export-btn { font-size: 10px; white-space: normal; min-width: 150px; text-align: right; line-height: 1.8; color: var(--studio-accent); }
.discovery-section>.guide-link { margin-top: 30px; font-size: 9px; }

[data-theme="dark"] .module-button:hover { background: #1b2038; }
[data-theme="dark"] .module-button.is-selected { background: #24243e; border-color: #4c446c; }
[data-theme="dark"] .investigation :is(.result-card,.lab-results,.lab-controls) { border-color: var(--line); }
[data-theme="dark"] .investigation .result-card { background: transparent; }

@media (max-width:1200px) {
  .discovery-section { padding-inline: 30px; }.discovery-console { grid-template-columns: 235px minmax(0,1fr); gap: 20px; }
  .module-button { grid-template-columns: 35px 1fr 13px; gap: 9px; padding-inline: 9px; }.module-icon { width: 35px; height: 35px; }
  .module-label strong { font-size: 16px; }.module-label>span { font-size: 9px; }.module-label small { font-size: 6px; }
  .sidebar-heading { padding-inline: 18px; }.journey-progress { margin-inline: 18px; }
  .module-brief { padding-inline: 28px; }.brief-title { gap: 25px; }.brief-icon { flex-basis: 76px; height: 76px; }
  .brief-tabs { gap: 22px; }.brief-tabs button { font-size: 11px; }
  .investigation-heading { padding-inline: 28px; }.investigation-heading h4 { font-size: 23px; }
  .investigation .lab-layout { grid-template-columns: 215px minmax(0,1fr); }
  .investigation :is(.lab-controls,.lab-results) { padding-inline: 21px; }
  .discovery-handoff { gap: 22px; }#next-tool { min-width: 180px; padding-inline: 15px; }
}
@media (max-width:960px) {
  .studio-intro { gap: 50px; }.studio-intro>div>p { font-size: 14px; }.studio-disclosure small { margin-left: 0; }
  .discovery-console { display: block; }.module-sidebar { position: static; background: transparent; border: 0; border-radius: 0; margin-bottom: 24px; overflow: visible; }
  .sidebar-heading { padding: 0 0 18px; }.sidebar-heading span { font-size: 9px; }
  .module-sidebar .agent-grid { flex-direction: row; gap: 10px; padding: 0 0 12px; overflow-x: auto; scroll-snap-type: x proximity; }
  .module-button { display: flex; flex-direction: column; align-items: flex-start; flex: 0 0 155px; padding: 17px; border-color: var(--line); border-radius: 14px; background: var(--studio-wash); gap: 10px; scroll-snap-align: start; }
  .module-button.is-selected { border-color: var(--studio-accent); }.module-button.is-selected::before { display: none; }
  .module-icon { width: 43px; height: 43px; }.module-label strong { font-size: 16px; }.module-label small { font-size: 7px; }.module-label>span { font-size: 10px; }
  .module-state { position: absolute; right: 15px; top: 18px; }
  .journey-progress { display: block; margin: 10px 0 20px; padding-top: 12px; border-top: 0; }.journey-progress p { display: none; }.journey-progress .journey-meter { margin-top: 10px; }#restart-journey { margin-top: 12px; }.module-detail { min-height: 260px; }
  .investigation .lab-layout { grid-template-columns: 270px minmax(0,1fr); }.investigation :is(.lab-controls,.lab-results) { padding-inline: 27px; }
  .case-stamp { font-size: 6px; }.coverage-bars>div { grid-template-columns: 95px minmax(20px,1fr) 10px; }
}
@media (max-width:760px) {
  .hero-inner { gap: 0; }.biotech-art { width: 106%; margin: -5px -3% 0; max-width: 500px; }
  .hero { padding-bottom: 35px; }.biotech-art figcaption { width: 88%; font-size: 7px; }
  .discovery-section { padding: 70px 20px 65px; }.studio-intro { display: block; margin-bottom: 30px; }
  .studio-intro h2 { font-size: 43px; }.studio-intro>div>p { font-size: 14px; margin-top: 26px; line-height: 1.85; }
  .studio-disclosure { gap: 8px; font-size: 8px; }.studio-disclosure small { font-size: 8px; }
  .story-ribbon { gap: 12px; font-size: 8px; line-height: 1.8; overflow-x: auto; white-space: nowrap; padding-block: 18px; margin-bottom: 25px; }
  .story-ribbon i { margin: 0 8px; font-size: 12px; }
  .module-button { flex-basis: 146px; padding: 15px; }.module-label strong { font-size: 15px; }
  .studio-main { border-radius: 18px; }.module-brief { padding: 25px 21px 0; }
  .module-overline { font-size: 7px; gap: 15px; }.brief-status { display: none; }
  .brief-title { gap: 20px; padding: 25px 0; }.brief-title h3 { font-size: 37px; }.brief-title p { font-size: 13px; }
  .brief-icon { flex-basis: 62px; height: 62px; }.brief-tabs { gap: 20px; }.brief-tabs button { font-size: 11px; padding-bottom: 15px; }
  .module-detail { padding-block: 24px; min-height: 0; }.module-summary { font-size: 13px; line-height: 1.9; }
  .reach-list { gap: 18px; }.reach-list>div { grid-template-columns: 20px 1fr; gap: 12px; }.reach-list p { font-size: 12px; line-height: 1.85; }
  .handoff-panel { display: block; padding: 6px 0 0; }.handoff-glyph { display: block; width: 60px; height: 60px; margin-bottom: 24px; }.handoff-panel h4 { font-size: 20px; }
  .chain-node>div { grid-template-columns: 1fr; gap: 6px; }.chain-node p { grid-column: 1; }.chain-node .node-type { font-size: 7px; }.chain-node h4 { font-size: 13px; }
  .investigation-heading { padding: 26px 21px 23px; align-items: flex-start; }.investigation-heading h4 { font-size: 24px; max-width: 210px; line-height: 1.2; }
  .investigation .simulation { font-size: 6px; max-width: 70px; line-height: 1.8; }
  .case-header { margin: 0 20px 23px; gap: 12px; align-items: flex-start; }.case-id { width: 46px; height: 46px; font-size: 10px; border-radius: 10px; }
  .case-header b { font-size: 11px; }.case-header p { font-size: 10px; }.case-stamp { display: none; }
  .incoming-record { margin: 0 20px 20px; padding: 13px; gap: 10px; }.incoming-record small { font-size: 10px; }
  .live-trace { margin: 0 14px 23px; border-radius: 13px; }.trace-heading { padding: 17px 15px 0; }.trace-heading .mono { font-size: 6px; }.trace-heading b { font-size: 8px; }
  .trace-network { height: 115px; padding-inline: 13px; }.phase-track { margin: 0 9px 17px; gap: 2px; }
  .phase-track .flow-node { padding: 8px 3px; }.phase-track .flow-node b { font-size: 8px; line-height: 1.6; }
  .trace-insight { padding: 17px; gap: 10px; min-height: 0; }.trace-insight strong { font-size: 12px; }.trace-insight p { font-size: 11px; }
  .investigation .lab-layout { grid-template-columns: 1fr; }.investigation .lab-controls { padding: 25px 21px; border-right: 0; border-bottom: 1px solid var(--line); }
  .investigation .lab-controls textarea { height: 105px; }.control-heading { margin-bottom: 24px; }.investigation .lab-results { padding: 25px 21px; }
  .discovery-empty { padding: 30px 0 10px; }.discovery-empty h4 { font-size: 27px; }.empty-symbol { width: 60px; height: 60px; margin-bottom: 25px; }
  .discovery-empty>p { font-size: 13px; }.discovery-empty>.mono { font-size: 7px; }.investigation .result-top { font-size: 7px; }
  .discovery-handoff { padding: 24px 21px; display: block; }.discovery-handoff p { font-size: 13px; }#next-tool { margin-top: 20px; width: 100%; font-size: 12px; padding: 15px 18px; }
  .investigation .lab-bottom { padding: 20px 21px; }.investigation .export-btn { text-align: left; font-size: 11px; margin-top: 20px; }
  .coverage-bars>div { grid-template-columns: 105px minmax(20px,1fr) 12px; }.discovery-section>.guide-link { font-size: 8px; line-height: 1.8; }
  .interlude-copy .eyebrow { font-size: 8px; max-width: 240px; }.interlude-copy>p { font-size: 37px; }.interlude-copy small { font-size: 7px; max-width: 230px; display: block; }
  .applications { gap: 24px; }.application-mark { width: 54px; height: 54px; margin-bottom: 24px; }
  .application p,.engage p,details p { font-size: 13px; }.statusbar { font-size: 7px; }
}
@media (max-width:390px) {
  .brief-title h3 { font-size: 32px; }.brief-icon { flex-basis: 52px; height: 52px; }.brief-title { gap: 12px; }
  .brief-tabs { gap: 15px; }.brief-tabs button { font-size: 10px; }.module-overline { font-size: 6px; }
  .module-brief { padding-inline: 18px; }.phase-track .flow-node b { font-size: 7px; }
}
@media (prefers-reduced-motion:reduce) { .biotech-art img,.trace-route-moving,.trace-indicator,.discovery-loading>.enzyme-mark,.loading-lines i { animation: none; } }
