
.swg-resources{--gap:12px;--radius:10px;--bg:rgba(10,20,35,.6);--border:rgba(255,255,255,.08);color:#e6eef6;font-family:sans-serif}
.swg-controls{display:flex;gap:var(--gap);flex-wrap:wrap;margin:10px 0 16px}
.swg-controls .swg-search{flex:1 1 220px;min-width:220px;padding:10px 12px;border-radius:var(--radius);border:1px solid var(--border);background:#0d1524;color:#e6eef6}
.swg-controls select{padding:10px 12px;border-radius:var(--radius);border:1px solid var(--border);background:#0d1524;color:#e6eef6}
.swg-buttons{display:flex;gap:8px}
.swg-btn{padding:10px 14px;border-radius:999px;border:1px solid var(--border);background:#0f1b2f;color:#cfe3ff;cursor:pointer}
.swg-btn:hover{background:#142443}
.swg-table-wrap{overflow-x:auto;overflow-y:visible;border:1px solid var(--border);border-radius:12px;background:var(--bg)}
.swg-table{width:100%;border-collapse:separate;border-spacing:0}
.swg-table thead th{
  position:sticky;
  top:var(--sticky-top,0);
  z-index:10;
  background:#0b1428;
  color:#bcd3f5;
  text-align:left;
  font-weight:600;
  padding:10px 12px;
  border-bottom:1px solid var(--border);
  white-space:nowrap;
  box-shadow:0 2px 0 rgba(0,0,0,.25);
}
.swg-table tbody td{padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:middle}
.swg-table tbody tr:hover{background:rgba(255,255,255,.03)}
.swg-badge{display:inline-block;padding:.15rem .5rem;border-radius:8px;border:1px solid var(--border);background:#0f1b2f;color:#cfe3ff;font-size:.85em}
.swg-status-active{color:#7dffa5}
.swg-status-depleted{color:#ff7d7d}
.swg-stat{border-radius:8px;text-align:center;min-width:48px;font-variant-numeric:tabular-nums;color:#0b111b;font-weight:700}
.swg-muted{opacity:.7}
.swg-loadmore-wrap{margin:12px 0}

/* v1.4.9b: add stat abbreviations before numeric chips via CSS only */
.swg-table tbody tr td:nth-child(5)::before  { content: "CR "; color:#cbd5e1; font-weight:600; margin-right:4px; }
.swg-table tbody tr td:nth-child(6)::before  { content: "CD "; color:#cbd5e1; font-weight:600; margin-right:4px; }
.swg-table tbody tr td:nth-child(7)::before  { content: "DR "; color:#cbd5e1; font-weight:600; margin-right:4px; }
.swg-table tbody tr td:nth-child(8)::before  { content: "HR "; color:#cbd5e1; font-weight:600; margin-right:4px; }
.swg-table tbody tr td:nth-child(9)::before  { content: "MA "; color:#cbd5e1; font-weight:600; margin-right:4px; }
.swg-table tbody tr td:nth-child(10)::before { content: "OQ "; color:#cbd5e1; font-weight:600; margin-right:4px; }
.swg-table tbody tr td:nth-child(11)::before { content: "SR "; color:#cbd5e1; font-weight:600; margin-right:4px; }
.swg-table tbody tr td:nth-child(12)::before { content: "UT "; color:#cbd5e1; font-weight:600; margin-right:4px; }
.swg-table tbody tr td:nth-child(13)::before { content: "FL "; color:#cbd5e1; font-weight:600; margin-right:4px; }
.swg-table tbody tr td:nth-child(14)::before { content: "PE "; color:#cbd5e1; font-weight:600; margin-right:4px; }
.swg-table tbody tr td:nth-child(15)::before { content: "ER "; color:#cbd5e1; font-weight:600; margin-right:4px; }
