/* Portal base — shared accessibility primitives only. No shared layout chrome. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.a91-portal {
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.a91-portal img { max-width: 100%; height: auto; display: block; }
body.a91-portal a { text-underline-offset: 0.15em; }
body.a91-portal :focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.visible { opacity: 1; pointer-events: auto; transform: none; }
.toast.error { background: #111; color: #fff; border-color: #ff3b30; }
.toast.success { background: #0a7a3e; color: #fff; border-color: #063; }

/* Shared portal footer — always visible above fixed bottom navs */
.a91-portal-footer {
  position: relative;
  z-index: 500;
  isolation: isolate;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
  background: #07111F;
  color: #F3F7FA;
  border-top: 3px solid #00B8C8;
  clear: both;
}
.a91-portal-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.a91-portal-footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  color: #fff;
  margin-bottom: 0.85rem;
}
.a91-portal-footer-acr {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: linear-gradient(145deg, #00B8C8, #1E3A5F);
  color: #fff;
  flex-shrink: 0;
}
.a91-portal-footer-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.a91-portal-footer-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00B8C8;
}
.a91-portal-footer-stack strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.a91-portal-footer-blurb {
  margin: 0 0 0.75rem;
  color: rgba(243, 247, 250, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 28rem;
}
.a91-portal-footer-mail {
  display: inline-block;
  color: #FFB020;
  font-weight: 700;
  text-decoration: none !important;
}
.a91-portal-footer-mail:hover { text-decoration: underline !important; color: #fff; }
.a91-portal-footer-hours {
  margin: 0.35rem 0 0;
  color: rgba(243, 247, 250, 0.78);
  font-size: 0.82rem;
}
.a91-portal-footer-col h2 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00B8C8;
  font-weight: 800;
}
.a91-portal-footer-col a {
  display: block;
  padding: 0.28rem 0;
  color: rgba(243, 247, 250, 0.88);
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
}
.a91-portal-footer-col a:hover,
.a91-portal-footer-col a:focus-visible {
  color: #FFB020;
  text-decoration: underline !important;
}
.a91-portal-footer-base {
  max-width: 1240px;
  margin: 1.75rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  color: rgba(243, 247, 250, 0.82);
  font-size: 0.8rem;
}
.a91-portal-footer-base p { margin: 0; max-width: 52rem; }
.a91-portal-footer-pay {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 700;
}
.a91-portal-footer-top {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: #00B8C8;
  color: #07111F !important;
  font-weight: 800;
  text-decoration: none !important;
}
.a91-portal-footer-top:hover,
.a91-portal-footer-top:focus-visible { background: #FFB020; color: #07111F !important; }

@media (max-width: 980px) {
  .a91-portal-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .a91-portal-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .a91-portal-footer-inner {
    grid-template-columns: 1fr;
  }
}
