/* V30.20 — readability, delivery-date indicators, hub counts. Loaded after ui-system.css. */
.badge,.delivery-badge,.type-badge,.due-badge{font-size:12px;line-height:1.5;white-space:nowrap}
.badge,.delivery-badge,.type-badge{padding:4px 10px}
.orders.is-table-mode .table-status .badge{font-size:12px;padding:4px 10px;white-space:nowrap}
.order-meta{font-size:13px}
.due-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-weight:700}
.due-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.due-badge.overdue{background:#fdecea;color:#a32222}
.due-badge.today{background:#fff4df;color:#7a4b00}
.due-badge.soon{background:#eef3fa;color:#315d8a}
.order-card[data-due=overdue]{border-inline-start:4px solid #a32222}
.table-status .due-badge{display:flex;width:max-content;max-width:100%;margin-top:4px;white-space:normal}
.employee-hub .hub-card .hub-count{display:block;margin-top:4px;font-size:14px;line-height:1.6;color:var(--ui-muted)}
.employee-hub .hub-card .hub-count:empty{display:none}
.hub-overdue{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:var(--ui-touch,44px);margin-top:16px;padding:8px 16px;border:1px solid #e4b5b5;border-radius:12px;background:var(--ui-error-bg,#fff3f3);color:var(--ui-error,#a32222);font-size:14px;font-weight:600;cursor:pointer}
.hub-overdue:hover{background:#fde4e4}
.hub-overdue.hidden{display:none}
@media(max-width:640px){.employee-hub .hub-cards .hub-card:last-child:nth-child(odd){grid-column:1/-1;min-height:112px!important}}
