/* Tab Sweeper: night navy with one gold action, matching the Double R Studios brand. */
.sweeper {
  --sw-bg: #0f1733;
  --sw-raised: #1a2550;
  --sw-ink: #f6f2e7;
  --sw-muted: #b9c2dc;
  --sw-gold: #f4c042;
  --sw-gold-hover: #ffd566;
  --sw-on-gold: #1c1400;
  --sw-line: rgba(255, 255, 255, .14);
  box-sizing: border-box;
  width: 320px;
  padding: 16px;
  display: grid;
  gap: 12px;
  background: var(--sw-bg);
  color: var(--sw-ink);
  font: 14px/1.4 "Segoe UI", system-ui, sans-serif;
}
.sweeper * { box-sizing: border-box; }
body { margin: 0; background: #0f1733; }
.sw-head h1 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: .01em; }
.sw-count { margin: 2px 0 0; color: var(--sw-muted); font-variant-numeric: tabular-nums; }
.sw-sweep {
  min-height: 40px; padding: 8px 12px; cursor: pointer;
  font: 700 14px/1 "Segoe UI", system-ui, sans-serif;
  color: var(--sw-on-gold); background: var(--sw-gold);
  border: 0; border-radius: 6px;
}
.sw-sweep:hover:not(:disabled) { background: var(--sw-gold-hover); }
.sw-sweep:focus-visible { outline: 2px solid var(--sw-ink); outline-offset: 2px; }
.sw-sweep:disabled { cursor: default; color: var(--sw-muted); background: var(--sw-raised); }
.sw-done { margin: 0; min-height: 0; color: var(--sw-gold); font-weight: 600; }
.sw-done:empty { display: none; }
.sw-section h2 {
  margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--sw-muted);
}
.sw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sw-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center;
  padding: 6px 8px; background: var(--sw-raised); border-radius: 4px;
}
.sw-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-badge { font-variant-numeric: tabular-nums; color: var(--sw-gold); font-weight: 700; }
.sw-empty { color: var(--sw-muted); background: none !important; padding-inline: 0 !important; }
