/* Independent compact login layout. Account and checkout styles are untouched. */
body.hva-auth-standalone{margin:0!important;min-height:100vh;min-height:100dvh;background:#f5f8f6!important;color:#172b26; font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;font-size:15px!important;line-height:1.5;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.hva-auth-standalone .hva-auth-screen{display:flex!important;justify-content:center;align-items:flex-start;box-sizing:border-box;width:100%!important;max-width:none!important;min-height:0!important;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))!important;margin:0!important;background:transparent!important}
body.hva-auth-standalone .hva-auth-shell{box-sizing:border-box;width:100%;max-width:420px;min-width:0;margin:0 auto}
body.hva-auth-standalone .hva-auth-back{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;padding:7px 2px;color:#36594c!important;font-size:14px!important;font-weight:500;text-decoration:none}
body.hva-auth-standalone .hv-contact-float{display:none!important}
#hva-login-19{--hva-bg:#fff;--hva-text:#172b26;--hva-border:#d5e1db;--hva-main:#17634f;--hva-accent:#a98443;--hva-soft:#eaf0ed;--hva-muted:#50675e;box-sizing:border-box;width:100%;max-width:420px!important;min-width:0;margin:0 auto!important;padding:20px!important;border:1px solid var(--hva-border)!important;border-radius:12px!important;background:var(--hva-bg)!important;color:var(--hva-text)!important;font:400 14px/1.45 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;box-shadow:0 2px 10px #173d3208}
#hva-login-19 *,#hva-login-19 *::before,#hva-login-19 *::after{box-sizing:border-box}
#hva-login-19 [hidden]{display:none!important}
#hva-login-19 h2{font:700 19px/1.3 system-ui,sans-serif!important;text-align:center;letter-spacing:.12em!important;color:var(--hva-accent)!important;margin:0 0 17px!important}
#hva-login-19 .hva-tabs{display:flex;gap:3px;margin:0 0 18px!important;padding:3px;border-radius:8px;background:var(--hva-soft)!important}
#hva-login-19 .hva-tabs button{flex:1;min-width:0;min-height:40px;font:600 14px/1.3 system-ui,sans-serif!important;padding:7px 5px!important;color:var(--hva-muted)!important;background:transparent!important;border:1px solid transparent!important;border-radius:6px!important;box-shadow:none!important}
#hva-login-19 .hva-tabs button[aria-pressed=true]{color:var(--hva-text)!important;background:var(--hva-bg)!important;border-color:var(--hva-border)!important}
#hva-login-19 form{display:grid;gap:13px;margin:0!important}
#hva-login-19 label{display:block;color:var(--hva-text)!important;font:500 14px/1.4 system-ui,sans-serif!important;margin:0!important}
#hva-login-19 input:not([type=checkbox]){display:block;box-sizing:border-box;width:100%!important;min-width:0;min-height:44px;height:44px;margin:6px 0 0!important;padding:9px 11px!important;border:1px solid var(--hva-border)!important;border-radius:7px!important;background:var(--hva-bg)!important;color:var(--hva-text)!important;font:400 16px/1.35 system-ui,-apple-system,sans-serif!important;box-shadow:none!important;-webkit-text-size-adjust:100%}
#hva-login-19 input::placeholder{color:var(--hva-muted)!important;font-size:16px!important;opacity:1}
#hva-login-19 .hva-password{position:relative!important;min-width:0}
#hva-login-19 .hva-password input{padding-right:48px!important}
#hva-login-19 .hva-password-toggle{position:absolute!important;top:auto!important;left:auto!important;right:2px!important;bottom:1px!important;display:flex;align-items:center;justify-content:center;width:42px;min-width:42px!important;height:42px;min-height:42px!important;padding:0!important;margin:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--hva-muted)!important;box-shadow:none!important}
#hva-login-19 .hva-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#hva-login-19 .hva-check{display:flex!important;align-items:center;gap:8px;font-size:13px!important;font-weight:400!important}
#hva-login-19 input[type=checkbox]{width:16px;height:16px;margin:0!important;accent-color:#17634f;flex:none}
#hva-login-19 .hva-main{display:block;width:100%;min-height:44px;padding:10px!important;border:0!important;border-radius:7px!important;background:var(--hva-main)!important;color:#fff!important;font:600 15px/1.4 system-ui,sans-serif!important;box-shadow:none!important}
#hva-login-19 button:disabled{opacity:.55;cursor:wait}
#hva-login-19 [data-form=login]>a{color:var(--hva-muted)!important;text-align:center;font-size:13px!important;text-decoration:none;margin:0!important}
#hva-login-19 .hva-note,#hva-login-19 .hva-init-status,#hva-login-19 .hva-or{color:var(--hva-muted)!important;font-size:13px!important;line-height:1.5;opacity:1}
#hva-login-19 .hva-init-status{min-height:0;margin:8px 0 0;text-align:center}
#hva-login-19 .hva-init-status:empty{display:none!important}
#hva-login-19 [data-ts]{max-width:100%;min-height:0;overflow:visible}
#hva-login-19 .hva-or{display:flex;align-items:center;gap:12px;margin:15px 0 10px}
#hva-login-19 .hva-or::before,#hva-login-19 .hva-or::after{content:'';height:1px;flex:1;background:var(--hva-border)}
#hva-login-19 .nsl-container .nsl-button-google{min-height:44px!important;border:1px solid var(--hva-border)!important;border-radius:7px!important}
#hva-login-19 .hva-message:empty{display:none!important}
#hva-login-19 :is(input,button,a):focus-visible{outline:2px solid var(--hva-accent)!important;outline-offset:2px}
@media(prefers-color-scheme:dark){body.hva-auth-standalone{background:#13251f!important;color:#eaf3ee}body.hva-auth-standalone .hva-auth-back{color:#b9d3c7!important}#hva-login-19{--hva-bg:#1c3028;--hva-text:#eff6f2;--hva-border:#466055;--hva-main:#17634f;--hva-accent:#d7b773;--hva-soft:#14271f;--hva-muted:#b5cec1}}
:is(html[data-hv-theme=dark],html[data-theme=dark],html.dark) body.hva-auth-standalone,body.hva-auth-standalone.dark{background:#13251f!important;color:#eaf3ee}
:is(html[data-hv-theme=dark],html[data-theme=dark],.dark) #hva-login-19{--hva-bg:#1c3028;--hva-text:#eff6f2;--hva-border:#466055;--hva-main:#17634f;--hva-accent:#d7b773;--hva-soft:#14271f;--hva-muted:#b5cec1}
:is(html[data-hv-theme=dark],html[data-theme=dark],.dark) .hva-auth-back{color:#b9d3c7!important}
:is(html[data-hv-theme=light],html[data-theme=light]) body.hva-auth-standalone{background:#f5f8f6!important;color:#172b26}
:is(html[data-hv-theme=light],html[data-theme=light]) #hva-login-19{--hva-bg:#fff;--hva-text:#172b26;--hva-border:#d5e1db;--hva-main:#17634f;--hva-accent:#a98443;--hva-soft:#eaf0ed;--hva-muted:#50675e}
:is(html[data-hv-theme=light],html[data-theme=light]) .hva-auth-back{color:#36594c!important}
@media(max-width:360px){#hva-login-19{padding:14px!important}}

/* Beta 20: larger standalone desktop form and immediate guest dialog. Mobile size unchanged. */
@media(min-width:850px){
 body.hva-auth-standalone .hva-auth-screen{padding:clamp(28px,6vh,72px) 24px 36px!important}
 body.hva-auth-standalone .hva-auth-shell, #hva-quick-dialog .hva-quick-shell{max-width:560px!important}
 body.hva-auth-standalone #hva-login-19,#hva-quick-dialog #hva-login-19{max-width:560px!important;padding:32px 36px!important;font-size:16px!important}
 body.hva-auth-standalone #hva-login-19 h2,#hva-quick-dialog #hva-login-19 h2{font-size:24px!important;margin-bottom:22px!important}
 body.hva-auth-standalone #hva-login-19 form,#hva-quick-dialog #hva-login-19 form{gap:16px}
 body.hva-auth-standalone #hva-login-19 label,#hva-quick-dialog #hva-login-19 label{font-size:16px!important}
 body.hva-auth-standalone #hva-login-19 .hva-tabs button,#hva-quick-dialog #hva-login-19 .hva-tabs button{min-height:46px;font-size:16px!important}
 body.hva-auth-standalone #hva-login-19 input:not([type=checkbox]),#hva-quick-dialog #hva-login-19 input:not([type=checkbox]){height:50px;min-height:50px}
 body.hva-auth-standalone #hva-login-19 .hva-main,#hva-quick-dialog #hva-login-19 .hva-main{min-height:50px;font-size:16px!important}
 body.hva-auth-standalone #hva-login-19 .hva-password-toggle,#hva-quick-dialog #hva-login-19 .hva-password-toggle{height:48px;min-height:48px!important}
}
#hva-quick-dialog:not([open]){display:none!important}
#hva-quick-dialog[open]{position:fixed!important;inset:0!important;display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--hva-quick-bg,#f5f8f6)!important;color:var(--hva-quick-text,#36594c)!important;overflow:auto!important;overscroll-behavior:contain;z-index:2147483000;box-shadow:none!important;font:400 15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
#hva-quick-dialog::backdrop{background:#13251f}
#hva-quick-dialog .hva-quick-shell{box-sizing:border-box;width:100%;max-width:452px;margin:0 auto;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
@media(min-width:850px){#hva-quick-dialog .hva-quick-shell{padding:clamp(28px,6vh,72px) 0 36px}}
#hva-quick-dialog .hva-quick-close{display:inline-flex;align-items:center;padding:7px 2px;margin:0 0 12px;min-height:36px;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--hva-quick-text,#36594c)!important;text-transform:none!important;font:600 14px/1.4 system-ui,sans-serif!important;letter-spacing:normal!important}
#hva-quick-dialog .hva-quick-fallback{display:block;margin:16px auto;text-align:center;color:var(--hva-quick-text,#36594c)!important;text-decoration:underline;font-size:13px}
#hva-login-19 .hva-quick-google{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border:1px solid var(--hva-border)!important;border-radius:7px;color:var(--hva-text)!important;background:var(--hva-bg)!important;text-decoration:none!important;font:600 15px/1.4 system-ui,sans-serif;padding:9px}
@media(prefers-color-scheme:dark){#hva-quick-dialog{--hva-quick-bg:#13251f;--hva-quick-text:#b9d3c7}}
:is(html[data-hv-theme=dark],html[data-theme=dark],html.dark,body.dark) #hva-quick-dialog{--hva-quick-bg:#13251f;--hva-quick-text:#b9d3c7}
:is(html[data-hv-theme=light],html[data-theme=light]) #hva-quick-dialog{--hva-quick-bg:#f5f8f6;--hva-quick-text:#36594c}
html.hva-quick-open,html.hva-quick-open body{overflow:hidden!important;overscroll-behavior:none}

/* Beta 21: nonmodal mobile tab surface; actual existing navigation remains available. */
#hva-quick-dialog .hva-quick-shell:focus{outline:none!important;box-shadow:none!important}
#hva-quick-dialog .hva-quick-close{border-radius:8px!important;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#hva-quick-dialog .hva-quick-close:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
#hva-quick-dialog .hva-quick-close:focus-visible{outline:2px solid var(--hva-gold,#b89550)!important;outline-offset:2px}
@media(max-width:849px){
 #hva-quick-dialog.hva-nav-surface[open]{inset:0 0 var(--hva-nav-reserved,calc(62px + env(safe-area-inset-bottom,0px)))!important;height:auto!important;min-height:0!important;z-index:2147482999;overscroll-behavior:contain}
 #hva-quick-dialog.hva-nav-surface .hva-quick-shell{padding-bottom:24px}
 html.hva-quick-open body.hvux-nav-on #hvux-nav{z-index:2147483000!important}
 html.hva-quick-open body.hvux-nav-on #hvux-nav a.hva-nav-selected{color:var(--hvux-accent,#a98443)!important}
 html.hva-quick-open body.hvux-nav-on #hvux-nav a.hva-nav-selected svg{color:inherit!important}
 html.hva-quick-open body .hv-contact-float{visibility:hidden!important}
}
