.shell,.sidebar{min-height:100vh}.sidebar{position:sticky;top:0;height:100vh}.live-table{width:100%;border-collapse:collapse;font-size:12px}.live-table th,.live-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:middle}.live-table th{font-size:11px;color:var(--muted);white-space:nowrap;background:#fafbfd}.table-wrap{overflow:auto;max-width:100%}.live-table td small{display:block}.live-table td:first-child{width:40px}.live-table input[type=checkbox]{width:18px;height:18px;accent-color:var(--blue)}.status-pill{display:inline-flex;gap:6px;align-items:center;padding:4px 8px;border-radius:6px;font-size:11px;background:#edf1f7;color:#60718a;white-space:nowrap}.status-pill.mining,.status-pill.done{background:var(--green-bg);color:var(--green)}.status-pill.gaming,.status-pill.running{background:var(--blue-light);color:var(--blue)}.status-pill.error,.status-pill.failed,.status-pill.needs_review{background:var(--red-bg);color:var(--red)}.status-pill.waiting,.status-pill.held{background:var(--orange-bg);color:var(--orange)}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-grid .panel{padding:20px}.stat-grid strong{display:block;font-family:ASMDisplay,var(--sans);font-size:27px;margin-top:7px}.status-bar{display:flex;width:100%;height:12px;background:#e7edf4;border-radius:5px;overflow:hidden;margin:18px 0}.status-bar span.mining{background:#7dbfa7}.status-bar span.gaming{background:#87a9f6}.status-bar span.error{background:#ed9393}.status-bar span.offline{background:#b7c1d0}.status-bar span.stopped{background:#d5dfe9}.status-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.status-counts button{border:0;background:#f7f9fc;padding:12px;text-align:left;border-radius:8px}.status-counts strong{display:block;font-size:22px}.fleet-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px 20px;border-bottom:1px solid var(--line)}.fleet-tools input[type=search]{min-width:200px;flex:1;padding:10px;border:1px solid var(--line);border-radius:7px}.fleet-tools select{padding:10px;border:1px solid var(--line);border-radius:7px}.pagination{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.selection-bar{padding:13px 20px;background:var(--blue-light);display:flex;gap:10px;align-items:center;flex-wrap:wrap}.selection-bar strong{margin-right:auto}.live-form{display:grid;gap:18px}.live-form label{display:grid;gap:6px;font-size:12px;font-weight:600}.live-form input,.live-form select,.live-form textarea{border:1px solid #cdd7e4;border-radius:7px;padding:11px;background:white;width:100%;min-width:0;color:var(--ink)}.live-form textarea{font:12px/1.7 var(--mono);min-height:150px;resize:vertical}.form-error{color:var(--red);font-size:12px;min-height:18px}.auth-live{max-width:440px;margin:9vh auto;padding:32px}.auth-live h1{margin:20px 0 8px}.auth-live .live-form{margin-top:25px}.auth-live p{font-size:13px;color:var(--muted)}.auth-live .brand{padding:0}.auth-live .brand small{color:var(--muted)}.code-block{white-space:pre-wrap;overflow-wrap:anywhere;background:#142b47;color:#e6f0ff;padding:18px;border-radius:8px;font:12px/1.8 var(--mono)}.id-large{font:52px var(--mono);letter-spacing:9px;color:var(--blue);margin:20px 0}.inline-notice{padding:14px 17px;border:1px solid #d9e5f9;background:#f0f5ff;border-radius:8px;color:#456180;font-size:12px;margin:18px 0}.event-list{display:grid}.event-item{padding:16px 20px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:155px minmax(0,1fr);gap:15px;font-size:12px;overflow-wrap:anywhere}.event-item time{color:var(--muted)}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-grid .panel{padding:22px}.profile-grid pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#f5f7fb;padding:12px;border-radius:7px;margin:17px 0}.empty-panel{text-align:center;padding:60px 25px}.empty-panel p{margin:12px auto 24px;max-width:500px;color:var(--muted)}.dialog-summary{padding:15px;background:#f4f7fc;border-radius:8px;margin:14px 0;font-size:13px}.dialog-summary strong{font-size:24px;display:block}.main p{overflow-wrap:anywhere}.logs-pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:500px;overflow:auto;font:12px/1.8 var(--mono)}.check-live{display:flex!important;grid-template-columns:20px 1fr;align-items:flex-start;gap:10px!important}.check-live input{width:18px!important;margin:2px 0}.page-heading h1{font-size:29px}.host-link{border:0;background:none;padding:0;color:var(--blue);text-align:left}.user-label{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stale{color:var(--orange)}.page-error{background:var(--red-bg);color:var(--red);padding:14px 20px}.topbar .sync.offline i{background:#a1adbd}dialog{max-width:calc(100vw - 24px)}.muted-break{overflow-wrap:anywhere}.panel + .panel{margin-top:20px}.sidebar-foot a{color:#adbed7}
@media(max-width:1000px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.status-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-grid{grid-template-columns:1fr}}
@media(max-width:768px){.sidebar{position:static;height:auto;min-height:0}.sidebar-bottom{padding-top:15px}.stat-grid{gap:10px}.stat-grid .panel{padding:15px}.status-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.event-item{grid-template-columns:1fr;gap:4px}.auth-live{margin:30px 12px;padding:24px}.user-label{max-width:130px}.topbar{padding:14px 18px}.pagination{flex-wrap:wrap}.page-heading{flex-wrap:wrap}.fleet-tools input[type=search]{min-width:150px}.page-heading h1{font-size:26px}}

@media(max-width:768px){.nav{gap:5px}.nav a{flex:0 0 auto;min-width:auto;white-space:nowrap;padding:12px 13px}.sidebar-bottom{display:none}}
.stat-grid strong span{font-size:19px;overflow-wrap:anywhere}

.compact-journal .event-item{padding:8px 14px;grid-template-columns:145px minmax(0,1fr);gap:12px;line-height:1.6}.compact-journal .event-item:last-child{border-bottom:0}.compact-journal .event-message{min-width:0;overflow-wrap:anywhere}.compact-journal .event-message strong{font-weight:600}.compact-journal .event-divider{padding:0 7px;color:var(--muted)}
@media(max-width:600px){.compact-journal .event-item{grid-template-columns:1fr;gap:1px}.compact-journal .event-item time{font-size:11px}}

.status-pill.starting{background:var(--blue-light);color:var(--blue)}.status-bar span.starting{background:#b6c9f5}.status-legend{margin:0 0 14px;color:var(--muted);font-size:12px}.status-legend summary{cursor:pointer;color:var(--blue);padding:9px 0;min-height:36px}.status-legend summary:focus-visible{outline:3px solid #83aaff;outline-offset:3px}.status-legend dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 24px;margin:5px 0 0;padding:18px;background:white;border:1px solid var(--line);border-radius:8px}.status-legend dd{margin:6px 0 0;line-height:1.6}.status-legend dt{margin:0}@media(max-width:600px){.status-legend dl{grid-template-columns:1fr}}

.release-check{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.release-check .btn{flex-shrink:0}.release-result{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.release-result small{display:block;color:var(--muted,#64748b);margin-top:5px}@media(max-width:600px){.release-check{flex-direction:column}}
dialog[open]{display:flex;flex-direction:column;overflow:hidden}dialog .live-form{display:flex;flex-direction:column;gap:0;min-height:0}dialog .modal-head,dialog .modal-footer{flex-shrink:0}dialog .modal-body{overflow-y:auto;min-height:0}dialog .modal-body>label:not(.check-live){margin-top:14px}dialog .modal-body>label:first-child{margin-top:0}

.fleet-table th,.fleet-table td{padding:7px 12px}.fleet-table .vm-row{height:44px}.fleet-table .vm-row td{line-height:1.4}.fleet-table .host-group th{padding:7px 12px;background:#f0f4fa;border-bottom:1px solid var(--line);color:var(--ink)}.host-group-line{display:flex;align-items:center;gap:14px;min-height:30px;font-weight:400;flex-wrap:wrap}.host-group-line>.host-link{font-weight:700}.host-group-line>.host-connection{color:var(--muted);font-size:11px}.host-group-actions{margin-left:auto;display:flex;gap:6px}.host-group-actions .btn{min-height:28px;padding:4px 10px;font-size:11px}.fleet-table .fleet-number{white-space:nowrap}.fleet-table .fleet-gpu{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fleet-table .fleet-reason{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;margin-top:2px}.power-inline{display:flex;gap:8px;align-items:center}.power-inline .text-btn{min-height:28px;padding:3px 6px;line-height:1}.fleet-pagination{padding:10px 14px;flex-wrap:wrap}.page-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px}.page-controls label{display:flex;align-items:center;gap:6px}.page-controls select{padding:7px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink)}.fleet-panel .fleet-tools{padding:12px 14px}.fleet-table .status-pill{padding:3px 7px;font-size:10px}@media(max-width:600px){.host-group-line{gap:8px}.host-group-actions{margin-left:0}.host-group-actions .btn,.power-inline .text-btn{min-height:44px}.fleet-pagination .page-controls{width:100%;justify-content:space-between}}

.hashrate-panel{margin-bottom:20px}.hashrate-panel .panel-header{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap}.hashrate-panel .panel-header small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.chart-periods{display:flex;gap:5px;flex-wrap:wrap}.chart-periods .btn{min-height:34px;padding:5px 10px;font-size:11px}.chart-periods .active{background:var(--blue);color:white}.hashrate-content{padding:14px 20px}.chart-caption{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px}.chart-caption span{color:var(--muted);font-size:11px}.hashrate-series+ .hashrate-series{margin-top:18px;border-top:1px solid var(--line);padding-top:18px}.hashrate-series svg{display:block;width:100%;height:auto;min-height:140px;max-height:260px}.hashrate-series text{fill:#60718a;font:11px Segoe UI,Arial,sans-serif}.chart-empty{padding:35px 10px;text-align:center;color:var(--muted);font-size:13px}.status-counts{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:750px){.status-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.hashrate-content{padding:14px 10px}.hashrate-series svg{min-height:100px}.hashrate-series text{font-size:12px}}
.stat-grid>.panel{margin:0}
