:root {
  color-scheme: dark;
  font: 100%/1.55 system-ui, sans-serif;
  background: #141619;
  color: #f4f1eb;
  --accent: #ffb35d;
  --muted: #c2c4c7;
  --line: #41464e;
}

body { margin: 0; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem max(1.25rem, calc((100% - 60rem) / 2));
  border-bottom: 1px solid var(--line);
}
header a { font-weight: 850; text-decoration: none; letter-spacing: .045em; }
header a span { color: #f4f1eb; font-weight: 600; letter-spacing: normal; margin-left: .5rem; }
.account, small { color: var(--muted); }
main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  align-items: start;
  gap: 1rem;
  max-width: 60rem;
  margin: clamp(2rem, 8vw, 6rem) auto;
  padding: 0 1.25rem;
}
.card {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: .75rem;
  background: #212429;
}
.login { width: min(100%, 28rem); box-sizing: border-box; justify-self: center; }
h1, h2 { line-height: 1.15; margin: 0 0 .75rem; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: 1.4rem; }
p { margin: 0 0 1.15rem; }
a { color: var(--accent); text-underline-offset: .2em; }
form { display: grid; gap: .85rem; }
label { display: grid; gap: .35rem; font-weight: 650; }
small { font-size: .875rem; font-weight: 400; }
input, button { font: inherit; box-sizing: border-box; border-radius: .4rem; }
input { width: 100%; padding: .65rem .75rem; border: 1px solid #737982; background: #15171b; color: inherit; }
button { padding: .65rem 1rem; border: 1px solid transparent; font-weight: 750; color: #17130d; background: var(--accent); cursor: pointer; }
button:disabled { background: #444952; color: #e0e0e0; cursor: default; }
button:hover:not(:disabled) { filter: brightness(1.15); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.state { font-weight: 750; color: var(--muted); }
.running { color: #a8e7ad; }
.starting, .stopping { color: var(--accent); }
.notice { padding: .6rem .8rem; background: #15171b; border-left: .2rem solid var(--accent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.quiet { border-color: var(--line); background: transparent; color: #f4f1eb; }
.danger { color: #ffaaa3; }
button.danger { background: #682c28; border-color: #d57870; color: #fff; }
ul { padding-left: 1.25rem; }
