/* Compact auth surface; the existing full-page image and twinkles carry the identity. */
html[data-theme] body.auth-page.wm-access-page{display:block!important;min-height:100dvh!important;margin:0!important;background:#e9e5dd!important;color:#1c2939!important;overflow-y:auto!important;overflow-x:hidden;font-size:16px;line-height:1.5;}
body.wm-access-page::before,body.wm-access-page::after{content:none!important;}
.wm-access-page .wm-access-background{position:fixed;inset:0;z-index:0;background:linear-gradient(rgba(24,32,41,.1),rgba(24,32,41,.3)),url('../backgrounds/auth/login/light/login.webp') center/cover no-repeat;pointer-events:none;}
body.wm-access-page .wm-site-motion-layer{display:block!important;z-index:1;--wm-site-sparkle-color:255,255,255;--wm-site-sparkle-opacity:.65;}
.wm-access-shell{position:relative;z-index:2;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:40px 20px;box-sizing:border-box;}
.wm-access-shell *{box-sizing:border-box;}
.wm-access-card{width:100%;max-width:460px;padding:32px;background:rgba(248,246,241,.97);border:1px solid #d7dce2;border-radius:14px;box-shadow:0 18px 60px rgba(14,25,39,.2);}
.wm-access-logo{display:block;width:240px;max-width:85%;margin:0 auto 26px;}.wm-access-logo img{width:100%;height:auto;display:block;}
.wm-access-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #d7dce2;margin:0 0 26px;}
.wm-access-tabs a{display:flex;align-items:center;justify-content:center;padding:12px 8px;min-height:48px;color:#526175;text-decoration:none;font-weight:600;border-bottom:3px solid transparent;}
.wm-access-tabs a[aria-current]{color:#963c36;border-bottom-color:#a63e38;background:#f4e9e6;}
html body.wm-access-page .wm-access-card h1:not(.sr-only){font-size:26px!important;line-height:1.25!important;letter-spacing:-.02em;margin:0 0 12px;color:#1c2939!important;}
.wm-access-form{display:grid;gap:18px;}.wm-access-form>div{min-width:0;}.wm-access-form label{display:block;font-size:14px;font-weight:600;margin-bottom:7px;color:#344458;}
html body.wm-access-page .wm-access-form :is(input:not([type="hidden"]):not([type="checkbox"]),select,textarea){width:100%!important;min-width:0!important;height:auto!important;min-height:48px!important;background:#fffdfa!important;color:#1c2939!important;-webkit-text-fill-color:#1c2939!important;border:1px solid #b9c2cc!important;border-radius:7px!important;box-shadow:0 2px 6px rgba(31,47,67,.06)!important;padding:11px 13px!important;font:inherit!important;}
.wm-access-form input::placeholder{color:#687586;opacity:1;}
.wm-access-forgot{justify-self:end;font-size:14px;color:#873c37;min-height:32px;}
html[data-theme="light"] body.auth-page.wm-access-page .wm-access-card .wm-access-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 18px;border:1px solid #a63e38!important;border-radius:7px;background:#a63e38!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:16px;font-weight:650;line-height:1.4;text-decoration:none;box-shadow:0 3px 8px rgba(75,30,26,.12);cursor:pointer;}
.wm-access-submit:hover{filter:brightness(.95);}
.wm-access-note{font-size:14px;line-height:1.6;color:#526175;margin:0 0 20px;}.wm-access-form .wm-access-note{margin:0;}.wm-access-note ul,.wm-access-password-help ul{padding-left:20px;}
.wm-access-password-help{font-size:13px;line-height:1.6;color:#526175;margin-top:8px;}.wm-access-password-help summary{cursor:pointer;min-height:32px;}
.wm-access-form .wm-access-terms{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;}
html body.wm-access-page .wm-access-terms input[type="checkbox"]{appearance:auto!important;width:20px!important;height:20px!important;min-height:20px!important;margin:2px 0!important;accent-color:#a63e38;}
.wm-access-terms label{font-size:13px;font-weight:400;margin:0;}.wm-access-terms a{color:#873c37;text-underline-offset:3px;}
.wm-access-back{display:block;text-align:center;margin-top:20px;color:#873c37;min-height:32px;font-size:14px;}
.wm-access-page .errorlist{margin:6px 0 0;padding:0;list-style:none;color:#a12d27;font-size:14px;line-height:1.5;}.wm-access-errors,.wm-access-messages{padding:14px;border:1px solid #c7cfd8;border-radius:7px;background:#eef2f5;margin-bottom:16px;font-size:14px;}.wm-access-errors{border-color:#d1a29a;background:#f8ebe7;}.wm-access-messages p{margin:0;}.wm-access-messages p+p{margin-top:8px;}
.wm-access-footer{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;padding:8px 18px;border-radius:8px;background:rgba(248,246,241,.94);}.wm-access-footer a{display:flex;align-items:center;min-height:32px;font-size:12px;color:#344458;text-decoration:none;}
.wm-access-page :is(a,button,input,summary):focus-visible{outline:3px solid #245ca6!important;outline-offset:3px;}
@media(max-width:560px){.wm-access-shell{padding:24px 14px;}.wm-access-card{padding:24px 20px;}.wm-access-logo{width:210px;}.wm-access-footer{gap:16px;}}
@media(prefers-reduced-motion:reduce){.wm-access-page .wm-site-motion__sparkle{animation:none!important;}}

/* Keep browser autofill in the same light field surface, including focus. */
html[data-theme="light"] body.auth-page.wm-access-page .wm-access-form input:is(:autofill,:-webkit-autofill){
  -webkit-text-fill-color:#1c2939!important;
  caret-color:#1c2939;
  box-shadow:0 0 0 1000px #fffdfa inset,0 2px 6px rgba(31,47,67,.06)!important;
}
