html {
  font-size: 16px;
  min-height: 100%;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.25), 0 0 0 0.25rem rgba(201, 111, 52, 0.28);
}

.site-header {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
}

.page-shell {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 0 0 32px;
}

/* Full-bleed portal pages provide their own width rules and should not be squeezed by the shared shell. */
.page-shell.page-shell-fluid {
  width: 100%;
  max-width: none;
  padding: 0 0 32px;
}

.footer {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 0 0 24px;
  color: var(--ink-soft);
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.site-brand strong {
  font-size: 1.1rem;
}

.dashboard-shell {
  display: grid;
  place-items: center;
  min-height: 70vh;
}

.dashboard-card {
  width: min(760px, 100%);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.dashboard-card h1 {
  margin: 10px 0 14px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.98;
}

.dashboard-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .page-shell,
  .site-header,
  .footer {
    width: min(100vw - 20px, 100%);
  }
}
