:root {
  --font: "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
  --radius: 8px;
  --sidebar: 258px;
  --topbar: 76px;
  --shadow: 0 12px 30px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { height: 100%; }
body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 24%, transparent), transparent 34%),
    linear-gradient(315deg, color-mix(in srgb, var(--violet-soft) 18%, transparent), transparent 28%),
    var(--page);
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 3px; font-size: 21px; line-height: 1.25; }
h2 { margin-bottom: 12px; font-size: 20px; }
h3 { margin-bottom: 8px; font-size: 15px; }
p { line-height: 1.5; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.danger-text { color: var(--red); }
.red-text { color: var(--red); }
.amber-text { color: var(--amber); }
.green-text { color: var(--green); }
.nowrap { white-space: nowrap; }
