/* CUI3 desktop-only corrective layer; intentionally leaves approved mobile results unchanged. */
@media(min-width:769px){
body.property-results-page .price-line h2{font-weight:650!important;letter-spacing:-.025em!important}
body.property-results-page .virtual-tour-roundel{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border-radius:50%!important;font-size:0!important;gap:0!important}
body.property-results-page .virtual-tour-roundel i{font-size:15px!important}
body.property-results-page .quick-filters-dialog input[type=text]{min-height:38px!important;height:38px!important}
body.property-results-page .category-rental .price-line h2{white-space:nowrap}
}
/* Introductory editorial sections: remove unintended grey fills. */
body .acquisition-intro,body .offmarket-principles-head{background:transparent!important}
/* Use-class panel: remove harsh black-on-green blocks. */
body .commercial-use-panel .use-class-overview{background:#f3f1eb!important;color:#243b35!important}
body .commercial-use-panel .use-class-overview *{color:inherit}
/* Keep lower-page promotional banners aligned to editorial page width. */
body .landlord-cta,body .commercial-guide-cta{max-width:1200px!important;margin-left:auto!important;margin-right:auto!important}

/* CUI3-01: override the actual high-specificity V13 hero fill, not the heading wrapper. */
main.acquisition-page section.page-intro.acquisition-intro.non-hero-intro,
main.offmarket-page section.page-intro.non-hero-intro{background:#fff!important;border-bottom:0!important;}

/* CUI3-02: full-bleed valuation photograph, retain contained editorial content. */
@media(min-width:769px){
main.valuation-page section.valuation-intro{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;box-sizing:border-box!important;padding-left:max(var(--site-gutter,40px),calc((100vw - 1200px)/2))!important;padding-right:max(var(--site-gutter,40px),calc((100vw - 1200px)/2))!important;}
}

/* CUI3-02b: escape the site's centred max-width frame, including inherited !important constraints. */
@media(min-width:769px){
body main.valuation-page > section.valuation-intro.non-hero-intro.section-gutter{
  box-sizing:border-box!important;position:relative!important;left:50%!important;transform:translateX(-50%)!important;
  width:100vw!important;max-width:100vw!important;margin-left:0!important;margin-right:0!important;
  padding-left:max(40px,calc((100vw - 1200px)/2))!important;
  padding-right:max(40px,calc((100vw - 1200px)/2))!important;
}
}

/* CUI3-03: distinctive deep-green sellers panel, with italic explanatory copy only. */
body .offmarket-page .offmarket-band .offmarket-black-panel{background:#20372e!important;border:1px solid #20372e!important;color:#fff!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .section-label{color:#f2b8b8!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel h2,
body .offmarket-page .offmarket-band .offmarket-black-panel h2 span{color:#fff!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .dark-card{background:#2b4539!important;border:1px solid #587064!important;box-shadow:none!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-bubble strong{color:#fff!important;font-style:normal!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-bubble span{color:#f2f2ec!important;font-style:italic!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-bubble span em{font-style:inherit!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel p{color:#e6ece7!important;}

/* CUI3-03b: fix nested white chat bubbles and restore visible headings/copy. */
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card,
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card .chat-bubble{background:transparent!important;background-image:none!important;box-shadow:none!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card .chat-bubble{border-color:rgba(255,255,255,.22)!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card .chat-bubble strong{display:block!important;visibility:visible!important;opacity:1!important;color:#fff!important;font-style:normal!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card .chat-bubble span,
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card .chat-bubble span em{color:#f0f2ed!important;opacity:1!important;font-style:italic!important;}

/* CUI3-04: use-class cards: warm ivory on forest green, strong readable hierarchy. */
body .commercial-use-panel .use-class-overview{background:#d8ded6!important;border-color:#d8ded6!important;}
body .commercial-use-panel .use-class-overview article{background:#f5f3ee!important;color:#243a30!important;}
body .commercial-use-panel .use-class-overview article span{color:#b52a36!important;}
body .commercial-use-panel .use-class-overview article h3{color:#233b30!important;}
body .commercial-use-panel .use-class-overview article p{color:#47574e!important;opacity:1!important;}
body .commercial-use-panel .use-class-overview article strong{color:#233b30!important;}

/* CUI3-05: three bottom CTAs match the inset off-market Need discretion banner. */
body main.landlords-main section.landlord-cta,
body main.commercial-guide-main section.commercial-guide-cta,
body main.contact-redesign section.contact-cta{
  box-sizing:border-box!important;
  width:calc(100% - 2 * var(--site-gutter, 40px))!important;
  max-width:1370px!important;
  margin-left:auto!important;margin-right:auto!important;
}
@media(max-width:760px){
 body main.landlords-main section.landlord-cta,
 body main.commercial-guide-main section.commercial-guide-cta,
 body main.contact-redesign section.contact-cta{width:calc(100% - 40px)!important;max-width:none!important;}
}

/* CUI3-08: Ley Street duplex sage palette (#e7e9e1) on both editorial panels. */
body .commercial-guide-main section.commercial-use-panel.commercial-use-refined{background:#e7e9e1!important;color:#1d2924!important;}
body .commercial-guide-main .commercial-use-panel .commercial-use-head h2,
body .commercial-guide-main .commercial-use-panel .commercial-use-head p,
body .commercial-guide-main .commercial-use-panel .use-class-details>h3,
body .commercial-guide-main .commercial-use-panel .use-class-note h3,
body .commercial-guide-main .commercial-use-panel .use-class-note p,
body .commercial-guide-main .commercial-use-panel .use-class-accordion summary,
body .commercial-guide-main .commercial-use-panel .use-class-body p,
body .commercial-guide-main .commercial-use-panel .use-class-body li,
body .commercial-guide-main .commercial-use-panel .use-class-body strong{color:#26352e!important;}
body .commercial-guide-main .commercial-use-panel .use-class-note{background:#f8f7f3!important;border-color:#cbd1c7!important;}
body .commercial-guide-main .commercial-use-panel .use-class-accordion,
body .commercial-guide-main .commercial-use-panel .use-class-accordion details{border-color:#cbd1c7!important;}
body .commercial-guide-main .commercial-use-panel .use-class-overview article{background:#f8f7f3!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel{background:#e7e9e1!important;border-color:#d4d9cf!important;color:#20332a!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel h2,
body .offmarket-page .offmarket-band .offmarket-black-panel h2 span{color:#20332a!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .section-label{color:#b62937!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel p{color:#46534b!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card{background:#f8f7f3!important;border-color:#d3d8ce!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card .chat-bubble strong{color:#20332a!important;font-style:normal!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card .chat-bubble span,
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card .chat-bubble span em{color:#435249!important;font-style:italic!important;}
body .offmarket-page .offmarket-band .offmarket-black-panel .chat-card.dark-card .chat-bubble{border-color:#d8ddd4!important;}

/* Other approved results refinements; toolbar geometry lives only in the final desktop block. */
@media (min-width:901px){
body.property-results-page .must-have-other input[type=text],body.property-results-page .quick-filters-dialog .must-have-other input[type=text]{height:38px!important;min-height:38px!important;padding:7px 12px!important;box-sizing:border-box!important;}
body.property-results-page .price-line h2{font-weight:700!important;color:#1d2623!important;letter-spacing:-.02em!important;}
body.property-results-page .property-address-line h3,body.property-results-page .property-address-line h3 a{font-family:var(--sans,Arial,sans-serif)!important;font-weight:500!important;}
body.property-results-page .virtual-tour-roundel{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;min-width:34px!important;border-radius:50%!important;font-size:0!important;padding:0!important;}
body.property-results-page .view-grid .property-copy{padding-bottom:48px!important;}
body.property-results-page .view-grid .property-specs .station,body.property-results-page .view-grid .property-specs .school{margin-left:auto!important;}
body.property-results-page .map-popup-badge-row .status-badge,body.property-results-page .map-preview-badges .status-badge{min-height:27px!important;display:inline-flex;align-items:center;}
body.property-results-page .map-popup-badge-row .instruction-tag,body.property-results-page .map-preview-badges .instruction-tag{min-height:27px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;}
}
body.property-results-page .map-popup-badge-row [hidden],body.property-results-page .map-preview-badges [hidden]{display:none!important;}


/* CUI3 final toolbar repair — one desktop-only geometry definition.
   Loaded after sitewide CSS; never touches mobile/tablet <=900px.
   Remove header shadow (actual grey-band cause), normalize the composite
   input and use normal flex layout for badge + chevron, not absolute positioning. */
@media (min-width:901px) {
  body.property-results-page .results-page-shell > header.topbar {
    box-shadow: none !important;
    filter: none !important;
  }
  body.property-results-page .results-page-shell,
  body.property-results-page .results-demo,
  body.property-results-page .results-demo > .results-toolbar {
    background: #fff !important;
    background-image: none !important;
  }
  body.property-results-page .results-demo > .results-toolbar {
    padding: 11px 18px !important;
    border-top: 1px solid #e6e4e0 !important;
    border-bottom: 1px solid #e6e4e0 !important;
    min-height: 0 !important;
    box-shadow: none !important;
  }
  body.property-results-page .results-toolbar [data-standard-toolbar] {
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.property-results-page .results-toolbar .mobile-filter-strip {
    align-items: center !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.property-results-page .results-toolbar .filter-control {
    min-width: 0;
  }
  body.property-results-page .results-toolbar .filter-select,
  body.property-results-page .results-toolbar .location-search {
    height: 42px !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    border: 1px solid #d2d2cf !important;
    background: #fff !important;
  }
  body.property-results-page .results-toolbar .filter-control > .filter-select {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 0 13px !important;
    white-space: nowrap !important;
  }
  body.property-results-page .results-toolbar .filter-control > .filter-select > span {
    margin: 0 !important;
  }
  body.property-results-page .results-toolbar .filter-control > .filter-select > .filter-chevron {
    position: static !important;
    display: block !important;
    flex: 0 0 8px !important;
    width: 8px !important;
    height: 8px !important;
    margin: -4px 1px 0 auto !important;
    padding: 0 !important;
    transform: rotate(45deg) !important;
    align-self: center !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
  }
  body.property-results-page .results-toolbar .sale-control > .sale-type {
    border-radius: 23px 0 0 23px !important;
  }
  body.property-results-page .results-toolbar .sale-control {
    height: 42px !important;
  }
  body.property-results-page .results-toolbar .location-search-wrap {
    height: 42px !important;
    min-height: 42px !important;
  }
  body.property-results-page .results-toolbar .location-search-wrap > .location-search {
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 0 23px 23px 0 !important;
    margin-left: -9px !important;
    overflow: hidden;
  }
  body.property-results-page .results-toolbar .location-search input,
  body.property-results-page .results-toolbar .location-search input[type=text] {
    height: 40px !important;
    min-height: 0 !important;
    max-height: 40px !important;
    line-height: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
    align-self: center !important;
  }
  body.property-results-page .results-toolbar .location-search button {
    height: 40px !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
  }
  body.property-results-page .results-toolbar .radius-control,
  body.property-results-page .results-toolbar .price-control,
  body.property-results-page .results-toolbar .all-filters-control,
  body.property-results-page .results-toolbar .sort-control {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }
  body.property-results-page .results-toolbar .radius-control > .filter-select { width: 133px !important; }
  body.property-results-page .results-toolbar .price-control > .filter-select { width: 135px !important; }
  body.property-results-page .results-toolbar .all-filters-control > .filter-select { width: auto !important; min-width: 119px !important; }
  body.property-results-page .results-toolbar .sort-control > .filter-select { width: 180px !important; max-width: 180px !important; }
  body.property-results-page .results-toolbar .all-filters-control .sliders,
  body.property-results-page .results-toolbar .sort-control .sort-icon {
    margin: 0 !important;
    flex: 0 0 18px !important;
  }
  body.property-results-page .results-toolbar .all-filters-control .filter-count-badge {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    position: static !important;
  }
  body.property-results-page .results-toolbar .all-filters-control .filter-count-badge:empty { visibility: hidden; }
  body.property-results-page .results-toolbar .view-switcher button { height: 42px !important; }
}

/* CUI3-V3: desktop property-card presentation ONLY. V2 toolbar untouched.
   The V13 refinement stylesheet generated the "Virtual tour" label via ::after,
   including a grid-specific re-enable. Suppress the pseudo-element explicitly. */
@media (min-width: 901px) {
  body.property-results-page .results-demo .results-pane .property-card .price-line h2,
  body.property-results-page .results-demo.advanced-open .results-pane .property-card .price-line h2 {
    font-family: var(--sans, Arial, sans-serif) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.14 !important;
    letter-spacing: -.026em !important;
    color: var(--cui-deep-charcoal, #303a33) !important;
    font-variant-numeric: lining-nums tabular-nums;
  }
  body.property-results-page .results-demo .results-pane .property-card .price-line h2 .price-amount,
  body.property-results-page .results-demo .results-pane .property-card .price-line h2 .price-display-full,
  body.property-results-page .results-demo .results-pane .property-card .price-line h2 .rent-dual-primary {
    font-family: var(--sans, Arial, sans-serif) !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    line-height: 1.14 !important;
    letter-spacing: -.026em !important;
    color: var(--cui-deep-charcoal, #303a33) !important;
  }
  body.property-results-page .results-demo .results-pane .property-card .price-line h2 .price-qualifier {
    font-family: var(--sans, Arial, sans-serif) !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: #787b79 !important;
    margin-bottom: 2px !important;
  }
  body.property-results-page .results-demo .results-pane .property-card .property-address-line h3,
  body.property-results-page .results-demo .results-pane .property-card .property-address-line h3 a,
  body.property-results-page .results-demo.advanced-open .results-pane .property-card .property-address-line h3,
  body.property-results-page .results-demo.advanced-open .results-pane .property-card .property-address-line h3 a {
    font-family: var(--sans, Arial, sans-serif) !important;
    font-size: 19px !important;
    font-weight: 450 !important;
    line-height: 1.28 !important;
    letter-spacing: -.02em !important;
    color: #555b58 !important;
  }
  body.property-results-page .results-demo .results-pane .property-card .property-roundels {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
  }
  body.property-results-page .results-demo .results-pane .property-card .property-roundels .virtual-tour-roundel,
  body.property-results-page .results-demo .results-pane .property-card .property-roundels .calculator,
  body.property-results-page .results-workspace.view-grid .results-pane .property-card .property-roundels .virtual-tour-roundel {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--cui-deep-charcoal, #303a33) !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }
  body.property-results-page .results-demo .results-pane .property-card .property-roundels .virtual-tour-roundel::after,
  body.property-results-page .results-workspace.view-grid .results-pane .property-card .property-roundels .virtual-tour-roundel::after {
    content: none !important;
    display: none !important;
  }
  body.property-results-page .results-demo .results-pane .property-card .property-roundels .virtual-tour-roundel svg,
  body.property-results-page .results-demo .results-pane .property-card .property-roundels .calculator svg {
    width: 15px !important;
    height: 15px !important;
    color: #fff !important;
    stroke: currentColor !important;
  }
  body.property-results-page .results-demo .results-pane .property-card .property-roundels .virtual-tour-roundel:hover,
  body.property-results-page .results-demo .results-pane .property-card .property-roundels .calculator:hover {
    background: var(--cui-deep-charcoal-hover, #405047) !important;
    color: #fff !important;
    filter: none !important;
  }
  body.property-results-page .results-demo .results-pane .property-card .property-roundels .roundel:focus-visible {
    outline: 2px solid #bd2330 !important;
    outline-offset: 3px !important;
  }
}
