
/* LUXURY ESTATE BROKER / Reference alignment V2
 * Scoped presentation layer. Built for the original PHP shortcodes;
 * no data fields, endpoints or business rules are replaced.
 */
body.leb-platform-page,body.page-id-7499{
  --leb-ref-ink:#141513;--leb-ref-gold:#9b8053;--leb-ref-paper:#f4f0e9;
  --leb-ref-border:#dfd8cd;--leb-ref-white:#fff;
  background:var(--leb-ref-paper)!important;color:var(--leb-ref-ink);
  overflow-x:clip;
}
body.leb-platform-page #leb-platform-main,
body.leb-v394-properties .leb-properties-main{
  display:block;width:100%;max-width:none;margin:0;padding:0;
}
body.leb-platform-page #leb-platform-main .leb-app,
body.leb-v394-properties .lebp-portal{width:100%;max-width:none;}
body.leb-platform-page #leb-platform-main .leb-v32-experience,
body.leb-platform-page #leb-platform-main .leb-role-auth{
  width:100%;max-width:none;margin:0;
}
body.leb-platform-page .leb-app h1,
body.leb-platform-page .leb-app h2,
body.leb-platform-page .leb-app h3{
  font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif!important;
  font-weight:400!important;letter-spacing:-.035em;
}
body.leb-platform-page .leb-kicker{
  font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.22em!important;
  text-transform:uppercase!important;font-size:10px!important;
}
body.leb-platform-page .leb-app input:not([type=checkbox]):not([type=radio]),
body.leb-platform-page .leb-app textarea,
body.leb-platform-page .leb-app select{
  border:1px solid #d2ccc2!important;border-radius:1px!important;
  box-shadow:none!important;background-color:#fff!important;
  color:#1d1d1b!important;font-family:Arial,Helvetica,sans-serif;
}
body.leb-platform-page .leb-app input:focus-visible,
body.leb-platform-page .leb-app select:focus-visible,
body.leb-platform-page .leb-app textarea:focus-visible{
  outline:2px solid #b29a72!important;outline-offset:1px;
}
body.leb-platform-page .leb-app .leb-button,
body.leb-platform-page .leb-app button.leb-button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;max-width:100%;border-radius:1px!important;
  background:#151615!important;color:#fff!important;
  border:1px solid #151615!important;
  box-shadow:none!important;text-transform:none!important;
  letter-spacing:.015em!important;font:500 13px/1.3 Arial,Helvetica,sans-serif!important;
  transition:background-color .16s,border-color .16s;
}
body.leb-platform-page .leb-app .leb-button:hover{
  background:#34322d!important;border-color:#34322d!important;
}
body.leb-platform-page .leb-app .leb-button-outline{
  background:#fff!important;color:#141513!important;border-color:#b9b1a6!important;
}
body.leb-platform-page .leb-app .leb-panel{
  border:1px solid #e1dcd3!important;border-radius:2px!important;
  background:#fff!important;box-shadow:none!important;
}

/* Forms and registration: strong split scene, visual left / real controls right. */
body.leb-role-auth-page.leb-v394 .leb-role-auth{
  min-height:calc(100svh - 74px)!important;
  background:#eae2d5!important;position:relative;
}
body.leb-role-auth-page.leb-v394 .leb-role-auth:before{
  filter:none!important;opacity:1!important;
  background-position:var(--leb390-page-bg-position,center center)!important;
}
body.leb-role-auth-page.leb-v394 .leb-role-auth:after{
  background:linear-gradient(90deg,rgba(11,14,12,.64) 0%,rgba(11,14,12,.3) 47%,rgba(11,14,12,.03) 75%)!important;
}
body.leb-role-auth-page.leb-v394 .leb390-role-auth-shell{
  width:min(1380px,100%)!important;max-width:1380px!important;
  min-height:calc(100svh - 74px)!important;
  display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)!important;
  align-items:center!important;gap:clamp(28px,5vw,74px)!important;
  padding:62px clamp(22px,4vw,68px) 54px!important;
}
body.leb-role-auth-page.leb-v394 .leb390-auth-visual{
  min-height:450px!important;align-self:stretch;justify-content:center!important;
  padding:28px 0!important;color:#fff!important;
}
body.leb-role-auth-page.leb-v394 .leb390-auth-visual h1{
  max-width:570px!important;font-size:clamp(52px,5vw,77px)!important;
  line-height:.96!important;color:#fff!important;
  text-shadow:0 2px 25px rgba(0,0,0,.2);
}
body.leb-role-auth-page.leb-v394 .leb390-auth-visual>p{
  font-size:17px!important;line-height:1.6!important;color:#f5eee6!important;
}
body.leb-role-auth-page.leb-v394 .leb390-auth-benefits{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  max-width:520px!important;margin-top:34px!important;gap:8px 16px!important;
}
body.leb-role-auth-page.leb-v394 .leb390-auth-benefits>div{
  border:0!important;border-top:1px solid rgba(255,255,255,.35)!important;
  padding:13px 0!important;gap:5px!important;
}
body.leb-role-auth-page.leb-v394 .leb390-auth-card{
  justify-self:end!important;width:100%!important;max-width:530px!important;
  padding:clamp(25px,3vw,42px)!important;border-radius:3px!important;
  border:1px solid rgba(255,255,255,.85)!important;
  background:#fff!important;box-shadow:0 22px 65px rgba(0,0,0,.21)!important;
}
body.leb-role-auth-page.leb-v394 .leb390-auth-heading h2{
  font-size:clamp(32px,3vw,43px)!important;line-height:1.07!important;
}
body.leb-role-auth-page.leb-v394 .leb390-login-form input,
body.leb-role-auth-page.leb-v394 .leb390-register-form input,
body.leb-role-auth-page.leb-v394 .leb390-register-form select{height:49px!important;}
body.leb-role-auth-page.leb-v394 .leb390-primary{width:100%;}

/* Secure Access = single centered card with three equally important roles. */
body.leb-v394-secure-access .leb-v32-experience{min-height:calc(100svh - 74px)!important;}
body.leb-v394-secure-access .leb-exp-media{opacity:1!important;filter:none!important;}
body.leb-v394-secure-access .leb-exp-overlay{
  background:linear-gradient(90deg,rgba(7,13,13,.42),rgba(10,17,15,.17) 52%,rgba(10,12,9,.25)),
  linear-gradient(0deg,rgba(10,14,12,.2),transparent 66%)!important;
}
body.leb-v394-secure-access .leb-exp-shell{
  width:100%!important;max-width:1080px!important;
  padding:56px 28px 60px!important;min-height:calc(100svh - 74px);
  gap:22px!important;align-content:center!important;
}
body.leb-v394-secure-access .leb-exp-copy{max-width:800px!important;text-align:center!important;}
body.leb-v394-secure-access .leb-exp-copy h1{
  color:#fff!important;font-size:clamp(45px,5.5vw,72px)!important;margin:10px 0 12px!important;
}
body.leb-v394-secure-access .leb-exp-copy p{color:#fff!important;}
body.leb-v394-secure-access .leb-exp-form-card{
  width:min(700px,100%)!important;max-width:100%!important;
  padding:24px!important;background:rgba(255,255,255,.985)!important;
  border:1px solid rgba(255,255,255,.72)!important;border-radius:2px!important;
}
body.leb-v394-secure-access .leb-v32-audiences button{
  min-height:122px!important;padding:16px 10px!important;
  background:#fff!important;box-shadow:none!important;transform:none!important;
}
body.leb-v394-secure-access .leb-v32-audiences button:hover,
body.leb-v394-secure-access .leb-v32-audiences button.is-active{
  background:#f8f4eb!important;box-shadow:inset 0 0 0 2px #b59c70!important;
}
body.leb-v394-secure-access .leb-v32-auth-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;}
body.leb-v394-secure-access .leb-v32-auth-tabs button{
  width:100%;min-height:45px!important;border-radius:0!important;
}

/* Progressive role choice: screenshot shows role cards first; native forms remain available after a tap. */
body.leb-v394-secure-access .leb-ref-choose-role [data-auth-panel]{display:none!important;}
body.leb-v394-secure-access .leb-v32-auth-tabs button{
  cursor:pointer;
}
body.leb-v394-secure-access .leb-v32-auth-tabs button:focus-visible{
  outline:2px solid #9b8053!important;outline-offset:3px;
}

/* Contact: undo old over-bleached styling; reference shows a real seaside villa. */
body.leb-v394-private-contact .leb-v32-experience{
  background:#131a18!important;color:#fff!important;
  min-height:calc(100svh - 74px)!important;
}
body.leb-v394-private-contact .leb-exp-media{
  opacity:1!important;filter:none!important;background-size:cover!important;
}
body.leb-v394-private-contact .leb-exp-overlay{
  background:linear-gradient(90deg,rgba(11,18,16,.68) 0%,rgba(11,17,16,.37) 47%,rgba(12,15,14,.16) 100%),
  linear-gradient(0deg,rgba(13,17,17,.14),transparent)!important;
}
body.leb-v394-private-contact .leb-exp-shell{
  min-height:calc(100svh - 74px)!important;
  max-width:1320px!important;grid-template-columns:minmax(310px,.96fr) minmax(420px,1.04fr)!important;
  gap:clamp(28px,5vw,70px)!important;padding:66px 36px 60px!important;
}
body.leb-v394-private-contact .leb-exp-copy{
  max-width:520px!important;color:#fff!important;
}
body.leb-v394-private-contact .leb-exp-copy .leb-kicker{color:#e8d4b2!important;}
body.leb-v394-private-contact .leb-exp-copy h1{
  color:#fff!important;font-size:clamp(53px,5vw,79px)!important;line-height:.98!important;
}
body.leb-v394-private-contact .leb-exp-copy p{
  max-width:440px!important;color:rgba(255,255,255,.92)!important;
  font-size:17px!important;line-height:1.65!important;
}
body.leb-v394-private-contact .leb-exp-form-card{
  width:100%;max-width:520px;justify-self:center;
  padding:30px 32px!important;background:#fff!important;
  border:1px solid rgba(255,255,255,.75)!important;
  box-shadow:0 20px 64px rgba(0,0,0,.18)!important;
}
body.leb-v394-private-contact .leb-v32-question h2,
body.leb-v394-private-contact .leb-v32-prompt{
  font-size:30px!important;color:#191a17!important;
}

/* Other enquiry/market pages use the same recognizable image + ivory form card. */
body.leb-platform-page:not(.leb-v394-secure-access):not(.leb-v394-private-contact) .leb-v32-experience .leb-exp-shell{
  width:100%;max-width:1310px;
}
body.leb-platform-page .leb-v32-experience .leb-exp-form-card{
  border-radius:2px!important;background:rgba(255,255,255,.975)!important;
  border:1px solid rgba(255,255,255,.7)!important;
  box-shadow:0 16px 55px rgba(5,12,9,.17)!important;
}
body.leb-platform-page .leb-v32-experience .leb-v32-choice{
  border-radius:2px!important;border:1px solid #dcd6ca!important;
  background:#fff!important;box-shadow:none!important;
  transition:border-color .15s,background-color .15s;
}
body.leb-platform-page .leb-v32-experience .leb-v32-choice:hover,
body.leb-platform-page .leb-v32-experience .leb-v32-choice:has(input:checked){
  border-color:#a68b5c!important;background:#f7f3ed!important;
}
body.leb-platform-page .leb-v32-experience .leb-flow-screen:not(.is-active){
  display:none!important;
}
body.leb-platform-page .leb-v32-experience .leb-flow-screen.is-active{
  display:block!important;
}
/* Avoid burying next/back under tall backgrounds. */
body.leb-platform-page .leb-v32-nav,body.leb-platform-page .leb-flow-nav{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
}

/* Account: practical application workspace, not 15 oversized marketing tabs. */
body.leb-v394-account #leb-platform-main{background:#f4f0e9;}
body.leb-v394-account .leb-wrap{max-width:1320px!important;}
body.leb-v394-account .leb-account-head{
  align-items:center!important;padding:14px 0 22px!important;
  border-bottom:1px solid #dcd5c9;
}
body.leb-v394-account .leb-account-head h1{
  font-size:clamp(34px,4vw,57px)!important;
}
body.leb-v394-account .leb-account-nav{
  display:flex!important;flex-wrap:wrap!important;
  grid-template-columns:none!important;gap:6px!important;
  justify-content:flex-start!important;padding:10px!important;
  border:1px solid #dfd9ce!important;background:#fff!important;
  margin:18px 0 22px!important;overflow:visible!important;
}
body.leb-v394-account .leb-account-nav a{
  width:auto;white-space:nowrap;text-align:center;
  font-size:11px!important;letter-spacing:.03em!important;text-transform:none!important;
  border:1px solid #e7e2d9!important;border-radius:2px!important;
  padding:9px 13px!important;background:#faf9f6!important;
}
body.leb-v394-account .leb-account-nav a:hover,
body.leb-v394-account .leb-account-nav a:focus-visible{
  background:#eae2d2!important;border-color:#b9a580!important;
}
body.leb-v394-account .leb-account-overview{
  padding:clamp(22px,3vw,42px)!important;background:#fff!important;
}
body.leb-v394-account .leb-account-overview-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
body.leb-v394-account .leb-account-overview-grid article{
  border:1px solid #ded8cd!important;background:#fff!important;
  padding:20px!important;min-height:122px;
}
body.leb-v394-account .leb-account-current{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;
}
body.leb-v394-account .leb-overview-active{
  background:#fff!important;border:1px solid #ddd6ca!important;padding:20px!important;
}
body.leb-v394-account .leb-panel:not(.leb-account-overview){
  margin-top:18px!important;padding:clamp(18px,2.4vw,32px)!important;
}
body.leb-v394-account .leb-record,body.leb-v394-account .leb-table-wrap{
  border:1px solid #dfd9d0!important;border-radius:2px!important;
}
body.leb-v394-account .leb-table th{
  background:#f7f4ee!important;color:#615b50!important;
}
body.leb-v394-account .leb-table td{background:#fff!important;}
/* Native quick actions generated only for authenticated account contents. */
body.leb-v394-account .leb-reference-quicklinks{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;
  margin:20px 0 24px;
}
body.leb-v394-account .leb-reference-quicklinks a{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:9px;min-height:118px;min-width:0;padding:13px 8px;
  background:#fff;border:1px solid #ded7cb;text-align:center;color:#25231f;
  text-decoration:none;font:600 11px/1.3 Arial,Helvetica,sans-serif;
}
body.leb-v394-account .leb-reference-quicklinks a:hover{border-color:#a98b56;background:#f9f6f0;}
body.leb-v394-account .leb-reference-quicklinks svg{
  width:29px;height:29px;fill:none;stroke:#a18454;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}

/* Contracts, callbacks and archive — no column overflow on small screens. */
body.leb-platform-page .leb-app .leb-table-wrap{
  max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;
}
body.leb-platform-page .leb-app .leb-record-head{gap:12px;flex-wrap:wrap;}
body.leb-platform-page .leb-app .leb-actions{gap:10px;flex-wrap:wrap;}
body.leb-v394-properties .leb390-hero-search{
  max-width:1160px!important;border-radius:2px!important;
  box-shadow:0 18px 54px rgba(6,12,11,.25)!important;
}
body.leb-v394-properties .lebp-property-hero-copy h1{
  font-family:"Cormorant Garamond",Georgia,serif!important;font-weight:400!important;
  font-size:clamp(50px,5.5vw,78px)!important;line-height:.97!important;
}
body.leb-v394-properties .lebp-property-hero-copy p{font-size:15px!important;}
body.leb-v394-properties .leb390-search-btn{border-radius:0!important;}
body.page-id-7499 .elementor-heading-title{letter-spacing:-.025em;}

/* Responsive reference layout: media hero above the white form. */
@media(max-width:1100px){
  body.leb-role-auth-page.leb-v394 .leb390-role-auth-shell{
    grid-template-columns:1fr!important;gap:12px!important;
    padding:20px 24px 34px!important;min-height:auto!important;
  }
  body.leb-role-auth-page.leb-v394 .leb390-auth-visual{
    min-height:245px!important;padding:30px 10px 16px!important;
    justify-content:flex-end!important;
  }
  body.leb-role-auth-page.leb-v394 .leb390-auth-card{
    justify-self:center!important;max-width:650px!important;
  }
  body.leb-v394-private-contact .leb-exp-shell{
    grid-template-columns:1fr!important;gap:24px!important;padding:42px 28px 38px!important;
  }
  body.leb-v394-private-contact .leb-exp-form-card{max-width:720px;}
  body.leb-v394-account .leb-reference-quicklinks{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:767px){
  body.leb-role-auth-page.leb-v394 .leb390-role-auth-shell{
    display:block!important;padding:0!important;width:100%!important;
  }
  body.leb-role-auth-page.leb-v394 .leb390-auth-visual{
    padding:36px 20px 22px!important;min-height:230px!important;
  }
  body.leb-role-auth-page.leb-v394 .leb390-auth-visual h1{font-size:40px!important;}
  body.leb-role-auth-page.leb-v394 .leb390-auth-visual>p{font-size:13px!important;}
  body.leb-role-auth-page.leb-v394 .leb390-auth-benefits{display:none!important;}
  body.leb-role-auth-page.leb-v394 .leb390-auth-card{
    width:100%!important;max-width:none!important;border:0!important;
    border-radius:0!important;padding:22px 18px 32px!important;
    box-shadow:none!important;
  }
  body.leb-v394-secure-access .leb-exp-shell{
    display:block!important;padding:36px 14px 28px!important;
    min-height:auto;
  }
  body.leb-v394-secure-access .leb-exp-copy h1{font-size:39px!important;}
  body.leb-v394-secure-access .leb-exp-copy p{font-size:12px!important;}
  body.leb-v394-secure-access .leb-exp-form-card{
    padding:14px!important;margin-top:22px!important;
  }
  body.leb-v394-secure-access .leb-v32-audiences{grid-template-columns:1fr!important;}
  body.leb-v394-secure-access .leb-v32-audiences button{
    min-height:60px!important;display:grid!important;
    grid-template-columns:40px 1fr!important;text-align:left!important;
    justify-items:start!important;border-right:0!important;
    border-bottom:1px solid #dfd8cd!important;
  }
  body.leb-v394-secure-access .leb-v32-audiences button small{display:none!important;}
  body.leb-v394-private-contact .leb-v32-experience{background:#131a18!important;}
  body.leb-v394-private-contact .leb-exp-media{opacity:1!important;filter:none!important;}
  body.leb-v394-private-contact .leb-exp-overlay{
    background:linear-gradient(180deg,rgba(8,12,11,.45),rgba(8,12,11,.3) 53%,rgba(8,12,11,.2))!important;
  }
  body.leb-v394-private-contact .leb-exp-shell{
    display:block!important;width:100%!important;padding:36px 0 24px!important;
    min-height:auto!important;
  }
  body.leb-v394-private-contact .leb-exp-copy{
    padding:12px 22px 28px!important;margin:0!important;
  }
  body.leb-v394-private-contact .leb-exp-copy h1{
    color:#fff!important;font-size:43px!important;
  }
  body.leb-v394-private-contact .leb-exp-copy p{
    font-size:13px!important;color:#fff!important;
  }
  body.leb-v394-private-contact .leb-exp-form-card{
    width:calc(100% - 28px)!important;margin:0 auto!important;
    padding:21px 17px!important;border-radius:0!important;
    box-shadow:0 12px 34px rgba(0,0,0,.16)!important;
  }
  body.leb-v394-account .leb-account-nav{
    flex-wrap:nowrap!important;overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  body.leb-v394-account .leb-account-nav a{flex:0 0 auto;}
  body.leb-v394-account .leb-reference-quicklinks{
    grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;
  }
  body.leb-v394-account .leb-reference-quicklinks a{min-height:92px;font-size:10px;}
  body.leb-v394-account .leb-account-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.leb-v394-account .leb-account-current{grid-template-columns:1fr!important;}
  body.leb-v394-account .leb-account-overview-grid article{min-height:110px;padding:12px!important;}
  body.leb-platform-page .leb-app .leb-grid-form{grid-template-columns:1fr!important;}
  body.leb-platform-page .leb-app .leb-exp-form-card{
    width:100%;max-width:100%;box-sizing:border-box;
  }
}
@media(prefers-reduced-motion:reduce){
  body.leb-platform-page .leb-app *{scroll-behavior:auto!important;transition:none!important;}
}
