/* ===== BASE: page, text, scrollbars, focus ===== */
* { box-sizing: border-box; margin: 0; }

html, body, #app { height: 100%; }

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

input, textarea, select { font-family: inherit; user-select: text; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

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

* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }

.icon { display: inline-flex; flex: none; }
.icon svg { width: 100%; height: 100%; }
.muted { color: var(--muted); }
.spacer { flex: 1; }
