:root {
  --bg: #0f1115;
  --panel: #171a21;
  --border: #262b36;
  --text: #e6e8eb;
  --muted: #8b93a1;
  --accent: #4f8cff;
  --danger: #e5555a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}
header h1 { font-size: 16px; margin: 0; font-weight: 600; }
main { max-width: 900px; margin: 0 auto; padding: 20px; }
.login-wrap {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  width: 100%;
  max-width: 340px;
}
.card h1 { font-size: 18px; margin: 0 0 18px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input[type=text], input[type=password] {
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0c0e12;
  color: var(--text);
  margin-bottom: 14px;
}
button, .btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
button.danger { background: var(--danger); }
button.secondary, .btn.secondary { background: #2a2f3a; }
.error { color: var(--danger); font-size: 13px; margin-bottom: 12px; }
.quota { font-size: 12px; color: var(--muted); }
.bar { background: #0c0e12; border-radius: 6px; height: 6px; overflow: hidden; margin-top: 4px; }
.bar-fill { background: var(--accent); height: 100%; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--border); font-size: 14px; }
th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; }
tr:hover { background: #1b1f28; }
.name a { color: var(--text); text-decoration: none; }
.name a:hover { text-decoration: underline; }
.actions { display: flex; gap: 6px; }
.actions form { display: inline; }
.actions button { padding: 4px 8px; font-size: 12px; }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--muted); font-size: 12px; }
form.inline { display: inline-flex; gap: 6px; align-items: center; }
.empty { color: var(--muted); padding: 30px 0; text-align: center; font-size: 14px; }
