/* ====== Turnaround and overdue jobs (js/turnaround.js) ====== */
/* The tag on providers' job lists */
.overdue-tag{display:inline-flex;align-items:center;gap:4px;margin-left:8px;font-size:11px;font-weight:600;color:var(--red);background:var(--red-bg);padding:2px 8px;border-radius:20px;vertical-align:1px;white-space:nowrap}
.overdue-tag svg{width:11px;height:11px}
/* "Usually back within 24 hours": the upload page, and a job waiting for the tuner */
.ta-note{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-secondary);background:var(--surface-hover);border-radius:var(--radius-xs);padding:9px 12px;margin-bottom:14px}
.ta-note svg{width:15px;height:15px;flex-shrink:0;color:var(--accent)}
.ta-upload{margin-bottom:16px}
/* The customer's box on an overdue job */
.ta-box{background:var(--orange-bg);border-color:rgba(255,159,10,.3)}
.ta-box .decision-title{display:flex;align-items:flex-start;gap:8px;color:var(--warn-text)}
.ta-box .decision-title svg{width:16px;height:16px;flex-shrink:0;margin-top:1px}
.decision-box.ta-box p.ta-asked{margin-bottom:0;color:var(--text-primary)}
.ta-contact{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,159,10,.3);font-size:12.5px;color:var(--text-secondary)}
/* The dealer's (or partner's) box */
.handoff-box.ta-overdue{border-color:rgba(255,59,48,.35);background:var(--red-bg)}
.handoff-box.ta-overdue > svg{color:var(--red)}
/* The admin: overdue jobs across every dealer (Queue) */
.ta-admin{max-width:none;margin-bottom:16px}
.ta-admin .settings-title .pill{margin-left:6px}
.ta-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;font:inherit;color:inherit;background:none;border:0;border-top:1px solid var(--border-light);padding:10px 0;cursor:pointer;min-width:0}
.ta-row:hover strong{color:var(--accent)}
.ta-row-main{min-width:0;flex:1}
.ta-row-main strong{display:block;font-size:13.5px;font-weight:600}
.ta-row-main span{display:block;font-size:12px;color:var(--text-tertiary);overflow-wrap:anywhere}
.ta-row .pill{flex-shrink:0;white-space:normal;text-align:center;max-width:45%}
#turnaroundCard select{flex:1;min-width:0}
:root[data-theme="dark"] .ta-box{border-color:rgba(255,159,10,.35)}
