/* Shared design tokens and workspace shell. Scientific annotation colors stay distinct. */
:root{--bg:#050709;--panel:#0b1116;--elevated:#101e27;--line:#26343b;--line-soft:#ffffff12;--text:#eaf0f2;--muted:#8498a3;--faint:#6e8793;--gold:#b8e8ed;--gold-bg:#1b333d;--serif:var(--sans);--j-line:#ffffff12;--j-cyan:#a4e4ed;--radius:8px}
body{background:var(--bg)}[hidden]{display:none!important}
.cosmo-header{background:var(--bg);height:83px;gap:24px;max-width:1832px;margin:0 auto;padding:0 0;border-bottom:1px solid var(--line-soft);width:calc(100% - 68px);font-family:var(--sans)}
.cosmo-header .j-brand{color:var(--text)}.cosmo-header .j-wordmark{white-space:nowrap}.cosmo-header nav{margin-left:auto;gap:28px}.cosmo-header .j-nav{font-size:12px;white-space:nowrap}.cosmo-utilities{display:flex;gap:18px;padding-left:24px;border-left:1px solid var(--line)}.cosmo-utility{color:var(--muted);font-size:11px;padding:9px 0}.cosmo-utility:hover{color:var(--text)}
#app>.masthead{display:none}.journey-active>.skip-link{display:block}.skip-link{position:fixed}.j-return{display:none!important}
#app{max-width:1900px;margin:auto;font-size:12px}.project-header{background:var(--bg);padding:25px 34px;border-bottom:1px solid var(--line-soft)}.discovery-panel,.evidence-panel,.molecular-panel{background:var(--bg)}.discovery-panel{padding:26px 24px 24px 34px}.evidence-panel{padding-top:26px}.molecular-heading{padding-top:26px}.canvas-shell{background:var(--bg)}.canvas-shell:before{display:none}
#app .pane-title,#app .molecular-heading h2,.modal-title{font-family:var(--sans);font-weight:400;letter-spacing:-.7px}#app .pane-title{font-size:23px}#app .molecular-heading h2{font-size:29px}.eyebrow,.j-kicker{color:var(--muted);font-size:9px;letter-spacing:1.3px}
.button,.j-secondary{border-radius:var(--radius);border-color:#34505e;background:#101c24;color:#d2e6ee}.button.gold,.j-primary{border-radius:24px;background:var(--gold);color:#112a32!important;border-color:var(--gold)}.button.gold:hover,.j-primary:hover{background:#d6f6f8}.button:not(.gold):hover{background:#203943;border-color:#85becd}.candidate{border-radius:var(--radius);background:#0b151b;border-color:#29424d}.candidate.selected,.candidate:hover{background:#203943;border-color:#85becd}.tier{color:#b8e8ed;border-color:#416778}.candidate .tier{border-radius:4px}.reference-card{border-radius:var(--radius)}
.mode-bar,.viewer-toolbar{background:var(--bg);border-color:var(--line)}.mode-bar button,.visibility-group button,.right-tabs button{border-radius:18px;font-size:11px}.mode-bar button.active,.visibility-group button.active,.right-tabs button.active{background:#29414c;color:#e3f6fa;border-color:#85becd}.more-controls summary{color:#9fb5c0}.more-controls-popover{background:var(--elevated);border-radius:12px;border-color:#3b5360}.feature-inspector{background:var(--bg)}
.input,input[type=search],.field-label input,.field-label textarea,.field-label select{background:#0e171d;border-color:#324650;border-radius:var(--radius);color:#d2e6ee}dialog{background:var(--panel);border:1px solid #3b5360;border-radius:14px;color:var(--text)}.modal-head{border-color:var(--line)}.modal-section h3{font-family:var(--sans)}.statusbar{background:var(--bg);border-color:var(--line-soft);color:var(--muted)}
@media(min-width:1101px){#app .workspace{grid-template-columns:270px minmax(440px,1fr) 275px}}
@media(max-width:1100px){.cosmo-header{width:calc(100% - 36px);gap:18px}.cosmo-header .j-wordmark{display:none}.cosmo-utilities{padding-left:16px;gap:14px}}
@media(max-width:700px){.cosmo-header{height:auto;min-height:98px;flex-wrap:wrap;gap:0 16px;padding:12px 0 0}.cosmo-header .j-brand{font-size:29px}.cosmo-header nav{height:42px;order:3;width:100%;justify-content:flex-start;gap:26px}.cosmo-utilities{margin-left:auto;border:0;padding-left:0}.cosmo-header .j-nav{font-size:12px}.cosmo-utility{font-size:10px}.project-header{padding:22px 18px}.discovery-panel{padding:24px 18px}.j-header nav{display:flex}.j-workspace{min-height:0}}
.cosmo-header{position:sticky;top:0;z-index:40}.candidate-card{border-radius:var(--radius);background:#0b151b;border-color:#29424d}.candidate-card.selected,.candidate-card:hover{background:#203943;border-color:#85becd}.candidate-select p{font-size:10px}.candidate-title small{font-size:9px}.candidate-meta{font-size:8px}.legend-dot.target{background:#a5dce8}.legend-dot.analog{background:#789fdb}.viewer-toolbar #snapshot{margin-left:auto}.viewer-toolbar{justify-content:flex-start}.viewer-toolbar .more-controls{margin-left:6px}

/* Product navigation: Dashboard / Design / Workspace, with contextual sidebars. */
.product-header .j-brand{margin-right:28px}.product-header nav{margin-left:0;gap:30px}.product-project{margin-left:auto;text-align:right;font-size:11px;color:#a7c0cc;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:9px 0}.product-project:hover{color:#e3f6fa}.project-hub{max-width:1900px;margin:auto;display:grid;grid-template-columns:270px minmax(0,1fr);min-height:calc(100dvh - 83px);background:var(--bg)}.hub-sidebar{padding:32px 24px 28px 34px;border-right:1px solid var(--line-soft)}.hub-project strong{display:block;color:#d9e9f0;font-size:14px;line-height:1.5;font-weight:500;margin-top:10px;overflow-wrap:anywhere}.hub-nav{display:grid;gap:5px;margin:26px 0 20px}.hub-nav button{display:flex;justify-content:space-between;gap:12px;text-align:left;padding:12px;border:1px solid transparent;border-radius:8px;color:#8ea7b4;font-size:12px}.hub-nav button span{opacity:0}.hub-nav button:hover,.hub-nav button[aria-current]{background:#13262f;border-color:#34525f;color:#e2f4f8}.hub-nav button[aria-current] span{opacity:1}.hub-side-note{font-size:11px;color:#78939f}.hub-content{padding:34px 42px 60px;min-width:0}.hub-heading{display:flex;justify-content:space-between;align-items:start;gap:25px;margin-bottom:32px}.hub-heading h1{font:400 32px/1.2 var(--sans);letter-spacing:-1px;margin:12px 0;overflow-wrap:anywhere}.hub-heading p{color:var(--muted);font-size:12px;max-width:580px}.hub-actions{padding-top:24px;flex-shrink:0}.hub-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.hub-metrics button{background:#0c171e;border:1px solid #253a45;border-radius:12px;padding:20px;text-align:left}.hub-metrics strong{display:block;font-size:30px;font-weight:400;color:#c9eaf3}.hub-metrics span{display:block;font-size:11px;margin-top:8px;color:#8faab7}.hub-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hub-card{padding:24px;background:#0a1218;border:1px solid #243640;border-radius:12px;min-width:0;overflow-wrap:anywhere}.hub-card h2{font-size:17px;font-weight:400;line-height:1.4;margin-bottom:17px;color:#dcebf1}.hub-card p{font-size:12px;color:#8fa8b5}.hub-wide{grid-column:1/-1}.hub-scope{display:grid;gap:7px;margin:0 0 22px}.hub-scope dt{font-size:10px;color:#79929e;margin-top:10px}.hub-scope dd{margin:0;color:#c3d8e3;font-size:13px;line-height:1.6;white-space:pre-wrap}.hub-link{padding:8px 0;font-size:11px;color:#b8e8ed;text-align:left}.hub-empty{padding:20px 0;color:#8fa8b5}.hub-empty p{max-width:480px}.hub-empty .button{margin-top:17px}.hub-card-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.hub-work-list{display:grid}.hub-work-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 0;border-top:1px solid #23333c;text-align:left}.hub-work-row strong,.hub-person strong{font-size:12px;font-weight:500;color:#d6e7ee;display:block}.hub-work-row small,.hub-person small{font-size:11px;color:#859eab;display:block;line-height:1.6;margin-top:6px;white-space:pre-wrap}.hub-status{font-size:10px;padding:5px 8px;border-radius:15px;background:#192a34;color:#b3c9d4;white-space:nowrap}.hub-status[data-status="In progress"]{background:#183b44;color:#ade4ed}.hub-status[data-status="Blocked"]{background:#352c20;color:#e5bd79}.hub-status[data-status="Done"]{background:#1c362e;color:#a5d5bb}.hub-people{display:grid;gap:16px}.hub-person{display:flex;align-items:center;gap:14px;text-align:left;padding:8px 0}.hub-initials{width:36px;height:36px;display:grid;place-items:center;background:#1d3540;color:#b7e2ef;border-radius:50%;font-size:11px;flex-shrink:0}.hub-note{font-size:11px!important;color:#7d96a3!important;line-height:1.6;margin-top:20px}.hub-history{margin-top:22px}.hub-history ol{padding:0;list-style:none;margin-top:20px}.hub-history li{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #23333c;padding:13px 0;font-size:12px;color:#b7cdd8}.hub-history time{color:#718c9a;font-size:10px}.hub-decision{display:flex;justify-content:space-between;gap:15px;padding:10px 0}.hub-search{display:block;font-size:11px;color:#92adba;margin-bottom:24px}.hub-search input{display:block;width:min(500px,100%);padding:12px 14px;margin-top:9px;border:1px solid #324650;border-radius:8px;background:#0e171d;color:#deedf3}.hub-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hub-source-list .hub-card h2{margin-top:10px;font-size:16px}.hub-source-list .hub-card a{font-size:11px;color:#b7dfeb}.hub-source-list .hub-card-heading{margin-top:18px}.hub-wiki-intro{display:flex;justify-content:space-between;gap:25px;margin-bottom:26px}.hub-wiki-intro p{font-size:12px;color:#8ba6b4;max-width:590px}.hub-wiki-card{text-align:left;cursor:pointer}.hub-wiki-card:hover{background:#12242e;border-color:#557e90}.hub-wiki-card small{display:block;margin-top:20px;color:#8ba6b4;font-size:10px}.hub-wiki-body{white-space:pre-wrap;font-size:13px;line-height:1.8;margin:24px 0;overflow-wrap:anywhere}.hub-form{margin-top:25px;display:grid;gap:17px}.hub-form label{display:block;font-size:11px;color:#97b4c2}.hub-form input:not([type=checkbox]),.hub-form textarea,.hub-form select{width:100%;display:block;padding:11px 12px;border:1px solid #34505e;border-radius:8px;background:#0e171d;color:#dceef5;margin-top:8px;font:12px/1.6 var(--sans)}.hub-form textarea{min-height:100px;resize:vertical}.hub-form textarea[name=body]{min-height:180px}.hub-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hub-form fieldset{border:1px solid #2a414e;border-radius:8px;padding:12px;max-height:200px;overflow:auto}.hub-form legend{font-size:11px;color:#9ebdcb;padding:0 5px}.hub-form .hub-checkbox{display:flex;gap:10px;margin:8px 0;align-items:start}.hub-checkbox input{accent-color:#b8e8ed}.research-section-nav{border-bottom:1px solid #26343b;margin-bottom:24px;padding-bottom:10px}.research-section-nav .hub-project{display:none}.research-section-nav .hub-nav{margin:0 0 14px}.research-section-nav .hub-side-note{display:none}
@media(max-width:1100px){.hub-content{padding:30px 25px}.project-hub{grid-template-columns:230px minmax(0,1fr)}.hub-sidebar{padding:28px 18px}.hub-metrics{grid-template-columns:repeat(2,1fr)}.hub-grid{grid-template-columns:1fr}.hub-source-list{grid-template-columns:1fr}.hub-heading h1{font-size:28px}.product-header .j-brand{margin-right:0}.product-project{max-width:200px}.product-header nav{gap:22px}}
@media(max-width:700px){.product-header nav{width:100%;gap:28px;justify-content:flex-start}.product-project{max-width:200px;font-size:10px}.project-hub{display:block}.hub-sidebar{padding:20px 18px 10px;border-right:0;border-bottom:1px solid #243640}.hub-nav{display:flex;overflow:auto;gap:4px;margin:16px 0 5px}.hub-nav button{white-space:nowrap;flex-shrink:0;font-size:11px;padding:9px}.hub-nav button span,.hub-side-note{display:none}.hub-content{padding:26px 18px}.hub-heading{display:block}.hub-actions{padding-top:18px}.hub-card{padding:20px}.hub-metrics{gap:10px}.hub-metrics button{padding:16px}.hub-work-row{gap:12px}.hub-history li{display:block}.hub-history time{display:block;margin-top:5px}.hub-wiki-intro{display:block}.hub-form-row{grid-template-columns:1fr}.hub-project strong{font-size:12px}.research-section-nav .hub-nav{display:flex}}
.j-counterparts{margin:10px 0 4px}.j-counterparts>small{display:block;font-size:10px;color:#849fae;line-height:1.6;margin-top:8px}.j-counterpart-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:210px;overflow:auto;margin-top:10px}.j-counterpart-list article{padding:12px;background:#0d1c24;border:1px solid #2d4755;border-radius:9px;min-width:0}.j-counterpart-list h3{font-size:12px;font-weight:500}.j-counterpart-list h3 small{font-size:9px;display:block;color:#88a6b5;margin-top:4px}.j-counterpart-list p{font-size:9px;margin-bottom:10px}.j-evolution .j-counterpart-list button{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;width:100%;padding:8px 0;border:0;border-top:1px solid #293e49;border-radius:0;font-size:9px}.j-counterpart-list button strong{font-size:10px;font-weight:500}.j-counterpart-list button:hover{background:#203943}.j-counterpart-empty{padding:12px;border:1px solid #34505e;border-radius:8px}.j-action-dock{flex-wrap:wrap}@media(max-width:700px){.j-counterpart-list{grid-template-columns:1fr;max-height:230px}.j-action-dock .j-main-action{white-space:normal;max-width:100%}}
