/* Mayobook account suite — mockup-aligned clean-sheet styling.
 * No authentication handlers, CAPTCHA or protected business logic are changed.
 * Desktop reference: 1648x928, 57.5% art / 42.5% form. */
html:has(body.mbfe-auth-page){margin:0!important;padding:0!important;min-height:100%!important;background:#fff!important}
body.login.mbfe-auth-page{
 --mb-auth-navy:#071f43;--mb-auth-blue:#143a7c;--mb-auth-ink:#0b254d;--mb-auth-gold:#e8b667;
 --mb-auth-muted:#5d6e86;--mb-auth-border:#cbd8ea;
 display:block!important;position:relative!important;min-height:100vh!important;min-height:100dvh!important;
 width:100%!important;margin:0!important;padding:0!important;border:0!important;
 background:#fff!important;color:var(--mb-auth-ink)!important;
 font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
 overflow-x:hidden!important;overflow-y:auto!important;
}
body.mbfe-auth-page *{box-sizing:border-box}
body.mbfe-auth-page .mb-auth-scene{
 position:fixed!important;inset:0 auto 0 0!important;width:57.5%!important;
 height:100vh!important;height:100dvh!important;z-index:1;
 display:block!important;margin:0!important;padding:0!important;isolation:isolate;
 overflow:hidden!important;background:#071f43!important;color:#fff!important;
}
body.mbfe-auth-page .mb-auth-scene-image{
 position:absolute!important;inset:0!important;z-index:-3!important;
 display:block!important;width:100%!important;height:100%!important;
 max-width:none!important;object-fit:cover!important;object-position:center 80%!important;
 margin:0!important;padding:0!important;filter:saturate(1.03) contrast(1.04)!important;
}
body.mbfe-auth-page .mb-auth-scene-shade{
 position:absolute;inset:0;z-index:-2;pointer-events:none;
 background:linear-gradient(90deg,rgba(3,20,45,.39) 0%,rgba(3,22,47,.22) 44%,rgba(5,25,51,.06) 100%),
 linear-gradient(180deg,rgba(2,16,35,.25) 0%,rgba(4,17,34,.09) 36%,rgba(2,15,32,.07) 72%,rgba(2,13,28,.42) 100%)!important;
}
body.mbfe-auth-page .mb-auth-brandline{
 position:absolute!important;top:clamp(25px,4.5vh,54px)!important;left:7.7%!important;right:6.1%!important;
 z-index:4;display:flex!important;justify-content:space-between!important;align-items:center!important;
 flex-wrap:wrap!important;gap:10px!important;
}
body.mbfe-auth-page .mb-auth-brand{
 display:inline-flex!important;align-items:center!important;gap:11px!important;
 color:#fff!important;text-decoration:none!important;font-size:clamp(22px,1.8vw,29px)!important;
 letter-spacing:-.035em!important;line-height:1!important;font-weight:810!important;
}
body.mbfe-auth-page .mb-auth-brand-icon{
 display:block!important;width:49px!important;height:49px!important;max-width:none!important;
 object-fit:contain!important;background:#fff!important;padding:5px!important;border-radius:13px!important;
}
body.mbfe-auth-page .mb-auth-brand-note{
 font-size:clamp(9px,.78vw,12px)!important;font-weight:780!important;
 letter-spacing:.17em!important;color:#edcd96!important;text-transform:uppercase!important;
}
body.mbfe-auth-page .mb-auth-story{
 position:absolute!important;z-index:3;
 top:clamp(146px,19.5vh,210px)!important;left:7.7%!important;right:6.2%!important;
 max-width:780px!important;margin:0!important;padding:0!important;
}
body.mbfe-auth-page .mb-auth-story-kicker{display:none!important}
body.mbfe-auth-page .mb-auth-story-headline{
 max-width:770px!important;margin:0 0 15px!important;color:#fff!important;
 font-family:Georgia,"Times New Roman",serif!important;
 font-size:clamp(35px,3.24vw,53px)!important;line-height:1.08!important;
 letter-spacing:-.046em!important;font-weight:400!important;
 text-wrap:balance;
}
body.mbfe-auth-page .mb-auth-story-headline em{
 display:block!important;font-style:italic!important;color:#ecb66b!important;
 font-weight:400!important;
}
body.mbfe-auth-page[data-mb-auth-screen="recovery"] .mb-auth-story-headline em{
 display:inline!important;
}
body.mbfe-auth-page .mb-auth-story-copy{
 color:#edf2f9!important;font-size:clamp(13px,1.04vw,16px)!important;
 line-height:1.55!important;max-width:570px!important;margin:0!important;
}
body.mbfe-auth-page .mb-auth-story::after{
 content:"";display:block;margin-top:clamp(16px,2.7vh,28px);width:70px;height:2px;
 background:var(--mb-auth-gold);opacity:.95;
}
body.mbfe-auth-page .mb-auth-featured{
 position:absolute!important;z-index:3!important;
 left:7.7%!important;right:6.2%!important;bottom:clamp(38px,5.3vh,62px)!important;
 width:auto!important;max-width:none!important;margin:0!important;padding:0!important;
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 gap:clamp(45px,5.5vh,59px)!important;
}
body.mbfe-auth-page .mb-auth-featured-books{
 position:relative!important;z-index:2!important;
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 align-items:end!important;gap:clamp(12px,1.4vw,21px)!important;
 width:min(calc(100% - clamp(0px,calc(10vw - 100px),60px)),690px)!important;max-width:690px!important;height:clamp(218px,30vh,288px)!important;
 min-height:0!important;padding:0 6px 7px!important;margin:0 0 0 clamp(0px,calc(10vw - 100px),60px)!important;overflow:visible!important;
 perspective:1000px!important;
}
/* One grounded stage across the entire book trio, rather than three floating shadows. */
body.mbfe-auth-page .mb-auth-featured-books::after{
 content:"";position:absolute;left:3%;right:1%;bottom:-10px;height:34px;
 z-index:0;pointer-events:none;
 background:radial-gradient(ellipse at center,rgba(2,9,23,.56) 0%,rgba(5,14,27,.23) 48%,transparent 77%);
 filter:blur(9px);
}
body.mbfe-auth-page .mb-auth-featured-book,
body.mbfe-auth-page .mb-auth-featured-book:nth-child(2){
 display:flex!important;justify-content:center!important;align-items:flex-end!important;
 position:relative!important;width:100%!important;height:100%!important;max-height:none!important;
 background:transparent!important;border:0!important;padding:0!important;margin:0!important;
 box-shadow:none!important;overflow:visible!important;border-radius:0!important;text-decoration:none!important;
 perspective:1000px!important;transform:none!important;
}
body.mbfe-auth-page .mb-auth-featured-book::before{
 content:"";position:absolute;bottom:-4px;left:11%;right:7%;height:24px;border-radius:50%;
 background:rgba(0,6,19,.52);filter:blur(13px);pointer-events:none;
}
body.mbfe-auth-page .mb-auth-3d-book{
 display:block!important;position:relative!important;height:100%!important;
 width:min(100%,191px)!important;max-height:274px!important;
 aspect-ratio:.665;transform-style:preserve-3d!important;isolation:isolate;
 transform:rotateY(-12deg) rotateZ(-1deg)!important;
 filter:drop-shadow(9px 13px 10px rgba(0,8,22,.49))!important;
 transition:transform .22s ease,filter .22s ease!important;
}
body.mbfe-auth-page .mb-auth-featured-book:nth-child(2) .mb-auth-3d-book{
 width:min(100%,200px)!important;max-height:287px!important;
 transform:rotateY(-3deg) rotateZ(0deg) translateY(-3px)!important;
}
body.mbfe-auth-page .mb-auth-featured-book:nth-child(3) .mb-auth-3d-book{
 transform:rotateY(9deg) rotateZ(1deg)!important;
}
body.mbfe-auth-page .mb-auth-3d-book::before{
 content:"";position:absolute;z-index:0;top:2px;left:-10px;bottom:0;width:13px;
 transform:skewY(-12deg) rotateY(-18deg);transform-origin:right center;
 background:linear-gradient(90deg,#233246,#687688 53%,#d2d7d7 76%,#233c56);
 border-radius:2px 0 0 2px;box-shadow:-2px 2px 5px rgba(0,0,0,.33);
}
body.mbfe-auth-page .mb-auth-3d-book::after{
 content:"";position:absolute;z-index:0;right:-5px;top:3px;bottom:1px;width:6px;
 transform:skewY(10deg);border-radius:0 2px 2px 0;
 background:linear-gradient(90deg,#faf8ed,#c7cdd1,#6e8390);
}
body.mbfe-auth-page .mb-auth-3d-face{
 display:block!important;position:absolute!important;inset:0!important;z-index:2!important;
 overflow:hidden!important;background:#fff!important;border-radius:2px 3px 3px 2px!important;
 box-shadow:inset 4px 0 5px rgba(11,28,44,.10),inset -2px 0 2px rgba(4,15,30,.17)!important;
}
body.mbfe-auth-page .mb-auth-featured-cover{
 position:absolute!important;top:0!important;left:-44%!important;
 width:188%!important;height:100%!important;max-width:none!important;max-height:none!important;
 object-fit:fill!important;object-position:center!important;display:block!important;
 border:0!important;padding:0!important;margin:0!important;border-radius:0!important;
 background:transparent!important;filter:none!important;
}
body.mbfe-auth-page .mb-auth-featured-book:hover .mb-auth-3d-book,
body.mbfe-auth-page .mb-auth-featured-book:focus-visible .mb-auth-3d-book{
 transform:rotateY(-5deg) translateY(-6px)!important;
 filter:drop-shadow(11px 25px 14px rgba(0,8,22,.59))!important;
}
body.mbfe-auth-page .mb-auth-featured-book:focus-visible{
 outline:3px solid #f4c377!important;outline-offset:5px!important;
}
body.mbfe-auth-page .mb-auth-creator-link{
 position:relative!important;z-index:8!important;flex-shrink:0!important;align-self:flex-start!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:43px!important;padding:9px 19px!important;
 border:1.5px solid #eab86a!important;border-radius:99px!important;
 background:rgba(5,26,57,.94)!important;color:#fff!important;
 font-size:clamp(12px,.92vw,14px)!important;font-weight:690!important;
 text-decoration:none!important;box-shadow:0 5px 18px rgba(0,0,0,.17)!important;
}
body.mbfe-auth-page .mb-auth-creator-link::after{
 content:"›";font-size:25px;line-height:10px;color:#ebbf77;margin-left:20px;
}
body.mbfe-auth-page .mb-auth-creator-link:hover{background:#173a67!important}
body.mbfe-auth-page .mb-auth-story-foot{display:none!important}
/* Right panel, designed around the approved 58/42 art-to-form balance. */
body.login.mbfe-auth-page #login{
 display:flex!important;flex-direction:column!important;justify-content:center!important;
 position:relative!important;float:none!important;inset:auto!important;
 box-sizing:border-box!important;width:42.5%!important;max-width:none!important;
 min-width:0!important;min-height:100vh!important;min-height:100dvh!important;height:auto!important;
 margin:0 0 0 57.5%!important;
 padding:clamp(25px,4.5vh,58px) clamp(30px,4.3vw,85px)!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;
}
body.mbfe-auth-page.login-action-register #login{justify-content:flex-start!important;padding-top:clamp(22px,4.5vh,54px)!important}
body.mbfe-auth-page #login>.wp-login-logo,body.mbfe-auth-page #login>h1.wp-login-logo{display:none!important}
body.mbfe-auth-page #login:has(.mb-auth-overline)::before{display:none!important;content:none!important}
body.mbfe-auth-page #login:not(:has(.mb-auth-overline))::before{content:"";display:block;height:160px;min-height:160px}
body.mbfe-auth-page #login > :is(.mb-auth-overline,.mb-auth-tabs,.mb-auth-form-title,.mb-auth-form-subtitle,form,.mb-auth-bottom,#nav,#backtoblog,.privacy-policy-page-link,.message,.success,#login_error){
 max-width:495px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;
}
body.mbfe-auth-page #login .mb-auth-overline{
 color:#183a85!important;text-align:center!important;font-size:clamp(10px,.85vw,13px)!important;
 line-height:1.4!important;letter-spacing:.18em!important;font-weight:820!important;
 margin-top:0!important;margin-bottom:clamp(11px,1.8vh,20px)!important;
}
body.mbfe-auth-page #login .mb-auth-overline::before,body.mbfe-auth-page #login .mb-auth-overline::after{
 content:"";display:inline-block;width:34px;height:1px;background:#d9a758;
 vertical-align:middle;margin:0 13px;
}
body.mbfe-auth-page #login .mb-auth-tabs{
 display:flex!important;gap:4px!important;background:#f1f4f9!important;
 border:1px solid #dce4ee!important;border-radius:13px!important;
 padding:5px!important;margin-bottom:clamp(13px,2vh,20px)!important;
 box-shadow:none!important;
}
body.mbfe-auth-page #login .mb-auth-tabs a{
 display:flex!important;flex:1!important;align-items:center!important;justify-content:center!important;
 min-height:43px!important;padding:8px!important;
 text-align:center!important;color:#485c78!important;text-decoration:none!important;
 font-size:clamp(12px,.92vw,14px)!important;font-weight:600!important;line-height:1.3!important;
 border-radius:10px!important;
}
body.mbfe-auth-page #login .mb-auth-tabs a[aria-current=page]{
 background:#08254e!important;color:#fff!important;box-shadow:0 5px 12px rgba(3,22,50,.16)!important;
}
body.mbfe-auth-page #login .mb-auth-form-title{
 font-family:Georgia,"Times New Roman",serif!important;color:#092650!important;
 font-size:clamp(29px,2.35vw,38px)!important;font-weight:400!important;
 letter-spacing:-.035em!important;line-height:1.12!important;
 margin-top:0!important;margin-bottom:7px!important;text-align:left!important;
}
body.mbfe-auth-page #login .mb-auth-form-subtitle{
 font-size:clamp(13px,1.02vw,17px)!important;line-height:1.45!important;
 color:#5c6e88!important;margin-top:0!important;
 margin-bottom:clamp(12px,1.7vh,18px)!important;
}
body.mbfe-auth-page #login :is(form,#loginform,#registerform,#lostpasswordform,#resetpassform){
 position:relative!important;width:100%!important;max-width:540px!important;
 margin-top:0!important;margin-bottom:0!important;padding:0!important;
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
body.mbfe-auth-page #login .custom-message{display:none!important}
body.mbfe-auth-page #login form p{margin:0 0 11px!important;padding:0!important;max-width:none!important}
body.mbfe-auth-page #login form label{
 display:inline-block!important;margin:0 0 5px!important;font-size:clamp(12px,.86vw,13px)!important;
 font-weight:630!important;line-height:1.36!important;color:#0c2953!important;
}
body.mbfe-auth-page #login form :is(input.input,input[type=text],input[type=email],input[type=password]){
 display:block!important;width:100%!important;max-width:none!important;height:46px!important;min-height:46px!important;
 border:1px solid #b5cae7!important;border-radius:10px!important;
 background:#eff5ff!important;color:#142e53!important;
 padding:12px 15px!important;font-size:clamp(14px,1.01vw,16px)!important;line-height:1.35!important;
 box-shadow:none!important;letter-spacing:normal!important;
}
body.mbfe-auth-page #login form input:focus-visible{
 border-color:#2d56a8!important;outline:2px solid rgba(45,83,169,.27)!important;outline-offset:2px!important;
}
body.mbfe-auth-page #login .wp-pwd,body.mbfe-auth-page #login .user-pass-fields,
body.mbfe-auth-page #login .loginpress-reg-pass-wrap-1,body.mbfe-auth-page #login .loginpress-reg-pass-wrap-2{
 position:relative!important;width:100%!important;
}
body.mbfe-auth-page #login input[type=checkbox]{accent-color:#123c80!important}
body.mbfe-auth-page #login form .button-primary,body.mbfe-auth-page #login form input[type=submit]{
 display:block!important;width:100%!important;height:48px!important;min-height:48px!important;
 padding:13px 18px!important;margin:0!important;border-radius:10px!important;
 background:linear-gradient(110deg,#092c60,#032953)!important;
 border:1px solid #082d61!important;color:#fff!important;
 box-shadow:none!important;font-size:clamp(13px,.95vw,15px)!important;font-weight:690!important;cursor:pointer;
}
body.mbfe-auth-page #login form .button-primary:hover,body.mbfe-auth-page #login form input[type=submit]:hover{
 background:#173c85!important
}
body.mbfe-auth-page #login form p.submit{display:block!important;float:none!important;width:100%!important;margin:16px 0 0!important;padding:0!important}
body.mbfe-auth-page #login .mb-auth-recovery-link{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;
 margin:3px 0 13px!important;font-size:13px!important;
}
body.mbfe-auth-page #login .mb-auth-recovery-link a{
 color:#183b8d!important;font-size:13px!important;font-weight:720!important;text-decoration:none!important;
}
body.mbfe-auth-page #login .mb-auth-native-nav{display:none!important}
body.mbfe-auth-page #login .mb-auth-bottom{
 display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;
 flex-wrap:wrap!important;border-top:1px solid #dce2eb!important;
 padding:clamp(16px,2.2vh,25px) 0 0!important;margin:clamp(12px,1.9vh,19px) 0 0!important;
 font-size:clamp(12px,.96vw,15px)!important;color:#63718a!important;
}
body.mbfe-auth-page #login .mb-auth-bottom a{
 color:#143a85!important;text-decoration:none!important;font-weight:780!important;
}
body.mbfe-auth-page #login #backtoblog,body.mbfe-auth-page #login .privacy-policy-page-link{
 text-align:center!important;margin:15px 0 0!important;padding:0!important;font-size:13px!important;
}
body.mbfe-auth-page #login :is(#backtoblog a,.privacy-policy-link){
 color:#566983!important;font-size:13px!important;text-decoration:none!important;font-weight:650!important;
}
body.mbfe-auth-page #login a:hover{text-decoration:underline!important}
body.mbfe-auth-page .footer-wrapper{display:none!important}
body.mbfe-auth-page #login :is(#login_error,.message,.success){
 display:block!important;margin:0 0 18px!important;padding:12px!important;
 border-radius:9px!important;border:1px solid #cfdef1!important;border-left:3px solid #2658ad!important;
 background:#f3f7ff!important;color:#173a67!important;box-shadow:none!important;
 font-size:12px!important;line-height:1.5!important;
}
body.mbfe-auth-page #login :is(#login_error,.message,.success).mb-auth-redundant-message{display:none!important}
body.mbfe-auth-page #login :is(.hint-custom-reg,#reg_passmail){
 color:#50627c!important;font-size:12px!important;line-height:1.45!important;
 margin:8px 0!important;padding:0!important;
}
body.mbfe-auth-page #login .loginpress_recaptcha_wrapper{width:auto!important;max-width:100%!important;margin:15px auto!important;overflow:visible!important}
body.mbfe-auth-page #login .g-recaptcha{max-width:100%!important}
body.mbfe-auth-page #login :is(a,button):focus-visible{outline:3px solid rgba(20,69,151,.27)!important;outline-offset:3px!important}
/* Registration: equal-column design, compressed only as much as necessary to retain the real password policy. */
body.mbfe-auth-page.login-action-register #login .mb-auth-overline{margin-bottom:11px!important}
body.mbfe-auth-page.login-action-register #login .mb-auth-tabs{margin-bottom:11px!important}
body.mbfe-auth-page.login-action-register #login .mb-auth-form-title{font-size:clamp(28px,2.2vw,35px)!important;margin-bottom:5px!important}
body.mbfe-auth-page.login-action-register #login .mb-auth-form-subtitle{margin-bottom:11px!important}
body.mbfe-auth-page.login-action-register #login form p{margin-bottom:8px!important}
body.mbfe-auth-page.login-action-register #login form label{margin-bottom:5px!important}
body.mbfe-auth-page.login-action-register #login form :is(input.input,input[type=text],input[type=email],input[type=password]){height:46px!important;min-height:46px!important}
body.mbfe-auth-page.login-action-register #login form p.submit{margin-top:10px!important}
body.mbfe-auth-page.login-action-register #login .mb-auth-bottom{margin-top:16px!important;padding-top:14px!important}
body.mbfe-auth-page.login-action-register #login :is(.hint-custom-reg,#reg_passmail){font-size:11px!important;line-height:1.42!important;margin:6px 0!important}
/* Short laptops: keep the same layout, but never crop the real fields or their CAPTCHA. */
@media(min-width:1031px) and (max-height:780px){
 body.mbfe-auth-page .mb-auth-story{top:15%!important}
 body.mbfe-auth-page .mb-auth-story-headline{font-size:clamp(35px,3.4vw,54px)!important}
 body.mbfe-auth-page .mb-auth-featured{bottom:4%!important;gap:30px!important}
 body.mbfe-auth-page .mb-auth-featured-books{height:clamp(164px,29vh,220px)!important}
 body.mbfe-auth-page .mb-auth-featured-book{height:100%!important}
 body.mbfe-auth-page .mb-auth-creator-link{min-height:40px!important;padding:9px 17px!important}
 body.mbfe-auth-page #login .mb-auth-tabs{margin-bottom:11px!important}
 body.mbfe-auth-page #login .mb-auth-overline{margin-bottom:11px!important}
 body.mbfe-auth-page #login .mb-auth-form-title{font-size:clamp(29px,2.3vw,37px)!important}
 body.mbfe-auth-page #login form :is(input.input,input[type=text],input[type=email],input[type=password]){height:47px!important;min-height:47px!important}
 body.mbfe-auth-page #login form .button-primary{height:48px!important;min-height:48px!important}
}
/* Tablet: composed picture masthead, followed by a clear, accessible login card. */
@media(max-width:1030px){
 body.mbfe-auth-page .mb-auth-scene{
   position:relative!important;inset:auto!important;width:100%!important;height:280px!important;min-height:280px!important;
   overflow:hidden!important;
 }
 body.mbfe-auth-page .mb-auth-scene-image{object-position:center 40%!important}
 body.mbfe-auth-page .mb-auth-brandline{top:19px!important;left:5%!important;right:5%!important}
 body.mbfe-auth-page .mb-auth-story{top:105px!important;left:5%!important;right:5%!important}
 body.mbfe-auth-page .mb-auth-story-headline{font-size:clamp(30px,4.6vw,46px)!important;margin-bottom:7px!important}
 body.mbfe-auth-page .mb-auth-story-headline em{display:inline!important}
 body.mbfe-auth-page .mb-auth-story-copy{font-size:13px!important}
 body.mbfe-auth-page .mb-auth-story::after{display:none!important}
 body.mbfe-auth-page .mb-auth-featured{display:none!important}
 body.login.mbfe-auth-page #login{
   width:min(100%,680px)!important;max-width:680px!important;min-height:0!important;height:auto!important;
   margin:-18px auto 0!important;padding:30px clamp(25px,6vw,60px) 32px!important;
   border-radius:18px 18px 0 0!important;justify-content:flex-start!important;
 }
 body.mbfe-auth-page #login .mb-auth-form-title{font-size:clamp(29px,4vw,38px)!important}
}
@media(max-width:600px){
 body.mbfe-auth-page .mb-auth-scene{height:176px!important;min-height:176px!important}
 body.mbfe-auth-page .mb-auth-brandline{top:14px!important}
 body.mbfe-auth-page .mb-auth-brand{font-size:20px!important}
 body.mbfe-auth-page .mb-auth-brand-icon{width:33px!important;height:33px!important;padding:3px!important;border-radius:9px!important}
 body.mbfe-auth-page .mb-auth-brand-note{display:none!important}
 body.mbfe-auth-page .mb-auth-story{top:83px!important}
 body.mbfe-auth-page .mb-auth-story-headline{font-size:clamp(26px,6.2vw,35px)!important}
 body.mbfe-auth-page .mb-auth-story-copy{display:none!important}
 body.login.mbfe-auth-page #login{
   width:100%!important;max-width:540px!important;margin:-8px auto 0!important;padding:25px 19px 29px!important;
   border-radius:12px 12px 0 0!important;
 }
 body.mbfe-auth-page #login .mb-auth-overline{margin-bottom:16px!important;font-size:9px!important}
 body.mbfe-auth-page #login .mb-auth-overline::before,body.mbfe-auth-page #login .mb-auth-overline::after{width:14px;margin:0 6px}
 body.mbfe-auth-page #login .mb-auth-tabs{margin-bottom:18px!important}
 body.mbfe-auth-page #login .mb-auth-tabs a{min-height:42px!important;font-size:13px!important}
 body.mbfe-auth-page #login .mb-auth-form-title{font-size:clamp(27px,6.7vw,34px)!important}
 body.mbfe-auth-page #login .mb-auth-form-subtitle{margin-bottom:21px!important;font-size:13px!important}
 body.mbfe-auth-page #login form :is(input.input,input[type=text],input[type=email],input[type=password]){height:48px!important;min-height:48px!important}
 body.mbfe-auth-page #login form .button-primary{height:50px!important;min-height:50px!important}
}
@media(max-width:365px){
 body.mbfe-auth-page .mb-auth-scene{height:158px!important;min-height:158px!important}
 body.mbfe-auth-page .mb-auth-story{top:80px!important}
 body.mbfe-auth-page .mb-auth-story-headline{font-size:25px!important}
 body.login.mbfe-auth-page #login{padding:22px 14px 26px!important}
}
/* Stable first paint before the small enhancement script attaches the editorial scene. */
@media(min-width:1031px){
 body.mbfe-auth-page:not(:has(.mb-auth-scene))::before{
  content:"";position:fixed;top:0;bottom:0;left:0;width:57.5%;
  z-index:0;
  background:linear-gradient(90deg,rgba(3,20,45,.7),rgba(4,20,45,.32)),
   url('/wp-content/uploads/2026/11/mayobook-auth-lounge-approved-v4.webp')
   center 49% / cover no-repeat,#071f43;
 }
}
@media(max-width:1030px){
 body.mbfe-auth-page:not(:has(.mb-auth-scene))::before{
  content:"";display:block;width:100%;height:280px;min-height:280px;
  background:linear-gradient(90deg,rgba(3,20,45,.7),rgba(4,20,45,.3)),
   url('/wp-content/uploads/2026/11/mayobook-auth-lounge-approved-v4.webp')
   center / cover no-repeat,#071f43;
 }
}
@media(max-width:600px){body.mbfe-auth-page:not(:has(.mb-auth-scene))::before{height:176px;min-height:176px}}
@media(max-width:365px){body.mbfe-auth-page:not(:has(.mb-auth-scene))::before{height:158px;min-height:158px}}

@media(prefers-reduced-motion:reduce){
 body.mbfe-auth-page *,body.mbfe-auth-page *::before,body.mbfe-auth-page *::after{
  animation:none!important;transition:none!important
 }
}

/* Mobile authentication: keep fields at iPhone-safe 16px and avoid focus zoom. */
@media(max-width:1030px){
 body.mbfe-auth-page #login :is(input.input,input[type=text],input[type=email],
 input[type=password],input[type=search],input[type=tel],select,textarea){
  font-size:16px!important;line-height:1.3!important
 }
 body.mbfe-auth-page #login form :is(input.input,input[type=text],input[type=email],
 input[type=password],select,textarea):focus,
 body.mbfe-auth-page #login form :is(input.input,input[type=text],input[type=email],
 input[type=password],select,textarea):focus-visible{
  outline:0!important;border-color:#4967b6!important;
  box-shadow:0 0 0 3px rgba(55,89,171,.16)!important
 }
}

/* Account acknowledgement: keep the confirmation as intentional as the form. */
body.mbfe-auth-page[data-mb-auth-screen="confirmation"] #login{
 justify-content:center!important;
}
body.mbfe-auth-page[data-mb-auth-screen="confirmation"] #login .mb-auth-form-title{
 margin-top:13px!important;font-size:clamp(32px,2.5vw,42px)!important;
}
body.mbfe-auth-page[data-mb-auth-screen="confirmation"] #login .mb-auth-form-subtitle{
 margin-bottom:18px!important;
}
body.mbfe-auth-page[data-mb-auth-screen="confirmation"] #login .mb-auth-ack-anchor{display:none!important}
body.mbfe-auth-page[data-mb-auth-screen="confirmation"] #login .message{
 border-radius:12px!important;padding:18px 20px!important;
 background:#f1f6ff!important;border-color:#cad9f0!important;border-left:3px solid #244d99!important;
 line-height:1.6!important;font-size:14px!important;
}
body.mbfe-auth-page[data-mb-auth-screen="confirmation"] #login .mb-auth-bottom{
 justify-content:flex-start!important;margin-top:18px!important;
}
body.mbfe-auth-page #login .mbfe-admin-totp-field{
 margin:10px 0 12px!important;
}
body.mbfe-auth-page #login .mbfe-admin-totp-field label{
 font-size:12px!important;
}