:root {
  color-scheme: dark;
  font: 16px/1.5 system-ui, sans-serif;
  color: #eff0ef;
  background: #151818;
  --border: #3b463f;
  --muted: #b2bdb6;
  --accent: #beef91;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header, main { max-width: 56rem; margin: 0 auto; padding: 1.4rem; }
header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.brand { font: 700 1.6rem/1 ui-monospace, monospace; color: var(--accent); text-decoration: none; }
main { padding-top: 2.5rem; }
h1 { font-size: 2.4rem; letter-spacing: -.06em; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; margin-top: 2.6rem; }
.heading, .line, .row, .controls { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.heading, .row { justify-content: space-between; }
label { display: block; margin-bottom: .35rem; }
input, button { padding: .58rem .8rem; border: 1px solid var(--border); border-radius: .35rem; font: inherit; }
input { background: #212623; color: inherit; min-width: 0; }
input[type="password"] { display: block; margin-bottom: .75rem; width: min(26rem, 100%); }
.line input { flex: 1 1 14rem; }
button { cursor: pointer; background: var(--accent); color: #15240d; font-weight: 650; }
button.secondary { color: inherit; background: #262e29; }
button:disabled { opacity: .5; cursor: wait; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.list { margin-top: 1rem; }
.row { padding: .8rem 0; border-bottom: 1px solid var(--border); }
.row h3, .row p { margin: 0; }
.row h3 { font-size: 1rem; overflow-wrap: anywhere; }
.row p, .list > p, #email-setup { color: var(--muted); }
#message { color: var(--accent); min-height: 1.5em; overflow-wrap: anywhere; }
