/* Shared account entrance and legible navigation. */
.header .desktop-nav{align-items:center;gap:clamp(18px,2vw,30px)}
.header .desktop-nav>a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:600;line-height:1.3;color:#46544c;white-space:nowrap;padding:0}
.header .desktop-nav>a.active,.header .desktop-nav>a:hover{color:#183d30}
.header .desktop-nav>.nav-map{gap:7px;color:#183d30;border-bottom:2px solid #8cae40}
.nav-map svg{width:18px;height:18px;flex-shrink:0}
.header .header-account{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:84px;min-height:44px;padding:10px 16px;background:#203f32;color:white;border:1px solid #203f32;border-radius:10px;font-family:Manrope,'Noto Sans Georgian',sans-serif;font-weight:600;font-size:14px;line-height:1.2;white-space:nowrap}
.header .header-account:hover{background:#315642}
.header .header-account.is-authenticated{background:#f0f5eb;color:#203f32;border-color:#c6d5bd;padding:10px 12px}
.header-account svg{width:20px;height:20px;flex-shrink:0}
.header-actions .language-switch{font-size:13px;color:#20382e;min-height:44px}
.hb-auth-open{overflow:hidden}
.hb-auth-dialog{padding:0;border:0;border-radius:24px;width:min(880px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);color:#20332a;background:#fcfdf9;box-shadow:0 35px 120px #071c2350;overflow:auto;font-family:Manrope,'Noto Sans Georgian',sans-serif}
.hb-auth-dialog[open]{animation:hb-auth-in .35s cubic-bezier(.2,.7,.2,1)}
.hb-auth-dialog::backdrop{background:#152c337a;backdrop-filter:blur(8px);animation:hb-auth-backdrop .3s ease}
.hb-auth-layout{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:550px}
.hb-auth-aside{position:relative;display:flex;flex-direction:column;padding:42px 30px;background:#eaf0df url('/assets/coast.jpg') center bottom/auto 68% no-repeat;isolation:isolate;overflow:hidden}
.hb-auth-aside:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#eaf0df 30%,#eaf0dfea 50%,#143e2e98 100%)}
.hb-auth-aside>img{width:180px;height:auto;max-width:100%;margin-bottom:36px}
.hb-auth-switch{display:grid;gap:8px}
.hb-auth-switch button{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #768b6d85;border-radius:12px;background:#f8faf270;color:#2c4031;padding:14px 15px;min-height:50px;font:600 14px/1.4 Manrope,'Noto Sans Georgian',sans-serif;text-align:left}
.hb-auth-switch button.active{background:#244837;color:white;border-color:#244837}
.hb-auth-switch button:hover{border-color:#244837}
.hb-auth-story{margin-top:auto;padding-top:75px;color:#fff}
.hb-auth-story small{font-size:10px;font-weight:700;letter-spacing:.15em}
.hb-auth-story p{font-size:20px;line-height:1.55;max-width:240px;margin:12px 0 0;font-weight:500}
.hb-auth-main{position:relative;padding:52px 48px 42px;align-self:center;width:100%;box-sizing:border-box}
.hb-auth-close{z-index:2;position:absolute;top:16px;right:16px;display:grid;place-items:center;width:40px;height:40px;min-height:40px;border:1px solid #d5ddd0;border-radius:50%;font-size:26px;font-weight:400;color:#3b4f42;background:white}
.hb-auth-eyebrow{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#516449;margin-bottom:13px;font-weight:700}
.hb-auth-main h2{font-size:32px;font-weight:500;line-height:1.2;letter-spacing:-1px;margin:0 0 14px}
.hb-auth-intro{font-size:14px;line-height:1.7;color:#536557;margin:0 0 24px}
.hb-auth-intro strong{display:block;overflow-wrap:anywhere;color:#263f31;margin-top:8px}
.hb-auth-form{display:grid;gap:16px}
.hb-auth-form label{display:grid;gap:8px;font-size:13px;line-height:1.4;font-weight:600;color:#314c3d}
.hb-auth-form input{width:100%;min-height:50px;box-sizing:border-box;border:1px solid #b9c8b2;border-radius:10px;background:#fff;color:#20332a;padding:12px 14px;font:400 16px/1.4 Manrope,'Noto Sans Georgian',sans-serif;box-shadow:none}
.hb-auth-form input:focus{outline:3px solid #8faf5940;border-color:#516f37}
.hb-auth-form [name=otp]{font-size:24px;letter-spacing:.25em}
.hb-auth-password{position:relative;display:block}
.hb-auth-password input{padding-right:50px}
.hb-auth-password button{position:absolute;right:4px;top:3px;min-height:44px;width:44px;border:0;background:transparent;color:#415a48;display:grid;place-items:center}
.hb-auth-password svg{width:22px;height:22px}
.hb-auth-form small{font-size:12px;color:#536557;margin-top:-8px}
.hb-auth-text{justify-self:start;min-height:30px;padding:2px 0;font:600 13px/1.5 Manrope,'Noto Sans Georgian',sans-serif;color:#385738;background:transparent;border:0;text-decoration:underline;text-underline-offset:4px}
.hb-auth-text:hover{color:#132c1c}
.hb-auth-feedback{font-size:13px;line-height:1.5;color:#ac352c;margin:0}
.hb-auth-feedback:empty{display:none}
.hb-auth-submit{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:52px;border:1px solid #adc758;border-radius:11px;padding:14px 20px;font:700 14px/1.4 Manrope,'Noto Sans Georgian',sans-serif;color:#173229;background:#cbf16c;margin-top:4px}
.hb-auth-submit:hover{background:#bce453}
.hb-auth-dialog button:disabled{opacity:.65;cursor:wait}
.hb-auth-back{justify-self:center}
.hb-account-menu{position:fixed;z-index:100;width:240px;box-sizing:border-box;padding:10px;background:white;border:1px solid #cfdbc6;border-radius:14px;box-shadow:0 14px 50px #19372224;color:#20382e}
.hb-account-menu[hidden]{display:none}
.hb-account-menu p{margin:8px 10px 12px;font-size:14px;font-weight:700;overflow-wrap:anywhere}
.hb-account-menu a,.hb-account-menu button{display:flex;align-items:center;min-height:44px;width:100%;padding:10px;border:0;border-radius:8px;font:500 14px/1.4 Manrope,'Noto Sans Georgian',sans-serif;text-align:left;box-sizing:border-box;background:white;color:#243f2f}
.hb-account-menu a:hover,.hb-account-menu button:hover{background:#edf3e6}
.hb-auth-toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:110;padding:16px 24px;border-radius:12px;background:#244837;color:white;font-size:14px;box-shadow:0 10px 40px #152b2630}
.view-switch{padding:4px;gap:3px;border-color:#b8c7b0;background:#f8faf4;border-radius:10px}
.view-switch button{min-height:44px;padding:10px 14px;font-size:13px;font-weight:600;color:#42543e;display:inline-flex;align-items:center;gap:8px;border-radius:7px}
.view-switch button.selected{background:#e0ebd0;color:#23412c}
.view-switch button[data-view=map]{background:#244837;color:white;border:1px solid #244837;padding:10px 18px}
.view-switch button[data-view=map]:hover{background:#315e42}
.view-switch button[data-view=map].selected{background:#cbf16c;color:#163328;border-color:#769c30;box-shadow:0 0 0 2px #8faf5930}
.view-switch button[data-view=map] svg{width:18px;height:18px}
.discovery-bar .utility-button,.map-viewport-controls .utility-button{font-size:13px;font-weight:600;min-height:44px;padding:10px 14px;color:#344c3b;background:#fff;border-color:#bdcab4}
.discovery-bar .utility-button:hover,.map-viewport-controls .utility-button:hover{background:#edf3e5;border-color:#799268}
.category-tabs button{font-size:14px;color:#42513f;min-height:44px}
.category-tabs button.selected{color:#203f32}
.keyword-field input,.sort select,.advanced-filters select,.advanced-filters input{font-size:14px;color:#344c3b}
.advanced-filters label,.map-viewport-controls label{font-size:13px;color:#42513f}
.map-toolbar .utility-button,.map-mode button{font-size:13px;font-weight:600;min-height:44px;color:#344c3b}
.map-kicker,.map-legend{color:#53604e}
.header a:focus-visible,.header button:focus-visible,.hb-auth-dialog button:focus-visible,.view-switch button:focus-visible,.utility-button:focus-visible{outline:3px solid #799b43;outline-offset:3px}
@keyframes hb-auth-in{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes hb-auth-backdrop{from{background:#152c3300;backdrop-filter:blur(0)}to{background:#152c337a;backdrop-filter:blur(8px)}}
@media(max-width:1200px){.header .desktop-nav{gap:16px}.header .header-account{padding:10px 12px}.header .brand .homebase-logo{width:160px}}
@media(max-width:700px){.hb-auth-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:18px}.hb-auth-layout{grid-template-columns:1fr;min-height:0}.hb-auth-aside{padding:22px 22px 18px;background:#eaf0df}.hb-auth-aside:before,.hb-auth-story{display:none}.hb-auth-aside>img{width:150px;margin-bottom:20px}.hb-auth-switch{grid-template-columns:1fr 1fr;gap:7px;padding-right:0}.hb-auth-switch button{font-size:12px;padding:11px;min-height:46px}.hb-auth-switch button span{display:none}.hb-auth-main{padding:28px 24px}.hb-auth-main h2{font-size:27px;letter-spacing:-.6px}.hb-auth-close{top:18px;right:18px;background:#f9fcf4}.hb-auth-aside>img{margin-right:45px}.header .header-account{font-size:13px;min-width:70px;padding:10px 12px}.header-account.is-authenticated span{display:none}.header .header-account.is-authenticated{min-width:44px;padding:10px}.discovery-bar .utility-button,.map-viewport-controls .utility-button{font-size:12px;padding:10px 12px}.view-switch button{font-size:12px;padding:10px 12px}.view-switch button[data-view=map]{padding:10px 14px}.hb-auth-intro{font-size:13px}.category-tabs button{font-size:13px}}
@media(prefers-reduced-motion:reduce){.hb-auth-dialog[open],.hb-auth-dialog::backdrop{animation:none}.hb-auth-dialog::backdrop{backdrop-filter:none}}

.header .desktop-nav>a[href="#places"],.header .desktop-nav>a[href="#approach"]{display:none}

@media(max-width:1250px){.header .desktop-nav{display:none}.header .mobile-menu{display:inline-flex;align-items:center;justify-content:center}.header-actions>.compact{display:none}}
@media(max-width:700px){.header .brand .homebase-logo{width:140px}}
@media(max-width:375px){.header .brand .homebase-logo{width:125px}.header-actions{gap:5px}}
#mobile-nav a,#mobile-nav button{font-size:14px;font-weight:600;color:#2c4936;min-height:44px}
#mobile-nav a[data-open-map]{display:flex;align-items:center;gap:9px;background:#eaf2dc;border-radius:8px}

@media(max-width:1380px){.header-actions>.compact{display:none}}

.hb-auth-dialog{background:#fcfdf9;box-sizing:border-box}
.hb-auth-main{will-change:auto}
.hb-auth-switch button{transition:background-color .28s ease,color .28s ease,border-color .28s ease,box-shadow .28s ease}
.hb-auth-switch button.active{box-shadow:0 5px 16px #24483718}
.hb-auth-switch button span{transition:transform .28s ease}
.hb-auth-switch button.active span{transform:translate(2px,-2px)}
@media(prefers-reduced-motion:reduce){.hb-auth-switch button,.hb-auth-switch button span{transition:none}}
.hb-auth-aside{background:#eaf0df}
.hb-auth-aside:before{display:none}
.hb-auth-aside>.hb-auth-doorway{width:220px;max-width:100%;height:auto;margin:22px auto 0}
.hb-auth-story{padding-top:10px;color:#294f3c}
.hb-auth-story p{font-size:16px;line-height:1.6}
.hb-auth-story small{color:#4c6b43}
@media(max-width:700px){.hb-auth-aside>.hb-auth-doorway{display:none}.hb-auth-layout{transform-style:flat}}

/* Reserve the desktop composition; contain changing forms during the mobile transition. */
.hb-auth-dialog[aria-busy=true]{overflow:hidden;scrollbar-width:none}
.hb-auth-dialog[aria-busy=true]::-webkit-scrollbar{display:none}
@media(min-width:701px){.hb-auth-layout{min-height:650px}.hb-auth-aside>img:first-child{margin-bottom:24px}.hb-auth-aside>.hb-auth-doorway{width:250px;height:270px;object-fit:contain;margin:10px auto 0;mix-blend-mode:multiply}}
.hb-header-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0}
