/* Starting tokens from the Zmora design system; the real stylesheet replaces this file. */
:root {
  color-scheme: dark;
  --bg: #050409;
  --surface: #131218;
  --text: #efedf3;
  --accent: #ecdaa2;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a {
  color: var(--accent);
}

header,
main,
footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

input,
button {
  font: inherit;
}

svg,
img,
canvas {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.errorlist {
  color: var(--accent);
}

/* htmx's own indicator styles are injected inline, which the CSP forbids; these replace them. */
.htmx-indicator {
  opacity: 0;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  opacity: 1;
  transition: opacity 200ms ease-in;
}
