.fleet-charts{width:100%;max-width:980px;margin:18px auto 0;min-width:0;box-sizing:border-box}.fleet-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.fleet-node-select{position:relative;min-width:260px;max-width:100%}.fleet-node-select>button{width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--text);font:inherit}.fleet-node-menu{position:absolute;left:0;top:calc(100% + 6px);min-width:100%;width:max-content;max-width:calc(100vw - 48px);z-index:30;background:var(--bg2);border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 12px 32px #0006}.fleet-node-menu[hidden]{display:none}.fleet-check{display:flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap;padding:8px;border-radius:8px;font-size:14px}.fleet-check:hover{background:var(--bg)}.fleet-check input{accent-color:var(--mint);width:16px;height:16px;flex:none}.fleet-ranges,.fleet-metrics{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.fleet-ranges .fleet-check,.fleet-metrics .fleet-check{border:1px solid var(--line);background:var(--bg);padding:8px 10px}.fleet-check:has(input:checked){border-color:var(--mint);color:var(--mint)}.fleet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,480px));justify-content:center;gap:14px;width:100%;min-width:0}.fleet-card{background:var(--bg2);border:1px solid var(--line);border-radius:var(--r,12px);padding:16px;min-width:0}.fleet-card h3{margin:0 0 12px;font-size:16px}.fleet-plot{position:relative;min-width:0;margin-top:12px}.fleet-plot-title{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:8px}.fleet-plot canvas{display:block;width:100%;height:180px;touch-action:pan-y}.fleet-tooltip{position:absolute;z-index:20;top:22px;left:46px;max-width:calc(100% - 54px);pointer-events:none;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:9px 11px;font-size:12px;line-height:1.6;box-shadow:0 6px 18px #0005}.fleet-tooltip[hidden]{display:none}.fleet-tooltip b{display:block;font-weight:600}.fleet-tooltip span{display:block}.fleet-metrics{margin-top:14px}.fleet-empty{padding:28px 12px;text-align:center;color:var(--muted);font-size:14px}.fleet-save-error{color:#ffbd69;font-size:12px;margin-top:8px}.fleet-node-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}.fleet-pressure-note{color:var(--muted);font-size:11px}.fleet-node-select button:focus-visible{outline:2px solid var(--mint);outline-offset:3px}@media(max-width:600px){.fleet-controls{align-items:stretch}.fleet-node-select{width:100%;min-width:0}.fleet-card{padding:12px}.fleet-ranges{gap:4px}.fleet-ranges .fleet-check{font-size:12px}.fleet-metrics .fleet-check{font-size:12px}.fleet-tooltip{font-size:11px}}

.fleet-grid.fleet-single{grid-template-columns:minmax(0,480px)}.fleet-plot{margin-top:4px}.fleet-tooltip{top:8px;line-height:1.4;font-size:11px}.fleet-node-line{width:18px;flex:none;border-top:2px solid currentColor}.fleet-card{box-sizing:border-box}.fleet-grid,.fleet-controls,.fleet-metrics{max-width:100%;box-sizing:border-box}@media(max-width:720px){.fleet-grid{grid-template-columns:minmax(0,480px)}}@container node-status (max-width:720px){.fleet-grid{grid-template-columns:minmax(0,480px)}}


.fleet-controls{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center}.fleet-node-select{min-width:0}.fleet-status-pill{display:inline-flex;align-items:center;gap:10px;font-family:var(--display);font-size:15px;color:#fff;background:var(--card);border:1px solid var(--line);padding:11px 20px;border-radius:var(--r-control);text-decoration:none;white-space:nowrap}.fleet-status-pill .dot{width:11px;height:11px;border-radius:50%;flex-shrink:0;background:var(--mint);box-shadow:0 0 10px rgba(47,212,106,.8)}.fleet-status-pill.bad{border-color:var(--danger)}.fleet-status-pill.bad .dot{background:var(--danger);box-shadow:0 0 10px rgba(255,92,92,.8)}.fleet-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}.fleet-card-head h3{margin:0}.fleet-node-caption{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#fff}@media(max-width:720px){.fleet-controls{grid-template-columns:minmax(0,1fr) auto}.fleet-node-select{grid-column:1/-1}.fleet-status-pill{justify-self:start;white-space:normal}.fleet-ranges{justify-content:flex-end}}@media(max-width:380px){.fleet-controls{grid-template-columns:minmax(0,1fr)}.fleet-ranges{justify-content:flex-start}}

@media(max-width:720px){.fleet-status-pill{grid-column:1/-1;justify-self:center;white-space:nowrap}.fleet-ranges{grid-column:1/-1;justify-self:end}}

.fleet-node-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.fleet-node-options .fleet-check{border:1px solid var(--line);background:var(--bg);padding:8px 10px;min-height:44px;box-sizing:border-box;font-size:13px}.fleet-node-options .fleet-check:has(input:checked){border-color:var(--mint)}.fleet-node-logo{width:22px;height:22px;object-fit:contain;filter:none;flex:none}.fleet-controls{grid-template-columns:minmax(0,1fr) auto auto}@media(max-width:720px){.fleet-node-options{grid-column:1/-1}.fleet-controls{grid-template-columns:minmax(0,1fr) auto}}@container node-status (max-width:720px){.fleet-controls{grid-template-columns:minmax(0,1fr) auto}.fleet-node-options,.fleet-status-pill,.fleet-ranges{grid-column:1/-1}.fleet-status-pill{justify-self:center}}


.fleet-node-options .fleet-check{padding:8px;gap:6px;font-size:12px}.fleet-node-logo{width:20px;height:20px}

.fleet-tooltip{box-sizing:border-box;z-index:40;white-space:normal}.fleet-tooltip span{white-space:normal;overflow-wrap:anywhere}

.fleet-controls{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center}.fleet-node-options{grid-column:1;grid-row:1;justify-content:flex-start}.fleet-status-pill{grid-column:2;grid-row:1;justify-self:center;align-self:center;margin-top:0}.fleet-ranges{grid-column:3;grid-row:1;justify-self:end;flex-wrap:nowrap}@media(max-width:960px){.fleet-controls{grid-template-columns:minmax(0,1fr)}.fleet-node-options{grid-column:1;grid-row:1;justify-content:center}.fleet-status-pill{grid-column:1;grid-row:2}.fleet-ranges{grid-column:1;grid-row:3;justify-self:center}}@container node-status (max-width:920px){.fleet-controls{grid-template-columns:minmax(0,1fr)}.fleet-node-options{grid-column:1;grid-row:1;justify-content:center}.fleet-status-pill{grid-column:1;grid-row:2}.fleet-ranges{grid-column:1;grid-row:3;justify-self:center}}

.fleet-charts .fleet-check{margin:0;font-weight:400}

.fleet-controls{grid-template-columns:minmax(0,1fr) auto}.fleet-node-options{grid-column:1;grid-row:1;flex-wrap:nowrap;justify-content:flex-start}.fleet-ranges{grid-column:2;grid-row:1;justify-self:end}.fleet-status-pill{grid-column:1/-1;grid-row:2;justify-self:center}@media(max-width:720px){.fleet-controls{grid-template-columns:minmax(0,1fr)}.fleet-node-options{grid-column:1;grid-row:1;justify-content:center;flex-wrap:wrap}.fleet-status-pill{grid-column:1;grid-row:2}.fleet-ranges{grid-column:1;grid-row:3;justify-self:center}}@container node-status (max-width:720px){.fleet-controls{grid-template-columns:minmax(0,1fr)}.fleet-node-options{grid-column:1;grid-row:1;justify-content:center;flex-wrap:wrap}.fleet-status-pill{grid-column:1;grid-row:2}.fleet-ranges{grid-column:1;grid-row:3;justify-self:center}}

.fleet-controls{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}.fleet-server-menu{grid-column:1;grid-row:1;justify-self:start}.fleet-chart-menu{grid-column:3;grid-row:1;justify-self:end}.fleet-status-pill{grid-column:2;grid-row:1;justify-self:center;white-space:nowrap}.fleet-menu-control{position:relative;min-width:0}.fleet-menu-button{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--bg);color:var(--text);font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}.fleet-menu-button:hover{background:var(--card)}.fleet-menu-button:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.fleet-menu-arrow{font-size:12px;color:var(--muted)}.fleet-menu-panel{position:absolute;top:calc(100% + 6px);left:0;z-index:60;display:flex;flex-direction:column;align-items:stretch;gap:4px;width:max-content;max-width:calc(100vw - 32px);padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 12px 32px #0006}.fleet-menu-panel[hidden]{display:none}.fleet-chart-menu .fleet-menu-panel{left:auto;right:0}.fleet-menu-panel .fleet-check{min-height:40px;border-color:transparent;background:transparent;justify-content:flex-start;font-size:13px}.fleet-menu-panel .fleet-check:hover{background:var(--card2)}.fleet-menu-panel .fleet-check:has(input:checked){border-color:transparent;color:var(--text)}@media(max-width:760px){.fleet-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.fleet-server-menu{grid-column:1;grid-row:1}.fleet-chart-menu{grid-column:2;grid-row:1}.fleet-status-pill{grid-column:1/-1;grid-row:2}}@container node-status (max-width:720px){.fleet-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.fleet-server-menu{grid-column:1;grid-row:1}.fleet-chart-menu{grid-column:2;grid-row:1}.fleet-status-pill{grid-column:1/-1;grid-row:2}}

.fleet-menu-button{font-size:15px}

.fleet-menu-button{font-family:var(--display);font-size:15px;font-weight:400;gap:8px;padding:10px 12px}@media(min-width:761px) and (max-width:800px){.fleet-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.fleet-server-menu{grid-column:1;grid-row:1}.fleet-chart-menu{grid-column:2;grid-row:1}.fleet-status-pill{grid-column:1/-1;grid-row:2}}@container node-status (min-width:721px) and (max-width:760px){.fleet-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.fleet-server-menu{grid-column:1;grid-row:1}.fleet-chart-menu{grid-column:2;grid-row:1}.fleet-status-pill{grid-column:1/-1;grid-row:2}}

.fleet-card-centered{grid-column:1/-1;justify-self:center;width:calc((100% - 14px)/2)}@media(max-width:720px){.fleet-card-centered{width:100%}}@container node-status (max-width:720px){.fleet-card-centered{width:100%}}

/* Keep the status above edge-aligned selectors when the control row wraps. */
.fleet-charts{container-type:inline-size;container-name:fleet-controls}
.fleet-status-pill.bad{border-color:var(--line)}
.fleet-controls{width:100%;max-width:974px;margin-left:auto;margin-right:auto}
.fleet-charts:has(.fleet-single) .fleet-controls{max-width:480px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.fleet-charts:has(.fleet-single) .fleet-status-pill{grid-column:1/-1;grid-row:1}
.fleet-charts:has(.fleet-single) .fleet-server-menu{grid-column:1;grid-row:2}
.fleet-charts:has(.fleet-single) .fleet-chart-menu{grid-column:2;grid-row:2}
@container fleet-controls (max-width:800px){
 .fleet-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .fleet-status-pill{grid-column:1/-1;grid-row:1;justify-self:center}
 .fleet-server-menu{grid-column:1;grid-row:2;justify-self:start}
 .fleet-chart-menu{grid-column:2;grid-row:2;justify-self:end}
}
@container fleet-controls (max-width:720px){
 .fleet-grid{grid-template-columns:minmax(0,480px)}
 .fleet-card-centered{width:100%}
 .fleet-controls{width:100%;max-width:480px;margin-left:auto;margin-right:auto}
}

.fleet-metrics{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;width:100%;max-width:974px;margin:0 auto 16px;padding:4px;box-sizing:border-box}
.fleet-metrics::-webkit-scrollbar{display:none}
.fleet-metrics .fleet-check{flex:none}
.fleet-charts:has(.fleet-single) .fleet-metrics{max-width:480px}
@container fleet-controls (max-width:720px){.fleet-metrics{max-width:480px}}

.fleet-charts .fleet-controls{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.fleet-charts .fleet-controls .fleet-server-menu{grid-column:1;grid-row:1;justify-self:start}
.fleet-charts .fleet-controls .fleet-status-pill{grid-column:2;grid-row:1;justify-self:center}
.fleet-charts .fleet-controls .fleet-chart-menu{grid-column:3;grid-row:1;justify-self:end}
.fleet-charts .fleet-controls.fleet-controls-stacked{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.fleet-charts .fleet-controls-stacked .fleet-status-pill{grid-column:1/-1;grid-row:1}
.fleet-charts .fleet-controls-stacked .fleet-server-menu{grid-column:1;grid-row:2}
.fleet-charts .fleet-controls-stacked .fleet-chart-menu{grid-column:2;grid-row:2}

.fleet-controls-stacked .fleet-menu-button{max-width:100%;white-space:normal;text-align:left}
.fleet-controls-stacked .fleet-menu-control{align-self:stretch;display:flex}
.fleet-charts .fleet-controls-stacked .fleet-menu-control{width:100%}
.fleet-controls-stacked .fleet-menu-button{width:100%;min-width:0}

/* Neutral metric fields; series colors appear only in the small line keys. */
.fleet-metrics .fleet-check{flex:none;gap:8px;min-height:40px;box-sizing:border-box;padding:8px 12px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--bg2);color:var(--muted);font-family:var(--sans);font-size:14px;line-height:20px;transition:color 150ms,border-color 150ms,background-color 150ms}
.fleet-metrics .fleet-check:has(input:checked){background:var(--card);border-color:var(--line2);color:var(--text)}
.fleet-metrics .fleet-check:hover{background:var(--card2);border-color:var(--line2);color:var(--text)}
.fleet-metrics .fleet-check::after{content:"";width:14px;flex:none;border-top:2px solid var(--fleet-metric-color);margin-left:4px}
.fleet-metrics .fleet-check:has(input:focus-visible){outline:2px solid var(--mint);outline-offset:-2px}
@media(prefers-reduced-motion:reduce){.fleet-metrics .fleet-check{transition:none}}

.fleet-node-logo[src$="/amd-symbol.svg"]{width:20px;height:20px;object-fit:contain}

/* Hover details float outside the chart card without changing its dimensions. */
.fleet-tooltip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;line-height:1.4;box-shadow:none}
.fleet-tooltip>span:first-child{grid-column:1/-1;color:var(--muted);font-variant-numeric:tabular-nums}

.fleet-tooltip-metric{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.35em}.fleet-tooltip .fleet-tooltip-label{display:inline;min-width:0}.fleet-tooltip .fleet-tooltip-value{display:inline;white-space:nowrap}
