html,body,#root{min-height:100%;margin:0}*{box-sizing:border-box}:root{color:#e9eef5;background:#0b0f14;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0}button{font:inherit}.app{min-height:100vh}.topbar{background:#10161d;border-bottom:1px solid #1f2a35;justify-content:space-between;align-items:center;height:64px;padding:0 28px;display:flex}.brand{letter-spacing:2px;font-size:22px;font-weight:800}.topbar-right{color:#7f8d9d;font-size:14px}.container{max-width:1500px;margin:auto;padding:28px}.page-header{justify-content:space-between;align-items:flex-end;margin-bottom:28px;display:flex}.page-header h1,.detail-title h1{margin:0 0 5px;font-size:32px}.page-header p,.detail-title p{color:#7f8d9d;margin:0}.summary{gap:10px;display:flex}.summary-card{background:#151c24;border:1px solid #202c38;border-radius:10px;flex-direction:column;min-width:90px;padding:10px 14px;display:flex}.summary-card span{color:#7f8d9d;font-size:12px}.summary-card strong{font-size:22px}.machine-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;display:grid}.machine-card{text-align:left;width:100%;color:inherit;cursor:pointer;background:#121820;border:1px solid #202a35;border-radius:12px;padding:18px;transition:transform .12s,border-color .12s}.machine-card:hover{border-color:#3a4d60;transform:translateY(-2px)}.machine-card-header{justify-content:space-between;align-items:flex-start;display:flex}.machine-card h2{margin:0;font-size:21px}.machine-ip{color:#8090a0;margin-top:3px;font-size:13px}.badge{border-radius:20px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.badge.online{color:#66e59a;background:#123b27}.badge.offline{color:#ff8088;background:#491d22}.status-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.machine-stats{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px;display:grid}.machine-stat{background:#0d1319;border-radius:8px;flex-direction:column;gap:2px;padding:10px;display:flex}.machine-stat span{color:#748291;font-size:11px}.machine-stat strong{font-size:15px}.warning{color:#ff756d}.cpu{color:#8997a6;white-space:nowrap;text-overflow:ellipsis;margin-top:15px;font-size:12px;overflow:hidden}.back{color:#9cb1c5;cursor:pointer;background:0 0;border:none;margin-bottom:22px;padding:0}.detail-title{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.detail-grid{grid-template-columns:2fr 1fr;gap:16px;display:grid}.panel{background:#121820;border:1px solid #202a35;border-radius:12px;margin-bottom:16px;padding:20px}.panel h2{margin:0 0 15px;font-size:17px}.info-row{border-bottom:1px solid #1e2730;grid-template-columns:130px 1fr;gap:12px;padding:9px 0;display:grid}.info-row:last-child{border-bottom:none}.info-row span{color:#778696}.info-row strong{word-break:break-word}.gpu-table{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.gpu-card{background:#0d1319;border:1px solid #1e2933;border-radius:10px;padding:14px}.gpu-title{margin-bottom:12px;font-weight:700}.gpu-title span{color:#8795a3;margin-top:2px;font-size:12px;font-weight:400;display:block}.gpu-values{grid-template-columns:1fr 1fr;gap:8px;display:grid}.gpu-value{background:#111820;border-radius:6px;flex-direction:column;padding:8px;display:flex}.gpu-value span{color:#738292;font-size:11px}.pcie-row{border-bottom:1px solid #1e2730;padding:8px 0;font-family:monospace;font-size:12px}.error{color:#ff9ca2;background:#4b1e24;border-radius:8px;margin-bottom:20px;padding:12px}.loading{color:#8190a0}@media (width<=700px){.topbar{height:56px;padding:0 15px}.topbar-right{display:none}.container{padding:15px}.page-header{display:block}.page-header h1{font-size:27px}.summary{margin-top:18px}.summary-card{flex:1;min-width:0}.machine-grid{grid-template-columns:1fr}.machine-stats{grid-template-columns:repeat(3,1fr)}.detail-grid{grid-template-columns:1fr}.detail-title h1{font-size:25px}.info-row{grid-template-columns:1fr;gap:2px}.gpu-table{grid-template-columns:1fr}}.machine-alarm{background:#261417;border:2px solid #ff4d4d}.summary-alarm{color:#ff7373;background:#321619;border:2px solid #ff4d4d}.alarm-message{color:#ff8585;background:#481b20;border-radius:7px;margin-top:14px;padding:8px 10px;font-size:13px;font-weight:700}.detail-alarm{margin-bottom:16px}.sound-enable-banner{background:#252932;border:1px solid #3a4d60;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:12px 16px;display:flex}.sound-enable-button{color:#fff;cursor:pointer;background:#315f91;border:0;border-radius:7px;padding:9px 14px;font-weight:700}@media (width<=700px){.sound-enable-banner{flex-direction:column;align-items:stretch}.sound-enable-button{width:100%}}.machine-log{max-height:600px;font-family:monospace;overflow-y:auto}.machine-log-entry{border-bottom:1px solid #2d3540;padding:10px 0}.machine-log-time{opacity:.65;margin-bottom:5px;font-size:12px}.machine-log-message{white-space:pre-wrap;word-break:break-word;margin:0;font-family:monospace;font-size:13px}.temp-blue{color:#4da6ff}.temp-green{color:#4caf50}.temp-orange{color:#ff9800}.temp-red{color:#ff4040;font-weight:800}.machine-console{background:#0b0f14;border-radius:6px;width:100%;height:500px;overflow:hidden}.machine-console .xterm{height:100%;padding:10px}.console-toolbar{align-items:center;gap:14px;margin-bottom:10px;display:flex}.console-status{opacity:.7;font-size:12px;font-weight:700}.console-status-connected{color:#4caf50}.console-mobile-keys{flex-wrap:wrap;gap:6px;margin-bottom:8px;display:flex}.console-mobile-keys button{cursor:pointer;border:0;border-radius:5px;min-width:48px;padding:8px 10px}@media (width<=700px){.machine-console{height:420px}.machine-console .xterm{padding:4px}.console-mobile-keys button{flex:1;min-width:50px}}.file-transfer-overlay{z-index:10000;background:#000000bf;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.file-transfer-dialog{background:#161b22;border:1px solid #30363d;border-radius:10px;width:min(850px,100%);max-height:90vh;padding:24px;overflow-y:auto}.file-transfer-header{justify-content:space-between;align-items:flex-start;margin-bottom:22px;display:flex}.file-transfer-header h2{margin:0}.file-transfer-subtitle{opacity:.65;margin-top:5px}.file-transfer-close{color:inherit;cursor:pointer;background:0 0;border:0;font-size:30px}.file-transfer-field{flex-direction:column;gap:7px;margin-bottom:18px;display:flex}.file-transfer-field label{font-weight:700}.file-transfer-field input[type=text]{color:inherit;background:#0d1117;border:1px solid #30363d;border-radius:5px;padding:10px;font-family:monospace}.file-transfer-hint{opacity:.6;font-size:12px}.file-transfer-selection-header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.file-transfer-selection-buttons{gap:8px;display:flex}.file-transfer-machine-list{border:1px solid #30363d;border-radius:6px;max-height:300px;margin-bottom:18px;overflow-y:auto}.file-transfer-machine{cursor:pointer;border-bottom:1px solid #30363d;grid-template-columns:25px 120px 1fr 80px;align-items:center;gap:8px;padding:9px 12px;display:grid}.file-transfer-machine:last-child{border-bottom:0}.file-transfer-machine-id{font-weight:700}.file-transfer-machine-ip{opacity:.75;font-family:monospace}.file-transfer-online{color:#4caf50;font-size:11px;font-weight:700}.file-transfer-offline{color:#ff4040;font-size:11px;font-weight:700}.file-transfer-results{margin-top:20px}.file-transfer-result{border-bottom:1px solid #30363d;grid-template-columns:150px 1fr;gap:10px;padding:8px 0;display:grid}.file-transfer-result-ok strong{color:#4caf50}.file-transfer-result-error strong{color:#ff4040}.file-transfer-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}@media (width<=700px){.file-transfer-overlay{padding:8px}.file-transfer-dialog{max-height:95vh;padding:16px}.file-transfer-selection-header{flex-direction:column;align-items:stretch}.file-transfer-selection-buttons{width:100%}.file-transfer-selection-buttons button{flex:1}.file-transfer-machine{grid-template-columns:25px 1fr 70px}.file-transfer-machine-ip{display:none}.file-transfer-result{grid-template-columns:1fr}.file-transfer-actions button{flex:1}}.user-login-shell{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.user-login-card{background:#111820;border:1px solid #ffffff1f;border-radius:14px;width:min(430px,100%);padding:36px;box-shadow:0 24px 70px #00000073}.user-login-brand{text-align:center;letter-spacing:.12em;margin-bottom:28px;font-size:26px;font-weight:900}.user-login-card h1{text-align:center;margin:0 0 8px;font-size:26px}.user-login-card p{text-align:center;opacity:.65;margin:0 0 28px}.user-login-card label{text-transform:uppercase;letter-spacing:.05em;opacity:.72;margin:14px 0 6px;font-size:12px;font-weight:800;display:block}.user-login-card input{width:100%;color:inherit;font:inherit;background:#00000038;border:1px solid #ffffff29;border-radius:8px;outline:none;padding:11px 12px}.user-login-card input:focus{border-color:#ffffff61}.user-login-button{width:100%;margin-top:22px;padding:11px 14px;font-weight:900}.user-topbar-account{align-items:center;gap:14px;display:flex}.user-topbar-account strong{color:#fff;font-weight:900}@media (width<=620px){.user-login-card{padding:26px 22px}.user-topbar-account>span{display:none}}.user-page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;margin:18px 0;display:flex}.user-page-header h1{margin:0;font-size:32px}.user-page-header p{color:#8190a0;margin:6px 0 0}.user-live{color:#22c55e;letter-spacing:.1em;align-items:center;gap:8px;font-size:12px;font-weight:900;display:flex}.user-live span{background:#22c55e;border-radius:50%;width:9px;height:9px;box-shadow:0 0 14px #22c55e}.user-summary-grid{grid-template-columns:repeat(6,minmax(145px,1fr));gap:10px;margin-bottom:18px;display:grid}.user-metric{background:#121820;border:1px solid #202a35;border-radius:10px;padding:14px 16px}.user-metric span,.user-small-metric span{color:#778696;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px;font-size:11px;display:block}.user-metric strong{white-space:nowrap;font-size:25px}.user-green{font-weight:800;color:#22c55e!important}.user-panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.user-panel-heading h2{margin:0 0 4px;font-size:23px}.user-panel-heading>div>div{color:#8190a0;font-size:14px}.user-type-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:12px;display:grid}.user-type-card{background:#0d1319;border:1px solid #1e2933;border-radius:10px;padding:15px}.user-type-title{align-items:center;gap:9px;margin-bottom:13px;font-size:16px;font-weight:800;display:flex}.user-type-title i{border-radius:50%;width:11px;height:11px;display:inline-block}.user-type-stats{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.user-small-metric{background:#111820;border-radius:7px;padding:9px}.user-small-metric strong{font-size:17px}.user-ranges{flex-wrap:wrap;gap:6px;display:flex}.user-chart-grid{grid-template-columns:repeat(auto-fit,minmax(480px,1fr));gap:16px;display:grid}.user-gpu-search{width:100%;color:inherit;background:#0003;border:1px solid #ffffff29;border-radius:7px;margin-bottom:14px;padding:11px 13px;font-size:14px}.user-table-wrap{border:1px solid #ffffff1a;border-radius:10px;width:100%;overflow-x:auto}.user-gpu-table{border-collapse:collapse;width:100%;font-size:13px}.user-gpu-table th{text-align:left;white-space:nowrap;background:#ffffff0f;padding:10px 12px;font-size:12px}.user-gpu-table td{white-space:nowrap;border-top:1px solid #ffffff12;padding:9px 12px}.user-gpu-table tbody tr:hover{background:#ffffff09}.user-gpu-id{font-weight:800}.user-empty{text-align:center!important;color:#8190a0!important;padding:25px!important}@media (width<=1100px){.user-summary-grid{grid-template-columns:repeat(3,1fr)}.user-chart-grid{grid-template-columns:1fr}}@media (width<=700px){.user-summary-grid{grid-template-columns:repeat(2,1fr)}.user-metric strong{font-size:21px}.user-chart-grid{grid-template-columns:1fr}.user-page-header h1{font-size:27px}}
