/* Portal authentication only. PMS forms and authentication policy are unchanged. */
.portal-auth { --auth-line:#d5e8df; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,480px); gap:clamp(32px,6vw,100px); align-items:start; max-width:1120px; margin:36px auto 72px; color:var(--home-ink,#173e32); }
.portal-auth > * { min-width:0; }
.portal-auth-intro { position:relative; padding:20px 0; }
.portal-auth-back { display:inline-block; margin-bottom:32px; font-size:13px; text-decoration:none; }
.portal-auth-eyebrow { display:block; margin:0 0 14px; font-size:10px; letter-spacing:1.8px; font-weight:700; color:#007e68; }
.portal-auth .portal-auth-intro h1 { font-size:clamp(36px,3.6vw,52px)!important; line-height:1.14; letter-spacing:-1.8px; margin:0 0 22px; font-weight:600; }
.portal-auth-intro > p { max-width:420px; font-size:16px; line-height:1.9; color:#557368; }
.portal-auth-benefits { list-style:none; padding:0; margin:30px 0; display:grid; gap:17px; font-size:14px; }
.portal-auth-benefits li { position:relative; padding-left:32px; }
.portal-auth-benefits li::before { content:'✓'; position:absolute; left:0; top:0; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:#dcf5eb; color:#087859; font-size:13px; font-weight:700; }
.portal-auth-note { display:flex; align-items:center; gap:17px; max-width:400px; padding:22px 24px; border:1px solid #ccebdd; border-radius:18px; background:linear-gradient(120deg,#e6f8ef,#f2fbf6); }
.portal-auth-note > span { color:#05886b; font-size:28px; }
.portal-auth-note p { margin:0; font-size:12px; line-height:1.8; color:#44685b; }
.portal-auth-panel { padding:32px; border:1px solid var(--auth-line); border-radius:24px; background:#fff; box-shadow:0 18px 60px #173e3209; }
.portal-auth-panel h2, .portal-auth-modal h2 { font-size:25px!important; line-height:1.3; letter-spacing:-.7px; font-weight:600; margin:0 0 12px; color:#173e32; }
.portal-auth-description { color:#617c71; font-size:13px; line-height:1.8; margin:0 0 25px; }
.portal-auth-form { display:grid; gap:16px; }
.portal-auth-password-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.portal-auth-field { min-width:0; }
.portal-auth-field > label { display:block; margin-bottom:7px; font-size:12px; font-weight:600; color:#294f41; }
.portal-public-page :is(.portal-auth,.portal-auth-modal) :is(.form-control,.form-select) { min-height:48px; width:100%; border:1px solid #d5e5dc; border-radius:10px; background-color:#fcfefd; color:#173e32; font-family:inherit; font-size:14px; padding:11px 13px; }
.portal-auth-password { position:relative; width:100%; }
.portal-public-page :is(.portal-auth,.portal-auth-modal) .portal-auth-password input { padding-right:50px; }
.portal-auth-reveal { position:absolute; right:4px; top:3px; width:42px; height:42px; display:grid; place-items:center; padding:0; border:0; border-radius:8px; background:transparent; }
.portal-auth-reveal:hover { background:#edf8f2; }
.portal-auth-hint { margin:7px 0 0; font-size:11px; color:#647c72; }
.portal-auth-check { display:flex; align-items:flex-start; gap:9px; font-size:12px; color:#536f63; line-height:1.8; cursor:pointer; }
.portal-auth-check input { width:16px; height:16px; flex:0 0 16px; margin:3px 0 0; accent-color:#007f66; }
.portal-auth-options { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; align-items:center; font-size:12px; }
.portal-auth-terms { font-size:14px; line-height:1.7; }
.portal-auth-terms a { text-underline-offset:3px; }
.portal-auth-submit { display:flex; justify-content:center; align-items:center; gap:14px; width:100%; min-height:49px; padding:13px 17px; border:1px solid #00ce9a; border-radius:10px; background:#00ce9a; color:#073f31!important; font-family:inherit; font-size:13px; font-weight:600; line-height:1.6; text-decoration:none!important; }
.portal-auth-submit:hover { background:#00bd8e; border-color:#00bd8e; }
.portal-auth-switch { margin:0; text-align:center; color:#617c71; font-size:12px; }
.portal-auth-switch a { font-weight:600; }
.portal-auth-footnote { margin:24px 0 0; padding-top:18px; border-top:1px solid #e5efe9; color:#71877d; font-size:10px; line-height:1.7; text-align:center; }
.portal-auth-captcha { min-height:78px; }
.portal-auth-status { margin:20px 0; color:#466a59; font-size:14px; line-height:1.85; }
.portal-auth-success-icon { display:grid; place-items:center; width:48px; height:48px; margin-bottom:22px; border-radius:50%; background:#dcf5eb; color:#087859; font-size:25px; }
.portal-auth-page-link { display:block; margin-top:24px; text-align:center; font-size:12px; }
.portal-auth-company { padding:12px 15px; margin:0 0 22px; border-radius:10px; background:#eef8f3; font-size:13px; }
.portal-auth .alert { font-size:12px; border-radius:10px; overflow-wrap:anywhere; }
.portal-auth .alert ul { margin:8px 0 0; padding-left:18px; }
.portal-auth-modal .modal-dialog { --bs-modal-width:470px; }
.portal-public-page .portal-auth-modal .modal-content { border-radius:22px; overflow:hidden; }
.portal-public-page .portal-auth-modal .modal-header { padding:28px 30px 0; align-items:flex-start; background:#fff; border:0; }
.portal-auth-modal .modal-header .portal-auth-eyebrow { margin-bottom:10px; }
.portal-public-page .portal-auth-modal .modal-body { padding:8px 30px 30px; }
.portal-auth-modal .btn-close { margin:0 -5px 0 10px; }
:is(.portal-auth,.portal-auth-modal) :is(a,button,input,select):focus-visible { outline:3px solid #168569; outline-offset:3px; }
@media(max-width:900px) {
 .portal-auth { grid-template-columns:minmax(0,1fr); gap:28px; max-width:540px; margin-top:12px; }
 .portal-auth-back { margin-bottom:25px; }
 .portal-auth-intro { padding:0; }
 .portal-auth .portal-auth-intro h1 { font-size:36px!important; margin-bottom:15px; }
 .portal-auth-intro > p { font-size:14px; margin:0; }
 .portal-auth-benefits,.portal-auth-note { display:none; }
}
@media(max-width:480px) {
 .portal-auth { margin-bottom:38px; gap:24px; }
 .portal-auth-panel { padding:24px 18px; border-radius:18px; }
 .portal-auth-panel h2,.portal-auth-modal h2 { font-size:23px!important; }
 .portal-auth-options { gap:10px; }
 .portal-public-page .portal-auth-modal .modal-header { padding:25px 20px 0; }
 .portal-public-page .portal-auth-modal .modal-body { padding:8px 20px 25px; }
 .portal-auth-eyebrow { letter-spacing:1.3px; }
 .portal-auth-password-fields { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) { .portal-auth-captcha { min-height:144px; } }
.portal-auth-google{margin:0 0 20px;min-width:0}.portal-google-button{min-height:44px;max-width:100%}.portal-auth-google-confirm p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.portal-auth-google-cancel{border:0;background:none;color:#008875;padding:8px 0;text-decoration:underline}.portal-auth-divider{display:flex;align-items:center;gap:12px;color:#617875;font-size:12px;margin:20px 0}.portal-auth-divider:before,.portal-auth-divider:after{content:"";height:1px;background:#d9e9e4;flex:1}.portal-auth-google [hidden]{display:none}

/* Bring account choices into view on small screens without changing form order. */
@media(max-width:600px){
 .portal-auth{gap:14px;margin-top:10px}
 .portal-auth-back{display:inline-flex;align-items:center;min-height:32px;margin-bottom:8px}
 .portal-auth-intro>.portal-auth-eyebrow,.portal-auth-intro>p{display:none}
 .portal-auth .portal-auth-intro h1{font-size:24px!important;line-height:1.2;letter-spacing:-.5px;margin-bottom:0}
 .portal-auth-panel{padding-top:20px}
}

.portal-auth-terms input{width:20px;height:20px;flex:0 0 20px;margin-top:2px}.portal-auth-terms span{min-width:0;overflow-wrap:break-word}
