/* SEVRA research-instrument enhancement layer. Original layout geometry is preserved. */
.senvra-glyph{display:block;width:100%;height:100%;background:#000;overflow:visible;shape-rendering:geometricPrecision}
.senvra-glyph *{vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:center}
.g-grid{stroke:#182116;stroke-width:.7;opacity:.52}.g-line,.g-primary{fill:none;stroke:#a8ff37;stroke-width:2.2;stroke-linecap:square;stroke-linejoin:miter}.g-secondary{fill:none;stroke:#d9ff9e;stroke-width:1.5}.g-baseline{stroke:#405236;stroke-width:1;stroke-dasharray:4 5}.g-link{stroke:#779e51;stroke-width:1.2}.g-link-muted{stroke:#2d3c27;stroke-width:1}.g-break{stroke:#a8ff37;stroke-width:1.3;stroke-dasharray:2 6}.g-node{fill:#a8ff37;stroke:#071000;stroke-width:1}.g-core{fill:#000;stroke:#d9ff9e;stroke-width:2.2}.g-fill{fill:#a8ff37}.g-alert{fill:#ffb02e;stroke:#000;stroke-width:1}.g-warning{fill:#a8ff37;opacity:.2}.g-riskbar{fill:#739d48;opacity:.72}.g-density{fill:none;stroke:#a8ff37;stroke-width:1;opacity:.35}.g-orbit{fill:none;stroke:#5f7d45;stroke-width:1;stroke-dasharray:4 4}.g-state-a{fill:#0e170c;stroke:#34462b;stroke-width:1}.g-state-b{fill:#16230f;stroke:#5f7d45;stroke-width:1}.g-label{fill:#4e6540;font:7px "Courier New",monospace;letter-spacing:.6px}
.g-pulse{animation:g-pulse 3.2s ease-in-out infinite}.g-travel{stroke-dasharray:8 7;animation:g-travel 3s linear infinite}.g-sweep{animation:g-sweep 3.6s ease-in-out infinite}.g-oscillate{animation:g-oscillate 3.4s ease-in-out infinite}.g-drift{animation:g-drift 3.8s ease-in-out infinite}.g-rotate{animation:g-rotate 12s linear infinite}.g-phase-1{animation-delay:-.8s}.g-phase-2{animation-delay:-1.7s}
@keyframes g-pulse{0%,100%{opacity:.45}50%{opacity:1}}@keyframes g-travel{to{stroke-dashoffset:-30}}@keyframes g-sweep{0%,100%{opacity:.18}50%{opacity:.92}}@keyframes g-oscillate{0%,100%{transform:translateY(-1px)}50%{transform:translateY(2px)}}@keyframes g-drift{0%,100%{transform:translate(-1px,1px)}50%{transform:translate(2px,-1px)}}@keyframes g-rotate{to{transform:rotate(360deg)}}
.hero-image-shell{height:min(440px,calc(100vw - 32px));border:1px solid #151c13;background:#000;padding:18px}.hero-image-shell .senvra-glyph{filter:drop-shadow(0 0 18px rgba(168,255,55,.12))}.brand-icon{image-rendering:auto}.cell-glyph{width:100%;height:100%;cursor:crosshair;position:relative}.cell-glyph:focus{outline:1px solid var(--accent);outline-offset:-4px}.cell-glyph .senvra-glyph{transition:filter .2s,background .2s}.cell-glyph:hover .senvra-glyph,.cell-glyph:focus .senvra-glyph{filter:brightness(1.35) drop-shadow(0 0 8px rgba(168,255,55,.22));background:#030603}
.research-tooltip{position:fixed;z-index:130;max-width:290px;padding:9px 11px;border:1px solid #486239;background:rgba(2,5,2,.97);box-shadow:4px 4px 0 rgba(0,0,0,.8);color:#dce8d4;font:10px/1.45 var(--mono);letter-spacing:.02em;pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity .12s,transform .12s}.research-tooltip.visible{opacity:1;transform:none}.research-tooltip:before{content:"RESEARCH NOTE";display:block;color:var(--accent);font-size:8px;letter-spacing:.12em;margin-bottom:4px}
[data-help],[data-regime],[data-metric-help]{cursor:help;text-decoration:underline;text-decoration-style:dotted;text-decoration-color:#506044;text-underline-offset:3px}
.cell-glyph[data-help]{text-decoration:none}.modal-backdrop{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:22px;background:rgba(0,0,0,.78);opacity:0;visibility:hidden;transition:opacity .16s,visibility .16s}.modal-backdrop.open{opacity:1;visibility:visible}.research-modal{width:min(720px,100%);max-height:min(82vh,760px);overflow:auto;background:#050805;border:1px solid #4a623b;box-shadow:8px 8px 0 #0b1009;color:#d8e0d3}.modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border-bottom:1px solid var(--line);background:#080d07}.modal-kicker{color:var(--accent);font:9px var(--mono);letter-spacing:.12em}.modal-close{width:34px;height:30px;border:1px solid #3a4933;background:#000;color:#d8e0d3;font:16px var(--mono);cursor:pointer}.modal-body{padding:20px}.modal-grid{display:grid;grid-template-columns:210px 1fr;gap:22px}.modal-glyph{height:210px;border:1px solid #283523;background:#000}.modal-data{margin:0}.modal-data div{display:grid;grid-template-columns:125px 1fr;gap:12px;padding:8px 0;border-top:1px solid var(--line)}.modal-data dt{color:#73846b;font:9px var(--mono);letter-spacing:.09em}.modal-data dd{margin:0;color:#e6ece2;font:11px/1.45 var(--mono)}.modal-related{margin-top:20px;padding-top:14px;border-top:1px solid var(--line);color:#9fad98;font-size:11px}
.family-card{cursor:pointer;transition:border-color .18s,background .18s,transform .18s}.family-card:hover,.family-card:focus-within,.family-card.open{border-color:#4f693d;background:#090e08;transform:translateY(-1px)}.family-card:after{content:"OPEN FIELD NOTES +";display:block;margin-top:14px;color:#526349;font:8px var(--mono);letter-spacing:.11em}.family-card.open:after{content:"CLOSE FIELD NOTES −"}.family-detail{max-height:0;overflow:hidden;opacity:0;transition:max-height .24s ease,opacity .2s}.family-card.open .family-detail{max-height:160px;opacity:1}.family-detail p{padding-top:14px!important;border-top:1px solid var(--line);margin-top:14px!important;color:#c0cbbb!important}
.architecture-node{position:relative;cursor:help}.architecture-node:hover{color:var(--accent)}.architecture-node:after{content:attr(data-layer-note);display:block;max-height:0;overflow:hidden;color:#809077;font:10px/1.5 var(--mono);opacity:0;transition:max-height .2s,opacity .2s}.architecture-node:hover:after{max-height:70px;opacity:1;margin-top:7px}
.codeblock{height:620px;overflow:auto;padding:0!important;white-space:normal!important;scrollbar-width:thin;scrollbar-color:#6da53d #080b07}.codeblock::-webkit-scrollbar{width:7px;height:7px}.codeblock::-webkit-scrollbar-track{background:#080b07}.codeblock::-webkit-scrollbar-thumb{background:#547e31;border:1px solid #0c1209}.code-shell{margin:28px 0;border:1px solid var(--line);background:var(--panel);box-shadow:4px 4px 0 #0b0e0a}.code-shell .codeblock{margin:0;border:0;box-shadow:none}.code-head{display:flex;align-items:center;gap:10px;min-height:42px;padding:8px 12px;border-bottom:1px solid var(--line);background:#090d08;position:sticky;top:0;z-index:3}.code-brand{color:var(--accent);font:700 9px var(--mono);letter-spacing:.1em}.code-file{color:#dbe4d5;font:10px var(--mono)}.code-badges{display:flex;gap:6px;margin-left:auto}.code-badge{border:1px solid #2c3827;color:#75826f;padding:4px 6px;font:8px var(--mono);letter-spacing:.07em;white-space:nowrap}.code-copy{border:1px solid #516d3e;background:#0c130a;color:var(--accent);padding:6px 9px;font:8px var(--mono);letter-spacing:.1em;cursor:pointer;min-width:54px}.code-body{min-width:860px;padding:13px 0 18px}.code-line{display:block;min-height:19px;font:11px/1.72 var(--mono);white-space:pre}.code-line:hover{background:#0d140b}.line-number{display:inline-block;width:52px;padding-right:12px;text-align:right;color:#3e4a39;user-select:none;border-right:1px solid #1c251a;margin-right:14px}.tok-comment{color:#52654d}.tok-key{color:#a8ff37}.tok-type{color:#b7d99c}.tok-string{color:#d7e7c9}.tok-number{color:#d3aa57}.tok-fn{color:#e6eee0}.code-fade{position:sticky;left:0;right:0;height:18px;pointer-events:none;z-index:2}.code-fade.top{top:42px;margin-bottom:-18px;background:linear-gradient(#080a08,transparent)}.code-fade.bottom{bottom:0;margin-top:-18px;background:linear-gradient(transparent,#080a08)}
.snapshot{margin:28px 0;padding:16px;border:1px solid var(--line);background:#060906;box-shadow:4px 4px 0 #0b0e0a}.snapshot-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px;color:var(--accent);font:9px var(--mono);letter-spacing:.1em}.snapshot-head b{font-weight:400;color:#9baa91}.snapshot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.snapshot-metric{background:#060906;padding:12px}.snapshot-metric span{display:block;color:#65725f;font:8px var(--mono);letter-spacing:.08em}.snapshot-metric b{display:block;margin-top:7px;color:#e2eadc;font:15px var(--mono)}.consensus-scale{height:9px;margin-top:16px;border:1px solid #34412f;background:linear-gradient(90deg,#553420,#2a3125 46%,#a8ff37 46%,#a8ff37 68%,#213018 68%);position:relative}.consensus-scale:after{content:"67";position:absolute;left:67%;top:-15px;color:var(--accent);font:8px var(--mono)}
#record table{cursor:pointer;transition:border-color .18s}#record table:hover{border-color:#597542;background:#090d08}#record table:after{content:"OPEN DEMO RECORD #00431";display:table-caption;caption-side:bottom;padding:8px;color:#62735a;font:8px var(--mono);letter-spacing:.1em;text-align:right}.diary .e{position:relative;transition:border-color .18s,background .18s}.diary .e:hover{border-color:var(--accent);background:#050805}.note-meta{max-height:0;overflow:hidden;opacity:0;color:#64715e;font:8px/1.5 var(--mono);letter-spacing:.08em;transition:max-height .2s,opacity .2s}.diary .e:hover .note-meta{max-height:50px;opacity:1;margin-top:8px}.demo-mark{color:#c58e39!important}
@media(max-width:760px){.hero-image-shell{height:calc(100vw - 36px);padding:10px}.modal-grid{grid-template-columns:1fr}.modal-glyph{height:min(240px,70vw)}.snapshot-grid{grid-template-columns:repeat(2,1fr)}.codeblock{height:580px}.code-head{flex-wrap:wrap}.code-badges{order:3;width:100%;margin-left:0}.code-body{min-width:760px}.research-tooltip{max-width:min(280px,calc(100vw - 24px))}}
@media(prefers-reduced-motion:reduce){.senvra-glyph *{animation:none!important}.modal-backdrop,.research-tooltip,.family-card,.family-detail{transition:none!important}}

