/* app.css — reset, app shell, the shared paper background and the view transition.
   Screens live in map.css, nav.css, overlays.css, board.css, concept-tree.css; shared parts in components.css. */

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--paper-bg);
  color: var(--ink-primary);
  font: var(--type-body);
  overflow: hidden;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
a { color: var(--accent-chalk); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- App shell ---------- */
#app {
  position: relative;
  width: 100vw;
  height: 100vh;
}

/* Map, tree and board are layers over one paper; switching views is the same fade everywhere. */
.view-layer {
  background: var(--paper-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-view), visibility var(--motion-view);
}
.view-layer.visible { opacity: 1; visibility: visible; }

/* ---------- Live region ---------- */
#live-region { position: absolute; width: 1px; height: 1px; overflow: hidden; }
