/* Shared semantic status palette. Meaning is conveyed by text and symbols as well as color. */
:root {
  --status-ready-bg:#e2f2e8; --status-ready-border:#85bd9a; --status-ready-text:#1f5b3c;
  --status-action-bg:#a43b36; --status-action-border:#7e2824; --status-action-text:#ffffff;
  --status-open-bg:#fff1bd; --status-open-border:#d09b29; --status-open-text:#674604;
  --status-ai-bg:#e6eef9; --status-ai-border:#91add3; --status-ai-text:#244d80;
  --status-partial-bg:#eee5f8; --status-partial-border:#b89bd7; --status-partial-text:#604080;
  --status-neutral-bg:#edf0f3; --status-neutral-border:#b8c1cb; --status-neutral-text:#4d5b69;
}
.status-tag {
  display:inline-flex; align-items:center; gap:5px; min-height:25px; margin:3px 5px 3px 0;
  padding:3px 8px; border:1px solid transparent; border-radius:6px; font-size:12px;
  font-weight:700; line-height:1.4; text-decoration:none; white-space:nowrap;
}
.status-tag::before { display:inline-grid; place-items:center; min-width:13px; font-weight:800; }
.status-tag-ready, .status-tag-confirmed { background:var(--status-ready-bg); border-color:var(--status-ready-border); color:var(--status-ready-text); }
.status-tag-ready::before, .status-tag-confirmed::before { content:'✓'; }
.status-tag-pending, .status-tag-error { background:var(--status-action-bg); border-color:var(--status-action-border); color:var(--status-action-text); }
.status-tag-pending::before, .status-tag-error::before { content:'!'; }
.status-tag-unconfirmed, .status-tag-duplicate { background:var(--status-open-bg); border-color:var(--status-open-border); color:var(--status-open-text); }
.status-tag-unconfirmed::before { content:'?'; }
.status-tag-duplicate::before { content:'↔'; }
.status-tag-ai { background:var(--status-ai-bg); border-color:var(--status-ai-border); color:var(--status-ai-text); }
.status-tag-ai::before { content:'AI'; font-size:9px; }
.status-tag-partial { background:var(--status-partial-bg); border-color:var(--status-partial-border); color:var(--status-partial-text); }
.status-tag-partial::before { content:'…'; }
.status-tag-excluded, .status-tag-neutral { background:var(--status-neutral-bg); border-color:var(--status-neutral-border); color:var(--status-neutral-text); }
.status-tag-excluded::before, .status-tag-neutral::before { content:'−'; }
a.status-tag:hover { filter:brightness(.95); text-decoration:underline; }
