:root {
  color-scheme: dark;
  --background: #0c0f12;
  --panel: #171c22;
  --line: #2c3540;
  --text: #f2f5f7;
  --muted: #98a3ae;
  --blue: #63a4ff;
  --purple: #9147ff;
  font-family: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--background); }
header, main { width: min(960px, calc(100% - 32px)); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 18px; }
main { display: grid; gap: 14px; padding-bottom: 40px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 22px; }
h2 { font-size: 17px; }
.eyebrow, .label { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.panel { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.button, button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid #496b9b;
  border-radius: 6px;
  color: white;
  background: #294f80;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.button.twitch { border-color: #a66dff; background: var(--purple); }
button.quiet { border-color: var(--line); color: var(--muted); background: transparent; }
input {
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #3b4653;
  border-radius: 5px;
  color: var(--text);
  background: #10151a;
}
form, .inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
.identity { display: flex; align-items: center; gap: 12px; }
.identity img { width: 46px; height: 46px; border-radius: 50%; background: #252c34; }
.identity div { display: grid; gap: 2px; }
.mono, pre, code { font-family: ui-monospace, Consolas, monospace; }
.mono { color: var(--muted); font-size: 11px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; }
.workspace-list { display: grid; gap: 10px; }
.workspace { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.workspace-header { display: flex; justify-content: space-between; gap: 10px; }
.workspace-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.workspace-actions button, .workspace-actions .button { min-height: 30px; padding: 5px 9px; font-size: 11px; }
pre { overflow: auto; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #0c1116; font-size: 11px; white-space: pre-wrap; }
#message { min-height: 24px; color: #f2bc58; font-size: 13px; }
[hidden] { display: none !important; }
