/* MAR Energy authentication design, 1.6.3.
   Layout uses natural flow: ordinary laptop screens fit without scroll;
   errors, enlarged text and smaller viewports remain fully reachable. */
body.auth-page{--ink:#173e33;--muted:#4f6253;--line:#bcc5af;background:#eeeadd;color:#173e33;font-size:15px;line-height:1.55}
.auth-page .auth-shell{min-height:100svh;display:grid;grid-template-columns:minmax(330px,42%) 1fr;padding:18px;gap:20px;max-width:1800px;margin:auto}
.auth-page .auth-brand-panel{position:relative;isolation:isolate;overflow:hidden;min-height:0;display:flex;flex-direction:column;border-radius:22px;background:linear-gradient(155deg,#155b52 0%,#0d4a46 52%,#073631 100%);color:#fff;padding:29px 38px 24px}
.auth-page .auth-brand-panel>.auth-brand-canopy{position:absolute;z-index:-1;left:0;top:0;width:100%;height:195px;margin:0;background:#eeeadd;clip-path:ellipse(100% 99% at 16% 0%)}
.auth-page .auth-brand-panel>.brand-logo-link{margin:0 0 68px;padding:0;border-radius:0;box-shadow:none;background:none}
.auth-page .brand-logo{display:block;width:130px;height:auto;aspect-ratio:820/656;object-fit:contain;flex:none}
.auth-page .auth-brand-panel>.auth-brand-story{position:relative;z-index:1;margin:0 0 26px}
.auth-page .eyebrow{display:block;font-size:9px;font-weight:750;letter-spacing:1.7px;line-height:1.6;text-transform:uppercase;color:#365d46;margin:0 0 7px}
.auth-page .auth-brand-story .eyebrow{color:#c1d8cc;margin-bottom:14px;font-size:10px;letter-spacing:2px}
.auth-page .auth-brand-story h1{font-family:inherit;font-size:clamp(36px,3.15vw,49px);font-weight:600;line-height:1.09;letter-spacing:-1.7px;max-width:450px;margin:0}
.auth-page .auth-brand-story h1 em{display:block;color:#d9e8a7;font-family:Georgia,'Times New Roman',serif;font-size:1.12em;line-height:1.15;font-weight:400;margin-top:5px}
.auth-page .auth-brand-story p{margin-top:19px;max-width:355px;color:#d5e2da;font-size:13px;line-height:1.7}
.auth-page .auth-brand-panel .auth-brand-features{list-style:none;padding:0;margin:0;display:grid;gap:12px;z-index:1}
.auth-page .auth-brand-features li{display:flex;align-items:center;gap:13px;color:#edf3ed;font-size:12px}
.auth-page .auth-feature-icon{width:30px;height:30px;border:1px solid #ffffff30;border-radius:9px;display:grid;place-items:center;flex-shrink:0;color:#d9e8a7;background:#ffffff04}
.auth-page .auth-feature-icon svg{width:16px;height:16px;display:block}
.auth-page .auth-brand-panel .auth-brand-bottom{margin-top:auto;padding-top:25px;display:flex;gap:18px;align-items:center;font-size:9px;letter-spacing:1.1px;color:#c0d6cd;font-weight:550;position:relative;z-index:1;max-width:none}
.auth-page .auth-brand-bottom:before{content:'';height:1px;width:36px;background:#b8dc57;flex:none}
.auth-page .auth-panel-lines{position:absolute;z-index:0;bottom:-110px;right:-170px;width:560px;opacity:.065;pointer-events:none;color:#ddf0dd}
.auth-page .auth-form-panel{padding:12px clamp(22px,3vw,48px) 6px;display:flex;flex-direction:column;min-width:0;min-height:0;background:#eeeadd;place-items:normal}
.auth-page .auth-form-top{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#536452;font-size:10px;min-height:26px}
.auth-page .auth-form-top>span{font-size:10px;text-transform:uppercase;letter-spacing:1.8px}
.auth-page .auth-form-top>a{text-decoration:none;font-size:11px;color:#536452;display:inline-flex;gap:7px;align-items:center;min-height:28px;flex:none}
.auth-page .auth-mobile-brand{display:none}
.auth-page .auth-form-center{display:flex;flex:1;align-items:center;justify-content:center;padding:24px 0 20px}
.auth-page .auth-card{width:100%;max-width:444px;margin:0}
.auth-page .auth-card[data-auth-screen="register"]{max-width:520px}
.auth-page .auth-card h2{font-family:inherit;font-size:32px;line-height:1.17;letter-spacing:-1.25px;font-weight:650;margin:0 0 10px;color:#173e33}
.auth-page .auth-intro{font-size:13px;line-height:1.7;color:#4f6253;margin:0 0 21px;max-width:435px}
.auth-page .auth-intro strong{color:#244f3e;font-weight:650;overflow-wrap:anywhere}
.auth-page .form-stack{display:grid;gap:15px;margin:0}
.auth-page .form-stack label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:650;color:#365d46}
.auth-page input:not([type="checkbox"]):not([type="hidden"]){width:100%;min-width:0;background:#fffaf1;border:1px solid #99a68c;border-radius:9px;padding:12px 14px;line-height:22px;color:#173e33;transition:background .15s,border-color .15s;min-height:48px;font-size:14px;font-weight:400}
.auth-page input:not([type="checkbox"]):hover{border-color:#758d6b}
.auth-page input:not([type="checkbox"]):focus{background:#fffaf1;border-color:#17675f;outline:3px solid #17675f25;outline-offset:0;box-shadow:none}
.auth-page input::placeholder{color:#65725e;opacity:1}
.auth-page .auth-input-wrap{position:relative;display:block}
.auth-page .auth-input-wrap input{padding-right:49px}
.auth-page .auth-password-toggle{position:absolute;right:4px;top:4px;width:40px;height:40px;border:0;background:none;display:grid;place-items:center;color:#536d55;border-radius:6px;cursor:pointer}
.auth-page .auth-password-toggle[hidden]{display:none}
.auth-page .auth-password-toggle svg{width:18px;height:18px;display:block}
.auth-page .form-stack label small,.auth-page .auth-field-note{font-size:11px;line-height:1.6;color:#536452;font-weight:400;margin:0}
.auth-page .form-between{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;flex-direction:row;margin:0 0 3px}
.auth-page .check{display:flex;gap:9px!important;align-items:flex-start;cursor:pointer;font-size:12px;line-height:1.65;color:#536452}
.auth-page .check input{accent-color:#0d4a46;width:17px!important;height:17px;min-height:17px!important;flex-shrink:0;margin:2px 0 0;cursor:pointer}
.auth-page .form-between>a{font-size:12px;font-weight:650;text-decoration:none;padding:5px 0;color:#17675f}
.auth-page .button.primary-button,.auth-page .button.secondary-button{border:1px solid #0d4a46;background:#0d4a46;border-radius:9px;color:#fffdf2;min-height:48px;padding:12px 16px;display:flex;align-items:center;justify-content:center;gap:14px;font-size:13px;font-weight:650;box-shadow:0 5px 12px #0d4a4612;transition:background .15s,transform .15s;width:100%;text-decoration:none}
.auth-page .button.primary-button:hover{background:#17675f;transform:translateY(-1px)}
.auth-page .button.secondary-button{background:#e9ead9;border-color:#aab99b;color:#355d3e;box-shadow:none}
.auth-page .auth-switch{margin:17px 0 0;color:#536452;text-align:center;font-size:12px}
.auth-page .auth-switch a{color:#0d4a46;font-weight:650;text-decoration:none;margin-left:4px;display:inline-block;padding:7px 0;font-size:inherit}
.auth-page .auth-security-note{font-size:10px;color:#536452;margin:10px 0 0;text-align:center}
.auth-page .auth-support{border-top:1px solid #bfc8b5;padding-top:13px;margin:23px 0 0;font-size:11px;color:#536452;text-align:center;line-height:1.8}
.auth-page .auth-support>span{display:block;margin-bottom:3px}
.auth-page .auth-support-links{display:flex;justify-content:center;gap:8px 16px;flex-wrap:wrap}
.auth-page .auth-support a{font-size:inherit;font-weight:550;text-decoration:none;color:#245d45}
.auth-page .auth-form-bottom{display:flex;gap:20px;justify-content:space-between;align-items:center;font-size:9px;color:#536452;padding:5px 0 0;min-height:24px}
.auth-page .field-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.auth-page .auth-consents{display:grid;gap:7px;margin:1px 0 3px}
.auth-page .auth-consents .check{font-size:11px;font-weight:500;color:#536452}
.auth-page .auth-card[data-auth-screen="register"] .form-stack{gap:11px}
.auth-page .auth-card[data-auth-screen="register"] .auth-intro{margin-bottom:16px}
.auth-page .auth-card[data-auth-screen="register"] .auth-support{margin-top:16px}
.auth-page .auth-step-indicator{display:flex;gap:9px;align-items:center;margin-bottom:20px;color:#536452;font-size:11px}
.auth-page .auth-step-indicator b{display:inline-grid;place-items:center;width:23px;height:23px;font-size:10px;background:#dce5ce;border-radius:50%;color:#345c3a}
.auth-page .auth-step-indicator .auth-step-line{height:1px;width:35px;background:#b7c2aa;margin:0 2px}
.auth-page .auth-step-indicator .current{background:#0d4a46;color:#fff}
.auth-page .info-notice{display:flex;flex-direction:column;gap:2px;background:#e1e7d4;border:1px solid #b8c6a7;border-radius:9px;padding:12px;margin:0 0 18px;color:#455e3e;font-size:11px;line-height:1.75}
.auth-page .info-notice strong{display:block;color:#365a37;font-size:11px;font-weight:650;margin-bottom:2px}
.auth-page input.otp-input{height:58px;text-align:center;font-size:25px!important;letter-spacing:15px;text-indent:15px;font-weight:650;font-variant-numeric:tabular-nums;background:#fffaf1;padding-left:14px!important}
.auth-page .resend{display:block;margin:18px auto 0;text-align:center}
.auth-page .resend button{padding:9px 4px;border:0;background:none;color:#17675f;font-size:12px;min-height:40px;font-weight:600}
.auth-page .form-errors,.auth-page .flash{border-radius:8px;padding:11px 14px;margin:0 0 20px;font-size:12px}
.auth-page .form-errors p{margin:0}
.auth-page .success-panel{border:1px solid #b8c6a7;border-radius:12px;padding:22px;background:#e1e7d4;margin-bottom:20px}
.auth-page .success-panel h3{font-size:18px;color:#375a37;margin-bottom:9px}
.auth-page .success-panel p{font-size:13px;line-height:1.8;color:#365a37;margin:0}
.auth-page :where(button,a,input):focus-visible{outline:3px solid #517747;outline-offset:3px}
.auth-page .cookie-settings-button{background:#f5f1e7;border-color:#99a68c;color:#245d45;font-size:11px;min-height:36px;padding:8px 12px;bottom:14px;right:20px}
.auth-page .cookie-consent{background:#f5f1e7;border-color:#b8c6a7;color:#173e33}
.auth-page .cookie-consent p{color:#4f6253}
.auth-page .cookie-consent .button{width:auto;font-size:12px}
@media(min-width:1600px){
 .auth-page .auth-shell{padding:28px;gap:38px}
 .auth-page .auth-brand-panel{padding:42px 60px 36px}
 .auth-page .auth-brand-panel>.auth-brand-canopy{height:260px}
 .auth-page .auth-brand-panel>.brand-logo-link{margin-bottom:108px}
 .auth-page .auth-desktop-brand .brand-logo{width:166px}
 .auth-page .auth-brand-panel>.auth-brand-story{margin-bottom:50px}
 .auth-page .auth-brand-story p{font-size:15px}
 .auth-page .auth-brand-features{gap:21px}
}
@media(min-width:821px) and (max-width:1120px){
 .auth-page .auth-shell{grid-template-columns:39% 1fr;padding:15px;gap:13px}
 .auth-page .auth-brand-panel{padding:29px}
 .auth-page .auth-brand-story h1{font-size:36px}
 .auth-page .auth-brand-features li{font-size:11px}
 .auth-page .auth-form-panel{padding:12px 22px 6px}
 .auth-page .auth-form-top>span{font-size:9px;letter-spacing:1.2px}
 .auth-page .auth-form-top>a{font-size:10px}
}
@media(min-width:821px) and (max-height:800px){
 .auth-page .auth-shell{padding:14px;gap:17px}
 .auth-page .auth-brand-panel{padding:24px 34px 21px}
 .auth-page .auth-brand-panel>.auth-brand-canopy{height:166px}
 .auth-page .auth-brand-panel>.brand-logo-link{margin-bottom:67px}
 .auth-page .auth-desktop-brand .brand-logo{width:108px}
 .auth-page .auth-brand-panel>.auth-brand-story{margin-bottom:22px}
 .auth-page .auth-brand-story .eyebrow{font-size:9px;margin-bottom:10px}
 .auth-page .auth-brand-story h1{font-size:38px;line-height:1.07;letter-spacing:-1.2px}
 .auth-page .auth-brand-story p{margin-top:16px;font-size:12px;line-height:1.65;max-width:330px}
 .auth-page .auth-brand-panel .auth-brand-features{gap:10px}
 .auth-page .auth-brand-features li{font-size:11px}
 .auth-page .auth-feature-icon{width:27px;height:27px;border-radius:8px}
 .auth-page .auth-brand-panel .auth-brand-bottom{padding-top:19px;font-size:8px;letter-spacing:1px}
 .auth-page .auth-form-panel{padding:7px clamp(18px,3vw,43px) 4px}
 .auth-page .auth-form-center{padding:13px 0 12px}
 .auth-page .auth-card h2{font-size:29px;line-height:1.15;margin-bottom:8px}
 .auth-page .eyebrow{font-size:9px;margin-bottom:6px}
 .auth-page .auth-intro{font-size:12px;line-height:1.6;margin-bottom:16px}
 .auth-page .form-stack{gap:12px}
 .auth-page .form-stack label{gap:5px;font-size:11px}
 .auth-page input:not([type="checkbox"]):not([type="hidden"]){min-height:44px;padding:10px 13px;font-size:13px;line-height:22px}
 .auth-page .auth-input-wrap input{padding-right:47px!important}
 .auth-page .auth-password-toggle{width:36px;height:36px}
 .auth-page .button.primary-button,.auth-page .button.secondary-button{min-height:44px;padding:10px 14px;font-size:12px}
 .auth-page .check,.auth-page .form-between>a{font-size:11px}
 .auth-page .auth-switch{margin-top:10px;font-size:11px}
 .auth-page .auth-security-note{margin-top:5px;font-size:9px}
 .auth-page .auth-support{margin-top:16px;padding-top:10px;font-size:10px;line-height:1.6}
 .auth-page .auth-support>span{display:inline;margin:0 7px 0 0}
 .auth-page .auth-support-links{display:inline-flex;gap:10px}
 .auth-page .auth-card[data-auth-screen="register"] .form-stack{gap:9px}
 .auth-page .auth-card[data-auth-screen="register"] .auth-intro{margin-bottom:12px}
 .auth-page .auth-card[data-auth-screen="register"] .auth-support{margin-top:11px}
 .auth-page .auth-card[data-auth-screen="register"] .auth-consents{gap:5px;margin:0}
 .auth-page .auth-consents .check,.auth-page .auth-field-note,.auth-page .form-stack label small{font-size:10px}
 .auth-page .auth-step-indicator{margin-bottom:16px}
 .auth-page .info-notice{padding:11px;margin-bottom:15px;line-height:1.65}
 .auth-page input.otp-input{height:55px;font-size:24px!important}
 .auth-page .resend{margin-top:10px}
 .auth-page .resend button{padding:6px 4px;min-height:34px;font-size:11px}
}
@media(min-width:821px) and (max-height:690px){
 .auth-page .auth-shell{padding:10px;gap:13px}
 .auth-page .auth-brand-panel{padding:20px 30px}
 .auth-page .auth-brand-panel>.auth-brand-canopy{height:141px}
 .auth-page .auth-brand-panel>.brand-logo-link{margin-bottom:51px}
 .auth-page .auth-desktop-brand .brand-logo{width:94px}
 .auth-page .auth-brand-story h1{font-size:34px}
 .auth-page .auth-brand-panel>.auth-brand-story{margin-bottom:16px}
 .auth-page .auth-brand-story p{margin-top:12px}
 .auth-page .auth-brand-panel .auth-brand-features{gap:7px}
 .auth-page .auth-brand-panel .auth-brand-bottom{padding-top:15px}
 .auth-page .auth-form-center{padding:9px 0}
 .auth-page .auth-card[data-auth-screen="register"] h2{font-size:27px}
 .auth-page .auth-card[data-auth-screen="register"] .auth-intro{margin-bottom:9px;font-size:11px}
 .auth-page .auth-card[data-auth-screen="register"] .form-stack{gap:7px}
 .auth-page .auth-card[data-auth-screen="register"] .form-stack label{gap:3px}
 .auth-page .auth-card[data-auth-screen="register"] input:not([type="checkbox"]):not([type="hidden"]){min-height:40px;padding:8px 12px}
 .auth-page .auth-card[data-auth-screen="register"] .auth-password-toggle{top:2px;right:2px}
}
@media(max-width:820px){
 .auth-page .auth-shell{display:block;min-height:100svh;padding:0}
 .auth-page .auth-brand-panel{display:none}
 .auth-page .auth-form-panel{padding:23px 25px 18px;min-height:100svh;background:linear-gradient(155deg,#e1e6d3 0%,#eeeadd 42%)}
 .auth-page .auth-form-top{display:none}
 .auth-page .auth-form-center{padding:0;display:block;flex:1}
 .auth-page .auth-card,.auth-page .auth-card[data-auth-screen="register"]{max-width:480px;margin:0 auto}
 .auth-page .auth-mobile-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:480px;margin:0 auto 32px;width:100%;position:relative}
 .auth-page .auth-mobile-brand .brand-logo{width:110px}
 .auth-page .auth-mobile-brand>span{font-size:9px;letter-spacing:1.5px;color:#50644c}
 .auth-page .auth-card h2{font-size:31px}
 .auth-page .auth-intro{font-size:13px}
 .auth-page .auth-form-bottom{max-width:480px;width:100%;margin:23px auto 0;padding-bottom:38px}
 .auth-page .auth-support{margin-top:29px}
 .auth-page .auth-switch{margin-top:20px}
 .auth-page .auth-step-indicator{margin-bottom:23px}
 .auth-page .form-stack{gap:18px}
 .auth-page input:not([type="checkbox"]):not([type="hidden"]){font-size:16px;min-height:50px}
 .auth-page .auth-card[data-auth-screen="register"] .form-stack{gap:15px}
 .auth-page .auth-card[data-auth-screen="register"] .auth-consents{gap:12px}
 .auth-page .auth-consents .check{font-size:12px}
 .auth-page .auth-support{font-size:12px}
}
@media(max-width:430px){
 .auth-page .field-grid{grid-template-columns:1fr;gap:15px}
 .auth-page .auth-form-panel{padding:20px 23px 17px}
 .auth-page .auth-card h2{font-size:30px}
 .auth-page .info-notice{font-size:12px;padding:13px}
 .auth-page .info-notice strong{font-size:12px}
 .auth-page .auth-support-links{gap:5px 14px}
 .auth-page input.otp-input{font-size:24px!important;letter-spacing:12px;text-indent:12px}
}
@media(prefers-reduced-motion:reduce){.auth-page *{scroll-behavior:auto!important;transition:none!important}}
