/* Visual parity with the approved M|H, without touching M|H production. */
html,body{margin:0;background:#fffdfd;color:#4b172b}
body>.brand{display:none!important}
#vhMain{min-height:100dvh}
#loading{font-family:Georgia,serif}
#login.login-screen{width:100%;margin:0;min-height:100dvh}
#login .login-card{max-width:none;display:block;min-height:0}
#login .brand-mark{font-family:'MH Home Fraunces',Georgia,serif;font-weight:700}
#login form{display:block}
#login .login-card label{font-size:17px;margin:0 0 7px}
#login .login-card input{font-size:18px;margin:0 0 19px}
#login .login-card button.primary{width:100%;background:#76172c;color:#f4dce5;border-radius:7px;font-size:18px;padding:12px 18px}
#login #vhForgotPassword{display:block;margin:13px 0 0 auto;padding:0;width:auto;border:0;background:transparent;color:#af6780;text-decoration:underline;font-size:15px}
#login #loginMessage{margin-top:12px;min-height:14px;color:#76172c}
#login .mh-photo-empty svg{width:38px;height:38px}
#hub[data-mh-screen=spaces]{position:relative;width:100%;min-height:100dvh;padding:0;margin:0;background:white}
#hub[data-mh-screen=spaces]>.mh-space-sheet{min-height:100dvh;position:relative;border:0}
#hub[data-mh-screen=spaces]>.mh-space-sheet>header{display:flex;align-items:center;justify-content:space-between}
#hub[data-mh-screen=spaces] .mh-space-sheet main{width:100%;margin:0 auto;padding-top:clamp(120px,19vh,205px);max-width:1050px}
#hub[data-mh-screen=spaces] .mh-space-sheet main>h1{font-family:'MH Cooper','Cooper Black',Georgia,serif!important;font-size:28px!important}
#hub[data-mh-screen=spaces] .mh-space-doors{grid-template-columns:repeat(2,250px);gap:48px;justify-content:center;margin:62px auto 0}
#hub[data-mh-screen=spaces] .mh-space-doors button{min-width:0!important;min-height:0!important;width:250px!important;height:175px!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;aspect-ratio:auto!important}
#hub[data-mh-screen=spaces] .mh-space-doors button h2{font-family:Georgia,serif!important;font-weight:400!important;font-size:31px!important}
#hub #vhHubLogout{border:0;background:transparent;color:#946577;font:15px Georgia,serif;cursor:pointer;position:relative;z-index:5}
#hub #vhHubLogout:hover{text-decoration:underline}
#space{position:fixed;inset:0;padding:0!important;height:100dvh;width:100%;z-index:100;background:#fff}
#space iframe{position:absolute;inset:0;width:100%;height:100dvh!important;border:0;display:block;background:white}
#space .space-toolbar{display:none!important}
@media(max-width:650px){
 #login.login-screen{padding:24px 16px;overflow:auto;min-height:100dvh;height:auto}
 .mh-login-layout{width:100%;grid-template-columns:1fr;gap:25px}
 #hub[data-mh-screen=spaces] .mh-space-sheet main{padding-top:80px}
 #hub[data-mh-screen=spaces] .mh-space-doors{grid-template-columns:minmax(0,250px);gap:18px;margin-top:30px}
 #hub[data-mh-screen=spaces] .mh-space-doors button{max-width:100%;margin-inline:auto}
 #hub[data-mh-screen=spaces] .mh-space-sheet main>h1{font-size:23px!important}
}

/* Password-recovery flow uses the same approved composition. */
#reset.login-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:28px;background:#fffdfd}
#reset.login-screen .mh-login-layout{display:flex;align-items:center;justify-content:center;width:min(100%,420px)}
#reset.login-screen .login-card{width:100%;max-width:360px;padding:32px 27px;border:14px solid transparent;border-radius:20px;background:linear-gradient(white,white) padding-box,repeating-conic-gradient(#f4d5e0 0 25%,white 0 50%) 0 0/17px 17px border-box}
#reset.login-screen .brand-mark{font:700 46px 'MH Home Fraunces',Georgia,serif;display:flex;align-items:center;justify-content:center;color:#f4c8d3;margin:0 0 25px}
#reset.login-screen .brand-mark .mh-login-brand-divider{width:2px;height:38px;background:#76172c;margin:0 6px}
#reset.login-screen label{display:block;margin-bottom:7px}
#reset.login-screen input{width:100%;margin-bottom:18px;padding:12px;border:1px solid #e6bfce;border-radius:7px}
#reset.login-screen .primary{width:100%;border:0;background:#76172c;color:#f4dce5;padding:12px;border-radius:7px}
#reset.login-screen #vhResetMessage{min-height:14px;color:#76172c}
