
:root{
  --bg1:#0b1020;
  --bg2:#0a2a3a;
  --card:rgba(255,255,255,.08);
  --card2:rgba(255,255,255,.12);
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.75);
  --line:rgba(255,255,255,.14);
  --accent:#7cf6ff;
  --accent2:#b47cff;
  --good:#66ffb3;
  --warn:#ffd56a;
  --bad:#ff6b7a;
  --shadow: 0 16px 50px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 15% 20%, rgba(124,246,255,.20), transparent 60%),
    radial-gradient(900px 600px at 85% 25%, rgba(180,124,255,.18), transparent 60%),
    radial-gradient(800px 600px at 55% 90%, rgba(102,255,179,.12), transparent 60%),
    linear-gradient(140deg, var(--bg1), var(--bg2));
  background-attachment: fixed;
  overflow-x:hidden;
}

a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}

.wrap{min-height:100%; display:flex; flex-direction:column}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background:rgba(10,16,32,.65);
  border-bottom:1px solid var(--line);
}
.topbar .inner{
  max-width:1200px; margin:0 auto; padding:14px 16px;
  display:flex; align-items:center; gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.4px;
}
.logo{
  width:38px; height:38px; border-radius:12px;
  background: linear-gradient(135deg, rgba(124,246,255,.9), rgba(180,124,255,.9));
  box-shadow: 0 10px 25px rgba(124,246,255,.18);
}
.brand span{font-size:14px; opacity:.95}
.brand small{display:block; font-weight:600; opacity:.7; letter-spacing:0}

.nav{
  display:flex; flex-wrap:wrap; gap:10px; margin-left:auto; align-items:center;
}
.nav a{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 12px; border-radius:14px;
  border:1px solid transparent;
  color:rgba(234,240,255,.92);
  background:transparent;
  transition: .15s ease;
  font-weight:650;
  font-size:13px;
}
.nav a:hover{border-color:var(--line); background:rgba(255,255,255,.05); text-decoration:none}
.nav a.active{border-color:rgba(124,246,255,.5); background:rgba(124,246,255,.10); color:var(--text)}

.container{max-width:1200px; margin:0 auto; padding:26px 16px 110px}
.hero{
  display:grid; grid-template-columns: 1.2fr .8fr; gap:18px;
}
@media (max-width: 980px){ .hero{grid-template-columns:1fr} }

.card{
  background: linear-gradient(180deg, var(--card), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow: var(--shadow);
}
.card.pad{padding:18px}
.card h1{margin:0 0 8px; font-size:30px; letter-spacing:.2px}
.card h2{margin:0 0 10px; font-size:18px}
.card p{margin:8px 0; color:var(--muted); line-height:1.5}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:rgba(234,240,255,.9);
  font-weight:650;
  font-size:12px;
}
.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
@media (max-width: 720px){ .grid2{grid-template-columns:1fr} }

.hr{height:1px; background:var(--line); margin:14px 0}

.field{
  display:flex; flex-direction:column; gap:6px;
}
label{font-size:12px; color:rgba(234,240,255,.75); font-weight:650}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(7,10,20,.55);
  color:var(--text);
  outline:none;
}
textarea{min-height:110px; resize:vertical}
input:focus, textarea:focus, select:focus{
  border-color: rgba(124,246,255,.55);
  box-shadow: 0 0 0 3px rgba(124,246,255,.12);
}

.btnrow{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.btn{
  cursor:pointer;
  border:none;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  color:var(--text);
  border:1px solid rgba(255,255,255,.16);
  font-weight:750;
  transition: .15s ease;
}
.btn:hover{transform: translateY(-1px); background:rgba(255,255,255,.10)}
.btn.primary{
  background: linear-gradient(135deg, rgba(124,246,255,.95), rgba(180,124,255,.95));
  color:#06101a;
  border-color: transparent;
}
.btn.primary:hover{filter:brightness(1.03)}
.btn.good{background:rgba(102,255,179,.15); border-color:rgba(102,255,179,.35)}
.btn.bad{background:rgba(255,107,122,.15); border-color:rgba(255,107,122,.35)}
.btn.ghost{background:transparent}
.btn.small{padding:9px 10px; border-radius:14px; font-size:12px}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:750; padding:7px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
}
.badge.good{border-color:rgba(102,255,179,.35); background:rgba(102,255,179,.10)}
.badge.warn{border-color:rgba(255,213,106,.35); background:rgba(255,213,106,.10)}
.badge.bad{border-color:rgba(255,107,122,.35); background:rgba(255,107,122,.10)}

.qbox{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
}
.qtitle{display:flex; align-items:center; justify-content:space-between; gap:10px}
.qtitle b{font-size:14px}
.progress{
  height:10px; border-radius:999px; background:rgba(255,255,255,.10);
  overflow:hidden; border:1px solid rgba(255,255,255,.12);
}
.progress > div{height:100%; width:0%; background:linear-gradient(90deg, rgba(124,246,255,.9), rgba(180,124,255,.9))}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace}

.footer{
  margin-top:auto;
  border-top:1px solid var(--line);
  background:rgba(10,16,32,.55);
  backdrop-filter: blur(10px);
}
.footer .inner{
  max-width:1200px; margin:0 auto; padding:16px;
  display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between;
  color:rgba(234,240,255,.75);
  font-size:12px;
}

.fab{
  position:fixed; right:18px; bottom:18px; z-index:60;
  display:flex; flex-direction:column; gap:10px;
}
.fab button{
  width:46px; height:46px; border-radius:18px;
  display:grid; place-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  color:var(--text);
  cursor:pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition:.15s ease;
}
.fab button:hover{transform: translateY(-1px); background:rgba(255,255,255,.10)}
.notice{
  padding:12px 14px;
  border-radius:18px;
  border:1px dashed rgba(255,255,255,.22);
  background:rgba(255,255,255,.03);
  color:rgba(234,240,255,.80);
  line-height:1.5;
}
.kv{display:grid; grid-template-columns: 170px 1fr; gap:8px; align-items:start}
@media (max-width: 640px){ .kv{grid-template-columns:1fr} }
.kv div:first-child{color:rgba(234,240,255,.7); font-weight:700}
.tablelike{
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  overflow:hidden;
}
.tablelike .row{display:grid; grid-template-columns: 1fr 1fr; gap:0; border-bottom:1px solid rgba(255,255,255,.10)}
.tablelike .row:last-child{border-bottom:none}
.tablelike .cell{padding:12px 14px}
.tablelike .cell.head{background:rgba(255,255,255,.05); color:rgba(234,240,255,.78); font-weight:800}
@media (max-width: 720px){ .tablelike .row{grid-template-columns:1fr} }
