/* Warranty claims: status pills + claim editor bits. Layout comes from po.css. */
.wc-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.3px; text-transform: uppercase; white-space: nowrap; }
.wc-status.draft   { background: rgba(107,114,128,0.15); color: var(--text-2); }
.wc-status.pending { background: rgba(59,130,246,0.14);  color: #3b82f6; }
.wc-status.active  { background: rgba(23,175,165,0.14);  color: var(--primary); }
.wc-status.warn    { background: rgba(245,158,11,0.15);  color: var(--orange); }
.wc-status.bad     { background: rgba(239,68,68,0.12);   color: var(--red); }
.wc-status.good    { background: rgba(16,185,129,0.14);  color: var(--green); }

.wc-aging-old { color: var(--red); font-weight: 600; }
.wc-muted { color: var(--text-3); font-size: 13px; }
.wc-empty { color: var(--text-3); font-size: 13px; text-align: center; padding: 22px 12px; border: 1px dashed var(--border-2); border-radius: 10px; }

/* Claim editor */
.wc-section-title { font-family: 'Inter Tight', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-1); margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wc-lines { width: 100%; border-collapse: collapse; font-size: 13px; }
.wc-lines th { text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-3); padding: 6px 6px; border-bottom: 1px solid var(--border); }
.wc-lines td { padding: 6px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.wc-lines td.num, .wc-lines th.num { text-align: right; white-space: nowrap; }
.wc-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.wc-total { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.wc-total .k { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-3); }
.wc-total .v { font-family: 'Inter Tight', sans-serif; font-size: 18px; font-weight: 700; color: var(--text-1); margin-top: 4px; }
.wc-checklist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.wc-check { font-size: 12px; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border-2); color: var(--text-2); }
.wc-check.done { border-color: var(--green); color: var(--green); }
.wc-history { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.wc-history li { padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--text-2); }
.wc-history li:last-child { border-bottom: none; }
.wc-btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) { .wc-lines { display: block; overflow-x: auto; } #filterTabs { flex-wrap: wrap; } }
