/* CUI remaining editorial and usability refinements — 17 November 2026.
   Scoped to sitewide content pages and recently viewed. Does NOT target
   property-details.php, property-results.php, search-property.php, their
   map/sheet/filter elements, or form submission logic. */

/* Buying process — calmer introductory split with legible dark-on-ivory copy. */
body[data-active="buy"] .hero-buying-redesign{
  min-height:550px;
  grid-template-columns:minmax(0,48%) minmax(0,52%);
}
body[data-active="buy"] .hero-buying-redesign .hero-copy{
  background:#f5f3ee!important;color:#222824!important;
  padding-top:clamp(54px,5vw,84px)!important;
  padding-bottom:55px!important;
}
body[data-active="buy"] .hero-buying-redesign .hero-copy h1{
  color:#222824!important;--base-title-size:clamp(57px,5.6vw,83px);
  font-weight:400!important;line-height:.97!important;
  letter-spacing:-.035em!important;
}
body[data-active="buy"] .hero-buying-redesign .hero-copy p{
  color:#4f5750!important;letter-spacing:0!important;
  font-size:15px!important;line-height:1.7!important;max-width:490px;
}
body[data-active="buy"] .hero-buying-redesign .hero-copy .btn-outline{
  color:#28312a!important;border-color:#a8aea7!important;
}
body[data-active="buy"] .hero-buying-redesign .hero-image::before{
  background:linear-gradient(90deg,rgba(25,32,26,.18),transparent 47%),
             linear-gradient(0deg,rgba(0,0,0,.07),transparent)!important;
}
body[data-active="buy"] .hero-buying-redesign .advisor-card{
  background:rgba(250,249,245,.96)!important;color:#202821!important;
  border:1px solid rgba(25,42,28,.13)!important;
  border-radius:4px!important;box-shadow:0 22px 54px rgba(9,15,12,.12)!important;
}
body[data-active="buy"] .hero-buying-redesign .advisor-top{
  border-bottom-color:#d8d9d3!important;
}
body[data-active="buy"] .hero-buying-redesign .advisor-title{
  color:#202821!important;
}
body[data-active="buy"] .hero-buying-redesign .advisor-sub,
body[data-active="buy"] .hero-buying-redesign .advisor-copy{
  color:#4c554e!important;
}
body[data-active="buy"] .hero-buying-redesign .advisor-btn{
  background:#27382f!important;box-shadow:none!important;border-radius:3px!important;
}
.buying-page h2.section-title{
  --base-title-size:clamp(43px,4.7vw,64px);
  line-height:1.02!important;
}
.buying-page .buyer-intelligence-band{
  background:#e9ece7!important;color:#28342b!important;
  border-top:1px solid #d5d9d2;border-bottom:1px solid #d5d9d2;
}
.buying-page .buyer-intelligence-band h2{
  color:#243129!important;font-size:clamp(42px,4.7vw,64px)!important;
}
.buying-page .buyer-intelligence-band p{color:#556157!important;}
.buying-page .buyer-intelligence-band .buyer-tools-panel{
  background:#f9faf7!important;border:1px solid #d8ddd5!important;
  box-shadow:none!important;
}
.buying-page .buyer-intelligence-band .chat-bubble{
  background:#fff!important;color:#313b33!important;
  border-color:#e1e3dc!important;box-shadow:none!important;
}
.buying-page .buyer-intelligence-band .chat-bubble strong{
  color:#26342b!important;font-size:21px!important;
}
.buying-page .buyer-intelligence-band .chat-badge{background:#35493c!important;color:#fff!important;}

/* Shared editorial hero rhythm: preserve individual layouts and copy. */
.offmarket-page .page-intro.non-hero-intro,
.acquisition-page .acquisition-intro.non-hero-intro,
.privacy-redesign .privacy-intro{
  background:#f5f3ef!important;
  border-bottom:1px solid #e3e0d9!important;
  padding-top:clamp(50px,5.5vw,82px)!important;
  padding-bottom:clamp(48px,5vw,74px)!important;
}
.offmarket-page .page-intro .page-intro-inner,
.acquisition-page .acquisition-intro .page-intro-inner,
.privacy-redesign .privacy-intro-grid{
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  align-items:center!important;gap:clamp(28px,5vw,76px)!important;
}
.offmarket-page .page-intro .page-intro-inner>div:first-child,
.acquisition-page .acquisition-intro .page-intro-inner>div:first-child,
.privacy-redesign .privacy-intro-grid>div:first-child{
  padding-left:25px!important;border-left:2px solid #b83b37!important;
}
.offmarket-page .page-intro h2.section-title,
.acquisition-page .acquisition-intro h2.section-title{
  --base-title-size:clamp(51px,5vw,71px);
  font-size:var(--base-title-size)!important;
  line-height:1.0!important;letter-spacing:-.034em!important;
  margin:12px 0 0!important;max-width:760px;
}
.offmarket-page .page-intro .red-line,
.acquisition-page .acquisition-intro .red-line{
  line-height:1.02!important;
}
.offmarket-page .page-intro .page-intro-inner>div:last-child p,
.acquisition-page .acquisition-intro .page-intro-inner>div:last-child p,
.privacy-redesign .privacy-intro-copy>p{
  color:#525953!important;font-size:clamp(15px,1.35vw,18px)!important;
  line-height:1.72!important;font-weight:400!important;
}
.offmarket-page .page-intro .page-intro-inner>div:last-child p:last-child,
.acquisition-page .acquisition-intro .page-intro-inner>div:last-child p:last-child{margin-bottom:0;}
.offmarket-page h2.section-title,
.acquisition-page h2.section-title{
  --base-title-size:clamp(43px,4.6vw,65px);
  line-height:1.01!important;
}
.offmarket-page .offmarket-black-panel{
  background:#28382f!important;
  border:1px solid #405348!important;
  box-shadow:none!important;
}
.offmarket-page .offmarket-black-panel .dark-card{
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(255,255,255,.14)!important;
}
.offmarket-page .offmarket-black-panel .chat-bubble strong{color:#fff!important;}
.acquisition-page .intro-actions a,
.offmarket-page .compact-actions a{border-radius:3px!important;box-shadow:none!important;}
.privacy-redesign .privacy-intro h1{
  font-size:clamp(54px,5.8vw,79px)!important;line-height:.97!important;
  margin-top:8px!important;
}
.privacy-redesign .privacy-meta-card{
  border-radius:3px!important;box-shadow:none!important;
}
.privacy-redesign .privacy-accordion-head h2,
.privacy-redesign .privacy-contact h2{font-size:clamp(36px,4vw,55px)!important;line-height:1.04!important;}

/* Contact — light office panel, full-colour map, compact accessible form. */
.contact-redesign .contact-office-panel{
  background:#edf0ea!important;color:#202b23!important;
  border:1px solid #dfe4db;
  padding:clamp(26px,3.4vw,44px)!important;
}
.contact-redesign .contact-office-panel::after{background:#dce3d9!important;opacity:.36;}
.contact-redesign .contact-office-panel h2{color:#223027!important;}
.contact-redesign .contact-office-panel .contact-open{color:#606a61!important;}
.contact-redesign .contact-office-list article{
  background:rgba(255,255,255,.82)!important;
  border-color:#dce2d8!important;
  border-radius:3px;box-shadow:none;
}
.contact-redesign .contact-office-list h3{color:#243128!important;}
.contact-redesign .contact-office-list p{color:#59645c!important;}
.contact-redesign .contact-office-list a{
  color:#26352c!important;display:inline-flex;gap:9px;align-items:center;
  font-weight:600!important;letter-spacing:.06em!important;
}
.contact-redesign .contact-office-list a svg{
  width:14px;height:14px;stroke:#b7403b;fill:none;
  stroke-width:1.8;flex:0 0 14px;
}
.contact-redesign .contact-map-card{border:1px solid #d8dcd5!important;border-radius:3px;}
.contact-redesign .contact-map-card iframe{filter:none!important;}
.contact-redesign .contact-map-overlay{
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 4px 20px rgba(28,38,30,.08)!important;
}
.contact-redesign .contact-form-large{
  padding:clamp(25px,3.2vw,38px)!important;
  border-color:#e3e1db!important;border-radius:3px;
  box-shadow:none!important;
}
.contact-redesign .contact-form-large .form-actions{margin-top:14px!important;}
.contact-redesign .contact-form-large .btn-red{border:0!important;box-shadow:none!important;border-radius:3px!important;}
.contact-redesign .contact-intro-copy h1{font-size:clamp(52px,5.3vw,77px)!important;line-height:.99!important;}

/* Valuations — borrow the exact image used by the House Prices page's
   photo hero, rather than inventing another photograph or property. */
.valuation-page .valuation-intro{
  grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr)!important;
  gap:clamp(24px,4.5vw,70px)!important;
}
.valuation-page .valuation-copy h1{
  --base-title-size:clamp(51px,5.7vw,79px);line-height:.98!important;
}
.valuation-page .valuation-copy .lead{font-size:17px!important;line-height:1.7!important;}
.valuation-page .valuation-proof-grid{
  margin-top:27px!important;border-color:#e3e4df!important;
  background:#f8f8f5!important;
}
.valuation-page .valuation-proof-grid div{padding:18px 17px!important;}
.valuation-page .valuation-summary-card{
  min-height:380px!important;border-radius:3px!important;
  background:linear-gradient(180deg,rgba(16,25,21,.18) 0%,rgba(13,24,19,.9) 100%),
             url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=82") center/cover no-repeat!important;
  box-shadow:none!important;border:1px solid rgba(24,36,27,.17)!important;
}
.valuation-page .valuation-form .btn-red{border:0!important;border-radius:3px!important;box-shadow:none!important;}

/* Mortgage: exact control-height and single-boundary presentation.
   Calculation IDs, form fields, sliders and JS remain untouched. */
.mortgage-main .mortgage-money-input,
.mortgage-main .mortgage-suffix-input{
  height:52px!important;min-height:52px!important;
  border:1px solid #d7d7d1!important;border-radius:4px!important;
  box-shadow:none!important;background:#fff!important;overflow:hidden;
}
.mortgage-main .mortgage-money-input{grid-template-columns:48px minmax(0,1fr)!important;}
.mortgage-main .mortgage-suffix-input{grid-template-columns:minmax(0,1fr) 68px!important;}
.mortgage-main .mortgage-money-input em,
.mortgage-main .mortgage-suffix-input em{
  font-size:16px!important;background:#f8f8f4!important;
  border-color:#e7e7e1!important;
}
.mortgage-main .mortgage-money-input input,
.mortgage-main .mortgage-suffix-input input{
  height:50px!important;min-height:50px!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  padding:0 14px!important;font-size:16px!important;
  background:transparent!important;border-radius:0!important;
}
.mortgage-main .mortgage-field select{
  height:52px!important;min-height:52px!important;
  border:1px solid #d7d7d1!important;border-radius:4px!important;
  box-shadow:none!important;background:#fff!important;
  font-size:15px!important;padding:0 13px!important;
}
.mortgage-main .mortgage-money-input:focus-within,
.mortgage-main .mortgage-suffix-input:focus-within,
.mortgage-main .mortgage-field select:focus{
  border-color:#9eaaa1!important;outline:2px solid rgba(160,174,162,.2)!important;
  outline-offset:1px;
}
.mortgage-main .mortgage-form .btn-red{border-radius:3px!important;box-shadow:none!important;}
.mortgage-main .mortgage-result-panel{background:#293930!important;}
.mortgage-main .mortgage-title{font-size:clamp(54px,5.9vw,79px)!important;line-height:.96!important;}
.mortgage-main .mortgage-form{gap:17px!important;}

/* Previously viewed properties — legible address/price, natural images,
   modest corners and a warm magazine-like strip (tracking unchanged). */
.cui-recently-viewed{
  background:#f4f2ed!important;color:#252e29!important;
  border-top:1px solid #e2dfd8;
  padding-top:43px!important;padding-bottom:48px!important;
}
.cui-recently-viewed h2{color:#253027!important;}
.cui-recently-viewed .cui-recently-viewed-clear{
  color:#34423a!important;background:transparent!important;
  border:1px solid #bfc8be!important;border-radius:3px!important;
  box-shadow:none!important;
}
.cui-recently-viewed .cui-recently-viewed-clear:hover,
.cui-recently-viewed .cui-recently-viewed-clear:focus-visible{
  color:#fff!important;background:#26372d!important;border-color:#26372d!important;
}
.cui-recently-viewed .cui-recent-card{
  border-radius:5px!important;background:#fff!important;
  border:1px solid #dddcd6!important;box-shadow:none!important;
  flex-basis:238px;
}
.cui-recently-viewed .cui-recent-card-image{height:152px!important;}
.cui-recently-viewed .cui-recent-card-copy{
  padding:15px 16px 17px!important;min-height:104px!important;
  display:flex;flex-direction:column;gap:8px;
}
.cui-recently-viewed .cui-recent-card-copy strong{
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-weight:500!important;font-size:24px!important;
  line-height:1.07!important;letter-spacing:-.01em!important;
  margin:0!important;color:#273128!important;
}
.cui-recently-viewed .cui-recent-card-copy span{
  font:600 15px/1.25 var(--sans,Arial,sans-serif)!important;
  letter-spacing:.005em;color:#262e27!important;
  margin-top:auto;
}

/* Landlord fees: real, branch-specific public schedules replace a pretend
   calculation; keep the historical anchor and confirmed-quote action. */
.fees-main .cui-fee-schedule-panel{
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(25px,4vw,56px);align-items:center;
  background:#f6f5f1;border:1px solid #e2dfd9;
  padding:clamp(28px,4vw,53px);
}
.fees-main .cui-fee-schedule-copy h2{
  font-family:var(--serif);font-size:clamp(39px,4vw,58px);
  font-weight:400;line-height:.99;margin:0 0 17px;
  letter-spacing:-.026em;
}
.fees-main .cui-fee-schedule-copy p{
  margin:0 0 19px;color:#566158;line-height:1.7;font-size:15px;
}
.fees-main .cui-fee-schedule-copy a{
  font:600 11px var(--sans);letter-spacing:.10em;text-transform:uppercase;
  color:#3b483e!important;text-decoration:underline;text-underline-offset:5px;
}
.fees-main .cui-fee-schedule-cards{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;
}
.fees-main .cui-fee-schedule-card{
  background:#fff;border:1px solid #dfddd5;
  padding:25px;display:flex;flex-direction:column;
  min-height:218px;border-radius:3px;color:#243029;
}
.fees-main .cui-fee-schedule-card span{
  font:600 10px var(--sans);color:#b33d38;
  text-transform:uppercase;letter-spacing:.15em;
}
.fees-main .cui-fee-schedule-card h3{
  font:400 32px/1.05 var(--serif);margin:21px 0 10px;color:#25332b;
}
.fees-main .cui-fee-schedule-card p{
  color:#626c65;font-size:13px;line-height:1.6;margin:0 0 23px;
}
.fees-main .cui-fee-schedule-card a{
  font:600 11px var(--sans);letter-spacing:.07em;
  text-decoration:none!important;color:#ac3634!important;
  margin-top:auto;align-self:flex-start;border-bottom:1px solid #bd6760;
  padding-bottom:5px;
}
.fees-main .cui-fee-schedule-card a:focus-visible{outline:2px solid #b43e3b;outline-offset:4px;}

/* Consistent, flat actions only inside the touched content pages. */
.buying-page .btn-red,.offmarket-page .btn-red,.acquisition-page .btn-red,
.privacy-redesign .btn-red,.fees-main .btn-red,.contact-redesign .btn-red,
.mortgage-main .btn-red,.valuation-page .btn-red{
  background:#b82f39!important;box-shadow:none!important;
  border-radius:3px!important;transform:none!important;
}
@media(max-width:1050px){
  body[data-active="buy"] .hero-buying-redesign{grid-template-columns:1fr!important;}
  body[data-active="buy"] .hero-buying-redesign .hero-image{min-height:420px;}
  .valuation-page .valuation-intro{grid-template-columns:1fr!important;}
  .offmarket-page .page-intro .page-intro-inner,
  .acquisition-page .acquisition-intro .page-intro-inner,
  .privacy-redesign .privacy-intro-grid{grid-template-columns:1fr!important;gap:22px!important;}
  .fees-main .cui-fee-schedule-panel{grid-template-columns:1fr;}
}
@media(max-width:650px){
  body[data-active="buy"] .hero-buying-redesign .hero-copy{padding-top:46px!important;}
  body[data-active="buy"] .hero-buying-redesign .hero-image{min-height:355px;}
  body[data-active="buy"] .hero-buying-redesign .advisor-card{
    right:20px!important;left:20px!important;max-width:calc(100% - 40px)!important;
    width:auto!important;padding:20px!important;
  }
  .offmarket-page .page-intro.non-hero-intro,
  .acquisition-page .acquisition-intro.non-hero-intro,
  .privacy-redesign .privacy-intro{padding-top:41px!important;padding-bottom:40px!important;}
  .offmarket-page .page-intro .page-intro-inner>div:first-child,
  .acquisition-page .acquisition-intro .page-intro-inner>div:first-child,
  .privacy-redesign .privacy-intro-grid>div:first-child{padding-left:17px!important;}
  .offmarket-page .page-intro h2.section-title,
  .acquisition-page .acquisition-intro h2.section-title{font-size:clamp(43px,10vw,58px)!important;}
  .valuation-page .valuation-summary-card{min-height:320px!important;}
  .valuation-page .valuation-proof-grid div{padding:13px 9px!important;}
  .valuation-page .valuation-proof-grid span{font-size:17px!important;}
  .contact-redesign .contact-map-card{height:215px;}
  .contact-redesign .contact-form-large{padding:22px 19px!important;}
  .mortgage-main .mortgage-calculator-panel{padding:29px 21px!important;}
  .mortgage-main .mortgage-grid-two{grid-template-columns:1fr!important;gap:14px!important;}
  .fees-main .cui-fee-schedule-panel{padding:23px!important;}
  .fees-main .cui-fee-schedule-cards{grid-template-columns:1fr!important;}
  .fees-main .cui-fee-schedule-card{min-height:0;padding:23px;}
  .cui-recently-viewed .cui-recent-card{flex-basis:210px;}
  .cui-recently-viewed .cui-recent-card-image{height:136px!important;}
}

/* V13 polish. Desktop only: signed-off mobile result cards/sheets remain untouched. */
@media(min-width:901px){
 body .search-mode-row{display:none!important}
 body .must-have-other input{height:46px!important;min-height:46px!important;padding:9px 12px!important}
 body .pane-results-head{align-items:center}
 body .results-controls-panel{padding-bottom:10px}
 body .property-card .property-price,body .property-card .price{font-weight:600}
}

/* N20 N21 N28 N33: four editorial hero guidance cards match Buyer Guidance. */
body[data-active="rent"] .hero .advisor-card,
body[data-active="sell"] .hero-selling-redesign .advisor-card,
body[data-active="landlords"] .landlord-hero-redesign .advisor-card,
body[data-active="about"] .hero .advisor-card{
 background:rgba(250,249,245,.96)!important;color:#202821!important;
 border:1px solid rgba(25,42,28,.13)!important;border-radius:4px!important;
 box-shadow:0 22px 54px rgba(9,15,12,.12)!important;
}
body[data-active="rent"] .hero .advisor-top,
body[data-active="sell"] .hero-selling-redesign .advisor-top,
body[data-active="landlords"] .landlord-hero-redesign .advisor-top,
body[data-active="about"] .hero .advisor-top{border-bottom-color:#d8d9d3!important}
body[data-active="rent"] .hero .advisor-title,
body[data-active="sell"] .hero-selling-redesign .advisor-title,
body[data-active="landlords"] .landlord-hero-redesign .advisor-title,
body[data-active="about"] .hero .advisor-title{color:#202821!important}
body[data-active="rent"] .hero .advisor-sub,body[data-active="rent"] .hero .advisor-copy,
body[data-active="sell"] .hero-selling-redesign .advisor-sub,body[data-active="sell"] .hero-selling-redesign .advisor-copy,
body[data-active="landlords"] .landlord-hero-redesign .advisor-sub,body[data-active="landlords"] .landlord-hero-redesign .advisor-copy,
body[data-active="about"] .hero .advisor-sub,body[data-active="about"] .hero .advisor-copy{color:#4c554e!important}
body[data-active="rent"] .hero .advisor-btn,
body[data-active="sell"] .hero-selling-redesign .advisor-btn,
body[data-active="landlords"] .landlord-hero-redesign .advisor-btn,
body[data-active="about"] .hero .advisor-btn{background:#27382f!important;color:#fff!important;box-shadow:none!important;border-radius:3px!important}

/* N49 rental dual-rate hierarchy, desktop only. Mobile uses its original markup. */
@media(min-width:901px){
 .property-card .price-display-full .rent-dual-amount{display:inline-flex;align-items:baseline;gap:.36em;white-space:nowrap;max-width:100%;font-size:clamp(15px,1.46vw,22px)!important}
 .property-card .price-display-full .rent-dual-primary{font-weight:650}
 .property-card .price-display-full .rent-dual-secondary{font-size:.77em;font-weight:450;opacity:.82}
 .property-card .price-display-full .rent-dual-separator{font-size:.72em;opacity:.56}
}

/* N17 N19 N22: Renting Guide-inspired red serif step numbers, not heavy discs. */
.buying-page .chat-badge,.acquisition-page .chat-badge,.selling-page .chat-badge{
  display:inline-flex!important;align-items:flex-start!important;justify-content:flex-start!important;
  background:none!important;color:#ab4a43!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;width:55px!important;min-width:55px!important;height:auto!important;
  font:500 39px/.95 "Cormorant Garamond",Georgia,serif!important;font-style:normal!important;
  letter-spacing:-.02em!important;
}


/* Final-round source corrections scoped to the requested page areas. */
/* N14: match the featured-properties inner wrapper, not the outer gutter. */
@media (min-width:1051px) {
  .home-page .ley-home-feature {
    max-width:1280px!important;width:calc(100% - 2 * var(--site-gutter, 72px))!important;
    margin-inline:auto!important;
  }
}
/* N55: valuation hero now shares the bright, editorial fade and scale of
   the approved Buying Process hero. Retain the existing property photograph. */
.valuation-page .valuation-intro {
  max-width:none!important;
  background:linear-gradient(90deg,
    rgba(250,249,246,.99) 0%,
    rgba(250,249,246,.96) 29%,
    rgba(250,249,246,.86) 48%,
    rgba(250,249,246,.31) 73%,
    rgba(250,249,246,.06) 100%),
  url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=82') center/cover no-repeat!important;
  color:#27342f!important;
  padding-top:clamp(70px,7vw,112px)!important;
  padding-bottom:clamp(65px,6vw,95px)!important;
}
.valuation-page .valuation-copy h1{color:#27342f!important;}
.valuation-page .valuation-copy h1 em{color:var(--red,#d71935)!important;}
.valuation-page .valuation-copy .section-label{color:var(--red,#d71935)!important;}
.valuation-page .valuation-copy .lead{color:#505953!important;max-width:740px!important;}
@media(min-width:1051px){
  .valuation-page .valuation-intro{
    min-height:648px!important;
    box-sizing:border-box!important;
    align-items:center!important;
  }
}
@media(max-width:1050px){
  /* Stacked layouts: provide a readable light surface behind all the copy,
     then fade toward the photograph beneath the summary panel. */
  .valuation-page .valuation-intro{
    background:linear-gradient(180deg,
      rgba(250,249,246,.99) 0%,
      rgba(250,249,246,.94) 32%,
      rgba(250,249,246,.72) 61%,
      rgba(250,249,246,.18) 100%),
    url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=82') center/cover no-repeat!important;
  }
}
.valuation-page .valuation-summary-card {background:rgba(250,249,245,.95)!important;color:#27342f!important;min-height:0!important;align-self:center!important;}
.valuation-page .valuation-summary-card h2,.valuation-page .valuation-summary-card li,
.valuation-page .valuation-summary-card .card-kicker {color:#27342f!important;}
.valuation-page .valuation-proof-grid {background:rgba(250,249,245,.94)!important;color:#27342f!important;}
.valuation-page .valuation-proof-grid span{color:#27342f!important;}
/* N30: use a restrained forest-green instead of the oversized black field. */
.commercial-guide-main .commercial-use-panel {background:#2b473e!important;color:#f8f8f3!important;}
.commercial-guide-main .commercial-use-grid{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.16)!important;}
.commercial-guide-main .commercial-use-grid article{background:#365248!important;min-height:225px!important;}
.commercial-guide-main .commercial-use-grid h3{color:#faf9f5!important;}
.commercial-guide-main .commercial-use-head p,.commercial-guide-main .commercial-use-grid p{color:#e9ede8!important;}
/* N32 and N35: compact form label/consent joins without masking CAPTCHA. */
@media(min-width:768px){
 .contact-redesign .contact-form-large textarea{margin-bottom:4px!important;}
 .contact-redesign .contact-form-large .form-actions{margin-top:14px!important;}
 .contact-redesign .contact-main{align-items:start!important;}
}
/* O03: flat action surface, unchanged submit behaviour. */
.search-main-no-hero .btn-red,.sdlt-main .btn-red,
.home-page .search-panel button[type=submit]{border:0!important;box-shadow:none!important;border-radius:3px!important;}
@media(max-width:760px) {
 .valuation-page .valuation-intro{padding-top:55px!important;padding-bottom:50px!important;background-position:65% center!important;}
 .valuation-page .valuation-summary-card{padding:26px!important;}
}


/* CUI recently viewed: adopt the approved property-details card consistently.
   Preserve image, public address, linked property, type, and controls. */
.cui-recently-viewed .cui-recent-card-details .cui-recent-card-copy {
  min-height:76px!important;padding:13px 12px 15px!important;
  display:flex!important;align-items:center;justify-content:center;text-align:center;
  gap:7px!important;
}
.cui-recently-viewed .cui-recent-card-details .cui-recent-card-copy strong {
  font-size:clamp(17px,1.5vw,20px)!important;line-height:1.16!important;
  font-weight:400!important;margin:0!important;
}
.cui-recently-viewed .cui-recent-card-type{
  display:block;text-align:center;color:#6a716c;font:500 11px/1.4 var(--sans,Arial,sans-serif);
  letter-spacing:.08em;text-transform:uppercase;
}
/* The recently-viewed section meets the footer with no 34px orphan gap,
   on all public pages. Keep the property-detail contact correction intact. */
body.pd-v13-public .contact,
body.pd-v13-public .footer,
.cui-recently-viewed {margin-top:0!important;margin-bottom:0!important;}
body.pd-v13-public .contact + .cui-recently-viewed {border-top:0!important;}
body.pd-v13-public .contact + .footer {border-top:0!important;}
section.cui-recently-viewed ~ footer.footer {
  margin-top:0!important;margin-bottom:0!important;
  border-top:0!important;
}

/* N26 — light editorial off-market seller panel. No shared component changes. */
.offmarket-page .offmarket-band .offmarket-black-panel{
  background:#f4f3ef!important;color:#28372f!important;
  border:1px solid #e1dfd8!important;box-shadow:none!important;
}
.offmarket-page .offmarket-band .offmarket-black-panel .section-label{color:#9d3238!important;}
.offmarket-page .offmarket-band .offmarket-black-panel h2,
.offmarket-page .offmarket-band .offmarket-black-panel h2 span{
  color:#25372d!important;
}
.offmarket-page .offmarket-band .offmarket-black-panel h2 span{font-style:italic!important;}
.offmarket-page .offmarket-band .offmarket-black-panel p{color:#596359!important;}
.offmarket-page .offmarket-band .offmarket-black-panel .dark-card{
  background:#fffefa!important;color:#25372d!important;
  border:1px solid #dddcd5!important;box-shadow:0 8px 26px rgba(30,43,35,.04)!important;
}
.offmarket-page .offmarket-band .offmarket-black-panel .chat-bubble{
  background:#fffefa!important;color:#28372f!important;border-color:#e4e1d9!important;
  box-shadow:none!important;
}
.offmarket-page .offmarket-band .offmarket-black-panel .chat-bubble strong{
  color:#334c3d!important;
}
.offmarket-page .offmarket-band .offmarket-black-panel .chat-bubble span{color:#4c5b50!important;}
.offmarket-page .offmarket-band .offmarket-black-panel .chat-bubble em{
  font-family:"Cormorant Garamond",Georgia,serif;font-size:1.16em;
  font-weight:600;letter-spacing:0;color:#273d31!important;
}

/* N35 — requirements form and advisory panel alignment, without modifying
   the contact/valuation handlers, consent or CAPTCHA behavior. */
@media(min-width:901px){
  body.requirements-page .requirements-contact-main{align-items:start!important;gap:clamp(28px,3.5vw,56px)!important;}
  body.requirements-page .requirements-contact-main .contact-office-panel{
    align-self:start!important;min-height:0!important;height:auto!important;
  }
}
body.requirements-page .contact-form-large{min-height:0!important;}
body.requirements-page .contact-form-large .consent-row{
  display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;
  gap:12px!important;margin:19px 0 8px!important;
  font-size:12px!important;line-height:1.6!important;
}
body.requirements-page .contact-form-large .consent-row input[type="checkbox"]{
  appearance:auto!important;display:block!important;width:17px!important;height:17px!important;
  min-width:17px!important;min-height:17px!important;max-height:17px!important;flex:0 0 17px!important;align-self:flex-start!important;margin:2px 0 0!important;
  padding:0!important;vertical-align:top!important;
}
body.requirements-page .contact-form-large .consent-row span{
  flex:1 1 auto;min-width:0;display:block!important;
}
body.requirements-page .contact-form-large .cui-requirements-captcha{
  margin:15px 0 18px;min-height:75px;clear:both;
}
body.requirements-page .contact-form-large .cui-requirements-actions{
  margin-top:5px!important;
}
body.requirements-page .contact-form-large .form-smallprint{margin-top:12px!important;}
@media(max-width:900px){
  body.requirements-page .requirements-contact-main .contact-office-panel{min-height:0!important;height:auto!important;}
  body.requirements-page .contact-form-large .consent-row{margin:15px 0 10px!important;}
}
