:root {
  color-scheme: dark;
  --bg: #080e10;
  --surface: #102022;
  --raised: #17292c;
  --line: #2a4246;
  --text: #f0faf9;
  --muted: #a5bdbe;
  --accent: #66e8e3;
  font: 16px/1.48 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  min-height: 100vh;
  background: radial-gradient(ellipse 720px 500px at 87% 0, #123b42, transparent 80%), var(--bg);
}
.dashboard { display: grid; grid-template-columns: minmax(180px, 238px) minmax(0, 1fr); }
aside { position: sticky; top: 0; align-self: start; min-height: 100vh; padding: 24px; border-right: 1px solid var(--line); background: #0b1719; display: flex; flex-direction: column; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 760; letter-spacing: -.045em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #061417; background: linear-gradient(142deg, #84fff2, #33b8cc); font-size: 22px; font-weight: 850; }
nav { display: grid; gap: 4px; }
nav a { color: var(--muted); text-decoration: none; border-radius: 10px; padding: 11px 12px; }
nav a[aria-current] { background: #193d40; color: var(--accent); font-weight: 650; }
aside form { margin-top: auto; }
.workspace { width: min(100%, 1100px); padding: clamp(24px, 4vw, 54px); }
h1,h2,p { margin: 0; }
h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.045em; line-height: 1.1; }
h2 { font-size: 18px; letter-spacing: -.015em; }
header { margin-bottom: 26px; display: grid; gap: 8px; }
header p { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 17px; padding: clamp(16px, 3vw, 26px); margin-bottom: 16px; }
.stack { display: grid; gap: 16px; }
.fields { display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.server-row { display: grid; gap: 13px; grid-template-columns: minmax(110px, 1fr) minmax(190px, 2fr) auto; align-items: end; }
.server-row + .server-row { padding-top: 14px; border-top: 1px solid var(--line); }
.actions { display: flex; gap: 7px; }
.count { color: var(--accent); padding-left: 5px; font-weight: 600; }
label { display: grid; gap: 6px; color: var(--muted); font-size: .86rem; font-weight: 650; }
input,textarea,select { font: inherit; color: var(--text); background: #0a1719; border: 1px solid var(--line); padding: 11px 12px; border-radius: 9px; width: 100%; min-height: 42px; }
textarea { min-height: 84px; resize: vertical; }
button { font: inherit; cursor: pointer; color: var(--text); background: var(--raised); border: 1px solid var(--line); border-radius: 9px; padding: 9px 15px; min-height: 42px; font-weight: 650; }
.primary { background: var(--accent); color: #061417; border-color: var(--accent); justify-self: start; }
.quiet { background: transparent; border-color: transparent; color: var(--muted); }
.danger { color: #ffb2a4; }
.push-configuration { margin-top: 16px; }
.push-entry { display: grid; gap: 7px; padding-top: 12px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.push-entry h3 { margin: 0; font-size: 1rem; }
.push-entry p:last-of-type { color: var(--muted); font-size: .88rem; }
button:hover, nav a:hover { filter: brightness(1.15); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.notice, .alert { border-radius: 10px; padding: 11px 14px; margin-bottom: 15px; }
.notice { background: #193d40; color: var(--accent); }
.alert { background: #3a2420; color: #ffd0bf; }
.seed { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.narrow { max-width: 550px; }
.centered { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login { width: min(100%, 435px); display: grid; gap: 20px; }
.login h1 { font-size: 29px; }
.login .primary { justify-self: stretch; }
@media (max-width: 760px) {
  .dashboard { display: block; }
  aside { position: static; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); gap: 12px; padding: 14px 20px; }
  nav { display: flex; flex-wrap: wrap; }
  nav a { padding: 7px 10px; font-size: .89rem; }
  .server-row { grid-template-columns: 1fr; }
  .workspace { padding: 22px 17px; }
}
@media (max-width: 430px) { .fields { grid-template-columns: 1fr; } }
