.auth-required{overflow:hidden}
.auth-overlay[hidden]{display:none}
.auth-overlay{position:fixed;inset:0;z-index:1000;display:grid;grid-template-columns:minmax(390px,520px) 1fr;background:#f4f7f5}
.auth-panel{background:#fff;padding:clamp(28px,5vw,64px);display:flex;flex-direction:column;justify-content:center;overflow:auto}
.auth-brand{display:flex;align-items:center;gap:14px;margin-bottom:26px}
.auth-brand img{width:176px;max-height:55px;object-fit:contain;object-position:left}
.auth-brand span{border-left:1px solid #d9e6e1;padding-left:14px;color:#6f807d;font-size:.78rem}
.language-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:-10px 0 18px}.language-switch button{min-height:43px;border:1px solid #cfded9;border-radius:11px;background:#fff;color:#526662;font-weight:850;letter-spacing:.04em}.language-switch button.active{background:#0b655d;color:#fff;border-color:#0b655d;box-shadow:0 6px 15px rgba(11,101,93,.18)}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#edf3f0;border-radius:12px;padding:4px;margin-bottom:22px}
.auth-tabs button{border:0;background:transparent;border-radius:9px;padding:10px;font-weight:750;color:#687a76}
.auth-tabs button.active{background:#fff;color:#0b4a48;box-shadow:0 3px 10px rgba(11,74,72,.1)}
.auth-heading{margin-bottom:18px}.auth-heading h1{font-family:Manrope,Inter,sans-serif;font-size:1.7rem;letter-spacing:-.03em;margin:0 0 7px;color:#102c29}.auth-heading p{color:#6f807d;line-height:1.5;margin:0}
.auth-view{display:grid;gap:12px}.auth-view[hidden]{display:none}.auth-view>label{display:grid;gap:6px;color:#243d39;font-size:.82rem;font-weight:700}
.auth-view input,.auth-view select{width:100%;min-width:0;border:1px solid #d7e2de;background:#fbfcfc;border-radius:11px;padding:12px 13px;color:#162d29;outline:0}
.auth-view input:focus,.auth-view select:focus{border-color:#14947f;box-shadow:0 0 0 3px rgba(20,148,127,.12)}
.auth-prefix{display:flex;align-items:center;border:1px solid #d7e2de;background:#fbfcfc;border-radius:11px;overflow:hidden}.auth-prefix:focus-within{border-color:#14947f;box-shadow:0 0 0 3px rgba(20,148,127,.12)}.auth-prefix span{padding-left:13px;color:#71817e}.auth-prefix input{border:0;box-shadow:none!important;padding-left:4px}
.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.auth-grid label{display:grid;gap:6px;color:#243d39;font-size:.82rem;font-weight:700}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start!important;gap:8px!important;color:#60716e!important;font-size:.75rem!important;font-weight:500!important}.auth-check input{width:auto;margin:2px 0 0;accent-color:#0c8c73}
.auth-link,.auth-switch button,.auth-back{border:0;background:transparent;color:#087760;padding:0;font-weight:750}.auth-back{justify-self:start;margin-bottom:4px;display:flex;align-items:center;gap:6px}
.auth-submit{border:0;border-radius:11px;padding:13px 18px;background:#0b655d;color:white;font-weight:800;box-shadow:0 8px 20px rgba(11,101,93,.16)}.auth-submit:hover{background:#084f49}
.auth-switch{text-align:center!important;color:#6f807d!important;font-size:.8rem!important;margin:2px 0 0!important}
.auth-message{border-radius:10px;padding:10px 12px;background:#edf4f1;color:#0b4a48;font-size:.8rem;margin-bottom:12px}.auth-message.error{background:#fff0ef;color:#9f3030}.auth-message.success{background:#e8f5ed;color:#166844}.auth-panel>.auth-message[hidden]{display:none}
.auth-city-confirm{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:8px;background:#edf7f2;border:1px solid #cfe3da;border-radius:13px;padding:10px 11px;margin-bottom:15px;color:#173d37}.auth-city-confirm>i{font-size:1.35rem;color:#0b856e}.auth-city-confirm small,.auth-city-confirm strong{display:block}.auth-city-confirm small{font-size:.66rem;color:#71817e}.auth-city-confirm strong{font-size:.85rem;margin-top:2px}.auth-city-confirm>span{font-size:.75rem;color:#526662}.auth-city-confirm button{border:0;background:#0b655d;color:#fff;border-radius:8px;padding:7px 9px;font-weight:750}.auth-city-confirm button.muted{background:#fff;color:#526662;border:1px solid #cfded9}.auth-city-choice{margin:-7px 0 14px}.auth-city-choice label{display:grid;gap:6px;color:#243d39;font-size:.78rem;font-weight:750}.auth-city-choice select{width:100%;border:1px solid #d7e2de;border-radius:10px;padding:10px;background:#fff}
.auth-visual{position:relative;overflow:hidden;background-image:linear-gradient(140deg,rgba(8,72,67,.95),rgba(16,105,83,.68)),var(--auth-city-image,url('assets/courtyard-night.jpg'));background-position:center;background-size:cover;color:#fff;display:flex;align-items:flex-end;padding:clamp(36px,6vw,80px);transition:background-image .35s ease}
.auth-visual:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 20%,rgba(238,178,52,.3),transparent 35%)}.auth-visual>div{position:relative;z-index:1;max-width:640px}
.auth-kicker{text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;font-weight:800;color:#f5c968}.auth-visual h2{font-family:Manrope,Inter,sans-serif;font-size:clamp(2rem,4vw,4.2rem);line-height:1.05;letter-spacing:-.045em;margin:14px 0 16px}.auth-visual p{font-size:1.05rem;line-height:1.65;color:#dfeee9;max-width:580px}
.auth-benefits{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px;font-size:.78rem}.auth-benefits span{display:flex;align-items:center;gap:7px;background:rgba(255,255,255,.12);padding:9px 12px;border:1px solid rgba(255,255,255,.12);border-radius:999px}.auth-benefits i{color:#f5c968;font-size:1rem}
.google-signin{min-height:44px;display:flex;justify-content:center}.google-signin>div{width:100%!important}.google-unavailable{width:100%;min-height:44px;border:1px solid #d7e2de;border-radius:10px;background:#f8faf9;color:#71817e;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:700}.google-unavailable b{font:800 1rem Arial;color:#4285f4}.auth-divider{display:flex;align-items:center;gap:10px;color:#899793;font-size:.72rem}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e1e9e6;flex:1}.auth-divider span{white-space:nowrap}
.community-onboarding{gap:16px}.onboarding-step{justify-self:start;background:#e8f4ef;color:#087760;border-radius:999px;padding:6px 10px;font-size:.7rem;font-weight:800}.community-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.community-search label{display:grid;gap:6px;color:#243d39;font-size:.82rem;font-weight:700}.community-search .auth-submit{box-shadow:none;white-space:nowrap}.community-results{display:grid;gap:9px;max-height:280px;overflow:auto}.community-card{border:1px solid #d7e2de;border-radius:13px;padding:13px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center}.community-card>i{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:#e8f4ef;color:#087760;font-size:1.25rem}.community-card b,.community-card span,.community-card small{display:block}.community-card span{color:#536662;font-size:.78rem;margin-top:3px}.community-card small{color:#82908d;font-size:.7rem;margin-top:3px}.community-card button{border:1px solid #0b655d;background:#fff;color:#0b655d;border-radius:9px;padding:9px 11px;font-weight:800}.community-card button:hover{background:#0b655d;color:#fff}.community-empty{text-align:center;padding:24px 14px;border:1px dashed #cbd9d4;border-radius:13px;color:#71817e}.community-empty i{font-size:1.8rem;color:#14947f}.community-empty p{margin:7px 0 0;line-height:1.45}.community-create-link{border:0;background:#edf6f2;color:#087760;border-radius:11px;padding:12px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px}.community-create-link:hover{background:#dfeee8}
@media(max-width:820px){.auth-overlay{display:block;overflow:auto;background:#fff}.auth-visual{display:none}.auth-panel{min-height:100vh;padding:28px 20px}.auth-brand{margin-bottom:22px}.auth-brand img{width:150px}}
@media(max-width:480px){.auth-grid,.community-search{grid-template-columns:1fr}.auth-row{align-items:flex-start;flex-direction:column}.auth-panel{justify-content:flex-start}.auth-brand span{display:none}.community-card{grid-template-columns:42px 1fr}.community-card button{grid-column:1/-1}}
@media(max-width:620px){.auth-city-confirm{grid-template-columns:auto 1fr auto auto}.auth-city-confirm>span{display:none}.language-switch button{min-height:40px}}
