/* Base: the starting look of plain HTML, and the shell every screen sits in. Uses tokens only, no raw colors. */
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-background);
  color: var(--color-text-primary);
  font-family: var(--font-family-base);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

/* The HTML "hidden" attribute must always win, whatever display a class sets. */
[hidden] { display: none !important; }

h1, h2, h3, p { margin: 0; }
a { color: inherit; }

/* The page shell: one centred column, used by every screen. */
.app-shell {
  min-height: 100vh;
  max-width: var(--size-content-max-width);
  margin: 0 auto;
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* A simple message screen (loading, not ready). */
.screen__title { font-size: var(--font-size-title); margin-bottom: var(--space-2); }
.screen__message { color: var(--color-text-secondary); }
