/* Reference dashboard layout. Existing page routes and action handlers are retained. */
/* Match the reference's white/red workspace while retaining readable Hindi. */
html[lang=hi]{font-family:"Nirmala UI","Mangal","Segoe UI",sans-serif}
html[lang=hi] .sidebar nav a{height:auto;min-height:41px}html[lang=hi] .sidebar nav b{line-height:1.6}
.home-map-controls .type-tabs button{flex:1;display:flex;justify-content:center;align-items:center;gap:6px}
.home-results .property-card>img{height:100%;min-height:174px;object-fit:cover}
.home-results .property-info h3,.home-results .property-info .location{overflow-wrap:anywhere}
.property-price-area{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.property-area{font-size:12px;white-space:normal;overflow-wrap:anywhere}.property-info{min-width:0}.property-info .location{display:block;white-space:normal;overflow:visible;-webkit-line-clamp:unset;max-height:none}
.detail-back{margin-bottom:12px;min-height:40px}.detail-thumbs button{border:2px solid transparent;border-radius:12px;padding:2px;background:white;cursor:pointer;min-width:0}.detail-thumbs button[aria-pressed=true]{border-color:#e4242a}.detail-summary,.detail-gallery,.detail-facts span{min-width:0}.detail-summary p,.detail-facts b{overflow-wrap:anywhere}.whatsapp-action{color:#147a3f;border-color:#b7dec6}.detail-actions .selected{color:#e4242a}
.mini-row span{min-width:0;overflow-wrap:anywhere}.mini-row .dealer-preview-photo{border-radius:50%;width:40px;height:40px}.preview-news small{display:block}.preview-news small+small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px}.news-article small{display:block;line-height:1.6}.news-article h3,.news-article p{overflow-wrap:anywhere}@media(max-width:760px){.news-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
.dealer-link{color:inherit;text-decoration:none;min-width:0}.dealer-link p,.dealer-profile p,.dealer-profile h1{overflow-wrap:anywhere}.dealer-photo{width:72px;height:72px;object-fit:cover;border-radius:50%}.dealer-profile{padding:22px;margin:15px 0}.dealer-link:focus-visible{outline:2px solid #e4242a;outline-offset:3px}
.dealer-rating-form{padding:20px;margin:18px 0}.dealer-rating-form fieldset{border:0;padding:0;margin:12px 0;min-width:0}.dealer-stars{display:flex;flex-wrap:wrap;gap:8px}.dealer-stars label{display:flex;align-items:center;gap:5px;padding:8px;border:1px solid #ddd;border-radius:10px;cursor:pointer}.dealer-stars label:has(input:checked){background:#fff2d1;border-color:#d79400}.dealer-stars input{accent-color:#d79400}.dealer-rating-form button:disabled{opacity:.6;cursor:wait}
.trending-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.trending-controls>.filter{flex:1;min-width:140px}.trending-sort{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:0;min-width:0}.trending-sort legend{font-size:12px;margin-bottom:6px}.trending-sort label{padding:10px;border:1px solid #ddd;background:white;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:5px}.trending-sort label:has(input:checked){border-color:#e4242a;background:#fff0f1}.trending-sort input{accent-color:#e4242a}
.saved-item{min-width:0}.saved-item>.glass-button{margin:8px 0 14px}.detail-actions button[aria-pressed=true]{color:#b50d16;background:#fff0f1}
.sell-draft{padding:20px;display:grid;gap:12px;max-width:850px}.sell-draft label{display:grid;gap:5px;min-width:0}.sell-draft input:not([type=checkbox]),.sell-draft select,.sell-draft textarea{width:100%;min-width:0;padding:10px;border:1px solid #ddd;border-radius:8px;font:inherit}.sell-draft fieldset{border:1px solid #ddd;border-radius:10px;display:flex;flex-wrap:wrap;gap:10px;min-width:0}#sellDraftAmenities label{display:flex;align-items:center;gap:5px}#sellDraftPhotoPreview{display:flex;flex-wrap:wrap;gap:10px}#sellDraftPhotoPreview img{width:100px;height:100px;object-fit:cover}
.radius-labels{display:flex;justify-content:space-between;gap:10px}
.pool-spaces{padding:15px;margin:16px 0}.pool-spaces a{display:inline-block;margin:6px}.pool-spaces h2{margin:0 0 10px}#spacePosts .post-image{width:100%;height:auto;max-height:none;object-fit:contain}#spacePosts small{display:block}
.public-cover{width:100%;max-height:240px;object-fit:cover;border-radius:14px;margin-bottom:12px}.audience-person{display:flex;gap:12px;align-items:center;padding:14px;margin:10px 0;color:inherit;text-decoration:none}.audience-person small{display:block}.post-author-link{color:inherit;text-decoration:none}.post-audience-links{display:flex;gap:15px;flex-wrap:wrap;margin-top:10px}.audience-person span{min-width:0;overflow-wrap:anywhere}
.pool-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.pool-tools .panel{padding:12px}.pool-members{display:flex;gap:14px;overflow-x:auto;padding:14px 0;align-items:start}.pool-member{display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 0 86px;width:86px;text-align:center;text-decoration:none;color:inherit}.pool-member span{width:100%;overflow-wrap:anywhere;white-space:normal}.pool-member .dealer-photo{width:56px;height:56px}#poolSearchPanel{padding:15px}#poolSearchPanel[hidden]{display:none}#poolSearchForm{display:flex;flex-wrap:wrap;gap:8px;align-items:center}#poolSearchText{min-width:0;max-width:100%;padding:10px;border:1px solid #ddd;border-radius:8px}
.recent-item{min-width:0}.recent-time{font-size:12px;line-height:1.5;color:#596274;margin:8px 0 14px;overflow-wrap:anywhere}#recentMore{margin:18px 0}
.reward-history-item{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;padding:14px;margin:10px 0;overflow-wrap:anywhere}#rewardsRefresh{margin-bottom:14px}
.withdrawal-panel{padding:20px;max-width:600px}.withdrawal-panel form{display:grid;gap:10px}.withdrawal-panel input:not([type=checkbox]){width:100%;min-width:0;padding:12px;border:1px solid #ccc;border-radius:8px;font:inherit}.withdrawal-confirm{display:flex;gap:8px;align-items:start}.withdrawal-panel button{margin-top:8px}.withdrawal-panel form[hidden]{display:none}
.website-post-composer{padding:15px;margin-bottom:15px;display:flex;flex-wrap:wrap;gap:10px}.website-post-composer textarea{width:100%;min-height:72px;resize:vertical;font:inherit;padding:10px;border:1px solid #ddd;border-radius:10px}.website-post-composer input{max-width:100%}.post-text{white-space:pre-wrap;overflow-wrap:anywhere}.post-actions{flex-wrap:wrap}.post-actions button[aria-pressed=true]{color:#d00;background:#fff0f1}#websitePosts .post-image{width:100%;height:auto;max-height:none;object-fit:contain}#websitePosts .post-header small{display:block}
.home-heading,.home-heading>div{flex-wrap:wrap}.home-filters input:focus,.filter select:focus{outline:2px solid #e20b16;outline-offset:2px}
button:focus-visible,a:focus-visible{outline:2px solid #e20b16;outline-offset:3px}
@media(min-width:1400px){.home-workspace{grid-template-columns:minmax(0,2fr) minmax(350px,1fr)}.home-map-controls .type-tabs button{font-size:13px}}
.map-panel[hidden]{display:none!important}
.live-property-marker span{display:block;color:white;border-radius:9px;padding:7px 8px;text-align:center;font-weight:700;white-space:nowrap;box-shadow:0 3px 7px #0004}
.live-property-marker span:after{content:"";position:absolute;bottom:-5px;left:33px;border-top:6px solid currentColor;border-left:5px solid transparent;border-right:5px solid transparent;color:#555}
.map-panel{position:relative}.map-caption{z-index:500;bottom:30px!important}.map-canvas.leaflet-container{background-image:none}
.home-filters .filter-row{grid-template-columns:repeat(5,minmax(0,1fr)) minmax(0,1.6fr) auto!important}.filter input{border:0;background:transparent;width:100%;min-width:0;padding:6px 0;font:inherit}
.filter-scope{font-size:12px;color:#596274;margin:0 0 12px}.filter{min-width:0}.filter select{max-width:100%}
.home-workspace.list-only{grid-template-columns:1fr}.home-workspace.list-only .dashboard-strips{display:none}.home-workspace.list-only .property-list{max-height:none;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
#homeStatus{font-size:12px;line-height:1.5;color:#596274}.leaflet-container .leaflet-control-attribution{font-size:12px}.home-map-controls .type-tabs{overflow-x:auto}
@media(max-width:760px){.home-filters .filter-row{grid-template-columns:1fr 1fr!important}.home-map-controls .type-tabs{grid-template-columns:repeat(3,1fr)!important}.home-workspace.list-only .property-list{grid-template-columns:1fr}}
:root{--red:#e20b16;--ink:#111318;--muted:#53565d;--line:#ececee;--shadow:0 2px 7px #20252e0b;font-family:Arial,"Segoe UI",sans-serif;background:#fafafa}
body{background:#fafafa;font-size:13px}
.topbar{height:80px;padding:12px 24px 12px 18px;gap:28px;background:#fff;box-shadow:0 2px 8px #00000005}
.brand{min-width:264px}.brand img{width:48px;height:54px;margin-right:5px}.brand b{font-size:30px;font-weight:700;letter-spacing:-1.3px;color:#e20b16}.brand b span{color:#111}.brand small{font-size:12px;letter-spacing:0;font-weight:400;color:#222;margin-top:0}
.global-search{max-width:none;border-radius:9px;height:46px;box-shadow:none;min-width:100px}.global-search input{min-width:0;font-size:12px}.global-search button{border-radius:8px;width:58px}
.top-actions{gap:18px;flex-shrink:0}.language{font-size:12px;font-weight:400;background:#fafafa;padding:12px}.profile-button{padding:4px;gap:10px;font-size:12px}.top-action{font-size:21px}.top-action small{font-size:10px;margin-top:4px}
.app-shell{grid-template-columns:258px minmax(0,1fr);min-height:810px}.sidebar{top:80px;height:810px;padding:20px 12px 10px 0;background:#fff}.sidebar nav{gap:7px}.sidebar nav a{height:41px;padding:9px 16px 9px 28px;border-radius:0 8px 8px 0;gap:17px}.sidebar nav b{font-size:13px;font-weight:400}.sidebar nav small{display:none}.sidebar nav a.active:before{left:0;height:38px;width:6px}.sidebar nav a:nth-child(6),.sidebar nav a:nth-child(11){margin-top:13px}.sidebar nav a.active{background:linear-gradient(90deg,#fff0f1,#fcf6f6)}.sidebar footer{margin-top:20px;font-size:10px}.sidebar nav em{font-size:11px;padding:4px 9px}
.ui-icon{width:20px;height:20px;display:inline-block;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
main{padding:10px 22px 18px 26px}.home-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;min-height:38px}.home-heading>div{display:flex;align-items:center;gap:22px}.home-heading h1{font-size:18px;letter-spacing:-.4px;margin:0;font-weight:600}.location-pill{font-size:11px;padding:7px 10px;background:#fff;border:1px solid var(--line);border-radius:5px;white-space:nowrap}.home-heading .primary{padding:11px 18px;font-size:13px;border-radius:7px;box-shadow:none}
.home-filters .filter-row{grid-template-columns:repeat(5,minmax(85px,1fr)) 120px;gap:15px;margin:0 0 14px}.filter{border-radius:6px;padding:7px 11px;box-shadow:0 2px 6px #00000007}.filter label{font-size:11px;color:#242424}.filter select{font-size:11px;font-weight:400}.glass-button{font-size:11px;font-weight:400;border-radius:6px}
.home-workspace{display:grid;grid-template-columns:minmax(0,2fr) minmax(310px,1fr);gap:10px;align-items:start}.home-left{min-width:0}.home-map-controls{display:flex;gap:10px;align-items:stretch;height:47px;margin-bottom:2px}.home-map-controls .type-tabs{flex:1;min-width:0;margin:0;border-radius:7px;box-shadow:var(--shadow)}.type-tabs button{font-size:12px;padding:10px 4px;border-bottom-width:2px;white-space:nowrap}.home-map-controls .segmented{align-self:center;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow);padding:3px}.segmented button{font-size:12px;padding:9px 11px;border-radius:5px}
.map-panel{border-radius:8px;overflow:hidden;box-shadow:none}.map-canvas{height:395px;min-height:395px;background:#edf1ed}.map-canvas:after{display:none}.map-canvas iframe{border:0;width:100%;height:100%;display:block}.map-caption{position:absolute;bottom:12px;right:12px;padding:11px 13px;border-radius:6px;background:#fff;border:1px solid #ddd;box-shadow:var(--shadow);font-size:12px;text-decoration:none;color:var(--ink)}
.home-results{border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 9px 10px;box-shadow:var(--shadow);min-width:0}.home-results .map-toolbar{padding:10px 4px;height:43px;border:0;font-size:12px}.home-results select{border:0;background:transparent;font-size:11px;max-width:115px}.home-results .property-list{max-height:552px;gap:10px;grid-template-columns:1fr}.home-results .property-card{grid-template-columns:48% minmax(0,1fr);min-height:174px;border-radius:7px;box-shadow:0 1px 3px #00000006}.property-info{padding:10px 10px 7px}.property-info h3{font-size:13px;line-height:1.35;font-weight:500;margin:10px 0 7px}.property-info .location{font-size:11px;color:#333;line-height:1.35}.property-info .price{font-size:16px;font-weight:500;margin:9px 0}.metrics{justify-content:space-between;gap:5px;font-size:10px}.verified{font-size:9px}.home-results .empty-state{margin:0;padding:50px 15px;min-height:540px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;background:#fafbfc;border-style:solid}.home-results .empty-state b{font-size:15px}.home-results .page-loading{min-height:540px}.results-more{display:block;padding:12px;text-align:center;text-decoration:none;color:#111;border:1px solid var(--line);border-radius:6px;margin-top:13px;font-size:12px;box-shadow:var(--shadow)}
.dashboard-strips{grid-template-columns:1.3fr 1fr .86fr;gap:10px;margin-top:12px}.dashboard-strips .panel{padding:12px 10px;border-radius:7px;min-width:0;min-height:216px}.panel>header{gap:5px;font-size:12px;padding-bottom:10px;border-bottom:1px solid #f0f0f0;margin-bottom:9px}.panel>header b{font-weight:500}.panel>header a{font-size:10px;white-space:nowrap;text-decoration:none}.mini-row b{font-size:10px;font-weight:400;line-height:1.3}.mini-row small{font-size:9px;line-height:1.4}.mini-row img{width:45px;height:43px;border-radius:4px}.mini-row{gap:7px;text-decoration:none;color:inherit}.home-trending{display:grid;grid-template-columns:1fr 1fr;gap:9px}.home-trending .mini-row{display:block;min-width:0;border:1px solid var(--line);border-radius:5px;overflow:hidden}.home-trending img{width:100%;height:74px;border-radius:0}.home-trending .mini-row span{display:block;padding:5px}.home-trending small{display:block;color:var(--red);font-size:12px;margin-top:5px}.mini-empty{font-size:11px;line-height:1.7;color:var(--muted);margin:22px 0}
.site-footer{display:grid;grid-template-columns:2fr repeat(4,1fr) 1.6fr;gap:25px;padding:20px 30px 22px;background:#fff;border-top:1px solid var(--line);min-height:135px}.site-footer h3{font-size:11px;font-weight:500;margin:0 0 12px}.site-footer a:not(.brand):not(.store-link){display:block;text-decoration:none;color:#303238;font-size:10px;line-height:1.9}.footer-brand .brand{min-width:0;margin-bottom:20px}.footer-brand .brand img{width:32px;height:38px}.footer-brand .brand b{font-size:23px}.footer-brand .brand small{font-size:9px}.footer-brand>small{font-size:10px}.store-link{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;background:#090909;border-radius:5px;color:white;text-decoration:none;font-size:17px}.store-link>span:first-child{font-size:27px;color:#50d585}.store-link small{display:block;font-size:8px;letter-spacing:.6px}
@media(min-width:1700px){.map-canvas{height:475px}.home-results .property-list{max-height:632px}.app-shell,.sidebar{min-height:890px}.sidebar{height:890px}}
@media(max-width:1250px){.brand{min-width:210px}.brand b{font-size:25px}.topbar{gap:15px}.top-actions{gap:7px}.app-shell{grid-template-columns:220px 1fr}.sidebar nav a{padding-left:20px;gap:12px}.home-workspace{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)}.home-map-controls{height:auto;flex-wrap:wrap}.home-map-controls .type-tabs{flex-basis:100%}.home-map-controls .segmented{margin-left:auto}.dashboard-strips{grid-template-columns:1fr 1fr}.dashboard-strips>*:last-child{grid-column:1/-1}.home-heading>div{display:block}.location-pill{display:inline-block;margin-top:7px}.site-footer{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1000px){.home-workspace{grid-template-columns:1fr}.home-results .property-list{grid-template-columns:1fr 1fr;max-height:none}.home-results .empty-state{min-height:180px;grid-column:1/-1}.home-results .page-loading{min-height:180px}.home-map-controls{flex-wrap:nowrap}.home-map-controls .type-tabs{flex-basis:auto}.home-filters .filter-row{grid-template-columns:repeat(3,1fr)}.brand>span{display:block}.top-action small{display:none}.global-search{height:42px}.language{font-size:10px}.profile-button>span:not(.avatar){display:none}}
@media(max-width:760px){.topbar{height:64px;padding:8px;gap:8px}.brand{min-width:0}.brand img{width:35px;height:42px}.brand b{font-size:23px}.brand small{font-size:8px}.global-search{height:42px;top:68px}.top-actions{gap:0}.app-shell{display:block;min-height:0;padding-top:56px}.sidebar{top:0;height:100dvh;padding-top:75px;width:min(310px,85vw)}main{padding:12px}.home-heading h1{font-size:16px}.home-heading .primary{font-size:11px;padding:10px}.home-map-controls{flex-wrap:wrap}.home-map-controls .type-tabs{flex-basis:100%;display:grid;grid-template-columns:repeat(5,1fr)}.type-tabs button{min-width:0;font-size:10px}.home-results .property-list{grid-template-columns:1fr}.home-results .property-card{min-height:170px}.map-canvas{height:350px;min-height:350px}.dashboard-strips{grid-template-columns:1fr}.dashboard-strips>*:last-child{grid-column:auto}.site-footer{grid-template-columns:1fr 1fr;padding:20px 15px;gap:24px}.footer-brand{grid-column:1/-1}.footer-brand .brand{display:flex}.brand{display:flex}.profile-button{display:none}.home-filters .filter-row{gap:8px}.dashboard-strips .panel{min-height:160px}.topbar .brand>span{display:none}}
