/* Reuse member.css variables and operations table/pager components. */
.overdue-chart-card { padding:20px 22px 12px; margin-bottom:16px; }
.overdue-chart-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.overdue-chart-head h3 { font-size:15px; margin:0; }
.overdue-chart-layout { display:grid; grid-template-columns:1fr 1fr; gap:36px; max-width:930px; margin:0 auto; align-items:center; }
#overdue-donut { display:block; width:100%; height:238px; }
#overdue-donut text { font-family:inherit; }
.overdue-legend { padding-right:16px; }
.overdue-legend-row { display:grid; grid-template-columns:1.8fr .7fr .7fr; gap:14px; align-items:center; min-height:39px; border-bottom:1px solid var(--border); font-size:13px; }
.overdue-legend-head { color:var(--text-light); font-size:12px; border:0; }
.overdue-legend-row strong { font-size:16px; font-variant-numeric:tabular-nums; }
.overdue-legend-row small { font-size:12px; font-weight:400; }
.overdue-stage { display:inline-flex; gap:8px; align-items:center; white-space:nowrap; }
.overdue-stage i { display:inline-block; width:6px; height:6px; flex-shrink:0; border-radius:50%; }
.overdue-legend-note,.overdue-source,.overdue-rule { font-size:11px; color:var(--text-light); line-height:1.7; margin:10px 0 0; }
.overdue-source { margin-top:0; }
table.list.overdue-table { min-width:1280px; }
.overdue-table td:not(:nth-child(6)):not(:nth-child(8)) { white-space:nowrap; }
.overdue-table td:nth-child(6) { max-width:260px; overflow-wrap:anywhere; }
.overdue-pending { display:flex; justify-content:space-between; align-items:center; gap:12px; background:#fffaf0; border:1px solid #f2e9d2; border-radius:var(--radius-sm); color:#736243; padding:10px 14px; font-size:12px; margin-top:16px; }
.overdue-pending button { color:var(--primary-dark); white-space:nowrap; border:0; }
.overdue-review-reason { display:block; font-size:11px; color:#736243; margin-top:4px; }
.overdue-tick { animation:overdue-reveal .9s cubic-bezier(.25,1,.5,1) backwards; }
@keyframes overdue-reveal { from{opacity:0}to{opacity:1} }
@media(prefers-reduced-motion:reduce){.overdue-tick{animation:none}}
@media(max-width:760px){.overdue-chart-layout{grid-template-columns:1fr;gap:0}.overdue-chart-card{padding:16px}.overdue-legend{padding-right:0}#overdue-donut{height:215px}.overdue-pending{align-items:flex-start;flex-direction:column}.overdue-pending button{padding-left:0}.overdue-chart-head{flex-wrap:wrap}}

.overdue-reason-placeholder { color:var(--text-light); font-size:12px; }
.overdue-table th:last-child { min-width:116px; }

.list.overdue-table th,.list.overdue-table td { text-align:center; }
.overdue-table th:last-child { min-width:300px; }
.overdue-reason-cell { display:grid;grid-template-columns:minmax(160px,1fr) auto;gap:7px;align-items:center;min-width:280px;max-width:340px;margin:auto; }
.overdue-reason-status { grid-column:1 / -1;white-space:normal;font-size:11px;color:var(--text-light); }
.overdue-reason-status:empty { display:none; }
.overdue-reason-panel[popover] { width:350px;text-align:left; }
.overdue-reason-panel .archive-inspection-choices label { white-space:normal;align-items:flex-start; }
.overdue-reason-panel .archive-inspection-choices input { margin-top:2px; }
.overdue-reason-panel textarea { width:100%;resize:vertical;min-height:68px;border:1px solid #cbd5e1;border-radius:8px;padding:8px;font:inherit;color:var(--text); }
.overdue-reason-readonly { display:inline-block;max-width:320px;white-space:normal;overflow-wrap:anywhere; }
.overdue-action-status { font-size:12px;color:var(--text-light);margin:0 0 10px; }
.overdue-action-status:empty { display:none; }
