
:root{
  --bg:#0b1220;
  --card:#111a2e;
  --muted:#9ca3af;
  --text:#e5e7eb;
  --accent:#22c55e;
  --danger:#ef4444;
  --border:rgba(255,255,255,.10);
}

*{box-sizing:border-box;}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  background:var(--bg);
  color:var(--text);
}
a{color:inherit}
.container{
  max-width:760px;
  margin:0 auto;
  padding:18px;
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0 14px;
}
.brand{
  display:flex; gap:10px; align-items:center;
}
.logo{
  width:40px; height:40px; border-radius:12px;
  background:linear-gradient(135deg, rgba(34,197,94,.25), rgba(34,197,94,.05));
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; color:var(--accent);
}
.titleblock .title{font-size:18px; font-weight:800; line-height:1.1}
.titleblock .sub{font-size:12px; color:var(--muted)}
.btn{
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
}
.btn.primary{border-color:rgba(34,197,94,.35); background:rgba(34,197,94,.12); color:var(--text);}
.btn.danger{border-color:rgba(239,68,68,.35); background:rgba(239,68,68,.12);}
.btn:disabled{opacity:.45}
.row{display:flex; gap:10px; flex-wrap:wrap;}
.card{
  border:1px solid var(--border);
  background:var(--card);
  border-radius:16px;
  padding:14px;
}
.kpis{display:flex; gap:10px; flex-wrap:wrap;}
.kpi{
  flex:1 1 160px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  border-radius:14px;
  padding:12px;
}
.kpi .label{font-size:12px; color:var(--muted)}
.kpi .value{font-size:16px; font-weight:800; margin-top:4px}
.qmeta{display:flex; justify-content:space-between; color:var(--muted); font-size:12px; margin-bottom:8px}
.qtext{font-size:20px; font-weight:800; line-height:1.25; margin:6px 0 10px}
.answerbox{
  border:1px dashed rgba(255,255,255,.18);
  border-radius:14px;
  padding:12px;
  background:rgba(0,0,0,.10);
}
.answerbox h4{margin:0 0 8px; font-size:13px; color:var(--text)}
.answerbox ul{margin:0 0 10px 18px; padding:0}
.answerbox p{margin:0; color:var(--muted); line-height:1.4}
.footer{
  margin-top:16px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}
.badge{
  display:inline-block;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  font-size:12px;
  color:var(--muted);
}
hr.sep{border:none; border-top:1px solid var(--border); margin:12px 0}
.toast{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:18px;
  background:#0f172a;
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:12px;
  font-size:13px;
  color:var(--text);
  max-width:92vw;
  display:none;
}
.toast.show{display:block;}
