/*
 * Production page styles — overrides for the design-system shell.
 * The prototype was a "design system browser" with sidebar. Here we
 * strip that off and let each page render full-width.
 */

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface-0);
  color: var(--text-primary);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  overflow-y: auto;   /* prototype's body had overflow:hidden for the design viewer */
}

/* Default to dark on first paint (prevents FOUC) */
html:not([data-theme]) {
  background: #0a0a0a;
  color: #fafafa;
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-body {
  flex: 1;
}
