:root{
  --bg1:#061528;
  --bg2:#0a2f56;
  --card:#0b2a4a;
  --card2:#0e3560;
  --text:#eaf3ff;
  --muted:#b8d7ff;
  --line:rgba(255,255,255,.14);
  --accent:#4aa3ff;
  --accent2:#79c2ff;
  --shadow: 0 12px 34px rgba(0,0,0,.35);
  --r:18px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(74,163,255,.25), transparent 55%),
    radial-gradient(900px 500px at 85% 8%, rgba(121,194,255,.18), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

.topbar{
  padding:16px 14px 10px;
  border-bottom:1px solid var(--line);
  background: rgba(8, 26, 46, .55);
  backdrop-filter: blur(8px);
}

.brand{
  max-width: 980px;
  margin: 0 auto;
  display:flex;
  gap:12px;
  align-items:center;
}

.logo{
  width:44px;height:44px;
  border-radius:14px;
  display:grid;place-items:center;
  font-weight:1000;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#061a2f;
  box-shadow: var(--shadow);
}

.brand h1{margin:0;font-size:30px}
.brand p{margin:2px 0 0;color:var(--muted);font-size:13px}

.tabs{
  max-width:980px;
  margin: 12px auto 0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}

.tab{
  border:1px solid var(--line);
  background: rgba(6,32,56,.35);
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
}

.tab.active{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#061a2f;
  border-color: transparent;
}

.wrap{
  max-width:980px;
  margin:0 auto;
  padding: 16px 14px 26px;
}

.panel{display:none}
.panel.active{display:block}

.card{
  background: linear-gradient(160deg, rgba(14,53,96,.92), rgba(11,42,74,.92));
  border:1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-top:14px;
}

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
@media (max-width: 820px){
  .hero{grid-template-columns:1fr}
}

.hero-left h2{margin:0 0 8px}
.hero-right{
  display:grid;
  gap:10px;
}
.stat{
  border:1px solid var(--line);
  background: rgba(6,32,56,.25);
  border-radius: 16px;
  padding:12px;
}
.stat-title{color:var(--muted);font-weight:900;font-size:12px}
.stat-value{font-weight:1000;font-size:26px;margin-top:4px}

.row{display:flex;gap:10px;flex-wrap:wrap}
.between{justify-content:space-between;align-items:center}

.btn{
  border:1px solid var(--line);
  background: rgba(6,32,56,.35);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 14px;
  cursor:pointer;
  font-weight:1000;
}
.btn.ghost{background: transparent}

.btn.primary{
  border:none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#061a2f;
}

.btn.link{text-decoration:none;display:inline-block}

.divider{height:1px;background:var(--line);margin:14px 0}

.muted{color:var(--muted);line-height:1.55}
.hint{color:rgba(184,215,255,.9);font-size:13px;margin-top:10px}

.list{margin:10px 0 0; padding-left:18px}
.list li{margin:8px 0;color:var(--muted)}

.pill{
  border:1px solid var(--line);
  background: rgba(6,32,56,.25);
  padding:8px 12px;
  border-radius:999px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 820px){
  .grid{grid-template-columns:1fr}
}

.cardItem{
  border:1px solid var(--line);
  background: rgba(6,32,56,.25);
  border-radius: 16px;
  padding: 14px;
  position: relative;
  overflow:hidden;
}

.badge{
  position:absolute;
  top:12px; right:12px;
  font-size:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.08);
  padding:6px 10px;
  border-radius:999px;
}

.cardItem h4{margin:0 0 8px}
.cardItem p{margin:0;color:var(--muted)}

.checkRow{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.checkRow label{display:flex;gap:10px;align-items:center;font-weight:900}
.checkRow input{width:18px;height:18px}

.stack{display:grid;gap:10px}
.entry{
  border:1px solid var(--line);
  background: rgba(6,32,56,.25);
  border-radius: 16px;
  padding: 12px;
}
.entry .meta{color:rgba(184,215,255,.85);font-size:12px}
.entry .txt{margin:8px 0 0;color:var(--muted);white-space:pre-wrap}

.form label{
  display:block;
  margin-top:12px;
  color:var(--muted);
  font-weight:1000;
}
textarea{
  width:100%;
  margin-top:8px;
  padding:12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(6,32,56,.35);
  color:var(--text);
  outline:none;
  resize: vertical;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top: 12px;
}
@media (max-width: 820px){
  .grid2{grid-template-columns:1fr}
}
.mini{
  border:1px solid var(--line);
  background: rgba(6,32,56,.25);
  border-radius: 16px;
  padding: 12px;
}
.mini h4{margin:0 0 6px}
.mini p{margin:0}

.footer{
  text-align:center;
  padding: 16px 12px 22px;
  border-top:1px solid var(--line);
  background: rgba(8, 26, 46, .35);
  color: rgba(184,215,255,.9);
}