:root {
  --ground: #f7f6f2;
  --ink: #1d1c19;
  --quiet: #6b675e;
  --rule: #dcd9d0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1d1c19;
    --ink: #eae9e2;
    --quiet: #a9a59a;
    --rule: #3a3833;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font:
    16px / 1.5 ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 48px 20px;
}

h1 {
  font:
    500 2.5rem / 1.2 Georgia,
    "Times New Roman",
    serif;
  margin: 0 0 32px;
}

p {
  margin: 0;
}

.quiet {
  color: var(--quiet);
}

.notice {
  margin-bottom: 16px;
  color: var(--quiet);
}

.machines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.machine {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.host {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.machine a,
.machine button {
  font: inherit;
  font-size: 0.9rem;
  padding: 4px 12px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.machine a:hover,
.machine button:hover {
  border-color: var(--quiet);
}
