.home-scope { background: #f8fafc; }
.home-scope .home-workspace { padding: 18px 0 28px; background: #f8fafc; }
.home-scope .home-social-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin-bottom: 14px; padding-left: 15px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: var(--shadow-card); }
.home-scope .home-social-quick-post { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--text-main); font-size: 13px; font-weight: 700; }
.home-scope .home-social-quick-post a,
.home-scope .home-social-my-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 11px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--bg-surface); color: var(--text-main); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.home-scope .home-social-quick-post a { color: #fff; background: var(--brand-dark); }
.home-scope .home-social-tabs { display: flex; align-self: stretch; }
.home-scope .home-social-tabs button { min-width: 102px; border: 0; border-left: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-muted); font-size: 12px; font-weight: 700; }
.home-scope .home-social-tabs button[aria-selected="true"] { color: var(--brand-dark); background: var(--brand-tint); }
.home-scope .home-social-chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr); gap: 16px; align-items: stretch; }
.home-scope .home-social-knowledge { min-width: 0; }
.home-scope .home-knowledge-static,
.home-scope .home-knowledge-panel { display: grid; min-height: 520px; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: var(--shadow-card); }
.home-scope .home-knowledge-static { margin-bottom: 16px; }
.home-scope .home-knowledge-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 18px; border-bottom: 1px solid var(--border-color); background: #fbfcfc; }
.home-scope .home-knowledge-head h2 { min-width: 0; overflow: hidden; margin: 0; font-size: 19px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.home-scope .home-knowledge-details { position: relative; flex: 0 0 auto; color: var(--text-muted); font-size: 12px; }
.home-scope .home-knowledge-details summary { color: var(--brand-dark); font-weight: 700; cursor: pointer; white-space: nowrap; }
.home-scope .home-knowledge-details p { position: absolute; z-index: 3; top: calc(100% + 8px); right: 0; width: min(260px, calc(100vw - 48px)); margin: 0; padding: 10px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: var(--shadow-card); line-height: 1.5; }
.home-scope .home-knowledge-head a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--brand-dark); border-radius: var(--radius-sm); color: var(--brand-dark); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.home-scope .home-knowledge-head a:hover { background: var(--brand-tint); }
.home-scope .home-knowledge-list { align-self: stretch; min-height: 0; max-height: 620px; overflow-y: auto; overscroll-behavior-y: contain; padding: 0 22px; scrollbar-gutter: stable; }
.home-scope .home-knowledge-list[aria-busy="true"] { opacity: 0.7; }
.home-scope .home-knowledge-list .api-state { margin: 0; padding: 24px 0; color: var(--text-muted); font-size: 13px; }
.home-scope .home-knowledge-item { border-bottom: 1px solid var(--border-color); }
.home-scope .home-knowledge-item:last-child { border-bottom: 0; }
.home-scope .home-knowledge-item a { display: grid; grid-template-columns: 142px minmax(0, 1fr) auto; gap: 18px; align-items: center; min-height: 58px; color: var(--text-main); text-decoration: none; }
.home-scope .home-knowledge-item p { margin: 0; color: var(--text-muted); font: 700 10px/1.2 sans-serif; letter-spacing: 0.12em; }
.home-scope .home-knowledge-item h3 { overflow: hidden; margin: 0; font-size: 15px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.home-scope .home-knowledge-item span { color: var(--brand-dark); font-size: 18px; }
.home-scope .home-knowledge-item a:hover,
.home-scope .home-knowledge-item a:focus-visible { background: var(--brand-tint); outline: 0; }
.home-scope .home-knowledge-item a:hover h3,
.home-scope .home-knowledge-item a:focus-visible h3 { color: var(--brand-primary); }
.home-scope .home-social-feed .home-stream-section { padding: 0; }
.home-scope .home-social-feed .home-stream-section .container { width: 100%; }
.home-scope .home-social-feed .home-stream-head { padding: 0 0 14px; }
.home-scope .home-social-feed .home-listing-stream { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 0; }
.home-scope .home-social-feed .home-stream-item { display: grid; grid-template-areas: "image copy" "image price" "image action"; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: 1fr auto auto; align-items: center; gap: 3px 12px; min-height: 112px; padding: 10px 0; border-width: 0 0 1px; border-radius: 0; background: transparent; box-shadow: none; }
.home-scope .home-social-feed .home-stream-image { grid-area: image; width: 100%; min-height: 92px; height: 92px; border: 0; box-shadow: none; }
.home-scope .home-social-feed .home-stream-copy { grid-area: copy; }
.home-scope .home-social-feed .home-stream-copy h3 { margin: 3px 0; font-size: 15px; }
.home-scope .home-social-feed .home-stream-item > strong { grid-area: price; align-self: center; font-size: 13px; text-align: left; }
.home-scope .home-social-feed .home-stream-item > .text-link-btn { grid-area: action; justify-self: start; }
.home-scope .home-social-feed .home-feed-sentinel { min-height: 1px; padding: 10px 0; color: var(--text-muted); font-size: 12px; text-align: center; }
.home-scope .home-feed-promotion { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 14px 0; padding: 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--brand-tint); }
.home-scope .home-feed-promotion .eyebrow { margin: 0; }
.home-scope .home-feed-promotion h3 { margin: 4px 0; color: var(--brand-dark); font-size: 17px; }
.home-scope .home-feed-promotion p:not(.eyebrow) { max-width: 680px; margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.home-scope .home-feed-promotion-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.home-scope .home-feed-promotion-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 10px; border: 1px solid var(--brand-dark); border-radius: var(--radius-sm); color: var(--brand-dark); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.home-scope .home-feed-promotion-actions a.primary { border-color: var(--brand-primary); background: var(--brand-primary); color: #fff; }
.home-scope .home-my-profile { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: var(--shadow-card); }
.home-scope .home-my-profile > img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.home-scope .home-my-profile h2 { margin: 4px 0; font-size: 20px; }
.home-scope .home-my-profile-tier { margin: 0; color: var(--text-muted); font-size: 12px; }
.home-scope .home-my-profile dl { display: flex; gap: 14px; margin: 0; }
.home-scope .home-my-profile dl div { min-width: 68px; padding-left: 14px; border-left: 1px solid var(--border-color); }
.home-scope .home-my-profile dt { color: var(--text-muted); font-size: 10px; }
.home-scope .home-my-profile dd { margin: 3px 0 0; color: var(--brand-dark); font-size: 18px; font-weight: 700; }
.home-scope .home-my-listings-section { margin-top: 16px; }
.home-scope .home-my-listings-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); }
.home-scope .home-my-listings-heading h3 { margin: 4px 0 0; font-size: 19px; }
.home-scope .home-my-listings-grid { display: grid; gap: 10px; margin-top: 12px; }
.home-scope .home-my-listing { display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; grid-template-rows: 1fr auto; gap: 7px 12px; align-items: center; min-height: 100px; padding: 7px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-surface); }
.home-scope .home-my-listing-image { grid-row: 1 / -1; align-self: stretch; min-height: 86px; background: #dfe8e4 center / cover no-repeat; }
.home-scope .home-my-listing-image span { display: inline-block; margin: 5px; padding: 3px 5px; background: var(--bg-surface); color: var(--brand-dark); font-size: 10px; font-weight: 700; }
.home-scope .home-my-listing-copy { min-width: 0; }
.home-scope .home-my-listing-copy p,
.home-scope .home-my-listing-copy span { margin: 0; color: var(--text-muted); font-size: 11px; }
.home-scope .home-my-listing-copy h3 { margin: 4px 0; font-size: 14px; }
.home-scope .home-my-listing > strong { color: var(--brand-dark); font-size: 13px; }
.home-scope .home-my-listing-status { padding: 3px 5px; background: var(--brand-tint); color: var(--brand-dark); font-size: 10px; font-weight: 700; }
.home-scope .home-my-login { padding: 22px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: var(--shadow-card); }
.home-scope .home-my-login h2 { margin: 5px 0; font-size: 20px; }
.home-scope .home-my-login p:not(.eyebrow) { margin: 0; color: var(--text-muted); font-size: 13px; }
.home-scope .home-my-login-button { min-height: 36px; margin-top: 14px; padding: 0 13px; border: 1px solid var(--brand-primary); border-radius: var(--radius-sm); background: var(--brand-primary); color: #fff; font-size: 12px; font-weight: 700; }
.home-scope .community-panel,
.home-scope .home-featured-panel { min-width: 0; overflow: hidden; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.home-scope .community-panel { display: grid; min-height: 520px; grid-template-rows: auto minmax(0, 1fr) auto; }
.home-scope .community-panel-header,
.home-scope .home-featured-head { padding: 16px; border-bottom: 1px solid var(--border-color); }
.home-scope .home-featured-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.home-scope .eyebrow { margin: 0; color: var(--text-muted); font: 700 10px/1.2 sans-serif; letter-spacing: 0.12em; }
.home-scope .community-panel h1,
.home-scope .home-featured-head h2 { margin: 5px 0 0; font-size: 21px; line-height: 1.2; }
.home-scope .home-featured-details { margin-top: 8px; color: var(--text-muted); font-size: 12px; }
.home-scope .home-featured-details summary { color: var(--brand-dark); font-weight: 700; cursor: pointer; }
.home-scope .home-featured-details p { margin: 7px 0 0; line-height: 1.5; }
.home-scope .community-feed { display: grid; align-content: start; gap: 10px; min-height: 0; overflow-y: auto; padding: 14px 16px; }
.home-scope .community-message { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; max-width: 86%; }
.home-scope .community-message.is-own { grid-template-columns: 1fr; justify-self: end; }
.home-scope .community-message.is-own .community-avatar { display: none; }
.home-scope .community-avatar { display: grid; width: 32px; height: 32px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--brand-tint); color: var(--brand-dark); font-size: 12px; font-weight: 700; }
.home-scope .community-avatar img { width: 100%; height: 100%; object-fit: cover; }
.home-scope .community-message-meta { display: flex; align-items: baseline; gap: 6px; color: var(--text-muted); font-size: 10px; }
.home-scope .community-message-meta strong { color: var(--text-main); font-size: 11px; }
.home-scope .community-report { margin-left: auto; border: 0; background: transparent; color: var(--text-muted); font-size: 10px; text-decoration: underline; }
.home-scope .community-message-actions { display: inline-flex; gap: 6px; }
.home-scope .community-message-actions button { border: 0; padding: 0; background: transparent; color: var(--text-muted); font-size: 10px; text-decoration: underline; }
.home-scope .community-avatar { color: inherit; text-decoration: none; }
.home-scope a.community-avatar:hover { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.home-scope .community-message p { width: fit-content; max-width: 100%; margin: 3px 0 0; padding: 8px 10px; border-radius: 10px; background: #eef2f1; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.home-scope .community-message.is-own p { margin-left: auto; color: #fff; background: var(--brand-primary); }
.home-scope .community-read-receipt { display: block; margin-top: 3px; color: var(--text-muted); font-size: 10px; text-align: right; }
.home-scope .community-compose { padding: 12px 16px 16px; border-top: 1px solid var(--border-color); background: #fbfcfc; }
.home-scope .community-login-note { margin: 0 0 7px; color: var(--text-muted); font-size: 11px; }
.home-scope .community-send { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.home-scope .community-send:has(.community-emoji-picker:not([hidden])) { grid-template-columns: auto minmax(0, 1fr) auto; }
.home-scope .community-emoji-picker { position: relative; }
.home-scope .community-emoji-picker summary { display: grid; width: 36px; height: 36px; place-items: center; list-style: none; cursor: pointer; }
.home-scope .community-emoji-picker summary::-webkit-details-marker { display: none; }
.home-scope .community-emoji-tray { position: absolute; z-index: 5; bottom: calc(100% + 8px); left: 0; display: grid; grid-template-columns: repeat(6, 34px); gap: 3px; max-height: 252px; overflow-y: auto; padding: 6px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: var(--shadow-card); }
.home-scope .community-emoji-tray button { width: 34px; height: 34px; border: 0; border-radius: 5px; background: transparent; }
.home-scope .community-emoji-tray button:hover { background: var(--brand-tint); }
.home-scope .community-send input { min-width: 0; min-height: 38px; padding: 0 11px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-surface); }
.home-scope .community-send > button { min-width: 70px; border: 1px solid var(--brand-primary); border-radius: var(--radius-sm); background: var(--brand-primary); color: #fff; font-size: 12px; font-weight: 700; }
.home-scope .community-login-link { display: inline-flex; align-items: center; min-height: 32px; margin-top: 10px; color: var(--brand-dark); font-size: 12px; font-weight: 700; }
.home-scope .home-featured-head { align-items: center; }
.home-scope .home-featured-all,
.home-scope .home-stream-all { color: var(--brand-dark); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.home-scope .home-featured-grid { display: grid; gap: 8px; max-height: 452px; overflow-y: auto; padding: 12px; }
.home-scope .home-listing-empty-state { display: grid; min-height: 184px; place-items: center; align-content: center; gap: 10px; padding: 24px; color: var(--text-muted); text-align: center; }
.home-scope .home-listing-empty-state svg { width: 34px; height: 34px; stroke: var(--brand-primary); stroke-width: 1.5; }
.home-scope .home-listing-empty-state p { max-width: 22rem; margin: 0; font-size: 13px; line-height: 1.5; }
.home-scope .home-featured-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; min-height: 112px; padding: 7px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-surface) !important; }
.home-scope .property-image { position: relative; min-height: 98px; overflow: hidden; border: 5px solid #fff; background: #dfe8e4 center / cover no-repeat; box-shadow: var(--shadow-polaroid); }
.home-scope .property-image span { position: absolute; top: 5px; left: 5px; padding: 3px 5px; border-radius: 4px; background: #fff; color: var(--brand-dark); font-size: 10px; font-weight: 700; }
.home-scope .property-content { min-width: 0; padding: 2px 2px 1px; }
.home-scope .property-type,
.home-scope .property-specs { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 1.35; }
.home-scope .home-property-status { padding: 1px 4px; border-radius: 4px; background: var(--brand-tint); color: var(--brand-dark); font-size: 10px; font-weight: 700; }
.home-scope .home-featured-card h3 { display: -webkit-box; overflow: hidden; margin: 4px 0; font-size: 14px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-scope .property-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; }
.home-scope .property-footer strong { color: var(--brand-dark); font-size: 13px; }
.home-scope .text-link-btn { border: 0; background: transparent; color: var(--brand-dark); font-size: 11px; font-weight: 700; white-space: nowrap; }
.home-scope .home-stream-section { padding: 26px 0 42px; }
.home-scope .home-stream-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border-color); }
.home-scope .home-stream-head h2 { margin: 5px 0 0; font-size: 22px; }
.home-scope .home-stream-head p { display: none; }
.home-scope .home-listing-stream { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; padding-top: 16px; }
.home-scope .home-stream-item { display: grid; grid-template-columns: 1fr; gap: 10px; min-width: 0; padding: 10px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: var(--shadow-card); }
.home-scope .home-stream-image { position: relative; min-height: 168px; overflow: hidden; border: 7px solid #fff; background: #dfe8e4 center / cover no-repeat; box-shadow: var(--shadow-polaroid); }
.home-scope .home-stream-image span { position: absolute; top: 7px; left: 7px; padding: 3px 6px; border-radius: 4px; background: #fff; color: var(--brand-dark); font-size: 10px; font-weight: 700; }
.home-scope .home-stream-copy { min-width: 0; }
.home-scope .home-stream-copy p,
.home-scope .home-stream-copy span { margin: 0; color: var(--text-muted); font-size: 11px; }
.home-scope .home-stream-copy h3 { display: -webkit-box; overflow: hidden; margin: 5px 0; font-size: 15px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-scope .home-stream-item > strong { color: var(--brand-dark); font-size: 15px; }
.home-scope .home-knowledge-footer { margin-top: 8px; padding: 18px 0 24px; border-top: 1px solid var(--border-color); background: #f6f9f8; }
.home-scope .home-knowledge-footer .eyebrow { margin: 0; }
.home-scope .home-knowledge-footer h2 { margin: 4px 0; color: var(--text-main); font-size: 16px; line-height: 1.25; }
.home-scope .home-knowledge-footer p:not(.eyebrow) { margin: 0; color: var(--text-muted); font-size: 12px; }
.home-scope .home-knowledge-footer a { display: inline-block; margin-top: 10px; color: var(--brand-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.home-scope .home-knowledge-footer a:hover { text-decoration: underline; }
.home-scope .core-banner-bottom { padding: 0 0 42px; }
.home-scope .core-banner-bottom-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: var(--shadow-card); }
.home-scope .core-banner-post-it { display: grid; gap: 10px; min-height: 150px; padding: 16px; background: #fff0ae; box-shadow: 5px 6px 0 rgba(24, 53, 48, 0.12); }
.home-scope .core-banner-post-it span,
.home-scope .core-banner-post-it small { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; }
.home-scope .core-banner-post-it strong { font-size: 20px; line-height: 1.15; }
.home-scope .core-banner-bottom-copy h2 { margin: 5px 0; font-size: 24px; }
.home-scope .core-banner-bottom-copy p:not(.eyebrow) { margin: 0; color: var(--text-muted); line-height: 1.6; }
.home-scope .core-banner-bottom-actions { margin-top: 14px; }
.home-scope .core-banner-bottom-actions a { display: inline-flex; min-height: 38px; align-items: center; padding: 0 13px; border-radius: var(--radius-sm); background: var(--brand-primary); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.home-scope .home-listing-modal { width: min(100% - 24px, 760px); max-height: calc(100dvh - 32px); overflow: auto; border: 0; border-radius: var(--radius-md); box-shadow: 0 18px 50px rgba(23, 43, 42, 0.24); }
.home-scope .home-listing-modal::backdrop { background: rgba(14, 34, 30, 0.5); }
.home-scope .home-listing-modal-content { position: relative; padding: 22px; background: var(--bg-surface); }
.home-scope .home-modal-close { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--border-color); border-radius: 50%; background: var(--bg-surface); font-size: 20px; }
.home-scope .home-property-gallery { display: grid; gap: 10px; }
.home-scope .home-modal-image { width: 100%; max-height: 420px; object-fit: cover; border: 8px solid #fff; box-shadow: var(--shadow-polaroid); }
.home-scope .home-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.home-scope .home-gallery-thumb { width: 64px; height: 50px; flex: 0 0 64px; overflow: hidden; padding: 0; border: 2px solid transparent; background: transparent; }
.home-scope .home-gallery-thumb.is-active { border-color: var(--brand-primary); }
.home-scope .home-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-scope .home-modal-type { margin: 18px 0 5px; color: var(--text-muted); font-size: 13px; }
.home-scope .home-listing-modal h2 { margin: 0; font-size: 24px; }
.home-scope .home-price-tag { margin: 8px 0; color: var(--brand-dark); font-size: 21px; font-weight: 700; }
.home-scope .home-modal-specs,
.home-scope .home-property-description { color: var(--text-muted); line-height: 1.55; }
.home-scope .home-safety-notice { display: grid; gap: 4px; margin: 18px 0; padding: 12px; border-left: 4px solid #e5b84d; background: #fff8dc; font-size: 13px; line-height: 1.45; }
.home-scope .home-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid var(--border-color); }
.home-scope .home-agent-summary { display: flex; align-items: center; gap: 9px; }
.home-scope .home-agent-summary img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.home-scope .home-agent-summary span,
.home-scope .home-agent-summary p { display: block; margin: 0; color: var(--text-muted); font-size: 11px; }
.home-scope .home-agent-summary strong { display: block; font-size: 13px; }
.home-scope .home-modal-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 7px; }
.home-scope .home-modal-actions button { min-height: 34px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-surface); color: var(--text-main); font-size: 11px; font-weight: 700; }
.home-scope .home-modal-actions .home-chat-button { border-color: var(--brand-primary); background: var(--brand-primary); color: #fff; }
.home-scope footer { border-top: 1px solid var(--border-color); background: var(--bg-surface); }
.home-scope .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; }
.home-scope .footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text-main); text-decoration: none; }
.home-scope .footer-brand .brand-logo { width: 30px; height: 30px; }
.home-scope .footer-brand strong,
.home-scope .footer-brand small { display: block; }
.home-scope .footer-brand strong { font-size: 14px; }
.home-scope .footer-brand small { color: var(--text-muted); font-size: 8px; }
.home-scope .footer-inner > p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.home-scope .footer-inner > nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 12px; }
.home-scope .footer-inner > nav a { color: var(--brand-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.home-scope .cookie-consent { position: fixed; z-index: 130; right: 16px; bottom: 16px; left: 16px; padding: 14px 0; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: 0 12px 32px rgba(23, 43, 42, 0.2); }
.home-scope .cookie-consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.home-scope .cookie-consent p { margin: 4px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.45; }
.home-scope .cookie-consent p a { color: var(--brand-dark); }
.home-scope .cookie-button { min-height: 38px; padding: 0 12px; border: 1px solid var(--brand-primary); border-radius: var(--radius-sm); background: var(--brand-primary); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.home-scope .community-panel-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 10px 12px; }
.home-scope .community-panel-header .community-titlebar { min-width: 0; }
.home-scope .community-panel-header .community-titlebar .eyebrow { display: none; }
.home-scope .community-panel-header .community-titlebar h1 { overflow: hidden; margin: 0; font-size: 16px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.home-scope .community-panel-header .community-status { font-size: 10px; }
.home-scope .home-assistance-live,
.home-scope .home-assistance-ai,
.home-scope .home-assistance-admin { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.home-scope .home-social-ai,
.home-scope .home-social-admin { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: clamp(500px, 62dvh, 660px); overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: #f7faf8; box-shadow: 0 12px 28px rgba(23, 43, 42, 0.1); }
.home-scope .home-social-ai .home-assistance-messages,
.home-scope .home-social-admin .home-assistance-messages { min-height: 0; background: #f7faf8; }
.home-scope .home-social-live .community-panel { min-height: clamp(500px, 62dvh, 660px); }
.home-scope .home-assistance-live .community-feed { max-height: none; }
.home-scope .home-assistance-messages { display: grid; align-content: start; gap: 10px; min-height: 0; overflow-y: auto; padding: 18px; background: #fbfcfc; }
.home-scope .home-assistance-message { width: fit-content; max-width: 86%; margin: 0; padding: 9px 11px; border-radius: var(--radius-sm); background: #eaf0ee; color: var(--text-main); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.home-scope .home-assistance-message.is-user { justify-self: end; background: var(--brand-primary); color: #fff; }
.home-scope .home-assistance-message.is-admin { background: #e8edf3; }
.home-scope .home-assistance-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 44px; align-items: stretch; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--border-color); background: #fbfcfc; }
.home-scope .home-assistance-form input { min-width: 0; min-height: 44px; height: 44px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: #fff; color: var(--text-main); padding: 0 10px; font: 13px "Noto Sans Thai", sans-serif; }
.home-scope .home-assistance-form button,
.home-scope .home-assistance-login { min-height: 44px; height: 44px; border: 1px solid var(--brand-primary); border-radius: var(--radius-sm); background: var(--brand-primary); color: #fff; padding: 0 13px; font: 700 12px "Noto Sans Thai", sans-serif; cursor: pointer; }
.home-scope .home-assistance-login { justify-self: start; }
.home-scope .home-assistance-login.line-sign-in { display: inline-flex; align-items: center; gap: 6px; border-color: #06a94f; background: #06a94f; }
.home-scope .home-assistance-login .line-sign-in-mark { display: inline-grid; width: 26px; height: 26px; place-items: center; border-radius: 5px; background: #fff; color: #06a94f; font: 800 8px/1 sans-serif; letter-spacing: .02em; }

@media (max-width: 860px) {
  .home-scope .home-workspace { padding: 0 0 20px; }
  .home-scope .home-workspace .container { width: 100%; }
  .home-scope .home-social-toolbar { position: sticky; top: 58px; z-index: 20; display: flex; min-height: 46px; margin: 0; padding: 0; border-width: 0 0 1px; border-radius: 0; box-shadow: 0 3px 10px rgba(24, 53, 48, 0.06); }
  .home-scope .home-social-quick-post { display: none; }
  .home-scope .home-social-tabs { width: 100%; }
  .home-scope .home-social-tabs { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .home-scope .home-social-tabs::-webkit-scrollbar { display: none; }
  .home-scope .home-social-tabs button { min-width: 80px; flex: 1 0 auto; font-size: 11px; }
  .home-scope .home-social-chat-layout { display: block; }
  .home-scope .home-social-knowledge { margin: 12px; }
  .home-scope .home-knowledge-static,
  .home-scope .home-knowledge-panel { min-height: 0; overflow: visible; border-color: var(--border-strong); }
  .home-scope .home-knowledge-static { margin: 12px; }
  .home-scope .home-social-knowledge .home-knowledge-panel { margin: 0; }
  .home-scope .home-knowledge-head { align-items: center; padding: 13px 12px; }
  .home-scope .home-knowledge-head h2 { font-size: 18px; }
  .home-scope .home-knowledge-head a { min-height: 34px; padding: 0 9px; font-size: 11px; }
  .home-scope .home-knowledge-list { max-height: none; overflow: visible; overscroll-behavior-y: auto; padding: 0 12px; scrollbar-gutter: auto; }
  .home-scope .home-knowledge-item a { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 10px; min-height: 64px; }
  .home-scope .home-knowledge-item h3 { font-size: 13px; white-space: normal; }
  .home-scope .home-social-feed .home-stream-section { padding: 0; }
  .home-scope .home-social-feed { height: calc(100dvh - 196px - env(safe-area-inset-bottom)); min-height: 0; margin: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .home-scope .home-social-my-listings { height: calc(100dvh - 196px - env(safe-area-inset-bottom)); min-height: 0; margin: 12px; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: 0 8px 20px rgba(23, 43, 42, 0.1); }
  .home-scope .home-social-feed .home-stream-section,
  .home-scope .home-social-my-listings { overflow-y: auto; overscroll-behavior-y: contain; }
  .home-scope .home-social-my-listings .home-my-login { min-height: 100%; box-sizing: border-box; }
  .home-scope .home-social-feed .home-stream-head { margin: 0; padding: 14px 12px; }
  .home-scope .home-social-feed .home-feed-promotion { align-items: flex-start; flex-direction: column; gap: 12px; margin: 0; padding: 14px 12px; border-width: 0 0 1px; border-radius: 0; }
  .home-scope .home-feed-promotion h3 { font-size: 16px; }
  .home-scope .home-feed-promotion-actions { width: 100%; }
  .home-scope .home-feed-promotion-actions a { flex: 1; }
  .home-scope .home-social-feed .home-listing-stream { padding: 0 12px; }
  .home-scope .home-social-feed .home-stream-item { grid-template-columns: 96px minmax(0, 1fr); min-height: 96px; padding: 8px 0; }
  .home-scope .home-social-feed .home-stream-image { min-height: 80px; height: 80px; }
  .home-scope .home-social-feed .home-stream-copy h3 { font-size: 14px; }
  .home-scope .home-social-feed .home-feed-sentinel { margin: 0 12px; }
  .home-scope .home-my-profile { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 14px 12px; border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
  .home-scope .home-my-profile > img { width: 48px; height: 48px; }
  .home-scope .home-my-profile h2 { font-size: 18px; }
  .home-scope .home-my-profile dl { grid-column: 1 / -1; justify-content: start; width: 100%; padding-top: 10px; border-top: 1px solid var(--border-color); }
  .home-scope .home-my-profile dl div:first-child { padding-left: 0; border-left: 0; }
  .home-scope .home-my-listings-section { margin-top: 0; }
  .home-scope .home-my-listings-heading { padding: 14px 12px 10px; }
  .home-scope .home-my-listings-grid { gap: 0; margin-top: 0; }
  .home-scope .home-my-listing { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 4px 10px; min-height: 112px; padding: 8px 12px; border-width: 0 0 1px; border-radius: 0; }
  .home-scope .home-my-listing-image { min-height: 96px; }
  .home-scope .home-my-listing > strong { grid-column: 2; }
  .home-scope .home-my-listing-status { position: absolute; right: 12px; }
  .home-scope .home-my-login { padding: 18px 12px; border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
  .home-scope .community-panel,
  .home-scope .home-featured-panel { border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
  .home-scope .community-panel { min-height: 0; grid-template-rows: auto minmax(180px, 310px) auto; }
  .home-scope .community-panel-header,
  .home-scope .home-featured-head { padding: 13px 12px; }
  .home-scope .community-panel h1,
  .home-scope .home-featured-head h2 { font-size: 18px; }
  .home-scope .community-feed { padding: 12px; }
  .home-scope .community-compose { padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); }
  .home-scope .community-panel-header { grid-template-columns: 1fr; align-items: stretch; gap: 8px; }
  .home-scope .community-panel-header .community-titlebar h1 { font-size: 14px; }
  .home-scope .home-social-ai,
  .home-scope .home-social-admin { height: calc(100dvh - 196px - env(safe-area-inset-bottom)); min-height: 0; margin: 12px; border-width: 1px; border-radius: var(--radius-md); box-shadow: 0 8px 20px rgba(23, 43, 42, 0.1); }
  .home-scope .home-social-live .community-panel { height: calc(100dvh - 196px - env(safe-area-inset-bottom)); min-height: 0; margin: 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); box-shadow: 0 8px 20px rgba(23, 43, 42, 0.1); }
  .home-scope .home-assistance-messages { min-height: 0; max-height: none; padding: 12px; }
  .home-scope .home-assistance-form { grid-template-rows: 42px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); }
  .home-scope .home-assistance-form input,
  .home-scope .home-assistance-form button { min-height: 42px; height: 42px; }
  .home-scope .community-login-note,
  .home-scope .community-details { display: none; }
  .home-scope .home-featured-grid { max-height: none; padding: 12px; }
  .home-scope .home-featured-card:first-child { grid-template-columns: 1fr; padding: 10px; }
  .home-scope .home-featured-card:first-child .property-image { min-height: 220px; }
  .home-scope .home-featured-card:not(:first-child) { grid-template-columns: 96px minmax(0, 1fr); min-height: 94px; padding: 6px; }
  .home-scope .home-featured-card:not(:first-child) .property-image { min-height: 80px; border-width: 4px; }
  .home-scope .home-featured-card:not(:first-child) .property-specs { display: none; }
  .home-scope .home-stream-section { padding: 0; }
  .home-scope .home-stream-head { margin: 0; padding: 14px 12px; }
  .home-scope .home-stream-head h2 { font-size: 19px; }
  .home-scope .home-listing-stream { display: grid; overflow: visible; padding: 0 12px; }
  .home-scope .home-stream-item { flex: none; }
  .home-scope .home-stream-image { min-height: 80px; height: 80px; }
  .home-scope .home-knowledge-footer { padding: 14px 12px 22px; }
  .home-scope .home-knowledge-footer h2 { font-size: 15px; }
  .home-scope .core-banner-bottom { padding: 0 12px 24px; }
  .home-scope .core-banner-bottom-card { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .home-scope .core-banner-post-it { min-height: auto; }
  .home-scope .home-contact-panel { align-items: flex-start; flex-direction: column; }
  .home-scope .home-modal-actions { justify-content: start; }
  .home-scope .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding: 20px 0; }
  .home-scope .cookie-consent { right: 10px; bottom: calc(74px + env(safe-area-inset-bottom)); left: 10px; }
  .home-scope .cookie-consent-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
}