.portal-welcome {
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 420px);
  gap: clamp(32px, 8vw, 126px);
  justify-content: center;
  align-items: safe center;
  padding: clamp(24px, 6vh, 60px) 6vw;
  overflow-y: auto;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 0 100%, #d3e3f4, transparent 61%),
    linear-gradient(118deg, #e8edf6, #fbfcfe 56%, #e2eaf6);
}
/* Fine acoustic contours stay behind the copy and never intercept form input. */
.portal-welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-radial-gradient(ellipse 86% 86% at -14% 120%,
    transparent 0 27px, #7899b870 28px, #ffffffb8 29px, transparent 31px 42px);
  mask-image: linear-gradient(24deg, #000 4%, #0009 32%, transparent 68%);
}
body:has(#portal-workspace-root:not([hidden])) .portal-welcome { display: none; }
.welcome-copy h1 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.16;
  letter-spacing: -.04em;
}
.welcome-copy p { margin: 18px 0 0; color: #5b5b63; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85; }
.portal-welcome .admin-login-heading { text-align: center; }
.portal-welcome .admin-login-card { box-shadow: 0 18px 50px -30px #383f4c33, 0 0 0 1px #292d391a; }
.portal-welcome .auth-brand-band { background: #f7f7f9; color: #1d1d1f; border-bottom: 1px solid #e4e4e9; }
.portal-welcome .auth-brand-band::after { filter: invert(1); opacity: .34; }
.portal-welcome .admin-login-fields label { background: #f8f8fa; border-color: #dedee4; }
.portal-welcome .admin-login-fields label:focus-within { background: #fff; border-color: #0071e3; box-shadow: 0 0 0 2px #0071e317; }
.portal-welcome .admin-login-button { background: #006edb; box-shadow: none; }
.portal-welcome .admin-login-button:hover { background: #005bbb; }
.portal-welcome button:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
@media (max-width: 720px) {
  .portal-welcome { grid-template-columns: minmax(0, 420px); align-content: safe center; gap: 22px; padding: 24px 16px; }
  .welcome-copy h1 { font-size: clamp(28px, 7vw, 38px); }
  .welcome-copy p { margin-top: 8px; font-size: 14px; }
}

.portal-auth-links { display: flex; justify-content: center; gap: 24px; margin-top: 18px; }
.portal-auth-links button { border: 0; padding: 0; background: none; color: #0068cf; font-size: 13px; cursor: pointer; }
.portal-auth-links button:hover { text-decoration: underline; }
.portal-auth-notice { margin: 14px 0 0; color: #51515a; font-size: 12px; line-height: 1.6; }
.portal-code-row { display: flex; gap: 8px; min-width: 0; }
.portal-code-row label { flex: 1; min-width: 0; }
.portal-code-row > button { width: 100px; flex-shrink: 0; border: 0; background: #ebf3ff; color: #006edb; border-radius: 12px; font-size: 12px; }
