:root { --brand: #1f4e79; }
body { background: #f4f6f9; font-size: .925rem; }
.bg-brand { background: var(--brand) !important; }
.card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.card-header { background: #fff; font-weight: 600; }
.stat { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .02em; color: #555; white-space: nowrap; }
.table td { vertical-align: middle; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.overdue, .table td.overdue { color: #b02a37 !important; font-weight: 600; }
.req-row.done { opacity: .65; }
.small-muted { font-size: .8rem; color: #6c757d; }
.form-label { font-weight: 500; font-size: .85rem; margin-bottom: .2rem; }
.stub { background: #fff; border: 1px solid #ccc; padding: 1.25rem; margin-bottom: 1.5rem; page-break-inside: avoid; }
.stub table { font-size: .85rem; }
.warn-list { font-size: .78rem; color: #8a5300; margin: 0; padding-left: 1rem; }
.login-wrap { max-width: 380px; margin: 8vh auto; }
@media print {
  .no-print, .navbar, .btn { display: none !important; }
  body { background: #fff; }
  main { padding: 0 !important; }
  .stub { page-break-after: always; border: 0; }
}
.ts-grid input { min-width: 64px; }
.ts-pending { background: #fff3cd !important; border-color: #e0b100 !important; }
.ts-approved { background: #d1e7dd !important; border-color: #6cb38c !important; }
.ts-rejected { background: #f8d7da !important; border-color: #d9534f !important; }
