/* Design 4 member portal — markup/API IDs preserved. */
body.d4-auth{min-height:100vh;background:#f7fbfe!important;color:#102b4d;overflow-x:hidden}
.d4-auth-header{height:60px;background:#fff;border-bottom:1px solid #e3edf4;display:flex;align-items:center;justify-content:space-between;padding:0 34px}.d4-auth-header .brand{font-size:16px;font-weight:800;color:#155cc8}.d4-auth-header .brand span{color:#0bb9d2;margin-left:3px}.d4-back{font-size:10px;color:#607991;font-weight:600}
.d4-auth-main{min-height:calc(100vh - 60px);display:grid;place-items:center;padding:34px 20px}.d4-auth-shell{width:min(980px,100%);min-height:620px;display:grid;grid-template-columns:48% 52%;background:#fff;border:1px solid #dce8f2;border-radius:14px;overflow:hidden;box-shadow:0 20px 60px rgba(10,48,86,.11)}
.d4-auth-art{position:relative;background:radial-gradient(circle at 82% 24%,rgba(23,183,211,.28),transparent 34%),linear-gradient(155deg,#061a39 0%,#07366b 57%,#0d5f9a 100%);color:#fff;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.d4-auth-art:after{content:"";position:absolute;inset:auto -110px -130px auto;width:360px;height:360px;border-radius:50%;border:1px solid rgba(255,255,255,.17)}.d4-auth-art-copy{padding:50px 42px 0;position:relative;z-index:2}.d4-auth-kicker{font-size:8px;letter-spacing:1.2px;color:#68d6e6;font-weight:800}.d4-auth-art h1{margin:17px 0 12px;font-size:39px;line-height:.98;letter-spacing:-2px}.d4-auth-art h1 span{color:#82e7f2}.d4-auth-art p{max-width:390px;font-size:10px;line-height:1.65;color:#c4d8e9}.d4-auth-stats{display:flex;gap:24px;margin-top:26px}.d4-auth-stats div{display:grid;gap:2px}.d4-auth-stats b{font-size:13px}.d4-auth-stats span{font-size:7px;color:#a9c4d9}.d4-auth-art img{width:100%;height:265px;object-fit:cover;object-position:center top;position:relative;z-index:1;filter:saturate(.94)}
.d4-auth-panel{display:grid;place-items:center;background:#fff;padding:38px}.d4-auth-panel-inner{width:min(390px,100%)}.d4-auth-brand{font-size:9px;color:#698099;margin-bottom:9px}.d4-auth-brand b{color:#0b62d8}.d4-auth-panel h2{font-size:24px;margin:0 0 5px;letter-spacing:-.7px}.d4-auth-sub{font-size:9px;color:#8091a3;margin:0 0 21px}.d4-auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#f1f6fa;border:1px solid #e1ebf2;border-radius:8px;margin-bottom:18px}.d4-auth-tabs button{border:0;border-radius:6px;background:transparent;color:#6d8093;min-height:32px;font-size:9px;font-weight:700;cursor:pointer}.d4-auth-tabs button.active{background:#fff;color:#075ed8;box-shadow:0 2px 8px rgba(10,54,96,.08)}
.d4-auth-form{display:grid;gap:11px}.d4-auth-form[hidden]{display:none!important}.d4-auth-form label{display:grid;gap:5px;font-size:8px;color:#3e5872;font-weight:700}.d4-auth-form input{width:100%;height:39px;border:1px solid #dce7ef!important;border-radius:7px!important;background:#fbfdff!important;padding:0 11px!important;font-size:10px!important;outline:0}.d4-auth-form input:focus{border-color:#42bfd4!important;box-shadow:0 0 0 3px rgba(18,183,211,.1)!important}.d4-auth-form .btn{width:100%;min-height:40px;border:0;border-radius:7px;background:linear-gradient(90deg,#075ed8,#10b9d3);font-size:9px;box-shadow:none;margin-top:2px}.d4-auth-form .forgot-link{margin:0;font-size:8px;text-align:right;color:#075ed8}.d4-auth-form .portal-note{font-size:8px;margin:0;line-height:1.55}.d4-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.d4-auth-terms{text-align:center;margin:18px 0 0;font-size:7px;color:#8c9bab}.d4-auth-terms a{color:#075ed8;font-weight:700}
@media(max-width:820px){.d4-auth-main{padding:22px 14px}.d4-auth-shell{grid-template-columns:1fr;max-width:570px}.d4-auth-art{min-height:300px}.d4-auth-art-copy{padding:34px 30px 0}.d4-auth-art h1{font-size:34px}.d4-auth-art img{height:170px;object-position:center 24%}.d4-auth-panel{padding:34px 28px}}
@media(max-width:520px){.d4-auth-header{height:56px;padding:0 14px}.d4-auth-header .brand{font-size:15px}.d4-back{font-size:8px}.d4-auth-main{min-height:calc(100vh - 56px);padding:10px}.d4-auth-shell{border-radius:11px}.d4-auth-art{min-height:245px}.d4-auth-art-copy{padding:26px 22px 0}.d4-auth-art h1{font-size:29px}.d4-auth-art p{font-size:8px}.d4-auth-stats{gap:16px;margin-top:16px}.d4-auth-art img{height:120px}.d4-auth-panel{padding:28px 18px}.d4-auth-panel h2{font-size:21px}.d4-two{grid-template-columns:1fr}}
