:root{--background:#f3f5f7;--border:#dce2e8;--blue:#1769e0;--blue-soft:#e9f1fc;--green:#17835b;--green-soft:#e6f5ee;--navy:#102235;--orange:#d27622;--red:#c23e4d;--surface:#fff;--text:#172431;--muted:#667585}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--background);color:var(--text);font-family:Arial,Helvetica,sans-serif}button,a{font:inherit}.dashboard-shell{min-height:100vh}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:10;justify-content:space-between;align-items:center;min-height:68px;padding:11px clamp(18px,4vw,60px);display:flex;position:sticky;top:0}.dashboard-tabs{background:var(--surface);border-bottom:1px solid var(--border);z-index:9;justify-content:center;align-items:stretch;gap:4px;padding:0 clamp(16px,3vw,40px);display:flex;position:sticky;top:68px}.dashboard-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;min-height:45px;padding:8px 22px 6px;font-size:12px;font-weight:700}.dashboard-tabs button:hover{color:var(--text);background:#f6f8fa}.dashboard-tabs button.active{border-bottom-color:var(--blue);color:var(--blue)}.tab-label-short{display:none}.brand{color:inherit;align-items:center;gap:11px;text-decoration:none;display:flex}.brand-mark{background:var(--navy);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:39px;height:39px;font-size:18px;font-weight:900;display:flex}.brand>span:last-child{flex-direction:column;gap:2px;display:flex}.brand strong{font-size:15px}.brand small{color:var(--muted);font-size:11px}.header-actions{align-items:center;gap:18px;display:flex}.live-status{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.live-status i,.state-badge i{background:#2fa46e;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 3px #e1f4ea}.live-status.offline i{background:var(--red);box-shadow:0 0 0 3px #f8e8ea}.header-actions button{color:#344454;cursor:pointer;background:#fff;border:1px solid #cfd7df;border-radius:7px;align-items:center;gap:7px;min-height:36px;padding:7px 11px;font-size:12px;font-weight:700;display:flex}.header-actions button:hover{background:#f5f7f9}.header-actions button:disabled{cursor:wait;opacity:.6}main{max-width:1440px;margin:0 auto;padding:32px clamp(16px,3vw,40px) 48px}.tool-main{max-width:1240px}.tool-section{min-height:620px}.tool-heading{justify-content:space-between;align-items:flex-end;margin-bottom:22px;display:flex}.tool-heading h1{font-size:clamp(27px,4vw,36px)}.tool-heading>div>p:last-child{color:var(--muted);margin:8px 0 0;font-size:13px}.tool-status{background:var(--green-soft);color:var(--green);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:8px 11px;font-size:11px;font-weight:700;display:inline-flex}.tool-status i{background:var(--green);border-radius:50%;width:7px;height:7px}.tool-status.busy{background:var(--blue-soft);color:var(--blue)}.tool-status.busy i{background:var(--blue);animation:1s infinite alternate status-pulse}.tool-status.error{color:var(--red);background:#fff0f1}.tool-status.error i{background:var(--red)}@keyframes status-pulse{to{opacity:.3}}.speedtest-layout{grid-template-columns:minmax(310px,.82fr) minmax(0,1.18fr);align-items:stretch;gap:14px;display:grid}.speedtest-control{flex-direction:column;justify-content:center;align-items:center;min-height:430px;display:flex}.speed-gauge{background:conic-gradient(var(--blue) var(--speed-progress), #e9edf2 0);border-radius:50%;justify-content:center;align-items:center;width:225px;height:225px;margin-bottom:26px;padding:13px;display:flex;position:relative}.speed-gauge:before{content:"";background:#fff;border-radius:50%;position:absolute;inset:13px}.speed-gauge>div{z-index:1;flex-direction:column;align-items:center;display:flex;position:relative}.speed-gauge span,.speed-gauge small{color:var(--muted);font-size:11px;font-weight:700}.speed-gauge strong{letter-spacing:-.05em;margin:7px 0 2px;font-size:46px;line-height:1.12}.primary-action{background:var(--blue);color:#fff;cursor:pointer;border:0;border-radius:7px;min-height:40px;padding:9px 18px;font-size:12px;font-weight:800}.primary-action:hover{background:#125abb}.primary-action:disabled{cursor:not-allowed;opacity:.5}.primary-action.danger{background:var(--red)}.phase-progress{background:#e7ebef;border-radius:99px;width:min(260px,80%);height:4px;margin-top:18px;overflow:hidden}.phase-progress i{background:var(--blue);height:100%;transition:width .12s linear;display:block}.speed-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.speed-results article{flex-direction:column;justify-content:center;min-height:160px;padding:22px;display:flex}.speed-results article:first-child{grid-column:1/-1}.speed-results article>span{color:var(--muted);font-size:11px;font-weight:700}.speed-results article>strong{letter-spacing:-.035em;margin:8px 0 4px;font-size:30px}.speed-results article>strong small{color:var(--muted);font-size:12px}.speed-results article p{color:var(--muted);margin:0;font-size:10px}.test-note{background:var(--blue-soft);color:#285278;border-radius:9px;flex-direction:column;grid-column:1/-1;align-items:flex-start;gap:4px;padding:13px 15px;font-size:10px;line-height:1.45;display:flex}.llm-layout{grid-template-columns:minmax(330px,.8fr) minmax(0,1.2fr);align-items:start;gap:14px;display:grid}.benchmark-config,.benchmark-live,.benchmark-results{padding:19px}.benchmark-output-column{gap:14px;min-width:0;display:grid}.full-field{margin-bottom:14px}.form-field{flex-direction:column;gap:6px;min-width:0;display:flex}.form-field>span{color:#465767;font-size:10px;font-weight:800}.form-field>small{color:var(--muted);font-size:9px;line-height:1.35}.form-field input,.form-field select,.form-field textarea{color:var(--text);font:inherit;background:#fff;border:1px solid #cfd7df;border-radius:6px;outline:none;width:100%;min-height:37px;padding:8px 10px;font-size:11px}.form-field textarea{resize:vertical;min-height:108px;line-height:1.5}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.form-field input:disabled,.form-field select:disabled,.form-field textarea:disabled{color:#75818c;background:#f2f4f6}.config-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;display:grid}.check-field{cursor:pointer;background:#f5f7f9;border-radius:7px;align-items:flex-start;gap:9px;margin-top:14px;padding:10px;display:flex}.check-field input{accent-color:var(--blue);margin:2px 0 0}.check-field span{flex-direction:column;gap:2px;display:flex}.check-field strong{font-size:10px}.check-field small{color:var(--muted);font-size:9px;line-height:1.35}.benchmark-action{width:100%;margin-top:14px}.benchmark-live pre{color:#e8eef4;white-space:pre-wrap;word-break:break-word;background:#111d29;border-radius:8px;min-height:220px;max-height:350px;margin:0;padding:15px;font-family:Consolas,Courier New,monospace;font-size:11px;line-height:1.55;overflow:auto}.benchmark-live pre.empty{color:#8190a0}.benchmark-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px;display:grid}.benchmark-summary span{background:#f5f7f9;border-radius:7px;min-width:0;padding:10px}.benchmark-summary small{color:var(--muted);margin-bottom:4px;font-size:8px;display:block}.benchmark-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.verified{color:var(--green)}.warning-text{color:var(--orange)}.inline-error{color:var(--red);background:#fff0f1;border-radius:6px;padding:10px;font-size:10px}.result-table-wrap{max-width:100%}.result-table-wrap table{border-collapse:collapse;width:100%;font-size:10px}.result-table-wrap th{color:var(--muted);text-align:left;text-transform:uppercase;font-size:8px}.result-table-wrap th,.result-table-wrap td{white-space:nowrap;border-bottom:1px solid #e8edf1;padding:8px 6px}.llm-unavailable button{color:inherit;cursor:pointer;background:#fff;border:1px solid #e2aeb4;border-radius:6px;align-self:flex-start;margin-top:6px;padding:7px 10px;font-size:10px;font-weight:700}.history-panel{margin-top:14px;padding:19px}.history-empty{color:var(--muted);margin:4px 0;font-size:11px}.history-list{gap:7px;display:grid}.history-list article{background:#f5f7f9;border:1px solid #e7ebef;border-radius:7px;align-items:center;gap:10px;min-width:0;padding:10px 12px;display:grid}.network-history article{grid-template-columns:minmax(125px,1.35fr) repeat(4,minmax(90px,1fr))}.llm-history article{grid-template-columns:minmax(180px,1.6fr) repeat(5,minmax(85px,1fr))}.history-list time{color:var(--muted);white-space:nowrap;font-size:9px}.history-list article>span{min-width:0}.history-list article>span small{color:var(--muted);margin-bottom:3px;font-size:8px;display:block}.history-list article>span strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.history-primary{min-width:0}.history-primary>strong{margin-bottom:2px;font-size:11px;display:block}.history-primary p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:9px;overflow:hidden}.page-heading{justify-content:space-between;align-items:flex-end;margin-bottom:24px;display:flex}.eyebrow{color:var(--blue);letter-spacing:.09em;text-transform:uppercase;margin:0 0 7px;font-size:10px;font-weight:800}h1{letter-spacing:-.035em;margin:0;font-size:clamp(27px,4vw,36px)}.page-heading>div:first-child>p:last-child{color:var(--muted);margin:8px 0 0;font-size:13px}.heading-facts{gap:9px;display:flex}.heading-facts>span{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;min-width:125px;padding:9px 12px;display:flex}.heading-facts small{color:var(--muted);font-size:10px}.heading-facts strong{margin-top:3px;font-size:13px}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.summary-card,.panel{background:var(--surface);border:1px solid var(--border);border-radius:11px;box-shadow:0 2px 7px #10223509}.summary-card{min-width:0;padding:16px 17px 14px;position:relative;overflow:hidden}.summary-top{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.metric-icon,.compact-icon{background:var(--blue-soft);color:var(--blue);letter-spacing:.03em;border-radius:6px;justify-content:center;align-items:center;width:34px;height:29px;font-size:9px;font-weight:900;display:flex}.metric-icon.memory{background:var(--green-soft);color:var(--green)}.metric-icon.gpu{color:#6d48b5;background:#f0ebfc}.metric-icon.disk{color:#a75b16;background:#fff0df}.gauge{background:conic-gradient(var(--blue) var(--value), #e8edf2 0);border-radius:50%;width:27px;height:27px;padding:4px}.gauge i{background:#fff;border-radius:50%;width:100%;height:100%;display:block}.metric-label{color:var(--muted);font-size:11px;display:block}.summary-card>strong{letter-spacing:-.04em;margin:5px 0 1px;font-size:28px;line-height:1.05;display:block}.summary-card>strong small{color:var(--muted);font-size:12px;font-weight:500}.summary-card>p{color:var(--muted);white-space:nowrap;margin:3px 0 0;font-size:10px}.sparkline{width:calc(100% + 4px);height:24px;margin:-1px -2px 0;display:block}.sparkline polyline{fill:none;stroke:var(--blue);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;vector-effect:non-scaling-stroke}.state-badge{background:var(--green-soft);color:var(--green);border-radius:999px;align-items:center;gap:6px;padding:5px 8px;font-size:10px;font-weight:800;display:flex}.state-badge i{box-shadow:none;width:6px;height:6px}.state-badge.idle{color:#65717d;background:#edf0f3}.state-badge.idle i{background:#89939d}.state-badge.warning{color:#a75b16;background:#fff0df}.state-badge.warning i{background:var(--orange)}.disk-space{color:var(--muted);justify-content:space-between;margin:13px 0 6px;font-size:9px;display:flex}.meter-track{background:#e8edf2;border-radius:999px;height:5px;overflow:hidden}.meter-fill{background:var(--blue);border-radius:inherit;min-width:2px;height:100%;transition:width .3s;display:block}.meter-fill.green{background:var(--green)}.meter-fill.orange{background:var(--orange)}.details-layout{grid-template-columns:minmax(0,1.55fr) minmax(330px,1fr);align-items:start;gap:13px;margin-top:13px;display:grid}.panel{padding:17px}.panel-heading{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.panel-heading h2{margin:0;font-size:16px}.temperature-chip{color:#52606d;background:#f1f4f6;border-radius:6px;padding:6px 8px;font-size:10px;font-weight:700}.hardware-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;display:grid}.hardware-list article{min-width:0;padding:13px 16px 15px 0}.hardware-list article:nth-child(2n){border-left:1px solid var(--border);padding-left:16px;padding-right:0}.hardware-list article:nth-child(n+3){border-top:1px solid var(--border)}.resource-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;display:flex}.resource-heading>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:700;overflow:hidden}.resource-heading strong{font-size:11px}code{background:#f1f3f5;border-radius:4px;padding:2px 4px;font-family:inherit;font-size:10px}dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:11px 0 0;display:grid}dl div{min-width:0}dt{color:var(--muted);margin-bottom:3px;font-size:9px}dd{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:10px;font-weight:700;overflow:hidden}.side-column{gap:13px;display:grid}.device-count{color:var(--muted);background:#f1f4f6;border-radius:6px;padding:6px 8px;font-size:9px;font-weight:700}.gpu-device+.gpu-device{border-top:1px solid var(--border);margin-top:15px;padding-top:15px}.gpu-device-heading{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:11px;display:flex}.gpu-vendor{color:var(--muted);text-transform:uppercase;margin-bottom:3px;font-size:8px;font-weight:700;display:block}.gpu-name{font-size:13px;display:block}.gpu-stats{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.gpu-stats span{background:#f5f7f9;border-radius:7px;min-width:0;padding:9px}.gpu-stats small{color:var(--muted);margin-bottom:4px;font-size:8px;display:block}.gpu-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.muted-line,.empty-message{color:var(--muted);margin:11px 0 0;font-size:9px}.sleeping-message{background:#f3f5f7;border-radius:7px;flex-direction:column;gap:4px;padding:13px;display:flex}.sleeping-message strong{font-size:11px}.sleeping-message span{color:var(--muted);font-size:9px;line-height:1.4}.services-panel ul{margin:0;padding:0;list-style:none}.services-panel li{border-top:1px solid #edf0f2;justify-content:space-between;align-items:center;padding:8px 1px;display:flex}.services-panel li:first-child{border-top:0}.services-panel li>span{grid-template-columns:auto 1fr;align-items:center;gap:1px 7px;font-size:10px;display:grid}.services-panel li>span>i{background:var(--green);border-radius:50%;grid-row:1/span 2;width:6px;height:6px}.services-panel li>span>i.down{background:var(--red)}.services-panel li small{color:var(--muted);font-size:8px}.services-panel li>strong{color:var(--green);font-size:9px}.services-panel li:has(.down)>strong{color:var(--red)}.secondary-grid{grid-template-columns:repeat(3,1fr);gap:13px;margin-top:13px;display:grid}.compact-panel{align-items:center;gap:12px;min-width:0;padding:13px 15px;display:flex}.compact-icon{flex:none}.compact-panel>div:last-child{flex-direction:column;min-width:0;display:flex}.compact-panel span{color:var(--muted);font-size:9px}.compact-panel strong{text-overflow:ellipsis;white-space:nowrap;margin:3px 0;font-size:12px;overflow:hidden}.compact-panel strong i{color:var(--muted);font-style:normal;font-weight:500}.compact-panel small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.error-panel{color:#9d2937;background:#fff0f1;border:1px solid #f0cbd0;border-radius:9px;flex-direction:column;gap:4px;padding:14px;font-size:12px;display:flex}.loading-grid{grid-template-columns:repeat(4,1fr);gap:13px;display:grid}.loading-grid i{background:#e2e7eb;border-radius:11px;height:172px;animation:1.1s infinite alternate shimmer}@keyframes shimmer{to{opacity:.45}}footer{color:var(--muted);text-align:center;padding:0 18px 25px;font-size:9px}@media (max-width:1000px){.summary-grid{grid-template-columns:repeat(2,1fr)}.details-layout{grid-template-columns:1fr}.side-column{grid-template-columns:repeat(2,1fr)}.llm-layout{grid-template-columns:1fr}.network-history article,.llm-history article{grid-template-columns:repeat(3,minmax(0,1fr))}.network-history article>time,.history-primary{grid-column:1/-1}}@media (max-width:700px){.topbar{min-height:62px;padding:10px 14px}.dashboard-tabs{justify-content:stretch;padding:0 8px;top:62px}.dashboard-tabs button{flex:1;padding-inline:8px}.tab-label-wide{display:none}.tab-label-short{display:inline}.live-status{font-size:0}.header-actions{gap:10px}.header-actions button{padding:7px 10px;font-size:0}.header-actions button span{font-size:18px}main{padding:22px 12px 34px}.tool-heading{flex-direction:column;align-items:flex-start;gap:14px}.speedtest-layout{grid-template-columns:1fr}.speedtest-control{min-height:370px}.benchmark-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.history-panel{padding:14px}.page-heading{flex-direction:column;align-items:flex-start;gap:16px}.heading-facts{width:100%}.heading-facts>span{flex:1;min-width:0}.summary-grid{gap:9px}.summary-card{padding:14px}.summary-card>strong{font-size:25px}.details-layout,.side-column,.secondary-grid{gap:9px;margin-top:9px}.side-column,.secondary-grid{grid-template-columns:1fr}.gpu-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.brand small{display:none}h1{font-size:26px}.summary-grid{grid-template-columns:1fr}.summary-card{min-height:139px}.hardware-list{grid-template-columns:1fr}.hardware-list article,.hardware-list article:nth-child(2n){border-left:0;border-top:1px solid var(--border);padding:13px 0 15px}.hardware-list article:first-child{border-top:0;padding-top:3px}.speed-results,.config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.speed-results article:first-child{grid-column:1/-1}.speed-results article{min-height:130px;padding:15px}.speed-results article>strong{font-size:23px}.speed-gauge{width:190px;height:190px}.speed-gauge strong{font-size:39px}.benchmark-config,.benchmark-live,.benchmark-results{padding:14px}.network-history article,.llm-history article{grid-template-columns:repeat(2,minmax(0,1fr))}.result-table-wrap table,.result-table-wrap tbody,.result-table-wrap tr,.result-table-wrap td{display:block}.result-table-wrap thead{display:none}.result-table-wrap tr{background:#f5f7f9;border-radius:7px;grid-template-columns:repeat(2,1fr);gap:0;margin-top:8px;padding:6px;display:grid}.result-table-wrap td{border:0;padding:5px}.result-table-wrap td:first-child{color:var(--blue);grid-column:1/-1;font-weight:800}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
