
:root {
  color-scheme: dark;
  --bg: #06080d;
  --panel: #101621;
  --panel-muted: #0b101a;
  --ink: #f5f7ff;
  --muted: #b7c3d8;
  --line: #2b3a53;
  --red: #cf2944;
  --red-light: #ff899b;
  --red-soft: #391520;
  --blue: #79b6ff;
  --blue-soft: #14243b;
  --error-soft: #321722;
  --primary: var(--red);
  --danger: var(--red-light);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);font-size:14px}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:3px}button{transition:background .15s,transform .15s}button:hover{filter:brightness(.97)}.sidebar{width:245px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:35px 22px;background:var(--panel);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:24px;font-weight:700;letter-spacing:-1px}.brand>div:last-child>span{display:block;font-size:8px;letter-spacing:1.7px;margin-top:4px;font-weight:600;color:var(--muted)}.brand-mark{width:60px;height:60px;background:var(--primary);color:var(--ink);border-radius:17px;display:flex;align-items:center;justify-content:center;font-size:50px;font-weight:650;position:relative;line-height:1}.brand-mark>span{font-size:21px;position:absolute;right:7px;top:5px;color:var(--red-light)}.brand-mark.small{width:42px;height:42px;font-size:36px;border-radius:12px}.brand-mark.small>span{font-size:15px;right:4px;top:3px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:12px 10px;margin:37px 0 31px;background:var(--panel);font-size:12px;font-weight:600}.workspace small{display:block;font-size:10px;color:var(--muted);margin-top:4px;max-width:115px;overflow:hidden;text-overflow:ellipsis}.workspace-icon{background:var(--blue-soft);border-radius:8px;font-size:20px;padding:6px 9px}.online-dot{width:7px;height:7px;display:inline-block;background:var(--blue);border-radius:50%;flex-shrink:0}.workspace>.online-dot{margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.8px;color:var(--muted);font-weight:650;padding-left:12px;margin:0 0 13px}.nav-item{width:100%;border:0;background:transparent;color:var(--muted);display:flex;gap:13px;align-items:center;padding:13px 12px;border-radius:9px;text-align:left;font-size:12px;margin:3px 0}.nav-item>span:first-child{font-size:18px;width:18px;text-align:center}.nav-item.active{background:var(--red-soft);color:var(--ink);font-weight:650}.nav-item b{font-size:10px;background:var(--blue-soft);padding:3px 7px;border-radius:5px;margin-left:auto;font-weight:500}.resources{margin-top:34px}.nav-arrow{margin-left:auto}.sidebar-bottom{margin-top:auto;padding:20px 8px 0}.system-badge{display:flex;gap:8px;align-items:center;font-size:11px}.sidebar-bottom>small{font-size:9px;color:var(--muted);display:block;margin-top:12px;line-height:1.6}.text-button{border:0;background:transparent;padding:0;margin-top:20px;font-size:11px;color:var(--muted)}.main{margin-left:245px}.topbar{height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;font-size:11px}.breadcrumb{color:var(--muted)}.crumb-slash{margin:0 13px;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:24px}.version{font-size:9px;letter-spacing:1.2px;color:var(--muted)}.avatar{width:32px;height:32px;background:var(--blue-soft);border:3px solid var(--panel);border-radius:50%;display:grid;place-items:center;font-size:11px}.content{max-width:1450px;padding:48px 44px 22px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.8px;color:var(--blue);margin:0 0 14px}h1{font-size:40px;font-weight:550;letter-spacing:-1.7px;line-height:1.15;margin:0 0 14px}h1>span{color:var(--blue)}.muted{color:var(--muted);font-size:12px;line-height:1.8;margin:0}button.primary,.primary{border:1px solid var(--primary);background:var(--primary);color:var(--ink);border-radius:8px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;gap:13px;font-size:11px;font-weight:550;white-space:nowrap}button.primary>span{font-size:18px;line-height:12px}.secondary{border:1px solid var(--line);background:var(--panel);color:var(--blue);border-radius:8px;padding:11px 15px;font-size:11px;white-space:nowrap}.secondary>span{margin-left:14px}.overview{display:flex;align-items:center;gap:25px;background:var(--blue-soft);border:1px solid var(--line);border-radius:12px;padding:24px;margin-top:30px}.overview-intro{display:flex;gap:17px;align-items:center;flex:1}.overview-symbol{border:1px solid var(--line);background:var(--blue-soft);border-radius:12px;width:45px;height:45px;display:grid;place-items:center;font-size:29px;color:var(--blue);flex-shrink:0}.overview strong{font-size:12px;font-weight:600}.overview p{font-size:10px;color:var(--muted);margin:8px 0 0;line-height:1.5}.metric{min-width:92px;padding-left:27px;border-left:1px solid var(--line)}.metric strong{display:block;font-size:27px;font-weight:500;line-height:1}.metric span{display:block;font-size:9px;color:var(--muted);margin-top:10px;white-space:nowrap}.metric .online-dot{width:5px;height:5px;margin-right:4px}.section-toolbar{display:flex;justify-content:space-between;align-items:center;margin:34px 0 22px;gap:15px}.tabs{display:flex;align-items:center;gap:6px}.tab{background:none;border:0;padding:9px 13px;font-size:11px;color:var(--muted);border-radius:7px;white-space:nowrap}.tab.active{background:var(--red-soft);color:var(--blue);font-weight:600}.tab span{font-size:9px;margin-left:7px;background:var(--blue-soft);padding:2px 6px;border-radius:4px}.tools{display:flex;gap:10px}.search{display:flex;align-items:center;gap:8px;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:8px 12px}.search>span{font-size:20px;line-height:14px;color:var(--muted)}.search input{border:0;background:none;width:140px;outline:none;font-size:10px;color:var(--ink)}.search input::placeholder{color:var(--muted)}.icon-button{border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;width:34px;height:34px;background:var(--panel);font-size:20px;color:var(--blue);flex-shrink:0}.app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.app-card{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:21px;display:flex;flex-direction:column;min-height:246px;transition:box-shadow .2s,transform .2s}.app-card:hover{box-shadow:0 7px 24px rgba(0,0,0,.35);transform:translateY(-2px)}.card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.app-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:var(--blue-soft);color:var(--blue);font-size:23px}.app-icon.process{background:var(--error-soft);color:var(--red-light)}.status{font-size:9px;display:flex;align-items:center;gap:5px;background:var(--blue-soft);color:var(--blue);padding:5px 8px;border-radius:5px;white-space:nowrap}.status i{width:4px;height:4px;border-radius:50%;background:currentColor}.status.stopped{background:var(--panel-muted);color:var(--muted)}.status.crashed,.status.invalid{background:var(--error-soft);color:var(--red-light)}.status.starting,.status.installing,.status.stopping{background:var(--error-soft);color:var(--red-light)}.app-card h2{font-size:16px;letter-spacing:-.3px;font-weight:600;margin:19px 0 8px;overflow-wrap:anywhere}.app-description{font-size:11px;color:var(--muted);line-height:1.8;margin:0 0 16px;min-height:39px;overflow-wrap:anywhere}.card-error{font-size:10px;color:var(--danger);line-height:1.6;margin:0 0 12px;overflow-wrap:anywhere}.card-meta{display:flex;gap:7px;font-size:8px;color:var(--muted);margin-top:auto;margin-bottom:16px;align-items:center;flex-wrap:wrap}.tag{background:var(--blue-soft);border:1px solid var(--line);padding:3px 6px;border-radius:4px}.card-actions{border-top:1px solid var(--line);padding-top:14px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.open-app{border:1px solid var(--line);background:var(--blue-soft);color:var(--blue);text-decoration:none;padding:7px 11px;border-radius:6px;font-size:9px;display:inline-flex;gap:18px}.card-action{font-size:9px;color:var(--muted);border:0;background:transparent;padding:7px 5px}.card-action.logs{margin-left:auto}.folder-callout{margin-top:29px;border:1px dashed var(--line);border-radius:12px;background:var(--blue-soft);padding:25px 24px;display:flex;gap:21px;align-items:center}.folder-illustration{font-size:67px;line-height:1;color:var(--blue);position:relative;flex-shrink:0;width:72px;transform:rotate(-7deg)}.folder-illustration>span{font-size:19px;position:absolute;left:23px;top:29px;color:var(--blue)}.folder-callout .eyebrow{font-size:8px;margin-bottom:10px}.folder-callout h2{font-size:15px;letter-spacing:-.3px;font-weight:550;margin:0 0 9px}.folder-callout p:not(.eyebrow){font-size:10px;color:var(--muted);line-height:1.8;margin:0}.folder-callout>.secondary{margin-left:auto}code{font-family:ui-monospace,monospace;font-size:.93em;color:var(--blue)}footer{display:flex;justify-content:space-between;margin-top:25px;color:var(--muted);font-size:9px;gap:20px}footer .online-dot{width:5px;height:5px;margin-right:5px}footer>span:last-child{font-size:8px;letter-spacing:1.3px}.footer-star{font-size:18px;color:var(--blue);vertical-align:middle;margin-left:9px}.empty{text-align:center;padding:55px 20px;color:var(--muted)}.empty>span{font-size:42px}.empty h2{font-size:20px;font-weight:500}.empty p{font-size:12px;line-height:1.7}
dialog{border:1px solid var(--line);border-radius:18px;padding:30px;background:var(--bg);color:var(--ink);width:min(500px,calc(100% - 32px));max-height:90vh;box-shadow:0 25px 100px rgba(0,0,0,.35)}dialog::backdrop{background:rgba(0,0,0,.7);backdrop-filter:blur(4px)}.wide-dialog{width:min(760px,calc(100% - 32px))}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px}.dialog-heading h2{font-size:28px;font-weight:500;letter-spacing:-1px;margin:0}.dialog-heading .eyebrow{font-size:8px;margin-bottom:10px}dialog label,#login label{display:block;font-size:11px;color:var(--muted);margin:20px 0 8px}dialog input,dialog select,#login input{border:1px solid var(--line);border-radius:9px;padding:13px;background:var(--panel);width:100%;color:var(--ink);font-size:13px}.field-help{display:block;font-size:10px;color:var(--muted);margin-top:8px;line-height:1.6}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.error{color:var(--danger);font-size:12px;line-height:1.6}.error:empty{display:none}.guide-steps{padding-left:24px;margin:25px 0}.guide-steps li{padding:10px 0 10px 9px}.guide-steps strong{font-size:15px;font-weight:600}.guide-steps p{font-size:12px;line-height:1.9;color:var(--muted)}.guide-note{background:var(--blue-soft);border-radius:10px;padding:18px;font-size:12px;line-height:1.9;margin-bottom:20px}pre{background:var(--panel-muted);color:var(--blue);min-height:200px;max-height:50vh;overflow:auto;font:11px/1.8 ui-monospace,monospace;padding:20px;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--panel-muted);color:var(--ink);padding:13px 23px;border-radius:10px;box-shadow:0 6px 35px rgba(0,0,0,.35);z-index:20;font-size:12px;max-width:90vw}
#login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-card{width:360px;max-width:calc(100% - 48px);margin:auto;padding:60px 0}.login-card>.brand-mark{margin-bottom:55px}.login-card h1{font-size:45px;line-height:1.18;margin-bottom:20px}.login-card>small{display:block;margin-top:40px;color:var(--muted);font-size:10px}.login-card form{margin-top:30px}.login-card .primary{width:100%;justify-content:space-between;margin-top:15px}.login-art{background:var(--blue-soft);position:relative;overflow:hidden;display:grid;place-items:center}.orbit{position:absolute;border:1px solid var(--line);border-radius:50%;width:440px;height:440px;transform:rotate(-30deg) scaleY(.7)}.orbit-two{transform:rotate(55deg) scaleY(.85);width:350px;height:350px}.art-tile{position:absolute;width:105px;height:105px;border-radius:25px;display:grid;place-items:center;font-size:55px;box-shadow:0 12px 35px rgba(0,0,0,.35)}.tile-one{background:var(--red);color:var(--ink);transform:translate(-80px,-60px) rotate(-12deg)}.tile-two{background:var(--panel-muted);color:var(--blue);transform:translate(75px,25px) rotate(14deg)}.tile-three{background:var(--blue-soft);color:var(--blue);transform:translate(-60px,105px) rotate(-5deg);width:85px;height:85px}.login-art>p{position:absolute;bottom:70px;font-size:12px;letter-spacing:2px;color:var(--muted)}
@media(min-width:1600px){.content{padding-top:60px}.app-card{min-height:270px}.app-grid{gap:22px}}@media(max-width:1150px){.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:215px;padding-inline:17px}.main{margin-left:215px}.content{padding:35px 28px 20px}.topbar{padding:0 28px}.overview{gap:15px;padding:20px}.metric{min-width:62px;padding-left:16px}.overview-intro{gap:12px}.folder-callout{flex-wrap:wrap}.folder-callout>.secondary{margin-left:92px}}@media(max-width:760px){.sidebar{position:static;width:auto;padding:16px 22px;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;justify-content:space-between;align-items:center}.brand{font-size:21px}.brand>div:last-child>span{font-size:7px}.sidebar .workspace,.sidebar .nav-label,.sidebar nav,.sidebar-bottom{display:none}.main{margin-left:0}.topbar{height:55px;padding:0 22px}.content{padding:30px 22px 20px}.page-heading{align-items:flex-start}h1{font-size:30px}.page-heading .eyebrow{font-size:7px;letter-spacing:1px}.page-heading .muted{font-size:10px}.primary{padding:10px 12px!important;font-size:10px!important}.overview{flex-wrap:wrap;gap:20px}.overview-intro{flex-basis:100%}.metric{border-left:0;padding:0;margin-left:62px;min-width:40px}.metric+.metric{margin-left:16px;border-left:1px solid var(--line);padding-left:22px}.section-toolbar{flex-wrap:wrap;margin-top:25px}.tools{margin-left:auto}.search input{width:110px}.tabs{gap:0}.tab{padding:9px;font-size:10px}.app-grid{gap:13px}.app-card{padding:16px;min-height:240px}.app-card h2{font-size:15px}.app-description{font-size:10px}.folder-callout{padding:20px;gap:15px}.folder-illustration{display:none}.folder-callout>.secondary{margin-left:0}.folder-callout h2{font-size:14px}footer{font-size:8px}footer>span:last-child{font-size:6px;letter-spacing:.5px}#login{grid-template-columns:1fr}.login-art{display:none}.login-card h1{font-size:40px}}@media(max-width:440px){.app-grid{grid-template-columns:1fr}.tools{margin-left:0;width:100%}.search{flex:1}.search input{width:100%}.app-card{min-height:230px}.page-heading{flex-wrap:wrap}.page-heading>.primary{margin-top:5px}.overview-intro strong{font-size:11px}}

.mobile-logout{display:none}@media(max-width:760px){.mobile-logout{display:block;margin:0}.topbar-right{gap:14px}}

/* The original JPEG is embedded in index.html so the existing running server
   serves the new background immediately, without a backend restart or route. */
body { min-height: 100vh; isolation: isolate; }
.hub-background {
  position: fixed; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: -2; pointer-events: none;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, rgba(0,0,0,.55), rgba(0,0,0,.2) 55%, rgba(0,0,0,.35));
}
.sidebar { background: rgba(5,8,14,.93); backdrop-filter: blur(16px); }
.topbar { background: rgba(5,8,14,.76); backdrop-filter: blur(12px); }
.workspace, .app-card { background: rgba(10,15,25,.91); backdrop-filter: blur(14px); }
.overview { background: rgba(14,27,48,.9); backdrop-filter: blur(14px); border-color: #344b70; }
.section-toolbar { padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5,8,14,.86); }
.folder-callout { background: rgba(10,15,25,.91); backdrop-filter: blur(14px); }
.page-heading h1 { text-shadow: 0 2px 18px #000; }
.page-heading .eyebrow, .folder-callout .eyebrow { color: var(--blue); }
.page-heading .muted { color: #d3dcef; text-shadow: 0 1px 8px #000; }
.brand-mark { background: var(--red); color: #fff; box-shadow: 0 4px 20px rgba(207,41,68,.2); }
.brand-mark>span { color: #fff; }
.nav-item.active { box-shadow: inset 3px 0 0 var(--red); }
.nav-item:hover, .tab:hover { background: var(--blue-soft); color: #fff; }
.nav-item.active:hover, .tab.active:hover { background: var(--red-soft); }
button.primary:hover { background: #e33350; border-color: #e33350; filter: none; }
.secondary, .icon-button, .search { background: var(--panel-muted); }
.secondary:hover, .icon-button:hover, .open-app:hover { border-color: var(--blue); }
.app-card:hover { border-color: #5276a5; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.open-app { border-color: #375a88; color: #b6d7ff; }
.card-action:hover, .text-button:hover { color: #fff; }
.status { background: #152b47; color: #9bcaff; }
.status.stopped { background: #202632; color: #c6cfdf; }
.status.crashed, .status.invalid { color: #ff9aaa; }
.status.starting, .status.installing, .status.stopping { background: #231c32; color: #c4cfff; }
.metric+.metric { border-color: var(--line); }
dialog { background: #0d131e; box-shadow: 0 25px 100px rgba(0,0,0,.75); }
dialog input, dialog select, #login input { background: #080d16; color: var(--ink); }
input::placeholder { color: #9daac0; opacity: 1; }
.error, .card-error { color: #ff9aaa; }
#toast { background: #14243b; color: #fff; border: 1px solid #5276a5; }
footer { padding: 12px; background: rgba(5,8,14,.8); border-radius: 8px; }
.login-card {
  width: 440px; padding: 38px; border: 1px solid var(--line); border-radius: 22px;
  background: rgba(5,8,14,.88); backdrop-filter: blur(16px);
  box-shadow: 0 20px 70px rgba(0,0,0,.4);
}
.login-card>.brand-mark { margin-bottom: 38px; }
.login-art { background: transparent; }
.orbit { border-color: rgba(121,182,255,.48); }
.orbit-two { border-color: rgba(255,137,155,.5); }
.tile-one { background: var(--red); color: #fff; }
.tile-two { background: #fff; color: #2363be; }
.tile-three { background: #2363be; color: #fff; }
.login-art>p { color: #fff; text-shadow: 0 1px 8px #000; }
@media(max-width:760px) {
  .hub-background { object-position: 68% center; }
  .section-toolbar { padding: 10px; }
  .login-card { padding: 28px; margin: 40px auto; }
  .login-card h1 { font-size: 34px; }
}

/* The on-page brand uses the same four-bay NAS artwork as the favicon. */
.brand-mark { background: transparent; box-shadow: none; border-radius: 0; }
.brand-mark svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* App-owned icons retain their own palette. */
.app-icon,.app-icon.process{background:transparent;flex-shrink:0}.app-icon img{width:46px;height:46px;object-fit:contain;display:block}
