body.community-layout{background:#f5f7fa;color:#20334d}
.community-layout .community-sidebar nav{display:flex;flex-direction:column;gap:2px;overflow:visible;border:0;padding:0;margin:0;white-space:normal}
.community-layout .community-sidebar{position:fixed;top:100px;left:max(32px,calc((100vw - 1536px)/2 + 32px));width:240px;height:calc(100dvh - 120px);max-height:none}
.community-layout .community-topic .num{margin-left:auto;font-size:11px;color:#8294aa}
@media(max-width:1200px) and (min-width:701px){.community-layout .community-sidebar{left:24px;width:210px}}
.community-layout .community-sidebar,.community-layout .community-neighborhood{grid-row:1/7}
.community-layout main .results-head{grid-row:3!important}
.community-layout main #listings{grid-row:5!important}
.community-layout .desilink-footer nav a,.community-layout .desilink-footer nav button,.community-layout .footer-copyright{color:#7389a4}
.community-layout header{height:76px;min-height:76px;padding:0 32px;display:flex;gap:24px;flex-wrap:nowrap;position:sticky;top:0;background:white;z-index:30;border-bottom:1px solid #e4eaf2}
.community-layout header .brand{width:230px;flex-shrink:0}.community-layout header .desilink-logo{width:76px;height:70px;object-fit:contain}
.community-layout header .header-location-group{margin:0 0 0 auto;display:flex;flex:0 0 auto;gap:8px;min-width:0;width:auto}.community-layout header .location-tab{margin:0}.community-layout header .location-tab summary{font-size:12px;padding:9px 12px;min-height:38px}.community-layout header .account-toolbar{margin:0;gap:10px}.community-layout header .toolbar-icon,.community-layout header .avatar{width:36px;height:36px;min-height:36px}.community-layout header .location-filters{position:fixed;top:78px;right:24px;left:auto;width:min(800px,calc(100vw - 32px));z-index:40}
.community-layout main{display:grid;grid-template-columns:240px minmax(0,700px) minmax(220px,290px);column-gap:28px;row-gap:16px;max-width:1536px;width:100%;margin:0 auto;padding:28px 32px;align-items:start;align-content:start}
.community-sidebar{grid-column:1;grid-row:1/30;position:sticky;top:100px;max-height:calc(100dvh - 120px);overflow-y:auto;padding-right:10px;scrollbar-width:thin}
.community-profile{display:flex;gap:12px;align-items:center;text-align:left;background:transparent;border:0;padding:8px 8px 22px;color:#20334d;width:100%}.community-avatar{background:#e6f1fd;color:#0868b9;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:650;flex-shrink:0}.community-profile strong{font-size:13px}.community-profile small{display:block;color:#8494ab;font-size:11px;margin-top:4px}
.community-sidebar h2{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#8695a9;margin:20px 12px 12px}.community-sidebar nav+ h2{border-top:1px solid #e0e7f0;padding-top:24px}
.community-topic{display:flex;align-items:center;gap:12px;width:100%;min-height:51px;border:0;background:transparent;border-radius:10px;padding:10px 12px;text-align:left;color:#506581;font-size:13px;margin:3px 0}.community-topic[aria-pressed=true]{background:#e6f1fd;color:#0868b9}.community-topic:hover{background:#eaf1f9}.community-topic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}.community-topic .reference-icon{width:32px;height:32px;background-size:102px 158.333px}.community-topic .reference-house{background-position:-33.333px -13.333px}.community-topic .reference-car{background-position:-32.667px -100.667px}.community-topic .category-emoji,.community-topic .usa-topic-icon{font-size:25px;width:32px}.community-topic .count,.community-topic .tab-count{margin-left:auto;font-size:11px;color:#8294aa}.community-topic.community-subtopic{padding:7px 12px 7px 53px;min-height:33px;font-size:12px}.community-topic[hidden]{display:none}
.community-topic .topic-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-topic .topic-preference-controls{display:flex;gap:3px;margin-left:2px}.community-topic .topic-preference-controls [role=button]{display:grid;place-items:center;min-width:21px;height:21px;padding:0 3px;border:1px solid #cbdcf0;border-radius:6px;background:#fff;color:#315d89;font-size:12px}.community-topic .topic-preference-controls [aria-disabled=true]{opacity:.35;pointer-events:none}.community-topic[aria-pressed=true] .topic-preference-controls [role=button]{border-color:#ffffff70;background:#ffffff18;color:#fff}.community-topic.topic-pinned{border:1px solid #b9d5f0}
.community-shortcuts{border-top:1px solid #e0e7f0;margin-top:20px;padding-top:14px}.community-shortcuts button{display:block;width:100%;background:transparent;border:0;text-align:left;padding:12px;color:#536c8a;font-size:13px}
.community-layout main>.intro,.community-layout main>.community-hero{display:none}.community-layout .scope-tabs{grid-column:2;grid-row:1;gap:8px;margin:0;padding:12px;background:white;border:1px solid #e2e8f1;border-radius:16px}.community-layout .scope-tabs button{padding:7px 14px;font-size:13px;min-height:40px;border:0;background:transparent;color:#7d8fa5}.community-layout .scope-tabs button[aria-pressed=true]{background:#eaf4ff;color:#0868b9}.community-layout .scope-logo{width:26px;height:26px;background:transparent}.community-layout .scope-logo svg{width:23px;height:23px}
.community-welcome{grid-column:2;grid-row:2;border:1px solid #e2e8f1;border-radius:17px;padding:25px;background:linear-gradient(115deg,white 45%,#f1f7ff)}.community-eyebrow{font-size:10px;letter-spacing:1.5px;color:#0868b9;text-transform:uppercase;font-weight:650}.community-welcome h1{font-size:25px;letter-spacing:-.6px;line-height:1.35;margin:8px 0;color:#203b5d}.community-welcome p{font-size:13px;color:#7b8ea8;margin:0;line-height:1.7}.community-composer{display:flex;gap:12px;align-items:center;margin-top:20px}.community-composer>span{flex:1;background:#f3f6fa;border:1px solid #e6edf5;border-radius:24px;padding:10px 15px;color:#8a9aaf;font-size:12px}.community-composer button{font-size:12px;white-space:nowrap}
.community-neighborhood{grid-column:3;grid-row:1/30;position:sticky;top:104px;background:linear-gradient(140deg,white,#f0f7ff);padding:20px;border:1px solid #e1e8f1;border-radius:17px;min-width:0}.community-neighborhood-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:20px}.community-neighborhood h2{font-size:13px;margin:0}.community-neighborhood button{background:none;border:0;color:#0868b9;font-size:10px;padding:0}.community-city{font-size:25px;color:#24527d}.community-region{font-size:11px;color:#8496ae;margin:6px 0 16px}.community-neighborhood .welcome-weather{display:block;width:100%;margin:0;text-align:left}.community-neighborhood .weather-time-row{display:flex;flex-direction:column;align-items:start;gap:8px}.community-neighborhood #city-weather,.community-neighborhood #city-local-time{white-space:normal;font-size:11px;margin:0;padding:5px 0;background:transparent;border:0}.community-neighborhood .welcome-weather>a{font-size:10px;color:#8598b0;margin-top:10px;display:block}
.community-layout main .results-head{grid-column:2;grid-row:3;margin:5px 0 0;min-width:0}.community-layout #heading,.community-layout .usa-heading{font-size:18px}.community-layout main #listings{grid-column:2;grid-row:5;display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.community-layout main>.empty-listings{grid-column:2;grid-row:4;margin:0}.community-layout main>.empty-listings:empty{display:none}.community-layout main>button{grid-column:2}.community-layout .usa-panel:not([hidden]){display:contents}.community-layout .usa-results{grid-column:2;grid-row:3/7}.community-layout .usa-results .grid{grid-template-columns:minmax(0,1fr)}
.community-layout .card{border-radius:17px;border:1px solid #e0e7ef;box-shadow:0 3px 10px #21364d03;padding:23px;background:white}.community-layout .card h3{font-size:19px}.community-layout .description{font-size:13px;line-height:1.8}.community-layout .listing-login{transform:none!important}.community-layout .topic-keywords{font-size:11px}.community-layout .topic-keywords input{padding:9px 12px;font-size:13px}.community-layout .listing-actions{flex-wrap:wrap;gap:8px}.community-layout .all-date-filter{font-size:11px}.community-layout .all-date-filter input{max-width:145px}.community-layout .account-panel{position:fixed;top:80px;right:20px}.community-layout .desilink-footer{background:white;color:#72859e;border:1px solid #e2e8f1}.community-layout .desilink-footer .footer-ad{display:none}
@media(min-width:701px){.community-layout #categories,.community-layout .usa-topics{display:none!important}}
@media(max-width:1200px) and (min-width:701px){.community-layout main{grid-template-columns:210px minmax(0,1fr);padding:24px;gap:20px}.community-neighborhood{display:none}.community-layout header .brand{width:185px}.community-layout header{padding:0 24px;gap:15px}}
@media(max-width:700px){.community-layout header{height:auto;min-height:65px;flex-wrap:wrap;padding:8px 12px;gap:8px;position:relative}.community-layout header .brand{width:52px}.community-layout header .desilink-logo{width:52px;height:48px}.community-layout .community-search{width:auto;flex:1;padding:5px 10px}.community-search input{font-size:16px}.community-layout header .header-location-group{order:4;width:100%;justify-content:center;margin:0}.community-layout header .account-toolbar{gap:4px}.community-layout header .toolbar-icon,.community-layout header .avatar{width:30px;height:30px}.community-layout header .location-filters{top:112px;right:12px;width:calc(100vw - 24px)}.community-layout main{display:flex;flex-direction:column;padding:16px 12px;gap:14px}.community-layout main>*{width:100%;min-width:0}.community-sidebar,.community-neighborhood{display:none}.community-layout .scope-tabs{order:0;padding:6px}.community-layout .scope-tabs button{flex:1;padding:7px 5px;font-size:12px}.community-welcome{order:1;padding:19px}.community-welcome h1{font-size:22px}.community-composer{gap:8px}.community-composer>span{font-size:11px;padding:9px}.community-layout #categories{order:2;margin:0}.community-layout main .results-head{order:3;margin:0}.community-layout main>.empty-listings{order:4}.community-layout main #listings{order:5}.community-layout .usa-panel:not([hidden]){display:block;order:3}.community-layout .card{padding:18px}.community-layout .usa-topics{margin-bottom:16px}.community-layout .listing-actions{justify-content:flex-start;width:100%}.community-layout .account-panel{top:65px;right:10px}.community-layout .topic-keywords input{font-size:16px}.community-layout .scope-local-hidden{display:none!important}}
@media(max-width:700px){.community-layout .community-neighborhood{display:block;position:static;order:2;padding:12px 16px}.community-neighborhood-top{margin-bottom:8px}.community-city{font-size:18px}.community-region{display:inline;margin-left:8px;font-size:10px}.community-neighborhood .weather-time-row{flex-direction:row;flex-wrap:wrap;gap:4px 12px}.community-neighborhood .welcome-weather>a{font-size:9px;margin-top:4px}}
@media(min-width:701px){body.community-layout>.desilink-footer{width:calc(100% - 344px);max-width:1130px;margin-left:270px;margin-right:32px}}
.community-layout main .results-head{grid-row:2!important}.community-layout main>.empty-listings{grid-row:3}.community-layout main #listings{grid-row:4!important}.community-layout .usa-results{grid-row:2/6}.community-layout .community-sidebar,.community-layout .community-neighborhood{grid-row:1/6}

/* Scoped topic navigation, matching the approved reference. */
.community-layout .community-sidebar{display:none!important}
.community-layout .scope-tabs{grid-column:1/3;grid-row:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(430px,100%);padding:0;border:0;background:transparent;gap:10px;border-radius:0}
.community-layout .scope-tabs button{width:100%;min-width:0;min-height:62px;justify-content:center;padding:12px;border:1px solid #cbdcf0;border-radius:13px;background:white;color:#0868b9;font-size:15px;gap:10px}
.community-layout .scope-tabs .scope-label{min-width:0;white-space:nowrap}
.community-layout .scope-tabs button[aria-pressed=true]{background:#0868b9;color:white}
.community-layout .scope-logo{width:38px;height:38px;background:white;border-radius:11px}
.community-layout .scope-logo svg{width:29px;height:29px}
.community-layout .usa-results{grid-column:2;grid-row:2/6}
.community-layout .usa-heading{font-size:25px;margin:14px 0 28px}
@media(min-width:701px){
 .community-layout main{grid-template-columns:270px minmax(0,700px) minmax(220px,290px)}
 .community-layout main #categories,.community-layout .usa-panel .usa-topics{display:flex!important;flex-direction:column;grid-column:1;grid-row:2/6;align-self:start;position:sticky;top:98px;max-height:calc(100dvh - 120px);overflow-y:auto;margin:0;padding:18px 12px;background:white;border:1px solid #dce5f1;border-radius:17px;gap:8px}
 .community-layout main #categories.scope-local-hidden{display:none!important}
 .community-layout #categories .tab,.community-layout .usa-topics>button,.community-layout .immigration-topics>button{min-height:74px;padding:15px 8px;border-radius:12px;font-size:14px}
 .community-layout #categories .tab{grid-template-columns:30px minmax(0,1fr) 18px;column-gap:8px}
 .community-layout #categories .topic-label{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25}
 .community-layout #categories .num{justify-self:end;min-width:18px;margin:0;text-align:right}
 .community-layout #categories .topic-preference-controls{grid-column:2/4;display:flex;justify-content:flex-end;gap:4px;margin-top:-6px}
 .community-layout .immigration-topics>button{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;column-gap:8px;width:100%;text-align:left}
 .community-layout .immigration-chevron{margin:0;padding:5px 7px;border:1px solid #cbdcf0;border-radius:7px;background:#f4f8ff;color:#075da5;font-size:10px;font-weight:700;line-height:1;white-space:nowrap}
 .community-layout .immigration-topics>button[aria-expanded="true"] .immigration-chevron{background:#e7f2ff;border-color:#a9cbea}
 .community-layout #categories .tab[aria-pressed=true],.community-layout .usa-topics button[aria-pressed=true]{background:#0868b9;color:white}
 .community-layout .usa-topics h2{font-size:12px;letter-spacing:1.5px;padding:0 12px 8px}
}
@media(min-width:701px) and (max-width:1200px){.community-layout main{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:700px){.community-layout .scope-tabs button{min-height:48px;font-size:14px;padding:9px 10px;gap:8px}.community-layout .scope-logo{width:30px;height:30px}.community-layout .scope-logo svg{width:24px;height:24px}.community-layout .usa-heading{font-size:21px;margin:14px 0 20px}}
@media(min-width:701px){.community-layout main{grid-template-rows:max-content max-content max-content max-content minmax(0,1fr)}}
@media(min-width:701px){.community-layout main #categories{grid-row:2/6!important}}
/* Use the full viewport and keep the feed close to its filters. */
@media(min-width:701px){
 .community-layout main{max-width:none;width:100%;margin:0;padding:18px 24px;column-gap:18px;row-gap:8px;grid-template-columns:240px minmax(0,1fr) 270px}
 .community-layout header{padding-left:24px;padding-right:24px}
 .community-layout header .brand{width:234px}
 .community-layout main .results-head{margin-top:0;row-gap:12px}
 .community-layout main #listings{gap:14px}
 .community-layout .usa-heading{margin:8px 0 16px}
 .community-layout .community-neighborhood{padding:18px}
 body.community-layout>.desilink-footer{width:calc(100% - 48px);max-width:none;margin:18px 24px 0}
}
@media(min-width:701px) and (max-width:1200px){.community-layout main{grid-template-columns:220px minmax(0,1fr);padding:16px 18px;column-gap:16px}.community-layout header .brand{width:204px}}
.floating-chat-button{position:fixed;right:24px;bottom:max(22px,env(safe-area-inset-bottom));z-index:35;display:flex;align-items:center;gap:9px;padding:13px 20px;min-height:48px;border:0;border-radius:26px;background:#0868b9;color:#fff;box-shadow:0 5px 20px #163f7033;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
.floating-chat-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.floating-chat-button:hover{background:#07599d}.floating-chat-button:focus-visible{outline:3px solid #ed2450;outline-offset:3px}
@media(max-width:700px){.floating-chat-button{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));padding:12px 16px}}
/* Compact messages panel. */
#chat-dialog{width:min(480px,calc(100vw - 28px));height:auto;max-height:min(760px,calc(100dvh - 40px));min-height:0;padding:0;border:1px solid #dce7f4;border-radius:22px;background:#f6f9fd;box-shadow:0 24px 80px #12335530;overflow-y:auto}
#chat-dialog::backdrop{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
#chat-dialog>.chat-heading{padding:22px 24px!important;background:linear-gradient(120deg,#e9f3ff,#f9fcff);border-bottom:1px solid #e0eaf6;gap:12px;position:sticky;top:0;z-index:1}
#chat-dialog .chat-heading h2{font-size:21px;letter-spacing:-.4px;color:#173e69}
#chat-dialog.chat-inbox-view .chat-heading h2:after{content:'Your conversations, all in one place';display:block;font-size:12px;line-height:1.5;font-weight:400;letter-spacing:0;color:#7890ac;margin-top:5px}
#chat-dialog .chat-heading [data-close]{width:32px;height:32px;flex-shrink:0;border-radius:50%;background:white;border:1px solid #dce7f4;color:#4a6a90;font-size:21px}
#chat-dialog .chat-status{font-size:12px;line-height:1.6;color:#8193aa;margin:0;padding:12px 22px}
#chat-dialog .chat-status:empty{display:none}
#chat-dialog .chat-messages{margin:18px;gap:10px;max-height:48dvh;min-height:130px;padding:2px;overflow-y:auto}
#chat-dialog.chat-inbox-view .chat-messages{min-height:110px;max-height:55dvh;margin:16px 18px 22px}
#chat-dialog .chat-inbox-item{padding:15px;border:1px solid #e1e9f3;border-radius:15px;background:white;box-shadow:0 3px 8px #21476f04;gap:12px;transition:background .15s,border-color .15s}
#chat-dialog .chat-inbox-item:hover{background:#edf5ff;border-color:#b6d2f0}
#chat-dialog .chat-avatar{width:45px;height:45px;border-radius:14px;background:linear-gradient(135deg,#e0edff,#ecf5ff);color:#096aba;font-size:14px}
#chat-dialog .chat-inbox-details strong{font-size:14px}#chat-dialog .chat-inbox-preview{font-size:12px;max-width:240px}#chat-dialog .chat-inbox-item time{font-size:10px;color:#91a0b2}
#chat-dialog .chat-unread{background:#e9274d;color:white;border-radius:10px;padding:2px 6px;font-size:10px}
#chat-dialog .chat-unread[hidden]{display:none}
#chat-dialog .chat-message{border-radius:15px 15px 15px 4px;background:white;border:1px solid #e3eaf4;padding:11px 14px;font-size:13px}
#chat-dialog .chat-message.mine{background:#e5f1ff;border-color:#d5e7fc;border-radius:15px 15px 4px 15px}
#chat-dialog .chat-message small{font-size:10px;color:#8a9bb2}
#chat-dialog .chat-controls{padding:8px 12px 0;display:flex;justify-content:flex-end;gap:5px;margin:0}#chat-dialog .chat-controls[hidden]{display:none}
#chat-dialog .chat-controls button{flex:0 0 auto;min-height:28px;border:1px solid #d9e4f1;border-radius:7px;background:#fff;padding:5px 8px;color:#58728f;font-size:10px;font-weight:600;line-height:1;white-space:nowrap;box-shadow:0 1px 2px #173e6908}
#chat-dialog .chat-controls button:hover{background:#edf5ff;border-color:#bcd2e9;color:#174b7d}
#chat-dialog .chat-controls [data-delete-chat],#chat-dialog .chat-controls button:last-child{color:#b33a55}
#chat-dialog .chat-related-post{margin:14px 18px 0}
#chat-dialog .chat-compose{margin:0;padding:14px 18px 18px;background:white;border-top:1px solid #e3eaf3;gap:9px;align-items:center}
#chat-dialog .chat-compose textarea{min-height:46px;height:46px;max-height:120px;border:1px solid #d9e5f3;border-radius:12px;background:#f7faff;padding:12px;font:inherit;font-size:14px;resize:vertical}
#chat-dialog .chat-compose button{border:0;border-radius:11px;background:#0868b9;color:white;padding:12px 16px;font-size:13px;font-weight:600}
#chat-dialog [data-older]{margin:8px 20px;border:1px solid #dbe5f2;border-radius:8px;background:white;padding:7px 10px;color:#6580a0;font-size:11px}
@media(max-width:700px){#chat-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 32px);border-radius:19px}#chat-dialog>.chat-heading{padding:18px!important}#chat-dialog .chat-inbox-preview{max-width:170px}#chat-dialog .chat-compose textarea{font-size:16px}#chat-dialog .chat-messages{margin:14px;max-height:45dvh}}
#chat-dialog{height:fit-content;min-height:0}
/* Dock chat vertically above the corner launcher. */
#chat-dialog{position:fixed;inset:auto 20px 82px auto;margin:0;width:min(360px,calc(100vw - 28px));height:min(560px,calc(100dvh - 110px));max-height:calc(100dvh - 110px);border-radius:18px;overflow:hidden}
#chat-dialog[open]{display:flex;flex-direction:column}
#chat-dialog>.chat-heading{flex-shrink:0;padding:18px!important}
#chat-dialog .chat-heading h2{font-size:19px}
#chat-dialog.chat-inbox-view .chat-heading h2:after{font-size:11px}
#chat-dialog .chat-messages,#chat-dialog.chat-inbox-view .chat-messages{flex:1;min-height:0;max-height:none;margin:12px;overflow-y:auto}
#chat-dialog .chat-inbox-item{padding:12px 10px;gap:9px;flex-shrink:0}
#chat-dialog .chat-inbox-preview{max-width:165px}
#chat-dialog .chat-avatar{width:38px;height:38px;border-radius:12px}
#chat-dialog .chat-compose,#chat-dialog .chat-controls,#chat-dialog .chat-related-post,#chat-dialog .chat-status{flex-shrink:0}
#chat-dialog .chat-compose{padding:12px;gap:7px}
#chat-dialog .chat-compose button{padding:12px}
@media(max-width:700px){#chat-dialog{inset:auto 12px calc(76px + env(safe-area-inset-bottom)) auto;width:calc(100vw - 24px);height:min(520px,calc(100dvh - 108px - env(safe-area-inset-bottom)));max-height:calc(100dvh - 108px - env(safe-area-inset-bottom))}}

/* Chat window controls and minimized corner bar. */
#chat-dialog .chat-window-actions{display:flex;gap:4px;flex-shrink:0;margin-left:auto}
#chat-dialog .chat-window-actions button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #dce7f4;border-radius:8px;background:white;color:#4a6a90;font-size:19px;line-height:1;cursor:pointer}
#chat-dialog .chat-window-actions button:hover,#chat-dialog .chat-window-actions button:focus-visible{background:#e3efff}
#chat-dialog .chat-heading h2{min-width:0;overflow-wrap:anywhere}
#chat-dialog.chat-inbox-view .chat-heading h2:after{max-width:180px}
#chat-dialog.chat-maximized{inset:16px;margin:0;width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}
@media(max-width:700px){#chat-dialog>.chat-heading{gap:6px}#chat-dialog.chat-maximized{inset:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}}

/* Keep the surrounding page interactive while chat is open. */
#chat-dialog{z-index:100}
/* Header home reset control. */
.community-layout header>#reset-menu{display:flex!important;align-items:center;justify-content:center;gap:7px;width:auto;height:40px;margin-right:auto;padding:8px 12px;border:1px solid #d1e1f4;border-radius:10px;background:#f4f8ff;color:#075aa6}
.community-layout header>#reset-menu:hover{background:#e8f2ff}
.community-layout header>#reset-menu svg{width:20px;height:20px}
@media(max-width:700px){.community-layout header>#reset-menu{width:36px;height:36px;margin-right:auto;padding:7px}.community-layout header>#reset-menu span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}
/* Simple signed-out screen. */
body.listings-signed-out main>#listings,body.listings-signed-out main>.community-sidebar,body.listings-signed-out main>.empty-listings{display:none!important}
body.listings-signed-out main>.community-neighborhood[data-has-location="false"]{display:none!important}
body.listings-signed-out main>.usa-panel:not([hidden]){display:contents!important}
body.listings-signed-out main .results-head:not(.scope-local-hidden){display:grid!important;place-items:center;justify-content:center!important;align-content:center!important;grid-column:2!important;grid-row:2/6!important;width:100%;min-height:calc(100dvh - 270px);margin:0!important}
body.listings-signed-out main .results-head>*:not(#heading){display:none!important}
body.listings-signed-out main #heading{margin:0;text-align:center;justify-self:center}
body.listings-signed-out main>.usa-panel:not([hidden]) .usa-results{display:grid!important;place-items:center;justify-content:center!important;align-content:center!important;grid-column:2!important;grid-row:2/6!important;width:100%;min-height:calc(100dvh - 270px);margin:0!important}
body.listings-signed-out main>.usa-panel:not([hidden]) .usa-results>*:not([role="status"]){display:none!important}
body.listings-signed-out main>.usa-panel:not([hidden]) .usa-results>[role="status"]{margin:0;text-align:center}
body.listings-signed-out main .listing-login{min-height:46px;padding:12px 22px;border-radius:10px;font-size:16px;transform:none!important}
body.listings-signed-out .floating-chat-button{display:none}
@media(max-width:700px){body.listings-signed-out main .results-head:not(.scope-local-hidden),body.listings-signed-out main>.usa-panel:not([hidden]) .usa-results{grid-column:auto!important;grid-row:auto!important;min-height:45dvh;order:3}}
@media(min-width:1201px){
 #chat-dialog:not(.chat-maximized){left:var(--chat-sidebar-left);right:auto;top:var(--chat-sidebar-top);bottom:auto;width:var(--chat-sidebar-width);height:max(100px,calc(100dvh - var(--chat-sidebar-top) - 82px));max-height:max(100px,calc(100dvh - var(--chat-sidebar-top) - 82px));box-shadow:0 6px 20px #12335512}
 #chat-dialog:not(.chat-maximized)>.chat-heading{padding:12px!important;gap:5px;flex-wrap:wrap}
 #chat-dialog:not(.chat-maximized) .chat-heading h2{font-size:16px;flex:1}
 #chat-dialog:not(.chat-maximized).chat-inbox-view .chat-heading h2:after{display:none}
 #chat-dialog:not(.chat-maximized) .chat-window-actions{gap:3px}
 #chat-dialog:not(.chat-maximized) .chat-window-actions button{width:26px;height:26px}
 #chat-dialog:not(.chat-maximized) .chat-messages{margin:8px}
 #chat-dialog:not(.chat-maximized) .chat-inbox-item{gap:7px;padding:10px 8px}
 #chat-dialog:not(.chat-maximized) .chat-inbox-details strong{font-size:12px}
 #chat-dialog:not(.chat-maximized) .chat-inbox-preview{max-width:115px;font-size:11px}
}

/* Center the location controls in the desktop header. */
@media(min-width:701px){.community-layout header .header-location-group{position:absolute;left:50%;transform:translateX(-50%);margin:0;}.community-layout header .account-toolbar{margin-left:auto;}}

/* Keep chat content reachable even in a short sidebar window. */
#chat-dialog{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#chat-dialog .chat-messages,#chat-dialog.chat-inbox-view .chat-messages{min-height:120px;overscroll-behavior:contain}
#chat-dialog .chat-message{flex-shrink:0}
#chat-dialog>.chat-heading{position:sticky;top:0;z-index:2}

