﻿/* Full viewport knowledge inspection desk, inspired by GodsView's public map UI. */
@media(min-width:761px){
 body.command-view{height:100dvh;overflow:hidden;background:#030908}
 .command-view header{position:fixed;inset:0 0 auto;height:54px;z-index:30;padding:0 18px;background:#060c0beF;gap:12px;border-color:#254235}
 .command-view .brand{font-size:23px;min-width:190px}.command-view header nav{display:flex;gap:5px}.command-view header button{font-size:10px;padding:7px 10px;background:transparent;border-color:#284136}.command-view #cross{display:none}
 .command-view main{padding:0;height:100dvh}.command-view .intro,.command-view .archive,.command-view footer{display:none}
 .command-view .searchbar{position:fixed;z-index:35;left:620px;right:340px;top:8px;margin:0}.command-view .searchbar>label{display:none}.command-view .searchbar>div{display:flex;gap:5px}.command-view .searchbar input{height:37px;padding:8px 12px;font-size:11px;background:#0a1411eF;border-color:#2b483a}.command-view .searchbar select{display:none}
 .command-view #research-open{margin-left:auto}.command-view #results-panel{position:fixed;z-index:45;top:56px;left:25%;right:15%;max-height:75dvh;overflow:auto;box-shadow:0 25px 80px #000c}
 .command-view .workspace{position:fixed;top:54px;left:0;right:0;bottom:0;width:100%;height:auto;min-height:0;border:0;border-radius:0;isolation:isolate}
 .command-view .networkpanel{background:#030908}.command-view #network{inset:0;z-index:0;background:#030908}.command-view .neural-stage{inset:0}.command-view #graph{inset:0;width:100%;height:100%}
 .command-view .networkpanel>.sectionhead{position:absolute;top:68px;left:244px;right:22px;padding:0;min-height:0;z-index:5;pointer-events:none;align-items:flex-start}.command-view .networkpanel>.sectionhead>div:first-child{max-width:45%;text-shadow:0 2px 5px #000}.command-view .networkpanel h2{font-size:20px;color:#e0f7df}.command-view .viewbuttons{pointer-events:auto;max-width:45%;gap:4px}.command-view .viewbuttons button{background:#08150feF;border-color:#3c5944;color:#bad8bc;font-size:10px;padding:7px 9px}
 .command-view .focus-question{position:absolute;z-index:4;left:244px;top:115px;max-width:55%;margin:0;color:#a8c7a7;font-size:11px;text-shadow:0 1px 5px #000;pointer-events:none}
 .command-view .relationship{position:absolute;z-index:4;bottom:88px;left:244px;right:26px;max-width:calc(100% - 650px);margin:0;font:11px/1.5 Consolas,monospace;min-height:16px;max-height:35px;pointer-events:none;color:#b0d6a3;text-shadow:0 2px 5px #000}
 .command-view #breadcrumbs{position:absolute;bottom:52px;left:244px;right:20px;z-index:6;background:transparent;border:0;padding:0;min-height:28px}.command-view #breadcrumbs button{background:#09160eeF;border-color:#3c5944}.command-view #breadcrumbs>span{font-size:10px;color:#8ca98a}
 .command-view #layers{top:14px;left:14px;bottom:91px;width:210px;background:#08100df2;border:1px solid #2a4434;border-radius:8px;padding:15px;box-shadow:0 8px 32px #0005}.command-view #layers summary{font-size:13px;color:#d0e5c9}.command-view #layers>.eyebrow{margin-top:26px;color:#6f966b}.command-view #layer-buttons{gap:6px}.command-view #layer-buttons button{background:#0c1b13;border-color:#284432;color:#bed6b8;padding:11px;font-size:11px}.command-view #layer-buttons button[aria-pressed=true]{background:#243c22;border-color:#6b9d58;color:#ddf4ca}.command-view #layers select{background:#0c1a13;border-color:#37553b;color:#c4daba}.command-view #layers .muted{color:#86a27e}
 .command-view #detail{display:none;top:145px;right:16px;bottom:100px;width:340px;padding:20px;background:#08100df5;border:1px solid #36513b;border-radius:8px;box-shadow:0 8px 35px #0008;backdrop-filter:blur(12px)}.command-view.detail-open #detail{display:block}.command-view #detail h2{font-size:23px}.command-view #detail .connection{background:#102015;border-color:#2b4930;color:#d2e6c6}.command-view #detail .connection small{color:#86af7e}.command-view #detail .english-card{background:#132519;border-color:#7cac65}
 .command-view .node-list{left:14px;bottom:46px;width:210px;max-height:55%;background:#08150eeF;border-color:#2a4434;border-radius:6px}.command-view .node-list button{background:#102015;border-color:#2b4930}.command-view .node-list summary{font-size:10px}
 .command-view #reading-route{height:38px;min-height:38px;padding:5px 15px 5px 244px;gap:8px;background:#07100ceF;border-color:#243b2b;z-index:8}.command-view #reading-route>span{font-size:8px;min-width:85px}.command-view #reading-route button{padding:4px 8px;min-height:25px;background:#102015;border-color:#2a4434;font-size:10px;max-width:220px}.command-view #reading-route button small{background:#28402b}.command-view .mapnote{display:none}
 .command-view .node3d{background:#06120a96;border:0;border-left:1px solid #88b95f;border-radius:0;box-shadow:0 1px 10px #0008;padding:5px 8px;max-height:64px;backdrop-filter:blur(3px)}.command-view .node3d strong{color:#c1e69e;font-size:12px;text-shadow:0 1px 4px #000}.command-view .node3d small{color:#82a975}.command-view .node3d:hover,.command-view .node3d:focus-visible{background:#233c22eF;outline:1px solid #b6e391}.command-view .node3d.is-selected{border-left:3px solid #d3ff9e;background:#294229eF}
 .command-view .commandbar{position:absolute;top:14px;left:244px;z-index:12;display:flex;align-items:center;gap:3px;padding:5px;background:#08100df2;border:1px solid #2a4434;border-radius:7px;box-shadow:0 4px 20px #0004}.commandbar button{font-size:10px;padding:7px 11px;border:0;background:transparent;color:#9eb698;border-radius:4px}.commandbar button:hover{background:#203a24}.commandbar button[aria-pressed=true]{background:#263c25;color:#d8edc5}.toolbar-separator{height:20px;border-left:1px solid #344731;margin:0 6px}
 .world-legend{position:absolute;z-index:5;left:244px;top:148px;display:flex;gap:15px;pointer-events:none;font:9px Consolas,monospace;color:#a9d68c}.world-legend span:nth-child(2){color:#88bba3}.world-legend small{color:#67866a;font-size:9px;border-left:1px solid #486044;padding-left:15px}.inspection-hint{position:absolute;bottom:93px;right:22px;z-index:3;font:9px Consolas,monospace;color:#668060;pointer-events:none;max-width:300px;text-align:right}
 .command-view.layers-hidden #layers,.command-view.layers-hidden .node-list{display:none}.command-view.layers-hidden .commandbar,.command-view.layers-hidden .networkpanel>.sectionhead,.command-view.layers-hidden .focus-question,.command-view.layers-hidden .world-legend,.command-view.layers-hidden #breadcrumbs,.command-view.layers-hidden .relationship{left:24px}.command-view.layers-hidden #reading-route{padding-left:24px}
 .command-view[data-look=color] .neural-stage{filter:none}.command-view[data-look=nvg] .neural-stage{filter:sepia(.45) hue-rotate(38deg) saturate(.9)}.command-view[data-look=color] .node3d strong{color:#d8f5ed}
 .command-view .workspace:fullscreen{top:0}.command-view #load-status{position:fixed;top:45%;left:45%;z-index:40}
}
@media(min-width:761px) and (max-width:1250px){.command-view .searchbar{left:500px;right:250px}.command-view header nav button{padding:7px;font-size:9px}.command-view .brand{min-width:140px}.command-view #research-open{max-width:90px}.command-view #coverage-open{max-width:110px}.command-view #layers,.command-view .node-list{width:175px}.command-view .commandbar,.command-view .networkpanel>.sectionhead,.command-view .focus-question,.command-view .world-legend,.command-view #breadcrumbs,.command-view .relationship{left:205px}.command-view #reading-route{padding-left:205px}.command-view #detail{width:290px}.commandbar button{padding:6px 7px}.command-view .focus-question{max-width:60%}.world-legend{gap:8px}}
.scene-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.scene-grid button{display:flex;flex-direction:column;gap:9px;padding:20px;text-align:left;border:1px solid #3b5d45;background:linear-gradient(145deg,#1a3324,#091810);border-radius:8px}.scene-grid small{font:10px Consolas,monospace;color:#8bba78}.scene-grid strong{font-size:18px;color:#e3f4db}.scene-grid span{font-size:12px;color:#a2b89d;line-height:1.5}.scene-grid button:hover{border-color:#b0e088;background:#25442a}#scenes{max-width:820px;width:calc(100% - 30px)}#scene.labels-off text{visibility:hidden}#scene.links-off path,#scene.links-off>circle{visibility:hidden}
@media(max-width:760px){.commandbar{display:flex;flex-wrap:wrap;gap:5px;margin:12px 14px}.commandbar button{font-size:10px;padding:8px;border:1px solid #345344;background:#10251a}.world-legend{display:flex;flex-wrap:wrap;gap:10px;font:9px Consolas,monospace;margin:10px 14px;color:#a8ce9d}.world-legend small{flex-basis:100%}.inspection-hint{margin:10px 14px;font-size:10px;color:#86a480}.command-view.layers-hidden #layers{display:none}.scene-grid{grid-template-columns:1fr}.scene-grid button{padding:15px}.command-view:not(.detail-open) #detail{display:none}}

@media(min-width:761px){.command-view #research-open{position:absolute;right:163px;margin:0}.command-view #coverage-open{position:absolute;right:18px;margin:0}.command-view #results-panel{max-width:1050px}.command-view #network:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 55% 48%,transparent 40%,#02070499 100%);z-index:1}.command-view .neural-stage{z-index:2}}
