/* Homepage community: self-contained styles; existing service artwork is retained. */
.home-neighbors{background:#f1f9ff;color:#2b2d42;padding:64px 28px 72px;scroll-snap-align:start;scroll-snap-stop:always;scroll-margin-top:0}
.home-neighbors-inner{max-width:1220px;margin:auto}
.home-neighbors-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}
.home-neighbors-heading h2{font-size:clamp(30px,3vw,42px);letter-spacing:-.04em;margin:0 0 12px;line-height:1.25}
.home-neighbors-heading p{margin:0;color:#687182;font-size:15px;line-height:1.6}
.home-neighbors-heading label{display:flex;align-items:center;gap:12px;font-size:13px;white-space:nowrap}
.home-neighbors-heading select{width:112px;padding:10px 12px;border:1px solid #b9bec9;border-radius:8px;background:#fff;color:#2b2d42;font:inherit}
.home-neighbors-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:stretch}
.home-feed-panel,.home-chat-panel{height:610px;min-width:0;background:#fff;border:1px solid #dce1e8;border-radius:22px;box-shadow:0 6px 22px rgba(30,40,60,.11),0 2px 5px rgba(30,40,60,.05);overflow:hidden;display:flex;flex-direction:column}
.home-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:24px 26px 20px;border-bottom:1px solid #e8ebf0;flex-shrink:0}
.home-panel-heading h3{font-size:21px;margin:0 0 6px;color:#2b2d42}
#home-chat-title [data-home-region-name]{font:inherit;color:inherit}
.home-panel-heading span,.home-panel-heading>a{font-size:12px;color:#747b8b}
.home-panel-heading>a{white-space:nowrap;color:#2b2d42;padding:8px 0}
.home-feed-list{flex:1;min-height:0;overflow-y:auto;padding:0 26px;overscroll-behavior:contain}
.home-feed-row{display:block;padding:16px 0;border-bottom:1px solid #e8ebf0;color:#2b2d42}
.home-feed-row:last-child{border:0}.home-feed-row:hover h4{text-decoration:underline}
.home-feed-category{font-size:11px;color:#698078}
.home-feed-row h4{font-size:16px;line-height:1.5;margin:5px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-feed-row>p{font-size:12px;color:#747b8b;margin:0 0 9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-feed-row>div{display:flex;flex-wrap:wrap;gap:5px 10px;font-size:11px;color:#8a8f9b}
.home-feed-row>div>span:first-child{margin-right:auto}
.home-feed-status,.home-chat-status{font-size:12px;line-height:1.5;color:#746374;margin:0;padding:0 22px}
.home-feed-status:empty,.home-chat-status:empty{display:none}
.home-neighbor-write{display:flex;justify-content:space-between;padding:16px 26px;border-top:1px solid #e8ebf0;font-size:14px;font-weight:600;color:#2b2d42}
.home-neighbor-empty{color:#808694;text-align:center;font-size:14px;line-height:1.8;padding:40px 16px;margin:auto}
.home-chat-panel{position:relative}
.home-chat-log{flex:1;min-height:0;overflow-y:auto;padding:20px 22px;background:#fafbfd;overscroll-behavior:contain;overflow-anchor:none}
.home-chat-message{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:18px;padding-right:15%}
.home-chat-message.is-mine{align-items:flex-end;padding-right:0;padding-left:15%}
.home-chat-message>div{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;margin-bottom:5px}
.home-chat-message b{font-size:12px;color:#2b2d42}.home-chat-message time{font-size:10px;color:#9397a2}
.home-chat-message>p{margin:0;max-width:100%;background:#fff;border:1px solid #2b2d42;border-radius:16px;padding:9px 13px;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#2b2d42}
.home-chat-message.is-mine>p{background:#2b2d42;color:#fff}
.home-chat-message>button{border:0;background:transparent;font-size:10px;color:#858997;padding:5px 8px;cursor:pointer}
.home-chat-older{border:0;border-bottom:1px solid #e8ebf0;background:#fafbfd;color:#737b8a;font-size:12px;padding:9px;cursor:pointer}
.home-chat-bottom{position:absolute;bottom:96px;left:50%;transform:translateX(-50%);background:#2b2d42;color:#fff;border:0;border-radius:20px;padding:8px 15px;cursor:pointer;font-size:12px}
.home-neighbors [hidden]{display:none!important}
.home-chat-panel form{margin:0;padding:16px 18px;border-top:1px solid #e8ebf0}
.home-chat-composer{display:flex;align-items:flex-end;border:2px solid #2b2d42;border-radius:26px;padding:5px;gap:6px}
.home-chat-composer textarea{flex:1;min-width:0;width:100%;height:36px;min-height:36px;max-height:110px;padding:7px 10px;margin:0;border:0;border-radius:18px;background:#fff;color:#2b2d42;font:inherit;font-size:14px;line-height:22px;resize:none}
.home-chat-composer button{display:grid;place-items:center;flex:none;width:36px;height:36px;border:0;border-radius:50%;background:#2b2d42;color:#fff;cursor:pointer}.home-chat-composer svg{width:23px;height:23px}
.home-chat-composer button:disabled{opacity:.5}.home-chat-gate{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px;background:#fafbfd}
.home-chat-gate img{object-fit:contain;max-width:100%}.home-chat-gate h4{font-size:20px;margin:18px 0 10px}.home-chat-gate p{font-size:14px;line-height:1.8;color:#7c8190;margin:0 0 22px}
.home-chat-gate .btn{background:#2b2d42!important;color:#fff!important;border:1px solid #2b2d42!important;font-size:14px;border-radius:8px;padding:11px 20px}
.home-neighbors :is(a,button,select,textarea):focus-visible{outline:3px solid #42b9b1;outline-offset:3px}
@media(max-width:800px){.home-neighbors{padding:42px 20px}.home-neighbors-heading{align-items:flex-start;flex-direction:column;gap:18px}.home-neighbors-grid{grid-template-columns:1fr}.home-feed-panel{height:570px}.home-chat-panel{height:540px}.home-panel-heading{padding:20px}.home-feed-list{padding:0 20px}.home-chat-log{padding:18px}.home-neighbor-write{padding:16px 20px}}
@media(prefers-reduced-motion:reduce){.home-neighbors *{scroll-behavior:auto}}
@media(min-width:761px) and (max-width:1000px){body.home-design>header .site-menu{display:none!important}body.home-design>header .mobile-menu{display:block}body.home-design>header #account{margin-left:auto}}
@media(max-width:760px){.home-neighbors{scroll-margin-top:var(--revision-header-height,72px)}}

/* Match the other desktop scenes to the viewport below the fixed navigation. */
@media(min-width:801px) and (min-height:560px){
 .home-neighbors{box-sizing:border-box;height:calc(100svh - var(--revision-header-height));padding:clamp(24px,4svh,56px) clamp(28px,6vw,120px)}
 .home-neighbors-inner{width:100%;max-width:1680px;height:100%;min-height:0;display:flex;flex-direction:column}
 .home-neighbors-heading{flex:none;margin-bottom:clamp(20px,3svh,32px)}
 .home-neighbors-grid{flex:1;min-height:0}
 .home-feed-panel,.home-chat-panel{height:100%;min-height:0}
 .home-neighbor-write,.home-chat-panel form,.home-chat-older{flex-shrink:0}
 .home-chat-gate{min-height:0;overflow:auto;justify-content:safe center}
 .home-chat-gate img{flex-shrink:0}
}

/* Anonymous visitors read the same conversation above a compact login action. */
.home-chat-readonly{flex:none;padding:16px 18px;text-align:center;border-top:1px solid #e3e8ef;background:#fff}
.home-chat-readonly p{margin:0;font-size:14px}
.home-chat-readonly .btn{margin:0;display:inline-flex;background:#2b2d42!important;color:#fff!important;border:1px solid #2b2d42!important;font-size:14px;border-radius:8px;padding:11px 20px}
