/* Home actions replace the existing single button row, preserving the dock. */
body.welcome-mode #app .home-editorial .home-search-actions{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:5px;min-width:0}
body.welcome-mode #app .home-editorial .home-search-actions>button{grid-column:auto;grid-row:auto;display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-width:0;min-height:50px;height:auto;margin:0;padding:9px 10px;border-radius:999px;font-size:clamp(18px,4.8vw,24px);font-weight:750;line-height:1.3;white-space:nowrap}
body.welcome-mode #app .home-editorial .home-search-actions>.home-search-submit{background:linear-gradient(120deg,#1256ec,#3678ed);color:white;border:1px solid #1256ec;box-shadow:0 4px 14px #1256ec24}
body.welcome-mode #app .home-editorial .home-discover{background:rgba(255,255,255,.65);color:#1256ec;border:1.5px solid #1256ec;box-shadow:0 3px 12px #1256ec0d;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
body.welcome-mode #app .home-editorial .home-discover:hover{background:rgba(255,255,255,.85)}
body.welcome-mode #app .home-editorial .home-search-actions>.home-search-submit:hover{background:#0a47ce}
body.welcome-mode #app .home-search-actions svg{width:22px;height:22px;flex:none}
body #app .results-view .results-discover{color:#1256ec;background:#edf4ff;border:1px solid #bbd0f1;border-radius:999px}
body #app .results-view .results-discover>span{white-space:nowrap}
@media(max-width:380px){body #app .results-view .results-discover>span{display:none}}
body.reels-open{overflow:hidden}
.property-reels{position:fixed;inset:0;z-index:1500;height:100dvh;background:radial-gradient(ellipse at top,#2c465c,#0b1724 75%);color:#fff;overscroll-behavior:none;isolation:isolate}
.property-reels *{box-sizing:border-box}
.reels-frame{position:relative;width:100%;height:100%;max-width:600px;margin:auto;background:#162738;box-shadow:0 0 100px #0006}
.reels-header{position:absolute;z-index:5;inset:0 0 auto;display:flex;align-items:flex-start;gap:7px;padding:max(14px,env(safe-area-inset-top)) 12px 35px;background:linear-gradient(#0009,transparent);pointer-events:none}
.reels-header>*{pointer-events:auto}
.reels-header>div{flex:1;min-width:0;padding-top:4px}
.reels-header h2{display:flex;align-items:center;gap:7px;font-size:19px;font-weight:700;line-height:1.4;color:white}
.reels-header p{font-size:11px;line-height:1.6;opacity:.85;max-width:290px;margin-top:3px}
.property-reels button{color:inherit;touch-action:manipulation}
.reels-header>button,.reels-paging>button{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #ffffff30;border-radius:50%;background:#192b4266;backdrop-filter:blur(12px)}
.reels-track{height:100%;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.reels-track::-webkit-scrollbar,.reels-photos::-webkit-scrollbar{display:none}
.reels-slide{position:relative;width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;isolation:isolate;background:#1c3042}
.reels-photos{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.reels-photos figure{flex:0 0 100%;width:100%;height:100%;margin:0;scroll-snap-align:start;scroll-snap-stop:always;position:relative;background:#1c3042}
.reels-photos img{width:100%;height:100%;object-fit:cover;display:block;user-select:none;-webkit-user-drag:none}
.reels-photos img:not([src]),.reels-photos img[hidden]{display:none}
.reels-photo-state{position:absolute;top:38%;left:20px;right:20px;display:flex;flex-direction:column;align-items:center;gap:12px;color:#dce9f5;font-size:14px;text-align:center;z-index:2}
.reels-photo-state [hidden]{display:none}
.reels-photos figure[data-photo-state=loading] [data-photo-status]::before{content:'';display:block;width:24px;height:24px;margin:0 auto 12px;border:2px solid #ffffff25;border-top-color:#bad7ff;border-radius:50%;animation:reel-photo-loading .85s linear infinite}
.property-reels .reels-photo-state button{min-height:44px;padding:8px 18px;border:1px solid #ffffff65;border-radius:999px;background:#ffffff16;color:#fff;font:inherit;backdrop-filter:blur(12px)}
@keyframes reel-photo-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.reels-photos figure[data-photo-state=loading] [data-photo-status]::before{animation:none}}
.reels-no-photo{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#d0dce7;padding-bottom:120px}
.reels-no-photo svg{width:56px;height:56px}
.reels-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#06111cf5 0%,#06111cbd 18%,#06111c22 51%,transparent 65%)}
.reels-info{position:absolute;bottom:0;inset-inline:0;z-index:2;padding:18px 20px calc(22px + env(safe-area-inset-bottom));pointer-events:none}
.reels-info button{pointer-events:auto}
.reels-badges{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:9px;padding-inline-end:64px}
.reels-badges span{padding:4px 10px;background:#ffffff22;border:1px solid #ffffff35;border-radius:999px;font-size:12px;backdrop-filter:blur(8px)}
.reels-price{display:block;font-size:clamp(25px,5vw,34px);line-height:1.3;padding-inline-end:64px;overflow-wrap:anywhere}
.reels-info h3{font-size:21px;line-height:1.5;margin:5px 0 0;padding-inline-end:64px;overflow-wrap:anywhere;color:white}
.reels-location{font-size:14px;opacity:.88;padding-inline-end:64px;line-height:1.5}
.reels-specs{display:flex;gap:0;margin:13px 0 16px;font-size:15px}
.reels-specs>span+span{border-inline-start:1px solid #ffffff60;padding-inline-start:12px;margin-inline-start:12px}
.reels-cta{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.reels-cta button,.reels-empty button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 14px;border-radius:999px;background:#125bea;font-size:15px;font-weight:600}
.reels-cta button+button{background:#ffffff20;border:1px solid #ffffff60;backdrop-filter:blur(10px)}
.reels-actions{position:absolute;z-index:3;inset-inline-end:12px;bottom:calc(170px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}
.reels-actions button{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;width:46px;min-height:50px;padding:5px 2px;border-radius:999px;background:#ffffff16;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid #ffffff45;box-shadow:0 2px 12px #07182914}
.reels-actions svg{width:25px;height:25px}
.reels-actions span{font-size:10px}
.reels-actions .saved svg{fill:#ff4d6e;stroke:#ff4d6e}
.reels-photo-controls{position:absolute;z-index:2;inset:0;display:flex;align-items:center;justify-content:space-between;pointer-events:none;padding-inline:12px}
.reels-photo-controls button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102b4255;border:1px solid #ffffff44;pointer-events:auto}
.reels-photo-count{position:absolute;left:16px;top:calc(108px + env(safe-area-inset-top));padding:4px 9px;border-radius:999px;background:#ffffff1f;border:1px solid #ffffff45;backdrop-filter:blur(12px);font-size:12px;line-height:1.3;pointer-events:none}
.reels-paging{position:absolute;z-index:4;bottom:max(12px,env(safe-area-inset-bottom));inset-inline:16px;display:flex;justify-content:center;align-items:center;gap:15px;pointer-events:none}
.reels-paging>*{pointer-events:auto}
.reels-position{font-size:12px;direction:ltr;min-width:55px;text-align:center}
.reels-paging button{width:40px;height:40px}
.reels-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:100px 26px;text-align:center}
.reels-empty>span svg{width:48px;height:48px}
.property-reels button:focus-visible,.reels-track:focus-visible{outline:3px solid #8ec5ff;outline-offset:-3px}
@media(min-width:761px){.reels-frame{max-width:min(600px,calc(100dvh * .8))}}
@media(max-height:620px){.reels-header p{display:none}.reels-info{padding-top:8px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.reels-info h3{font-size:17px}.reels-price{font-size:24px}.reels-specs{margin:7px 0 10px}.reels-badges{margin-bottom:5px}.reels-actions{bottom:180px;gap:5px}.reels-actions button{min-height:48px}.reels-photo-count{top:calc(72px + env(safe-area-inset-top))}}
@media(prefers-reduced-motion:reduce){.property-reels *{scroll-behavior:auto!important}}

body.reels-open .modal-backdrop{z-index:1700}
@media(max-width:760px) and (max-height:700px){body.welcome-mode #app .home-publish{margin-top:18px}}

/* Transparent glass surrounds the existing floating controls; their order stays intact. */
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.browse-mode) #app :is(.home-bottom-nav,.map-navigation-dock){padding:5px 9px;background:rgba(255,255,255,.38);border:1px solid #ffffff80;box-shadow:0 4px 18px #173b5914;backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%)}
body.browse-mode #app .map-navigation-dock{padding:5px 9px;background:rgba(255,255,255,.38)}
.reels-header>button,.reels-paging>button,.reels-photo-controls button{background:#ffffff18;border-color:#ffffff48;box-shadow:0 2px 12px #07182912;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
body.welcome-mode #app .home-editorial .welcome-search-field:before,body.welcome-mode #app .home-editorial #welcome-search{border-radius:999px}
body #app #smart-submit{border-radius:999px}
.property-audio{margin:20px 0;padding:14px;border:1px solid #e2e8ef;border-radius:18px;background:#fff}
.property-audio h3{font-size:17px;margin-bottom:4px}.property-audio p{font-size:13px;overflow-wrap:anywhere;color:#62778a;margin:0 0 10px}
.property-audio audio{width:100%;display:block;max-width:100%;height:44px}
.audio-rights{display:flex;align-items:center;gap:9px;margin:12px 0;font-size:14px}.audio-rights input{width:18px;min-height:18px;flex:none}
.seller-audio>p{font-size:14px;line-height:1.7;margin:10px 0}
.reels-badges .reels-audio-button{display:flex;align-items:center;min-height:32px;padding:4px 11px;border-radius:999px;background:#ffffff20;border:1px solid #ffffff50;font-size:12px;pointer-events:auto;backdrop-filter:blur(12px)}
.reels-slide>audio{display:none}
@media(max-width:360px){body.welcome-mode #app .home-editorial .home-search-actions{gap:7px}body.welcome-mode #app .home-editorial .home-search-actions>button{font-size:17px;padding-inline:7px}}

/* Reels controls sit directly on the photograph. */
.property-reels .reels-actions button{background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;width:50px;min-height:59px;padding:4px 0;gap:5px;color:#fff;text-shadow:0 1px 5px #0009}
.property-reels .reels-actions svg{width:33px;height:33px;stroke-width:2;filter:drop-shadow(0 1px 3px #0005)}
.property-reels .reels-actions span{font-size:13px;font-weight:700;line-height:1.3}
.reels-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.reels-header{gap:4px;padding-inline:8px}
.reels-header>div{padding-top:0}
.reels-feed-tabs{display:flex;align-items:center;justify-content:center;gap:15px;min-height:44px}
.reels-feed-tabs button{font-size:clamp(14px,3.9vw,18px);font-weight:700;white-space:nowrap;padding:9px 0 7px;background:none;border:0;border-bottom:3px solid transparent;opacity:.7;text-shadow:0 1px 5px #0009;min-height:44px}
.reels-feed-tabs button[aria-pressed=true]{border-bottom-color:#fff;opacity:1}
.reels-header p{text-align:center;margin-top:6px}
.reels-header>button{background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;filter:drop-shadow(0 1px 3px #0007)}
.reels-photo-count{z-index:3}
body.reels-open .reels-details-backdrop{align-items:flex-end;padding:0;background:#06111c44;backdrop-filter:none;-webkit-backdrop-filter:none}
body.reels-open .modal.reels-details-sheet{position:relative;display:flex;flex-direction:column;width:min(600px,100%);height:82dvh;max-height:calc(100dvh - env(safe-area-inset-top) - 24px);min-height:0;margin:0 auto;border-radius:26px 26px 0 0;overflow:hidden;background:#f4f8fc;animation:reels-details-enter .3s cubic-bezier(.2,.75,.25,1);transform:translateY(0);box-shadow:0 -10px 50px #00152930}
@keyframes reels-details-enter{from{transform:translateY(100%)}to{transform:translateY(0)}}
body .reels-details-sheet .property-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 0 max(18px,env(safe-area-inset-bottom))}
body .reels-details-sheet .property-media,body .reels-details-sheet>.property-actions{display:none}
body .reels-details-sheet .property-body{padding:12px 22px 24px!important}
body .reels-details-sheet .reels-details-grip{display:flex;align-items:center;justify-content:center;min-height:35px;height:35px;width:calc(100% - 100px);margin:0 auto;flex-shrink:0;touch-action:none;cursor:grab}
.reels-details-grip>span{width:42px;height:5px;border-radius:999px;background:#8497aa80}
body .reels-details-sheet>.modal-close{top:7px}
body .reels-details-sheet .property-photo-tools{position:static;display:flex;gap:8px;transform:none;background:none;padding:0;margin-inline-start:auto;box-shadow:none}
body .reels-details-sheet .property-photo-tools .property-share{position:static}
body .reels-details-sheet .property-meta{padding:0;gap:10px}
.reels-sheet-audio{margin:12px 0}
.reels-sheet-audio .reels-audio-button{padding:8px 16px;border-radius:999px;background:#e3edfc;color:#125bea;font-size:14px;font-weight:650;min-height:44px}
@media(max-width:360px){.reels-feed-tabs{gap:9px}.reels-header>button{width:36px}.reels-feed-tabs button{font-size:14px}}
@media(prefers-reduced-motion:reduce){body.reels-open .modal.reels-details-sheet{animation:none}}

body.browse-mode #app .reels-map-back{position:fixed;z-index:1100;top:calc(var(--header-height,0px) + max(10px,env(safe-area-inset-top)));right:max(12px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #ffffffb3;border-radius:999px;background:#f6faffd9;color:#1755b2;box-shadow:0 3px 14px #153b6026;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
body.browse-mode #app .reels-map-back svg{width:24px;height:24px}
body.browse-mode #app .has-reels-return .smart-dock{right:70px;max-width:calc(100% - 86px)}

.reels-feed-tabs{gap:14px}.reels-preference-chip{display:block;max-width:100%;margin:4px auto 0;padding:5px 10px;border:1px solid #ffffff50;border-radius:999px;background:#0003;color:white;font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reels-preference-chip[hidden]{display:none}
.reels-search-dialog{width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 40px);overflow:auto;margin:auto;padding:24px;border:0;border-radius:24px;background:#fff;color:#162738;box-shadow:0 20px 70px #0005;z-index:3000}.reels-search-dialog::backdrop{background:#07182999;backdrop-filter:blur(5px)}.reels-search-dialog h2{margin:0 0 20px}.reels-search-dialog [data-cancel]{float:inline-end}.reels-search-dialog .field{display:grid;position:relative;gap:7px;margin:14px 0}.reels-search-dialog input,.reels-search-dialog select{width:100%;min-height:44px;padding:10px;border:1px solid #cbd7e3;border-radius:12px;font:inherit}.reels-search-dialog small{display:block;line-height:1.7;color:#536579}.reels-search-dialog .bm-actions{margin-top:18px;flex-wrap:wrap}.reels-search-dialog [data-location-status]{font-size:14px;line-height:1.7}.reels-search-dialog .address-autocomplete{z-index:2}.reels-photo-count{top:calc(130px + env(safe-area-inset-top))}
@media(max-width:360px){.reels-feed-tabs{gap:10px}.reels-feed-tabs button{font-size:14px}.reels-header>button{width:34px}}

/* Discover entry points and advertiser action. */
body.welcome-mode #app .home-editorial .home-discover>svg{width:36px;height:36px;flex:none}
body.welcome-mode #app .home-publish{border-radius:999px}
.property-reels .reels-cta [data-reels-contact]{background:linear-gradient(135deg,#2878e88c,#1256ec52);color:#fff;border:1px solid #a9d0ff85;box-shadow:inset 0 1px 0 #dbeeff45,0 3px 16px #084bb526;backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%);font-weight:700;text-shadow:0 1px 3px #0005}
.property-reels .reels-cta [data-reels-contact]:hover{background:linear-gradient(135deg,#2878e8a6,#1256ec70)}
body.welcome-mode #app .home-discover:focus-visible{outline:3px solid #1256ec;outline-offset:3px}
.reels-photo-count{top:calc(106px + env(safe-area-inset-top))}

/* A first click waits for the existing catalog request, then opens Discover. */
body #app :is(#welcome-discover,[data-discover])[aria-busy=true]{cursor:progress;opacity:.85}
body #app :is(#welcome-discover,[data-discover])[aria-busy=true]>svg{display:none}
body #app :is(#welcome-discover,[data-discover])[aria-busy=true]::before{content:"";width:19px;height:19px;flex:none;border:2px solid #1256ec40;border-top-color:#1256ec;border-radius:50%;animation:discover-loading .8s linear infinite}
body.welcome-mode #app .home-editorial #welcome-discover[aria-busy=true]{font-size:clamp(16px,4.3vw,20px);gap:7px}
@keyframes discover-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){body #app :is(#welcome-discover,[data-discover])[aria-busy=true]::before{animation:none}}

.reels-search-dialog .reels-picker-close{display:grid;place-items:center;width:44px;height:44px;padding:6px;margin:-6px -6px 0 10px;border:0;border-radius:0;background:transparent;color:#162738;box-shadow:none;cursor:pointer;outline:none}.reels-search-dialog .reels-picker-close svg{width:30px;height:30px}.reels-search-dialog .reels-picker-close:hover{color:#1256ec}.reels-search-dialog .reels-picker-close:focus-visible{outline:2px solid #1256ec;outline-offset:2px}
/* Scroll only the fields; keep actions fully inside the viewport. */
body .modal-backdrop:has(.preferences-window){padding:16px}
@media(max-width:760px){body .modal-backdrop:has(.preferences-window){padding:10px}}
body .modal.preferences-window{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);overflow:hidden;border-radius:24px;position:relative}
body .modal.preferences-window .modal-body{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:22px;flex:1}
body .preferences-window .modal-close{position:absolute;top:12px;left:12px;margin:0;z-index:4}
body .preferences-window h2{flex:none;margin:0 0 14px;padding-inline-end:48px;font-size:24px}
body .preferences-window .reels-filter-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 2px 12px}
body .preferences-window .preference-footer{flex:none;background:#fff;padding-top:10px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #e5ebf2}
body .preferences-window .preference-footer .preference-note{margin:0 0 8px;font-size:12px;line-height:1.4}
body .preferences-window .preference-actions{position:static;display:flex;gap:10px;padding:0;background:transparent}
body .preferences-window .preference-actions button{border-radius:999px;min-height:48px;padding:10px 18px;white-space:normal;text-align:center;font-size:16px;line-height:1.4}
body .preferences-window .preference-actions .primary{background:#1256ec;color:#fff;flex:1}
body .preferences-window .preference-actions .soft{background:#eaf1ff;color:#1256ec;flex:0 0 auto}
.reels-radius-field{padding:8px 0 18px;border-bottom:1px solid #e2eaf3;margin-bottom:18px}
.reels-radius-field>label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-weight:700;font-size:16px}
.reels-radius-field output{color:#1256ec;font-size:18px}
.reels-radius-field input[type=range]{display:block;width:100%;min-height:44px;margin:4px 0;accent-color:#1256ec;padding:0;cursor:pointer}
.reels-range-ends{display:flex;justify-content:space-between;font-size:12px;color:#63768a}
.reels-radius-field .soft{border-radius:999px;margin-top:10px}
.reels-basic-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.reels-basic-filters .field{min-width:0;font-size:14px}.reels-basic-filters input,.reels-basic-filters select{width:100%;min-width:0;min-height:44px;font-size:16px;border-radius:14px}.reels-basic-filters [hidden]{display:none}
.property-reels .reels-header>button.reels-filters-active{background:transparent;color:#1256ec;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;filter:none}
.property-reels .reels-header>button.reels-filters-active svg{filter:drop-shadow(0 0 4px #7aa9ff99) drop-shadow(0 0 11px #1256ec66)}
body .property-window .property-finance-band{border-radius:999px;background:#1256ec;color:#fff;overflow:hidden}
body .property-window .property-finance-band .property-finance,body .property-window .property-finance{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;border-radius:999px;background:#1256ec;color:white;min-height:48px}
body .property-window .property-finance-band .property-finance:hover,body .property-window .property-finance:hover{background:#0c47ce}
body .property-window .property-finance span{text-align:center}
.reels-search-dialog .bm-actions button,.reels-search-dialog [data-locate]{border-radius:999px}
.reels-search-dialog .reels-picker-close{font-size:34px;line-height:1}
@media(max-width:760px){body .modal.preferences-window{max-height:calc(100dvh - 20px)}body .modal.preferences-window .modal-body{padding:18px 14px 12px}body .preferences-window h2{font-size:21px}body .preferences-window .preference-actions button{padding:10px 14px;font-size:16px}}

.property-reels .reels-header>[data-reels-search]{font-weight:700;width:50px;height:50px;padding:8px}
.property-reels .reels-header>[data-reels-search] svg{width:33px;height:33px;stroke-width:2.6}
/* Publication stays above the mounted feed and shares the existing seller form. */
body.reels-open .modal-backdrop:has(.reels-publish-window){padding:12px;background:#06111c70;align-items:center}
body .modal.reels-publish-window{display:flex;flex-direction:column;width:min(680px,100%);height:min(860px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);min-height:0;overflow:hidden;border-radius:26px;background:#f8fbff;color:#162e40;animation:reels-details-enter .3s ease}
body .reels-publish-window .modal-close{position:absolute;left:14px;top:14px;width:44px;height:44px;border:0;background:transparent;box-shadow:none;z-index:5}
.reel-publish-heading{flex:none;padding:20px 22px 14px;padding-inline-end:68px;border-bottom:1px solid #e3eaf4;background:#fff}
.reel-publish-heading h2{font-size:24px;font-weight:800;margin:0}.reel-publish-heading p{font-size:14px;color:#61748a;margin-top:5px}
body .reels-publish-window [hidden]{display:none!important}
body .reels-publish-window .seller-page,body .reels-publish-window .seller-content,body .reels-publish-window .seller-workspace,body .reels-publish-window .seller-layout,body .reels-publish-window .seller-form{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden}
body .reels-publish-window .seller-sidebar,body .reels-publish-window .seller-draft-toolbar,body .reels-publish-window .seller-cancel{display:none}
body .reels-publish-window .reel-publish-fields{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 22px 24px}
body .reels-publish-window .seller-form-footer{position:static;flex:none;margin:0;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-radius:0;gap:8px;background:#fff;flex-wrap:wrap}
body .reels-publish-window .seller-form-footer button{border-radius:999px;font-weight:700;padding:10px 14px;min-height:44px;white-space:normal}
body .reels-publish-window #sell-error{flex:none;margin:0;padding:8px 18px;background:#fff1f1;max-height:72px;overflow:auto}
body .reels-publish-window .seller-form-footer .primary{background:#1256ec;color:#fff}
body .reels-publish-window .seller-stepper{grid-template-columns:1fr 1fr}
body .reels-publish-window .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body .reels-publish-window .field input,body .reels-publish-window .field select,body .reels-publish-window .field textarea{font-size:16px}
.reel-publish-back{border-radius:999px;padding:9px 16px;margin-bottom:10px}
.reel-publish-media{display:flex;flex-direction:column;flex:1;min-height:0}
.reel-publish-media-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px}
.reel-publish-media h3{font-size:22px;margin-bottom:8px}.reel-publish-media p{font-size:14px;line-height:1.65;color:#536b83}
.reel-publish-media-actions{margin:22px 0 12px}.reel-publish-media-actions button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border-radius:999px;min-height:50px;color:#1256ec;border:1px solid #b7ccf8;background:#eaf1ff;font-weight:700}
.reel-publish-media-actions svg{width:24px;height:24px}.reel-publish-media .seller-upload{border-radius:22px;background:#fff;border-color:#a7c3f2;cursor:pointer}
.reel-publish-media .upload-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.reel-publish-media .upload-thumbs img{width:100%;height:110px;object-fit:cover}.reel-publish-media .seller-photo{min-width:0}
.reel-publish-media-footer{display:flex;gap:10px;flex:none;padding:14px 18px max(14px,env(safe-area-inset-bottom));border-top:1px solid #e3eaf4;background:#fff}
.reel-publish-media-footer button{border-radius:999px;min-height:48px;padding:10px 15px;font-size:15px;font-weight:700;white-space:normal}.reel-publish-media-footer .primary{flex:1;background:#1256ec}
.reel-publish-celebration{position:fixed;inset:0;z-index:2500;pointer-events:none;display:grid;place-items:center;overflow:hidden}
.reel-publish-success{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:25px 30px;border-radius:24px;background:#fffffff0;color:#1256ec;box-shadow:0 10px 70px #05204c55;backdrop-filter:blur(18px);text-align:center;max-width:calc(100vw - 32px)}
.reel-publish-success strong{font-size:38px;font-weight:800}.reel-publish-success span{font-size:23px;font-weight:700}
.reel-publish-celebration>i{position:absolute;top:-20px;left:var(--x);width:9px;height:15px;border-radius:2px;animation:reel-confetti 3.6s var(--delay) ease-in both}
@keyframes reel-confetti{from{transform:translate3d(0,-25px,0) rotate(0);opacity:1}to{transform:translate3d(var(--drift),110dvh,0) rotate(var(--spin));opacity:0}}
@media(max-width:420px){.reel-publish-heading{padding-inline-start:16px}.reel-publish-heading h2{font-size:22px}body .reels-publish-window .reel-publish-fields{padding:16px}.reel-publish-media-scroll{padding:18px}.reel-publish-media-footer{padding-inline:12px;gap:6px}.reel-publish-media-footer button{font-size:14px;padding-inline:12px}.reel-publish-media .upload-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))}.reel-publish-success span{font-size:20px}}
@media(max-height:600px){.property-reels .reels-actions{gap:3px;bottom:150px}.property-reels .reels-actions button{min-height:42px}.property-reels .reels-actions svg{width:26px;height:26px}.property-reels .reels-actions span{font-size:11px}}
@media(prefers-reduced-motion:reduce){body .modal.reels-publish-window,.reel-publish-celebration>i{animation:none}}

/* One aligned tools column in the details sheet, using the original actions. */
body .reels-details-sheet .property-meta{position:relative;min-height:42px;padding-inline-end:76px;align-items:flex-start}
body .reels-details-sheet .property-meta .eyebrow{font-size:clamp(20px,2.5vw,26px);font-weight:800;line-height:1.4}
body .reels-details-sheet .property-photo-tools{position:absolute;left:auto;right:auto;inset-inline-end:0;top:0;border:0;border-radius:0;flex-direction:column;align-items:center;width:64px;gap:8px;margin:0;z-index:2}
body .reels-details-sheet .property-photo-tools .property-secondary-actions{display:flex;flex-direction:column;margin:0;padding:0;width:100%;justify-content:center}
body .reels-details-sheet .property-photo-tools button{margin:0;min-width:44px;min-height:44px;align-self:center}
body .reels-details-sheet .property-heading{padding-inline-end:76px}
.reels-personal-editor{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(24px,env(safe-area-inset-bottom))}
.reels-personal-editor .bm-setup-layout{display:block}
.reels-personal-editor .bm-actions{display:flex;flex-wrap:wrap}
.reels-personal-editor .bm-actions button{border-radius:999px}
.reels-personal-editor .bm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.reels-personal-editor .bm-field{min-width:0}
@media(max-width:480px){.reels-personal-editor .bm-grid{grid-template-columns:1fr}}

/* Automatic Home discovery keeps the real search/publish controls above the feed. */
.reels-home-idle .reels-home-controls{position:absolute;z-index:6;inset:max(76px,calc(env(safe-area-inset-top) + 60px)) 16px auto;display:grid;gap:10px;background:none;border:0;box-shadow:none}
.reels-home-controls #welcome-search-form{margin:0;width:100%;background:none;border:0;padding:0}
.reels-home-controls .welcome-search-field{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;background:none;padding:0;border:0;box-shadow:none}
.reels-home-controls #welcome-search{grid-row:1;grid-column:1/-1;width:100%;min-width:0;height:48px;padding:10px 14px;padding-inline-end:48px;border-radius:999px;border:1px solid #ffffffa0;background:#ffffffdf;color:#19384d;font-size:16px}
.reels-home-controls .voice-search-button{grid-column:2;grid-row:1;z-index:1;color:#1256ec;background:none;border:0;padding:8px;width:44px;height:48px}
.reels-home-controls .voice-search-button svg{width:26px;height:26px}
.reels-home-controls .home-voice-hint{display:none}
.reels-home-controls .home-search-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.reels-home-controls .home-search-actions>button,.reels-home-controls .home-publish{display:flex;justify-content:center;align-items:center;gap:7px;min-height:44px;width:100%;margin:0;padding:9px 10px;border-radius:999px;font-size:clamp(16px,4vw,21px);font-weight:750;line-height:1.3}
.reels-home-controls .home-search-submit{background:#1256ec;border:1px solid #1256ec;color:white}
.reels-home-controls .home-discover,.reels-home-controls .home-publish{background:#ffffffd9;border:1px solid #ffffffa0;color:#1256ec}
.reels-home-controls svg{width:25px;height:25px;flex:none}
.reels-home-idle .reels-frame{max-width:100%}
@media(max-height:550px){.reels-home-idle .reels-home-controls{max-width:480px;inset-inline-start:70px;inset-inline-end:70px}.reels-home-controls .home-search-actions>button,.reels-home-controls .home-publish{min-height:38px;padding:6px}}

/* Idle discovery preserves the measured Home controls; only the backdrop fades. */
.property-reels.reels-home-idle .reels-home-controls{position:fixed;inset:0;max-width:none;display:block;pointer-events:none;background:none}
.reels-home-controls #welcome-search-form,.reels-home-controls .welcome-search-field,.reels-home-controls .home-search-actions{display:contents!important}
.reels-home-controls .home-search-actions svg{width:30px;height:30px}
.reels-home-controls .home-voice-hint{color:white!important;text-shadow:0 1px 4px #0009}
.reels-home-idle .reels-shade{pointer-events:none}

/* Compact financing pill, with a fuller and more readable label. */
body .property-window .property-finance-band{width:94%;margin-inline:auto}
body .property-window .property-finance-band .property-finance{margin:0;min-height:44px;padding:7px 14px;font-size:19px;font-weight:800;line-height:1.35;gap:8px}
body .property-window .property-finance-band .property-finance span{font-size:inherit;font-weight:inherit}
body .property-window .property-finance-band .property-finance svg{width:20px;height:20px;flex:none}

/* Compact shared filters and direct advertiser inquiry. */
.reels-price-fields{display:grid;gap:12px;margin-bottom:18px}.reels-price-fields [hidden]{display:none}.reels-price-fields .field{gap:6px}.reels-price-fields output{font-weight:700;color:#1256ec}.reels-price-fields input[type=range]{width:100%;min-height:44px;padding:0;accent-color:#1256ec}.reels-price-fields input[type=number]{width:100%;min-height:44px;border-radius:14px}
.reels-basic-filters>.field:has(.reels-filter-choices){grid-column:1/-1}.reels-filter-choices{display:flex;flex-wrap:wrap;gap:8px}.reels-filter-choices button{min-height:40px;padding:6px 13px;border:1px solid #ccd9e8;border-radius:999px;background:#fff;color:#19364a;font-size:14px;font-weight:700}.reels-filter-choices button[aria-pressed=true]{background:#1256ec;color:white;border-color:#1256ec}.reels-filter-choices button:focus-visible{outline:3px solid #94b9ff;outline-offset:2px}
.reels-contact-window{max-width:520px}.reels-contact-host{padding-top:56px}.reels-contact-host .property-message-card{margin:16px 0 0}

@media(max-height:600px){.property-reels .reels-header>[data-reels-search] svg{width:26px;height:26px}}

/* Desktop photo controls sit in the gutters, outside the property image. */
.reels-desktop-photos{display:none}
@media(min-width:1024px) and (hover:hover) and (pointer:fine){
 .property-reels:not(.reels-home-idle) .reels-desktop-photos:not([hidden]){display:block;position:absolute;inset:0;pointer-events:none;z-index:6}
 .reels-desktop-photos button{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:50px;height:64px;padding:12px;border:1px solid #ffffff26;border-radius:18px;background:#ffffff0a;color:#f4f8ff;box-shadow:0 5px 20px #0002;cursor:pointer;pointer-events:auto;transition:background .18s,color .18s,box-shadow .18s}
 .reels-desktop-photos [data-photo-previous]{right:calc(100% + 24px)}
 .reels-desktop-photos [data-photo-next]{left:calc(100% + 24px)}
 .reels-desktop-photos svg{width:28px;height:28px}
 .reels-desktop-photos button:hover:not(:disabled){background:#ffffff1c;color:#fff;box-shadow:0 6px 24px #0003}
 .reels-desktop-photos button:disabled{opacity:.22;cursor:default}
 .reels-desktop-photos button:focus-visible{outline:2px solid #8fb8ff;outline-offset:5px}
}

/* Touch photo arrows: open-angle chevrons with an invisible 48px tap target. */
@media(max-width:1023px),(hover:none),(pointer:coarse){
 .property-reels:not(.reels-home-idle) .reels-desktop-photos:not([hidden]){display:block;position:absolute;inset:0;pointer-events:none;z-index:6}
 .reels-desktop-photos button{position:absolute;top:clamp(130px,calc(100% - 490px),50%);transform:translateY(-50%);display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer}
 .reels-desktop-photos [data-photo-previous]{left:4px;right:auto}
 .reels-desktop-photos [data-photo-next]{right:4px;left:auto}
 .reels-desktop-photos svg{width:32px;height:32px;overflow:visible;filter:drop-shadow(0 1px 3px #0009)}
 .reels-desktop-photos svg path{transform:translateX(6px) scaleX(.5);vector-effect:non-scaling-stroke;stroke-width:1.7px}
 .reels-desktop-photos button:disabled{opacity:.22;pointer-events:none}
 .reels-desktop-photos button:active:not(:disabled){opacity:.65}
 .reels-desktop-photos button:focus-visible{outline:2px solid #8fb8ff;outline-offset:0;border-radius:8px}
}
