:root{color-scheme:dark;--bg:#0a101c;--panel:#111a2b;--line:#26354a;--text:#eaf2ff;--muted:#8ea1b8;--teal:#43d8bd;--blue:#63a8ff;--amber:#f5c66d;--red:#ff7981}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.shell{display:flex;min-height:100vh}.sidebar{width:220px;flex:none;background:#0d1625;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;font-size:18px;letter-spacing:.03em}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.19em}.brand-mark{height:38px;width:38px;border-radius:11px;background:linear-gradient(135deg,#37d8c0,#4d91ec);display:grid;place-items:center;color:#071422;font-weight:900;font-size:22px;box-shadow:0 7px 20px #35c6c344}.sidebar nav{margin-top:48px;display:grid;gap:7px}.sidebar nav a{padding:10px 13px;border-radius:9px;color:var(--muted);display:flex;gap:12px;align-items:center;font-size:15px}.sidebar nav a:hover,.sidebar nav a.active{background:#1b2d43;color:var(--text)}.sidebar-bottom{margin-top:auto;color:var(--muted);font-size:12px;line-height:2}.sidebar-bottom small{color:#6f839b}.live-dot{display:inline-block;width:8px;height:8px;background:var(--teal);border-radius:50%;box-shadow:0 0 10px var(--teal);margin-right:7px}main{width:100%;max-width:1700px;margin:auto;padding:35px 38px 30px}header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:45px}.eyebrow{color:var(--teal);font-weight:700;letter-spacing:.2em;font-size:11px;margin:0 0 8px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;margin-bottom:8px;letter-spacing:-.03em}h2{font-size:20px;margin-bottom:1px;letter-spacing:-.02em}h3{font-size:16px;margin-bottom:2px}p.muted,.muted,.section-title p,.card-head p{color:var(--muted)}.header-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.status-pill,.ghost{border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:#122337;color:var(--text)}.status-pill{color:var(--teal);font-size:12px}.status-pill.stale{color:var(--amber)}.ghost{cursor:pointer}.ghost:hover{border-color:var(--blue)}section{margin-bottom:42px}.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px}.section-title p{margin:0}.card{background:var(--panel);border:1px solid var(--line);border-radius:15px;box-shadow:0 12px 28px #00000012}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.kpi{padding:20px}.kpi-top{display:flex;justify-content:space-between;color:var(--muted);margin-bottom:13px}.icon{color:var(--teal);font-size:17px}.kpi strong{font-size:27px;letter-spacing:-.03em}.kpi small{color:var(--muted)}.meter{height:6px;background:#25374c;border-radius:9px;margin:11px 0}.meter i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#3ed6b8,#63a8ff);width:0}.two{display:grid;grid-template-columns:2fr 1fr;gap:15px;margin-top:15px}.chart-card,.status-card,.flow-card,.log-card{padding:21px}.card-head{display:flex;justify-content:space-between;gap:12px}.card-head p{font-size:12px}.legend{display:flex;gap:15px;font-size:12px;color:var(--muted)}.legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}.legend-cpu{background:var(--teal)}.legend-memory{background:var(--blue)}#chart{width:100%;height:188px;margin-top:12px;overflow:visible}.status-stat{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:9px 0;color:var(--muted)}.status-stat:last-child{border:0}.status-stat strong{color:var(--text);font-size:17px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:680px}th,td{text-align:left;padding:14px 17px;border-bottom:1px solid var(--line)}th{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}tr:last-child td{border-bottom:0}td:first-child{font-weight:600}.badge{border-radius:20px;padding:4px 9px;background:#1b423c;color:#69e8c9;font-size:12px}.badge.warn{background:#493927;color:var(--amber)}.badge.error{background:#472735;color:var(--red)}.flow-map{display:flex;flex-wrap:wrap;gap:12px;min-height:105px;align-items:center}.flow-edge{padding:10px 14px;border-radius:10px;border:1px solid #2c5c68;background:#132b3a;color:#c8edeb}.flow-edge .arrow{color:var(--teal);padding:0 12px}.flow-note{border-top:1px solid var(--line);padding-top:12px;margin-top:15px;color:var(--muted);font-size:12px}.log-list{max-height:360px;overflow:auto}.log-row{display:grid;grid-template-columns:95px 150px 85px 1fr 60px;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.log-row:last-child{border:0}.log-row .event{color:var(--text)}select,input{background:#162439;border:1px solid var(--line);color:var(--text);border-radius:8px;padding:9px 12px}footer{color:#657a91;font-size:12px}.error{background:#492a34;color:#ffd4d8;border:1px solid #89515b;border-radius:9px;padding:10px 14px;margin-bottom:20px}.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 10%,#1b3447,#0a101c 55%)}.login-card{width:min(420px,calc(100vw - 32px));padding:35px;background:var(--panel);border:1px solid var(--line);border-radius:20px;box-shadow:0 25px 70px #0006}.login-card .brand-mark{margin-bottom:25px}.login-card h1{font-size:29px}.login-card .muted{margin-bottom:26px}.login-card label{display:block;margin:18px 0 6px;font-weight:600}.login-card input{width:100%}.login-card button{width:100%;margin-top:24px;background:var(--teal);color:#09202a;border:0;border-radius:9px;padding:11px 14px;font-weight:800;cursor:pointer;display:flex;justify-content:space-between}.login-foot{text-align:center;color:var(--muted);font-size:12px;margin:25px 0 0}@media(max-width:1050px){.kpis{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}.sidebar{width:70px;padding:20px 12px}.sidebar .brand div:last-child,.sidebar nav span,.sidebar-bottom{display:none}.sidebar nav a{justify-content:center}}@media(max-width:650px){main{padding:24px 17px}.sidebar{display:none}header{display:block}.header-right{margin-top:20px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi{padding:15px}.kpi strong{font-size:23px}.log-row{grid-template-columns:65px 90px 60px 1fr}.log-row .status{display:none}}
