:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0e1d31;
  --panel-2: #132742;
  --text: #e8f0fb;
  --muted: #9db0c8;
  --accent: #6ee7c7;
  --danger: #ff8a8a;
  --border: #28415f;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, #15345b 0, transparent 38rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); }
header, main, footer { width: min(980px, calc(100% - 32px)); margin-inline: auto; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
nav { display: flex; gap: 16px; align-items: center; }
main { padding: 20px 0 56px; }
footer { color: var(--muted); border-top: 1px solid var(--border); padding: 20px 0 40px; }
.brand { color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .03em; }
.card {
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 36px);
  box-shadow: 0 18px 60px #0005;
  margin-bottom: 20px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.status { display: inline-block; border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; color: var(--accent); }
.muted { color: var(--muted); }
.danger { color: var(--danger); }
form { display: grid; gap: 14px; max-width: 620px; }
label { display: grid; gap: 6px; font-weight: 650; }
input, select, textarea, button {
  width: 100%;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 88px; resize: vertical; }
button, .button {
  display: inline-block;
  width: auto;
  border-color: #3a9c86;
  background: #176d5d;
  color: white;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
button.secondary { background: #263d59; border-color: var(--border); }
button.danger-button { background: #7c3038; border-color: #b64a55; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; }
code, .secret {
  display: block;
  overflow-wrap: anywhere;
  background: #020812;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  user-select: all;
}
@media (max-width: 680px) {
  header { align-items: flex-start; gap: 12px; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { padding: 8px 0; }
}
