body { background: #f4f6f9; }
.ar-navbar { background: #104281; }
.ar-navbar .navbar-brand { font-weight: 600; font-size: 1.05rem; white-space: normal; }

.kpi { border: 0; border-left: 4px solid #3987e5; }
.kpi .kpi-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #6c757d; }
.kpi .kpi-value { font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
.kpi.kpi-warn { border-left-color: #d97706; }
.kpi.kpi-warn .kpi-value { color: #b45309; }
.kpi.kpi-bad { border-left-color: #dc3545; }
.kpi.kpi-bad .kpi-value { color: #b02a37; }

.chart-box { position: relative; height: 300px; }

#inv-table th[data-sort] { cursor: pointer; white-space: nowrap; user-select: none; }
#inv-table th[data-sort]:hover { color: #0d6efd; }
#inv-table th.sorted-asc::after { content: " ▲"; font-size: .7em; }
#inv-table th.sorted-desc::after { content: " ▼"; font-size: .7em; }
#inv-table td { white-space: nowrap; }

.link-cust { color: #0d6efd; cursor: pointer; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; }
.link-cust:hover { text-decoration: underline; }

.age-chip { display: inline-block; min-width: 3.2em; padding: 1px 6px; border-radius: 4px; font-size: .8rem; font-weight: 600; text-align: center; }

.terms dt { font-weight: 600; font-size: .85rem; color: #6c757d; }
.terms dd { margin-bottom: .5rem; }
