:root{color-scheme:dark;--bg:#071521;--panel:#10283a;--panel2:#15344a;--line:#25465b;--text:#f1f7f8;--muted:#a9bdc8;--green:#75d69a;--green2:#39b878}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;min-height:100vh}
.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 18% 10%,#174b493b,transparent 42%),radial-gradient(ellipse at 85% 60%,#1b5c7130,transparent 38%)}
.topbar{height:76px;border-bottom:1px solid #ffffff12;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1120px)/2));position:relative}
.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#8ce7a7,#239e72);display:grid;place-items:center;color:#09251e;font-weight:900;font-size:22px}.brand strong{display:block;letter-spacing:1.7px;font-size:13px}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:2px;margin-top:3px}
.system-pill{font-size:11px;color:#c4d8df;border:1px solid var(--line);border-radius:30px;padding:8px 12px}.system-pill i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:7px}
.shell{max-width:1120px;margin:0 auto;padding:56px 24px 24px;position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:start}
.eyebrow{color:var(--green);font-size:10px;font-weight:800;letter-spacing:2px}.hero h1{font-size:clamp(38px,5vw,62px);line-height:1.02;letter-spacing:-2px;margin:18px 0}.hero h1 em{font-style:normal;color:var(--green)}.hero>p{color:var(--muted);line-height:1.7;max-width:440px;font-size:15px}
.portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:32px}.portal-card{background:linear-gradient(145deg,#153247,#0e2637);border:1px solid var(--line);border-radius:15px;padding:17px;min-height:112px}.portal-icon{display:block;color:var(--green);font-size:22px;margin-bottom:13px}.portal-card b{display:block;font-size:13px}.portal-card small{display:block;color:var(--muted);font-size:10px;margin-top:5px;line-height:1.4}
.auth-panel,.dashboard{background:linear-gradient(155deg,#153247f5,#0d2333f5);border:1px solid #31536a;border-radius:21px;padding:27px;box-shadow:0 24px 70px #0005}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.panel-heading h2,.dash-head h2{font-size:22px;margin:7px 0 0}.lock{width:42px;height:42px;border-radius:13px;background:#24465a;color:var(--green);display:grid;place-items:center;font-size:24px}
label{display:block;color:#d5e2e8;font-size:12px;margin:15px 0}input{display:block;width:100%;margin-top:8px;border:1px solid #36586d;border-radius:10px;background:#091b29;color:white;padding:14px;font-size:14px;outline:none}input:focus{border-color:var(--green);box-shadow:0 0 0 3px #75d69a20}
.primary,.secondary{border:0;border-radius:10px;padding:14px 17px;font-weight:800;cursor:pointer}.primary{width:100%;background:linear-gradient(90deg,#79dda0,#42bd82);color:#09271d;margin-top:12px}.primary span{float:right;font-size:18px;line-height:15px}.secondary{background:#24465a;color:white}
.auth-foot{display:flex;align-items:center;gap:10px;justify-content:center;color:#76909e;font-size:11px;margin-top:18px}.text-button{border:0;background:none;color:var(--green);font-size:11px;cursor:pointer;padding:4px}.security-note{border-top:1px solid #ffffff14;margin-top:18px;padding-top:14px;color:#8fa6b2;font-size:10px;line-height:1.6}
.notice{background:#3d3420;border:1px solid #806b37;color:#ffe6a5;border-radius:9px;padding:11px;font-size:12px;margin-bottom:12px}.notice.error{background:#40282a;border-color:#81474b;color:#ffc3c6}
footer{grid-column:1/-1;text-align:center;color:#66818f;font-size:10px;padding:30px 0 8px}footer span{padding:0 7px}
.dashboard{grid-column:1/-1}.dash-head{display:flex;justify-content:space-between;align-items:center}.dash-head p{color:var(--muted);font-size:13px}.dash-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:24px 0}.dash-card{padding:20px;background:#1b3b50;border:1px solid #31566c;border-radius:14px}.dash-card span{color:var(--green);font-size:22px}.dash-card b{display:block;font-size:13px;margin-top:12px}.dash-card small{display:block;color:var(--muted);margin-top:5px;font-size:10px}.status-strip{display:flex;align-items:center;gap:9px;background:#0b302b;border:1px solid #28664e;border-radius:10px;padding:12px;color:#b6f0cc;font-size:12px}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--green)}.stage-note{color:var(--muted);font-size:12px;line-height:1.6}
[hidden]{display:none!important}
@media(max-width:800px){.shell{grid-template-columns:1fr;gap:26px;padding:34px 17px 20px}.hero h1{font-size:43px}.hero>p{font-size:13px}.portal-grid{gap:9px;margin-top:22px}.portal-card{padding:14px;min-height:105px}.auth-panel{padding:22px}.dashboard{grid-column:auto}.dash-cards{grid-template-columns:1fr 1fr}.topbar{height:66px;padding:0 17px}}
@media(max-width:380px){.system-pill{font-size:9px}.brand strong{font-size:11px}.portal-card small{font-size:9px}}
