:root{color-scheme:dark;--bg:#0d120f;--surface:#191f1b;--glass:rgba(25,32,27,.84);--line:rgba(222,255,232,.11);--text:#eef8f0;--muted:#93a399;--mint:#6eee9a;--blue:#68a8ff;--warn:#ffd166;--danger:#ff7474;--radius:26px;font-family:Inter,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-height:100vh;background:radial-gradient(circle at 8% 8%,rgba(69,139,88,.12),transparent 35%),var(--bg);color:var(--text);overflow-x:hidden}.hidden{display:none!important}.glow{position:fixed;width:520px;height:520px;border-radius:50%;filter:blur(100px);opacity:.11;pointer-events:none}.glow-a{background:var(--mint);top:-260px;right:-160px}.glow-b{background:var(--blue);bottom:-320px;left:-230px}main{width:min(1220px,calc(100% - 40px));margin:auto;position:relative;z-index:1}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:9vw;padding:70px 0}.eyebrow,.kicker{font-size:11px;letter-spacing:.19em;font-weight:750;color:#a9b9ae}.eyebrow{display:flex;align-items:center;gap:10px}.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--mint);box-shadow:0 0 16px var(--mint)}h1{font-size:clamp(52px,7vw,92px);line-height:.94;letter-spacing:-.065em;margin:24px 0 30px;font-weight:720}h1 span{color:var(--mint)}.auth-copy>p{max-width:570px;font-size:18px;line-height:1.8;color:var(--muted)}.orbit-mark{width:120px;height:46px;position:relative;margin-top:52px}.orbit-mark:before{content:"";position:absolute;inset:2px 0;border:1px solid rgba(110,238,154,.3);border-radius:50%;transform:rotate(-10deg)}.orbit-mark b,.orbit-mark em{position:absolute;border-radius:50%;background:var(--mint);width:7px;height:7px;top:7px;left:77px;box-shadow:0 0 12px var(--mint)}.orbit-mark em{background:var(--blue);top:33px;left:24px}.panel{background:var(--glass);border:1px solid var(--line);box-shadow:0 28px 90px rgba(0,0,0,.32);backdrop-filter:blur(20px)}.auth-card{border-radius:30px;padding:42px;display:flex;flex-direction:column;gap:22px}.auth-card h2,.settings-card h2{font-size:30px;margin:9px 0 8px}.auth-card p{color:var(--muted);margin:0;line-height:1.5}.auth-card small{color:#6f7e74;text-align:center}label{display:flex;flex-direction:column;gap:9px;color:#bec9c1;font-size:13px;font-weight:650}input{width:100%;border-radius:14px;border:1px solid var(--line);background:#101512;color:var(--text);padding:15px 16px;font:inherit;outline:none;transition:.2s}input:focus{border-color:rgba(110,238,154,.65);box-shadow:0 0 0 4px rgba(110,238,154,.08)}button{border:0;border-radius:15px;padding:15px 18px;background:var(--mint);color:#092112;font:inherit;font-weight:780;cursor:pointer;transition:transform .18s,filter .18s}button:hover{transform:translateY(-1px);filter:brightness(1.04)}button:disabled{opacity:.55;cursor:wait}.auth-card button{display:flex;justify-content:space-between}.form-error{min-height:20px;color:#ff9393!important;font-size:13px}.dashboard{padding:25px 0 45px}header{display:flex;align-items:center;justify-content:space-between;padding:12px 0 44px}.brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none;font-weight:760}.brand-star{display:grid;place-items:center;width:39px;height:39px;border:1px solid rgba(110,238,154,.35);border-radius:12px;color:var(--mint);background:rgba(110,238,154,.07)}.brand small{display:block;font-size:8px;letter-spacing:.16em;color:var(--muted);margin-top:3px}.header-actions{display:flex;align-items:center;gap:16px}.updated{font-size:12px;color:var(--muted)}.icon-button{width:42px;height:42px;padding:0;border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:18px}.hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:44px}.hero-row h1{font-size:clamp(46px,6vw,76px);margin-bottom:0}.summary-pill{min-width:315px;display:flex;align-items:center;gap:13px;padding:12px 12px 12px 20px;border:1px solid var(--line);border-radius:18px;background:rgba(25,32,27,.66)}.summary-pill>span{flex:0 0 auto;width:11px;height:11px;border-radius:50%;background:var(--muted)}.summary-pill.ok>span{background:var(--mint);box-shadow:0 0 15px var(--mint)}.summary-pill.warn>span{background:var(--warn);box-shadow:0 0 15px var(--warn)}.summary-copy{min-width:0;flex:1}.summary-copy b,.summary-copy small{display:block}.summary-copy b{font-size:13px}.summary-copy small{font-size:11px;color:var(--muted);margin-top:3px;white-space:nowrap}.refresh-now{flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:10px 12px;border:1px solid rgba(110,238,154,.2);border-radius:12px;background:rgba(110,238,154,.08);color:var(--mint);font-size:11px}.refresh-now b{font-size:11px}.refresh-now:hover{background:rgba(110,238,154,.14)}.refresh-now span{font-size:16px;line-height:1}.refresh-now.loading span{animation:refresh-spin .8s linear infinite}@keyframes refresh-spin{to{transform:rotate(360deg)}}.node-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:22px}.node-card{border-radius:var(--radius);padding:27px;min-width:0}.node-head{display:flex;justify-content:space-between;align-items:flex-start}.node-name{display:flex;align-items:center;gap:13px}.node-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:rgba(110,238,154,.08);color:var(--mint);font-size:21px}.node-name h2{margin:0;font-size:24px}.node-name small{color:var(--muted)}.status-tag{padding:7px 10px;border-radius:99px;background:rgba(110,238,154,.1);color:var(--mint);font-size:10px;font-weight:800;letter-spacing:.1em}.status-tag.bad{background:rgba(255,116,116,.1);color:var(--danger)}.primary-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:27px 0 18px}.metric{padding:16px;background:rgba(6,10,8,.35);border:1px solid rgba(255,255,255,.055);border-radius:17px}.metric small{display:block;color:var(--muted);font-size:11px;margin-bottom:8px}.metric b{font-size:23px;letter-spacing:-.04em}.metric b em{font-size:12px;font-style:normal;color:var(--muted);margin-left:3px}.bar{height:4px;background:#28312b;border-radius:99px;margin-top:13px;overflow:hidden}.bar i{display:block;height:100%;background:var(--mint);border-radius:inherit}.detail-list{border-top:1px solid var(--line);padding-top:14px}.detail{display:flex;justify-content:space-between;gap:12px;padding:9px 2px;color:var(--muted);font-size:12px}.detail b{color:#cdd8d0;text-align:right;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-panel{border-radius:var(--radius);padding:27px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end}.section-heading h2{margin:7px 0 0;font-size:25px}.legend{display:flex;gap:17px;color:var(--muted);font-size:11px}.legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.legend .lucky{background:var(--mint)}.legend .pole{background:var(--blue)}.chart-wrap{height:220px;margin-top:24px;position:relative}.chart-wrap canvas{width:100%;height:100%}.chart-empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:13px}footer{display:flex;justify-content:space-between;color:#5d6961;font-size:9px;letter-spacing:.13em;padding-top:25px}dialog{border:0;padding:0;background:transparent;color:var(--text);width:min(510px,calc(100% - 30px))}dialog::backdrop{background:rgba(2,6,4,.73);backdrop-filter:blur(8px)}.settings-card{border-radius:27px;padding:30px;display:flex;flex-direction:column;gap:19px}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start}.dialog-heading h2{margin-bottom:0}.settings-card label small{font-weight:400;color:var(--muted)}.text-button{background:transparent;border:1px solid var(--line);color:var(--muted)}
@media(max-width:820px){main{width:min(100% - 26px,650px)}.auth-shell{grid-template-columns:1fr;gap:34px;padding:55px 0}.auth-copy h1{font-size:56px}.auth-copy>p,.orbit-mark{display:none}.auth-card{padding:28px}.hero-row{align-items:flex-start;flex-direction:column}.hero-row h1{font-size:52px}.summary-pill{width:100%}.node-grid{grid-template-columns:1fr}.updated{display:none}}
@media(max-width:470px){.primary-metrics{grid-template-columns:repeat(2,1fr)}.primary-metrics .metric:last-child{grid-column:1/-1}.node-card,.chart-panel{padding:21px}.legend{display:none}header{padding-bottom:30px}.hero-row{margin-bottom:30px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.hero-row h1 b{font:inherit}.node-summary{display:flex;justify-content:space-between;gap:16px;margin:24px 2px 17px;color:var(--muted);font-size:12px}.device-details{border-top:1px solid var(--line)}.device-details summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 2px 13px;cursor:pointer;list-style:none;color:#dce8df;font-size:14px;font-weight:720}.device-details summary::-webkit-details-marker{display:none}.device-details summary:after{content:'＋';color:var(--mint);font-size:18px}.device-details[open] summary:after{content:'−'}.device-details summary small{margin-left:auto;color:var(--muted);font-size:10px;font-weight:500}.config-sections{display:grid;gap:14px;padding:4px 0 2px}.config-section{padding:16px;border:1px solid rgba(255,255,255,.055);border-radius:17px;background:rgba(6,10,8,.3);min-width:0}.config-section h3{margin:0 0 8px;color:#87978c;font-size:10px;letter-spacing:.13em;text-transform:uppercase}.config-section .detail{border-top:1px solid rgba(255,255,255,.04)}.config-section .detail:first-of-type{border-top:0}.config-section .detail b{max-width:68%;white-space:normal;overflow-wrap:anywhere}.node-grid{align-items:start}
@media(max-width:470px){.node-summary{flex-direction:column;gap:5px}.device-details summary small{display:none}.config-section .detail{align-items:flex-start;flex-direction:column;gap:5px}.config-section .detail b{max-width:100%;text-align:left}}
.live-status{margin:0 0 18px;padding:16px;border:1px solid rgba(255,255,255,.055);border-radius:18px;background:rgba(6,10,8,.26)}.live-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.live-heading h3{margin:0;font-size:12px;letter-spacing:.1em;color:#a9b9ae}.live-heading span{font-size:10px;color:var(--muted)}.live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.live-item{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid rgba(255,255,255,.04);font-size:11px;color:var(--muted)}.live-item:nth-child(-n+2){border-top:0}.live-item b{color:#d4dfd7;text-align:right;font-weight:620;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-details{margin-top:0}.primary-metrics{margin-bottom:14px}
@media(max-width:470px){.live-heading{align-items:flex-start;flex-direction:column}.live-grid{grid-template-columns:1fr}.live-item:nth-child(2){border-top:1px solid rgba(255,255,255,.04)}}
.live-item.disk-usage{display:block;grid-column:1/-1}.disk-usage>div:first-child{display:flex;justify-content:space-between;gap:12px}.disk-usage .bar{margin-top:9px}.disk-usage .bar i{background:linear-gradient(90deg,var(--mint),#9af0b7)}
.storage-device+.storage-device{margin-top:13px;padding-top:13px;border-top:1px solid rgba(255,255,255,.065)}.storage-device-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:2px}.storage-device-head span{color:#e2eee6;font-size:12px;font-weight:720}.storage-device-head b{max-width:72%;color:#aabbb0;font-size:11px;font-weight:600;text-align:right;overflow-wrap:anywhere}.storage-partitions{margin:9px 0 0 8px;padding-left:13px;border-left:2px solid rgba(110,238,154,.18)}.storage-partitions .detail{padding:7px 2px}.storage-partitions .detail:first-child{border-top:0}
@media(max-width:470px){.storage-device-head{flex-direction:column;gap:5px}.storage-device-head b{max-width:100%;text-align:left}.storage-partitions{margin-left:3px}}
.legend .tiny{background:var(--warn)}

/* The device rail always stays on one row. It is centered when space permits and
   becomes its own horizontal scroller without widening the rest of the page. */
.node-scroll{
  width:100vw;
  margin:-8px 0 4px calc(50% - 50vw);
  padding:8px max(13px,calc((100vw - 1841px)/2)) 18px;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  scrollbar-color:rgba(110,238,154,.28) transparent;
  cursor:grab;
}
.node-scroll.dragging{cursor:grabbing;user-select:none}
.node-scroll button,.node-scroll a,.node-scroll summary{cursor:pointer}
.node-scroll::-webkit-scrollbar{height:7px}
.node-scroll::-webkit-scrollbar-track{background:transparent}
.node-scroll::-webkit-scrollbar-thumb{background:rgba(110,238,154,.28);border-radius:99px}
.node-grid{
  grid-template-columns:none;
  grid-template-rows:auto;
  grid-auto-flow:column;
  grid-auto-columns:599px;
  width:max-content;
  margin:0;
  align-items:stretch;
}
.node-card{height:100%;scroll-snap-align:start}
@media(max-width:820px){.node-grid{grid-template-columns:none;grid-auto-columns:599px}}

.compute-group{display:grid;gap:14px}
.compute-layout{display:grid;grid-template-columns:minmax(0,1fr) 126px;gap:18px;align-items:stretch}
.compute-specs{min-width:0}
.compute-specs .detail{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:14px;padding:7px 0}
.compute-specs .detail span{white-space:nowrap}
.compute-specs .detail b{max-width:100%;text-align:left;white-space:nowrap;overflow:visible;text-overflow:clip;font-size:11px}
.processor-badges{display:grid;align-content:center;justify-items:center;gap:11px;min-width:0}
.processor-badge{width:112px;margin:0;padding:6px;border:1px solid rgba(104,168,255,.15);border-radius:18px;background:rgba(8,13,18,.42);box-shadow:0 12px 28px rgba(0,0,0,.18)}
.processor-badge img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.processor-badge:nth-child(2) img{aspect-ratio:1.28}
.processor-badge figcaption{margin-top:6px;color:#7890a0;font-size:7px;font-weight:750;letter-spacing:.1em;text-align:center;white-space:nowrap}
