#fleet-board {
 --fu-base:var(--card,#fff); --fu-ink:var(--ink,#162e46); --fu-mut:var(--mut,#53657a);
 --fu-line:var(--line,#dce5ec); --fu-soft:var(--soft,#edf2f7); --fu-blue:#275f9b;
 --fu-teal:#166a5b; --fu-coral:#a23e39; --fu-gold:#885b0e; --fu-slate:#56667a;
 container-type:inline-size; min-width:0; color:var(--fu-ink); font-variant-numeric:tabular-nums;
 display:grid; gap:16px;
}
body.dark #fleet-board { --fu-blue:#a4cdff; --fu-teal:#85dcc8; --fu-coral:#ffafa2; --fu-gold:#f6d389; --fu-slate:#c0cede }
#fleet-board :is(h1,h2,h3,p,dl,dd){margin:0}
#fleet-board :is(.fu-title,.fu-section-head,.fu-player-head,.fu-detail-head,.fu-tabs,.fu-detail-actions,.fu-unit-head,.fu-readout) {display:flex;align-items:center;gap:9px;flex-wrap:wrap}
#fleet-board .fu-title,#fleet-board .fu-section-head,#fleet-board .fu-player-head,#fleet-board .fu-detail-head,#fleet-board .fu-unit-head {justify-content:space-between}
#fleet-board h1 {font-size:clamp(1.68rem,3.2vw,2.3rem);letter-spacing:-.045em;line-height:1.1}
#fleet-board .fu-title p,#fleet-board .fu-detail-head p {color:var(--fu-mut);margin-top:5px;font-size:.92rem}
#fleet-board .fu-asof {display:flex;align-items:center;gap:9px;background:var(--fu-base);padding:8px 13px;border-radius:14px;color:var(--fu-mut);font-size:.75rem;line-height:1.32}
#fleet-board .fu-asof strong {display:block;color:var(--fu-ink);font-size:.82rem}
#fleet-board .fu-asof i {width:8px;height:8px;border-radius:100%;background:#e4b23a;box-shadow:0 0 0 4px #e4b23a20}
#fleet-board .fu-kpis {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
#fleet-board .fu-kpi {--fu-accent:var(--fu-blue);position:relative;display:grid;gap:5px;min-width:0;background:var(--fu-base);background:linear-gradient(125deg,color-mix(in srgb,var(--fu-accent) 12%,var(--fu-base)),var(--fu-base));border-radius:15px;padding:14px;box-shadow:0 5px 14px #0a264708}
#fleet-board .fu-kpi[data-tone=working],#fleet-board .fu-kpi[data-tone=inside] {--fu-accent:var(--fu-teal)}
#fleet-board .fu-kpi[data-tone=outside] {--fu-accent:var(--fu-coral)}
#fleet-board .fu-kpi[data-tone=offline] {--fu-accent:var(--fu-slate)}
#fleet-board .fu-kpi>span:not(.fu-symbol) {color:var(--fu-accent);font-size:.81rem;font-weight:600;padding-right:26px}
#fleet-board .fu-kpi>strong {font-size:clamp(1.55rem,2.85vw,2.25rem);line-height:1;letter-spacing:-.04em}
#fleet-board .fu-symbol {display:grid;place-items:center;position:absolute;right:12px;top:12px;width:27px;height:27px;border-radius:9px;color:var(--fu-accent);background:color-mix(in srgb,var(--fu-accent) 12%,var(--fu-base))}
#fleet-board :is(.fu-symbol,.fu-search,.fu-buttons button,.fu-section-head button,.fu-detail-actions button) svg {width:16px;height:16px;flex:none}
#fleet-board .fu-filters {display:grid;grid-template-columns:minmax(150px,1.6fr) repeat(3,minmax(115px,1fr)) auto;gap:10px;align-items:end;background:var(--fu-base);border-radius:15px;padding:12px 14px}
#fleet-board .fu-field {min-width:0;display:grid;gap:4px;font-weight:600;color:var(--fu-mut);font-size:.78rem}
#fleet-board .fu-field input,#fleet-board .fu-field select,#fleet-board .fu-field .select2-container {box-sizing:border-box;min-width:0;width:100%!important;font-family:inherit}
#fleet-board .fu-field .select2-selection {min-width:0}
#fleet-board .fu-filters button,#fleet-board .fu-section-head button,#fleet-board .fu-detail-actions button {min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:.8rem;padding:6px 14px}
#fleet-board .fu-workspace {display:grid;grid-template-columns:minmax(0,2.17fr) minmax(215px,.86fr);gap:14px;align-items:stretch;min-width:0}
#fleet-board :is(.fu-map-panel,.fu-units,.fu-detail-card,.fu-record-panel) {min-width:0;background:var(--fu-base);border-radius:18px;box-shadow:0 3px 18px #182f4510}
#fleet-board .fu-map-panel {display:flex;flex-direction:column;overflow:hidden}
#fleet-board [data-fu-map] {min-width:0;flex:1}
#fleet-board .fu-units {padding:16px;display:flex;flex-direction:column;gap:10px}
#fleet-board :is(.fu-section-head,.fu-detail-head) h2 {font-size:1.15rem;letter-spacing:-.025em}
#fleet-board .fu-count,#fleet-board .fu-tabs b {background:var(--fu-soft);padding:2px 9px;border-radius:99px;color:var(--fu-ink);font-size:.8rem}
#fleet-board .fu-search {position:relative;display:flex;align-items:center;color:var(--fu-mut)}
#fleet-board .fu-search svg {position:absolute;left:12px;pointer-events:none}
#fleet-board .fu-search input {min-width:0;width:100%;height:37px;padding-inline-start:36px}
#fleet-board .fu-roster {overflow:auto;display:grid;gap:3px;align-content:start;min-height:260px;max-height:clamp(325px,48vh,510px);scrollbar-width:thin}
#fleet-board .fu-unit {display:grid;gap:3px;width:100%;box-sizing:border-box;text-align:left;padding:9px 10px;border:1px solid transparent;background:transparent;color:var(--fu-ink);border-radius:11px!important;justify-content:stretch;line-height:1.3}
#fleet-board .fu-unit:hover,#fleet-board .fu-unit:focus-visible {background:var(--fu-soft)}
#fleet-board .fu-unit[aria-pressed=true] {background:color-mix(in srgb,var(--fu-blue) 9%,var(--fu-base));border-color:color-mix(in srgb,var(--fu-blue) 45%,transparent)}
#fleet-board .fu-unit strong {font-size:.91rem;overflow-wrap:anywhere}
#fleet-board .fu-unit-head b,#fleet-board .fu-id {color:var(--fu-blue);font-size:.74rem;font-weight:700}
#fleet-board .fu-unit-sub,#fleet-board .fu-unit-time {color:var(--fu-mut);font-size:.73rem;overflow-wrap:anywhere}
#fleet-board .fu-unit-head {gap:4px}
#fleet-board .fu-badge {--fu-tone:var(--fu-slate);display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:999px;line-height:1.2;font-size:.72rem;font-weight:650;background:color-mix(in srgb,var(--fu-tone) 12%,var(--fu-base));color:var(--fu-tone);white-space:nowrap}
#fleet-board .fu-badge::before {content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
#fleet-board .fu-badge:is([data-tone=inside],[data-tone=working]) {--fu-tone:var(--fu-teal)}
#fleet-board .fu-badge[data-tone=outside] {--fu-tone:var(--fu-coral)}
#fleet-board .fu-badge[data-tone=moving] {--fu-tone:var(--fu-blue)}
#fleet-board .fu-badge[data-tone=idle] {--fu-tone:var(--fu-gold)}
#fleet-board .fu-transport {border-top:1px solid var(--fu-line);padding:13px 16px}
#fleet-board .fu-player-head b {font-size:.9rem}
#fleet-board .fu-player-head span {font-size:.8rem;color:var(--fu-mut)}
#fleet-board .fu-player {display:flex;align-items:center;gap:10px;margin-top:8px}
#fleet-board .fu-player input {flex:1;min-width:40px;accent-color:var(--fu-blue)}
#fleet-board .fu-buttons {display:flex;gap:4px}
#fleet-board .fu-buttons button {display:grid;place-items:center;width:34px;height:34px;padding:0;color:var(--fu-ink)}
#fleet-board .fu-buttons [data-fu-action=play] {background:#ffd255;border-color:transparent;color:#15304c}
#fleet-board button:disabled {opacity:.57}
#fleet-board .fu-detail-card,#fleet-board .fu-record-panel {padding:clamp(16px,2.1vw,23px)}
#fleet-board .fu-detail-head h2 {font-size:1.24rem;margin-top:4px}
#fleet-board .fu-detail-actions {gap:6px}
#fleet-board .fu-specs {margin:15px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#fleet-board .fu-specs>div {background:var(--fu-soft);border-radius:11px;min-width:0;padding:10px 12px}
#fleet-board dt {font-size:.75rem;color:var(--fu-mut);margin-bottom:4px}
#fleet-board dd {font-weight:600;line-height:1.25;font-size:.95rem;overflow-wrap:anywhere}
#fleet-board .fu-readout {font-size:.8rem;gap:6px 12px;color:var(--fu-mut)}
#fleet-board .fu-readout b {color:var(--fu-ink)}
#fleet-board .fu-tabs {margin:12px 0 15px}
#fleet-board .fu-tabs button {display:flex;gap:7px;align-items:center;padding:6px 10px;font-size:.83rem}
#fleet-board .fu-tabs button[aria-pressed=true] {background:var(--fu-ink);border-color:transparent;color:var(--fu-base)}
#fleet-board .fu-table-wrap {max-height:350px;overflow:auto}
#fleet-board .fu-table-wrap tr.fu-active {background:color-mix(in srgb,var(--fu-blue) 10%,var(--fu-base))}
#fleet-board .fu-table-wrap tr[data-fu-fix] {cursor:pointer}
#fleet-board .fu-time {min-height:26px;border:0;padding:2px 6px;background:transparent;color:var(--fu-blue);text-decoration:underline;text-underline-offset:3px}
#fleet-board .fu-empty {font-size:.9rem;color:var(--fu-mut);padding:12px}
.fu-radius-editor {display:grid;gap:10px}
.fu-radius-editor p {margin:0;color:var(--mut)}
.fu-radius-editor label {display:grid;gap:5px;font-weight:600}
.fu-radius-editor input {width:100%;box-sizing:border-box}
.fu-radius-editor small {color:var(--mut);line-height:1.45}
.fu-radius-editor [role=alert] {color:#b94740}
body.dark .fu-radius-editor [role=alert] {color:#ffafa3}
.fu-radius-editor>div:last-child {display:flex;gap:8px;justify-content:flex-end}
@container(max-width:760px){
 #fleet-board .fu-filters {grid-template-columns:repeat(2,minmax(0,1fr))}
 #fleet-board .fu-filters>button {justify-self:start}
 #fleet-board .fu-workspace {grid-template-columns:1fr}
 #fleet-board .fu-roster {grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));min-height:0;max-height:235px}
 #fleet-board .fu-kpis {grid-template-columns:repeat(3,minmax(0,1fr))}
 #fleet-board .fu-specs {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container(max-width:440px){
 #fleet-board .fu-kpis {gap:6px}
 #fleet-board .fu-symbol {position:static;width:24px;height:24px}
 #fleet-board .fu-kpi {padding:10px;gap:4px}
 #fleet-board .fu-kpi>span:not(.fu-symbol) {padding-right:0}
 #fleet-board .fu-kpi>strong {font-size:1.55rem}
 #fleet-board .fu-field {font-size:.73rem}
 #fleet-board .fu-units {padding:13px}
 #fleet-board .fu-roster {grid-template-columns:1fr}
}
#fleet-board {grid-template-columns:minmax(0,1fr)}
#fleet-board > *,#fleet-board .fu-record-panel,#fleet-board .fu-records .pt-controls {min-width:0;max-width:100%;box-sizing:border-box}
#fleet-board .fu-table-wrap {width:100%;max-width:100%;box-sizing:border-box;overflow:auto}
#fleet-board .fu-field,#fleet-board .pt-editor label {position:relative}
#fleet-board .select2-hidden-accessible {inset-inline-start:0!important;top:0!important}
