:root{font-family:system-ui,sans-serif;color:#e6efe9;background:#0c1c19;color-scheme:dark}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;gap:20px;padding:22px 5%;border-bottom:1px solid #2f4840;background:#122a24}a{color:#a3e8bf}header a{text-decoration:none}.brand{font-weight:800;letter-spacing:2px}.brand span{font-weight:500;letter-spacing:0;margin-left:16px;color:#e6efe9}main{max-width:1400px;padding:24px;margin:auto}h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:-1px;margin:10px 0}h2{font-size:1.15rem;margin:0 0 14px}.eyebrow{font-size:.75rem;letter-spacing:2px;font-weight:750;color:#99d7af}.muted,small{color:#b1c2b9;line-height:1.6}.heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card,.panel{border:1px solid #334f43;border-radius:14px;background:#142d26;padding:22px}.card p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.5}.card-top{display:flex;gap:12px;justify-content:space-between;align-items:start}.badge{font-size:.72rem;font-weight:700;border-radius:20px;padding:5px 9px;white-space:nowrap;background:#34493e;color:#ecf2ec}.ok{background:#214c35;color:#abefb8}.attention{background:#5a3f1b;color:#ffe0a0}.pending{background:#303c5c;color:#d2dcff}.unknown{background:#4b414a;color:#eedbe9}.panel{margin-top:20px}button,input{font:inherit;border-radius:8px;min-height:44px;padding:10px 14px;border:1px solid #527363}button{cursor:pointer;background:#a4e2b7;color:#10271a;font-weight:700}.secondary{background:transparent;color:#e6efe9}button:disabled{opacity:.6}form{max-width:460px;margin:60px auto;background:#142d26;padding:30px;border-radius:16px}form h1{font-size:2rem}label{display:block;margin-top:16px}input{display:block;width:100%;margin-top:7px;background:#0c1c19;color:#fff}form button{width:100%;margin-top:24px}#message:not(:empty){border:1px solid #947742;background:#302a1d;padding:14px;border-radius:10px;margin-bottom:20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:14px 12px;border-bottom:1px solid #334f43;white-space:nowrap;font-size:.9rem}th{color:#b1c2b9;font-weight:600}[hidden]{display:none!important}@media(max-width:1000px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){header{padding:18px;font-size:.8rem}.brand span{display:block;margin:6px 0 0}.grid{grid-template-columns:1fr}main{padding:16px}.heading{display:block}.heading button{margin-top:12px}.card,.panel{padding:18px}form{margin:25px auto;padding:22px}}
.visuals{margin-bottom:24px}.gauge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.gauge-card,.trend-card{border:1px solid #334f43;border-radius:14px;background:#142d26;padding:20px;min-width:0}.gauge-card h2{font-size:1rem}.gauge-card .card-top{flex-wrap:wrap;gap:4px}.gauge{display:block;width:150px;max-width:100%;margin:8px auto}.gauge-track,.gauge-fill{fill:none;stroke-width:9}.gauge-track{stroke:#2a4639}.good{stroke:#9ce9b5}.warn{stroke:#f5c16d}.threshold{stroke:#d3e1d8;stroke-width:2}.gauge-number{fill:#e6efe9;font-size:22px;font-weight:750}.gauge-caption{fill:#b1c2b9;font-size:9px}.gauge-card small{display:block;text-align:center;font-size:.75rem}.trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.trend{display:block;width:100%;overflow:visible}.legend{display:flex;gap:20px;font-size:.8rem}.mint{color:#9ce9b5;stroke:#9ce9b5}.blue{color:#8fbffa;stroke:#8fbffa}.amber{color:#f5c16d;stroke:#f5c16d}.legend span:before{content:'●';margin-right:6px}.chart-grid{stroke:#2e493c;stroke-width:1}.chart-label{fill:#b1c2b9;font-size:11px}.chart-line{fill:none;stroke-width:2;stroke-linejoin:round}.point.mint{fill:#9ce9b5}.point.blue{fill:#8fbffa}.point.amber{fill:#f5c16d}.chart-warning{stroke:#bf9152;stroke-dasharray:5 5}.trend-card small{font-size:.75rem}@media(max-width:1100px){.gauge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.trend-grid{grid-template-columns:1fr}.gauge-card{padding:14px}.gauge-card h2{font-size:.9rem}.gauge-card .badge{font-size:.65rem}.gauge{width:125px}.gauge-grid{gap:10px}}
.status-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.quick-status{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid #334f43;border-radius:9px;background:#142d26;font-size:.85rem}@media(max-width:800px){.status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.status-strip{grid-template-columns:1fr}}
.chart-label{fill:#d3e1d8;font-size:14px}.trend-card .legend{font-size:.95rem}.trend-card small{font-size:.875rem;line-height:1.6}.chart-line{stroke-width:2.5}@media(max-width:620px){.chart-label{font-size:16px}.trend-card{padding:18px}.trend-card small{font-size:.875rem}}
.visuals>.status-strip{margin-top:16px;margin-bottom:0}
header{align-items:center}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}.theme-toggle{font-size:.85rem;white-space:nowrap}:root[data-theme=light]{color:#173a2d;background:#f2f7f4;color-scheme:light}:root[data-theme=light] header{background:#e1eee5;border-color:#b6cdbd}:root[data-theme=light] a{color:#165839}:root[data-theme=light] .brand span{color:#173a2d}:root[data-theme=light] .card,:root[data-theme=light] .panel,:root[data-theme=light] form,:root[data-theme=light] .gauge-card,:root[data-theme=light] .trend-card,:root[data-theme=light] .quick-status{background:#fff;border-color:#bfd2c5}:root[data-theme=light] .muted,:root[data-theme=light] small,:root[data-theme=light] th{color:#4b6457}:root[data-theme=light] .eyebrow{color:#286b47}:root[data-theme=light] .secondary{color:#234f36;background:#f5faf6;border-color:#749c80}:root[data-theme=light] input{background:#fff;color:#173a2d;border-color:#749c80}:root[data-theme=light] button:not(.secondary){background:#216c43;color:#fff;border-color:#216c43}:root[data-theme=light] .ok{background:#d9efdf;color:#1a5933}:root[data-theme=light] .attention{background:#fff0c7;color:#70430b}:root[data-theme=light] .pending{background:#e4eafa;color:#344975}:root[data-theme=light] .unknown{background:#eee5ee;color:#634460}:root[data-theme=light] th,:root[data-theme=light] td{border-color:#bfd2c5}:root[data-theme=light] #message:not(:empty){background:#fff5db;border-color:#bca36b;color:#604515}:root[data-theme=light] .gauge-track{stroke:#e0ebe4}:root[data-theme=light] .good{stroke:#277648}:root[data-theme=light] .warn{stroke:#ab6412}:root[data-theme=light] .threshold{stroke:#465f4e}:root[data-theme=light] .gauge-number{fill:#173a2d}:root[data-theme=light] .gauge-caption,:root[data-theme=light] .chart-label{fill:#465f4e}:root[data-theme=light] .chart-grid{stroke:#d7e3db}:root[data-theme=light] .mint{color:#216c43;stroke:#216c43}:root[data-theme=light] .blue{color:#235db1;stroke:#235db1}:root[data-theme=light] .amber{color:#965514;stroke:#965514}:root[data-theme=light] .point.mint{fill:#216c43}:root[data-theme=light] .point.blue{fill:#235db1}:root[data-theme=light] .point.amber{fill:#965514}:root[data-theme=light] .chart-warning{stroke:#965514}
