.wrap.wide { width: min(1180px, 100%); }
.top-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.tile .label { color: var(--muted); font-size: 14px; }
.tile .value { font-size: 28px; font-weight: 650; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tile .detail { color: var(--muted); font-size: 13px; margin-top: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.grid2 .panel, .grid3 .panel { margin: 0; }
.section-gap { height: 14px; }

.hbars { display: grid; gap: 8px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 38%) 1fr; gap: 10px; align-items: center; font-size: 14px; }
.hbar .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .track { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hbar .bar { height: 14px; background: #1f8a6e; border-radius: 0 4px 4px 0; min-width: 2px; }
.hbar .val { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

.colchart { width: 100%; height: 220px; display: block; }
.colchart .grid { stroke: #ebe6da; stroke-width: 1; }
.colchart .axis { fill: var(--muted); font-size: 12px; }
.colchart .col { fill: #1f8a6e; }
.colchart .hit { fill: transparent; cursor: default; }
.colchart .hit:hover + .col, .colchart .col.hover { opacity: .8; }

.tooltip { position: fixed; z-index: 20; pointer-events: none; background: #1d1c18; color: #fff; border-radius: 8px; padding: 7px 10px; font-size: 13px; line-height: 1.35; max-width: 240px; }

table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 9px 8px; border-bottom: 1px solid #efe9dc; vertical-align: top; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tr.clickable { cursor: pointer; }
table.data tr.clickable:hover td { background: #faf7ef; }
.table-wrap { overflow-x: auto; }
.mini { font-size: 13px; color: var(--muted); }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.mgr { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #efe9dc; }
.mgr:last-child { border-bottom: 0; }
.ok-text { color: var(--ok); font-weight: 600; }
.stop-text { color: var(--stop); font-weight: 600; }
.saved-note { color: var(--ok); font-weight: 600; font-size: 14px; margin-left: 10px; }
