.admin .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.admin .grid2 .card { margin-bottom: 0; }
.admin .grid2 h2 { font-size: 14px; margin: 0 0 8px; }
.admin label.inline { display: inline-flex; align-items: center; gap: 8px; }
.admin label.inline select { margin: 0; }
.chart { width: 100%; height: 220px; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.chart.small { height: 140px; }
.chart .axis { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .line-main { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.chart .line-alt { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.chart .line-budget { fill: none; stroke: var(--neg); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.chart .mark { stroke: var(--warn); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart text { fill: var(--muted); font-size: 10px; }
.legend { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.key::before { content: ""; display: inline-block; width: 14px; height: 0; border-top: 2px solid; margin-right: 4px; vertical-align: middle; }
.k-main::before { border-color: var(--accent); }
.k-alt::before { border-color: var(--muted); border-top-style: dashed; }
.k-budget::before { border-color: var(--neg); border-top-style: dotted; }
.k-mark::before { border-color: var(--warn); }
.alerts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.alerts li { padding: 6px 10px; border: 1px solid var(--warn); border-radius: 6px; color: var(--warn); }
.alerts li.bad { border-color: var(--neg); color: var(--neg); }
.admin tr.over td { background: rgba(192, 57, 43, 0.12); }
.admin td.num, .admin th.num { text-align: right; }
.admin meter { width: 110px; height: 12px; vertical-align: middle; }
.compare h3 { font-size: 14px; margin: 14px 0 6px; }
.admin code { font-family: ui-monospace, Consolas, monospace; }
