/* HAB ONE — account sheet over existing storefront; no customer-route replacement. */
html.hab-one-open,html.hab-one-open body{overflow:hidden}
.hab-one-overlay[hidden]{display:none!important}
.hab-one-overlay{position:fixed;inset:0;z-index:11000;display:grid;place-items:center;padding:22px;isolation:isolate}
.hab-one-backdrop{position:absolute;inset:0;background:rgba(8,10,14,.55);backdrop-filter:blur(16px) saturate(.7);-webkit-backdrop-filter:blur(16px) saturate(.7)}
.hab-one-dialog{position:relative;display:block;width:min(100%,520px);max-height:min(92dvh,900px);border-radius:26px;background:#151517;color:#fff;box-shadow:0 40px 100px #0007,0 0 0 1px #ffffff30;outline:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;transition:width .2s ease}
.hab-one-dialog.hab-one-account-mode{width:min(100%,1060px)}
.hab-one-close{position:absolute;z-index:3;top:12px;inset-inline-end:12px;display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #ffffff33;border-radius:50%;background:#ffffff16;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.hab-one-close:hover,.hab-one-close:focus-visible{background:#ffffff2d;outline:2px solid #f6a1ad;outline-offset:2px}
.hab-one-intro[hidden],.hab-one-frame-wrap[hidden]{display:none!important}
.hab-one-intro{display:grid;justify-items:center;gap:15px;text-align:center;padding:48px 34px 35px;min-width:0;background:radial-gradient(ellipse at 90% 96%,#9f122833,transparent 46%),radial-gradient(ellipse at 12% 0%,#ffffff16,transparent 45%),linear-gradient(150deg,#232327,#101013 68%)}
.hab-one-symbol{display:grid;place-items:center;width:66px;height:66px;border:1px solid #ffffff36;border-radius:50%;background:#ffffff10}
.hab-one-symbol svg{width:33px;height:33px}
.hab-one-mark{direction:ltr;font-size:clamp(32px,7vw,40px);font-weight:850;letter-spacing:.025em;line-height:1.1}
.hab-one-mark span{color:#f04453}
.hab-one-intro h2{margin:0;font-size:clamp(19px,4vw,23px);font-weight:750;line-height:1.5;color:white}
.hab-one-intro p{margin:0;color:#dfdbdd;font-size:15px;line-height:1.9;max-width:340px}
.hab-one-enter{width:100%;max-width:390px;min-height:54px;margin-top:7px;padding:12px 18px;border:0;border-radius:13px;background:linear-gradient(130deg,#ee2b49,#be1430);box-shadow:inset 0 1px #ffffff4d,0 9px 30px #cc244044;color:white;font:inherit;font-size:16px;font-weight:750;cursor:pointer}
.hab-one-enter:hover,.hab-one-enter:focus-visible{filter:brightness(1.12);outline:2px solid #fff;outline-offset:3px}
.hab-one-intro small{font-size:12px;color:#c6bec1;line-height:1.7}
.hab-one-frame-wrap{width:100%;height:min(87dvh,860px);padding-top:34px;background:#faf9f7}
.hab-one-frame{display:block;width:100%;height:100%;border:0;background:#faf9f7}
@media(max-width:600px){.hab-one-overlay{padding:12px;align-items:center}.hab-one-dialog{border-radius:22px;max-height:calc(100dvh - 24px)}.hab-one-intro{padding:52px 22px 32px}.hab-one-frame-wrap{height:calc(100dvh - 30px);max-height:870px;padding-top:32px}.hab-one-close{top:7px;inset-inline-end:7px;width:35px;height:35px;min-height:35px}}
@media(max-width:359px){.hab-one-overlay{padding:8px}.hab-one-intro{padding-inline:18px}.hab-one-dialog{border-radius:17px}}
@media(prefers-reduced-motion:reduce){.hab-one-dialog{transition:none}}

/* Match the HAB ONE transition to the premium dark sign-in screen. */
.hab-one-dialog:has(.hab-one-frame-wrap:not([hidden])){background:#161619}
.hab-one-frame-wrap{background:#161619}
.hab-one-frame{background:#161619}

/* Google sign-in: official button stays within HAB ONE's existing dialog. */
.hab-one-google[hidden],.hab-one-google-status[hidden]{display:none!important}
/* Keep the SDK's unstyled fallback inside the final button footprint. */
.hab-one-google{width:100%;max-width:390px;height:44px;min-height:44px;max-height:44px;overflow:hidden;display:flex;justify-content:center;align-items:center;margin:0 auto}
.hab-one-google :is(svg,img){width:20px;height:20px;max-width:20px;max-height:20px;flex:none;object-fit:contain}
.hab-one-google-status{max-width:390px;color:#ffced6;font-size:12px;line-height:1.7;text-align:center;margin:0 auto}
.hab-one-google-wrap[hidden],.hab-one-google-retry[hidden]{display:none!important}
.hab-one-google-wrap{width:100%;max-width:390px;min-height:44px}
.hab-one-google-retry{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:44px;padding:10px 18px;border:1px solid #dadce0;border-radius:24px;background:#fff;color:#3c4043;font-family:inherit;font-size:14px;font-weight:500;line-height:1.5;cursor:pointer}
.hab-one-google-retry svg{flex:none}
.hab-one-google-retry:disabled{cursor:wait;color:#60656b}
.hab-one-google-retry:hover:not(:disabled){background:#f8faff;border-color:#aeb8ca}
.hab-one-google-retry:focus-visible{outline:3px solid #8ab4f8;outline-offset:3px}
