/* The selected photo-led home. Scoped to welcome so map/account UI is unchanged. */
body.welcome-mode{background:#faf8f4;color:#132c40}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header{position:relative;top:auto;display:flex;height:64px;min-height:64px;padding:8px clamp(20px,4vw,64px);gap:16px;background:#fffdf9ed;border:0;box-shadow:none;color:#132c40;z-index:1000;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .brand{margin:0;padding:0;color:#132c40;min-width:0}
/* Shared wordmark: match the home logo on every page, in both languages. */
body #app .header .brand{color:#132c40;direction:ltr;flex-shrink:0}
body #app .header .brand-copy{display:flex;align-items:center;gap:0}
body #app .header .brand-title{display:flex;align-items:center;direction:ltr;gap:7px;white-space:nowrap}
body #app .header .brand-title img{display:block;width:36px;height:36px;object-fit:contain;flex-shrink:0;margin:0}
body #app .header .brand-name{font-size:30px;line-height:1;font-weight:800;letter-spacing:-1px}
body #app .header .brand .brand-slogan{display:none}
@media(max-width:420px){
 body #app .header .brand-title{gap:5px}
 body #app .header .brand-title img{width:30px;height:30px}
 body #app .header .brand-name{font-size:24px;letter-spacing:-.8px}
}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header :is(.brand-slogan,.nav,.header-social-shortcuts,.help-likes,.mobile-menu-button),body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .header-actions>.icon-btn,body.welcome-mode #welcome-map-pull{display:none!important}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .header-actions{display:flex;gap:12px;align-items:center;margin-inline-start:auto}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .account-menu{order:0}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .services-menu{order:1}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header :is(.account-menu,.services-menu)>summary{display:flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:44px;padding:7px;border:0;background:transparent;box-shadow:none;color:#132c40}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header :is(.account-menu,.services-menu)>summary svg{width:27px;height:27px;stroke-width:1.7}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header :is(.account-menu,.services-menu)>summary .header-icon-label{display:none}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header :is(.account-menu,.services-menu)[open]>summary{background:#eaf0f5;border-radius:12px}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .services-menu-panel .home-menu-extra{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;width:100%;height:auto;min-height:46px;border:0;border-radius:10px;padding:11px 12px;background:transparent;color:#193e5d;box-shadow:none;font-size:15px;text-align:start}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .home-menu-extra svg{width:21px;height:21px;flex:none}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .home-menu-extra span{display:inline;font-size:15px;font-weight:500}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .home-menu-extra:hover{background:#e5edf7}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header :is(.services-menu-panel,.account-menu-panel){background:#fffffff5;box-shadow:0 14px 40px #192e4026;max-height:calc(100dvh - 90px);overflow:auto}
body.welcome-mode #app .home-editorial{direction:inherit;display:block;position:relative;isolation:isolate;width:100%;max-width:none;height:auto;min-height:calc(100svh - 64px);margin:0;padding:0 0 calc(100px + env(safe-area-inset-bottom));overflow:visible;background:#faf8f4}
body.welcome-mode #app .home-hero{position:relative;height:clamp(300px,43svh,410px);width:100%;overflow:hidden;background:#cfc1a9}
body.welcome-mode #app .home-hero-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:54% 52%;filter:none}
body.welcome-mode #app .home-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,#14202a18 60%,#101a26b0 100%);pointer-events:none}
body.welcome-mode #app .home-hero h1{position:absolute;inset-inline:24px;bottom:35px;max-width:650px;margin:0;margin-inline:auto;color:#fff;font-size:clamp(29px,7.7vw,38px);font-weight:800;line-height:1.13;letter-spacing:-.025em;text-align:start;text-shadow:0 2px 10px #0003}
body.welcome-mode #app .home-content{position:relative;z-index:1;width:calc(100% - 32px);max-width:650px;margin:-17px auto 0}
body.welcome-mode #app .home-search-card{padding:22px 14px 17px;background:linear-gradient(140deg,#fffffff5,#ffffffe0);border:1px solid #fff;border-radius:18px;box-shadow:0 12px 35px #51463709;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body.welcome-mode #app .home-search-card h2{margin:0 0 15px;font-size:clamp(21px,5.2vw,26px);line-height:1.3;font-weight:800;letter-spacing:-.02em;text-align:start}
body.welcome-mode #app .home-editorial .welcome-search{margin:0;width:100%;text-align:start}
body.welcome-mode #app .home-editorial .welcome-search-field{direction:inherit;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:52px 36px auto;align-items:center;gap:7px 4px!important;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;overflow:visible}
body.welcome-mode #app .home-editorial .welcome-search-field:before{content:'';position:absolute;inset:0 0 auto;height:52px;border:1px solid #d5d8dd;border-radius:12px;background:#fff9;box-shadow:inset 0 1px 3px #26364a05;pointer-events:none;z-index:-1}
body.welcome-mode #app .home-editorial .welcome-search-field:has(input:focus):before{border-color:#1256ec;box-shadow:0 0 0 3px #1256ec1a}
body.welcome-mode #app .home-editorial #welcome-search{position:relative;grid-column:1;grid-row:1;display:block;width:100%;min-width:0;min-height:48px;margin:0;padding:10px 12px;border:0;border-radius:12px;background:transparent;box-shadow:none;font:inherit;font-size:16px;font-weight:400;color:#19384d;text-overflow:ellipsis;outline:none}
body.welcome-mode #app .home-editorial #welcome-search::placeholder{color:#818a96;opacity:1}
body.welcome-mode #app .home-editorial .voice-search-button{grid-column:2;grid-row:1;justify-self:center;display:flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:44px;min-height:44px;padding:9px;border:0;border-radius:10px;background:transparent;color:#1256ec;font-weight:700;box-shadow:none}
body.welcome-mode #app .home-editorial .voice-search-button svg{width:24px;height:24px;stroke-width:2.4}
body.welcome-mode #app .home-editorial .voice-search-button:hover{background:#e7edf4;color:#1256ec}
body.welcome-mode #app .home-editorial .voice-search-button:is(.listening,.voice-active){background:#fff;color:#d52d48;box-shadow:0 0 0 2px #d52d4820}
body.welcome-mode #app .home-voice-hint{grid-column:1/-1;grid-row:2;font-size:13px;font-weight:700;line-height:1.4;color:#1256ec;text-align:end;padding-inline:7px}
body.welcome-mode #app .home-editorial .home-search-submit{grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;height:auto;min-height:50px;margin:8px 0 0;padding:12px 16px;border:1px solid #1256ec;border-radius:12px;background:#1256ec;color:white;box-shadow:none;font-size:21px;font-weight:800;line-height:1.3}
body.welcome-mode #app .home-editorial .home-search-submit:hover{background:#0a47ce}
body.welcome-mode #app .home-editorial .home-search-submit:disabled{opacity:.68}
body.welcome-mode #app .home-editorial .home-voice-controls{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:36px;margin:0}
body.welcome-mode #app .home-editorial .home-voice-controls small{font-size:12px;line-height:1.4;color:#68717d}
body.welcome-mode #app .home-editorial .voice-recording-cancel{flex:none;min-height:36px;padding:5px 16px;border:1px solid #d3dbe4;border-radius:999px;font-size:14px;line-height:1.4;background:white;color:#193248}
body.welcome-mode #app .home-editorial [hidden]{display:none!important}
body.welcome-mode #app .home-editorial .voice-search-help{position:relative;margin-top:12px;padding:12px;border-radius:12px;font-size:14px;line-height:1.5}
body.welcome-mode #app .home-editorial .voice-search-help.voice-recording-compact{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;margin:0;border:0}
body.welcome-mode #app .home-publish{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;margin:17px 0 0;padding:11px 16px;border:1px solid #1256ec;border-radius:12px;background:#ffffff70;color:#1256ec;font-size:18px;font-weight:700;line-height:1.4;box-shadow:none}
body.welcome-mode #app .home-publish svg{width:25px;height:25px;flex:none}
body.welcome-mode #app .home-publish:hover{background:#edf3ff}
body.welcome-mode #app .home-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0 0;padding:0 10px}
body.welcome-mode #app .home-tools button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:4px 8px;background:transparent;color:#193248;font-size:14px;font-weight:500;border:0;border-radius:0}
body.welcome-mode #app .home-tools button+button{border-inline-start:1px solid #dfddd9}
body.welcome-mode #app .home-tools svg{width:21px;height:21px;flex:none}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode) #app .home-bottom-nav{position:fixed;z-index:500;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;width:calc(100% - 28px);max-width:420px;padding:7px 14px;border:1px solid #ffffffd9;border-radius:999px;background:#ffffffe8;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 5px 24px #443a2c0e}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode) #app .home-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:48px;padding:2px;border:0;border-radius:12px;background:transparent;color:#5b6572;font-size:12px;font-weight:400;line-height:1.2;overflow-wrap:anywhere}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode) #app .home-bottom-nav svg{width:23px;height:23px;stroke-width:1.7}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode) #app .home-bottom-nav [aria-current=page]{color:#1256ec;font-weight:600}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode) #app .home-bottom-nav [aria-current=page] svg{fill:#1256ec;stroke:#1256ec}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode) #app .home-bottom-nav button:hover{background:#edf2f9}
body.welcome-mode #app :is(.home-editorial button,.header summary):focus-visible{outline:2px solid #1256ec;outline-offset:3px}
@media(min-width:761px){
 /* Do not reserve an empty scrollbar strip beside the edge-to-edge home photo. */
 html:has(body.welcome-mode){scrollbar-gutter:auto}
 /* Keep desktop navigation in flow so it cannot cover the publishing action.
    Size the photo around the content budget on shorter desktop viewports. */
 body.welcome-mode #app .home-editorial{padding-bottom:24px;background-image:linear-gradient(180deg,#101a2626 0%,#faf8f400 25%,#faf8f414 40%,#faf8f480 65%,#faf8f4dc 85%,#faf8f4 100%),url('/images/home-editorial-qr.webp');background-size:cover;background-position:50% 58%;background-repeat:no-repeat}
 body.welcome-mode #app .home-hero{height:clamp(180px,calc(100svh - 530px),540px);background:transparent}
 body.welcome-mode #app .home-hero-photo,body.welcome-mode #app .home-hero-shade{display:none}
 body.welcome-mode #app .home-hero h1{max-width:1040px;inset-inline:48px;bottom:65px;font-size:clamp(40px,4.5vw,60px)}
 /* One continuous glass panel surrounds search and the publishing action. */
 body.welcome-mode #app .home-content{margin-top:-35px;max-width:800px;box-sizing:border-box;padding:36px 40px 30px;background:linear-gradient(140deg,#fffffff5,#ffffffe0);border:1px solid #fff;border-radius:24px;box-shadow:0 12px 35px #51463709;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
 body.welcome-mode #app .home-search-card{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 body.welcome-mode #app .home-search-card h2{font-size:32px}
 body.welcome-mode #app .home-publish{margin-top:72px}
 body.welcome-mode #app .home-tools button{font-size:16px}
 body.welcome-mode #app .home-bottom-nav{position:relative;bottom:auto;left:auto;transform:none;width:calc(100% - 32px);max-width:800px;margin:20px auto 0}
 body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .services-menu{display:block}
 body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .services-menu-panel{inset-inline-end:0}
}
@media(max-width:360px){
 body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header{padding-inline:16px}
 body.welcome-mode #app .home-hero h1{font-size:29px;inset-inline:20px}
 body.welcome-mode #app .home-content{width:calc(100% - 24px)}
 body.welcome-mode #app .home-search-card{padding-inline:12px}
 body.welcome-mode #app .home-search-card h2{font-size:20px}
 body.welcome-mode #app .home-tools{padding:0}
 body.welcome-mode #app .home-tools button{gap:6px;font-size:13px}
}

/* Keep publishing reachable at first glance, including compact Safari viewports. */
@media(max-width:760px){
 body.welcome-mode #app .home-hero{height:clamp(160px,calc(100svh - 440px),330px)}
 body.welcome-mode #app .home-hero h1{font-size:clamp(28px,7.4vw,36px);bottom:32px}
 body.welcome-mode #app .home-search-card{padding:14px 14px 12px}
 body.welcome-mode #app .home-search-card h2{font-size:clamp(20px,5.2vw,24px);margin-bottom:10px}
 body.welcome-mode #app .home-editorial .welcome-search-field{grid-template-rows:48px 34px auto;gap:5px 4px!important}
 body.welcome-mode #app .home-editorial .welcome-search-field:before{height:48px}
 body.welcome-mode #app .home-editorial #welcome-search{min-height:44px;padding-block:8px}
 body.welcome-mode #app .home-editorial .home-search-submit{min-height:46px;padding:9px 14px;margin-top:5px;font-size:20px}
 body.welcome-mode #app .home-editorial .home-voice-controls{min-height:34px;margin:0}
 body.welcome-mode #app .home-editorial .voice-recording-cancel{min-height:34px}
 body.welcome-mode #app .home-publish{margin-top:10px;min-height:46px;padding-block:9px;font-size:17px}
 body.welcome-mode #app .home-tools{margin-top:7px}
}

/* Home follows the selected state of its navigation button. */
body #app svg.buyit-home-icon{fill:currentColor;stroke:none}
body #app :is([data-nav="welcome"],[data-help="home"]) svg.buyit-home-icon{color:inherit}
/* Keep mail beside the profile, including when desktop controls rearrange. */
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .header-actions{flex:0 0 auto;width:auto;justify-content:flex-start}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .header-actions>#home-inbox{display:flex!important;order:1;align-items:center;justify-content:center;width:42px;min-width:42px;height:44px;padding:7px;border:0;border-radius:10px;background:transparent;box-shadow:none;color:#132c40}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header #home-inbox svg{width:27px;height:27px;stroke-width:1.7}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header #home-inbox .header-icon-label{display:none}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header #home-inbox:hover{background:#eaf0f5}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .services-menu{order:2}
@media(max-width:360px){body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header .header-actions{gap:4px}}

/* Secondary data controls stay collapsed until requested. */
body #app .results-data-options{margin:0 0 8px;padding:0;border:0;background:transparent}
body #app .results-data-options>summary{display:flex;align-items:center;gap:5px;width:max-content;min-height:32px;padding:4px 10px;border:1px solid #b9cddd80;border-radius:999px;background:#ffffff80;color:#36556d;font-size:12px;font-weight:500;cursor:pointer;list-style:none}
body #app .results-data-options>summary::-webkit-details-marker{display:none}
body #app .results-data-options>summary svg{width:16px;height:16px}
body #app .results-data-options[open]>summary{background:#e5eff8}
body #app .results-data-options>.chips{gap:5px;margin:7px 0 0}

/* Opaque white glass keeps the map from showing through the results. */
body #app .explore-scene .results,
body #app .explore-scene .results .results-controls,
body #app .explore-scene .results .sheet-controls,
body #app .explore-scene .results .sheet-content{background:#fafcfe;backdrop-filter:none;-webkit-backdrop-filter:none}
body #app .explore-scene .results{border-color:#fff;box-shadow:0 -5px 26px #183c551f}
body #app .explore-scene .results .cards[data-layout=single]{grid-template-columns:minmax(0,1fr);gap:16px}
body #app .explore-scene .results .cards[data-layout=single] .minimal-card{background:#fff;border:1px solid #e7edf2;border-radius:18px;box-shadow:0 5px 18px #17344e14}
body #app .explore-scene .results .cards[data-layout=single] .photo-btn,
body #app .explore-scene .results .cards[data-layout=single] .card-photo-empty{aspect-ratio:16/10}
body #app .explore-scene .results .cards[data-layout=single] .card-info{padding:14px 16px;gap:5px}
body #app .explore-scene .results .cards[data-layout=single] .price{font-size:28px;font-weight:800;color:#142d40}
body #app .explore-scene .results .cards[data-layout=single] .card-address{font-size:16px;min-height:30px}
body #app .explore-scene .results .cards[data-layout=single] .specs{font-size:15px}
body #app .explore-scene .results .cards[data-layout=single] .card-summary{font-size:12px}
body #app .explore-scene .results .cards[data-layout=single] .card-kind{font-size:12px}
body #app .explore-scene .results .cards[data-layout=single] .heart{top:10px;inset-inline-start:10px}

/* Shared home-style chrome, with clearance for the floating service navigation. */
body.service-page-mode #app>.demo-banner{display:none}
body.service-page-mode #app>main.page{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
body.service-page-mode #app .service-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));max-width:650px;width:calc(100% - 32px)}
body.service-page-mode #app .service-bottom-nav button:focus-visible{outline:2px solid #1256ec;outline-offset:2px}

/* The example lives below Search on phones; desktop keeps it in the input. */
body.welcome-mode #app .home-search-example{display:none}
@media(max-width:760px){
 body.welcome-mode #app .home-search-example{display:block;grid-column:1/-1;grid-row:4;justify-self:center;max-width:100%;min-height:34px;margin-top:4px;padding:6px 14px;border:0;border-radius:999px;background:#edf0f4;color:#193248;font-size:13px;line-height:1.5}
 body.welcome-mode #app .voice-recording-active .home-search-example{visibility:hidden}
}
body.service-page-mode #app .account-site-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
/* Keep contextual account actions available above the persistent site navigation. */
body.service-page-mode #app .account-floating-dock{position:static;transform:none;width:100%;margin:20px 0 0;min-height:48px;box-shadow:none;background:#ffffffb0}
body.service-page-mode #app [data-account-section=overview] .account-floating-dock{display:none}
body.modal-open #app .account-site-nav,body:has(.account-keyboard-open) #app .account-site-nav{display:none}

/* Desktop shares the compact home header; map coordinates retain their overlay. */
body.desktop-header-mode{--header-height:64px}
body.browse-mode.desktop-header-mode #app .header{position:absolute;inset:0 0 auto}
body:is(.welcome-mode,.service-page-mode,.sell-page-mode,.desktop-header-mode) #app .header :is(.services-menu-panel,.account-menu-panel) :is(button,a,button span){font-size:16px;font-weight:600;line-height:1.5;color:#193248}
body #app .header .top-nav-menu .welcome-tool strong{font-size:16px;font-weight:700}

/* Desktop map and service pages share the full navigation and light palette. */
@media(min-width:761px){
 body.desktop-header-mode.top-navigation-visible #app .header{padding-inline:24px;gap:18px}
 body.desktop-header-mode.top-navigation-visible #app .header .nav{display:flex!important;position:static;flex:1;flex-direction:row;align-items:center;justify-content:center;gap:4px;width:auto;min-width:0;height:auto;max-height:none;margin:0;padding:0;background:transparent;overflow:visible}
 body.desktop-header-mode.top-navigation-visible #app .header .nav .top-nav-group{position:relative;width:auto;flex:none}
 body.desktop-header-mode.top-navigation-visible #app .header .nav button{display:block;color:#193248;text-shadow:none}
 body.desktop-header-mode.top-navigation-visible #app .header .nav .top-nav-menu .welcome-tool{display:flex}
 body.desktop-header-mode.top-navigation-visible #app .header .nav>button,body.desktop-header-mode.top-navigation-visible #app .header .top-nav-heading>button{font-size:15px;font-weight:600;line-height:1.4;white-space:nowrap;padding:9px 5px;border-radius:10px}
 body.desktop-header-mode.top-navigation-visible #app .header .top-nav-heading>.top-nav-toggle{min-width:24px;min-height:40px;width:24px;flex-basis:24px;padding-inline:2px}
 body.desktop-header-mode.top-navigation-visible #app .header .nav button:hover{background:#edf2f9}
 body.desktop-header-mode.top-navigation-visible #app .header .nav button.active{color:#1256ec}
 body.desktop-header-mode.top-navigation-visible #app .header .nav button.active:after{background:#1256ec}
 body.desktop-header-mode.top-navigation-visible #app .header .top-nav-menu{position:absolute;top:100%;inset-inline-end:0;width:290px;max-width:calc(100vw - 32px);margin:0;padding:10px;background:#fffffff5;border:1px solid #ffffffd9;border-radius:20px;box-shadow:0 14px 40px #192e4026;max-height:calc(100dvh - var(--header-height) - 24px);overflow:auto}
}
/* Keep every desktop menu item reachable on narrower laptop windows. */
@media(min-width:761px) and (max-width:1199px){
 body.desktop-header-mode.top-navigation-visible{--header-height:112px}
 body.desktop-header-mode.top-navigation-visible #app .header{display:grid;grid-template-columns:1fr auto;grid-template-rows:48px 40px;height:112px;min-height:112px;padding:8px 16px;gap:8px 12px}
 body.desktop-header-mode.top-navigation-visible #app .header .brand{grid-column:1;grid-row:1;justify-self:start}
 body.desktop-header-mode.top-navigation-visible #app .header .header-actions{grid-column:2;grid-row:1}
 body.desktop-header-mode.top-navigation-visible #app .header .nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:2px}
 body.desktop-header-mode.top-navigation-visible #app .header .nav>button,body.desktop-header-mode.top-navigation-visible #app .header .top-nav-heading>button{font-size:14px}
}

/* Listing-page navigation follows the desktop service-page design. */
@media(min-width:761px){
 body.sell-page-mode #app .seller-site-nav{max-width:650px;width:calc(100% - 32px)}
 /* Match the directory heading to the full-width results banner below it. */
 body .broker-directory .broker-directory-head{width:100%;max-width:none;background:linear-gradient(140deg,#fffffff5,#ffffffe0);border-color:#fff;box-shadow:0 12px 35px #51463709}
 body .broker-directory .professional-toolbar,body .broker-directory .professional-result,body .broker-directory #broker-directory-results>.empty,body .broker-directory #broker-directory-results>p{background:#ffffffe8;border-color:#ffffffd9;box-shadow:0 5px 24px #443a2c0e;color:#193248}
 body .broker-directory .professional-search-pill{background:#fff9;border-color:#d5d8dd}
}
/* The same listing navigation on phone and desktop, with room for the form actions. */
body.sell-page-mode #app>.demo-banner{display:none}
body.sell-page-mode #app .seller-page{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
@media(min-width:761px) and (prefers-reduced-transparency:reduce){
 body .broker-directory :is(.broker-directory-head,.professional-toolbar,.professional-result){background:#faf8f4}
}

/* Keep branding anchored consistently when navigating or toggling the menu. */
@media(min-width:761px){
 body.desktop-header-mode #app .header{padding-inline:24px;gap:18px}
 body.desktop-header-mode #app .header .brand{align-self:center;flex-shrink:0}
 body.desktop-header-mode:not(.top-navigation-visible) #app .header .nav{display:none!important}
 body.welcome-mode.desktop-header-mode #app .home-editorial{min-height:calc(100svh - var(--header-height,64px))}
}
@media(min-width:761px) and (max-width:1199px){
 body.desktop-header-mode #app .header{padding-inline:16px}
}

/* Map navigation shares the home palette on every screen size. */
body.browse-mode #app .map-navigation-dock{background:#ffffffe8;color:#5b6572;border-color:#ffffffd9;box-shadow:0 5px 24px #443a2c0e;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body.browse-mode #app .map-navigation-dock>button{color:#5b6572}
body.browse-mode #app .map-navigation-dock>button>span:not(.toolbar-count){font-size:12px;font-weight:400}
body.browse-mode #app .map-navigation-dock>button:hover{background:#edf2f9}
body.browse-mode #app .map-navigation-dock>button[aria-expanded=true]{background:#edf2f9;color:#1256ec}
body.browse-mode #app .map-navigation-dock>button:focus-visible{outline-color:#1256ec}

/* Native radio groups keep listing choices visible and keyboard accessible. */
body .seller-page .seller-choice-field{min-width:0;margin:0;padding:0;border:0}
body .seller-page .seller-choice-field legend{padding:0;margin-bottom:9px;font-size:15px;font-weight:600;color:#193248}
body .seller-page .seller-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:10px}
body .seller-page .seller-choice{position:relative;display:block;min-width:0;cursor:pointer}
body .seller-page .seller-form .seller-choice input[type=radio]{position:absolute;inset-block-start:10px;inset-inline-end:10px;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#1256ec}
body .seller-page .seller-choice>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:100px;height:100%;padding:22px 12px 14px;border:1px solid #ccd7e2;border-radius:16px;background:#ffffffb8;color:#344c60;text-align:center}
body .seller-page .seller-choice svg{width:25px;height:25px}
body .seller-page .seller-choice strong{font-size:15px;font-weight:600;line-height:1.4}
body .seller-page .seller-choice:hover>span{background:#f2f6fc;border-color:#8cacdf}
body .seller-page .seller-choice input:checked+span{background:#eaf1ff;border-color:#1256ec;box-shadow:inset 0 0 0 1px #1256ec;color:#1256ec}
body .seller-page .seller-choice input:focus-visible+span{outline:3px solid #1256ec;outline-offset:3px}
/* Both previews use the real photo-first property card and its shared styles. */
body .seller-page .cards.seller-card-preview{grid-template-columns:minmax(0,1fr);width:100%;max-width:340px;margin:0;gap:0}
body .seller-page .seller-card-preview .compact-card{background:rgba(255,255,255,.72)}
body .seller-page .seller-card-preview button:disabled{opacity:1;cursor:default}

/* Native choice circles keep their shape; keyboard focus surrounds the option. */
body .seller-page .seller-form .seller-choice input[type=radio]:is(:focus,:focus-visible){outline:none;box-shadow:none;border-radius:50%}
body .seller-page .seller-choice input:focus-visible+span{outline:3px solid #729be7;outline-offset:3px}
body .seller-page .seller-form-footer{flex-wrap:wrap;gap:10px}
.my-listings-section{margin-bottom:28px}.my-listings-section>h2{font-size:23px;line-height:1.4;margin:0 0 16px}.my-listings-section>h2 span{font-size:16px;color:#60798d}.my-listings-section>.primary{margin-top:18px}
/* Let the photograph take the space left after the actual search panel and navigation. */
body.welcome-mode #app .home-editorial{display:flex;flex-direction:column;box-sizing:border-box;height:calc(100svh - var(--header-height,64px))}
body.welcome-mode #app .home-editorial>.home-hero{flex:1 0 130px;height:auto;min-height:130px}
body.welcome-mode #app .home-editorial>.home-content,body.welcome-mode #app .home-editorial>.home-bottom-nav{flex-shrink:0}
@media(min-width:761px){
 body.welcome-mode #app .home-hero h1{bottom:48px;font-size:clamp(36px,4.2vw,56px)}
 body .page.account-page{grid-template-columns:minmax(0,1fr);gap:20px;padding-top:22px}
 body .account-page .account-page-head{padding:18px 26px}
 body .account-page .tabs.account-tab-groups{grid-column:1;position:static;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-height:none;overflow:visible;gap:18px;padding:18px}
 body .account-page .account-tab-group+.account-tab-group{border-top:0;padding-top:0;border-inline-start:1px solid #d9e1e8;padding-inline-start:18px}
 body .account-page .account-nav-heading{font-size:18px;margin-bottom:8px}
 body .account-page .account-tab-groups button{font-size:16px;min-height:44px;padding:8px 10px}
 body .account-page #account-content{grid-column:1}
}
@media(min-width:761px) and (max-width:1000px){
 body .account-page .tabs.account-tab-groups{gap:8px;padding:12px}
 body .account-page .account-tab-group+.account-tab-group{padding-inline-start:8px}
 body .account-page .account-tab-groups button{gap:6px;padding-inline:6px}
}

@media(min-width:761px) and (max-height:820px){body.welcome-mode #app .home-hero h1{font-size:36px;bottom:40px}}
body .seller-page .seller-form .seller-choice input[type=radio]{border:0;border-radius:50%;background:transparent;box-shadow:none}

.seller-draft-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:16px}.seller-draft-toolbar button{min-height:42px;font-size:15px}

/* A single vertical account menu, with all groups visible beside the content. */
@media(min-width:761px){
 body .page.account-page{grid-template-columns:260px minmax(0,1fr);gap:18px 24px;align-items:start}
 body .account-page .account-page-head,body .account-page #account-content,body .account-page>.note,body .account-page>.footer-note{grid-column:2}
 body .account-page .tabs.account-tab-groups{grid-column:1;grid-row:1/5;position:sticky;top:calc(var(--header-height,64px) + 12px);display:flex;flex-direction:column;gap:10px;padding:14px 12px;max-height:none;overflow:visible}
 body .account-page .account-tab-group{gap:2px}
 body .account-page .account-tab-group+.account-tab-group{border-inline-start:0;padding-inline-start:0;border-top:1px solid #d9e1e8;padding-top:10px}
 body .account-page .account-nav-heading{font-size:17px;line-height:1.3;margin:0 0 4px;padding-inline:10px}
 body .account-page .account-tab-groups button{min-height:34px;padding:5px 10px;gap:9px;font-size:15px;line-height:1.4}
 body .account-page .account-tab-groups button svg{width:19px;height:19px}
}
@media(min-width:761px) and (max-width:1000px){body .page.account-page{grid-template-columns:240px minmax(0,1fr);gap:16px;padding-inline:16px}}
@media(min-width:761px) and (max-height:720px){
 body .account-page .tabs.account-tab-groups{gap:7px;padding-block:10px}
 body .account-page .account-tab-group{gap:0}
 body .account-page .account-tab-group+.account-tab-group{padding-top:7px}
 body .account-page .account-tab-groups button{min-height:30px;padding-block:3px}
}

/* One consistent return control replaces the old contextual account dock. */
body #app .account-category-back{display:flex;align-items:center;gap:7px;width:max-content;min-height:44px;margin:0 0 12px auto;padding:6px 10px;border:0;border-radius:999px;background:#ffffff9c;color:#315e82;font-size:13px}
body #app .account-category-back svg{width:22px;height:22px;flex:none}
body #app .account-category-back:focus-visible{outline:2px solid #1256ec;outline-offset:3px}
body #app .mobile-account-page .comparison-bar #compare-open{display:inline-flex}
@media(min-width:761px){
 body #app .account-overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
 body #app .account-overview-tile{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:22px;min-height:150px;border:1px solid #fff;border-radius:24px;background:#ffffffb8;text-align:start}
 body #app .account-overview-tile small{font-size:13px;color:#61798b}
 body #app .account-continue{margin-top:24px}
 body #app .account-continue-row,body #app .account-start-card{display:flex;align-items:center;gap:14px;margin-top:12px;padding:18px;border:1px solid white;border-radius:20px;background:#ffffffb0}
 body #app .account-continue-row small{display:block;font-size:13px}
}
body .property-window .property-overview:has(#detail-edit){min-height:140px}

/* Related listings stay two across, including the mobile property sheet. */
body .property-window .property-similar{margin:24px 0;padding:0;min-width:0}
body .property-window .property-similar>h3{margin:0 0 16px;font-size:21px;font-weight:750}
body .property-window .property-similar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body .property-window .similar-home{display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden;text-align:start;color:#172c3b;background:#fff;border:1px solid #e2e8ed;border-radius:16px;box-shadow:0 4px 14px #142c3f0c;cursor:pointer;touch-action:pan-y}
body .property-window .similar-home>img,body .property-window .similar-home-placeholder{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;flex:none}
body .property-window .similar-home-placeholder{display:grid;place-items:center;background:#edf2f6;color:#718493}
body .property-window .similar-home-placeholder svg{width:32px;height:32px}
body .property-window .similar-home-info{display:flex;flex-direction:column;gap:5px;padding:12px;width:100%;box-sizing:border-box}
body .property-window .similar-home-kind{font-size:11px;color:#637886}
body .property-window .similar-home-price{font-size:18px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
body .property-window .similar-home-address{font-size:14px;line-height:1.4;font-weight:600}
body .property-window .similar-home-specs{font-size:12px;line-height:1.4;color:#637886}
body .property-window .similar-home:hover{border-color:#9fbce6;box-shadow:0 5px 18px #142c3f18}
body .property-window .similar-home:focus-visible{outline:3px solid #155bea;outline-offset:3px}
@media(max-width:480px){body .property-window .property-similar-grid{gap:10px}body .property-window .similar-home-info{padding:10px}body .property-window .similar-home-price{font-size:16px}body .property-window .property-similar>h3{font-size:20px}}

/* Keep owner editing visible in the collapsed property summary. */
body .property-window .property-overview:has(#detail-edit){min-height:100px}
body .property-window .property-overview:has(#detail-edit)>.property-heading{padding-left:100px}
body .property-window .property-overview>.property-secondary-actions:has(#detail-edit){display:grid;grid-template-columns:repeat(2,44px);width:88px;gap:2px 0}
body .property-window .property-overview>.property-secondary-actions:has(#detail-edit) .property-utility{width:44px;min-height:44px;padding:3px 0;font-size:10px}
body .property-window .property-overview>.property-secondary-actions:has(#detail-edit) #detail-edit{grid-column:1 / -1;grid-row:1;width:100%;max-width:none;min-width:0;box-sizing:border-box;padding:8px 12px;flex-direction:row;align-items:center;justify-content:center;gap:6px;white-space:nowrap;color:#155bea;background:#edf4ff;border-radius:999px;font-size:12px}
body .property-window #detail-edit>svg{flex-shrink:0}

/* Quiet white surfaces for account, professional discovery and financing. */
body:has(.account-page),body:has(.broker-directory){background:#fff}
body .page.account-page,body .page.mobile-account-page,body .broker-directory{background:#fff}
body .account-page::before,body .professional-backdrop{background:#fff}
body .account-page :is(.account-page-head,.account-overview-tile,.panel,.account-item,.saved-valuation-card,.settings-glass,.bm-panel,.saved-valuations-empty,.account-check-card,.account-preferences,.account-more,.empty),body .broker-directory :is(.broker-directory-head,.professional-toolbar,.professional-result){background:#fff;border:1px solid #e7ebef;box-shadow:0 5px 20px #19324808;backdrop-filter:none}
body .account-page .account-page-head::before{display:none}
body .broker-directory .professional-search-pill{background:#fff}
body .modal.finance-window,body .finance-window .finance-body{background:#fff;backdrop-filter:none}
body .finance-window{max-width:900px!important}
body .finance-body h2{font-size:clamp(24px,3vw,30px);line-height:1.3;margin:14px 0 8px}
body .finance-body>.note{padding:0;background:none;font-size:13px;margin:8px 0 18px;color:#65717c}
body .finance-body .finance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
body .finance-body .finance-field{font-size:14px;gap:7px;line-height:1.5}
body .finance-body .finance-field :is(input,select){min-height:48px;font-size:16px;background:#fff;border:1px solid #d4dce4;border-radius:12px}
body .finance-body .finance-advanced{border:1px solid #e0e6ed;border-radius:16px;padding:16px;margin:16px 0;background:#fff}
body .finance-advanced>summary{cursor:pointer;font-size:15px;font-weight:600;color:#2459a6;min-height:24px}
body .finance-body .finance-assumptions{margin:16px 0;font-size:13px;line-height:1.6}
body .finance-body #finance-form>button[type=submit]{width:100%;min-height:50px;border-radius:14px;margin-top:8px;font-size:17px;position:static}
@media(max-width:650px){
 body .finance-body{padding:24px 18px!important}
 body .finance-body .finance-grid{grid-template-columns:1fr;gap:14px}
 body .finance-body .finance-address{font-size:15px;line-height:1.6;margin:8px 0}
 body .finance-body .finance-advanced{padding:14px}
}

/* Valuation forms and results use the current opaque white surfaces. */
body .valuation-glass,body .modal.valuation-result-window{background:#fff;border-color:#e2e8ef;backdrop-filter:none;-webkit-backdrop-filter:none}
body .valuation-glass :is(input,select),body .valuation-result-window :is(.valuation-result-hero,.valuation-metric,.valuation-method,.valuation-subject>span){background:#fff;border-color:#e2e8ef}
body .valuation-result-window .valuation-result-hero{box-shadow:0 4px 20px #19324808}
/* One phone navigation footprint across home and map, including the safe area. */
@media(max-width:760px){
 body.browse-mode #app .map-navigation-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;width:calc(100% - 28px);max-width:420px;min-height:0;padding:7px 14px;bottom:max(12px,env(safe-area-inset-bottom));border-radius:999px;box-sizing:border-box}
 body.browse-mode #app .map-navigation-dock>button{height:48px;min-height:48px;padding:2px;gap:4px;border-radius:12px;line-height:1.2;font-size:12px}
 body.browse-mode #app .map-navigation-dock>button>svg{width:23px;height:23px;stroke-width:1.7}
 body.welcome-mode #app .home-bottom-nav{box-sizing:border-box}
}

/* Listing creation: opaque white page, forms and draft surfaces. */
body.sell-page-mode,body .seller-page,body .seller-page::before{background:#fff}
body .seller-page :is(.seller-hero,.seller-intake,.seller-form,.seller-sidebar>.panel,.seller-guide,.seller-workspace-heading,.seller-preview-body,.seller-form-footer,.intake-panel,.intake-draft-item,.intake-form-note,.seller-documents,.seller-archive,.document-preview){background:#fff;border-color:#e2e8ef;backdrop-filter:none;-webkit-backdrop-filter:none}
body .seller-page :is(.seller-intake,.seller-form,.seller-sidebar>.panel){box-shadow:0 5px 22px #19324808}
body .seller-page .intake-methods>button{background:#fff;border-color:#d8e1eb}
body .seller-page .intake-methods>button:is(:hover,[aria-pressed=true]){background:#edf4ff;border-color:#6095d5}
body .seller-page .seller-form :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea,.upload-box){background:#fff;border-color:#d4dce4}
body .seller-page .intake-drop{background:#fff;border-color:#c8d5e2}

/* Shared white content surfaces across service pages and dialogs. */
html,body{background-color:#fff}
body.service-page-mode,body .page.market-intelligence-page,body .market-intelligence-page::before{background:#fff}
body .market-intelligence-page :is(.mi-page-head,.panel,.mi-toolbar){background:#fff;border-color:#e2e8ef;backdrop-filter:none;-webkit-backdrop-filter:none}
body .market-intelligence-page .mi-page-head::before{display:none}
body .market-intelligence-page .mi-page-head :is(.page-title,.lead){color:#193d58}
body .modal:has(>.modal-body),body .modal.analysis-window,body .inbox-dialog{background:#fff;border-color:#e2e8ef;backdrop-filter:none;-webkit-backdrop-filter:none}
body :is(.analysis-window,.inbox-dialog) .panel{background:#fff;border-color:#e2e8ef}
body .account-page :is(.broker-form-section,.broker-preview,.settings-glass,.bm-panel,.account-signin-note){background:#fff;border-color:#e2e8ef;backdrop-filter:none;-webkit-backdrop-filter:none}
body :is(.site-guide,.compare-body,.preferences-window) :is(.panel,.guide-hero,.guide-card){background:#fff;border-color:#e2e8ef}
body .inbox-dialog select{background:#fff}

/* Keep property actions available in every results layout. */
body .explore-scene .results .compact-card .card-bottom{
 display:flex;grid-column:1/-1;grid-row:auto;align-items:center;justify-content:space-between;
 flex-wrap:wrap;gap:4px 8px;border-top:1px solid #e2e8ef;margin-top:8px;padding-top:6px;
}
body .explore-scene .results .compact-card .compare-check,
body .explore-scene .results .compact-card .insights-link{min-height:40px;font-size:13px;white-space:nowrap}
@media(min-width:761px){
 body .results-view [data-results-view="cards"]{display:none}
}

/* Budget and timing use the same outlined pill fields as listing entry. */
body #bm-profile :is([name=maxBudget],[name=maxMonthly],[name=timing],[name=preapproval]){
 box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:8px 12px;
 border:1px solid #d4dce4;border-radius:999px;background:#fff;color:#183b60;
 font-size:14px;line-height:1.4;
}
body #bm-profile :is([name=maxBudget],[name=maxMonthly],[name=timing],[name=preapproval]):focus{
 outline:2px solid #125bea;outline-offset:2px;
}
@media(max-width:760px){
 body #bm-profile :is([name=maxBudget],[name=maxMonthly],[name=timing],[name=preapproval]){min-height:44px;font-size:16px}
}

@media(min-width:761px){
 body #app .explore-scene .results .results-controls{grid-template-columns:minmax(0,1fr) 38px;grid-template-areas:'views close'}
}

/* Publication drafts share the compact account-card presentation. */
body .seller-page .intake-draft-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:18px;align-items:start}
body .seller-page .intake-draft-card{position:relative;display:flex;flex-direction:column;min-height:192px;padding:18px;border:1px solid #e2e8ef;border-radius:26px;background:#fff;box-shadow:0 8px 28px #173c6008}
body .seller-page .intake-draft-card .account-property-info{padding:0 18px;align-items:center;text-align:center;gap:0}
body .seller-page .intake-draft-card .kind{align-self:center;font-size:12px;padding:3px 7px;border-radius:6px;background:#e8f2ff9e;color:#315e94}
body .seller-page .intake-draft-card h3{font-size:17px;line-height:1.5;margin:8px 0 12px;color:#193e5b}
body .seller-page .intake-draft-card p{font-size:14px;color:#70879d;margin:0 0 8px}
body .seller-page .intake-draft-card-actions{display:flex;justify-content:center;margin-top:auto;padding-top:18px}
body .seller-page .intake-draft-card-actions button{min-height:40px;padding:8px 18px;border:0;border-radius:999px;background:transparent;color:#125bea;font-size:14px;font-weight:500}
body .seller-page .intake-draft-card-actions button:hover{background:#edf4ff}
body .seller-page .intake-draft-head h3 span{display:inline;min-width:0;height:auto;background:transparent;color:#70879d;font-size:15px}
body .seller-page .intake-drafts{padding-bottom:24px}
body .seller-page .intake-draft-card>.intake-remove{width:32px;min-height:32px;height:32px;padding:0;border:0;background:transparent;color:#70879d;text-align:center}

/* The menu opens the full guide directly; no screen overlay or floating help. */
body .header #site-guide-open{display:inline-flex;flex-direction:row;direction:rtl;align-items:center;justify-content:flex-start;gap:6px;width:auto;min-width:48px;padding:6px 8px;font:inherit;font-size:14px;font-weight:600;text-align:right}
body .header #site-guide-open svg{width:18px;height:18px;flex:0 0 18px}
body .header #site-guide-open .guide-menu-text{display:inline;color:inherit;white-space:nowrap;font-size:14px}

/* Selected planning-office photograph, softened behind the white directory cards. */
body .professional-backdrop{inset:-18px;background:linear-gradient(#ffffff55,#ffffff80),var(--professionals-background) center/cover no-repeat;filter:blur(8px)}

.property-inline-arrow{display:none}
@media(min-width:761px){
 body .gesture-tip{display:none}
 body .property-window .property-media{position:relative;min-width:0}
 body .property-window .property-inline-gallery{scrollbar-width:none;overflow-x:auto;overflow-y:hidden}
 body .property-window .property-inline-gallery::-webkit-scrollbar{display:none;width:0;height:0}
 body .property-window .property-inline-arrow{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;padding:10px;border:1px solid #ffffffdb;border-radius:50%;background:#ffffffe8;color:#1c405a;box-shadow:0 3px 16px #102d4433;backdrop-filter:blur(12px);cursor:pointer}
 body .property-window .property-inline-arrow svg{width:24px;height:24px}
 body .property-window .inline-prev{left:18px}
 body .property-window .inline-next{right:18px}
 body .property-window .property-inline-arrow:hover:not(:disabled){background:white;box-shadow:0 4px 20px #102d4455}
 body .property-window .property-inline-arrow:disabled{opacity:.3;cursor:default}
 body .property-window .property-inline-arrow:focus-visible{outline:3px solid #125bea;outline-offset:3px}
}
/* Let the directory background cover the entire page, outside content width limits. */
body:has(.broker-directory){margin:0;padding:0;overflow-x:clip}
body:has(.broker-directory) #app{width:100%;max-width:none;margin:0;padding:0}
body #app .page.broker-directory{width:100%;max-width:none;margin:0;box-sizing:border-box;border:0;border-radius:0;background:transparent;min-height:calc(100dvh - 64px)}
body #app .professional-backdrop{position:fixed;inset:-24px;width:auto;height:auto;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background-size:cover}
/* Shared dock typography and stroke treatment; existing icon paths stay intact. */
body #app .mobile-property-sheet .sheet-title>b{font-size:18px;font-weight:600;line-height:1.3}
body #app :is(.home-bottom-nav,.map-navigation-dock)>button{font-family:inherit;font-size:12px;font-weight:400;line-height:1.2;gap:4px}
body #app :is(.home-bottom-nav,.map-navigation-dock)>button>span:not(.toolbar-count){font-family:inherit;font-size:12px;font-weight:inherit;line-height:1.2}
body #app :is(.home-bottom-nav,.map-navigation-dock)>button>svg{width:23px;height:23px;stroke-width:1.7}
body #app :is(.home-bottom-nav,.map-navigation-dock)>button[aria-current=page]{font-weight:700}
@media(max-width:760px){body.welcome-mode #app #welcome-search{font-size:16px}body.welcome-mode #app #welcome-search::placeholder{font-size:14px}body.welcome-mode #app .home-publish{margin-top:50px}}

/* Individually selected home shortcuts, above the hero headline. */
body.welcome-mode #app .home-floating-shortcuts{position:absolute;z-index:2;top:24px;inset-inline:20px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;max-width:1100px;margin-inline:auto}
body.welcome-mode #app .home-floating-shortcuts button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:auto;min-width:104px;min-height:54px;max-width:100%;padding:6px 16px;border:1px solid #ffffffd9;border-radius:999px;background:#ffffffe8;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 5px 24px #443a2c0e;color:#5b6572;font-family:inherit;font-size:12px;font-weight:400;line-height:1.2;cursor:pointer}
body.welcome-mode #app .home-floating-shortcuts button:hover{background:#edf2f9}
body.welcome-mode #app .home-floating-shortcuts button span{font-family:inherit;font-size:12px;font-weight:400;line-height:1.2;text-align:center;overflow-wrap:anywhere}
body.welcome-mode #app .home-floating-shortcuts svg{width:23px;height:23px;stroke-width:1.7;flex:none}
@media(min-width:761px){body.welcome-mode #app .home-hero:has(.home-floating-shortcuts){min-height:280px}}
@media(max-width:760px){body.welcome-mode #app .home-floating-shortcuts{top:18px;inset-inline:12px;gap:8px}body.welcome-mode #app .home-floating-shortcuts button{width:auto;min-width:96px;max-width:calc(50% - 4px);padding:6px 12px}body.welcome-mode #app .home-hero:has(.home-floating-shortcuts){min-height:360px}}

/* Keep the mobile result count and data menu in the same compact toolbar. */
@media(max-width:760px){
 body #app .mobile-property-sheet .sheet-title{gap:8px;padding-inline-start:2px}
 body #app .mobile-property-sheet .sheet-title .results-data-options{margin:0}
 body #app .mobile-property-sheet .sheet-title .results-data-options>summary{padding:3px 7px;min-height:30px}
 body #app .mobile-property-sheet .sheet-title .results-data-options>.chips{position:absolute;top:100%;inset-inline:10px;z-index:5;margin:0;padding:10px;background:#f7fafc;border:1px solid #dce6ed;border-radius:14px;box-shadow:0 5px 16px #17385220}
 body #app .mobile-property-sheet .sheet-content{padding-top:4px}
}

/* Home navigation slides left from the fixed right-hand handle. */
body.welcome-mode #app .home-navigation-drawer{position:fixed;z-index:500;right:max(10px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:min(560px,calc(100% - 20px));pointer-events:none}
body.welcome-mode #app .home-navigation-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;min-height:54px;padding:10px;border:1px solid #c9dcff99;border-radius:999px;background:#ffffffd9;color:#1256ec;box-shadow:0 3px 18px #1256ec18;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);pointer-events:auto;cursor:pointer}
body.welcome-mode #app .home-navigation-toggle svg{width:25px;height:25px;transition:transform .32s ease}
body.welcome-mode #app .home-navigation-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
body.welcome-mode #app .home-navigation-toggle:hover{background:#edf4ff}
body.welcome-mode #app .home-navigation-toggle:focus-visible{outline:3px solid #1256ec;outline-offset:3px}
body.welcome-mode #app .home-navigation-viewport{margin-right:50px;overflow:hidden;padding:5px 2px;pointer-events:none}
body.welcome-mode #app .home-navigation-drawer .home-bottom-nav{position:relative;left:auto;right:auto;bottom:auto;box-sizing:border-box;width:100%;max-width:none;margin:0;padding:8px 6px;transform:translateX(calc(100% + 10px));opacity:0;visibility:hidden;pointer-events:none;transition:transform .36s cubic-bezier(.22,1,.36,1),opacity .24s ease,visibility 0s .36s}
body.welcome-mode #app .home-navigation-drawer.is-open .home-bottom-nav{transform:translateX(0);opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
@media(prefers-reduced-motion:reduce){body.welcome-mode #app .home-navigation-drawer .home-bottom-nav,body.welcome-mode #app .home-navigation-toggle svg{transition:none}}

/* The handle and menu share one pill; the collapsed handle has no surface. */
body.welcome-mode #app .home-navigation-drawer::before{content:"";position:absolute;inset:0;border:1px solid #ffffffd9;border-radius:999px;background:#ffffffe8;box-shadow:0 5px 24px #443a2c12;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);opacity:0;transform:scaleX(.08);transform-origin:right center;transition:transform .36s cubic-bezier(.22,1,.36,1),opacity .2s ease}
body.welcome-mode #app .home-navigation-drawer.is-open::before{opacity:1;transform:scaleX(1)}
body.welcome-mode #app .home-navigation-toggle{right:3px;border:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;z-index:1}
body.welcome-mode #app .home-navigation-toggle:hover{background:transparent;color:#0846d3}
body.welcome-mode #app .home-navigation-viewport{margin-right:44px;padding:5px 7px}
body.welcome-mode #app .home-navigation-drawer .home-bottom-nav{border:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
@media(max-width:760px){
 body.welcome-mode #app .home-content{box-sizing:border-box;padding-bottom:16px;background:linear-gradient(140deg,#fffffff5,#ffffffe0);border:1px solid #fff;border-radius:20px;box-shadow:0 12px 35px #51463709;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
 body.welcome-mode #app .home-search-card{background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 body.welcome-mode #app .home-publish{width:calc(100% - 28px);margin-inline:14px}
}
@media(prefers-reduced-motion:reduce){body.welcome-mode #app .home-navigation-drawer::before{transition:none}}

body .account-security-actions{display:flex;flex-wrap:wrap;gap:14px;margin:18px 0 24px;align-items:stretch}
body .account-security-actions>a.primary{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;border-radius:999px;margin:0;padding:12px 22px;line-height:1.4}
body .header #header-reels-startup{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px}
body .header .account-reels-switch{position:relative;flex:0 0 40px;width:40px;height:24px;border-radius:999px;background:#bac6d1;transition:background .18s}
body .header .account-reels-switch::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 3px #19324830;transition:transform .18s}
body .header #header-reels-startup[aria-checked=true] .account-reels-switch{background:#1256ec}
body .header #header-reels-startup[aria-checked=true] .account-reels-switch::after{transform:translateX(16px)}
body .header #header-reels-status:empty{display:none}
body .header #header-reels-status{display:block;padding:0 12px 6px;font-size:13px;color:#36556c}
@media(max-width:600px){body .account-security-actions{flex-direction:column}body .account-security-actions>a.primary{width:100%;box-sizing:border-box}}

/* The current destination uses the same blue as Home throughout bottom navigation. */
body #app .home-bottom-nav button[aria-current=page]{color:#1256ec;font-weight:700}
body #app .home-bottom-nav button[aria-current=page]>svg{stroke:#1256ec;fill:none}
body #app .home-bottom-nav button[aria-current=page][data-nav=welcome]>svg{fill:#1256ec;stroke:#1256ec}
body #app .home-bottom-nav button[aria-current=page]>span{color:#1256ec}

/* Shared opaque white pill navigation; Reels keeps its own controls. */
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock){grid-template-columns:repeat(5,minmax(0,1fr));background:rgba(255,255,255,.98);border:1px solid #ffffffed;border-radius:999px;box-shadow:0 5px 24px #443a2c0e;backdrop-filter:none;-webkit-backdrop-filter:none;max-width:650px}
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock)>button{color:#5b6572;background:transparent;border:0;border-radius:12px;box-shadow:none;font-size:12px;font-weight:400}
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock)>button[aria-current=page]{color:#1256ec;font-weight:700;background:transparent}
body:not(.reels-open) #app .map-navigation-dock>button[aria-current=page]>svg{stroke:#1256ec;fill:none}
body.welcome-mode #app .home-navigation-drawer{background:rgba(255,255,255,.98);backdrop-filter:none;-webkit-backdrop-filter:none}

/* Solid white navigation on every regular page, including the Home drawer. */
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock,.home-navigation-drawer),
body:not(.reels-open) #app .home-navigation-drawer::before{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* Match the Home drawer to the single opaque navigation pill on other pages. */
body.welcome-mode #app .home-navigation-drawer{border-radius:999px;border:1px solid #ffffffed;box-shadow:0 5px 24px #443a2c0e;max-width:650px;overflow:hidden;isolation:isolate}
body.welcome-mode #app .home-navigation-drawer::before{display:none}
body.welcome-mode #app .home-navigation-drawer .home-bottom-nav{background:transparent!important;border:0;border-radius:999px;box-shadow:none}
body.welcome-mode #app .home-navigation-drawer:not(.is-open){background:transparent!important;border-color:transparent;box-shadow:none;overflow:visible}
body.welcome-mode #app .home-navigation-drawer:not(.is-open) .home-navigation-toggle{background:#fff;box-shadow:0 5px 24px #443a2c0e}
.header :is(.services-menu-panel,.account-menu-panel){transform-origin:top center}

/* One 60px pill: 48px controls, 5px vertical padding, and a 1px border. */
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock){box-sizing:border-box;height:60px;min-height:60px;padding:5px 9px}
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock)>button{box-sizing:border-box;height:48px;min-height:48px;padding:2px}
body.welcome-mode #app .home-navigation-drawer{box-sizing:border-box;height:60px}
body.welcome-mode #app .home-navigation-viewport{padding:0 7px}
body.welcome-mode #app .home-navigation-drawer .home-bottom-nav{height:58px;min-height:58px;padding:5px 6px}

/* Black navigation labels, including the selected destination. */
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock)>button>span:not(.toolbar-count){color:#000}

/* Subtle definition for personal-area navigation tiles. */
body #app .account-page :is(.account-overview-tile,.account-management-entry){border:1px solid #b8d1f2;box-shadow:0 5px 14px rgba(35,86,150,.10),0 2px 4px rgba(35,86,150,.04)}

/* Close buttons use a subtle focused surface instead of a blue ring. */
body :is(#modal-close,#overlay-close,[data-inbox-close],[data-contact-close],[data-guide-close],[data-reels-close],dialog [data-close]):focus{outline:none;box-shadow:none}
body :is(#modal-close,#overlay-close,[data-inbox-close],[data-contact-close],[data-guide-close],[data-reels-close],dialog [data-close]):focus-visible{outline:none;box-shadow:none;background:#e5ebf2;color:#193e5b}

/* Black idle navigation icons; blue continues to mark the active page. */
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock)>button:not([aria-current=page]){color:#000}
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock)>button:not([aria-current=page])>svg{color:#000;stroke:#000;filter:none}
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock)>button:not([aria-current=page])[data-nav=welcome]>svg{fill:#000}

/* Header action grids: white surfaces, black labels and the navigation icon style. */
body #app .header :is(.services-menu-panel,.account-menu-panel){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:336px;max-width:calc(100vw - 20px);padding:12px;border:1px solid #e5ebf2;border-radius:26px;background:#fff;box-shadow:0 8px 30px #19324820;backdrop-filter:none;-webkit-backdrop-filter:none}
body #app .header :is(.services-menu-panel,.account-menu-panel) :is(button,a){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;min-width:0;min-height:74px;height:auto;padding:8px 4px;margin:0;border:0;border-radius:16px;background:transparent;box-shadow:none;color:#000;text-align:center;text-decoration:none;font-size:14px;font-weight:400;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
body #app .header :is(.services-menu-panel,.account-menu-panel) :is(button,a)>span{display:block;color:#000;font-size:14px;font-weight:400;line-height:1.35;white-space:normal}
body #app .header :is(.services-menu-panel,.account-menu-panel) :is(button,a)>svg{display:block;flex:0 0 21px;width:21px;height:21px;margin:0;color:#000;filter:none}
body #app .header :is(.services-menu-panel,.account-menu-panel) :is(button,a):is(:hover,:focus-visible){background:#eef5ff;color:#1256ec}
body #app .header :is(.services-menu-panel,.account-menu-panel) :is(button,a):focus-visible{outline:2px solid #1256ec;outline-offset:1px}
body #app .header :is(.services-menu-panel,.account-menu-panel) :is(button,a):is(:hover,:focus-visible)>svg{color:#1256ec}
body #app .header .account-mobile-tools{display:contents}
body #app .header .account-identity,body #app .header .account-menu-panel>p,body #app .header #header-reels-status{grid-column:1/-1}
body #app .header .account-identity{margin:0 0 4px;padding:4px 6px 10px}
body #app .header #header-reels-startup{position:relative;gap:6px;min-height:92px}
body #app .header #header-reels-startup .account-reels-switch{flex:0 0 20px;width:34px;height:20px}
body #app .header #header-reels-startup .account-reels-switch::after{width:14px;height:14px}
body #app .header #header-reels-startup[aria-checked=true] .account-reels-switch::after{transform:translateX(14px)}
body #app .header #header-reels-startup[aria-checked=true]>svg{color:#1256ec}
body #app #area-draw[aria-pressed=true]{background:#1256ec;color:#fff;border-color:#86b3ff;box-shadow:0 0 0 3px #4387ff26,0 4px 12px #1256ec40}
@media(max-width:760px){body #app .header :is(.services-menu-panel,.account-menu-panel){width:auto;inset-inline:10px;max-width:none;max-height:calc(100dvh - 94px);overflow:auto}}
@media(max-width:350px){body #app .header :is(.services-menu-panel,.account-menu-panel){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact identity row, with one email and a nearby sign-out action. */
body #app .header .account-identity{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
body #app .header .account-identity-copy{display:grid;gap:4px;min-width:0;text-align:start;overflow-wrap:anywhere}
body #app .header .account-identity-copy strong{font-size:15px;text-align:start}
body #app .header .account-identity .account-sign-out{display:flex;flex-direction:row;width:auto;min-height:36px;gap:5px;padding:6px;border:0;font-size:12px}
body #app .header .account-identity .account-sign-out>span{font-size:12px;white-space:nowrap}
body #app .header .account-identity .account-sign-out>svg{flex-basis:18px;width:18px;height:18px}
/* Bring the navigation closer to the lower edge, retaining the safe inset. */
body:not(.reels-open) #app .home-navigation-drawer,
body:not(.reels-open) #app .map-navigation-dock,
body:not(.reels-open):not(.welcome-mode) #app .home-bottom-nav{bottom:max(4px,env(safe-area-inset-bottom))}

body #app .header #header-tour-enabled{position:relative;gap:6px;min-height:92px}
body #app .header #header-tour-enabled .account-reels-switch{flex:0 0 20px;width:34px;height:20px}
body #app .header #header-tour-enabled .account-reels-switch::after{width:14px;height:14px}
body #app .header #header-tour-enabled[aria-checked=true] .account-reels-switch{background:#1256ec}
body #app .header #header-tour-enabled[aria-checked=true] .account-reels-switch::after{transform:translateX(14px)}
body #app .header #header-tour-enabled[aria-checked=true]>svg{color:#1256ec}
body #app .header #header-tour-status{grid-column:1/-1;font-size:13px;color:#36556c;padding:0 6px}
body #app .header #header-tour-status:empty{display:none}

/* Map tools share the opaque white navigation surface. */
body #app .mobile-map-toolbar>button,
body #app .mobile-map-toolbar .toolbar-map-style>summary,
body #app .mobile-map-toolbar .area-controls #area-draw{background:#fff;border:1px solid #e8edf2;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 5px 18px #19324816}
body #app .mobile-map-toolbar .area-controls #area-draw[aria-pressed=true],
body #app .mobile-map-toolbar .area-controls #area-draw.search-hand-highlight{background:#1256ec;color:#fff;border-color:#86b3ff}
/* Home-style search field with a left microphone and a separate action row. */
body #app .smart-dock .map-search-row{display:flex;direction:ltr;align-items:flex-start;gap:8px;width:100%;min-width:0}
body #app .smart-dock .map-search-row>.mobile-search-options{margin-top:2px}
body #app .smart-dock .search-field{position:relative;isolation:isolate;display:grid;direction:ltr;grid-template-columns:44px minmax(0,1fr);grid-template-rows:48px;grid-auto-rows:auto;align-items:center;gap:8px 4px;flex:1 1 0;width:100%;min-width:0;min-height:48px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;overflow:visible}
body #app .smart-dock .search-field:before{content:'';position:absolute;inset:0 0 auto;height:48px;box-sizing:border-box;border:1px solid #d5d8dd;border-radius:12px;background:#fff;box-shadow:inset 0 1px 3px #26364a05;pointer-events:none;z-index:-1}
body #app .smart-dock .search-field:has(input:focus):before{border-color:#1256ec;box-shadow:0 0 0 3px #1256ec1a}
body #app .smart-dock .search-field>svg{display:none}
body #app .smart-dock .search-field #search{position:relative;grid-column:2;grid-row:1;width:100%;min-width:0;min-height:48px;padding:10px 12px;border:0;background:transparent;box-shadow:none;border-radius:12px;font-size:16px;color:#19384d;outline:none;text-align:start}
html[dir=rtl] body #app .smart-dock #search{direction:rtl}
body #app .smart-dock #search::placeholder{color:#818a96;opacity:1}
body #app .smart-dock .search-field .voice-search-button{grid-column:1;grid-row:1;justify-self:center;display:flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:44px;min-height:44px;padding:9px;border:0;border-radius:10px;background:transparent;color:#1256ec;box-shadow:none}
body #app .smart-dock .search-field .voice-search-button svg{width:24px;height:24px;stroke-width:2.4}
body #app .smart-dock .search-field .voice-search-button:is(.listening,.voice-active){color:#d52d48;background:#fff;box-shadow:0 0 0 2px #d52d4820}
body #app .smart-dock .search-field #smart-submit{grid-column:1/-1;grid-row:2;justify-self:start;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;width:auto;min-width:92px;height:40px;min-height:40px;padding:8px 18px;border:0;border-radius:12px;background:#1256ec;color:#fff;font-size:15px;white-space:nowrap}
body #app .smart-dock .search-field #smart-submit>span{display:inline!important;font-size:15px}
body #app .smart-dock .search-field #smart-submit>svg{display:none}
body #app .smart-dock .search-field:not(.has-search-text) #smart-submit:not([data-voice-active]):not(.search-busy){display:none}
body #app .smart-dock .search-field .voice-recording-cancel{grid-column:2;grid-row:2;justify-self:end;min-height:40px}
body #app .smart-dock .search-field .voice-recording-cancel[hidden]{display:none}
body #app .smart-dock .search-field #manual-filter-toggle{display:none}
body #app .smart-dock .map-search-row>.mobile-search-options{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:1px solid #e8edf2;border-radius:50%;background:#fff;color:#2459a6;box-shadow:0 5px 18px #19324816}

/* Keep the map input pill, with the action row outside its white surface. */
body #app .smart-dock .search-field:before{border-radius:999px}
body #app .smart-dock .search-field #search{border-radius:999px;padding-inline-end:18px}
body #app .smart-dock .search-field .voice-search-button{border-radius:50%;width:40px;min-width:40px;height:40px;min-height:40px}
body #app .voice-search-help.voice-soft-note{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:5px 10px;margin-top:5px;border:0;border-radius:12px;background:#fffffff0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;font-size:13px;line-height:1.4;max-height:none}
body #app .voice-search-help.voice-soft-note p{margin:0!important;font-size:13px!important;font-weight:400;color:#667583!important;line-height:1.4!important}
body #app .voice-soft-note .voice-help-actions{margin:0}
body #app .voice-soft-note button{min-height:32px;padding:4px 6px;border:0;background:transparent;color:#2459a6;font-size:13px;font-weight:500;box-shadow:none}

/* Results view selection uses icon/text colour only. */
body #app .explore-scene .results-view button{background:transparent;border:0;box-shadow:none;color:#627d94;font-weight:400}
body:not(.reels-open) #app .explore-scene .results-view button[aria-pressed=true],
body.reels-open #app .explore-scene .results-view button.results-discover{color:#1256ec;font-weight:700}
body #app .explore-scene .results-view button svg{color:inherit;stroke:currentColor}

/* Larger bottom navigation labels within the existing fixed-height pill. */
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock)>button,
body:not(.reels-open) #app :is(.home-bottom-nav,.map-navigation-dock)>button>span:not(.toolbar-count){font-size:13px}

/* Account avatar and desktop shortcut customization. */
body #app .header .header-profile-avatar{position:relative;display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border:1.5px solid currentColor;border-radius:50%;overflow:hidden;background:#fff}
body #app .header .header-profile-avatar>svg{width:23px;height:23px}
body #app .header .header-profile-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff}
.desktop-menu-custom,.desktop-banner-shortcuts,.desktop-shortcuts-edit{display:none}
.desktop-shortcut-editor{position:fixed;inset:calc(var(--header-height,64px) + 12px) auto auto 24px;width:min(540px,calc(100vw - 48px));max-height:calc(100dvh - var(--header-height,64px) - 36px);margin:0;padding:20px;border:1px solid #c5d9ef;border-radius:22px;background:#fff;color:#193248;box-shadow:0 16px 60px #19324830;z-index:1600;overflow:auto;font-family:inherit}
.desktop-shortcut-editor form{margin:0}
.shortcut-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.shortcut-editor-heading h2{font-size:21px;margin:0}
.shortcut-editor-heading button{width:36px;height:36px;border:0;background:transparent;color:#193248;font-size:28px;cursor:pointer}
.desktop-shortcut-editor p{font-size:14px;color:#567087}
.shortcut-column-head,.shortcut-choice{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px;align-items:center;gap:8px}
.shortcut-column-head{padding:9px 0;background:#f1f6fc;font-size:12px;text-align:center}
.shortcut-choice{min-height:43px;border-bottom:1px solid #edf1f5;font-size:14px}
.shortcut-choice>span{display:flex;align-items:center;gap:8px}
.shortcut-choice svg{width:19px;height:19px;flex-shrink:0}
.shortcut-choice label{display:grid;place-items:center;height:42px;cursor:pointer}
.shortcut-choice input{width:18px;height:18px;accent-color:#1256ec}
.desktop-shortcut-editor footer{position:sticky;bottom:-20px;display:flex;justify-content:flex-end;gap:10px;padding:12px 0;background:#fff}
.desktop-shortcut-editor footer button{border:1px solid #c5d9ef;border-radius:999px;padding:8px 20px;font:inherit;cursor:pointer}
.desktop-shortcut-editor footer .primary{background:#1256ec;color:#fff}
.desktop-shortcut-editor button:disabled{opacity:.6;cursor:wait}
@media(min-width:761px){
 body.welcome-mode #app .home-navigation-toggle{display:none}
 body.welcome-mode #app .home-navigation-viewport{margin-right:0;padding:0 7px;pointer-events:auto}
 body.welcome-mode #app .home-navigation-drawer .home-bottom-nav{transform:none;opacity:1;visibility:visible;pointer-events:auto}
 body #app .header .services-menu-panel>.desktop-menu-default{display:none}
 body #app .header .desktop-menu-custom{display:contents}
 body #app .header .services-menu-panel .desktop-shortcuts-edit{grid-column:1/-1;flex-direction:row;min-height:36px;display:flex;align-items:center;justify-content:center;gap:4px;order:5;min-width:52px;height:32px;padding:4px 7px;background:#fff;border:1px solid #d6e2ef;border-radius:999px;color:#294f72;font:inherit;font-size:12px;cursor:pointer}
 body #app .header .desktop-shortcuts-edit svg{width:15px;height:15px}
 body #app .header .desktop-banner-shortcuts{order:10;display:flex;align-items:center;gap:5px;min-width:0;max-width:360px;margin-inline-start:auto;overflow-x:auto;scrollbar-width:thin;flex-shrink:1}
 body #app .header .desktop-banner-shortcuts:empty{display:none}
 body #app .header .desktop-banner-shortcuts>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:0 0 auto;width:75px;min-height:49px;padding:4px;border:0;border-radius:10px;background:#fff;color:#000;font:inherit;font-size:11px;line-height:1.15;cursor:pointer}
 body #app .header .desktop-banner-shortcuts>button svg{width:21px;height:21px;flex-shrink:0}
 body #app .header .desktop-banner-shortcuts>button:hover{background:#edf4ff;color:#1256ec}
 body #app .header .desktop-banner-shortcuts>button.desktop-banner-add{width:120px;border:1px dashed #93b7ea;border-radius:7px;background:#eaf3ff;color:#235ca6}
 body #app .header .desktop-banner-shortcuts>button:focus-visible,body #app .desktop-shortcuts-edit:focus-visible{outline:2px solid #1256ec;outline-offset:-2px}
 body.reels-open #app .desktop-shortcuts-edit,body.reels-open #app .desktop-banner-shortcuts{display:none}
}
@media(min-width:761px){
 body.desktop-header-mode.top-navigation-visible:has(.desktop-banner-shortcuts:not(:empty)){--header-height:112px}
 body.desktop-header-mode.top-navigation-visible #app .header:has(.desktop-banner-shortcuts:not(:empty)){display:grid;grid-template-columns:auto auto minmax(0,1fr);grid-template-rows:48px 40px;height:112px;min-height:112px;padding:8px 16px;gap:8px 12px}
 body.desktop-header-mode.top-navigation-visible #app .header:has(.desktop-banner-shortcuts:not(:empty)) .brand{grid-column:1;grid-row:1}
 body.desktop-header-mode.top-navigation-visible #app .header:has(.desktop-banner-shortcuts:not(:empty)) .header-actions{grid-column:2;grid-row:1}
 body.desktop-header-mode.top-navigation-visible #app .header:has(.desktop-banner-shortcuts:not(:empty)) .nav{grid-column:1/-1;grid-row:2;justify-content:space-between}
 body.desktop-header-mode.top-navigation-visible #app .header .desktop-banner-shortcuts{grid-column:3;grid-row:1;justify-self:end;max-width:100%}
 body #app .header .header-social-shortcuts:empty{display:none}
}
@media(max-width:760px){.desktop-shortcut-editor,body #app .header .services-menu-panel .desktop-shortcuts-edit{display:none}}

/* Desktop home navigation follows the search/publish panel in normal flow. */
@media(min-width:761px){
 body.welcome-mode #app .home-navigation-drawer{position:relative;inset:auto;align-self:center;flex:0 0 60px;width:calc(100% - 32px);max-width:650px;margin:20px auto 0;transform:none}
}

@media(min-width:761px){
 html[dir=ltr] body #app .header .desktop-banner-shortcuts{order:-1;margin-inline-start:0;margin-inline-end:auto}
 html[dir=ltr] body.desktop-header-mode.top-navigation-visible #app .header:has(.desktop-banner-shortcuts:not(:empty)){grid-template-columns:minmax(0,1fr) auto auto}
 html[dir=ltr] body.desktop-header-mode.top-navigation-visible #app .header:has(.desktop-banner-shortcuts:not(:empty)) .brand{grid-column:3}
 html[dir=ltr] body.desktop-header-mode.top-navigation-visible #app .header .desktop-banner-shortcuts{grid-column:1;justify-self:start}
}

/* A half-width input on desktop; the actions keep their existing layout. */
@media(min-width:761px){
 body.welcome-mode #app .home-editorial .welcome-search-field{grid-template-columns:25% minmax(0,1fr) 44px 25%;column-gap:0!important}
 body.welcome-mode #app .home-editorial .welcome-search-field:before{inset-inline:25%}
 body.welcome-mode #app .home-editorial #welcome-search{grid-column:2}
 body.welcome-mode #app .home-editorial .welcome-search-field>.voice-search-button{grid-column:3}
 body.welcome-mode #app .home-editorial .home-voice-hint,body.welcome-mode #app .home-editorial .home-voice-controls{grid-column:2/4}
}
