/* The system page's own: its panels, numbers and charts (system.ts), over the shared theme and app styles. */
.page-title { margin: 8px 0 4px; }
.muted { color: var(--muted); }
.windows { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 16px; }
section.service { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 16px; }
section.service h2 { margin: 0 0 10px; font-size: 1.1rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; margin-bottom: 10px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 12px; }
.legend { display: flex; gap: 14px; list-style: none; padding: 0; margin: 4px 0; color: var(--muted); font-size: 13px; }
.legend li { display: flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.swatch.ok { background: #0ca30c; }
.swatch.busy { background: #fab219; }
.swatch.failed { background: repeating-linear-gradient(90deg, #d03b3b 0 4px, transparent 4px 6px); }
figure.panel-chart { margin: 10px 0 0; }
figure.panel-chart figcaption { color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.chart-box { position: relative; }
svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
svg.chart .grid { stroke: var(--line); stroke-width: 1; }
svg.chart .tick { fill: var(--faint); font-size: 11px; font-family: var(--font); }
svg.chart .series { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
svg.chart .series.dashed { stroke-dasharray: 5 3; }
svg.chart .cross { stroke: var(--muted); stroke-width: 1; }
svg.chart .hit { fill: transparent; cursor: crosshair; }
.tooltip { position: absolute; top: 0; width: 150px; pointer-events: none; background: var(--raised); border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 8px; font-size: 12px; color: var(--text); }
details.numbers table { border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
details.numbers th, details.numbers td { border-bottom: 1px solid var(--line); padding: 4px 10px; text-align: right; }
details.numbers th:first-child { text-align: left; }
