* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0d1117;
  color: #e6edf3;
  margin: 0;
  padding: 0 1.5rem 3rem;
}
header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #30363d;
}
h1 { font-size: 1.3rem; margin: 0; }
.badge {
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.8rem;
}
.hidden { display: none !important; }
.card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1rem 0;
  max-width: 480px;
}
.card h2, .card h3 { margin-top: 0; }
input, select, button {
  display: block;
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.55rem 0.7rem;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  color: #e6edf3;
  font-size: 0.95rem;
}
button {
  background: #238636;
  border-color: #2ea043;
  color: white;
  cursor: pointer;
  width: auto;
  display: inline-block;
}
button:hover { background: #2ea043; }
#btn-logout { background: #21262d; border-color: #30363d; margin-left: auto; }
.error { color: #f85149; font-size: 0.85rem; min-height: 1.2em; }
.muted { color: #8b949e; font-size: 0.9rem; }
.row { display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.tabs { display: flex; gap: 0.5rem; margin: 1.25rem 0; }
.tab-btn {
  background: #21262d; border: 1px solid #30363d; width: auto; color: #8b949e;
}
.tab-btn.active { background: #1f6feb; border-color: #1f6feb; color: white; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th, td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid #30363d; font-size: 0.9rem; }
th { color: #8b949e; font-weight: 600; }
td button { width: auto; padding: 0.3rem 0.6rem; font-size: 0.8rem; margin: 0; }
code { background: #21262d; padding: 0.1rem 0.3rem; border-radius: 4px; }
#csv-preview table { font-size: 0.85rem; }
