/* Original Recursion cross-media shell: directional structure, not borrowed artwork. */
:root[data-theme=early-console]{--ui-paper:#050c19;--ui-panel:#123150;--ui-solid:#102b48;--ui-ink:#eefaff;--ui-muted:#bdd7e7;--ui-mark:#a7e3ff;--ui-flare:#d6f7ff;--ui-etch:#b1d9ed61;--ui-chrome:#245c83;--ui-highlight:#ffffff43;--ui-shadow:#020a18af}
:root[data-theme=early-console][data-appearance=light]{--ui-paper:#a7cfe6;--ui-panel:#d7ebf5;--ui-solid:#c2e0ee;--ui-ink:#14324d;--ui-muted:#355f7d;--ui-mark:#2275a6;--ui-flare:#56b5d6;--ui-etch:#4388ac73;--ui-chrome:#8bc1db;--ui-highlight:#ffffffbd;--ui-shadow:#17446461}
:root[data-theme=early-console] body,:root[data-theme=early-console] body.recursion-workstation{background:radial-gradient(ellipse at 78% 65%,#3770a077,transparent 48%),linear-gradient(165deg,#061222,#163e69 57%,#070d1c)!important;color:var(--ui-ink);font-family:'Segoe UI',Arial,sans-serif!important;overflow-x:clip}
:root[data-theme=early-console][data-appearance=light] body,:root[data-theme=early-console][data-appearance=light] body.recursion-workstation{background:linear-gradient(155deg,#b2d5e9,#a9c4dd 55%,#e4eef5)!important}
:root[data-theme=early-console] body:before,:root[data-theme=early-console] body>header,:root[data-theme=early-console] body .theme-world-nav,:root[data-theme=early-console] body .console-controls-toggle,:root[data-theme=early-console] body .workspace-tabs{display:none!important}
:root[data-theme=early-console] body #xmbShell[hidden]{display:none!important}
.xmb-shell{position:relative;z-index:55;min-height:0;color:#f4fbff;font-family:'Segoe UI',Arial,sans-serif}
.xmb-shell :is(button,input){font-family:inherit}
:root[data-theme=early-console] body .xmb-shell button{border:0;background:none;color:inherit;border-radius:0;box-shadow:none;text-transform:none;text-shadow:none}
.xmb-shell button:focus-visible,.xmb-shell input:focus-visible{outline:2px solid #ebf9ff;outline-offset:3px}
body>.xmb-environment{display:none}
:root[data-theme=early-console] body>.xmb-environment{display:block}
.xmb-environment{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse 64% 63% at 76% 58%,#1d7290a8,transparent 68%),radial-gradient(ellipse 68% 72% at 18% 94%,#164f8a8c,transparent 65%),linear-gradient(155deg,#031122,#0f3358 62%,#071326)}
.xmb-environment:before,.xmb-environment:after{content:'';position:absolute;left:-10%;top:42%;width:120%;height:28%;border-radius:45%;border-top:1px solid #d1f6ff73;background:linear-gradient(180deg,#71ceef12,transparent);transform:rotate(-12deg);filter:blur(2px);animation:xmb-drift 19s ease-in-out infinite alternate}
.xmb-environment:after{top:63%;height:36%;left:-18%;width:137%;border-color:#b1ddff58;transform:rotate(-17deg);animation-duration:28s;opacity:.65}
.xmb-environment i{position:absolute;width:2px;height:2px;left:11%;top:21%;background:#e1faff;border-radius:50%;box-shadow:19vw 37vh #c5ecff70,45vw 9vh #d7f2ff99,73vw 61vh #dbfaff75,83vw 26vh #e5faff55;animation:xmb-drift 18s ease-in-out infinite alternate}
.xmb-environment i:nth-child(2){left:33%;top:73%;animation-delay:-7s;opacity:.5}.xmb-environment i:nth-child(3){left:77%;top:12%;animation-delay:-13s;opacity:.5}
@keyframes xmb-drift{to{transform:translate3d(3vw,-2vh,0) rotate(-9deg)}}
.xmb-environment .gx-world-canvas{opacity:.9}
:root[data-theme=early-console] body.xmb-world-ready .xmb-environment:before,:root[data-theme=early-console] body.xmb-world-ready .xmb-environment:after{opacity:.12}
:root[data-theme=early-console] body[data-xmb-world=beam] .xmb-environment{background:radial-gradient(ellipse 58% 60% at 79% 72%,#37a1bd6c,transparent),linear-gradient(155deg,#030f20,#16415f 57%,#061222)}
:root[data-theme=early-console] body[data-xmb-world=field] .xmb-environment{background:radial-gradient(ellipse 58% 59% at 75% 73%,#7088bb65,transparent),linear-gradient(155deg,#0a1027,#263b72 58%,#071427)}
.xmb-top{height:78px;padding:0 clamp(20px,3vw,60px);display:flex;align-items:center;gap:22px;position:relative;z-index:70}
:root[data-theme=early-console] body .xmb-logo{font-size:26px;font-weight:300;letter-spacing:1px;padding:9px 0;white-space:nowrap}.xmb-logo span{font-size:10px;letter-spacing:2.2px;opacity:.7;margin-left:6px}
.xmb-top-source{margin-left:auto;font-size:10px;letter-spacing:1.2px;opacity:.72}.xmb-clock{font-size:12px;letter-spacing:1.5px;white-space:nowrap}
.xmb-theme-slot{position:relative;z-index:150}.xmb-theme-slot .theme-tools{display:flex;align-items:center;gap:8px;position:relative}.xmb-theme-slot .theme-library-toggle{min-height:36px;padding:6px 10px!important;border:1px solid #e1f8ff55!important;background:#09234248!important;color:#eefaff!important}.xmb-theme-slot .theme-library-toggle small{display:none}.xmb-theme-slot .theme-library-toggle span{font-size:10px;letter-spacing:1px;white-space:nowrap}.xmb-theme-slot .theme-library{z-index:200;top:calc(100% + 8px)}
.xmb-home{min-height:calc(100dvh - 78px);padding:clamp(44px,9vh,110px) clamp(30px,9vw,185px) 24px;display:flex;flex-direction:column}
.xmb-system-title{font-size:10px;letter-spacing:3.2px;opacity:.8;margin:0 0 38px 10px}.xmb-system-title span{opacity:.55}
.xmb-axis{display:flex;align-items:flex-end;gap:clamp(10px,2.3vw,38px);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;min-height:105px;padding:8px 6px 17px}.xmb-axis::-webkit-scrollbar{display:none}
:root[data-theme=early-console] body .xmb-axis button{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:clamp(76px,8vw,120px);min-height:82px;padding:8px 12px;opacity:.48;transition:opacity .22s,transform .22s,filter .22s;position:relative;background:transparent!important}
.xmb-axis button span{font-size:clamp(29px,3.3vw,49px);font-weight:200;line-height:1}.xmb-axis button strong{font-size:9px;letter-spacing:2.1px;font-weight:500}
:root[data-theme=early-console] body .xmb-axis button[aria-current=true]{opacity:1;transform:scale(1.17);filter:drop-shadow(0 0 12px #b1efff99)}
.xmb-axis button[aria-current=true]:after{content:'';position:absolute;bottom:2px;width:26px;height:2px;background:#e6fbff;box-shadow:0 0 8px #a8eaff}
.xmb-content{display:grid;grid-template-columns:minmax(220px,35%) minmax(260px,1fr);gap:clamp(34px,7vw,130px);margin:clamp(26px,5vh,70px) 0 0;min-height:340px;max-height:calc(100dvh - 315px)}
.xmb-selection{padding:22px 0 0 12px}.xmb-crumb{font-size:11px;letter-spacing:2.8px;color:#bfeaff}.xmb-selection h1{font-size:clamp(33px,4.5vw,70px);font-weight:200;letter-spacing:-1.6px;line-height:1.05;margin:12px 0 17px;text-transform:lowercase}.xmb-description{max-width:320px;font-size:13px;line-height:1.7;color:#d5edfac7;min-height:50px}.xmb-search{width:min(100%,350px);min-height:44px;margin-top:12px;padding:10px 13px;border:1px solid #cceeff75;background:#0c365e80;color:#fff;font-size:14px}
.xmb-list{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#c6ebff55 transparent;padding:5px 8px 18px 0;align-self:start;max-height:calc(100dvh - 325px)}
:root[data-theme=early-console] body .xmb-item{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;gap:10px;align-items:center;text-align:left;min-height:62px;padding:7px 16px 7px 4px;opacity:.66;transition:opacity .16s,transform .16s,background .16s;border:1px solid transparent!important}
.xmb-item-symbol{font-size:22px;text-align:center;font-weight:200}.xmb-item strong{display:block;font-size:15px;font-weight:400;letter-spacing:.15px}.xmb-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;margin-top:3px;color:#d3ecfac2}.xmb-item-arrow{font-size:25px;opacity:0}
:root[data-theme=early-console] body .xmb-item[aria-current=true],:root[data-theme=early-console] body .xmb-item:focus-visible{opacity:1;transform:translateX(6px);background:linear-gradient(90deg,#d6f4ff32,#d6f4ff06)!important;border-left-color:#e7faff!important;text-shadow:0 0 12px #d8faff7a}.xmb-item[aria-current=true] .xmb-item-arrow{opacity:1}
.xmb-bottom{display:flex;justify-content:space-between;gap:24px;margin-top:auto;padding:18px 10px 0;border-top:1px solid #cceeff3d;color:#d9efffb9;font-size:10px;letter-spacing:.8px}.xmb-source-state{max-width:50%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xmb-workspace-head{position:relative;display:flex;align-items:center;gap:clamp(20px,3vw,60px);padding:14px clamp(24px,4vw,78px);min-height:115px;border-bottom:1px solid #dbf3ff3a;background:linear-gradient(180deg,#061a38bd,transparent)}
.xmb-workspace-head[hidden],.xmb-home[hidden]{display:none!important}.xmb-workspace-head .xmb-back{white-space:nowrap;font-size:11px!important;letter-spacing:1.2px!important}.xmb-workspace-head small{font-size:9px;letter-spacing:2.1px;color:#b6e6f7}.xmb-workspace-head h1{font-size:clamp(24px,2.6vw,42px);font-weight:200;letter-spacing:3px;margin:1px 0}.xmb-workspace-head p{font-size:10px;color:#c9e8f7b5;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.xmb-workspace-head nav{margin-left:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px}.xmb-workspace-head nav button{padding:9px 10px!important;font-size:9px!important;letter-spacing:1.2px!important;border-bottom:1px solid #c7eaff77!important}.xmb-workspace-head nav button:hover{background:#b9eaff2c!important}
:root[data-theme=early-console] body main,:root[data-theme=early-console] body.instrument-panel main{position:relative;z-index:2;display:block!important;max-width:none!important;height:auto!important;min-height:calc(100dvh - 195px);margin:0!important;padding:17px clamp(24px,4vw,78px) 45px!important}
:root[data-theme=early-console] body[data-xmb-screen=home] main{display:none!important}
:root[data-theme=early-console] body[data-xmb-screen=home] footer{display:none!important}
:root[data-theme=early-console] body .stage,:root[data-theme=early-console] body.instrument-panel .stage{position:relative!important;top:auto!important;width:100%!important;max-width:none!important;padding:0!important;overflow:visible!important}
:root[data-theme=early-console] body .monitor{width:100%!important;max-width:none!important;height:max(350px,calc(100dvh - 265px));min-height:0!important;aspect-ratio:auto!important;margin:0!important;border:1px solid #e2f7ff7b!important;border-radius:5px!important;box-shadow:0 0 0 5px #c7efff0c,0 23px 48px #020e239c!important;background:#000}
:root[data-theme=early-console] body .monitor:after{border-radius:4px!important;inset:3px;border-color:#d8f4ff26}
:root[data-theme=early-console] body .theme-world-label,:root[data-theme=early-console] body .world-nav-intro{display:none!important}
:root[data-theme=early-console] body .command-rail{position:absolute;z-index:5;top:15px;left:15px;width:52px;padding:6px;background:#092945c4;border:1px solid #d9f3ff61;border-radius:5px;backdrop-filter:blur(9px)}
:root[data-theme=early-console] body .seed-shelf{max-height:260px;overflow:auto;background:#0b2b4a88;border:1px solid #cce9fb4b;padding:13px}
:root[data-theme=early-console] body .transport button,:root[data-theme=early-console] body .preset-strip button{background:#0a2d4f9e!important;border:1px solid #a4d7ef68!important;color:#eefaff!important;border-radius:3px!important;box-shadow:none!important}
:root[data-theme=early-console] body .preset-strip button.active{background:#6cb7d96a!important;border-color:#e2faff!important}
:root[data-theme=early-console] body main>aside{position:fixed!important;z-index:75!important;top:115px!important;right:0!important;left:auto!important;width:min(530px,45vw)!important;height:calc(100dvh - 115px)!important;max-height:none!important;overflow:auto!important;visibility:hidden!important;transform:translateX(100%)!important;pointer-events:none!important;background:#082039f4!important;border:0!important;border-left:1px solid #d4f2ff61!important;border-radius:0!important;box-shadow:-16px 0 50px #021024a8!important;padding:24px 30px!important}
:root[data-theme=early-console] body.xmb-controls-open main>aside{visibility:visible!important;transform:none!important;pointer-events:auto!important}
:root[data-theme=early-console] body.xmb-controls-open .xmb-shell{visibility:hidden}
:root[data-theme=early-console] body.xmb-controls-open main .stage{width:calc(100% - min(530px,45vw))!important}
:root[data-theme=early-console] body .rack-tabs{display:flex!important;flex-wrap:wrap;gap:3px}
:root[data-theme=early-console] body .rack-tabs button{min-height:38px}
:root[data-theme=early-console] body .xmb-close-controls{display:none;position:fixed;z-index:90;top:120px;right:21px;padding:9px 11px!important;background:#9be4ff25!important;border:1px solid #d6f7ff73!important;color:#e9faff!important;font-size:10px!important;letter-spacing:1px!important}
:root[data-theme=early-console] body.xmb-controls-open .xmb-close-controls{display:block}
:root[data-theme=early-console] body .xmb-close-controls[hidden]{display:none!important}
:root[data-theme=early-console][data-appearance=light] body .xmb-shell{color:#14344d}
:root[data-theme=early-console][data-appearance=light] body .xmb-environment{background:radial-gradient(ellipse 65% 60% at 76% 64%,#56a9c29c,transparent 65%),linear-gradient(155deg,#b4d9ed,#b1cfe5 59%,#e7f1f8)}
:root[data-theme=early-console][data-appearance=light] body .xmb-selection p,:root[data-theme=early-console][data-appearance=light] body .xmb-item small,:root[data-theme=early-console][data-appearance=light] body .xmb-bottom{color:#254f70}
@media(max-width:899px){.xmb-top{height:61px;padding:0 15px;gap:8px}.xmb-logo span,.xmb-top-source,.xmb-clock{display:none}.xmb-theme-slot{margin-left:auto}.xmb-theme-slot .appearance-control{display:none}.xmb-home{min-height:calc(100dvh - 61px);padding:23px 15px}.xmb-system-title{font-size:9px;margin:0 0 18px 5px}.xmb-axis{min-height:82px;gap:5px;padding:5px 0 10px}.xmb-axis button{min-width:72px!important;min-height:70px!important;padding:5px!important}.xmb-axis button span{font-size:27px}.xmb-axis button strong{font-size:8px}.xmb-content{display:flex;flex-direction:column;gap:5px;margin:18px 0 0;max-height:none;min-height:0}.xmb-selection{padding:0 4px}.xmb-selection h1{font-size:30px;margin:6px 0}.xmb-description{min-height:0;margin:4px 0;font-size:11px}.xmb-list{max-height:calc(100dvh - 340px);min-height:190px;padding:0 4px}.xmb-item{min-height:53px!important;padding:5px!important;grid-template-columns:34px minmax(0,1fr) 14px!important}.xmb-item strong{font-size:13px}.xmb-item small{font-size:9px}.xmb-bottom{padding-top:10px;font-size:9px}.xmb-bottom>span:last-child{display:none}.xmb-source-state{max-width:100%}.xmb-workspace-head{min-height:94px;gap:9px;flex-wrap:wrap;padding:10px 14px}.xmb-workspace-head .xmb-back{font-size:9px!important}.xmb-workspace-head h1{font-size:23px}.xmb-workspace-head p{display:none}.xmb-workspace-head nav{width:100%;margin:0;overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start}.xmb-workspace-head nav button{white-space:nowrap;font-size:8px!important;padding:6px!important}:root[data-theme=early-console] body main,:root[data-theme=early-console] body.instrument-panel main{padding:8px 12px 35px!important}:root[data-theme=early-console] body .monitor{height:auto!important;min-height:0;aspect-ratio:4/3!important}:root[data-theme=early-console] body .command-rail{position:relative!important;top:auto!important;left:auto!important;width:100%!important;display:flex;overflow-x:auto;margin-bottom:5px}:root[data-theme=early-console] body main>aside{top:0!important;width:100%!important;height:100dvh!important;padding:60px 14px 22px!important}:root[data-theme=early-console] body.xmb-controls-open main .stage{width:100%!important;visibility:hidden!important}.xmb-close-controls{top:12px!important;right:12px!important}}
@media(prefers-reduced-motion:reduce){.xmb-environment:before,.xmb-environment:after,.xmb-environment i{animation:none!important}.xmb-axis button,.xmb-item{transition:none!important}}
:root[data-theme=early-console] body[data-xmb-screen=workspace] .monitor{background:transparent!important;isolation:isolate}
:root[data-theme=early-console] body[data-xmb-screen=workspace] .monitor:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at center,#081a3352,#051022a8);pointer-events:none}
:root[data-theme=early-console] body[data-xmb-screen=workspace] .monitor>canvas:not([hidden]){opacity:.82}
:root[data-theme=early-console] body[data-xmb-screen=workspace] #liveView:not([hidden]){opacity:1}
