/* The system view: engine statistics and the compression bars. */

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.stat .value { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat .hint { color: var(--muted); font-size: 12px; }

.sources { display: grid; gap: 8px; }
.source { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.source .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); align-self: center; }
.source .dot.ok { background: var(--good); }
.source .dot.failing { background: var(--bad); }

.compression { margin-top: 14px; }
.bars { display: grid; gap: 10px; margin-top: 12px; }
.bar { display: grid; grid-template-columns: 110px 1fr 90px; gap: 12px; align-items: center; font-size: 13px; }
.bar .track { height: 16px; background: var(--surface-2); border-radius: 8px; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 8px; background: var(--muted); transition: width 0.6s ease; }
.bar .fill.packed { background: var(--accent); }
.bar span:last-child { text-align: right; font-family: var(--mono); }
