@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root{
  --bg:#0e0f12; --panel:#171a21; --muted:#9aa4b2; --text:#e5e7eb;
  --accent:#3b82f6; --accent-2:#22c55e; --border:#2a2e38;
  --warn:#f59e0b; --danger:#ef4444; --ok:#22c55e;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background:linear-gradient(180deg,#0e0f12 0%, #0b0c10 100%);
  color:var(--text); font:14px/1.5 'Inter',system-ui,Segoe UI,Roboto,Arial;
}

/* Topbar padrão */
.topbar{
  max-width:1100px; margin:20px auto 10px; padding:0 16px;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
}
.topbar h1{margin:0; font-size:22px; letter-spacing:.2px}
.topbar .controls{display:flex; gap:8px; align-items:center; flex-wrap:wrap}

/* Botões e inputs */
.btn{
  background:var(--accent); border:0; color:#fff; padding:8px 14px;
  border-radius:10px; cursor:pointer; font-weight:600; transition:filter .12s;
}
.btn:hover{filter:brightness(1.08)}
.btn.subtle{background:#2b2f3a}
.btn.warn{background:var(--warn); color:#111}
.btn.ok{background:var(--ok)}

.input{
  background:#0f1117; border:1px solid var(--border); color:#fff;
  padding:8px 10px; border-radius:8px;
}
.lbl{opacity:.9; margin-right:4px}

a.repo{
  color:#c7d2fe; text-decoration:none; border:1px solid var(--border);
  padding:8px 10px; border-radius:8px;
}
a.repo:hover{border-color:var(--accent)}

/* Pills e status */
.pill{
  background:var(--panel); border:1px solid var(--border);
  padding:8px 12px; border-radius:999px; font-size:13px;
}
.score{display:flex; gap:8px; flex-wrap:wrap; margin-top:8px}

/* Cards */
.card{
  background:var(--panel); border:1px solid var(--border);
  border-radius:12px; padding:16px;
}
.card h2, .card h3{margin:0 0 8px}
.card p, .card ul{color:var(--muted)}
.card ul{margin:0 0 10px 18px}

/* Utilitários */
.small{font-size:12px}
.muted{color:var(--muted)}
.hidden{display:none}

/* Log */
.log{
  max-height:300px; overflow:auto; color:var(--muted);
  font-size:12px; border-top:1px solid var(--border); padding-top:8px;
}

/* Footer */
.footer{
  max-width:1100px; margin:26px auto; padding:0 16px; color:var(--muted);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:4px;
  border-top:1px solid var(--border); padding-top:16px; text-align:center;
}

/* Responsivo */
@media (max-width:640px){
  .topbar{flex-direction:column; align-items:flex-start}
  .topbar .controls{width:100%}
}
