:root{--bg:#020806;--panel:#07130f;--panel2:#0a1712;--line:#1d4b31;--green:#5cff4f;--text:#effaf2;--muted:#8ba092;--warn:#ffd166;--danger:#ff6b6b}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#020806;color:var(--text)}a{color:inherit}.app-body{min-height:100vh;background:radial-gradient(circle at 90% 0,#0b2617,transparent 28%),#020806}.app-sidebar{position:fixed;left:0;top:0;bottom:0;width:250px;background:#020604;border-right:1px solid #17422b;padding:22px 16px;display:flex;flex-direction:column;z-index:30}.brand{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none}.brand-mark{width:40px;height:40px;color:var(--green);display:inline-flex}.brand-mark svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2}.brand-copy{display:flex;flex-direction:column}.brand-copy strong{font-size:28px;line-height:23px}.brand-copy small{font-size:7px;letter-spacing:4px;color:#aebdb3}.app-sidebar nav{display:flex;flex-direction:column;gap:6px;margin-top:38px}.app-sidebar nav a{display:flex;align-items:center;gap:11px;text-decoration:none;padding:12px;border:1px solid transparent;border-radius:8px;color:#b9c9be;font-size:12px}.app-sidebar nav a:hover,.app-sidebar nav a.active{border-color:#2d7446;background:#0a1a11;color:var(--green)}.app-sidebar nav span{font-size:18px}.sidebar-user{margin-top:auto;border-top:1px solid #173c29;padding-top:17px;display:flex;flex-direction:column;gap:7px}.sidebar-user span{font-size:9px;color:var(--green)}.sidebar-user strong{font-size:11px;word-break:break-all}.sidebar-user a{font-size:10px;color:#9db0a3;text-decoration:none}.app-main{margin-left:250px;min-height:100vh}.app-topbar{height:72px;border-bottom:1px solid #17422b;background:#020604e9;display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.app-topbar>div:first-of-type{display:flex;flex-direction:column}.app-topbar span{font-size:9px;color:var(--green);letter-spacing:1px}.app-topbar strong{font-size:18px}.topbar-status{border:1px solid #2e7746;border-radius:99px;padding:8px 12px;font-size:9px;color:#a9bbae}.topbar-status i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 10px var(--green);margin-right:6px}.app-menu-toggle{display:none;background:transparent;color:#fff;border:1px solid #2d7446;border-radius:6px;padding:8px}.app-content{padding:24px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.page-head .label,.card-label{font-size:9px;color:var(--green);font-weight:900;letter-spacing:1px}.page-head h1{font-size:31px;margin:7px 0}.page-head p{color:var(--muted);margin:0}.grid{display:grid;gap:13px}.grid.kpis{grid-template-columns:repeat(4,1fr)}.grid.two{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:repeat(3,1fr)}.card{background:linear-gradient(145deg,#07130f,#04100b);border:1px solid #235c3b;border-radius:11px;padding:20px;box-shadow:inset 0 0 28px rgba(20,255,67,.025)}.card h2{font-size:15px;margin:0 0 15px}.card .value{font-size:30px;font-weight:800;margin:10px 0}.muted{color:var(--muted)!important}.status{display:inline-flex;align-items:center;border:1px solid #53645a;border-radius:99px;padding:5px 8px;font-size:8px;font-weight:900}.status.ok{border-color:#32984f;color:#71ff83;background:#0a2512}.status.warn{border-color:#8c7438;color:#ffe49a;background:#2a210b}.status.bad{border-color:#8e3c3c;color:#ffabab;background:#2a0b0b}.pipeline{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.pipeline div{border:1px solid #265e3d;border-radius:7px;padding:15px 8px;text-align:center;font-size:9px;color:#c4d3c9;position:relative}.pipeline div:not(:last-child):after{content:'→';position:absolute;right:-8px;color:var(--green)}table{width:100%;border-collapse:collapse;font-size:10px}th,td{text-align:left;border-bottom:1px solid #173d29;padding:10px 8px;vertical-align:top}th{color:#789080;font-size:8px;letter-spacing:.5px}td code{font-size:9px;color:#82ff8d;word-break:break-all}.table-wrap{overflow:auto}.health-list{display:flex;flex-direction:column;gap:11px}.health-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #173d29;padding-bottom:10px}.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:7px;padding:11px 16px;border:0;font-size:9px;font-weight:900;cursor:pointer}.btn.primary{background:var(--green);color:#041006}.btn.secondary{border:1px solid #337e4a;background:#07120d;color:#fff}.btn.danger{border:1px solid #8e3c3c;background:#2a0b0b;color:#ffb0b0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:9px;color:#a8b8ad}.field input,.field select,.field textarea{background:#020806;color:#fff;border:1px solid #295e3d;border-radius:7px;padding:12px}.field textarea{min-height:120px}.alert{padding:12px;border-radius:7px;font-size:10px;margin-bottom:13px}.alert.success{border:1px solid #349a50;background:#0c2814;color:#7aff8a}.alert.error{border:1px solid #9a4040;background:#2a0c0c;color:#ffb0b0}.hash{font-family:monospace;color:#79ff86;word-break:break-all;font-size:9px}.proof-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.proof-item{border:1px solid #1e4e33;border-radius:7px;padding:13px}.proof-item span{display:block;font-size:8px;color:#83988a;margin-bottom:6px}.empty{display:flex;align-items:center;justify-content:center;min-height:120px;border:1px dashed #244f36;border-radius:7px;color:#708475;font-size:10px}.app-chart{width:100%;height:220px;display:block}.app-chart .axis{stroke:#1c412c}.app-chart .line{fill:none;stroke:var(--green);stroke-width:3;filter:drop-shadow(0 0 5px #4dff60)}@media(max-width:1100px){.grid.kpis{grid-template-columns:repeat(2,1fr)}.grid.two,.grid.three{grid-template-columns:1fr}.pipeline{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.app-sidebar{transform:translateX(-100%);transition:.25s}.app-sidebar.open{transform:translateX(0)}.app-main{margin-left:0}.app-menu-toggle{display:block}.app-topbar{justify-content:flex-start;gap:15px}.topbar-status{margin-left:auto}.app-content{padding:15px}.grid.kpis{grid-template-columns:1fr}.page-head{flex-direction:column}.proof-grid,.form-row{grid-template-columns:1fr}.field.full{grid-column:auto}.pipeline{grid-template-columns:1fr}}

.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#020806}.auth-scene{padding:38px 5vw;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(90deg,rgba(2,8,6,.72),rgba(2,8,6,.35)),url('../img/hero-energy.jpg') center/cover;border-right:1px solid #1d4b31}.auth-scene h1{font-size:48px;line-height:1.05;margin:12px 0}.auth-scene p{max-width:560px;color:#c2d2c7;line-height:1.7}.auth-panel{display:flex;align-items:center;justify-content:center;padding:30px}.auth-card{width:100%;max-width:470px;background:linear-gradient(145deg,#07130f,#04100b);border:1px solid #235c3b;border-radius:12px;padding:28px}.auth-card.wide{max-width:650px}.auth-card h2{font-size:30px;margin:9px 0}.auth-card form{display:flex;flex-direction:column;gap:13px}.auth-links{font-size:10px;color:#8da194;margin-top:18px}.auth-links a{color:var(--green)}@media(max-width:850px){.auth-page{grid-template-columns:1fr}.auth-scene{min-height:310px}.auth-scene h1{font-size:36px}.auth-panel{padding:20px}}
.compact-form{display:grid;grid-template-columns:minmax(90px,1fr);gap:5px;min-width:170px}.compact-form input{width:100%;min-width:0;background:#020806;border:1px solid #285e3d;color:#fff;padding:7px;border-radius:5px;font:inherit}.compact-form input:focus{outline:0;border-color:var(--green)}
.steps{margin:0;padding-left:20px;color:#c4d4ca;line-height:1.75}.copy-code{background:#03100b;border:1px dashed #34794c;color:var(--green);padding:6px 9px;border-radius:5px;cursor:pointer;font:inherit}.field textarea{width:100%;min-height:100px;background:#020806;border:1px solid #285e3d;color:#fff;padding:12px;border-radius:6px;resize:vertical}.alert.warn{border-color:#8f6e22;background:#2a2108;color:#ffe19a}

.topbar-status.ok{border-color:#2e7746;color:#a9bbae}.topbar-status.bad{border-color:#8e3c3c;color:#ffabab;background:#2a0b0b}.topbar-status.bad i{background:#ff6b6b;box-shadow:0 0 10px #ff6b6b}
