/* Shared foundation for the standalone Laplexus interface.
   Type and color come from tokens.css; do not re-scope theme vars here. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; border: 0; background: none; font: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.01em; }
[hidden] { display: none !important; }
.forum-dialog-open { overflow: hidden; }
::selection { background: var(--brand-soft); }
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 16px; padding: 10px 16px; color: var(--bg); background: var(--brand); border-radius: 4px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
.page-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; }
