:root {
  color-scheme: dark;
  --background: #090909;
  --panel: #151515;
  --border: #383838;
  --text: #f5f2ed;
  --muted: #bbb;
  --accent: #ff4d1c;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font: 16px/1.5 Arial, sans-serif; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
input, textarea { width: 100%; padding: .9rem; color: var(--text); background: var(--panel); border: 1px solid var(--border); border-radius: 2px; }
label { display: block; margin: 1rem 0 .4rem; font-weight: bold; }
button { border: 0; border-radius: 2px; padding: 1rem 1.25rem; background: var(--accent); color: #090909; font-weight: 800; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid white; outline-offset: 3px; }
[hidden] { display: none !important; }
.signup-page { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.signup-card { width: min(100%, 520px); }
.brand { color: var(--accent); font-size: 1.5rem; font-weight: 900; letter-spacing: .16em; }
.eyebrow { margin-top: 3rem; color: var(--muted); font-size: .75rem; font-weight: bold; letter-spacing: .18em; }
h1 { margin: .5rem 0; font-size: clamp(3rem, 12vw, 6rem); line-height: .95; letter-spacing: -.05em; }
h1 span { color: var(--accent); }
.signup-card form { margin-top: 2.5rem; }
.signup-card form button { width: 100%; margin-top: .75rem; }
.message { min-height: 1.5em; color: var(--text); }
.admin-page { max-width: 1200px; margin: auto; padding: 1.5rem; }
.admin-page h1 { font-size: 2.5rem; }
.admin-page h2 { margin-top: 2rem; }
.admin-page a { color: var(--accent); }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-header .brand { margin: 0; }
.panel { padding: 1.25rem; margin-top: 1.5rem; border: 1px solid var(--border); background: var(--panel); }
.panel input, .panel textarea { background: var(--background); }
.panel button { margin-top: 1rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { padding: .6rem; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
textarea { min-height: 12rem; resize: vertical; }
.muted { color: var(--muted); }
