/* MQ participant responsive V99: only the guest authentication screen.
   Keep base64 wallpaper V92 and the existing login form untouched. */
@media screen {
 html:has(body .mq66-auth-layout),
 body:has(.mq66-auth-layout){min-height:100% !important;height:auto !important;overflow-x:hidden !important;overflow-y:auto !important}
 body:has(.mq66-auth-layout){display:block !important}
 body:has(.mq66-auth-layout) .mq66-shell{
   width:min(1440px,calc(100% - 40px)) !important;
   height:auto !important;max-height:none !important;min-height:100dvh !important;
   overflow:visible !important;display:flex !important;flex-direction:column !important;
 }
 body:has(.mq66-auth-layout) .mq66-top{flex-shrink:0 !important;margin-bottom:0 !important}
 body:has(.mq66-auth-layout) .mq66-auth-layout{
   display:grid !important;
   grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr) !important;
   grid-template-rows:auto !important;
   column-gap:clamp(24px,4vw,72px) !important;
   row-gap:0 !important;
   align-items:center !important;
   align-content:center !important;
   flex:1 0 auto !important;
   min-height:0 !important;height:auto !important;
   overflow:visible !important;
   padding:clamp(24px,5vh,70px) 0 !important;
   margin:0 !important;
 }
 body:has(.mq66-auth-layout) .mq66-hero{
   grid-column:1 !important;grid-row:1 !important;
   align-self:center !important;justify-self:stretch !important;
   display:flex !important;flex-direction:column !important;
   gap:8px !important;margin:0 !important;
   padding:clamp(12px,2vw,28px) !important;
   width:100% !important;max-width:100% !important;
   min-height:0 !important;height:auto !important;
   text-align:right !important;
   background:rgba(3,11,19,.28) !important;
 }
 body:has(.mq66-auth-layout) .mq66-hero h1{margin:0 !important;font-size:clamp(27px,3.4vw,52px) !important;line-height:1.32 !important}
 body:has(.mq66-auth-layout) .mq66-hero p{margin:0 !important;font-size:clamp(12px,1vw,16px) !important;line-height:1.9 !important}
 body:has(.mq66-auth-layout) .mq66-highlights{margin-top:8px !important}
 body:has(.mq66-auth-layout) .mq66-art{display:none !important}
 body:has(.mq66-auth-layout) .mq66-auth-card{
   grid-column:2 !important;grid-row:1 !important;
   justify-self:center !important;align-self:center !important;
   width:100% !important;max-width:550px !important;
   max-height:none !important;height:auto !important;
   overflow:visible !important;margin:0 !important;
 }
 body:has(.mq66-auth-layout) .mq66-card-content{overflow:visible !important;min-height:0 !important}
 body:has(.mq66-auth-layout) .mq66-footer{margin-top:auto !important}
}
@media (max-width:1024px){
 body:has(.mq66-auth-layout) .mq66-shell{width:calc(100% - 28px) !important}
 body:has(.mq66-auth-layout) .mq66-auth-layout{column-gap:24px !important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) !important}
 body:has(.mq66-auth-layout) .mq66-hero{padding:12px !important}
}
@media (max-width:780px){
 body:has(.mq66-auth-layout) .mq66-shell{width:calc(100% - 20px) !important;min-height:100dvh !important}
 body:has(.mq66-auth-layout) .mq66-auth-layout{
   display:flex !important;flex-direction:column !important;
   gap:clamp(12px,2.5vh,24px) !important;
   align-items:stretch !important;justify-content:flex-start !important;
   padding:18px 0 24px !important;
   overflow:visible !important;flex:1 0 auto !important;
 }
 body:has(.mq66-auth-layout) .mq66-hero{
   order:0 !important;display:flex !important;
   text-align:center !important;align-items:center !important;
   width:100% !important;padding:10px 8px !important;
   gap:5px !important;background:rgba(3,11,19,.20) !important;
 }
 body:has(.mq66-auth-layout) .mq66-eyebrow{font-size:clamp(7px,1.6vw,10px) !important;margin:0 !important}
 body:has(.mq66-auth-layout) .mq66-hero h1{font-size:clamp(22px,6vw,34px) !important;line-height:1.35 !important}
 body:has(.mq66-auth-layout) .mq66-hero p{
   display:block !important;font-size:clamp(11px,2.7vw,14px) !important;
   line-height:1.75 !important;max-width:580px !important;
 }
 body:has(.mq66-auth-layout) .mq66-highlights{display:none !important}
 body:has(.mq66-auth-layout) .mq66-auth-card{
   order:1 !important;max-width:600px !important;margin:0 auto !important;
   width:100% !important;max-height:none !important;overflow:visible !important;
 }
 body:has(.mq66-auth-layout) .mq66-card-content{padding:clamp(12px,3vw,20px) !important}
 body:has(.mq66-auth-layout) .mq66-control{min-height:44px !important;height:auto !important}
 body:has(.mq66-auth-layout) .mq66-primary{min-height:48px !important}
 body:has(.mq66-auth-layout) .mq66-footer{position:static !important;margin-top:auto !important}
}
@media (max-width:420px){
 body:has(.mq66-auth-layout) .mq66-shell{width:calc(100% - 12px) !important}
 body:has(.mq66-auth-layout) .mq66-auth-layout{padding-top:12px !important;gap:10px !important}
 body:has(.mq66-auth-layout) .mq66-hero h1{font-size:clamp(20px,6.2vw,28px) !important}
 body:has(.mq66-auth-layout) .mq66-hero p{font-size:11px !important}
 body:has(.mq66-auth-layout) .mq66-window-top{font-size:7px !important}
}
@media(max-height:560px) and (min-width:781px){
 body:has(.mq66-auth-layout) .mq66-auth-layout{padding:12px 0 !important}
}
