.hb-auth{--hb-blue:#2b57a2;--hb-mint:#278775;--hb-ink:#182c48;box-sizing:border-box;width:min(840px,calc(100% - 40px));max-width:840px;max-height:calc(100dvh - 40px);padding:0;border:1px solid #fff;border-radius:24px;background:#fff;color:var(--hb-ink);box-shadow:0 30px 100px #10243e33;font-family:Jost,Arial,sans-serif;overflow:auto}
.hb-auth::backdrop{background:#10243e80;backdrop-filter:blur(6px)}
.hb-auth *, .hb-auth *::before,.hb-auth *::after{box-sizing:border-box}
body:has(.hb-auth[open]){overflow:hidden}
.hb-auth [hidden]{display:none!important}
.hb-auth-layout{display:grid;grid-template-columns:44% 56%}
.hb-auth button,.hb-auth input{font:inherit}
.hb-auth h2{font-family:inherit}
.hb-auth button{cursor:pointer;text-transform:none;letter-spacing:normal}
.hb-auth button:focus-visible,.hb-auth input:focus-visible{outline:3px solid #33a58e;outline-offset:4px}
.hb-auth button:disabled{cursor:wait;opacity:.55}
.hb-auth .hb-auth-close{position:absolute;z-index:2;right:18px;top:16px;padding:0;width:34px;height:34px;border:0;border-radius:50%;background:#f1f4f7;color:#56657a;font-size:27px;line-height:1}
.hb-auth-story{position:relative;overflow:hidden;background:linear-gradient(145deg,#eff5fc,#e9f6f2);padding:40px 32px;display:flex;flex-direction:column;justify-content:center}
.hb-auth-logo{width:195px;height:auto;margin-bottom:32px;object-fit:contain;align-self:flex-start}
.hb-auth .hb-auth-story h2{font-size:30px;line-height:1.22;font-weight:500;letter-spacing:-.7px;color:#182c48;margin:0 0 18px}
.hb-auth-story h2 em{font-style:normal;color:var(--hb-mint)}
.hb-auth .hb-auth-story p{font-size:14px;line-height:1.7;color:#587083;margin:0;max-width:290px}
.hb-auth-panel{padding:44px 36px 32px;display:flex;flex-direction:column;justify-content:center}
.hb-auth .hb-auth-panel h2{font-size:32px;font-weight:500;line-height:1.2;letter-spacing:-.7px;margin:0 0 12px;color:var(--hb-ink);overflow-wrap:anywhere}
.hb-auth .hb-auth-description{font-size:14px;color:#718093;line-height:1.65;margin:0 0 20px}
.hb-auth form{margin:0}.hb-auth label,.hb-auth legend{display:block;font-size:12px;color:#344b63;font-weight:500;margin-bottom:9px}
.hb-auth input:not([type=radio]){width:100%;height:54px;border:1px solid #dce3eb;border-radius:9px;background:#fff;color:var(--hb-ink);padding:0 15px;box-shadow:none;font-size:15px}
.hb-auth input::placeholder{color:#95a0ac}
.hb-auth-phone{display:flex;border:1px solid #dce3eb;border-radius:9px;align-items:center;background:#fff}.hb-auth-phone:focus-within{border-color:var(--hb-blue);box-shadow:0 0 0 3px #2b57a20c}
.hb-auth-phone>span{white-space:nowrap;border-right:1px solid #e1e6ec;padding:0 15px;color:#41556e;font-size:13px}.hb-auth .hb-auth-phone input{border:0;min-width:0;background:transparent}.hb-auth .hb-auth-phone input:focus{outline:0}
.hb-auth small{font-size:11px;color:#7c8998;display:block;line-height:1.6;margin-top:7px}
.hb-auth .hb-auth-consent{font-size:10px;line-height:1.6;color:#8792a0;margin:18px 0}
.hb-auth .hb-auth-primary{display:flex;align-items:center;justify-content:center;gap:20px;width:100%;min-height:52px;padding:13px 20px;border:0;border-radius:9px;background:var(--hb-blue);color:#fff;font-weight:500;font-size:14px;box-shadow:0 5px 12px #2b57a21b;transition:background .2s,transform .2s}.hb-auth-primary:hover{background:#214783;transform:translateY(-1px)}.hb-auth-primary span{font-size:20px}
.hb-auth .hb-auth-switch{font-size:12px;text-align:center;color:#7a8796;margin:21px 0 0}.hb-auth-switch button,.hb-auth .hb-auth-text,.hb-auth-resend button{background:none;border:0;color:var(--hb-blue);padding:4px;font-size:12px;font-weight:500;box-shadow:none}.hb-auth .hb-auth-text{display:block;margin:14px auto 0;text-align:center}
.hb-auth .hb-auth-message{border-radius:8px;background:#fff1ef;border:1px solid #f2d1cb;padding:11px 13px;color:#a44130;font-size:12px;line-height:1.5;margin:0 0 16px}
.hb-auth .hb-auth-code{font-size:26px;letter-spacing:12px;text-align:center;height:64px;padding-left:25px}
#hb-code-form .hb-auth-primary,#hb-profile-form .hb-auth-primary{margin-top:24px}.hb-auth-resend{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:18px;font-size:11px;color:#7c8998}
.hb-auth-verified{padding:12px 15px;background:#edf8f3;color:#27826b;font-size:12px;border-radius:8px;margin-bottom:23px}.hb-auth-account-card{border:1px solid #e2e9f0;border-radius:12px;padding:20px;margin-bottom:24px}.hb-auth-account-card small{letter-spacing:1px;font-size:9px;margin:0 0 8px}.hb-auth-account-card strong{font-size:19px;font-weight:500}
@media(max-width:760px){.hb-auth{width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);border-radius:18px}.hb-auth-layout{grid-template-columns:1fr}.hb-auth-story{padding:22px 26px 0;background:#fff}.hb-auth-logo{width:155px;margin:0}.hb-auth-story h2,.hb-auth-story p{display:none}.hb-auth-panel{padding:26px}.hb-auth .hb-auth-panel h2{font-size:28px}.hb-auth .hb-auth-close{right:12px;top:12px}}
@media(prefers-reduced-motion:reduce){.hb-auth .hb-auth-primary{transition:none}}

.hb-account-menu{position:fixed;inset:auto;margin:0;padding:10px;width:350px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #deebe8;border-radius:18px;background:#fff;color:#182c48;box-shadow:0 18px 54px #182c4826;font-family:Jost,Arial,sans-serif}
.hb-account-menu::backdrop{background:transparent}
.hb-account-menu-heading{display:flex;align-items:center;gap:12px;padding:14px 12px;margin-bottom:6px;border-radius:11px;background:linear-gradient(120deg,#edf7f3,#f0f5fc)}
.hb-account-avatar{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#eaf6f2;color:#278775;font-size:18px;font-weight:600}
.hb-account-menu-heading strong{display:block;max-width:250px;overflow-wrap:anywhere;font-size:15px;font-weight:500}.hb-account-menu-heading small{display:block;color:#7c8998;font-size:11px;margin-top:3px}
.hb-account-menu button{display:flex;align-items:center;gap:12px;width:100%;min-height:35px;padding:7px 12px;border:0;border-radius:8px;background:transparent;color:#344b63;font:500 13px Jost,Arial,sans-serif;text-align:left;cursor:pointer;box-shadow:none}
.hb-account-menu button>span:first-child{width:20px;text-align:center;color:#608493;font-size:18px;line-height:1}
.hb-account-menu button svg{display:block;width:19px;height:19px}
.hb-account-menu button:hover:not(:disabled),.hb-account-menu button:focus-visible{background:#edf5fa;color:#2b57a2}.hb-account-menu button:focus-visible{outline:2px solid #33a58e;outline-offset:-2px}
.hb-account-menu button small,.hb-account-chevron{margin-left:auto}.hb-account-menu button small{font-size:9px;font-weight:500;background:#eff5f3;border-radius:4px;padding:3px 6px;color:#7c8998}.hb-account-menu button:disabled{cursor:default;color:#637589;opacity:1}
.hb-account-menu .hb-account-signout{border-top:1px solid #edf0f4;border-radius:0;margin-top:6px;padding-top:14px;color:#b04e44}.hb-account-menu .hb-account-signout>span:first-child{color:inherit}
#hb-menu-message{font-size:12px;color:#a44130;padding:8px 12px;margin:0}#hb-menu-message[hidden]{display:none}
#hb-account-settings p{font-size:12px;color:#718093;margin:10px 0 0;line-height:1.6}

.hb-account-group{font-size:9px;font-weight:600;letter-spacing:1.4px;color:#7c9294;padding:12px 12px 5px;margin-top:5px;border-top:1px solid #edf2f3}
.hb-account-label{flex:1;min-width:0}
.hb-account-menu button{transition:background .16s,color .16s}
.hb-account-menu button:hover:not(:disabled){background:#edf7f3;color:#278775}
.hb-account-menu:popover-open{animation:hb-account-reveal .18s ease-out}
@keyframes hb-account-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.hb-account-menu:popover-open{animation:none}.hb-account-menu button{transition:none}}
