/* AGS Barter — minimal overrides on top of Pico.css */
:root {
  --pico-form-element-spacing-vertical: 0.6rem;
}
article > header h2 { margin-bottom: 0.5rem; }

/* ── P5: account status badges ─────────────────────────────────────────────── */
/* Pico ships semantic colour variables (--pico-color, --pico-muted-color,
   --pico-form-element-invalid-border-color, etc.) but NOT a full numbered palette
   (no --pico-color-green-100 / -900 keys in the bundled pico.min.css). To stay
   within Pico's visual language without pulling in a new palette dependency, the
   .badge-* classes below use small hex tints derived from Pico's accent colours;
   text colours route through Pico's semantic --pico-color where appropriate. */
.badge {
  display: inline-block;
  padding: 0.15em 0.5em;
  border-radius: 0.25em;
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.4;
}
.badge-active          { background: #d1f4d6; color: #14532d; }
.badge-auth-required   { background: #ffe4b5; color: #7c2d12; }
.badge-flood-wait      { background: #fff3bf; color: #713f12; }
.badge-quarantined     { background: #fecaca; color: #450a0a; }
.badge-error           { background: #fee2e2; color: #7f1d1d; }
.badge-disconnected    { background: #e2e8f0; color: var(--pico-muted-color); }
.badge-onboarding-lost { background: #e2e8f0; color: var(--pico-muted-color); }
.badge-onboarding      { background: #dbeafe; color: #1e3a8a; }
.badge-unknown         { background: #e2e8f0; color: var(--pico-muted-color); }

/* P5 D5-06 — 24h inactivity highlight for active accounts */
tr.stale { background: rgba(255, 180, 0, 0.06); }
.muted   { color: var(--pico-muted-color); font-size: 0.8em; }
