*{box-sizing:border-box}body{margin:0;background:#08111e;color:#e7eef6;font:14px/1.5 system-ui,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #32685f;background:#173d42;color:#a8f0d9;border-radius:7px;padding:8px 12px;font-size:11px;font-weight:700}button:hover{filter:brightness(1.15)}.top{height:64px;padding:0 3vw;display:flex;align-items:center;justify-content:space-between;background:#091522;border-bottom:1px solid #24384d}.brand{display:flex;align-items:center;gap:10px}.brand>b{background:#52d6b2;color:#09201c;padding:9px 11px;border-radius:9px}.brand strong,.brand small{display:block}.brand small{font-size:10px;color:#8ba2b9}.offline{font-size:10px;color:#8de5c9;border:1px solid #286459;padding:5px 9px;border-radius:20px}.globals{display:grid;grid-template-columns:1.1fr repeat(3,1fr) .7fr .7fr auto;gap:13px;align-items:center;padding:12px 3vw;background:#0d1a29;border-bottom:1px solid #263a50}.gtitle{font-size:12px}.gtitle small{display:block;color:#8299b1;font-size:10px}.gtitle i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#52d6b2;margin-right:6px}.globals label,.field{display:flex;flex-direction:column;gap:4px;color:#9eb2c6;font-size:10px;min-width:0}.globals label b{color:#fff}.globals input{width:100%;accent-color:#52d6b2}.globals select,.controls select{background:#14263a;color:#e7eef6;border:1px solid #2c4057;border-radius:6px;padding:6px}.gbuttons{display:flex;gap:6px}.gbuttons button:last-child{background:#152337;border-color:#30445a;color:#aabbd0}nav{display:flex;gap:4px;overflow:auto;padding:9px 3vw;background:#0a1624;border-bottom:1px solid #20344a}nav a{white-space:nowrap;padding:7px 9px;border-radius:7px;font-size:10px;color:#94a9be}nav a small{color:#6c879e;margin-right:6px}nav a.active{background:#143a38;color:#a9f1da;border:1px solid #2c6b60}main{max-width:1500px;margin:auto;padding:25px 3vw 55px}.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}.heading small{color:#52d6b2;letter-spacing:1.5px;font-size:9px;font-weight:800}.heading h1{font-size:clamp(24px,3vw,34px);letter-spacing:-1px;margin:5px 0}.heading p{color:#8fa5bb;margin:0;font-size:12px;max-width:850px}.live{font-size:9px;white-space:nowrap;color:#9de8d1;background:#102b2a;border:1px solid #285a54;padding:7px 10px;border-radius:20px}.panel{background:linear-gradient(180deg,#122236,#0e1b2a);border:1px solid #2a3e53;border-radius:12px;padding:16px;margin-bottom:15px;min-width:0}.panel h2{font-size:14px;margin:0 0 5px}.panel p{color:#91a7bc;font-size:11px;margin:3px 0 12px}.cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}.stat{padding:11px;background:#0a1725;border:1px solid #263b51;border-radius:9px;min-width:0}.stat small,.stat em{display:block;color:#8ca3ba;font-size:9px;font-style:normal}.stat b{display:block;font-size:20px;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.stat i{font-size:10px;color:#8199b1;font-style:normal;margin-left:4px}.note,.warning{font-size:11px;padding:11px 13px;border-left:3px solid #52d6b2;background:#102a31;color:#b7d8d3;border-radius:0 7px 7px 0;margin-top:12px}.warning{border-color:#f4b860;background:#302718;color:#e6c99b}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0}.cards a,.topocard{background:#102034;border:1px solid #2a4057;border-radius:10px;padding:14px;min-height:135px}.cards a:hover{border-color:#52bda1;transform:translateY(-2px)}.cards small{color:#52d6b2;font-size:9px;font-weight:800}.cards h3{font-size:13px;margin:8px 0 4px}.cards p,.topocard p{font-size:10px;color:#91a7bc;margin:0 0 8px}.cards b{font-size:10px;color:#90e4cb}.equation{background:#091522;border:1px solid #263d52;padding:13px;border-radius:8px;font:18px/1.7 Georgia,serif;overflow:auto}.stage{background:#0a1725;border:1px solid #273c52;border-radius:9px;padding:9px;margin:10px 0}.stage svg{width:100%;max-height:330px}.stage text{fill:#d1deea;text-anchor:middle;font:12px system-ui}.layer{cursor:pointer;stroke:#8ba6bb;stroke-width:1}.layer.sel{stroke:#fff;stroke-width:3}.layerbuttons{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.layerbuttons button{background:#0b1928;border-color:#2c4259;color:#a9bdcf;font-size:10px}.layerbuttons button.sel{border-color:#52d6b2;color:#b4f1df}.actions,.controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:10px}.controls label{min-width:150px;flex:1}.controls input{width:100%;accent-color:#52d6b2}.field{margin:12px 0}.field input{width:100%;accent-color:#52d6b2}.chart{height:280px;background:#0a1523;border:1px solid #24394e;border-radius:9px;overflow:hidden}.chart canvas{width:100%;height:100%;display:block}.row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #203449;font-size:11px}.row span{color:#91a7bc}.row b{font-variant-numeric:tabular-nums}.topocards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.topocard h3{margin:0 0 5px;font-size:12px}.topocard>b{font-size:20px}.motif{display:flex;gap:4px;margin:10px 0}.motif i{height:18px;flex:1;background:#287b70;border-radius:4px}.bar{height:6px;background:#1d3044;border-radius:20px;margin:9px 0;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,#2c8e84,#63d9b4)}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:10px}td,th{padding:7px;text-align:right;border-bottom:1px solid #26394d}th{color:#a7bbce}td{font-variant-numeric:tabular-nums}.hidden{display:none!important}pre{white-space:pre-wrap;font-size:10px}footer{border-top:1px solid #21364b;padding:14px 3vw;color:#748ba2;font-size:10px;display:flex;justify-content:space-between;gap:10px}@media(max-width:1050px){.globals{grid-template-columns:repeat(3,1fr)}.cards,.topocards{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.globals{grid-template-columns:repeat(2,1fr)}.gtitle{grid-column:span 2}.gbuttons{grid-column:span 2}.cols{grid-template-columns:1fr}.cards,.topocards{grid-template-columns:1fr 1fr}.stats{grid-template-columns:repeat(2,1fr)}.heading{display:block}.live{display:inline-block;margin-top:12px}footer{display:block}footer span{display:block;margin-top:5px}}@media(max-width:420px){.cards,.topocards{grid-template-columns:1fr}.panel{padding:12px}.chart{height:245px}.layerbuttons{grid-template-columns:repeat(2,1fr)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
