:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#293649;background:#f5f7fa;font-synthesis:none;--muted:#8c99ab;--border:#e7ecf2;--green:#35b690;--yellow:#e4b541;--red:#e07e73;--blue:#578cdc}*{box-sizing:border-box}body{margin:0;font-size:13px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #619bdd;outline-offset:3px}button{border:0}svg{display:block}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
.tcping-province-label{display:flex;align-items:center;gap:4px;white-space:nowrap}.tcping-province-label select,.tcping-detail-head select{background:#fff;border:1px solid #e4eaf0;border-radius:4px;padding:3px 5px;font-size:10px}.tcping-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-width:0}.tcping-mini{min-width:0}.tcping-mini>div{display:flex;justify-content:space-between;gap:3px;font-size:9px;line-height:16px}.tcping-mini strong{font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:9px}.tcping-mini span{color:#8a99aa;white-space:nowrap}.tcping-bar{width:100%;height:7px}.tcping-region-name{display:block;font-size:9px;font-weight:400;color:#8496a8;margin-bottom:3px;line-height:13px}.tcping-region-name small{font-size:8px;color:#9eabb9;margin-left:4px}.tcping-cell .tcping-summary{grid-template-columns:1fr;gap:2px}.tcping-cell .tcping-mini{display:grid;grid-template-columns:65px minmax(0,1fr);align-items:center;gap:6px}.tcping-cell .tcping-region-name{display:none}.tcping-cell .tcping-mini>div{font-size:8px}.tcping-cell .tcping-mini strong{font-size:8px}.tcping-card-section{padding:7px 0;border-top:1px solid #f0f3f6}.tcping-detail{border-bottom:1px solid var(--border);padding:10px 0 14px;margin-bottom:10px}.tcping-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.tcping-detail-head h3{font-size:13px;margin:0}.tcping-detail-head label{display:flex;align-items:center;gap:8px}.tcping-detail-head label span{font-size:10px;color:#8b9aaa}.tcping-direction{font-size:10px;line-height:1.6;color:#8b9aaa;margin:6px 0 10px}.tcping-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tcping-detail-item{min-width:0;border:1px solid #e8edf3;border-radius:6px;padding:9px}.tcping-detail-item header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:7px;font-size:11px}.tcping-detail-item header strong{font-weight:550}.tcping-detail-item header span{font-size:10px}.tcping-curve{width:100%;height:auto;margin-top:5px}.tcping-curve text{font-size:8px;fill:#a1adba}.tcping-detail-meta{display:flex;justify-content:space-between;gap:5px;font-size:9px;color:#9aa7b6;margin-top:5px}.tcping-detail-meta b{color:#718397;font-weight:500}.tcping-no-chart{height:60px;display:grid;place-items:center;color:#a6b1bd;font-size:10px}
@media(max-width:800px){.tcping-cell .tcping-mini{grid-template-columns:1fr;gap:0}.tcping-cell .tcping-summary{gap:3px}.tcping-cell .tcping-mini>div{line-height:12px}}
@media(max-width:600px){.hosts-table .tcping-cell{grid-column:1/-1!important;width:auto!important}.tcping-cell .tcping-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.tcping-cell .tcping-mini{display:block}.tcping-cell .tcping-mini>div{font-size:9px;line-height:15px}.tcping-cell .tcping-mini strong{font-size:9px}.tcping-cell .tcping-region-name{display:block;margin-bottom:1px;font-size:8px;line-height:11px}.tcping-detail-grid{grid-template-columns:1fr;gap:6px}.tcping-detail-item{padding:8px}.tcping-detail-head label span{display:none}.tcping-direction{font-size:9px}.tcping-curve{max-height:90px}.list-footer{gap:6px;flex-wrap:wrap}.list-footer #updated-at{margin-left:auto}.tcping-summary{gap:10px}}
.appbar{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:12px;background:#fff;border-bottom:1px solid var(--border)}.brand,.header-actions{display:flex;align-items:center;gap:10px;min-width:0}.brand>svg{width:25px;height:25px;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}.header-actions{gap:5px}.connection{display:flex;align-items:center;gap:6px;font-size:11px;color:#8a97a9;white-space:nowrap;margin-right:6px}.connection:before,.dot{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#aeb8c6;flex-shrink:0}.connection[data-state=live]:before,.dot.online{background:var(--green)}.connection[data-state=demo]:before{background:var(--blue)}.connection[data-state=error]:before,.dot.unreachable{background:var(--red)}.dot.suspect,.dot.pending{background:var(--yellow)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;background:transparent;color:#8593a7;border-radius:5px;font-size:19px;line-height:1;padding:0}.icon-button:hover,.quiet-button:hover{background:#f1f5f9;color:#507197}.quiet-button{background:#fff;border:1px solid #e1e7ef;border-radius:5px;padding:5px 10px;font-size:11px;white-space:nowrap}.workspace{width:100%;margin:0;padding:8px 12px 14px}.fleet{min-width:0}#history-view{background:#fff}.view-switch{display:flex;border:1px solid #e2e8ef;background:#f8fafc;border-radius:6px;padding:2px;white-space:nowrap}.view-switch button{background:transparent;padding:5px 10px;color:#8794a5;font-size:11px;border-radius:4px}.view-switch button[aria-pressed=true]{background:#fff;box-shadow:0 1px 3px #25364715;color:#3e7b9d}
.hosts-table{border-collapse:collapse;table-layout:fixed;width:100%;text-align:left}.hosts-table th{height:32px;border-block:1px solid var(--border);background:#f9fbfd;color:#93a0b2;font-size:10px;font-weight:500;padding:0 16px}.hosts-table th span{font-size:9px;color:#a7b1bf;white-space:nowrap}.hosts-table th:nth-child(1){width:24%}.hosts-table th:nth-child(2),.hosts-table th:nth-child(3),.hosts-table th:nth-child(4){width:16%}.hosts-table th:nth-child(5){width:18%}.hosts-table th:nth-child(6){width:7%}.hosts-table th:nth-child(7){width:3%}.hosts-table td{padding:9px 16px;height:61px;vertical-align:middle;border-bottom:1px solid #edf1f5}.hosts-table tr:last-child td{border-bottom:0}.host-row:hover{background:#fafcfe}.host-info{display:flex;gap:10px;align-items:center;min-width:0}.server-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid #e5eaf0;background:#fafcfd;border-radius:7px;color:#98adbc;font-size:19px;flex-shrink:0}.host-copy{min-width:0}.host-button{display:block;background:transparent;padding:0;text-align:left;font-weight:550;font-size:13px;line-height:20px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.host-button:hover{color:#4a82bc}.host-meta{display:flex;align-items:center;gap:5px;color:#9aa5b5;font-size:9px;line-height:17px;white-space:nowrap;overflow:hidden}.stale-label{overflow:hidden;text-overflow:ellipsis}.resource-label{display:none}.resource-top{display:flex;align-items:center;min-width:0;height:19px}.resource-value{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource.network .resource-value{font-size:10px}.warning{color:#bb8d2d}.down{color:#c96760}.inactive{color:#a8b2c0}.history-bar{width:100%;height:15px;margin-top:5px;overflow:visible}.segment.normal{fill:var(--green)}.segment.warning{fill:var(--yellow)}.segment.down{fill:var(--red)}.segment.inactive{fill:#e8edf3}.segment:hover{filter:brightness(.85)}.history-loading{height:20px;font-size:9px;color:#aab3bf;padding-top:5px}.uptime-col{font-size:10px;white-space:nowrap;color:#8a97a7}.hosts-table td.settings-col{padding-left:0;padding-right:8px}.settings-col .icon-button{font-size:15px}.host-row[data-status=disabled]{color:#9cabb9}.host-row[data-status=disabled] .server-icon{opacity:.6}.empty-row td,.empty-cards{text-align:center;padding:50px 16px;color:#9aa7b6;font-size:12px}.empty-cards{grid-column:1/-1}.list-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding:10px 16px;color:#9da8b7;font-size:9px}
.realtime-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 0;background:transparent}.server-card{border:1px solid #e1e8ec;border-radius:13px;background:#fff;padding:17px;min-width:0;box-shadow:0 2px 4px #25374603}.card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-head>div{display:flex;align-items:center;gap:9px;min-width:0}.card-head .dot{width:8px;height:8px}.card-head .host-button{font-size:15px;font-weight:600}.card-head .icon-button{font-size:17px}.card-meta{display:flex;justify-content:space-between;gap:8px;margin:8px 0 18px;font-size:10px;color:#a0abb9}.card-meta>span:first-child{background:#f2f5f7;border-radius:9px;padding:2px 7px}.card-meta>span:last-child{padding-top:2px}.card-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 19px}.card-metric{min-width:0}.card-metric>div{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:12px}.card-metric>div>span{display:flex;align-items:center;gap:5px;color:#788797;white-space:nowrap}.card-metric strong{font-weight:500;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.metric-icon{font-style:normal;font-size:15px}.metric-icon.cpu{color:#56aade}.metric-icon.memory{color:#37af97}.metric-icon.disk{color:#dc9b4c}.metric-icon.traffic{color:#a084cd}.current-meter{width:100%;height:4px;margin:7px 0}.current-meter .track{fill:#f0f4f6}.current-meter .fill{fill:var(--green)}.current-meter.warning .fill{fill:var(--yellow)}.current-meter.down .fill{fill:#b1bdc6}.current-meter.inactive .fill{fill:#d3dbe2}.card-metric small{display:block;color:#99a5b3;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.transfer-strip{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:6px;margin:17px 0 13px}.transfer-strip>div{background:#f7f9fa;border-radius:7px;padding:8px;display:flex;flex-direction:column;gap:4px;min-width:0;font-size:10px;color:#95a2b1;white-space:nowrap}.transfer-strip .upload{color:#4fa58e}.transfer-strip .download{color:#6598d0}.network-current{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;border-top:1px solid #edf1f5;padding:12px 0}.network-current>div{display:flex;justify-content:space-between;align-items:center;gap:5px;color:#8795a6;font-size:11px}.network-current small{font-size:8px;display:block;color:#a7b1bd;margin-top:3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:85px}.network-current strong{font-size:12px;color:#62768a;font-weight:500;white-space:nowrap}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:7px;border-top:1px solid #edf1f5;padding-top:10px;font-size:10px}.network-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.network-label.normal{color:#65a08f}.expand-button{background:transparent;color:#8b9dae;padding:0;font-size:10px;white-space:nowrap}.expand-button:hover{color:#4b82a7}.cached-notice{color:#bf7b70;background:#fcf5f3;padding:5px 8px;border-radius:4px;font-size:9px;margin:-8px 0 13px}.server-card[data-status=disabled]{opacity:.65}
.alert-panel{border:1px solid var(--border);border-radius:9px;background:#fff;margin-top:12px;overflow:hidden}.alert-panel summary{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;list-style:none;cursor:pointer;font-size:11px}.alert-panel summary::-webkit-details-marker{display:none}.alert-panel summary>span:first-child{display:flex;align-items:center;gap:7px}.alert-panel summary b{font-size:10px;font-weight:500;color:#b59044;background:#fff7e6;border-radius:4px;padding:1px 5px}.disclosure{font-size:10px;color:#a1acba}.alert-item{border-top:1px solid var(--border);display:flex;align-items:center;gap:10px;padding:10px 16px;font-size:11px}.alert-name{flex:1;min-width:0}.alert-item button{max-width:35%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;background:transparent;color:#91a1b3;padding:0}.page-note{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 15px;color:#a0adbc;font-size:9px;margin:16px 0 0}.legend{display:inline-flex;align-items:center;gap:6px}.legend i{width:5px;height:9px;border-radius:1px;display:inline-block}.legend .normal{background:var(--green)}.legend .elevated{background:var(--yellow)}.legend .high{background:var(--red)}.legend .missing{background:#dce3eb}.error{padding:10px 16px;background:#fff3f0;color:#b97064;margin:0;border-block:1px solid #f5dfd9;font-size:12px}
/* Both overview formats open the same four charts. */
dialog{border:1px solid #dfe7ee;border-radius:12px;padding:22px;width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 40px);background:#fff;color:inherit;box-shadow:0 24px 100px #27374522}dialog::backdrop{background:#293c4e55;backdrop-filter:blur(2px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.dialog-head h2{font-size:18px;line-height:1.4;margin:0;font-weight:600;overflow-wrap:anywhere}.dialog-head p{font-size:11px;color:#97a3b2;margin:5px 0 0}.dialog-actions{display:flex;align-items:center;gap:8px}.detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:22px 0 12px;font-size:10px;color:#8c9aac}.detail-toolbar label{display:flex;align-items:center;gap:7px}.detail-toolbar select{border:1px solid #e1e8ef;background:#fff;border-radius:5px;padding:5px 7px;font-size:11px;max-width:190px}.chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.chart-card{border:1px solid #e5ebf1;border-radius:8px;padding:13px 14px;min-width:0}.chart-card>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.chart-card h3{font-size:12px;font-weight:500;margin:0;color:#8593a5}.chart-card strong{font-size:16px;font-weight:550;font-variant-numeric:tabular-nums}.chart-card svg{width:100%;height:auto;max-height:185px}.chart-card .grid{stroke:#e8eff5;stroke-dasharray:3 4}.chart-card text{font-family:inherit;font-size:9px;fill:#a1adbb}.history-line{fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chart-card p{font-size:9px;color:#a5b0bd;margin:6px 0 0}.chart-empty{padding:50px 10px;display:grid;place-content:center;color:#9ba8b9;font-size:11px;min-height:160px}.network-mini{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#9ba8b7}.network-mini b{font-weight:500;color:#7e90a4;margin-left:5px}.network-evidence{border:1px solid #e7ecf2;border-radius:7px;background:#fbfcfd;padding:12px 14px;margin:14px 0}.network-evidence>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.network-evidence strong{font-size:12px;font-weight:500}.network-evidence p{font-size:10px;line-height:1.8;color:#92a0b1;margin:7px 0 0}
/* Settings are real forms, separate from the overview. */
#node-settings-dialog,#global-dialog{width:min(620px,calc(100vw - 32px))}fieldset{border:0;border-top:1px solid var(--border);padding:17px 0 0;margin:24px 0 0;min-width:0}legend{font-size:12px;font-weight:550;padding:0 10px 0 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#8190a4;min-width:0}.form-grid input,.form-grid select,textarea{width:100%;min-width:0;border:1px solid #dfe7ef;border-radius:5px;padding:8px 9px;background:#fff;font-size:12px;height:34px}.form-grid input::placeholder{color:#abb5c1;font-size:10px}.form-grid small{font-size:9px;line-height:1.6;color:#a3afbd}.field-note{font-size:10px;color:#a0adbb;line-height:1.8;margin:12px 0}.check-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#7b8e9e;margin:0 0 15px}.check-label input{accent-color:#529e89}.primary-button{background:#539b86;color:#fff;border-radius:5px;padding:8px 13px;font-size:11px}.primary-button:hover{background:#458d78}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.form-footer>span{font-size:9px;color:#a1adbb}.form-feedback{padding:10px 12px;background:#eff8f4;color:#4e8f79;font-size:11px;line-height:1.7;border-radius:5px}.form-feedback.is-error{background:#fff2ee;color:#b56b5d}.observer-row{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;padding:10px 0;border-bottom:1px solid var(--border)}.observer-row>span:first-child{display:flex;align-items:center;gap:7px;min-width:0}.observer-row>span:last-child,.observer-row small{font-size:9px;color:#a0adba;white-space:nowrap}#observer-create-form{margin-top:15px}#observer-create-form>.primary-button{margin-top:12px}#observer-install p{font-size:10px;line-height:1.8;color:#96a5b6}#observer-command{height:auto;font:10px/1.8 ui-monospace,monospace;resize:vertical;background:#f8fafc}#auth-dialog{width:min(400px,calc(100vw - 32px))}#auth-dialog label{display:block;font-size:12px;margin:20px 0 8px}#admin-token{width:100%;border:1px solid #dfe7ef;border-radius:5px;padding:9px}#auth-dialog p{font-size:11px;color:#99a7b7;line-height:1.7}
@media(min-width:1500px){.realtime-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.server-card{padding:16px}.card-head .host-button{font-size:14px}}
@media(max-width:1150px){.realtime-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hosts-table th,.hosts-table td{padding-left:11px;padding-right:11px}.hosts-table th:nth-child(1){width:24%}.hosts-table th:nth-child(2),.hosts-table th:nth-child(3),.hosts-table th:nth-child(4){width:17%}.hosts-table th:nth-child(5){width:21%}.hosts-table th:nth-child(6),.hosts-table .uptime-col{display:none}.hosts-table th:nth-child(7){width:4%}.server-icon{width:26px;height:26px}.host-info{gap:7px}.host-button{font-size:12px}.view-switch button{padding:5px 8px;font-size:10px}}
@media(max-width:800px){.appbar{padding:0 16px}.workspace{padding:6px 8px 14px}.view-switch button{padding:5px 11px}.hosts-table .server-icon{display:none}.hosts-table th,.hosts-table td{padding-left:10px;padding-right:10px}.host-meta{font-size:8px}.resource-value{font-size:11px}.realtime-grid{gap:8px;padding:6px 0}.server-card{padding:14px}.card-head .host-button{font-size:14px}.card-resources{gap:16px 14px}.card-metric small{font-size:9px}.transfer-strip>div{font-size:9px;padding:7px 5px}.card-meta{font-size:9px}.card-metric>div{font-size:11px}.card-metric strong{font-size:12px}}
@media(max-width:600px){.appbar{height:52px;padding:0 12px}.brand{gap:7px}.header-actions{gap:2px}.header-actions .quiet-button{padding:4px 7px;font-size:10px}.connection{font-size:9px;margin-right:1px;gap:4px}.icon-button{width:25px;height:25px}.workspace{padding:0 4px 12px}.view-switch button{font-size:10px;padding:5px 9px}.hosts-table,.hosts-table tbody{display:block}.hosts-table thead{display:none}.hosts-table tr.host-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 11px;border-top:1px solid var(--border);padding:11px 12px}.hosts-table td{display:block;padding:0;border:0;height:auto;min-width:0}.hosts-table .host-col{grid-column:1/4;grid-row:1}.hosts-table .settings-col{grid-column:4;grid-row:1;justify-self:end;padding:0}.hosts-table .history-metric{grid-row:2}.hosts-table .uptime-col{display:none}.hosts-table .server-icon{display:grid;width:26px;height:26px;font-size:17px}.host-meta{font-size:9px;line-height:14px}.host-button{font-size:12px;line-height:18px}.resource-label{display:block;font-size:8px;color:#9caab9;line-height:13px}.resource-top{height:18px}.resource-value{font-size:11px}.resource.network .resource-value{font-size:8px}.history-bar{height:12px;margin-top:4px}.list-footer{padding:9px 12px;font-size:8px}.realtime-grid{grid-template-columns:minmax(0,1fr);padding:4px 0;gap:6px}.server-card{padding:16px;border-radius:12px}.card-head .host-button{font-size:16px}.card-head .dot{width:8px;height:8px}.card-meta{font-size:10px;margin:8px 0 17px}.card-resources{gap:18px 20px}.card-metric>div{font-size:12px}.card-metric strong{font-size:13px}.card-metric small{font-size:10px}.transfer-strip>div{padding:8px;font-size:10px}.network-current strong{font-size:13px}.alert-panel{margin-top:10px}.alert-panel summary{padding:11px 13px;font-size:10px}.page-note{font-size:8px;line-height:1.8;gap:4px 10px;margin-top:12px}.legend{gap:5px}.legend i{height:8px;width:4px}.chart-grid{grid-template-columns:1fr}.chart-card{padding:12px}.chart-card svg{max-height:160px}.dialog-head h2{font-size:16px}.dialog-head p{font-size:10px}.dialog-actions{gap:4px}dialog,#node-settings-dialog,#global-dialog{padding:17px;width:calc(100vw - 22px);max-height:calc(100dvh - 24px)}.detail-toolbar{margin-top:18px;font-size:9px}.detail-toolbar select{font-size:10px;max-width:145px}.form-grid{gap:13px 12px}.form-grid label{font-size:10px}.form-grid input,.form-grid select{font-size:11px;padding:7px}.form-grid small{font-size:8px}.field-note{font-size:9px}.observer-row>span:first-child{flex-wrap:wrap}.empty-row{display:block}.empty-row td{padding:50px 16px}.connection[data-state=error]{max-width:75px;overflow:hidden}}
@media(max-width:360px){.appbar{padding:0 10px}.hosts-table tr.host-row{column-gap:8px;padding:10px}.server-card{padding:13px}.card-head .host-button{font-size:14px}.card-resources{gap:16px 14px}.card-metric>div{font-size:11px}.card-metric strong{font-size:12px}.card-metric small{font-size:9px}.transfer-strip>div{font-size:9px;padding:7px 5px}.network-current>div{font-size:10px}.view-switch button{padding:5px 7px}.card-meta{font-size:9px}.form-grid{grid-template-columns:1fr}.dialog-head .quiet-button{padding:4px 6px;font-size:9px}}
/* Connection dots describe verified reachability, separately from resource load. */
.dot.green{background:#2bae83}.dot.yellow{background:#e5ad32}.dot.red{background:#dc7067}.dot.gray{background:#b9c3cf}.host-row,.server-card{scroll-margin-top:90px}.jump-target{outline:2px solid #8ac5b3;outline-offset:-2px}.machine-options{display:grid;gap:2px;margin-top:8px;max-height:min(55dvh,480px);overflow:auto;overscroll-behavior:contain}.machine-option{display:flex;align-items:center;gap:10px;text-align:left;background:#fff;padding:9px 5px;border-bottom:1px solid #edf1f5;min-height:45px}.machine-option:hover,.machine-option:focus-visible{background:#f0f7f4}.machine-option>span:nth-child(2){flex:1;min-width:0}.machine-option strong{display:block;font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.machine-option small{display:block;font-size:9px;color:#98a5b3;margin-top:3px}.machine-option>span:last-child{color:#a4b0bf;font-size:12px}.machine-filters{display:flex;gap:4px;margin-top:8px}.machine-filters button{background:#f4f7fa;color:#8091a2;border-radius:4px;font-size:10px;padding:5px 9px}.machine-filters button[aria-pressed=true]{background:#e8f4ef;color:#4f927b}.machine-legend{display:flex;gap:10px;flex-wrap:wrap;font-size:9px;color:#9aa7b5;margin:12px 0 0}.machine-legend>span{display:flex;gap:4px;align-items:center}.machine-empty{padding:20px;color:#95a4b3;text-align:center;font-size:11px}#machine-dialog{width:min(420px,calc(100vw - 20px));padding:14px}#machine-dialog h2{font-size:15px}#machine-search{width:100%;height:31px;padding:6px 9px;border:1px solid #e1e8ef;border-radius:5px;margin-top:10px;font-size:11px}
@media(max-width:600px){
 .appbar{height:40px;padding:0 10px;position:sticky;top:0;z-index:20;gap:6px}.brand>svg{width:20px;height:20px}.connection{font-size:8px}.header-actions .icon-button{width:27px;height:27px}.view-switch{padding:1px}.view-switch button{padding:4px 10px;font-size:10px}.server-card{padding:12px 13px;border-radius:9px}.card-head .host-button{font-size:14px}.card-meta{margin:4px 0 11px;font-size:9px}.card-resources{gap:12px 17px}.card-metric small{font-size:9px}.card-metric>div{font-size:11px}.card-metric strong{font-size:12px}.current-meter{margin:6px 0}.transfer-strip{margin:11px 0 9px;gap:5px}.transfer-strip>div{padding:6px;font-size:9px;gap:3px}.network-current{padding:8px 0;gap:17px}.network-current>div{font-size:10px}.network-current strong{font-size:12px}.network-current small{margin-top:2px}.card-footer{padding-top:8px;font-size:9px}.expand-button{font-size:9px}.hosts-table tr.host-row{padding:8px 10px;gap:5px 9px}.host-meta{line-height:12px;font-size:8px}.hosts-table .server-icon{width:23px;height:23px}.history-bar{height:10px;margin-top:3px}.resource-label{font-size:8px;line-height:12px}.resource-top{height:16px}.list-footer{padding:7px 10px}.cached-notice{margin:-3px 0 9px;padding:4px 7px}.server-card,.host-row{scroll-margin-top:84px}#machine-dialog{margin:48px auto auto;max-height:calc(100dvh - 60px)}
}
@media(max-width:360px){.card-resources{gap:11px 13px}.card-head .host-button{font-size:13px}.server-card{padding:11px}.card-metric small{font-size:8px}.transfer-strip>div{font-size:8px}.view-switch button{padding:4px 8px}}

/* One compact header; every machine is directly reachable beneath it. */
.appbar{height:44px;position:sticky;top:0;z-index:20;justify-content:flex-start;gap:12px}.appbar .brand{flex:none;background:transparent;padding:0}.appbar .view-switch{flex:none}.appbar .header-actions{margin-left:auto}.machine-search-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}.machine-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:4px;padding:5px 0;border-bottom:1px solid var(--border)}.machine-chip{display:flex;align-items:center;gap:6px;min-width:0;min-height:28px;padding:5px 8px;background:#f7f9fb;border:1px solid transparent;border-radius:4px;text-align:left;color:#718396;font-size:11px}.machine-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.machine-chip:hover{background:#eef5f2}.machine-chip[aria-pressed=true]{background:#eef7f3;border-color:#b9dccc;color:#43836e}.machine-chip .dot{width:6px;height:6px}.server-card,.host-row{scroll-margin-top:52px}
@media(max-width:600px){.appbar{height:40px;padding:0 8px;gap:8px}.appbar .brand>svg{width:22px;height:22px}.appbar .view-switch button{padding:5px 8px;font-size:10px}.header-actions{gap:1px}.header-actions .icon-button{width:25px;height:28px}.header-actions .quiet-button{padding:4px 6px;font-size:10px}.connection{font-size:0;gap:0;width:6px;min-width:6px;margin-right:3px}.connection:before{width:5px;height:5px}.machine-nav{grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:3px;padding:5px 0}.machine-chip{min-height:25px;padding:4px 5px;gap:5px;font-size:10px}.server-card,.host-row{scroll-margin-top:48px}}
@media(max-width:360px){.appbar{gap:5px}.appbar .view-switch button{padding:5px 6px}.header-actions .icon-button{width:23px}.header-actions .quiet-button{padding:4px 5px}}

/* Three resource columns, followed by one full-width domestic network row. */
@media(max-width:600px){.hosts-table tr.host-row{grid-template-columns:repeat(3,minmax(0,1fr))}.hosts-table .host-col{grid-column:1/3}.hosts-table .settings-col{grid-column:3}.hosts-table .tcping-cell{grid-row:3;grid-column:1/-1}}

