:root{
  --bg:#0b1220;
  --mica:rgba(255,255,255,.06);
  --stroke:#212a3a;
  --text:#e6eaf2;
  --muted:#9aa4b2;
  --primary:#4cc2ff;
  --success:#39d98a;
  --danger:#ff6b6b;
}

html,body{height:100%}
body{
  margin:0;
  font:14px/1.6 "Segoe UI",system-ui,Roboto,Arial;
  background:linear-gradient(180deg,#0a0f1c,#0b1220 30%,#0b1220);
  color:var(--text);
}
a{color:var(--primary);text-decoration:none}

.wrap{max-width:1200px;margin:20px auto;padding:0 16px}

header.shell{
  position:sticky;top:0;z-index:10;
  display:flex;align-items:center;gap:12px;
  height:52px;padding:0 16px;
  background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.03));
  backdrop-filter:blur(12px) saturate(150%);
  border-bottom:1px solid var(--stroke);
}
header.shell .title{font-weight:600}
header.shell nav{margin-left:auto;display:flex;gap:10px}
header.shell nav a{
  padding:6px 10px;border-radius:10px;border:1px solid transparent;
}
header.shell nav a:hover{
  border-color:var(--stroke);
  background:var(--mica);
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:16px;
}

.card{
  background:var(--mica);
  border-radius:16px;
  border:1px solid var(--stroke);
  padding:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.glass{backdrop-filter:blur(10px) saturate(140%)}

h2{margin-top:0;margin-bottom:10px;font-size:16px}
h3{margin-top:4px;margin-bottom:8px;font-size:14px}

.row{display:flex;align-items:center;gap:10px;margin:8px 0}
.row label{min-width:150px;color:var(--muted);font-size:13px}

input,select,button{
  padding:9px 11px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:#0d1526;
  color:var(--text);
  outline:none;
  font:inherit;
}
input:focus,select:focus{border-color:var(--primary)}
button{cursor:pointer}

.btn{background:#151f33}
.btn.primary{
  background:linear-gradient(180deg,#5fd0ff,#4cc2ff);
  color:#001523;
  border:0;
}
.btn.success{
  background:linear-gradient(180deg,#49e69a,#39d98a);
  color:#001d10;
  border:0;
}
.btn.danger{
  background:linear-gradient(180deg,#ff8787,#ff6b6b);
  color:#2a0000;
  border:0;
}
.btn:hover{filter:brightness(1.03)}

.feedback{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  max-height:230px;
  overflow:auto;
  font-family:ui-monospace,Consolas,monospace;
  font-size:12.5px;
}

.muted{color:var(--muted);font-size:12px}

.subcard{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px dashed var(--stroke);
  background:rgba(255,255,255,.03);
}

footer.wrap{
  margin-top:24px;
  padding:12px 16px;
  border-radius:16px;
  border-top:1px solid var(--stroke);
  color:var(--muted);
  font-size:12px;
}
