:root{
  --bg:#0b1220; --card:#0f1a2e; --muted:#9fb0d0; --text:#e9eefc;
  --line: rgba(255,255,255,.10); --accent:#6ea8ff;
  --shadow: 0 12px 36px rgba(0,0,0,.35); --radius:16px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}
*{box-sizing:border-box}
body{
  margin:0; font-family:var(--font); color:var(--text); line-height:1.45;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(110,168,255,.22), transparent 55%),
             radial-gradient(900px 500px at 90% 0%, rgba(54,211,153,.12), transparent 50%),
             var(--bg);
}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:980px; margin:0 auto}
header{padding:24px 18px 12px; border-bottom:1px solid var(--line); backdrop-filter: blur(8px);}
.brand{display:flex; align-items:center; justify-content:space-between; gap:12px;}
.logo{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.3px;}
.mark{width:34px; height:34px; border-radius:10px; background: linear-gradient(135deg, rgba(110,168,255,.95), rgba(54,211,153,.85)); box-shadow: var(--shadow);}
.nav{display:flex; gap:14px; flex-wrap:wrap; font-size:14px; color:var(--muted);}
.nav a{color:var(--muted)}
@media (max-width:900px){ .nav{display:none} }

main{padding:18px}
.card{
  background: rgba(15,26,46,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:16px;}
@media (max-width:900px){ .grid{grid-template-columns:1fr} }

h1{margin:8px 0 10px; font-size: clamp(26px, 3.5vw, 40px); line-height:1.12;}
h2{margin:0 0 10px; font-size:20px;}
.sub{color:var(--muted); max-width:70ch; margin:0 0 18px;}
.list{margin:0; padding-left:18px}
.list li{margin:6px 0}
.pill{display:inline-block; padding:6px 10px; border-radius:999px; background: rgba(110,168,255,.14); border:1px solid rgba(110,168,255,.25); color: rgba(233,238,252,.92); font-size:12px; font-weight:700;}
footer{border-top:1px solid var(--line); padding:18px; color:var(--muted); font-size:13px;}
.small{font-size:13px; color:var(--muted);}
.ad{border:1px dashed rgba(255,255,255,.25); border-radius:12px; padding:14px; color: rgba(233,238,252,.75); text-align:center; font-size:13px; background: rgba(255,255,255,.03);}
.sep{height:1px; background: var(--line); margin:14px 0;}
label{display:block; font-size:13px; color: var(--muted); margin-bottom:6px;}
input{
  width:100%; padding:12px 12px; border-radius:12px;
  border:1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.18);
  color:var(--text); outline:none; font-size:16px;
}
input:focus{border-color: rgba(110,168,255,.6); box-shadow: 0 0 0 3px rgba(110,168,255,.15);}
.form{display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-top:10px;}
@media (max-width:640px){ .form{grid-template-columns:1fr} }
.row{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; flex-wrap:wrap;}
.btn{
  border:0; background: linear-gradient(135deg, rgba(110,168,255,.95), rgba(110,168,255,.7));
  color:#081022; font-weight:800; padding:12px 14px; border-radius:12px;
  cursor:pointer; box-shadow: 0 10px 30px rgba(110,168,255,.15); font-size:15px;
}
.btn.secondary{background: rgba(255,255,255,.08); color: var(--text); font-weight:700; border:1px solid rgba(255,255,255,.14); box-shadow:none;}
.kpi{display:grid; gap:10px; margin-top:12px;}
.kpi .box{border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:12px; background: rgba(255,255,255,.03);}
.kpi .title{color:var(--muted); font-size:13px; margin-bottom:6px;}
.kpi .value{font-size:22px; font-weight:900; letter-spacing:.2px;}
.good{color:#36d399} .bad{color:#ff6b6b}
details{border:1px solid rgba(255,255,255,.10); border-radius:14px; padding:12px; background: rgba(255,255,255,.03);}
details + details{margin-top:10px}
summary{cursor:pointer; font-weight:800}

select{width:100%; padding:12px 12px; border-radius:12px; border:1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.18); color:var(--text); outline:none; font-size:16px;}
select:focus{border-color: rgba(110,168,255,.6); box-shadow: 0 0 0 3px rgba(110,168,255,.15);}