@font-face { font-family: "Portal Geist"; src: url("../fonts/portal/geist-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
.portal-auth { margin: 0; min-height: 100vh; background: #f6f8fa !important; color: #172b3a; font: 14px/1.55 "Portal Geist", sans-serif; }
.portal-auth * { box-sizing: border-box; letter-spacing: 0; }
.portal-auth a { color: #015e9d; text-decoration: none; }
.portal-auth a:hover { text-decoration: underline; }
.portal-auth-header { display: flex; align-items: center; gap: 20px; min-height: 72px; padding: 12px max(24px, calc((100% - 1200px) / 2)); background: #fff; border-bottom: 1px solid #dce4e9; }
.portal-brand { display: flex; flex: 0 0 112px; border-right: 1px solid #dce4e9; padding-right: 18px; }
.portal-brand img { width: 94px; height: 36px; object-fit: contain; }
.portal-wordmark { text-transform: uppercase; font-size: 12px; color: #607383; }
.portal-auth-header nav { display: flex; gap: 24px; margin-left: auto; }
.portal-auth-header nav a { color: #172b3a; font-size: 14px; font-weight: 600; }
.portal-support { font-size: 12px; }
.portal-auth-main { width: min(1200px, calc(100% - 48px)); margin: 48px auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 72px; align-items: stretch; }
.portal-auth-form { min-width: 0; padding: 16px 0; }
.portal-eyebrow { background: #cde3ef; color: #014b7d; border-radius: 20px; display: inline-block; padding: 5px 16px; font-size: 12px; margin: 0 0 12px; font-weight: 600; }
.portal-auth h1 { font-family: Georgia, "Times New Roman", serif; font-size: 38px; line-height: 1.15; font-weight: 700; color: #015e9d; margin: 0 0 14px; overflow-wrap: break-word; }
.portal-intro { color: #607383; margin: 0 0 32px; overflow-wrap: anywhere; }
.portal-login-form, .portal-password-reset form { display: flex; flex-direction: column; }
.portal-auth fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.portal-auth legend { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.portal-auth fieldset[data-portal-panel="Business setup"] { margin-top: 24px; }
.portal-name-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.portal-auth label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.portal-auth input, .portal-auth select { width: 100%; min-height: 48px; border: 1px solid #dce4e9; border-radius: 6px; padding: 12px; font: inherit; background: #fff; color: #172b3a; margin-bottom: 20px; }
.portal-auth input:focus, .portal-auth select:focus { outline: 2px solid #cde3ef; border-color: #015e9d; }
.portal-auth .portal-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 400; margin-bottom: 16px; }
.portal-auth .portal-consent input { min-height: 18px; width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 18px; accent-color: #015e9d; }
.portal-auth .portal-service-options { margin: 0 0 20px !important; }
.portal-auth .portal-primary-button, .portal-auth .portal-secondary-button { min-height: 44px; padding: 10px 20px; border: 1px solid #015e9d; background: #015e9d; color: #fff; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; }
.portal-auth .portal-secondary-button { background: #fff; color: #015e9d; }
.portal-auth button:disabled { opacity: .55; cursor: not-allowed; }
.portal-login-actions { text-align: right; margin: -4px 0 24px; }
.portal-signup-link { text-align: center; margin: 24px 0; }
.portal-signup-link a { font-weight: 600; }
.portal-password-reset { border-top: 1px solid #dce4e9; padding-top: 18px; }
.portal-password-reset summary { cursor: pointer; color: #015e9d; }
.portal-password-reset form { margin-top: 16px; }
.portal-auth-image { position: relative; min-height: 580px; border-radius: 8px; overflow: hidden; background: #e6f1f7; }
.portal-auth-image > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.portal-photo-caption { position: absolute; bottom: 24px; left: 24px; right: 24px; padding: 20px; background: #fffffff0; color: #01395e; border-radius: 8px; }
.portal-photo-caption p { font-weight: 600; margin: 0 0 8px; }
.portal-photo-caption h2 { font-size: 24px; line-height: 1.3; margin: 0; font-weight: 600; }
.portal-auth-footer { border-top: 1px solid #dce4e9; padding: 22px max(24px, calc((100% - 1200px) / 2)); display: flex; justify-content: space-between; gap: 20px; color: #607383; background: #fff; font-size: 12px; }
.portal-auth-footer p { margin: 0; }
.portal-auth-footer nav { display: flex; gap: 24px; }
.portal-feedback { border: 1px solid #d5a5a5; background: #fff5f5; color: #8a1c1c; border-radius: 6px; padding: 12px 16px; margin-bottom: 20px; }
.portal-feedback p { margin: 0; }
.portal-feedback { overflow-wrap: anywhere; }
.portal-feedback-success { border-color: #86efac; background: #f0fdf4; color: #166534; }
.portal-feedback-info { border-color: #93c5fd; background: #eff6ff; color: #1e40af; }
.portal-auth .portal-otp-inputs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; width: min(100%, 280px); }
.portal-auth .portal-otp-inputs input { width: 100%; text-align: center; margin: 0; }
.portal-code-time { margin: 20px 0; }
.portal-otp-resend { margin-top: 20px; }
.portal-otp-resend button { width: 100%; }
.portal-auth a:focus-visible, .portal-auth summary:focus-visible { outline: 3px solid #378fbf; outline-offset: 4px; }
@media (max-width: 1000px) { .portal-auth-header { flex-wrap: wrap; } .portal-auth-main { gap: 32px; } .portal-support { margin-left: auto; } }
@media (max-width: 760px) {
  .portal-auth-main { grid-template-columns: minmax(0, 1fr); margin: 24px auto; }
  .portal-auth-header { gap: 12px; }
  .portal-auth-header nav { width: 100%; margin-left: 0; gap: 20px; }
  .portal-support { margin-left: 0; }
  .portal-auth h1 { font-size: 32px; }
  .portal-auth-image { min-height: 360px; }
  .portal-photo-caption h2 { font-size: 20px; }
  .portal-auth-footer { flex-wrap: wrap; }
}