/* NEXUS: original logo and rank images are intentionally not changed. */
:root,:root .workspace-body{--bg:#101619;--card:#182024;--surface:#202a2f;--surface-solid:#182024;--input:#11191d;--line:#344147;--border:#344147;--text:#edf3f2;--muted:#a5b5bd;--violet:#adfa38;--teal:#adfa38;--accent:#adfa38;--cyan:#b9fc63;--focus:#adfa38;--success:#adfa38;--on-primary:#102005;--gradient:linear-gradient(110deg,#92e933,#bcff61);--button-gradient:linear-gradient(110deg,#92e933,#bcff61);--radial:none;color-scheme:dark}
:root[data-theme="light"],:root[data-theme="light"] .workspace-body{--bg:#f2f5ef;--card:#fff;--surface:#e5ecdf;--surface-solid:#fff;--input:#f6f9f3;--line:#c8d2c0;--border:#c8d2c0;--text:#17221b;--muted:#51624f;--violet:#397000;--teal:#397000;--accent:#397000;--focus:#397000;color-scheme:light}
body{background:var(--bg)}.workspace-body .primary,.primary,.button.primary{background:#adfa38;color:#152209;border-color:#adfa38;box-shadow:none}.workspace-body .primary:hover,.primary:hover{background:#c2ff70;color:#142109}.workspace-nav button[aria-current]{color:var(--teal);background:#adfa3810;border-color:#adfa3838}.workspace-heading h1{font-weight:650}.workspace-heading .eyebrow{color:var(--teal)}.workspace-body .card,.workspace-mesh-details,.workspace-metrics article{border-radius:8px}.workspace-metrics article:after,.sidebar-shortcut,.workspace-network-entry{display:none}.workspace-brand{padding-bottom:24px}.workspace-nav button{min-height:44px}.workspace-statusbar{font-size:11px}.workspace-body .workspace-topbar{gap:16px}.nexus-search{flex:1;max-width:510px;min-width:100px;padding:9px 14px;text-align:left;color:var(--muted);justify-content:space-between}.nexus-version{font-size:12px;color:var(--teal);letter-spacing:.08em}.nexus-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0}.nexus-toolbar input{flex:1;min-width:150px}.nexus-toolbar select{width:auto;max-width:220px}.nexus-drive{border:1px solid var(--line);border-radius:9px;padding:24px;background:var(--card)}.nexus-drive h2{font-size:21px}.nexus-drive p{color:var(--muted);line-height:1.65}.nexus-drive input,.nexus-drive select{color:var(--text);background:var(--input);border:1px solid var(--line);padding:11px 13px;border-radius:7px;font:inherit}.nexus-folders{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:18px 0}.nexus-folder{padding:18px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;background:var(--surface);white-space:normal;min-height:118px;border:1px solid var(--line);border-radius:8px;color:var(--text)}.nexus-folder.active{border-color:var(--teal);box-shadow:inset 3px 0 var(--teal)}.nexus-folder .glyph{font-size:28px;color:#e5bc62}.nexus-folder small{color:var(--muted);margin-top:5px}.nexus-drive table{border-collapse:collapse;width:100%;margin-top:12px}.nexus-drive td,.nexus-drive th{padding:13px 12px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.nexus-drive th{font-size:12px;color:var(--muted)}.nexus-drive .error{color:#ff9a8f}.nexus-drive form{margin:15px 0;display:grid;gap:10px}.nexus-drive label{display:grid;gap:7px;margin:0}.nexus-drive .nexus-unlock{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.nexus-unlock label{flex:1}.nexus-transfer{border:1px solid var(--line);padding:14px;margin:10px 0;border-radius:8px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.nexus-transfer strong{flex:1;min-width:130px;overflow-wrap:anywhere}.nexus-transfer progress{accent-color:var(--teal);width:150px}.nexus-scroll{overflow:auto}.nexus-manage{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.nexus-manage summary{cursor:pointer;color:var(--teal);font-weight:650}.nexus-owned{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:12px 0}.nexus-owned strong{flex:1}.nexus-empty{padding:28px;border:1px dashed var(--line);border-radius:8px;text-align:center;margin-top:16px}.nexus-palette{width:min(640px,95vw);border:1px solid var(--line);padding:24px;background:var(--card);color:var(--text);border-radius:12px}.nexus-palette::backdrop{background:#0009}.nexus-results{display:grid;gap:7px;margin-top:14px;max-height:55vh;overflow:auto}.nexus-results button{justify-content:space-between;text-align:left;white-space:normal;min-height:48px}.nexus-results small{color:var(--muted)}.nexus-density .workspace-body .card{padding:16px}.nexus-density .nexus-drive td{padding:8px}.nexus-density .workspace-heading{margin-bottom:12px}.host-topology .map-node.selected rect{stroke:var(--teal)}.nexus-focus .workspace-sidebar,.nexus-focus .workspace-heading{display:none}.nexus-focus .workspace-app{grid-template-columns:1fr}
@media(max-width:820px){.nexus-drive{padding:16px}.nexus-search span{display:none}.nexus-drive th:nth-child(3),.nexus-drive td:nth-child(3){display:none}.nexus-folder{min-height:100px}.nexus-palette{padding:18px}}
@media(max-width:520px){.workspace-topbar{padding-top:env(safe-area-inset-top);height:auto;min-height:58px}.workspace-sidebar{padding-bottom:env(safe-area-inset-bottom)}.workspace-nav{overflow-x:auto;justify-content:flex-start}.workspace-nav button{min-width:62px;min-height:54px}.nexus-drive button{min-height:44px}.nexus-toolbar input{width:100%}.nexus-drive{padding:14px}.nexus-drive td{padding:10px 6px;font-size:12px}.nexus-drive th:nth-child(2),.nexus-drive td:nth-child(2){display:none}.nexus-folders{grid-template-columns:1fr 1fr;gap:8px}.nexus-folder{padding:13px;font-size:13px}.nexus-drive input{font-size:16px}.workspace-location{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* NEXUS command center and site preview. */
#nexus-map-home,#nexus-drive-home{margin-bottom:20px}.nexus-connect{border:1px solid var(--line);border-radius:8px;background:var(--card);margin:20px 0}.nexus-connect>summary{padding:20px;cursor:pointer;font-weight:600;color:var(--teal)}.nexus-connect .primary-grid{padding:0 18px 18px}.nexus-connect .card{border:0}.nexus-drive{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:0 24px}.nexus-drive>h2,.nexus-drive>p,.nexus-drive>.nexus-toolbar,.nexus-drive>.nexus-folders,.nexus-drive>.nexus-manage{grid-column:1/-1}.nexus-drive>section{min-width:0}.nexus-drive>section:last-of-type{padding:20px;background:var(--input);border:1px solid var(--line);border-radius:8px;align-self:start}.nexus-transfer progress{width:100%}.nexus-transfer button{font-size:11px}.nexus-drive>section:last-of-type>button{font-size:11px;margin-top:10px}.nexus-transfer:has(progress[value="0"]){opacity:.85}.map-canvas-wrap{background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:32px 32px}.map-canvas,.host-topology{min-height:310px}.network-map{border-radius:8px}.map-metrics{padding:12px 20px}.workspace-body .workspace-metrics{margin-bottom:18px}.workspace-metrics strong{font-size:22px}.workspace-metrics article{padding:12px 18px}#mount-nexus-tools{flex:1;min-width:0}#mount-nexus-tools>.nexus-search{width:100%;max-width:440px}.workspace-location{display:none}.workspace-nav button[aria-current]{border-left:3px solid var(--teal)}.workspace-brand span.nexus-version{font-size:11px}.studio-window{transform:none;background:#101619;border-color:#344147;box-shadow:0 30px 75px #0004}.studio-sidebar,.studio-titlebar{background:#182024;border-color:#344147}.studio-host rect{fill:#202a2f;stroke:#344147}.studio-host.self rect{stroke:#adfa38;fill:#263322}.studio-host circle{fill:#adfa38}.studio-host.offline circle{fill:#819198}.studio-wire.active{stroke:#adfa38}.studio-sidebar button[aria-pressed=true]{background:#adfa3814;border-color:#adfa3855;color:#adfa38}.studio-floating{background:#202a2f;border-color:#344147}.studio-floating-icon{color:#adfa38;background:#adfa3815}.studio-orbit{display:none}.studio-drive{padding:12px 20px;font-size:10px;min-height:290px}.studio-drive>div{display:flex;justify-content:space-between;padding:22px 10px;border-bottom:1px solid #344147}.studio-drive b{color:#adfa38;font-size:8px}.studio-drive p{font-size:9px;color:#a5b5bd;padding:15px 8px}.nexus-release>.button{margin-top:24px}.downloads{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-studio{padding-top:65px;min-height:650px}:root{--glass:#101619f0;--field:#11191d;--tint:#adfa380a;--glow:0 6px 24px #0002}
@media(max-width:1200px){.nexus-drive{grid-template-columns:1fr}.nexus-drive>section:last-of-type{margin-top:20px}.downloads{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.downloads{grid-template-columns:1fr}.hero-studio{padding-top:35px}.nexus-connect .primary-grid{padding:0}.nexus-drive>section:last-of-type{padding:12px}.workspace-body #main{padding:18px 12px}.workspace-topbar .workspace-settings{max-width:105px}.nexus-search{font-size:11px;padding:10px 8px}.nexus-drive>.nexus-folders{grid-template-columns:1fr 1fr}.map-inspector>.quiet{min-height:44px}}
:root[data-theme="light"]{--glass:#f2f5eff0;--field:#f6f9f3;--tint:#3970000a;--gradient:linear-gradient(110deg,#397000,#588400);--button-gradient:linear-gradient(110deg,#adfa38,#bcff61)}
.workspace-body #main:has(#panel-view:not([hidden]))>.workspace-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.workspace-body #panel-view>.workspace-metrics{display:none}.workspace-body #main{padding-top:20px}.map-toolbar>.primary{margin-left:auto;font-size:11px}.map-canvas-wrap{background-image:linear-gradient(#34414744 1px,transparent 1px),linear-gradient(90deg,#34414744 1px,transparent 1px)}
@media(max-width:520px){.workspace-nav button{min-width:48px}.workspace-nav{gap:4px}.workspace-nav button>span:not(.nav-count){font-size:8px}}#drive-view .nexus-drive>h2{display:none}
