:root{color-scheme:dark;--bg:#121a28;--surface:#192437;--surface2:#202e43;--text:#edf2fc;--muted:#a7b5cb;--line:#304059;--blue:#79a9ff;--amber:#e7bd70;--teal:#6bd0bf;--red:#f29a9b;font-family:"Segoe UI",system-ui,sans-serif;font-size:15px;line-height:1.5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}[hidden]{display:none!important}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:8px 16px;background:var(--surface);color:var(--text);font-weight:600}button:hover{background:var(--surface2)}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:3px}input,select{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:8px;min-height:44px;padding:10px 12px;max-width:100%}input::placeholder{color:#93a2b9}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.18;letter-spacing:-.7px;font-weight:650}h2{font-size:20px;font-weight:650;line-height:1.35}h3{font-size:15px;font-weight:600}.muted{color:var(--muted);font-size:13px}.brand{font-size:25px;font-weight:750;letter-spacing:-1px;color:var(--text);text-decoration:none;display:flex;gap:10px;align-items:center}.brand span{font-size:11px;font-weight:600;letter-spacing:.4px;color:var(--blue);border:1px solid #47638b;padding:2px 6px;border-radius:5px}.topbar{display:flex;align-items:center;gap:24px;min-height:78px;border-bottom:1px solid var(--line);padding:0 max(24px,calc((100vw - 1264px)/2))}.connection{display:flex;align-items:center;gap:8px;margin-left:auto;color:var(--muted);font-size:13px}.dot{width:7px;height:7px;border-radius:50%;background:var(--teal);flex:none}.dot.stale{background:var(--amber)}.quiet{background:transparent;border-color:transparent;color:var(--muted)}main{max-width:1264px;margin:auto;padding:32px 24px 18px}.host-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}.host-header h1{margin:5px 0 10px;overflow-wrap:anywhere}.uptime{text-align:right;min-width:160px;display:grid;gap:6px}.uptime strong{font-size:20px;font-weight:500}.overview{display:grid;grid-template-columns:repeat(3,1fr) 1.15fr;border:1px solid var(--line);background:var(--surface);border-radius:14px;overflow:hidden}.stat{padding:22px 24px;border-right:1px solid var(--line);min-width:0}.stat:last-child{border:0}.stat h2{font-size:14px;color:var(--muted);font-weight:500}.value{font-size:34px;font-weight:600;line-height:1.3;margin:12px 0 13px;font-variant-numeric:tabular-nums;letter-spacing:-.8px}.value small{font-size:15px;font-weight:400;color:var(--muted);letter-spacing:0}.meter{height:4px;background:#354258;border-radius:2px;margin-bottom:12px;overflow:hidden}.meter span{display:block;width:0;height:100%;background:var(--blue)}.meter.amber span{background:var(--amber)}.meter.violet span{background:#b8a4e8}.network-values{display:grid;gap:10px;margin:15px 0 16px}.network-values>span{display:flex;justify-content:space-between;gap:8px;align-items:center}.network-values small{font-size:12px;color:var(--muted)}.network-values strong{font-size:17px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:30px 0 17px}.section-heading .muted{margin-top:4px}.segments{display:flex;gap:3px;padding:3px;background:#101725;border:1px solid var(--line);border-radius:10px;flex-shrink:0}.segments button{border:0;background:transparent;color:var(--muted);font-size:13px;padding:6px 13px;min-height:36px}.segments button[aria-pressed=true]{background:#30435e;color:var(--text)}.charts{display:grid;grid-template-columns:1fr 1fr;gap:18px}.chart-panel{padding:19px 22px 13px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.chart-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.chart-heading span{font-size:11px;color:var(--muted);white-space:nowrap}.legend{display:inline-block;width:7px;height:7px;border-radius:50%;margin:0 4px 0 10px}.blue{background:var(--blue)}.amber-bg{background:var(--amber)}.teal{background:var(--teal)}svg{display:block;width:100%}.chart-panel svg{height:150px;overflow:visible}.chart-grid{stroke:var(--line);stroke-width:1}.chart-line{fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.chart-cpu{stroke:var(--blue)}.chart-memory{stroke:var(--amber)}.chart-in{stroke:var(--blue)}.chart-out{stroke:var(--teal)}.chart-empty{fill:var(--muted);font-size:13px;text-anchor:middle}.axis{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px;margin-top:8px;font-variant-numeric:tabular-nums}.search-label input{width:235px;font-size:13px}.table-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.sort-label{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.sort-label select{padding:8px 10px;font-size:13px}.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface)}table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}th,td{padding:14px 20px;border-bottom:1px solid #2b3a50}th{color:var(--muted);font-size:12px;font-weight:500;background:#1d2a3e}th:first-child{width:47%}th:nth-child(2){width:21%}th:nth-child(3){width:14%}th:last-child{width:18%}td{font-size:13px;vertical-align:middle}tbody tr:last-child td{border-bottom:0}td:nth-child(n+3){font-variant-numeric:tabular-nums;white-space:nowrap}td .name{font-weight:600;font-size:14px;overflow-wrap:anywhere}td .sub{color:var(--muted);font-size:11px;margin-top:3px;overflow-wrap:anywhere}td .badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;border-radius:5px;background:#203b3d;color:#a2decf;padding:3px 7px;white-space:nowrap}.badge.bad{background:#4a2e39;color:#f0b4bc}.badge.idle{background:#3c3845;color:#cec1dc}.table-note{font-size:11px;line-height:1.7;color:var(--muted);max-width:900px;margin-top:12px}.empty{padding:28px;color:var(--muted);font-size:14px;text-align:center}.details-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:28px;padding:20px 0;border-top:1px solid var(--line)}.details-strip div{display:grid;gap:6px}.details-strip span{font-size:12px;color:var(--muted)}.details-strip strong{font-size:15px;font-weight:500;font-variant-numeric:tabular-nums}footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:18px 0 0;color:var(--muted);font-size:11px}.notice{background:#3b3440;border:1px solid #786049;color:#e8cfab;border-radius:9px;padding:12px 16px;margin-bottom:20px;font-size:13px}.login-shell{min-height:100dvh;display:grid;place-items:center;padding:32px 20px;position:relative;overflow:hidden}.login-box{width:100%;max-width:360px;position:relative}.login-box h1{font-size:40px;margin:42px 0 16px}.login-box form{margin-top:32px}.login-box label{display:block;font-size:13px;margin-bottom:8px}.login-box input{width:100%;height:48px}.login-box .primary{width:100%;margin-top:6px;background:#84b1ff;color:#101d33;border-color:#84b1ff;height:48px}.login-box .primary:hover{background:#a2c4ff}.login-note{font-size:11px;color:var(--muted);margin-top:22px}.error{color:var(--red);font-size:13px;min-height:26px;padding-top:6px}.login-art{position:absolute;width:min(950px,95vw);right:-240px;top:10%;opacity:.045;pointer-events:none}.login-art path{fill:none;stroke:var(--blue);stroke-width:6}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1000px){.overview{grid-template-columns:1fr 1fr}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.charts{gap:12px}.chart-panel{padding:16px}.chart-heading{flex-wrap:wrap;gap:7px}th,td{padding:13px 14px}}
@media(max-width:640px){.topbar{padding:0 16px;gap:10px;min-height:67px}.brand{font-size:22px}.connection{font-size:11px}.connection #statusText{max-width:120px}.quiet{padding:8px}.host-header{align-items:flex-start;gap:12px}.host-header h1{font-size:25px}.host-header .muted{font-size:12px}.uptime{min-width:auto}.uptime strong{font-size:15px;white-space:nowrap}.uptime .muted{font-size:10px}main{padding:23px 14px 15px}.stat{padding:17px 15px}.value{font-size:29px}.value small{font-size:12px}.network-values>span{align-items:flex-start;flex-direction:column;gap:0}.network-values{gap:6px;margin:10px 0}.network-values strong{font-size:14px}.stat .muted{font-size:11px}.section-heading{align-items:flex-start;flex-wrap:wrap;margin-top:26px}.section-heading h2{font-size:19px}.segments button{min-height:40px;padding:6px 10px}.charts{grid-template-columns:1fr}.chart-panel svg{height:140px}.chart-heading{flex-wrap:nowrap}.search-label,.search-label input{width:100%}.table-tools{flex-wrap:wrap;align-items:center}.sort-label{margin-left:auto}.table-scroll{border-radius:9px}table{min-width:490px}th:first-child{width:40%}th:nth-child(2){width:22%}th:nth-child(3){width:16%}th:last-child{width:22%}.details-strip{grid-template-columns:1fr 1fr;gap:18px}.table-note{font-size:10px}footer{flex-direction:column;gap:6px}.login-box h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.segments button{min-height:44px}
@media(max-width:640px){table{min-width:0}th,td{padding:11px 6px}th:first-child{width:39%}th:nth-child(2){width:23%}th:nth-child(3){width:16%}th:last-child{width:22%}td .name{font-size:12px}td .sub{font-size:10px}td .badge{font-size:10px;padding:3px 4px}td:nth-child(n+3){font-size:11px}th{font-size:10px}}
