/* SHARED_PORTAL shell base styles (external; strict-CSP style-src 'self' safe). The shared
   header injects a fixed bar at the top of <body>; leave room for it. Rem-only sizing. */
body {
  margin: 0;
  padding-top: 3.75rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--site-surface, #ffffff);
  color: var(--site-text, #0f172a);
}

#portal-root {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem;
}

.portal-landing h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.portal-landing p {
  color: #475569;
  font-size: 1rem;
}

.portal-primary-link {
  align-items: center;
  background: var(--site-accent-fill, #1d4ed8);
  border-radius: 0.625rem;
  color: var(--site-on-accent, #ffffff);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 650;
  justify-content: center;
  margin-top: 0.75rem;
  min-height: 2.75rem;
  padding: 0 1.125rem;
  text-decoration: none;
}

.portal-primary-link:focus-visible {
  outline: 0.1875rem solid var(--site-accent-strong, #1d4ed8);
  outline-offset: 0.1875rem;
}

html.dark .portal-landing p {
  color: #cbd5e1;
}

html.dark body {
  background: var(--site-surface, #0f172a);
  color: var(--site-text, #f8fafc);
}
