.assets-panel {
  --panel: #0d1624; --line: #26394e; --muted: #91a8bf; --text: #edf3fa; --cyan: #89eef2;
  color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 7px;
  display: flex; flex-direction: column; min-width: 260px; max-height: 100%; overflow: hidden;
  font: 13px/1.3 "Avenir Next", "Segoe UI", system-ui, sans-serif; color-scheme: dark;
}
.assets-panel *, .assets-panel *::before, .assets-panel *::after { box-sizing: border-box; }
.assets-panel button, .assets-panel input, .assets-panel select { font: inherit; color: inherit; }
.assets-panel button { min-height: 30px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; }
.assets-panel button:hover:not(:disabled), .assets-panel button.is-active { border-color: #4c7183; background: #142c38; }
.assets-panel button:focus-visible, .assets-panel input:focus-visible, .assets-panel select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.assets-panel button:disabled { cursor: not-allowed; opacity: .52; }
.assets-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 12px 13px 9px; border-bottom: 1px solid var(--line); }
.assets-title { display: grid; gap: 3px; }.assets-kicker, .asset-group-heading, .assets-filter span { color: var(--muted); font: 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.assets-title h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; }.assets-count { color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.assets-controls { display: grid; gap: 7px; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.assets-controls input { min-width: 0; min-height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; background: #09111c; }.assets-segment { display: flex; gap: 4px; }.assets-segment button { flex: 1; color: var(--muted); font-size: 11px; }.assets-segment button.is-active { color: var(--cyan); }
.assets-filter-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }.assets-filter { display: grid; gap: 3px; min-width: 0; }.assets-filter select { width: 100%; min-height: 29px; padding: 0 4px; border: 1px solid var(--line); border-radius: 3px; background: #0a1320; font-size: 11px; }
.assets-actions { display: flex; gap: 5px; }.assets-actions button { flex: 1; color: var(--muted); font-size: 11px; }.assets-actions .primary { color: var(--cyan); border-color: #406e78; }
.assets-summary { min-height: 28px; padding: 7px 12px; color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; border-bottom: 1px solid var(--line); }
.assets-list { min-height: 0; overflow: auto; padding: 4px 7px 12px; scrollbar-color: #466279 var(--panel); }.asset-group { margin-top: 7px; }.asset-group-heading { display: flex; justify-content: space-between; gap: 8px; padding: 3px 5px; }.group-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-row, .fleet-row { display: flex; align-items: stretch; gap: 3px; min-width: 0; margin: 2px 0; }.asset-main, .fleet-main { display: flex; align-items: center; gap: 7px; min-width: 0; flex: 1; padding: 5px 7px; text-align: left; }.asset-main.is-selected, .fleet-main[aria-pressed="true"] { border-color: #406e78; background: #142c38; }.asset-glyph, .fleet-mark { flex: 0 0 16px; color: var(--cyan); text-align: center; }.asset-storage, .asset-sensor { color: #b9c5ff; }.asset-copy { min-width: 0; display: grid; gap: 2px; }.asset-name, .fleet-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }.asset-meta, .fleet-count { color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.asset-action, .fleet-disclosure { flex: 0 0 auto; min-width: 32px; padding: 0 5px; color: var(--muted); font-size: 10px; }.fleet-action { font-size: 15px; }.fleet-block { min-width: 0; }.fleet-main { gap: 6px; }.fleet-count { margin-left: auto; }.fleet-selection { flex: 0 0 auto; font: 9px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); }.fleet-selection.all { color: var(--cyan); }.fleet-selection.partial { color: #ffc47c; }.fleet-actions { display: flex; align-items: center; }.fleet-disband { min-height: 25px !important; padding: 0 5px; color: #ffae9d; border-color: transparent !important; }.fleet-members { margin-left: 10px; padding-left: 5px; border-left: 1px solid var(--line); }
@media (max-width: 460px) { .assets-panel { min-width: 0; }.assets-filter-row { grid-template-columns: 1fr 1fr; }.fleet-count { display: none; }.asset-action { min-width: 29px; padding-inline: 3px; } }
.fleet-filter-note { padding: 4px 7px; color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
@media (prefers-reduced-motion: reduce) { .assets-panel *, .assets-panel *::before, .assets-panel *::after { scroll-behavior: auto !important; transition: none !important; } }

.assets-summary-row { display: flex; align-items: center; justify-content: space-between; min-height: 27px; gap: 5px; }
.assets-summary-row .assets-summary { flex: 1 1 auto; }
.assets-summary-row .clear-filters { font-size: 10px; min-height: 25px; flex: 0 0 auto; }

.asset-cargo-match { color: #ffd091; font: 10px/1.35 var(--mono); overflow-wrap: anywhere; }

.assets-panel .asset-glyph, .assets-panel .fleet-mark { color: var(--owned-color, var(--cyan)); }
