/* Только локальные ресурсы, внешние шрифты не используются. */
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#172235;background:#f4f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--bg:#f4f7fb;--surface:#fff;--surface-2:#f8fafc;--text:#172235;--muted:#748197;--line:#e7edf4;--green:#1ba779;--green-bg:#e7f8f0;--blue:#4688e8;--shadow:0 6px 22px rgba(25,44,76,.035)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.45;transition:background .2s,color .2s}.app-shell{max-width:1200px;margin:0 auto;padding:0 34px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{width:38px;height:38px;background:#15243a;border-radius:11px;display:grid;place-items:center}.brand-mark svg{width:23px;fill:none;stroke:#68e0b5;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.brand-copy{display:flex;flex-direction:column;gap:1px}.brand-copy strong{font-size:14px;font-weight:700;letter-spacing:-.2px}.brand-copy small{font-size:11px;color:var(--muted)}.topbar-actions{display:flex;align-items:center;gap:20px}.environment{font-size:10px;letter-spacing:.8px;font-weight:700;color:#6d7b90;display:flex;align-items:center;gap:7px}.environment i,.live-dot,.live-label i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#20b57c;box-shadow:0 0 0 3px rgba(32,181,124,.12)}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);display:grid;place-items:center;cursor:pointer}.icon-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.hero{padding:34px 0 25px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:1.2px;font-weight:700;color:#718097;display:flex;align-items:center;gap:9px;margin-bottom:10px}.hero h1{font-size:29px;letter-spacing:-1.1px;margin:0 0 7px;font-weight:750}.hero-subtitle{margin:0;color:var(--muted);font-size:13px}.hero-meta{display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding-bottom:2px}.meta-label{font-size:11px;color:var(--muted)}.hero-meta strong{font-size:12px;font-weight:600}.updated{font-size:11px;color:var(--muted);margin-top:5px}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.summary-card,.node-card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.summary-card{padding:18px 19px 16px;min-height:137px}.card-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;font-weight:500}.metric-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-size:15px;font-weight:600}.metric-icon.green{color:#1ba779;background:#e8f8f1}.metric-icon.blue{color:#4688e8;background:#edf4ff}.metric-icon.violet{color:#8970df;background:#f1edff}.metric-icon.amber{color:#d89a31;background:#fff5e4}.metric-line{display:flex;align-items:baseline;gap:10px;margin-top:13px}.metric-line>strong{font-size:27px;letter-spacing:-1px;font-weight:750}.metric-line small{font-size:12px;font-weight:500;letter-spacing:0;color:var(--muted)}.trend{font-size:10px;font-weight:600}.trend.positive{color:#1ba779}.trend.neutral{color:#8591a3}.metric-foot{font-size:10px;color:var(--muted);margin-top:7px}.metric-foot b{color:var(--text);font-weight:600}.mini-bars{height:17px;display:flex;align-items:flex-end;gap:3px;margin-top:7px}.mini-bars i{flex:1;border-radius:2px 2px 0 0;background:#c8eddf;height:45%}.mini-bars i:nth-child(3n){height:80%}.mini-bars i:nth-child(4n){height:62%}.mini-bars i:nth-child(5n){height:95%}.section-block{margin-top:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.section-heading h2{font-size:17px;letter-spacing:-.35px;margin:0 0 4px;font-weight:720}.section-heading p{font-size:11px;color:var(--muted);margin:0}.primary-button{display:inline-flex;align-items:center;gap:9px;border:0;border-radius:9px;background:#17283f;color:#fff;padding:11px 15px;font-family:inherit;font-size:11px;font-weight:600;cursor:pointer;transition:transform .15s,background .15s}.primary-button:hover{background:#243b5b;transform:translateY(-1px)}.primary-button:disabled{opacity:.65;cursor:wait;transform:none}.primary-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.node-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.node-card{padding:18px 19px 16px}.node-header{display:flex;align-items:center;justify-content:space-between}.node-symbol{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;font-size:18px}.node-symbol.server{background:#eaf3ff;color:#4c8fe8}.node-symbol.database{background:#f1edff;color:#8a72df}.node-symbol.edge{background:#e7f8f0;color:#1ba779}.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:600;white-space:nowrap}.status-pill.healthy{background:var(--green-bg);color:#1a9c6f}.status-pill i{width:5px;height:5px;border-radius:50%;background:currentColor}.node-card h3{font-size:14px;margin:15px 0 3px;font-weight:700}.node-address{font-size:11px;color:var(--muted);margin:0}.node-stats{display:flex;justify-content:space-between;margin-top:18px;font-size:10px;color:var(--muted)}.node-stats b{color:var(--text);font-size:11px;font-weight:650;margin-left:3px}.progress-track,.resource-track{height:5px;border-radius:10px;background:#edf1f6;overflow:hidden;margin-top:9px}.progress-track span,.resource-track span{display:block;height:100%;border-radius:10px;background:#59c49a;transition:width .5s ease}.lower-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:15px}.panel{padding:20px}.compact{margin-bottom:20px}.live-label{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:.7px;color:#1ba779;font-weight:700}.live-label i{width:6px;height:6px}.resource-row{margin-bottom:19px}.resource-info{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.resource-info strong{color:var(--text);font-size:12px}.resource-track{height:7px;margin-top:8px;background:#edf1f6}.resource-track span{background:#6e9fe9}.resource-row:nth-of-type(3) .resource-track span{background:#a18be8}.metrics-foot{display:flex;justify-content:space-between;gap:10px;padding-top:2px;font-size:10px;color:var(--muted)}.api-panel{min-width:0}.api-total{display:flex;align-items:baseline;gap:10px}.api-total strong{font-size:25px;letter-spacing:-.8px}.api-total span{font-size:10px;color:var(--muted)}.sparkline{height:65px;margin:12px 0 4px}.sparkline svg{width:100%;height:100%;overflow:visible}.spark-fill{fill:rgba(79,145,230,.12)}.spark-line{fill:none;stroke:#5797e9;stroke-width:2;vector-effect:non-scaling-stroke}.api-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:11px;font-size:10px;color:var(--muted)}.api-foot b{color:var(--text);font-size:11px}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#5797e9;margin-right:6px}.incidents-panel{padding:20px 0 0}.incidents-panel .section-heading{padding:0 20px}.filter-wrap select{border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:8px;padding:8px 29px 8px 10px;font-family:inherit;font-size:11px;font-weight:500;outline:none}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead{background:var(--surface-2)}th{font-size:10px;color:var(--muted);font-weight:600;padding:11px 20px}td{font-size:11px;padding:13px 20px;border-top:1px solid var(--line)}td:first-child{color:var(--muted);font-variant-numeric:tabular-nums}td:nth-child(2){font-weight:600}td:nth-child(3){color:var(--muted)}.level{display:inline-flex;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:600}.level.info{background:#edf4ff;color:#4a88d8}.level.warn{background:#fff5e5;color:#c58a2c}.level.error{background:#fff0f0;color:#d45e5e}.table-bottom{display:flex;justify-content:space-between;padding:13px 20px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.footer{display:flex;justify-content:space-between;gap:15px;padding:25px 0 28px;margin-top:9px;color:#9aa5b5;font-size:10px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);padding:11px 16px;border-radius:10px;background:#17283f;color:#fff;font-size:12px;box-shadow:0 10px 30px #17283f2b;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[data-theme="dark"]{--bg:#0e1521;--surface:#151f2e;--surface-2:#1a2637;--text:#e7edf6;--muted:#94a2b7;--line:#263447;--green-bg:#15392f;--shadow:0 6px 22px rgba(0,0,0,.12)}[data-theme="dark"] .environment{color:#9aa9bd}[data-theme="dark"] .progress-track,[data-theme="dark"] .resource-track{background:#273448}[data-theme="dark"] .mini-bars i{background:#255744}[data-theme="dark"] .node-symbol.server{background:#1c3350}[data-theme="dark"] .node-symbol.database{background:#302a4e}[data-theme="dark"] .node-symbol.edge{background:#15392f}[data-theme="dark"] .metric-icon.green{background:#15392f}[data-theme="dark"] .metric-icon.blue{background:#1c3350}[data-theme="dark"] .metric-icon.violet{background:#302a4e}[data-theme="dark"] .metric-icon.amber{background:#45351e}[data-theme="dark"] .level.info{background:#1c3350;color:#8db9f3}[data-theme="dark"] .level.warn{background:#45351e;color:#e4b96e}[data-theme="dark"] .level.error{background:#48282c;color:#f09a9a}[data-theme="dark"] .icon-button{background:var(--surface)}[data-theme="dark"] .primary-button{background:#dce8f7;color:#17283f}[data-theme="dark"] .primary-button:hover{background:#fff}
@media(max-width:900px){.app-shell{padding:0 22px}.summary-grid{grid-template-columns:repeat(2,1fr)}.node-grid{grid-template-columns:1fr 1fr}.node-card:last-child{grid-column:span 2}.lower-grid{grid-template-columns:1fr}.hero{align-items:flex-start}.hero-meta{padding-top:10px}}@media(max-width:600px){.app-shell{padding:0 15px}.topbar{height:65px}.environment{display:none}.hero{padding:27px 0 21px;display:block}.hero h1{font-size:25px}.hero-meta{align-items:flex-start;padding-top:17px}.summary-grid{gap:10px}.summary-card{padding:15px;min-height:130px}.metric-line>strong{font-size:24px}.section-block{margin-top:24px}.section-heading{align-items:flex-start}.section-heading h2{font-size:16px}.primary-button{padding:10px 11px;font-size:10px}.node-grid{grid-template-columns:1fr;gap:10px}.node-card:last-child{grid-column:auto}.lower-grid{gap:10px}.panel{padding:17px}.incidents-panel{padding:17px 0 0}.incidents-panel .section-heading{padding:0 17px}.table-bottom{padding:12px 17px}.footer{flex-direction:column;gap:5px;padding-bottom:20px}.metrics-foot{flex-direction:column;gap:3px}.filter-wrap select{max-width:130px}.table-wrap table{min-width:620px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
