.portal-login{--ink:#123c37;--green:#126957;--muted:#647772;min-height:100vh;padding:0 5%;color:var(--ink);background:radial-gradient(ellipse at 6% 5%,#dfebe4,transparent 42%),#f3f5f0;font-family:"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.portal-login *,.portal-login *:before,.portal-login *:after{box-sizing:border-box}
.portal-topbar,.portal-page-footer{max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.portal-topbar{min-height:102px}
.portal-brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}.portal-brand:hover,.portal-brand:focus{color:var(--green);text-decoration:none}.portal-brand img{object-fit:contain;mix-blend-mode:multiply}.portal-brand strong{display:block;font-size:24px;font-weight:750;line-height:1.2;letter-spacing:2px}.portal-brand small{display:block;font-size:9px;font-weight:600;letter-spacing:2.6px;margin-top:4px}
.portal-topbar-label{display:flex;align-items:center;gap:9px;font-size:12px;color:#43665b;border:1px solid #d4dfd7;border-radius:30px;padding:10px 16px}.portal-topbar-label>span,.portal-eyebrow>span{width:6px;height:6px;background:#278469;border-radius:50%;flex-shrink:0}
.portal-brand-group{display:flex;align-items:center;gap:22px;min-width:0}
.portal-topbar .portal-regional-badge{gap:12px;min-height:58px;padding:8px 18px;border:1px solid #bad8c6;border-radius:16px;background:#e8f4eb;box-shadow:0 8px 22px #173e3220;color:#164b39}
.portal-regional-badge>.fa{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:#185c46;color:#fff;font-size:17px}
.portal-topbar-label>.portal-regional-copy{display:flex;flex-direction:column;gap:2px;min-width:0;width:auto;height:auto;flex-shrink:1;background:transparent;border-radius:0}
.portal-regional-copy small{font-size:10px;font-weight:800;letter-spacing:1.5px;line-height:1.1;color:#39735a}
.portal-regional-copy strong{font-size:19px;font-weight:800;line-height:1.15;color:#133f32}
@media(max-width:760px){.portal-brand-group{gap:10px}.portal-topbar .portal-regional-badge{gap:7px;min-height:48px;padding:6px 9px;border-radius:12px}.portal-regional-badge>.fa{width:27px;height:27px;font-size:14px}.portal-regional-copy small{font-size:8px;letter-spacing:1px}.portal-regional-copy strong{font-size:14px}}
@media(max-width:380px){.portal-brand-group{gap:6px}.portal-topbar .portal-regional-badge{gap:5px;padding:5px 7px}.portal-regional-badge>.fa{width:23px;height:23px;font-size:12px}.portal-regional-copy strong{font-size:12px}}
.portal-login-grid{display:grid;grid-template-columns:1.12fr 1fr;max-width:1240px;margin:8px auto 0;background:#fff;border:1px solid #dbe4dc;border-radius:30px;overflow:hidden;box-shadow:0 30px 80px -48px #133d3760}
.portal-welcome{position:relative;isolation:isolate;display:flex;flex-direction:column;padding:46px 48px 30px;overflow:hidden;background:radial-gradient(ellipse at 95% 65%,#226957 0,transparent 56%),#103e35;color:#fff}.portal-welcome:before{content:"";position:absolute;z-index:-1;inset:0;background-image:radial-gradient(#c7eadb20 .8px,transparent .8px);background-size:22px 22px;mask-image:linear-gradient(120deg,transparent 20%,#000)}
.portal-eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:2px;font-weight:650;color:#d4e6db}.portal-eyebrow>span{background:#d2f58d;box-shadow:0 0 0 5px #d2f58d12}
.portal-welcome h1{position:relative;z-index:1;margin:28px 0 20px;color:#f7fbf6;font-size:clamp(44px,4.9vw,68px);line-height:1.04;font-weight:600;letter-spacing:-3px}.portal-welcome h1 em{font-style:normal;color:#d2f58d}.portal-welcome-copy{position:relative;z-index:1;max-width:370px;margin:0;font-size:14px;line-height:1.8;color:#c0d7cb}
.portal-care-art{position:relative;flex:1;min-height:184px;margin-top:8px}.portal-orbit{position:absolute;border:1px solid #b7e7cb29;border-radius:50%;width:310px;height:310px;top:-85px;right:-42px;transform:rotate(-24deg) scaleY(.72)}.portal-orbit-two{width:240px;height:240px;top:-48px;right:-7px;transform:rotate(30deg) scaleY(.8);border-color:#d2f58d40}
.portal-pulse{position:absolute;width:calc(100% + 96px);height:180px;left:-48px;top:9px;opacity:.35}.portal-pulse path{stroke:#bfe9a1;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.portal-care-cross{position:absolute;right:57px;top:12px;width:94px;height:94px;transform:rotate(-12deg);filter:drop-shadow(0 12px 28px #d2f58d25)}.portal-care-cross:before,.portal-care-cross:after{content:"";position:absolute;border-radius:9px;background:linear-gradient(120deg,#efffcb,#b3dc7d)}.portal-care-cross:before{width:32px;height:94px;left:31px}.portal-care-cross:after{width:94px;height:32px;top:31px}
.portal-appointment-chip{position:absolute;top:103px;left:0;z-index:1;display:flex;align-items:center;gap:12px;padding:14px 16px;background:#234e42;border:1px solid #87ac8745;border-radius:16px;box-shadow:0 12px 35px #071f3020}.portal-appointment-chip>i:first-child{font-size:20px;color:#d2f58d;background:#d2f58d12;border-radius:11px;padding:12px}.portal-appointment-chip>span{font-size:8px;letter-spacing:1.2px;color:#bbd3be;line-height:1.9}.portal-appointment-chip strong{display:block;font-size:13px;letter-spacing:0;color:#f1f8eb;font-weight:500}.portal-appointment-chip>i:last-child{transform:rotate(45deg);color:#d2f58d;margin-left:8px;font-size:14px}.portal-art-dot{position:absolute;width:9px;height:9px;right:5px;top:9px;background:#d2f58d;box-shadow:0 0 0 6px #d2f58d0d;border-radius:50%}
.portal-welcome-footer{position:relative;display:flex;align-items:center;gap:10px;margin-top:24px;font-size:11px;color:#b4cfc0}.portal-mini-line{width:25px;height:1px;background:#d2f58d}
.portal-access{padding:46px 50px 40px;align-self:center}.portal-access-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #d9e6d9;background:#eff5e9;color:#285e45;border-radius:16px;font-size:21px;margin-bottom:24px}.portal-section-label{display:block;font-size:9px;letter-spacing:1.8px;color:#5f756b;font-weight:700}.portal-access h2{margin:12px 0 10px;color:var(--ink);font-size:32px;font-weight:600;letter-spacing:-1.3px;line-height:1.15}.portal-access-heading>p{margin:0 0 29px;color:var(--muted);font-size:13px;line-height:1.6}
.portal-login label,.portal-birthdate legend{display:block;margin:0 0 9px;color:#294b3e;font-size:12px;font-weight:600;line-height:1.5}.portal-input-wrap{position:relative}.portal-input-wrap>i{position:absolute;left:17px;top:20px;font-size:17px;color:#6d897d;pointer-events:none}
.portal-login input:not([type=hidden]),.portal-login select{display:block;width:100%;height:56px;padding:0 14px;background:#f8faf6;border:1px solid #dce5dc;border-radius:12px;color:#173e35;font:14px "Segoe UI",Arial,sans-serif;box-shadow:none;transition:border-color .18s,box-shadow .18s,background .18s}.portal-login .portal-input-wrap input{padding-left:47px;letter-spacing:.3px}.portal-login input::placeholder{color:#75877e;opacity:1}.portal-login input:focus,.portal-login select:focus{outline:2px solid transparent;background:#fff;border-color:#378d6d;box-shadow:0 0 0 4px #14735a16}.portal-login input[aria-invalid=true]{border-color:#bd4c45}
.portal-field-status{margin:7px 0 0;color:#ac3933;font-size:11px;line-height:1.6}.portal-field-status:empty{display:none}.portal-field-status.is-valid{color:#14735a}
.portal-birthdate{border:0;padding:0;margin:24px 0 26px;min-width:0}.portal-birthdate legend{border:0;padding:0;width:auto}.portal-date-grid{display:grid;grid-template-columns:.8fr 1.3fr 1fr;gap:10px}.portal-date-field{min-width:0}.portal-date-field label{font-size:11px;color:#63796d;font-weight:400;margin-bottom:7px}.portal-login select{padding-right:4px;cursor:pointer}
.portal-submit{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px;padding:14px 19px;border:1px solid #183f35;border-radius:12px;background:#183f35;color:#f3f9ec;font:600 14px "Segoe UI",Arial,sans-serif;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s}.portal-submit>i{color:#d2f58d}.portal-submit:hover{background:#245a47;box-shadow:0 8px 20px #14735a25;transform:translateY(-2px)}.portal-submit:focus-visible,.portal-brand:focus-visible{outline:3px solid #6a9b56;outline-offset:4px}.portal-submit:disabled{opacity:.7;cursor:wait;transform:none}.portal-security-note{display:flex;align-items:center;justify-content:center;gap:7px;margin:16px 0 0;font-size:10px;color:#63796d}
.portal-notice{display:flex;gap:9px;font-size:12px;line-height:1.6;padding:12px 14px;border-radius:10px;margin-bottom:20px}.portal-notice i{margin-top:3px}.portal-notice-error{background:#fff2f0;color:#a53630;border:1px solid #f1d8d4}.portal-notice-success{background:#edf6ed;color:#286346;border:1px solid #cee4d1}.portal-page-footer{padding:23px 0 25px;color:#687c70;font-size:10px}
@media(min-width:1500px){.portal-topbar{min-height:120px}.portal-login-grid{margin-top:20px}.portal-welcome,.portal-access{padding-top:56px;padding-bottom:44px}.portal-care-art{min-height:205px}}
@media(max-width:1100px){.portal-login{padding:0 4%}.portal-welcome{padding:38px 32px 28px}.portal-access{padding:38px 32px 30px}.portal-access h2{font-size:28px}.portal-welcome h1{font-size:54px}.portal-appointment-chip{padding:12px;gap:8px}.portal-appointment-chip strong{font-size:11px}.portal-appointment-chip>i:last-child{margin-left:0}}
@media(max-width:760px){.portal-login{padding:0 18px}.portal-topbar{min-height:84px;max-width:500px}.portal-topbar-label{font-size:10px;padding:8px 11px}.portal-brand{gap:8px}.portal-brand strong{font-size:20px}.portal-brand small{font-size:8px;letter-spacing:1.9px}.portal-brand img{width:32px;height:40px}.portal-login-grid{grid-template-columns:1fr;margin-top:0;border-radius:23px;max-width:500px}.portal-welcome{padding:26px 28px}.portal-eyebrow{font-size:8px;letter-spacing:1.6px}.portal-welcome h1{margin:18px 0 13px;font-size:40px;letter-spacing:-1.8px;line-height:1.06}.portal-welcome h1 br:first-of-type{display:none}.portal-welcome-copy{font-size:12px;line-height:1.65}.portal-care-art,.portal-welcome-footer{display:none}.portal-access{padding:30px 28px}.portal-access-icon{display:none}.portal-access h2{font-size:27px}.portal-access-heading>p{font-size:12px;margin-bottom:24px}.portal-page-footer{max-width:500px;font-size:9px}}
@media(max-width:380px){.portal-login{padding:0 12px}.portal-topbar-label{max-width:105px;line-height:1.4;padding:6px 9px}.portal-welcome,.portal-access{padding:24px 20px}.portal-welcome h1{font-size:36px}.portal-date-grid{gap:7px}.portal-login input:not([type=hidden]),.portal-login select{padding-right:5px;padding-left:9px}.portal-login .portal-input-wrap input{padding-left:43px}.portal-page-footer{gap:10px;font-size:8px}}
@media(prefers-reduced-motion:reduce){.portal-login *,.portal-login *:before,.portal-login *:after{transition:none!important}}
/* Dimensional surfaces and a sculpted health emblem. */
.portal-login{position:relative;isolation:isolate;background:radial-gradient(ellipse at 12% 0%,#cce7dc 0,transparent 48%),radial-gradient(ellipse at 95% 85%,#dde7fb 0,transparent 45%),#f0f4f2}
.portal-ambient{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}.portal-ambient span{position:absolute;width:420px;height:420px;border-radius:50%;filter:blur(65px);background:#95cfbc35;left:-180px;top:20%}.portal-ambient span:nth-child(2){left:auto;right:-200px;top:45%;background:#b5c6e940}.portal-ambient span:nth-child(3){width:220px;height:220px;left:45%;top:0;background:#ffffff80}
.portal-login-grid{border:1px solid #fff;border-radius:32px;box-shadow:0 42px 85px -40px #173f4166,0 12px 22px -14px #173f4140,inset 0 1px 0 #fff;background:linear-gradient(145deg,#fff,#f5f9f7)}
.portal-welcome{background:radial-gradient(ellipse at 80% 55%,#267964 0,transparent 60%),linear-gradient(145deg,#092f2c,#124e43);box-shadow:inset 0 1px 0 #ffffff35,inset -1px 0 0 #ffffff20}
.portal-access{position:relative;width:100%;background:radial-gradient(ellipse at 100% 0,#e9f4ef90,transparent 65%)}
.portal-access-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px}.portal-access-icon{margin:0;background:linear-gradient(145deg,#fff,#dcece3);border:1px solid #fff;box-shadow:0 8px 15px #183f3518,inset 0 -3px 5px #38765b15}.portal-access-tag{font-size:8px;font-weight:700;letter-spacing:1.4px;color:#50756a;padding:8px 10px;border:1px solid #dce9e1;border-radius:20px;background:#ffffffa0}
.portal-care-art{min-height:280px;margin:12px -22px 0;perspective:850px}.portal-health-network{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 10px 8px #001e2c80)}
.portal-health-core{position:absolute;left:50%;top:48%;width:130px;height:146px;margin:-73px 0 0 -65px;border-radius:32px;transform:rotateX(12deg) rotateY(-20deg) rotateZ(-9deg);background:linear-gradient(135deg,#81ddbd,#328c73 48%,#135245);border:1px solid #c4ffde90;box-shadow:1px 1px 0 #a1edc7,3px 4px 0 #286c58,6px 7px 0 #225e50,9px 10px 0 #184d42,16px 28px 30px #001c2e80,inset 2px 2px 12px #daffe85c;animation:portal-levitate 7s ease-in-out infinite}
.portal-health-core:after{content:"";position:absolute;inset:7px;border-radius:26px;border:1px solid #ffffff25;pointer-events:none}.portal-health-core .portal-care-cross{width:70px;height:70px;left:30px;top:24px;right:auto;transform:none;filter:drop-shadow(3px 7px 0 #246449) drop-shadow(0 10px 8px #143c4260)}.portal-health-core .portal-care-cross:before{height:70px;width:24px;left:23px;border-radius:6px;background:linear-gradient(120deg,#f7ffe4,#c9ed9c)}.portal-health-core .portal-care-cross:after{width:70px;height:24px;top:23px;border-radius:6px;background:linear-gradient(120deg,#f7ffe4,#c9ed9c)}.portal-health-core>span{position:absolute;bottom:17px;width:100%;text-align:center;font-size:10px;letter-spacing:3px;font-weight:700;color:#e4ffe9}.portal-health-core b{color:#d2f58d}
.portal-digital-chip{position:absolute;top:30px;left:2%;display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #b9efd64a;border-radius:14px;background:linear-gradient(130deg,#4d937dba,#153e36e6);box-shadow:0 14px 24px #001e2945,inset 0 1px 0 #ffffff20;backdrop-filter:blur(12px);transform:rotate(-5deg)}.portal-digital-chip>i{font-size:20px;color:#bdf5d5}.portal-digital-chip span{font-size:7px;letter-spacing:1.3px;color:#c5e0d5}.portal-digital-chip strong{display:block;margin-top:5px;font-size:11px;letter-spacing:0;color:#fff;font-weight:500}
.portal-appointment-chip{top:auto;bottom:27px;left:auto;right:0;transform:rotate(3deg);background:linear-gradient(120deg,#3b7967e8,#153f36f2);box-shadow:0 18px 28px #001d284d,inset 0 1px 0 #ffffff25;backdrop-filter:blur(12px)}.portal-art-caption{position:absolute;bottom:0;left:18px;font-size:7px;letter-spacing:2px;color:#a3cab8}
.portal-login input:not([type=hidden]),.portal-login select{background:linear-gradient(180deg,#edf3ef,#f9fbf9);box-shadow:inset 0 2px 4px #163c3508,0 1px 0 #fff;border-color:#d4e0d8;border-radius:13px}.portal-submit{background:linear-gradient(130deg,#287f65,#124d40);border-color:#1e5e4c;box-shadow:0 5px 0 #0c392f,0 12px 22px #164c3933,inset 0 1px 0 #ffffff35}.portal-submit:hover{background:linear-gradient(130deg,#328b71,#185f4c);box-shadow:0 7px 0 #0c392f,0 16px 25px #164c3938}.portal-submit:active{transform:translateY(3px);box-shadow:0 2px 0 #0c392f}.portal-security-note{margin-top:23px}
@keyframes portal-levitate{0%,100%{transform:translateY(0) rotateX(12deg) rotateY(-20deg) rotateZ(-9deg)}50%{transform:translateY(-9px) rotateX(8deg) rotateY(-12deg) rotateZ(-6deg)}}
@media(max-width:1100px){.portal-care-art{margin-left:-16px;margin-right:-16px}.portal-digital-chip{left:0;padding:10px}.portal-access-tag{font-size:7px;letter-spacing:1px}}
@media(max-width:760px){.portal-access-top{margin-bottom:18px}.portal-access-tag{font-size:8px}.portal-care-art{display:block;min-height:210px;margin:0}.portal-health-core{scale:.8;top:46%}.portal-digital-chip{top:20px;scale:.85;transform-origin:left top}.portal-appointment-chip{bottom:20px;scale:.85;transform-origin:right bottom}.portal-art-caption{display:none}.portal-welcome{padding-bottom:15px}.portal-welcome-copy{max-width:310px}.portal-login-grid{border-radius:25px}}
@media(prefers-reduced-motion:reduce){.portal-health-core{animation:none}}

/* Put access first and keep decoration beside the form on wide screens. */
.portal-login-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);max-width:1120px;margin-top:0}
.portal-topbar{min-height:80px;max-width:1120px}
.portal-access{padding:32px 40px;min-width:0}
.portal-access-top{margin-bottom:18px}
.portal-access-heading>p{margin-bottom:22px}
.portal-welcome{padding:34px 36px 24px;min-width:0}
.portal-welcome h1{font-size:clamp(40px,4.5vw,58px);margin:22px 0 16px}
.portal-care-art{min-height:230px}
.portal-welcome-footer{margin-top:16px}
.portal-page-footer{max-width:1120px;padding:18px 0}
@media(min-width:761px) and (max-height:740px){
 .portal-topbar{min-height:66px}
 .portal-access{padding:24px 32px}
 .portal-access-top{margin-bottom:12px}
 .portal-access-icon{width:38px;height:38px;border-radius:12px;font-size:17px}
 .portal-access h2{font-size:28px}
 .portal-access-heading>p{margin-bottom:16px}
 .portal-birthdate{margin:18px 0 20px}
 .portal-welcome{padding:26px 30px 20px}
 .portal-welcome h1{font-size:46px;margin:18px 0 12px}
 .portal-care-art{min-height:195px}
 .portal-page-footer{padding:12px 0}
}
@media(max-width:760px){
 .portal-login{padding:0 16px;min-height:100svh}
 .portal-topbar{min-height:68px;max-width:500px}
 .portal-login-grid{grid-template-columns:minmax(0,1fr);max-width:500px;border-radius:22px}
 .portal-access{padding:24px}
 .portal-access-top,.portal-section-label{display:none}
 .portal-access h2{font-size:27px;margin:0 0 8px}
 .portal-access-heading>p{margin-bottom:20px}
 .portal-login input:not([type=hidden]),.portal-login select{height:52px;font-size:16px}
 .portal-input-wrap>i{top:18px}
 .portal-birthdate{margin:20px 0 22px}
 .portal-submit{min-height:52px}
 .portal-security-note{margin-top:18px}
 .portal-welcome{padding:18px 24px}
 .portal-welcome h1{font-size:24px;letter-spacing:-.8px;margin:0 0 6px}
 .portal-welcome h1 br{display:none}
 .portal-welcome h1 em:before{content:" "}
 .portal-welcome-copy{font-size:11px;line-height:1.5;max-width:none}
 .portal-welcome-copy br{display:none}
 .portal-eyebrow,.portal-welcome-footer{display:none}
 .portal-care-art{display:block;flex:none;height:132px;min-height:132px;margin:4px 0 0}
 .portal-health-core{scale:.62;top:50%}
 .portal-digital-chip{top:8px;left:0;scale:.68;transform-origin:left top}
 .portal-appointment-chip{right:0;bottom:4px;scale:.68;transform-origin:right bottom}
 .portal-art-caption{display:none}
 .portal-page-footer{max-width:500px;padding:14px 0}
}
@media(max-width:380px){
 .portal-login{padding:0 12px}
 .portal-access{padding:20px 18px}
 .portal-access h2{font-size:24px}
 .portal-welcome{padding:16px 18px}
 .portal-date-grid{grid-template-columns:.75fr 1.25fr 1fr;gap:7px}
 .portal-topbar .portal-regional-badge{max-width:none}
}
