/* ── Assets table ───────────────────────────────────────────────── */
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:13px}
th{padding:10px 12px;text-align:left;font-size:11px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;background:var(--surface-2);border-bottom:1px solid var(--border-strong);white-space:nowrap}
td{padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:middle}
tr:hover td{background:var(--table-stripe)}
.asset-num{font-family:var(--font-mono);font-size:12px;font-weight:700;color:var(--primary)}
.actions-cell{display:flex;gap:5px}
/* Mobile card view of the asset register (shown ≤768px instead of the table) */
#assets-cards{display:none;flex-direction:column;gap:10px;padding:12px;max-height:calc(100vh - 230px);overflow-y:auto}
.asset-card{border:1px solid var(--border);border-radius:14px;padding:12px 14px;background:var(--surface);cursor:pointer}
.asset-card:active{background:var(--surface-2)}
.asset-card .ac-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.asset-card .ac-class{font-size:11px;color:var(--purple);font-weight:600;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.asset-card .ac-desc{font-size:13px;color:var(--text);margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.asset-card .ac-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;align-items:center}
.asset-card .ac-actions{display:flex;gap:8px;margin-top:10px}
.asset-card .ac-actions .btn{flex:1;justify-content:center}

/* ── Dashboard stats ────────────────────────────────────────────── */
.stat-card{background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);padding:18px;display:flex;flex-direction:column;gap:4px}
.stat-value{font-size:28px;font-weight:800;color:var(--text);line-height:1}
.stat-label{font-size:12px;color:var(--text-muted);font-weight:500}
.stat-sub{font-size:11px;color:var(--text-faint);margin-top:2px}
.chart-bar-wrap{margin-top:10px}
.chart-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.chart-label{font-size:11px;color:var(--text-muted);width:110px;flex-shrink:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.chart-bar-bg{flex:1;background:var(--track-bg);border-radius:3px;height:8px;overflow:hidden}
.chart-bar{height:100%;border-radius:3px;background:var(--primary);transition:width .5s}
.chart-count{font-size:11px;color:var(--text-muted);width:30px;text-align:right}

