/* 99Sqyd v1.3.146 — Phase 6 mobile / visual pilot closure. */

:root{
  --sqyd-146-ink:#11100e;
  --sqyd-146-cream:#f7f1e6;
  --sqyd-146-muted:#6f6658;
  --sqyd-146-gold:#b2874d;
  --sqyd-146-line:rgba(24,20,14,.14);
  --sqyd-146-safe-x:clamp(16px,4.5vw,28px);
  --sqyd-146-touch:44px;
}

body.sqyd-phase6-visual-146:not(.wp-admin){
  overflow-x:hidden;
}

/* Header/drawer: iOS safe z-index and no invisible overlay when closed. */
body.sqyd-phase6-visual-146 .sqyd-hd,
body.sqyd-phase6-visual-146 .sqyd-elementor-site-header,
body.sqyd-phase6-visual-146 header .sqyd-hd{
  position:relative;
  z-index:2147481000!important;
  isolation:isolate;
}
body.sqyd-phase6-visual-146 .sqyd-hd__main{
  z-index:2147481010!important;
}
body.sqyd-phase6-visual-146 .sqyd-hd__backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:2147481900!important;
  pointer-events:none!important;
}
body.sqyd-phase6-visual-146 .sqyd-hd.is-menu-open .sqyd-hd__backdrop,
body.sqyd-phase6-visual-146.sqyd-hd-menu-open .sqyd-hd__backdrop{
  pointer-events:auto!important;
}
body.sqyd-phase6-visual-146 .sqyd-hd__drawer{
  position:fixed!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  height:100vh!important;
  height:100dvh!important;
  max-height:100dvh!important;
  z-index:2147482000!important;
  transform:translate3d(100%,0,0)!important;
  will-change:transform;
  -webkit-overflow-scrolling:touch;
  padding-top:env(safe-area-inset-top);
  padding-bottom:env(safe-area-inset-bottom);
}
body.sqyd-phase6-visual-146 .sqyd-hd.is-menu-open .sqyd-hd__drawer,
body.sqyd-phase6-visual-146.sqyd-hd-menu-open .sqyd-hd__drawer{
  transform:translate3d(0,0,0)!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
body.sqyd-phase6-visual-146 .sqyd-hd:not(.is-menu-open) .sqyd-hd__drawer,
body.sqyd-phase6-visual-146:not(.sqyd-hd-menu-open) .sqyd-hd__drawer:not(.is-open){
  visibility:hidden!important;
  pointer-events:none!important;
}

@media (max-width:1024px){
  body.sqyd-phase6-visual-146 .sqyd-hd__nav,
  body.sqyd-phase6-visual-146 .sqyd-hd__actions{
    display:none!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-hd__burger,
  body.sqyd-phase6-visual-146 [data-sqyd-menu-toggle]{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:var(--sqyd-146-touch)!important;
    min-width:var(--sqyd-146-touch)!important;
    height:var(--sqyd-146-touch)!important;
    min-height:var(--sqyd-146-touch)!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    outline:0!important;
    background:transparent!important;
    color:var(--sqyd-146-ink)!important;
    margin-left:auto!important;
    flex:0 0 var(--sqyd-146-touch)!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-hd__burger span,
  body.sqyd-phase6-visual-146 .sqyd-hd__burger span:before,
  body.sqyd-phase6-visual-146 .sqyd-hd__burger span:after{
    background:var(--sqyd-146-ink)!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-hd.is-menu-open .sqyd-hd__burger span{
    background:transparent!important;
  }
}

@media (max-width:767px){
  body.sqyd-phase6-visual-146 .sqyd-hd{--gutter:var(--sqyd-146-safe-x)!important;}
  body.sqyd-phase6-visual-146 .sqyd-hd__top{display:none!important;}
  body.sqyd-phase6-visual-146 .sqyd-hd__main-inner{
    min-height:58px!important;
    height:58px!important;
    padding-left:var(--sqyd-146-safe-x)!important;
    padding-right:var(--sqyd-146-safe-x)!important;
    gap:10px!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-hd__logo{
    min-width:0!important;
    max-width:min(58vw,174px)!important;
    overflow:hidden!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-hd__logo img{
    max-width:100%!important;
    max-height:34px!important;
    height:auto!important;
    object-fit:contain!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-hd__drawer{
    width:min(430px,100vw)!important;
    border-left:0!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-hd__drawer-head,
  body.sqyd-phase6-visual-146 .sqyd-hd__drawer-foot,
  body.sqyd-phase6-visual-146 .sqyd-hd__drawer-nav>li>a,
  body.sqyd-phase6-visual-146 .sqyd-hd__drawer-nav>li>.sqyd-hd__m-toggle{
    padding-left:var(--sqyd-146-safe-x)!important;
    padding-right:var(--sqyd-146-safe-x)!important;
  }
}

/* Logged-in strip / duplicate welcome guard. */
body.sqyd-phase6-visual-146.logged-in .sqyd-member-strip + .sqyd-member-strip,
body.sqyd-phase6-visual-146.logged-in .sqyd-dashboard-welcome + .sqyd-dashboard-welcome,
body.sqyd-phase6-visual-146.logged-in .sqyd-welcome + .sqyd-welcome,
body.sqyd-phase6-visual-146.logged-in [data-sqyd-duplicate-strip="1"]{
  display:none!important;
}
@media (max-width:767px){
  body.sqyd-phase6-visual-146 .sqyd-member-strip{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:10px var(--sqyd-146-safe-x)!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-member-strip nav{
    display:flex!important;
    gap:8px!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  body.sqyd-phase6-visual-146 .sqyd-member-strip nav a{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }
}

/* Dashboard, CRM and data-room mobile/tablet access. */
@media (max-width:1024px){
  body.sqyd-phase6-visual-146 .sqyd-dashboard,
  body.sqyd-phase6-visual-146 .sqyd-dashboard-shell,
  body.sqyd-phase6-visual-146 .sqyd-member-shell,
  body.sqyd-phase6-visual-146 .sqyd-member-command,
  body.sqyd-phase6-visual-146 .sqyd-command-centre,
  body.sqyd-phase6-visual-146 .sqyd-command-center,
  body.sqyd-phase6-visual-146 .sqyd-desk-shell,
  body.sqyd-phase6-visual-146 .sqyd-transaction-ops,
  body.sqyd-phase6-visual-146 .sqyd-data-room,
  body.sqyd-phase6-visual-146 .sqyd-sdr,
  body.sqyd-phase6-visual-146 .sqyd-dt-admin,
  body.sqyd-phase6-visual-146 .sqyd-dt-center{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    padding-left:var(--sqyd-146-safe-x)!important;
    padding-right:var(--sqyd-146-safe-x)!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-dashboard-sidebar,
  body.sqyd-phase6-visual-146 .sqyd-member-sidebar,
  body.sqyd-phase6-visual-146 .sqyd-command-sidebar,
  body.sqyd-phase6-visual-146 .sqyd-desk-sidebar,
  body.sqyd-phase6-visual-146 .sqyd-dashboard-nav,
  body.sqyd-phase6-visual-146 .sqyd-member-nav,
  body.sqyd-phase6-visual-146 .sqyd-deal-tabs,
  body.sqyd-phase6-visual-146 .sqyd-dt-tabs{
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
    display:flex!important;
    gap:10px!important;
    align-items:center!important;
    padding:10px 0!important;
    margin:0 0 16px!important;
    scrollbar-width:thin;
  }
  body.sqyd-phase6-visual-146 .sqyd-dashboard-sidebar a,
  body.sqyd-phase6-visual-146 .sqyd-member-sidebar a,
  body.sqyd-phase6-visual-146 .sqyd-command-sidebar a,
  body.sqyd-phase6-visual-146 .sqyd-desk-sidebar a,
  body.sqyd-phase6-visual-146 .sqyd-dashboard-nav a,
  body.sqyd-phase6-visual-146 .sqyd-member-nav a,
  body.sqyd-phase6-visual-146 .sqyd-deal-tabs a,
  body.sqyd-phase6-visual-146 .sqyd-dt-tabs a,
  body.sqyd-phase6-visual-146 .sqyd-dashboard-sidebar button,
  body.sqyd-phase6-visual-146 .sqyd-member-sidebar button{
    flex:0 0 auto!important;
    min-height:40px!important;
    white-space:nowrap!important;
  }
}

/* Data-room and document tables should scroll inside their cards, not break the page. */
body.sqyd-phase6-visual-146 .sqyd-dt-table,
body.sqyd-phase6-visual-146 .sqyd-sdr-table,
body.sqyd-phase6-visual-146 .sqyd-data-room-table,
body.sqyd-phase6-visual-146 .sqyd-documents-table,
body.sqyd-phase6-visual-146 .sqyd-payment-ledger,
body.sqyd-phase6-visual-146 .sqyd-offer-table{
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
body.sqyd-phase6-visual-146 .sqyd-dt-table table,
body.sqyd-phase6-visual-146 .sqyd-sdr-table table,
body.sqyd-phase6-visual-146 .sqyd-data-room-table table,
body.sqyd-phase6-visual-146 .sqyd-documents-table table,
body.sqyd-phase6-visual-146 .sqyd-payment-ledger table,
body.sqyd-phase6-visual-146 .sqyd-offer-table table{
  min-width:680px;
}

/* Single-property hero/action area polish. */
body.sqyd-phase6-visual-146.single-property .sqyd-property-hero,
body.sqyd-phase6-visual-146.single-property .sqyd-dossier-hero,
body.sqyd-phase6-visual-146.single-property .rh_property__main_features,
body.sqyd-phase6-visual-146.single-property .rh_page__property{
  max-width:100%;
}
body.sqyd-phase6-visual-146.single-property .sqyd-tag,
body.sqyd-phase6-visual-146.single-property .sqyd-badge,
body.sqyd-phase6-visual-146.single-property .sqyd-dossier-tag,
body.sqyd-phase6-visual-146.single-property .property-label,
body.sqyd-phase6-visual-146.single-property .rh_prop_status_sty{
  color:var(--sqyd-146-ink)!important;
  background:rgba(247,241,230,.94)!important;
  border:1px solid rgba(178,135,77,.35)!important;
  box-shadow:none!important;
}
body.sqyd-phase6-visual-146.single-property .sqyd-property-actions,
body.sqyd-phase6-visual-146.single-property .sqyd-action-grid,
body.sqyd-phase6-visual-146.single-property .sqyd-interest-offer-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  gap:16px!important;
}
@media (max-width:767px){
  body.sqyd-phase6-visual-146.single-property .elementor-widget-sqyd_interest_offer,
  body.sqyd-phase6-visual-146.single-property .elementor-widget-sqyd_show_interest,
  body.sqyd-phase6-visual-146.single-property .sqyd-show-interest,
  body.sqyd-phase6-visual-146.single-property .sqyd-my-offer{
    order:1!important;
    width:100%!important;
  }
  body.sqyd-phase6-visual-146.single-property .elementor-widget-sqyd_schedule_tour,
  body.sqyd-phase6-visual-146.single-property .sqyd-schedule-tour,
  body.sqyd-phase6-visual-146.single-property .sqyd-tour-card{
    order:3!important;
    width:100%!important;
  }
}

/* Dark card contrast and form legibility in dashboards and deal ops widgets. */
body.sqyd-phase6-visual-146 .sqyd-card--dark,
body.sqyd-phase6-visual-146 .sqyd-dark-card,
body.sqyd-phase6-visual-146 .sqyd-command-card.is-dark,
body.sqyd-phase6-visual-146 .sqyd-desk-card.is-dark,
body.sqyd-phase6-visual-146 .sqyd-deal-card.is-dark{
  color:#fff7e6!important;
}
body.sqyd-phase6-visual-146 .sqyd-card--dark p,
body.sqyd-phase6-visual-146 .sqyd-dark-card p,
body.sqyd-phase6-visual-146 .sqyd-command-card.is-dark p,
body.sqyd-phase6-visual-146 .sqyd-desk-card.is-dark p,
body.sqyd-phase6-visual-146 .sqyd-deal-card.is-dark p,
body.sqyd-phase6-visual-146 .sqyd-card--dark span,
body.sqyd-phase6-visual-146 .sqyd-dark-card span{
  color:rgba(255,247,230,.84)!important;
}
body.sqyd-phase6-visual-146 .sqyd-form-response,
body.sqyd-phase6-visual-146 .sqyd-status-bar,
body.sqyd-phase6-visual-146 .sqyd-message,
body.sqyd-phase6-visual-146 .sqyd-notice,
body.sqyd-phase6-visual-146 .sqyd-alert{
  color:var(--sqyd-146-ink)!important;
  line-height:1.45!important;
  overflow-wrap:anywhere;
}
body.sqyd-phase6-visual-146 .sqyd-form-response a,
body.sqyd-phase6-visual-146 .sqyd-status-bar a,
body.sqyd-phase6-visual-146 .sqyd-message a,
body.sqyd-phase6-visual-146 .sqyd-notice a,
body.sqyd-phase6-visual-146 .sqyd-alert a{
  color:#614013!important;
  text-decoration:underline!important;
}

/* Mobile footer: compact, readable and not endless. */
@media (max-width:767px){
  body.sqyd-phase6-visual-146 .sqyd-footer,
  body.sqyd-phase6-visual-146 footer,
  body.sqyd-phase6-visual-146 .site-footer{
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-footer-grid,
  body.sqyd-phase6-visual-146 .sqyd-footer__grid,
  body.sqyd-phase6-visual-146 .footer-widgets,
  body.sqyd-phase6-visual-146 .rh_footer__wrap,
  body.sqyd-phase6-visual-146 footer .elementor-container,
  body.sqyd-phase6-visual-146 footer .elementor-row{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:18px 14px!important;
    align-items:start!important;
  }
  body.sqyd-phase6-visual-146 .sqyd-footer-brand,
  body.sqyd-phase6-visual-146 .sqyd-footer__brand,
  body.sqyd-phase6-visual-146 footer .elementor-column:first-child,
  body.sqyd-phase6-visual-146 footer .elementor-widget-theme-site-logo,
  body.sqyd-phase6-visual-146 footer .elementor-widget-image:first-child{
    grid-column:1 / -1!important;
  }
  body.sqyd-phase6-visual-146 footer h2,
  body.sqyd-phase6-visual-146 footer h3,
  body.sqyd-phase6-visual-146 footer h4,
  body.sqyd-phase6-visual-146 footer .widget-title,
  body.sqyd-phase6-visual-146 footer .elementor-heading-title{
    font-size:13px!important;
    line-height:1.25!important;
    margin:0 0 9px!important;
  }
  body.sqyd-phase6-visual-146 footer a,
  body.sqyd-phase6-visual-146 footer li,
  body.sqyd-phase6-visual-146 footer p{
    font-size:12.5px!important;
    line-height:1.45!important;
  }
}
@media (max-width:420px){
  body.sqyd-phase6-visual-146 footer .elementor-container,
  body.sqyd-phase6-visual-146 footer .elementor-row,
  body.sqyd-phase6-visual-146 .sqyd-footer-grid,
  body.sqyd-phase6-visual-146 .sqyd-footer__grid{
    grid-template-columns:1fr!important;
  }
}
