/* Approved-reference header and footer, shared by every page that renders them.
   Public pages also get a fluid scale: --r is one reference pixel, 1px at the
   reference widths (992px homepage, 1024px property pages) and growing with the
   viewport to a comfortable cap, so wide screens keep the same proportions.
   Workspace pages use the fallback sizes. */
html[data-aw-theme] body{--ref-ink:#141a24;--ref-text:#3f4754;--ref-muted:#687180;--ref-line:#e3e7ec;--ref-soft:#f5f7fa;--ref-surface:#fff;--ref-tint:#edf2f9;--ref-blue:#0b5cf2;--ref-blue-hover:#0a4fd1;--ref-link:#1a5fd6;--ref-badge:#1f2733;--ref-chip:#dce9fd;--ref-chip-ink:#1d58c8;--ref-chip-land:#d9efe1;--ref-chip-land-ink:#1d6239;--ref-chip-pending:#fdf0d5;--ref-chip-pending-ink:#8a5a00}
html[data-aw-theme=dark] body{--ref-ink:#edf1f5;--ref-text:#c9d1dc;--ref-muted:#a1aab7;--ref-line:#2f3a4a;--ref-soft:#1a2331;--ref-surface:#151e2b;--ref-tint:#18253a;--ref-blue:#3478f6;--ref-blue-hover:#5590f8;--ref-link:#98baff;--ref-badge:#0b1119;--ref-chip:#1d3557;--ref-chip-ink:#b9d0ff;--ref-chip-land:#1c3a2a;--ref-chip-land-ink:#a8e2bd;--ref-chip-pending:#3d3014;--ref-chip-pending-ink:#f3d18b}
html[data-aw-theme] body.pm-public{--r:clamp(1px,calc(100vw / 1024),1.28px);--ref-gut:clamp(16px,2.35vw,48px);--ref-max:calc(1120 * var(--r))}
html[data-aw-theme] body.pm-public:has(.aw-reference-home){--r:clamp(1px,calc(100vw / 992),1.28px);--ref-gut:clamp(16px,4.3vw,64px);--ref-max:calc(1180 * var(--r))}
.aw-ref-icon{flex:none;display:inline-block;vertical-align:middle}

/* Header: nav left, wordmark centered, Saved and Sign in right. One geometry on every
   page (public, sign-in, buyer, agent, admin) so the bar and its menus never shift
   between page types; --hr is the header's own reference pixel. */
html[data-aw-theme] body{--hr:clamp(1px,calc(100vw / 1024),1.28px);--hgut:clamp(16px,3.3vw,56px);--hmax:calc(1180 * var(--hr))}
html[data-aw-theme] header.aw-centered-header{background:var(--ref-surface)!important;border-bottom:1px solid var(--ref-line)!important}
html[data-aw-theme] body:has(.aw-reference-home) header.aw-centered-header{border-bottom-color:transparent!important}
html[data-aw-theme] header.aw-centered-header>.aw-header-grid{width:min(calc(100% - 2 * var(--hgut)),var(--hmax))!important;max-width:none!important;margin:0 auto!important;padding:0!important;min-height:calc(46 * var(--hr))!important;gap:calc(20 * var(--hr))!important}
html[data-aw-theme] .aw-centered-header .aw-header-left{justify-content:flex-start!important}
html[data-aw-theme] .aw-centered-header .premium-main-nav{display:flex!important;justify-content:flex-start!important;width:auto!important;gap:calc(26 * var(--hr))!important}
html[data-aw-theme] .aw-centered-header .aw-mobile-menu{display:none!important}
html[data-aw-theme] .aw-centered-header .premium-main-nav .premium-menu>summary{font-size:max(13px,calc(13 * var(--hr)))!important;font-weight:500!important;color:var(--ref-ink)!important;padding:calc(6 * var(--hr)) 0!important;min-height:calc(40 * var(--hr))!important;display:flex!important;align-items:center;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-aw-theme] .aw-centered-header .premium-main-nav .premium-menu>summary:hover{color:var(--ref-link)!important}
html[data-aw-theme] .aw-centered-header .premium-main-nav .premium-menu{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-aw-theme] .aw-centered-header .aw-centered-brand{font-family:'Source Sans 3',system-ui,sans-serif!important;font-size:calc(23 * var(--hr))!important;font-weight:750!important;letter-spacing:-.022em!important;line-height:1!important;color:var(--ref-ink)!important;gap:0!important;text-decoration:none!important}
html[data-aw-theme] .aw-centered-header .aw-centered-brand span{font:inherit!important;letter-spacing:inherit!important;color:inherit!important}
html[data-aw-theme] .aw-centered-header .aw-centered-brand :is(img,small){display:none!important}
html[data-aw-theme] .aw-centered-header .premium-header-actions{gap:calc(14 * var(--hr))!important}
html[data-aw-theme] .aw-centered-header .aw-header-advertise{display:none!important}
html[data-aw-theme] .aw-centered-header .premium-header-actions>a.aw-header-dashboard{font-size:max(13px,calc(13 * var(--hr)))!important;font-weight:500!important;color:var(--ref-ink)!important}
html[data-aw-theme] .aw-centered-header .premium-saved{display:inline-flex!important;align-items:center;gap:calc(7 * var(--hr));padding:0 calc(14 * var(--hr)) 0 0!important;border-right:1px solid var(--ref-line);min-height:calc(20 * var(--hr));font-size:max(13px,calc(13 * var(--hr)))!important;font-weight:500!important;color:var(--ref-ink)!important;background:transparent!important;text-decoration:none!important}
html[data-aw-theme] .aw-centered-header .premium-saved span{font:inherit!important;color:inherit!important}
html[data-aw-theme] .aw-centered-header .premium-saved img{width:calc(17 * var(--hr))!important;height:calc(17 * var(--hr))!important;opacity:.92}
html[data-aw-theme=dark] .aw-centered-header .premium-saved img{filter:invert(1)}
html[data-aw-theme] .aw-centered-header .aw-signin-menu>summary{display:inline-flex!important;align-items:center;justify-content:center;min-height:calc(31 * var(--hr))!important;padding:0 calc(15 * var(--hr))!important;border:0!important;border-radius:calc(4 * var(--hr))!important;background:var(--ref-blue)!important;color:#fff!important;font-size:max(13px,calc(13 * var(--hr)))!important;font-weight:600!important;max-width:none!important;box-shadow:none!important}
html[data-aw-theme] .aw-centered-header .aw-signin-menu>summary:hover{background:var(--ref-blue-hover)!important}
html[data-aw-theme] .aw-centered-header .premium-account-menu:not(.aw-signin-menu)>summary{min-height:calc(31 * var(--hr))!important;padding:0 calc(12 * var(--hr))!important;display:inline-flex!important;align-items:center;font-size:max(13px,calc(13 * var(--hr)))!important;border-radius:calc(4 * var(--hr))!important}
html[data-aw-theme] .aw-centered-header .aw-theme-toggle{width:calc(30 * var(--hr))!important;min-width:calc(30 * var(--hr))!important;height:calc(30 * var(--hr))!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--ref-muted)!important;display:inline-grid!important;place-items:center;font-size:calc(15 * var(--hr))!important;box-shadow:none!important}
html[data-aw-theme] .aw-centered-header .aw-theme-toggle:hover{background:var(--ref-soft)!important;color:var(--ref-ink)!important}
html[data-aw-theme] .aw-centered-header .aw-theme-toggle>span:last-child{display:none!important}
@media(max-width:899px){
 html[data-aw-theme] header.aw-centered-header>.aw-header-grid{min-height:56px!important;gap:10px!important}
 html[data-aw-theme] .aw-centered-header .premium-main-nav{display:none!important}
 html[data-aw-theme] .aw-centered-header .aw-mobile-menu{display:block!important;position:static}
 html[data-aw-theme] .aw-centered-header .aw-mobile-menu>summary{display:flex!important;align-items:center;gap:8px;min-height:44px!important;padding:0!important;font-size:14px!important;font-weight:500!important;color:var(--ref-ink)!important;cursor:pointer}
 html[data-aw-theme] .aw-centered-header .aw-centered-brand{font-size:22px!important}
 html[data-aw-theme] .aw-centered-header .premium-saved{padding:0!important;border:0!important;min-width:40px;min-height:40px;justify-content:center}
 html[data-aw-theme] .aw-centered-header .premium-saved span{display:none}
 html[data-aw-theme] .aw-centered-header .aw-header-dashboard{display:none!important}
}
@media(max-width:600px){
 html[data-aw-theme] .aw-centered-header .aw-mobile-menu>summary>span{display:none}
 html[data-aw-theme] .aw-centered-header .premium-header-actions{gap:4px!important}
 html[data-aw-theme] .aw-centered-header .aw-signin-menu>summary{padding:0 12px!important;min-height:36px!important}
}
@media(min-width:900px) and (max-width:1099px){html[data-aw-theme] .aw-centered-header .aw-header-dashboard{display:none!important}}

/* Footer: inventory market strip, brand with four groups, legal row. */
html[data-aw-theme] body .aw-site-footer{margin-top:calc(18 * var(--r,1px))!important;padding:0!important;background:var(--ref-surface)!important;border-top:1px solid var(--ref-line)!important;color:var(--ref-ink)!important}
html[data-aw-theme] body:has(.aw-reference-home) .aw-site-footer{margin-top:calc(4 * var(--r,1px))!important;border-top:0!important}
html[data-aw-theme] body:has(.aw-reference-property) .aw-footer-markets{display:none!important}
html[data-aw-theme] body .aw-footer-markets{max-width:none!important;margin:0!important;padding:0!important;background:var(--ref-soft);border-top:1px solid var(--ref-line);border-bottom:1px solid var(--ref-line)}
.aw-footer-markets-inner,html[data-aw-theme] body .aw-site-footer>:is(.aw-footer-main,.aw-footer-legal){width:min(calc(100% - 2 * var(--ref-gut,24px)),var(--ref-max,1240px))!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
.aw-footer-markets-inner{display:flex;align-items:center;gap:6px calc(26 * var(--r,1px));min-height:calc(32 * var(--r,1px));padding:6px 0;flex-wrap:wrap}
html[data-aw-theme] body .aw-footer-markets h2{font-size:max(12px,calc(11.5 * var(--r,1px)))!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;color:var(--ref-ink)!important;margin:0!important;line-height:1.3!important}
html[data-aw-theme] body .aw-footer-markets nav{display:flex;flex-wrap:wrap;gap:4px calc(26 * var(--r,1px))}
html[data-aw-theme] body .aw-footer-markets nav a,html[data-aw-theme] body .aw-footer-markets .aw-footer-markets-all{display:inline-flex;align-items:center;gap:4px;padding:2px 0!important;border:0!important;border-radius:0!important;background:none!important;font-size:max(12px,calc(11 * var(--r,1px)))!important;font-weight:500!important;line-height:1.3;color:var(--ref-link)!important;text-decoration:none}
html[data-aw-theme] body .aw-footer-markets .aw-footer-markets-all{margin-left:auto;font-size:max(12px,calc(11.5 * var(--r,1px)))!important}
html[data-aw-theme] body .aw-footer-markets a:hover{text-decoration:underline}
html[data-aw-theme] body .aw-site-footer .aw-footer-main{display:grid!important;grid-template-columns:1.9fr 1.6fr 1.5fr 1.5fr 1fr!important;gap:calc(16 * var(--r,1px))!important;padding:calc(17 * var(--r,1px)) 0 calc(16 * var(--r,1px))!important;align-items:start}
html[data-aw-theme] body .aw-site-footer .aw-footer-main>section{display:flex!important;flex-direction:column;gap:0!important;margin:0!important;padding:0!important;min-width:0}
html[data-aw-theme] body .aw-site-footer .aw-footer-wordmark{font-family:'Source Sans 3',system-ui,sans-serif!important;font-size:calc(20 * var(--r,1px))!important;font-weight:750!important;letter-spacing:-.022em!important;line-height:1.15!important;color:var(--ref-ink)!important;text-decoration:none}
html[data-aw-theme] body .aw-site-footer .aw-footer-brand p{font-size:max(12px,calc(12.5 * var(--r,1px)))!important;line-height:1.35!important;color:var(--ref-muted)!important;margin:calc(4 * var(--r,1px)) 0 0!important;max-width:none}
html[data-aw-theme] body .aw-site-footer .aw-footer-main h3{font-size:max(12px,calc(12 * var(--r,1px)))!important;font-weight:700!important;line-height:1.3!important;color:var(--ref-ink)!important;margin:0 0 calc(3 * var(--r,1px))!important;letter-spacing:0!important}
html[data-aw-theme] body .aw-site-footer .aw-footer-main>section>a:not(.aw-footer-wordmark){font-size:max(12px,calc(12 * var(--r,1px)))!important;line-height:1.31!important;padding:calc(1.5 * var(--r,1px)) 0!important;min-height:0!important;margin:0!important;color:var(--ref-muted)!important;text-decoration:none}
html[data-aw-theme] body .aw-site-footer .aw-footer-main>section>a:not(.aw-footer-wordmark):hover{color:var(--ref-ink)!important;text-decoration:underline}
html[data-aw-theme] body .aw-site-footer .aw-footer-legal{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px calc(22 * var(--r,1px))!important;padding:calc(10 * var(--r,1px)) 0 calc(14 * var(--r,1px))!important;margin-top:0!important;border-top:1px solid var(--ref-line)!important;font-size:max(12px,calc(11.5 * var(--r,1px)))!important;line-height:1.4;color:var(--ref-muted)}
html[data-aw-theme] body .aw-site-footer .aw-footer-legal nav{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px calc(22 * var(--r,1px))!important;margin:0!important}
html[data-aw-theme] body .aw-site-footer .aw-footer-legal :is(a,button){font-size:max(12px,calc(11.5 * var(--r,1px)))!important;font-weight:400!important;color:var(--ref-muted)!important;text-decoration:none;padding:3px 0!important;min-height:0!important;background:none!important;border:0!important}
html[data-aw-theme] body .aw-site-footer .aw-footer-legal :is(a,button):hover{color:var(--ref-ink)!important;text-decoration:underline}
html[data-aw-theme] body .aw-site-footer .aw-footer-eho{display:inline-flex!important;align-items:center;gap:calc(10 * var(--r,1px))}
html[data-aw-theme] body .aw-site-footer .aw-footer-eho svg{color:var(--ref-ink)}
html[data-aw-theme] body .aw-site-footer .aw-footer-copyright{margin-left:auto;color:var(--ref-muted)!important}
html[data-aw-theme] body .aw-site-footer .aw-footer-privacy-status{flex-basis:100%;margin:0!important}
@media(max-width:899px){
 html[data-aw-theme] body .aw-site-footer .aw-footer-main{grid-template-columns:repeat(4,minmax(0,1fr))!important;row-gap:18px!important}
 html[data-aw-theme] body .aw-site-footer .aw-footer-brand{grid-column:1/-1}
}
@media(max-width:600px){
 html[data-aw-theme] body .aw-site-footer .aw-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html[data-aw-theme] body .aw-site-footer .aw-footer-main>section>a:not(.aw-footer-wordmark){padding:6px 0!important;font-size:14px!important}
 html[data-aw-theme] body .aw-footer-markets .aw-footer-markets-all{margin-left:0}
 html[data-aw-theme] body .aw-site-footer .aw-footer-legal :is(a,button){padding:6px 0!important;font-size:13px!important}
 html[data-aw-theme] body .aw-site-footer .aw-footer-copyright{margin-left:0;flex-basis:100%}
}

/* Workspace sidebars: a legacy badge rule in premium.css (.pm-sidebar>a>span)
   painted the buyer and admin navigation labels as 9px green chips. */
html[data-aw-theme] .pm-sidebar>a>span:not(.sc-interp){background:none!important;color:inherit!important;font-size:inherit!important;padding:0!important}

/* Phones: the bar keeps Saved and the account button; the theme switch moves into
   the menu so nothing overlaps the centered wordmark. */
.aw-mobile-theme{display:none}
@media(max-width:600px){
 html[data-aw-theme] .aw-centered-header .premium-header-actions>.aw-theme-toggle{display:none!important}
 html[data-aw-theme] .aw-centered-header .aw-mobile-theme{display:block;grid-column:1/-1;border-top:1px solid var(--ref-line);margin-top:6px;padding-top:6px}
 html[data-aw-theme] .aw-centered-header .aw-mobile-theme .aw-theme-toggle{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;width:100%!important;height:44px!important;padding:0 12px!important;border-radius:6px!important;color:var(--ref-ink)!important;font-size:15px!important}
 html[data-aw-theme] .aw-centered-header .aw-mobile-theme .aw-theme-toggle>span:last-child{display:inline!important}
 html[data-aw-theme] .aw-centered-header .aw-signin-menu>summary{padding:0 11px!important}
}
