/* Shared V2.1 presentation. Specialized scientific layout and interaction selectors
   stay intact; this file supplies shell, controls, and named surface treatments. */
:root{--bg:#fafaf8;--ink:#101b2c;--text:#101b2c;--muted:#606874;--panel:#fff;--surface:#fff;--border:#e1e5e9;--teal:#2469d8;--mint:#2469d8;--amber:#79643c;--radius:6px;color-scheme:light}
body.v21-shell{--panel2:#f5f7fa;--line:#e1e5e9}
.v21-shell .knowledge-links>li,.v21-shell .trace-view section{background:#fff;border-color:#e1e5e9;color:#101b2c}.v21-shell .trace-view{color:#101b2c}.v21-shell .trace-timeline li{border-color:#e1e5e9}.v21-shell .world-card,.v21-shell .world-form fieldset{border-color:#e1e5e9;border-radius:6px}.v21-shell .world-shell button:hover{background:#edf2f8}.v21-shell .mobile-links{display:none}
body.v21-shell{margin:0;background:#fafaf8;color:#101b2c;font:15px/1.6 Arial,Helvetica,sans-serif;overflow-x:clip}
.v21-shell a{color:#244b83}.v21-shell p,.v21-shell small{color:#606874}.v21-shell h1,.v21-shell h2,.v21-shell h3,.v21-shell strong{color:#101b2c}
.v21-shell h1{font-weight:600}.v21-shell input,.v21-shell select,.v21-shell textarea{background:#fff;color:#101b2c;border:1px solid #dce1e6;border-radius:6px;padding:12px;font:inherit;max-width:100%;box-sizing:border-box}
.v21-shell button,.v21-shell .button,.v21-shell a.primary{background:#fff;color:#101b2c;border:1px solid #dce1e6;border-radius:6px;box-shadow:none;font:inherit;cursor:pointer}
.v21-shell button.primary,.v21-shell .button.primary,.v21-shell a.primary,.v21-shell .nb-auth-page form>button{background:#101e2b;color:#fff;border-color:#101e2b}
.v21-shell :focus-visible{outline:2px solid #2469d8;outline-offset:3px}
.v21-shell .nb-header{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:42px;box-sizing:border-box;width:100%;max-width:1240px;margin:0 auto;padding:20px 32px;border:0;border-bottom:1px solid #e8ebee;background:#fafaf8;position:relative;height:auto;min-height:82px;z-index:30}
.v21-shell .nb-wordmark{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:24px;font-weight:700;color:#101b2c;text-decoration:none;letter-spacing:-.7px}
.v21-shell .nb-wordmark img{display:block;width:30px;height:30px;object-fit:contain}
.v21-shell .nb-primary{display:flex;flex-direction:row;flex-wrap:nowrap;gap:24px;align-items:center;white-space:nowrap;margin:0}
.v21-shell .nb-primary a,.v21-shell .nb-signin{font-size:13px;color:#414850;text-decoration:none;padding:5px 0}
.v21-shell .nb-primary a[aria-current=page]{border-bottom:1px solid #a7adb4}
.v21-shell .nb-account{margin-left:auto;display:flex;align-items:center;gap:16px;white-space:nowrap;font-size:13px}
.v21-shell .nb-profile{position:relative}.v21-shell .nb-profile summary,.v21-shell .nb-mobile-menu summary{cursor:pointer;list-style:none;font-size:13px}
.v21-shell .nb-account-menu{position:absolute;right:0;top:65px;background:#fff;border:1px solid #e1e5e9;border-radius:6px;padding:14px;min-width:170px}
.v21-shell .nb-account-menu a{display:block;text-decoration:none;padding:8px}.v21-shell .nb-account-menu form{margin:8px 0 0}.v21-shell .nb-mobile-menu,.v21-shell .nb-mobile-resource,.v21-shell .nb-bottom-nav{display:none}
.v21-shell .shell{margin:0;padding:0;width:auto;min-height:0}.v21-shell .shell>main,.v21-shell>main:not(#main){max-width:1180px;margin:0 auto;padding:36px 32px 64px;box-sizing:border-box}
.v21-shell .nb-page-context{max-width:1180px;margin:24px auto 0;padding:0 32px;font-size:12px;color:#606874}
.v21-shell .nb-expert-tools{max-width:1180px;margin:18px auto 0;padding:0 32px;box-sizing:border-box}.v21-shell .nb-expert-tools>summary{cursor:pointer;color:#606874;font-size:13px}
.v21-shell .nb-expert-tools .sidebar{position:static;inset:auto;width:auto;height:auto;padding:20px;background:#fff;border:1px solid #e1e5e9;border-radius:6px;overflow:visible}
.v21-shell .sidebar .brand{display:none}.v21-shell .sidebar .nav-item{color:#244b83;background:transparent;display:inline-flex;min-height:36px;margin-right:20px}.v21-shell .sidebar-foot,.v21-shell .workspace-label{color:#606874}.v21-shell .sidebar nav{display:block}
.v21-shell .nb-context-links{margin-bottom:30px;font-size:13px}.v21-shell .nb-context-links nav{display:flex;flex-wrap:wrap;gap:20px;padding:12px 0}
.v21-shell .nb-auth-page{max-width:460px!important;padding-top:80px!important;min-height:65vh}.v21-shell .nb-auth-page h1{font-size:30px;letter-spacing:-.8px;line-height:1.25}.v21-shell .nb-auth-page>p{font-size:14px}.v21-shell .nb-auth-page .narrow{padding:0;border:0;background:transparent;margin-top:32px}.v21-shell .nb-auth-page label{display:block;font-size:13px;margin:18px 0}.v21-shell .nb-auth-page input,.v21-shell .nb-auth-page select{display:block;width:100%;margin-top:7px}.v21-shell .nb-auth-page form>button{width:100%;padding:12px;margin-top:8px}
.v21-shell .panel,.v21-shell .card,.v21-shell .stat,.v21-shell .empty,.v21-shell .notice,.v21-shell .quality-grid>div,.v21-shell .function-grid>div,.v21-shell .gap-grid details,.v21-shell .tradeoff-card,.v21-shell .lab-stage,.v21-shell .reaction-pad,.v21-shell .task-choice,.v21-shell .map-node,.v21-shell .map-column h3,.v21-shell .falsification,.v21-shell .target-hero,.v21-shell .mechanism-row,.v21-shell .evidence-side{background:#fff;color:#101b2c;border-color:#e1e5e9;box-shadow:none;border-radius:6px}
.v21-shell .panel,.v21-shell .card{padding:24px}.v21-shell .discovery-metrics>div{background:#fff;border:1px solid #e1e5e9}.v21-shell .research-wall{background-image:radial-gradient(#d9dfe5 1px,transparent 1px)}
.v21-shell th,.v21-shell .safety-table th:first-child{background:#f0f2f4;color:#414850}.v21-shell th,.v21-shell td{border-color:#e1e5e9}.v21-shell blockquote{background:#f5f7fa;color:#414850;border-color:#adc3e2}
.v21-shell .ai-provenance,.v21-shell .quality-grid small,.v21-shell .quality-grid p,.v21-shell #stage-caption{color:#606874}.v21-shell .ai-provenance strong,.v21-shell .quality-grid strong{color:#414850}
.v21-shell .derived{background:#eef3fa!important;border-color:#b9cbe3!important;color:#37557c!important}.v21-shell .observed{color:#37557c;border-color:#b9cbe3!important}.v21-shell .modeled{color:#645579;border-color:#c9bfd5!important}.v21-shell .hypothetical{color:#79643c;border-color:#d9ceb7!important}.v21-shell .verified,.v21-shell .verified-external-evidence{color:#34624c;border-color:#bdd2c6!important}.v21-shell .unknown{color:#606874;background:#f3f4f5;border-color:#dce1e6}.v21-shell .status,.v21-shell .epistemic{font-size:11px;box-shadow:none}.v21-shell .notice.error{color:#852d36;background:#fbf2f3;border-color:#e7cbd0}
.v21-shell .orbit{box-shadow:none;border-color:#dce1e6}.v21-shell .node{background:#fafaf8;border-color:#dce1e6}.v21-shell footer{background:#fafaf8;color:#606874;border-color:#e1e5e9;box-shadow:none}.v21-shell footer .brand{color:#101b2c}
.v21-shell .hero-visual,.v21-shell .preview-shell,.v21-shell .preview-card{background:#fff;border-color:#e1e5e9;box-shadow:none}.v21-shell .hero-visual::before{display:none}.v21-shell .site-footer .brand-name{color:#101b2c}
.v21-shell .evidence-window,.v21-shell .trace-node,.v21-shell .workflow-section,.v21-shell .feature,.v21-shell .relationship span{background:#fff;border-color:#e1e5e9;box-shadow:none}.v21-shell .micro,.v21-shell .demo-label,.v21-shell .trace-meta,.v21-shell .illustration-note{color:#606874}.v21-shell .trace-experiment{border-color:#e1e5e9}.v21-shell .window-top{border-color:#e1e5e9}.v21-shell .trace-conclusion .status{color:#79643c;border-color:#d9ceb7}.v21-shell .challenge .node-symbol{color:#645579}.v21-shell .director-nav a[aria-current]{background:#eef3fa;color:#244b83}.v21-shell .world-label{background:#f1edf6;color:#645579}
.v21-shell .roadmap{background:#fff;border-color:#e1e5e9;box-shadow:none}.v21-shell .roadmap .eyebrow,.v21-shell .feature-tag{color:#606874}
.v21-shell .nb-report{max-width:1100px;margin:auto;padding:32px}.v21-shell .nb-report pre{white-space:pre-wrap;overflow-wrap:anywhere}.v21-shell .nb-report img{max-width:100%;height:auto}@media print{.nb-header,.nb-bottom-nav{display:none!important}.v21-shell .nb-report{padding:0}}
/* Instrument stimulus presentation is not a product theme. Preserve the existing
   task contrast, timing-related stimulus colors, and response-pad states. */
.v21-shell .lab-stage{--teal:#79e2c2;background:#11191c;border-color:#35484d;color:#e9eeed}.v21-shell .lab-stage #stage-caption{color:#b2c4c8}.v21-shell .reaction-pad{background:#2b363a;border-color:#5d747b;color:#dbe8e8}.v21-shell .reaction-pad.go{background:#79e2c2;border-color:#79e2c2;color:#122c24}
.nb-loading{background:#fff;color:#101b2c;border-color:#e1e5e9;box-shadow:none;border-radius:6px}.nb-loading strong{color:#101b2c}.nb-loading span:last-child{color:#606874}
@media(min-width:701px) and (max-width:1000px){.v21-shell .nb-header{gap:24px;padding:18px 24px}.v21-shell .nb-wordmark{font-size:21px}.v21-shell .nb-primary{gap:16px}}
@media(max-width:700px){.v21-shell{padding-bottom:64px}.v21-shell .nb-header{padding:16px 20px;min-height:70px;gap:16px}.v21-shell .nb-wordmark{font-size:20px}.v21-shell .nb-wordmark img{width:24px;height:24px}.v21-shell .nb-primary{display:none}.v21-shell .nb-mobile-menu,.v21-shell .nb-mobile-resource{display:block}.v21-shell .nb-bottom-nav{display:flex;position:fixed;inset:auto 0 0;justify-content:space-around;background:#fff;border-top:1px solid #e1e5e9;padding:14px 12px calc(14px + env(safe-area-inset-bottom));z-index:40;font-size:12px}.v21-shell .nb-bottom-nav a{text-decoration:none}.v21-shell .shell>main,.v21-shell>main:not(#main){padding:26px 20px 40px}.v21-shell .nb-auth-page{padding-top:42px!important}.v21-shell .nb-expert-tools,.v21-shell .nb-page-context{padding:0 20px}.v21-shell input,.v21-shell select,.v21-shell textarea{font-size:16px}.v21-shell .nb-account{gap:12px}.v21-shell .nb-auth-page h1{font-size:28px}.v21-shell .panel,.v21-shell .card{padding:18px}}
