:root {
  color-scheme: dark;
  --bg: #101314;
  --panel: #191d1f;
  --border: #2b3234;
  --text: #f0f3f1;
  --muted: #a1adaa;
  --accent: #b9efd2;
  --warning: #f0c47c;
  --error: #f5a4a8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, select, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.sidebar { width: 216px; position: fixed; inset: 0 auto 0 0; padding: 34px 20px; background: #141819; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 26px; font-weight: 650; letter-spacing: -1px; padding: 0 9px; }
.brand-mark { display: grid; place-content: center; width: 42px; height: 42px; border-radius: 13px; background: var(--accent); color: #183828; font-size: 30px; position: relative; }
.brand-mark span { position: absolute; right: 3px; bottom: 0; }
.brand small { display: block; font-size: 8px; letter-spacing: 2px; color: var(--muted); }
.nav-label { font-size: 10px; letter-spacing: 1.7px; color: var(--muted); margin: 58px 12px 14px; }
nav { display: grid; gap: 8px; }
.nav-link { padding: 11px 15px; border-radius: 8px; color: var(--muted); display: flex; gap: 13px; align-items: center; }
.nav-link:first-child { background: #23362d; color: var(--accent); }
.nav-link:hover { background: #242b29; color: var(--text); }
.nav-link span { font-size: 20px; width: 20px; text-align: center; }
.sidebar-note { margin-top: auto; border-top: 1px solid var(--border); padding: 22px 8px 0; font-size: 12px; }
.sidebar-note small { display: block; color: var(--muted); margin-top: 7px; }
.status-dot, .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: var(--accent); }
main { margin-left: 216px; padding: 36px clamp(20px, 3vw, 52px) 22px; max-width: 1850px; }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 34px; }
h1 { font-size: clamp(23px, 2.1vw, 31px); line-height: 1.25; font-weight: 600; letter-spacing: -1px; margin: 10px 0; }
h2 { font-size: 17px; font-weight: 550; letter-spacing: -.3px; margin: 0; }
p { margin: 8px 0; }
.eyebrow { font-size: 10px; font-weight: 550; letter-spacing: 1.8px; color: var(--muted); margin: 0 0 7px; }
.page-header .eyebrow { color: var(--accent); }
.muted, small { color: var(--muted); }
.update { flex-shrink: 0; text-align: right; font-size: 11px; }
.update time { display: block; }
.pill { display: inline-block; border: 1px solid var(--border); border-radius: 20px; padding: 4px 10px; color: var(--accent); background: #202b25; font-size: 11px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-heading > .muted { font-size: 11px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 24px; min-width: 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { padding: 20px; }
.kpi p { margin: 0 0 15px; color: #c1cac6; font-size: 12px; display: flex; justify-content: space-between; gap: 10px; }
.kpi p span { color: var(--muted); }
.kpi strong { font-size: clamp(27px, 2.7vw, 40px); font-weight: 550; letter-spacing: -1.5px; line-height: 1.3; display: block; font-variant-numeric: tabular-nums; }
.kpi small { display: block; margin-top: 12px; font-size: 11px; }
.featured { background: #20322b; border-color: #395448; }
.featured strong { color: var(--accent); }
.health-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin: 24px 0; border-block: 1px solid var(--border); padding: 18px 0; }
.health-strip p { margin: 0; padding: 0 20px; color: var(--muted); border-right: 1px solid var(--border); font-size: 11px; }
.health-strip p:first-child { padding-left: 0; }
.health-strip p:last-child { border: 0; }
.health-strip strong { display: block; color: var(--text); font-size: 20px; font-weight: 500; margin: 4px 0; font-variant-numeric: tabular-nums; }
.health-strip small { font-size: 10px; }
.trend { margin-bottom: 24px; }
.range-control { display: flex; padding: 3px; border: 1px solid var(--border); border-radius: 7px; gap: 2px; }
.range-control button { border: 0; border-radius: 4px; padding: 6px 12px; background: transparent; color: var(--muted); font-size: 11px; white-space: nowrap; }
.range-control button[aria-pressed="true"] { background: #34433c; color: var(--accent); }
.range-control button:disabled { opacity: .4; cursor: not-allowed; }
.chart-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.daily-chart { margin-top: 14px; }
.daily-chart svg { display: block; width: 100%; height: 250px; }
.chart-grid { stroke: var(--border); stroke-dasharray: 3 6; }
.chart-label { fill: var(--muted); font-size: 11px; }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.chart-point { fill: var(--accent); stroke: var(--panel); stroke-width: 2; }
.chart-details { font-size: 11px; color: var(--muted); margin-top: 12px; }
.chart-details .table-scroll { max-height: 240px; }
.breakdown-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 24px; align-items: start; }
.right-stack { display: grid; gap: 24px; min-width: 0; }
.service-chart { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 10px 0 22px; }
.donut { width: 170px; height: 170px; flex-shrink: 0; }
.donut-total { fill: var(--text); font-size: 22px; font-weight: 600; }
.donut-label { fill: var(--muted); font-size: 10px; }
.service-legend { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 11px; }
.legend-label { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 9px; height: 9px; flex-shrink: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; }
th { font-size: 10px; font-weight: 500; color: var(--muted); text-align: left; padding: 12px 8px; border-block: 1px solid var(--border); }
td { padding: 13px 8px; border-bottom: 1px solid #262d2f; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; text-align: right; }
#services th:not(:first-child), #services td:not(:first-child), #executions th:nth-last-child(2), #executions td:nth-last-child(2) { text-align: right; }
tbody tr:last-child td { border-bottom: 0; }
.module-row + .module-row { margin-top: 18px; }
.module-heading { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.module-heading strong { font-weight: 500; }
.module-row small { font-size: 10px; display: block; margin-top: 5px; }
.module-bar { width: 100%; height: 5px; display: block; margin-top: 9px; border-radius: 4px; background: #2a3231; }
.budget-values { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 14px 0; font-variant-numeric: tabular-nums; }
.budget-values strong { font-size: 23px; font-weight: 500; letter-spacing: -.6px; }
.budget-values span { color: var(--accent); font-size: 12px; }
progress { appearance: none; width: 100%; height: 7px; display: block; border: none; border-radius: 10px; background: #303b35; overflow: hidden; }
progress::-webkit-progress-bar { background: #303b35; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 10px; }
progress::-moz-progress-bar { background: var(--accent); }
#budget-note { font-size: 11px; margin-top: 13px; }
.notice { padding: 12px 16px; margin: 0 0 24px; border: 1px solid #685433; background: #30291f; color: var(--warning); border-radius: 8px; font-size: 12px; }
.alert { color: var(--warning); font-size: 12px; margin-top: 14px; }
.executions { margin-top: 24px; }
.filter-label { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
select { border: 1px solid var(--border); border-radius: 6px; background: #202628; color: var(--text); padding: 7px 10px; font-size: 11px; }
#execution-count { font-size: 11px; }
.badge { display: inline-block; border-radius: 5px; padding: 3px 8px; font-size: 9px; font-weight: 600; letter-spacing: .5px; color: var(--muted); background: #2c3233; }
.badge.success { background: #243b2f; color: var(--accent); }
.badge.error { background: #422a2f; color: var(--error); }
.badge.warning { background: #3b3324; color: var(--warning); }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 26px 0 0; font-size: 10px; color: var(--muted); }
footer strong { color: #cad6d0; font-size: 14px; }
.empty { color: var(--muted); text-align: center; padding: 36px 12px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 5; background: var(--accent); color: #14261e; padding: 12px; }
@media (min-width: 1700px) { main { margin-inline: auto; padding-left: 260px; } }
@media (max-width: 1180px) { .sidebar { width: 180px; padding-inline: 12px; } main { margin-left: 180px; } .page-header { align-items: flex-start; } .breakdown-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .card { padding: 18px; } .service-chart { gap: 12px; } .donut { width: 140px; height: 140px; } }
@media (max-width: 980px) { .sidebar { width: 155px; } main { margin-left: 155px; } .brand { font-size: 21px; gap: 8px; } .brand-mark { width: 35px; height: 35px; } .page-header { flex-direction: column; gap: 12px; } .update { display: flex; align-items: center; gap: 12px; text-align: left; } .update time { display: inline; } .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .breakdown-grid { grid-template-columns: 1fr; } .service-chart { gap: 32px; } .health-strip p { padding-inline: 10px; } }
@media (max-width: 640px) { .sidebar { position: static; width: 100%; padding: 16px; border-right: 0; border-bottom: 1px solid var(--border); } .brand { font-size: 23px; } .nav-label, .sidebar-note { display: none; } nav { display: flex; overflow-x: auto; gap: 4px; margin-top: 17px; } .nav-link { padding: 8px 10px; font-size: 11px; } .nav-link span { display: none; } main { margin: 0; padding: 24px 16px; } .page-header { margin-bottom: 24px; } h1 { font-size: 26px; } .page-header .muted { font-size: 12px; } .update { flex-wrap: wrap; } .kpi-grid { gap: 10px; } .kpi { padding: 15px; } .kpi strong { font-size: 30px; } .kpi p { font-size: 11px; min-height: 34px; } .kpi small { font-size: 10px; } .health-strip { grid-template-columns: repeat(3, 1fr); gap: 18px 0; } .health-strip p:nth-child(3) { border: 0; } .health-strip p:nth-child(4) { padding-left: 0; } .trend > .section-heading { flex-direction: column; align-items: flex-start; } .range-control { align-self: flex-end; } .chart-meta { flex-wrap: wrap; } .daily-chart svg { height: 210px; } .section-heading { gap: 10px; } .filter-label { flex-direction: column; align-items: flex-end; gap: 4px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
