/* Login and signed-in Home toolbar only; authentication remains in the existing handlers. */
body.bb-website-theme .shell #login:not(.hidden){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;min-height:calc(100dvh - 28px)!important;max-width:520px!important;margin:0 auto!important;padding:30px 20px 24px!important;background:transparent!important}
body.bb-website-theme .shell #login.hidden{display:none!important}
body.bb-website-theme .shell #login>.login-logo{order:1;width:90px!important;height:90px!important;object-fit:contain!important;margin:0 0 14px!important;filter:drop-shadow(0 4px 10px #93692718)}
body.bb-website-theme .shell #login>h1{order:2;font-size:34px!important;line-height:1.5!important;font-weight:800!important;margin:0!important;color:#8b3044!important}
body.bb-website-theme .shell #login>.login-tag{order:3;max-width:390px!important;font-size:12.5px!important;line-height:1.9!important;margin:8px 0 22px!important;color:#6a5c51!important;text-align:center!important}
body.bb-website-theme .shell #login>.login-card{order:4;width:100%!important;max-width:none!important;padding:23px 20px!important;border:1px solid #d8c8b4!important;border-top:4px solid #8b3044!important;border-radius:22px!important;background:linear-gradient(145deg,#fffdf8,#fff8f0)!important;box-shadow:0 8px 26px #6242220a!important;text-align:left!important}
body.bb-website-theme .shell #login .login-card h2{font-size:21px!important;line-height:1.7!important;margin:0 0 12px!important;font-weight:800!important;color:#22695f!important}
body.bb-website-theme .shell #login .login-card>.muted{font-size:13px!important;line-height:1.9!important;margin:0 0 16px!important;color:#66594f!important}
body.bb-website-theme .shell #login #googleLogin:not(.hidden){display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;min-height:54px!important;width:100%!important;padding:12px 14px!important;border:1px solid #8b3044!important;border-bottom:3px solid #642435!important;border-radius:14px!important;background:linear-gradient(110deg,#8b3044,#674078)!important;color:#fff!important;font-size:15px!important;line-height:1.6!important;font-weight:700!important;box-shadow:0 3px 9px #6b28441a!important}
body.bb-website-theme .shell #login #googleLogin:disabled{opacity:.65;cursor:wait}
body.bb-website-theme .shell #login .hidden{display:none!important}
body.bb-website-theme .shell #login #bb-public-intro{order:5;width:100%!important;margin:18px 0 0!important;padding:14px 16px!important;border:1px solid #ccd9d1!important;border-radius:15px!important;background:#f0f6ef!important;box-shadow:none!important;text-align:center!important}
body.bb-website-theme .shell #login #bb-public-intro button:not(.hidden){min-height:42px!important;margin:0!important;padding:8px 12px!important;font-size:13px!important;line-height:1.6!important;border:1px solid #b5ccbe!important;border-radius:10px!important;background:#fffcf6!important;color:#22695f!important}
body.bb-website-theme .shell #login #bb-public-intro p{margin:8px 0 0!important;line-height:1.7!important}
body.bb-website-theme .shell #login #bb-public-intro a{font-size:12px!important;line-height:1.8!important;color:#62517b!important;text-underline-offset:3px}
body.bb-website-theme .shell #login #domainNote{font-size:12px!important;line-height:1.8!important;margin:12px 0 0!important;color:#8b3044!important}
body.bb-website-theme .shell #login #domainNote:empty{display:none!important}
body.bb-website-theme .shell #login .browser-help{margin-top:14px!important;padding:13px!important;border-radius:12px!important;font-size:13px!important;line-height:1.8!important}
body.bb-website-theme .shell #login .browser-help p{font-size:12px!important;line-height:1.8!important}
body.bb-website-theme .shell #topBar{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:12px 16px!important;height:auto!important;min-height:86px!important}
body.bb-website-theme .shell #topBar .brand{gap:7px!important;min-width:0!important}
body.bb-website-theme .shell #topBar .brand img{width:42px!important;height:42px!important;flex-basis:42px!important}
body.bb-website-theme .shell #topBar .brand strong{font-size:25px!important;line-height:1.4!important;white-space:nowrap!important}
body.bb-website-theme .shell #topBar .brand small{font-size:10px!important;line-height:1.5!important}
body.bb-website-theme .shell #topBar .top-actions{gap:4px!important;margin-left:0!important;min-width:0!important}
body.bb-website-theme .shell #topBar .top-actions .round,body.bb-website-theme .shell #topBar .top-actions #logout:not(.hidden){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-height:44px!important;flex:0 0 44px!important;padding:4px!important;border-radius:50%!important}
body.bb-website-theme .shell #topBar .top-actions #logout:not(.hidden){background:#fff0ee!important;color:#8b3044!important;border:1px solid #d9b5b6!important;gap:1px!important}
body.bb-website-theme .shell #topBar .top-actions #logout.hidden{display:none!important}
body.bb-website-theme .shell #topBar #logout svg{width:20px!important;height:20px!important;flex:none!important}
body.bb-website-theme .shell #topBar #logout span{font-size:8px!important;line-height:1.3!important;font-weight:700!important;color:inherit!important;white-space:nowrap!important}
@media(max-width:600px){body.bb-website-theme .shell #topBar{padding:10px!important}body.bb-website-theme .shell #topBar .brand strong{font-size:23px!important}body.bb-website-theme .shell #topBar .brand img{width:36px!important;height:36px!important;flex-basis:36px!important}body.bb-website-theme .shell #topBar .brand small{font-size:9px!important}}
@media(max-width:380px){body.bb-website-theme .shell #topBar{gap:5px!important;padding:10px 8px!important}body.bb-website-theme .shell #topBar .brand{gap:5px!important}body.bb-website-theme .shell #topBar .brand strong{font-size:20px!important}body.bb-website-theme .shell #topBar .brand img{width:30px!important;height:30px!important;flex-basis:30px!important}body.bb-website-theme .shell #topBar .brand small{font-size:8px!important}body.bb-website-theme .shell #topBar .top-actions{gap:2px!important}body.bb-website-theme .shell #login:not(.hidden){padding:22px 15px!important}body.bb-website-theme .shell #login>.login-card{padding:19px 16px!important}body.bb-website-theme .shell #login .login-card h2{font-size:20px!important}}


/* Unified centered sign-in layout. */
body.bb-website-theme .shell #login>.login-card{text-align:center!important;padding:22px 18px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}
body.bb-website-theme .shell #login .login-card h2{font-size:21px!important;line-height:1.65!important;margin:0 0 12px!important;text-align:center!important;white-space:normal!important}
body.bb-website-theme .shell #login .login-card>.muted{font-size:13.5px!important;line-height:1.9!important;margin:0 0 20px!important;text-align:center!important;max-width:none!important}
body.bb-website-theme .shell #login #googleLogin:not(.hidden){min-height:62px!important;padding:14px 10px!important;background:linear-gradient(110deg,#fff1d9,#e8f4ed)!important;border:1px solid #b8c9b9!important;border-bottom:3px solid #286b5d!important;border-radius:15px!important;box-shadow:0 4px 12px #286b5d14!important;font-size:21px!important;line-height:1.5!important;white-space:normal!important;word-break:normal!important;color:#205f55!important}
body.bb-website-theme .shell #login #googleLogin .bb-login-label{display:block!important;width:100%!important;text-align:center!important;font:inherit!important}
body.bb-website-theme .shell #login #googleLogin .bb-login-word{font:inherit!important;font-weight:800!important;white-space:nowrap!important;display:inline!important}
body.bb-website-theme .shell #login #googleLogin .bb-login-word:nth-child(1){color:#474a98!important}
body.bb-website-theme .shell #login #googleLogin .bb-login-word:nth-child(2){color:#8b3044!important}
body.bb-website-theme .shell #login #googleLogin .bb-login-word:nth-child(3){color:#20695c!important}
body.bb-website-theme .shell #login #googleLogin .bb-login-word:nth-child(4){color:#964a19!important}
body.bb-website-theme .shell #login #googleLogin .bb-login-word *{color:inherit!important;font:inherit!important}
body.bb-website-theme .shell #login [data-bb-voice-control],body.bb-website-theme .shell #login [data-bb-voice-details],body.bb-website-theme:has(#login:not(.hidden)) #bbVoiceToggle,body.bb-website-theme:has(#login:not(.hidden)) .bb-voice-bar{display:none!important}
body.bb-website-theme .shell #login>.login-tag{text-wrap:balance!important;margin-bottom:20px!important}
body.bb-website-theme .shell #login #bb-public-intro{text-align:center!important}
@media(max-width:360px){body.bb-website-theme .shell #login .login-card h2{font-size:19px!important}body.bb-website-theme .shell #login #googleLogin:not(.hidden){font-size:19px!important}body.bb-website-theme .shell #login>.login-card{padding:20px 14px!important}}
