:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#e9f8ff;background:#06101b;font-size:13px}*{box-sizing:border-box}html,body{padding:0;margin:0;height:100%;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #3ddcf0;outline-offset:2px}button:disabled{opacity:.35;cursor:default}.app{height:100dvh;display:grid;grid-template-rows:72px 53px minmax(0,1fr) 64px;background:#071321}.topbar{background:linear-gradient(100deg,#0d1e2d,#07131f);border-bottom:1px solid #21354b;display:flex;justify-content:space-between;align-items:center;padding:0 26px;gap:20px}.brand{display:flex;align-items:center;gap:13px;white-space:nowrap}.brand-sigil{display:grid;place-items:center;position:relative;width:39px;height:39px;border:1px solid #3ae8ea;border-radius:8px;color:#a9fdff;font-weight:900;font-size:17px;box-shadow:0 0 21px #1acbe633}.brand-sigil span{color:#4ef0e8;font-size:7px;align-self:end;position:absolute;bottom:3px;right:4px}.brand strong{display:block;letter-spacing:.15em;font-size:17px}.brand em{font-style:normal;color:#38e7dd}.brand small{display:block;letter-spacing:.2em;font-size:8px;color:#7499ad;margin-top:4px}.topcenter{display:flex;gap:12px;align-items:center;color:#779bac;font-size:10px;letter-spacing:.17em}.live-dot{height:6px;width:6px;border-radius:50%;background:#3affd6;box-shadow:0 0 10px #32f5d9;flex:none}.slash{color:#36526a}.righttop{display:flex;align-items:center;gap:9px}.counter{font-size:9px;letter-spacing:.13em;color:#8ba9bd;padding-right:10px}.counter b{color:#d6f5ff;font-size:14px}.topbtn{background:#12273b;color:#d5eaf3;border:1px solid #31506a;padding:10px 17px;border-radius:5px;font-size:10px;letter-spacing:.11em}.topbtn:hover{background:#20425b}.topbtn.danger{border-color:#63404a;color:#ebabb4}.modebar{display:flex;align-items:stretch;justify-content:center;gap:8px;background:#0b1b2b;border-bottom:1px solid #263c4f;padding:7px 15px}.modebar button{border:1px solid transparent;background:transparent;color:#829daf;font-size:10px;font-weight:700;letter-spacing:.14em;padding:9px 18px;border-radius:4px}.modebar button:hover{background:#132d3e;color:#e8ffff}.modebar button.active{background:linear-gradient(120deg,#11526a,#15616a);border-color:#2bc2cf;color:#e7ffff;box-shadow:inset 0 0 10px #24badd33}.workspace{min-height:0;display:grid;grid-template-columns:minmax(240px,20%) minmax(340px,1fr) minmax(270px,22%)}.panel{background:#0b1b2a;min-width:0;overflow:hidden;display:flex;flex-direction:column}.treepanel{border-right:1px solid #26394a}.inspectpanel{border-left:1px solid #26394a}.panel-header{padding:24px 20px 14px;border-bottom:1px solid #1d3345}.micro{font-size:9px;letter-spacing:.19em;color:#53a4b6;font-weight:700}.panel-header h2{font-size:17px;letter-spacing:.02em;font-weight:600;margin:8px 0 1px}.searchbox{border:1px solid #244358;background:#061525;display:flex;align-items:center;gap:7px;margin:16px 13px 10px;padding:8px 11px;color:#57d0df;font-size:21px}.searchbox input{color:#d8f7ff;background:transparent;width:100%;border:0;outline:0;font-size:12px}.searchbox input::placeholder{color:#557387}.tree-tools{display:flex;justify-content:space-between;gap:6px;padding:0 13px 8px}.tree-tools button{background:transparent;color:#74a6ba;border:0;font-size:9px;letter-spacing:.08em}.tree{overflow-y:auto;flex:1;padding:2px 12px 20px;scrollbar-width:thin;scrollbar-color:#28495b transparent}.tree-group{margin-bottom:4px}.tree-group-head{display:flex;align-items:center;padding:9px 7px;width:100%;background:#102536;color:#b5dce8;border:1px solid transparent;border-bottom-color:#233d4c;gap:7px;text-align:left;font-size:11px;font-weight:700;letter-spacing:.09em}.tree-group-head .chevron{color:#48dce4;font-size:10px}.tree-group-head .count{margin-left:auto;color:#65899e;font-size:9px}.tree-part{display:flex;align-items:center;width:100%;gap:8px;padding:7px 8px 7px 15px;text-align:left;background:none;border:1px solid transparent;color:#8daaba;font-size:11px}.tree-part .dot{width:5px;height:5px;border:1px solid #597f93;border-radius:50%;flex:none}.tree-part.selected{background:#0c3a51;border-color:#276579;color:#e4faff}.tree-part.selected .dot{background:#37ebed;box-shadow:0 0 8px #33e6dd}.tree-part:not(.selected):hover{background:#183448;color:#e0f1f5}.tree-part.removed{color:#ce9c8d}.tree-part.removed .dot{border-color:#eb925f}.tree-footer{display:flex;align-items:center;gap:10px;border-top:1px solid #233a49;padding:13px 21px;color:#799ba9;font-size:9px;letter-spacing:.12em}.viewport{min-width:0;min-height:0;position:relative;overflow:hidden;background:radial-gradient(ellipse at center,#153a50,#071523 72%)}canvas{display:block;width:100%;height:100%;touch-action:none}.scanlines{position:absolute;inset:0;pointer-events:none;background:linear-gradient(transparent 48%,#59eaff08 50%,transparent 52%);background-size:100% 6px;opacity:.33}.hud-top{pointer-events:none;position:absolute;left:26px;right:26px;top:23px;display:flex;align-items:flex-start;justify-content:space-between}.spec{display:flex;flex-direction:column;gap:7px}.spec strong{font-size:18px;letter-spacing:.08em;font-weight:500}.spec .muted{font-size:8px;color:#668fa7;letter-spacing:.12em}.view-status{display:flex;align-items:center;gap:7px;background:#092134ba;border:1px solid #2a6470;padding:9px 12px;color:#b3eeeb;font-size:9px;letter-spacing:.12em}.hud-axis{position:absolute;bottom:71px;left:23px;color:#749aac;font-size:8px;letter-spacing:.13em;pointer-events:none}.axislines{border:1px solid #2c7482;border-radius:50%;font-size:29px;display:grid;place-items:center;height:52px;width:52px;margin-bottom:8px;color:#4cdedb}.hud-bottom{position:absolute;bottom:13px;left:24px;right:24px;display:flex;justify-content:space-between;color:#5d8299;font-size:9px;letter-spacing:.08em;pointer-events:none}.view-buttons{display:flex;align-items:center;gap:4px;position:absolute;right:20px;bottom:53px;background:#061727bf;border:1px solid #275267;padding:4px}.view-buttons button{background:transparent;border:0;color:#c4e1eb;font-size:9px;padding:10px 8px;letter-spacing:.05em}.view-buttons button:hover{background:#1a4b64;color:white}.labels{position:absolute;inset:0;pointer-events:none}.part-label{position:absolute;transform:translate(-50%,-130%);padding:5px 7px;white-space:nowrap;border:1px solid #2c96a5;background:#041925d9;color:#bdfff6;font-size:9px;letter-spacing:.02em}.part-label:after{content:'';height:10px;position:absolute;top:100%;left:50%;border-left:1px solid #2c96a5}.focus-marker{position:absolute;left:50%;top:21%;transform:translateX(-50%);border:1px solid #3ac2d0;background:#062734e5;color:#9bf6f1;padding:8px 12px;font-size:9px;letter-spacing:.1em}.inspect-body{padding:18px 20px 25px;overflow:auto;scrollbar-width:thin;scrollbar-color:#2a5267 transparent}.pill{font-size:9px;color:#4becdf;background:#123d4a;border:1px solid #22677b;display:inline-block;padding:7px 10px;letter-spacing:.13em}.inspect-body h3{font-size:19px;line-height:1.3;margin:14px 0 10px;font-weight:600}.inspect-body>p{color:#a4bccc;line-height:1.55;font-size:12px;margin-bottom:16px}.props{display:grid;grid-template-columns:1fr 1fr;gap:14px 8px;border-top:1px solid #294355;border-bottom:1px solid #294355;padding:15px 0;margin-bottom:17px}.props>div{display:flex;flex-direction:column;gap:7px;min-width:0}.props span{font-size:8px;color:#678da2;letter-spacing:.12em}.props strong{font-size:11px;color:#cce5ed;font-weight:500;overflow-wrap:anywhere}.inspect-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:20px}.inspect-actions button{background:#102b3d;color:#b6dee8;border:1px solid #315369;border-radius:3px;padding:11px 5px;font-size:10px;letter-spacing:.07em}.inspect-actions button:hover{background:#1a5467}.section-title{font-size:9px;letter-spacing:.14em;color:#6fd8e0;display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #284154;margin-bottom:14px;font-weight:700}#modeControls{display:flex;flex-direction:column;gap:11px}.ctrl-label{display:flex;justify-content:space-between;gap:9px;color:#a2c5d4;font-size:10px;letter-spacing:.06em}.ctrl-label b{color:#5deee4;font-variant-numeric:tabular-nums;font-size:10px}.ctrl-row{display:flex;gap:8px}.ctrl-row button,.ctrl-button{background:#123044;color:#d3eef0;border:1px solid #335a6a;padding:10px 9px;border-radius:3px;font-size:10px;flex:1}.ctrl-row button:hover,.ctrl-button:hover{background:#1f5366}.ctrl-row button.active{background:#17606a;border-color:#3ddddd}.ctrl-box{padding-bottom:11px;border-bottom:1px solid #213749}.ctrl-slider{width:100%;accent-color:#35e6e2;cursor:pointer}.ctrl-select{width:100%;background:#102a3b;color:#d3f2fa;border:1px solid #31536b;padding:9px}.subtext{font-size:10px;line-height:1.5;color:#7c9aaa}.education{margin-top:25px;border:1px solid #245061;background:linear-gradient(120deg,#0d2c40,#0a2130);padding:14px}.education strong{color:#5dece6;font-size:9px;letter-spacing:.15em}.education p{color:#95b8c4;line-height:1.6;font-size:11px}.bottom{background:#0d1f2e;border-top:1px solid #2c4d5e;padding:0 21px;display:flex;align-items:center;justify-content:space-between;gap:15px}.transport{display:flex;gap:7px;align-items:center}.transport>button{background:#15344a;border:1px solid #355f74;color:#aee6ef;padding:9px 12px}.transport>button:hover{background:#24627d}.transport-label,.speedlabel,.progress-wrap span,.footlinks button{font-size:9px;letter-spacing:.13em;color:#789eae}.transport-label{margin-left:10px}.speedlabel{display:flex;align-items:center;gap:7px;margin-left:10px}.speedlabel select{background:#092233;color:#d8f9ff;border:1px solid #355b70;padding:7px}.progress-wrap{display:flex;align-items:center;gap:11px;min-width:220px}.progress-track{width:140px;height:5px;background:#1b4051;border-radius:4px;overflow:hidden}.progress-track>div{height:100%;width:100%;background:linear-gradient(90deg,#119bba,#53f5d4);transition:width .25s}.progress-wrap strong{white-space:nowrap;font-size:10px;color:#c6e6ea}.footlinks{display:flex;gap:8px}.footlinks button{padding:10px;background:transparent;border:1px solid #315269;color:#a1c8d7}.footlinks button:hover{background:#1d4356}#mobileTreeBtn,#mobileInfoBtn{display:none}.toast{z-index:100;position:fixed;left:50%;bottom:90px;transform:translate(-50%,20px);opacity:0;transition:opacity .22s,transform .22s;pointer-events:none;background:#0e3443f2;color:#b6f9fa;border:1px solid #40d3d3;padding:12px 17px;max-width:min(90vw,560px);line-height:1.4;box-shadow:0 8px 30px #0009}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{border-color:#de8f7b;color:#f2c1b2}dialog{border:1px solid #337d8a;border-radius:8px;background:#0b2130;color:#cce7ee;max-width:630px;max-height:80vh;padding:25px;box-shadow:0 0 120px #000d}dialog::backdrop{background:#000b}dialog p{line-height:1.75}.dialogtitle{display:flex;justify-content:space-between;gap:15px;color:#52ebe7;letter-spacing:.1em}.dialogtitle button{background:none;border:0;color:#b8dbeb;font-size:20px}.noresults{padding:18px 12px;color:#86abba;font-size:11px}
@media(max-width:1150px){.workspace{grid-template-columns:215px minmax(320px,1fr) 255px}.topcenter{display:none}.modebar button{padding:9px 10px}.counter{display:none}.panel-header{padding:16px 13px 10px}.inspect-body{padding:13px}.view-buttons{right:8px}.transport-label{display:none}}
@media(max-width:790px){html,body{overflow:hidden}.app{grid-template-rows:58px 49px minmax(0,1fr) 60px}.topbar{padding:0 12px}.brand-sigil{width:34px;height:34px}.brand strong{font-size:13px}.brand small{font-size:7px}.topbtn{padding:8px;font-size:9px}.modebar{padding:6px 5px;gap:1px;justify-content:space-around}.modebar button{display:flex;flex-direction:column;gap:1px;align-items:center;font-size:13px;padding:5px 5px}.modebar button span{font-size:8px}.workspace{grid-template-columns:minmax(0,1fr);position:relative}.viewport{grid-column:1;grid-row:1}.treepanel,.inspectpanel{display:none;position:absolute;z-index:12;top:0;bottom:0;width:min(84vw,330px);box-shadow:0 10px 40px #000c}.treepanel.mobile-open{display:flex;left:0}.inspectpanel.mobile-open{display:flex;right:0}.hud-top{top:12px;left:12px;right:12px}.spec strong{font-size:14px}.spec .muted{max-width:210px;line-height:1.4}.view-status{font-size:8px;padding:5px}.hud-axis{bottom:70px;left:11px}.axislines{width:33px;height:33px;font-size:20px}.view-buttons{bottom:57px;right:8px;gap:0}.view-buttons button{padding:9px 5px;font-size:8px}.hud-bottom{left:10px;right:10px;bottom:9px;font-size:7px}.bottom{padding:0 8px;gap:4px;flex-wrap:nowrap}.transport{gap:3px}.transport>button{padding:8px}.speedlabel{margin-left:3px;font-size:8px}.speedlabel select{padding:6px 1px;font-size:9px}.progress-wrap{min-width:0;gap:4px}.progress-wrap span{display:none}.progress-track{width:35px}.progress-wrap strong{font-size:8px}.footlinks{gap:3px}.footlinks button{padding:7px 4px;font-size:8px}#mobileTreeBtn,#mobileInfoBtn{display:block}#helpBtn{display:none}.toast{bottom:75px;font-size:11px}}
@media(max-width:385px){.topbtn{padding:7px 5px}.brand strong{font-size:11px}.brand small{font-size:6px}.progress-wrap{display:none}.view-buttons button{padding:7px 4px}.footlinks button{font-size:7px}}

.guide-link{display:inline-flex;align-items:center;padding:8px 11px;border:1px solid #2c7a88;color:#68ece7;text-decoration:none;font-size:9px;letter-spacing:.1em}.guide-link:hover{background:#18475a}@media(max-width:790px){.guide-link{padding:7px 5px;font-size:8px}}
@media(max-width:530px){
 .app{width:100vw;max-width:100vw;overflow:hidden}.topbar{min-width:0;gap:4px;padding:0 7px}.brand{min-width:0;gap:6px;flex:1}.brand strong{font-size:11px;letter-spacing:.08em}.brand small{letter-spacing:.05em;font-size:6px}.brand-sigil{flex-shrink:0;width:29px;height:29px}.righttop{gap:3px;flex-shrink:0}.righttop .topbtn{padding:7px 6px;font-size:8px}.modebar{min-width:0;width:100%;gap:0;justify-content:stretch;padding:5px 3px}.modebar button{min-width:0;flex:1;letter-spacing:0;padding:4px 1px;font-size:11px}.modebar button span{font-size:7px;letter-spacing:0}.bottom{min-width:0;padding:0 5px;gap:2px}.progress-wrap{display:none}.transport{min-width:0;flex-shrink:1}.transport>button{padding:6px 7px}.speedlabel{gap:3px;margin-left:2px}.speedlabel select{padding:6px 1px}.footlinks{gap:2px;flex-shrink:0}.footlinks button{padding:6px 3px;font-size:7px}.guide-link{padding:6px 3px;font-size:7px}.view-buttons{right:6px;bottom:62px}.view-buttons button{font-size:7px;padding:8px 4px}.hud-top{left:9px;right:9px}.spec .muted{max-width:185px}.viewport{min-width:0}
}
