/*
Theme Name: Swap Ready
Description: Astra child theme for the Swap Ready UK social-housing mutual exchange platform.
Author: Swap Ready
Template: astra
Version: 1.0.24
Text Domain: swap-ready
*/

/*
 * PRESENTATION LAYER ONLY
 * -----------------------
 * Keep platform/business logic in the Swap Ready Core plugin.
 * This file is intentionally limited to site-wide Astra presentation refinements.
 */
:root{--swap-ready-ink:#172033;--swap-ready-blue:#2057d4;--swap-ready-soft:#f6f8fb;--swap-ready-navy:#071d3d}
body{color:var(--swap-ready-ink)}
a{transition:color .15s ease,background-color .15s ease,opacity .15s ease}
.ast-container{max-width:1240px}
.site-header{border-bottom:1px solid rgba(255,255,255,.12);background:var(--swap-ready-navy)}
.site-title a{display:inline-flex;align-items:center;white-space:nowrap;color:#fff;font-weight:800;letter-spacing:-.02em}
.sr-member-swap-ready .site-title a::after{content:"\2713";margin-left:.28em;color:#fff;font-size:.78em;line-height:1}
.site-title a:hover{color:#fff}
.ast-primary-header-bar{background:var(--swap-ready-navy)}
#ast-desktop-header .ast-primary-header-bar .site-primary-header-wrap,
#ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row{height:68px;min-height:68px}
#masthead #ast-desktop-header .site-title a{color:#fff}
#masthead #ast-desktop-header .main-header-menu{align-items:stretch}
#masthead #ast-desktop-header .main-header-menu>li{display:flex;align-items:stretch;margin:0}
#masthead #ast-desktop-header .main-header-menu .menu-link{
  display:flex;
  align-items:center;
  position:relative;
  height:68px;
  min-height:68px;
  padding:0 13px;
  color:#e8f0ff;
  font-weight:650;
  line-height:1.2;
}
#masthead #ast-desktop-header .main-header-menu .menu-link:hover,
#masthead #ast-desktop-header .main-header-menu .menu-link:focus{color:#fff;background:rgba(255,255,255,.07)}
#masthead #ast-desktop-header .main-header-menu .current-menu-item>.menu-link,
#masthead #ast-desktop-header .main-header-menu .current_page_item>.menu-link{color:#fff}
#masthead #ast-desktop-header .main-header-menu .current-menu-item>.menu-link:after,
#masthead #ast-desktop-header .main-header-menu .current_page_item>.menu-link:after{
  content:"";
  position:absolute;
  right:13px;
  bottom:10px;
  left:13px;
  height:2px;
  border-radius:2px;
  background:#78a7ff;
}
#masthead a:focus-visible,
#masthead button:focus-visible{outline:3px solid #9fc0ff!important;outline-offset:3px}
.main-header-menu a[href*="action=logout"]{opacity:.76;font-weight:600}
.main-header-menu a[href*="action=logout"]:hover,
.main-header-menu a[href*="action=logout"]:focus{opacity:1}
#masthead #ast-desktop-header .main-header-menu .sub-menu{
  min-width:210px;
  padding:8px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  background:var(--swap-ready-navy);
  box-shadow:0 14px 32px rgba(7,29,61,.28);
}
#masthead #ast-desktop-header .main-header-menu .sub-menu .menu-link{
  height:auto;
  min-height:44px;
  padding:10px 12px;
  border-radius:8px;
  color:#fff;
  font-weight:650;
}
#masthead #ast-desktop-header .main-header-menu .sub-menu .menu-link:hover,
#masthead #ast-desktop-header .main-header-menu .sub-menu .menu-link:focus{
  color:#fff;
  background:rgba(255,255,255,.10);
}
#masthead #ast-desktop-header .main-header-menu .sub-menu .current-menu-item>.menu-link,
#masthead #ast-desktop-header .main-header-menu .sub-menu .current_page_item>.menu-link{
  color:#fff;
  background:rgba(255,255,255,.08);
  box-shadow:inset 3px 0 0 #78a7ff;
}
#masthead #ast-desktop-header .main-header-menu .sub-menu .menu-link:after{content:none}
#masthead #ast-desktop-header .main-header-menu .sub-menu .menu-link>.ast-icon,
#masthead #ast-desktop-header .main-header-menu .sub-menu .menu-link>.dropdown-menu-toggle{display:none!important}
#masthead .main-header-menu .menu-item-has-children.sr-nav-open>.sub-menu{
  display:block;
  right:auto;
  left:0;
  visibility:visible;
  opacity:1;
  transform:none;
  pointer-events:auto;
}
.sr-language-selector{margin-inline-start:6px!important}
#masthead #ast-desktop-header .sr-language-trigger{gap:7px;border:0;background:transparent;cursor:pointer;font:inherit}
.sr-language-globe{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sr-language-caret{font-size:15px;line-height:1;transition:transform .15s ease}
.sr-language-selector.sr-nav-open .sr-language-caret{transform:rotate(180deg)}
.sr-language-group-label{display:none}
#masthead #ast-desktop-header .sr-language-selector>.sub-menu{right:0;left:auto;min-width:180px}
#masthead #ast-desktop-header .sr-language-selector>.sub-menu .current-menu-item>.menu-link:after{content:"✓";position:static;margin-inline-start:auto;width:auto;height:auto;background:none;color:#9fc0ff;font-weight:800}
.sr-match-direction-arrow{display:inline-block}
[dir="rtl"] .sr-match-direction-arrow{transform:scaleX(-1)}
@media(prefers-reduced-motion:reduce){.sr-language-caret{transition:none}}
.site-footer{margin-top:0}
.sr-application-page .site-content #primary{margin-top:0}
/* Product shells own the footer gap; avoid stacking Astra and shell spacing. */
body.home .site-content #primary,
.sr-application-page .site-content #primary{margin-bottom:0}
body.home .sr-shell,
.sr-application-page .entry-content > .sr-shell{margin-bottom:32px}
.sr-site-footer{
  width:100%;
  border:0;
  background:var(--swap-ready-navy);
  color:#fff;
}
.sr-footer-inner{
  width:min(100% - 40px,1200px);
  margin:0 auto;
  padding:38px 0 30px;
}
.sr-footer-brand{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  color:#fff;
  font-size:1.35rem;
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.02em;
  text-decoration:none;
}
.sr-footer-brand:hover,
.sr-footer-brand:focus{color:#fff}
.sr-footer-brand-tick{margin-left:.28em;font-size:.78em;line-height:1}
.sr-footer-description{
  max-width:420px;
  margin:12px 0 18px;
  color:#c8d5e8;
  font-size:16px;
  line-height:1.55;
}
.sr-footer-nav ul{
  display:flex;
  flex-wrap:wrap;
  gap:4px 26px;
  margin:0;
  padding:0;
  list-style:none;
}
.sr-footer-nav{display:flex;flex-wrap:wrap;gap:24px 64px}.sr-footer-nav h2{margin:0 0 4px;color:#fff;font-size:16px}.sr-footer-nav>div{min-width:150px}
.sr-guide-list,.sr-support-history ul{display:grid;gap:10px;margin:18px 0;padding:0;list-style:none}.sr-guide-list li{display:flex;gap:10px;align-items:flex-start}.sr-guide-next{padding:18px;border-radius:12px;background:#f4f7fb}.sr-guide-next h3{margin-top:0}.sr-support-history li{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(150px,2fr) minmax(90px,.8fr) minmax(110px,1fr);gap:12px;padding:12px 0;border-bottom:1px solid #d9e1eb}.sr-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.sr-support-form textarea{min-height:160px}.sr-get-ready-support{margin-top:24px}
.sr-my-home .sr-my-home-confirmation{display:grid;justify-items:start;gap:10px;padding:22px}.sr-my-home .sr-my-home-confirmation>*{margin:0}.sr-my-home-confirmation-earned{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:999px;background:#e8f5ef;color:#087a55;font-size:13px;font-weight:750;line-height:1.35}.sr-my-home .sr-my-home-confirmation h3{margin:0;color:#071d3d;font-size:24px;line-height:1.25}.sr-my-home-confirmation-date{color:#223a5e;font-size:16px;font-weight:700;line-height:1.5}.sr-my-home-confirmation form{max-width:100%;margin:2px 0 0}.sr-my-home-confirmation-success{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:10px;background:#e8f5ef;color:#076b4a;font-weight:750;line-height:1.4}
.sr-footer-nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#f5f8fc;
  font-size:16px;
  font-weight:650;
  text-decoration:none;
}
.sr-footer-nav a:hover,
.sr-footer-nav a:focus{color:#fff;text-decoration:underline;text-underline-offset:4px}
.sr-footer-brand:focus-visible,
.sr-footer-nav a:focus-visible{
  outline:3px solid #9fc0ff;
  outline-offset:4px;
}
.sr-footer-copyright{
  margin:18px 0 0;
  color:#aebfd7;
  font-size:.92rem;
  line-height:1.5;
}
@media(max-width:480px){
  .sr-footer-inner{width:min(100% - 32px,1200px);padding:30px 0 25px}
  .sr-footer-description{margin-bottom:14px}
  .sr-footer-nav ul{display:grid;gap:0}
  .sr-footer-nav{display:grid;gap:16px}.sr-support-history li{grid-template-columns:1fr;gap:3px}.sr-support-form,.sr-support-form label,.sr-support-form input,.sr-support-form select,.sr-support-form textarea,.sr-support-form button{max-width:100%;box-sizing:border-box}
  .sr-footer-nav a{min-height:44px}
  .sr-footer-copyright{margin-top:14px}
}
@media(max-width:640px){
  .ast-mobile-header-wrap .ast-primary-header-bar{min-height:64px;padding-left:14px;padding-right:14px;background:var(--swap-ready-navy)}
  .ast-mobile-header-wrap .site-title a{color:#fff}
  .ast-mobile-header-wrap .menu-toggle{color:#fff;background:transparent}
  .ast-mobile-header-wrap .menu-toggle:hover,
  .ast-mobile-header-wrap .menu-toggle:focus{color:#fff;background:rgba(255,255,255,.09)}
  #ast-mobile-header .ast-mobile-header-content{border-top:1px solid rgba(255,255,255,.12);background:var(--swap-ready-navy)}
  /* Astra's expanded menu is light, independently of the navy header bar. */
  #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile .main-header-menu{background:#fff}
  #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile .main-header-menu .menu-link{height:auto;min-height:48px;padding:12px 20px;color:var(--swap-ready-navy);background:transparent;line-height:24px;opacity:1}
  #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile .main-header-menu .menu-link:hover,
  #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile .main-header-menu .menu-link:focus{color:var(--swap-ready-navy);background:var(--swap-ready-soft)}
  #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile .main-header-menu .current-menu-item>.menu-link,
  #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile .main-header-menu .current_page_item>.menu-link{border-left:3px solid #78a7ff;color:var(--swap-ready-navy);background:var(--swap-ready-soft);font-weight:750}
  #ast-mobile-header .ast-mobile-header-content .main-header-menu .current-menu-item>.menu-link:after,
  #ast-mobile-header .ast-mobile-header-content .main-header-menu .current_page_item>.menu-link:after{content:none}
  #ast-mobile-header .ast-builder-menu-mobile .main-header-menu .sub-menu{
    position:static;
    width:100%;
    padding:0 0 6px;
    border:0;
    background:rgba(255,255,255,.035);
    box-shadow:none;
  }
  #ast-mobile-header .ast-builder-menu-mobile .main-header-menu .menu-item-has-children:not(.sr-nav-open)>.sub-menu{display:none}
  #ast-mobile-header .ast-builder-menu-mobile .main-header-menu .sub-menu .menu-link{
    min-height:48px;
    padding-left:36px;
  }
  #ast-mobile-header .ast-builder-menu-mobile .main-header-menu .sub-menu .menu-link>.ast-icon,
  #ast-mobile-header .ast-builder-menu-mobile .main-header-menu .sub-menu .menu-link>.dropdown-menu-toggle{display:none!important}
  #ast-mobile-header .sr-language-selector{margin-inline-start:0!important;border-top:1px solid #dce3ed}
  #ast-mobile-header .sr-language-selector>.sr-language-trigger{width:100%;min-height:48px;padding:12px 20px;border:0;color:var(--swap-ready-navy);background:transparent;text-align:start;font:inherit;font-weight:650;cursor:pointer}
  #ast-mobile-header .sr-language-selector>.sr-language-trigger:hover,
  #ast-mobile-header .sr-language-selector>.sr-language-trigger:focus{color:var(--swap-ready-navy);background:var(--swap-ready-soft)}
  #ast-mobile-header .ast-mobile-header-content .main-header-menu a:focus-visible,
  #ast-mobile-header .ast-mobile-header-content .main-header-menu button:focus-visible{outline:2px solid var(--swap-ready-blue);outline-offset:-3px}
  #ast-mobile-header .sr-language-selector>.ast-menu-toggle{display:none!important}
  #ast-mobile-header .sr-language-globe,#ast-mobile-header .sr-language-current{display:none}
  #ast-mobile-header .sr-language-group-label{display:inline}
  #ast-mobile-header .sr-language-caret{margin-inline-start:auto}
  #ast-mobile-header .sr-language-selector>.sub-menu .menu-link{min-height:48px;padding-inline-start:36px}
}
/* Find a Swap — home cards */

.sr-home-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  align-items:start;
}

.sr-home-card{
  background:#fff;
  border:1px solid #e7eaf0;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(23,32,51,.07);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.sr-home-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 38px rgba(23,32,51,.11);
  border-color:#d9dfe8;
}

.sr-home-card-media{
  position:relative;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#eef2f7;
}

.sr-home-card-image{
  display:block;
  width:100%;
  height:100%;
}

.sr-home-card-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .25s ease;
}

.sr-home-card:hover .sr-home-card-image img{
  transform:scale(1.02);
}

.sr-home-card-body{
  padding:20px 22px 18px;
}

.sr-home-card-body h3{
  margin:0 0 8px;
  font-size:1.28rem;
  line-height:1.25;
}

.sr-home-card-body h3 a{
  color:var(--swap-ready-ink);
  text-decoration:none;
}

.sr-home-card-body h3 a:hover{
  text-decoration:underline;
}

.sr-home-facts{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  align-items:center;
  margin:0 0 14px;
  color:#5f6b7c;
  font-size:.96rem;
}

.sr-home-facts strong{
  color:var(--swap-ready-ink);
  font-weight:700;
}

.sr-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  min-height:0;
  margin:0 0 16px;
}

.sr-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#f3f6fb;
  color:#334155;
  font-size:.82rem;
  font-weight:650;
}

.sr-card-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding-top:14px;
  border-top:1px solid #edf0f4;
  color:#7a8494;
  font-size:.84rem;
}

.sr-active{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#047857;
  font-weight:700;
}

.sr-active i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#059669;
  display:inline-block;
}

.sr-save-form{
  position:absolute;
  top:16px;
  right:16px;
  z-index:4;
  margin:0;
}

.sr-save-button{
  width:46px;
  height:46px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  box-shadow:0 5px 16px rgba(15,23,42,.16);
  display:grid;
  place-items:center;
  cursor:pointer;
  font-size:1.5rem;
  line-height:1;
}

.sr-save-button:hover{
  transform:scale(1.04);
}

.sr-save-button.is-saved{
  background:#fff;
}

.sr-photo-count{
  position:absolute;
  right:14px;
  bottom:14px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(23,32,51,.88);
  color:#fff;
  font-size:.78rem;
  font-weight:700;
}

.sr-badge-primary{
  position:absolute;
  left:14px;
  top:14px;
  z-index:3;
  border-radius:999px;
  padding:7px 10px;
  background:#fff;
  color:var(--swap-ready-blue);
  font-size:.78rem;
  font-weight:800;
  box-shadow:0 4px 14px rgba(15,23,42,.12);
}

.sr-image-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  text-align:center;
  padding:24px;
  color:#6b7280;
  text-decoration:none;
}

.sr-match-score{
  margin:14px 0 0;
  padding:11px 12px;
  border-radius:12px;
  background:#eef4ff;
  color:#173b82;
  font-size:.88rem;
}

@media(max-width:980px){
  .sr-home-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:640px){
  .sr-home-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .sr-home-card{
    border-radius:18px;
  }

  .sr-home-card-body{
    padding:17px 18px 16px;
  }
}

/* =========================================================
   SINGLE HOME / PROPERTY PAGE
   Clean, simple Swap Ready presentation
   ========================================================= */

.sr-single-home{
  max-width:1240px;
  margin:0 auto;
  padding:42px 0 70px;
}

.sr-single-home .sr-page-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:28px;
  margin-bottom:30px;
}

.sr-single-home .sr-page-head h1{
  margin:4px 0 8px;
  font-size:clamp(2.35rem,4vw,3.6rem);
  line-height:1.05;
  letter-spacing:-.035em;
}

.sr-single-home .sr-eyebrow{
  margin:0 0 10px;
  color:#64748b;
  font-size:.98rem;
  font-weight:600;
}

.sr-single-home .sr-score-pill{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  padding:10px 15px;
  border-radius:999px;
  background:#eef4ff;
  color:var(--swap-ready-blue);
  font-weight:800;
  font-size:.9rem;
}

/* Photo area */

.sr-single-home .sr-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0 0 30px;
  overflow:hidden;
  border-radius:22px;
}

.sr-single-home .sr-gallery img{
  display:block;
  width:100%;
  height:100%;
  min-height:260px;
  max-height:520px;
  object-fit:cover;
}

.sr-single-home .sr-gallery > :first-child{
  grid-column:1 / -1;
}

.sr-single-home .sr-gallery > :first-child img{
  min-height:430px;
}

.sr-single-home .sr-gallery a{
  display:block;
  color:inherit;
  text-decoration:none;
}

/* Main content */

.sr-single-home .sr-single-sections{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:28px;
  align-items:start;
}

.sr-single-home .sr-single-sections > .sr-panel{
  grid-column:1;
}

.sr-single-home .sr-panel{
  background:#fff;
  border:1px solid #e7eaf0;
  border-radius:20px;
  padding:28px 30px;
  margin:0 0 22px;
  box-shadow:0 5px 18px rgba(23,32,51,.035);
}

.sr-single-home .sr-panel h2{
  margin:0 0 20px;
  font-size:1.65rem;
  line-height:1.2;
  letter-spacing:-.02em;
}

.sr-single-home .sr-panel h3{
  margin:18px 0 8px;
  font-size:1.05rem;
}

.sr-single-home .sr-panel p:last-child{
  margin-bottom:0;
}

/* Facts */

.sr-single-home .sr-details{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px 28px;
  margin:0 0 20px;
}

.sr-single-home .sr-details > div{
  padding-bottom:14px;
  border-bottom:1px solid #edf0f4;
}

.sr-single-home .sr-details dt{
  margin:0 0 4px;
  color:#64748b;
  font-size:.84rem;
  font-weight:650;
}

.sr-single-home .sr-details dd{
  margin:0;
  color:var(--swap-ready-ink);
  font-size:1.02rem;
  font-weight:700;
}

/* Badges */

.sr-single-home .sr-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:18px 0;
}

.sr-single-home .sr-chip{
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border-radius:999px;
  background:#f1f5f9;
  color:#334155;
  font-size:.84rem;
  font-weight:650;
}

/* Looking status */

.sr-single-home .sr-active{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#047857;
  font-weight:750;
}

.sr-single-home .sr-active:before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:#059669;
}

/* Actions panel */

.sr-single-home .sr-actions-panel{
  grid-column:2;
  grid-row:1 / span 8;
  position:sticky;
  top:110px;
  padding:26px;
  border:1px solid #dfe5ed;
  box-shadow:0 12px 32px rgba(23,32,51,.08);
}

.sr-single-home .sr-actions-panel h2{
  font-size:1.25rem;
  margin-bottom:16px;
}

.sr-single-home .sr-inline-actions{
  display:grid;
  gap:12px;
}

.sr-single-home .sr-inline-actions form{
  margin:0;
}

.sr-single-home .sr-actions-panel .sr-button{
  width:100%;
  min-height:48px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.sr-single-home .sr-interest-form textarea{
  width:100%;
  min-height:105px;
  margin:12px 0;
  resize:vertical;
}

/* Matching */

.sr-single-home .sr-match-panel{
  border-color:#d9e5ff;
  background:#f8fbff;
}

.sr-single-home .sr-big-score{
  margin:0 0 18px;
  color:var(--swap-ready-blue);
  font-size:1.7rem;
  font-weight:850;
}

/* Report listing */

.sr-single-home .sr-report{
  margin-top:26px;
  color:#64748b;
  font-size:.9rem;
}

.sr-single-home .sr-report summary{
  cursor:pointer;
  font-weight:650;
}

.sr-single-home .sr-report form{
  margin-top:14px;
}

/* Mobile */

@media(max-width:900px){

  .sr-single-home{
    padding-top:28px;
  }

  .sr-single-home .sr-page-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .sr-single-home .sr-single-sections{
    grid-template-columns:1fr;
  }

  .sr-single-home .sr-single-sections > .sr-panel,
  .sr-single-home .sr-actions-panel{
    grid-column:1;
  }

  .sr-single-home .sr-actions-panel{
    grid-row:auto;
    position:static;
  }

  .sr-single-home .sr-gallery > :first-child img{
    min-height:330px;
  }
}

@media(max-width:600px){

  .sr-single-home .sr-panel{
    padding:22px 20px;
    border-radius:17px;
  }

  .sr-single-home .sr-gallery{
    grid-template-columns:1fr;
    border-radius:17px;
  }

  .sr-single-home .sr-gallery > :first-child{
    grid-column:auto;
  }

  .sr-single-home .sr-gallery img,
  .sr-single-home .sr-gallery > :first-child img{
    min-height:260px;
  }

  .sr-single-home .sr-details{
    grid-template-columns:1fr;
  }
}
.sr-view-toggle button{
    color:#172033;
}

.sr-view-toggle button.is-active{
    color:#fff;
}

/* Member Dashboard — Phase 1 */
.sr-dashboard{
  --sr-dashboard-navy:#071d3d;
  --sr-dashboard-blue:#2f6fed;
  --sr-dashboard-line:#e2e8f0;
  --sr-dashboard-muted:#64748b;
  max-width:1180px;
}

.sr-dashboard-hero{
  position:relative;
  overflow:hidden;
  margin-bottom:28px;
  padding:clamp(34px,6vw,68px);
  border-radius:26px;
  background:linear-gradient(125deg,var(--sr-dashboard-navy) 0%,#0b2c59 72%,#114184 100%);
  color:#fff;
  box-shadow:0 18px 44px rgba(7,29,61,.16);
}

.sr-dashboard-hero:after{
  content:"";
  position:absolute;
  right:-90px;
  bottom:-150px;
  width:360px;
  height:360px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  box-shadow:0 0 0 62px rgba(255,255,255,.035),0 0 0 124px rgba(255,255,255,.025);
  pointer-events:none;
}

.sr-dashboard-hero-copy{position:relative;z-index:1;max-width:760px}
.sr-dashboard .sr-dashboard-eyebrow,.sr-dashboard .sr-dashboard-kicker{margin:0 0 7px;font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.sr-dashboard .sr-dashboard-eyebrow{color:#99bdff}
.sr-dashboard-hero h1{margin:0;color:#fff;font-size:clamp(36px,5vw,58px);line-height:1.05;letter-spacing:-.04em}
.sr-dashboard-subheading{margin:12px 0 0;color:#dbe8ff;font-size:clamp(17px,2vw,21px)}
.sr-dashboard-pills{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0}
.sr-dashboard-pills span{display:inline-flex;align-items:center;min-height:34px;padding:7px 12px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font-size:13px;font-weight:750;line-height:1.2}
.sr-dashboard-pills .sr-dashboard-pill-status.is-earned{border-color:#70e1ad;background:#d8fae9;color:#07583c}
.sr-dashboard-pills .sr-dashboard-pill-status.is-pending{border-color:#f5d37a;background:#fff3c7;color:#684b00}
.sr-dashboard-pills .sr-dashboard-pill-status.needs-attention{border-color:#ffb38a;background:#fff0e8;color:#8a3108}
.sr-dashboard .sr-dashboard-primary{display:inline-flex;align-items:center;justify-content:center;min-height:50px;background:#fff;color:var(--sr-dashboard-navy)!important;box-shadow:0 8px 22px rgba(0,0,0,.14)}

.sr-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:22px;align-items:start}
.sr-dashboard-card{min-width:0;margin:0;padding:26px;border:1px solid var(--sr-dashboard-line);border-radius:20px;background:#fff;box-shadow:0 8px 26px rgba(15,23,42,.055)}
.sr-dashboard-card h2{margin:0 0 16px;font-size:clamp(21px,2.2vw,27px);line-height:1.2}
.sr-dashboard-card p{color:#475569}
.sr-dashboard-card .sr-dashboard-kicker{color:var(--sr-dashboard-blue)}
.sr-dashboard-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.sr-dashboard-card-head h2{margin-bottom:0}
.sr-dashboard-card-status{flex:none;padding:6px 10px;border-radius:999px;background:#edf3ff;color:#1f55bc;font-size:12px;font-weight:800}
.sr-dashboard-home{grid-column:1}
.sr-dashboard-home-body{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:center}
.sr-dashboard-home-photo{aspect-ratio:4/3;overflow:hidden;border-radius:15px;background:#edf2f7}
.sr-dashboard-home-photo img{display:block;width:100%;height:100%;object-fit:cover}
.sr-dashboard-photo-placeholder{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:15px;color:#64748b;text-align:center}
.sr-dashboard-photo-placeholder span{font-size:34px;line-height:1}
.sr-dashboard-photo-placeholder strong{font-size:13px}
.sr-dashboard-home-details>p{margin:0 0 22px;font-weight:700}
.sr-dashboard-progress-label{display:flex;justify-content:space-between;gap:16px;margin-bottom:8px;color:#526174;font-size:13px}
.sr-dashboard-progress-label strong{color:#172033}
.sr-dashboard .sr-progress{height:10px;background:#e9eef5;border:0}
.sr-dashboard-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:22px}
.sr-dashboard a:not(.sr-button){font-weight:750;text-underline-offset:3px}

.sr-dashboard-task-list{display:grid;gap:9px}
.sr-dashboard-task-list a{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:11px;min-height:52px;padding:11px 13px;border:1px solid var(--sr-dashboard-line);border-radius:12px;color:#172033;text-decoration:none}
.sr-dashboard-task-list a:hover{border-color:var(--sr-dashboard-blue);background:#f8faff}
.sr-dashboard-task-list strong{color:var(--sr-dashboard-blue);white-space:nowrap}
.sr-dashboard-positive{display:flex;align-items:flex-start;gap:13px;padding:16px;border-radius:14px;background:#effaf5;color:#07583c}
.sr-dashboard-positive>span{display:grid;flex:none;width:27px;height:27px;place-items:center;border-radius:50%;background:#0c8a5e;color:#fff;font-weight:900}
.sr-dashboard-positive strong{display:block;margin-bottom:3px}
.sr-dashboard-positive p{margin:0;color:#28705a}
.sr-dashboard-ready{border-top:4px solid #94a3b8}
.sr-dashboard-ready.is-earned{border-top-color:#0c8a5e;background:#fbfffd}
.sr-dashboard-ready.is-pending{border-top-color:#d99a13;background:#fffdf7}
.sr-dashboard-ready.needs-attention{border-top-color:#d65b22;background:#fffaf7}
.sr-dashboard-ready p{margin:0 0 18px}
.sr-dashboard-verification{position:relative;margin-bottom:22px}
.sr-dashboard-verification[hidden]{display:none}
.sr-dashboard-verification-dismiss{position:absolute;z-index:1;top:10px;right:10px;display:grid;width:32px;height:32px;padding:0;place-items:center;border:1px solid transparent;border-radius:50%;background:transparent;color:var(--sr-dashboard-muted);font:700 24px/1 sans-serif;cursor:pointer}
.sr-dashboard-verification-dismiss:hover{border-color:var(--sr-dashboard-line);background:#f3f6fa;color:#172033}
.sr-dashboard-verification-dismiss:focus-visible{outline:3px solid #78a7ff;outline-offset:2px}
.sr-dashboard-verification:has(.sr-dashboard-verification-dismiss) .sr-dashboard-card-head{padding-right:34px}
.sr-dashboard-activity{grid-column:1/-1}
.sr-dashboard-activity-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.sr-dashboard-activity-links a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:60px;padding:12px;border:1px solid var(--sr-dashboard-line);border-radius:13px;color:#172033;text-decoration:none}
.sr-dashboard-activity-links a:hover{border-color:var(--sr-dashboard-blue);background:#f8faff}
.sr-dashboard-empty{max-width:760px;margin:0 auto;text-align:center}
.sr-dashboard-membership{margin:20px 4px 0;color:var(--sr-dashboard-muted);font-size:13px;text-align:right}

.sr-dashboard a:focus-visible,.sr-dashboard button:focus-visible{outline:3px solid #78a7ff;outline-offset:3px}

@media(max-width:900px){
  .sr-dashboard-grid{grid-template-columns:1fr}
  .sr-dashboard-home,.sr-dashboard-activity{grid-column:auto}
  .sr-dashboard-activity-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:600px){
  .sr-dashboard{width:min(100% - 22px,1180px)}
  .sr-dashboard-hero{margin-bottom:18px;padding:28px 20px;border-radius:20px}
  .sr-dashboard-hero:after{right:-190px;bottom:-210px}
  .sr-dashboard-pills{margin:22px 0}
  .sr-dashboard .sr-dashboard-primary{width:100%;min-height:50px}
  .sr-dashboard-grid{gap:16px}
  .sr-dashboard-card{padding:20px;border-radius:17px}
  .sr-dashboard-home-body{grid-template-columns:1fr;gap:18px}
  .sr-dashboard-home-photo{width:100%;max-height:245px}
  .sr-dashboard-actions{display:grid;gap:13px;text-align:center}
  .sr-dashboard-actions .sr-button{width:100%;min-height:46px}
  .sr-dashboard-activity-links{grid-template-columns:1fr}
  .sr-dashboard-activity-links a{min-height:54px}
  .sr-dashboard-membership{text-align:center}
}

@media(prefers-reduced-motion:reduce){
  .sr-dashboard *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* How it works — Phase 1 */
.sr-how-it-works{
  --sr-how-navy:#071d3d;
  --sr-how-blue:#2f6fed;
  --sr-how-pale:#eef5ff;
  --sr-how-line:#dfe7f1;
  max-width:1180px;
  margin-top:-36px;
  padding-top:0;
  padding-bottom:24px;
}
.sr-how-it-works section{margin:0 0 clamp(46px,5.5vw,68px)}
.sr-how-it-works h1,.sr-how-it-works h2,.sr-how-it-works h3{letter-spacing:-.035em}
.sr-how-eyebrow{margin:0 0 10px;color:var(--sr-how-blue);font-size:12px;font-weight:850;letter-spacing:.11em;text-transform:uppercase}
.sr-how-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
  align-items:center;
  gap:34px;
  overflow:hidden;
  min-height:350px;
  padding:clamp(38px,4.5vw,54px);
  border-radius:28px;
  background:linear-gradient(125deg,var(--sr-how-navy),#0b2c59 72%,#114184);
  color:#fff;
  box-shadow:0 18px 44px rgba(7,29,61,.16);
}
.sr-how-hero:after,.sr-how-cta:after{content:"";position:absolute;width:330px;height:330px;border:1px solid rgba(255,255,255,.11);border-radius:50%;box-shadow:0 0 0 58px rgba(255,255,255,.035),0 0 0 116px rgba(255,255,255,.025);pointer-events:none}
.sr-how-hero:after{right:-150px;bottom:-180px}
.sr-how-hero-copy,.sr-how-hero-art{position:relative;z-index:1}
.sr-how-hero .sr-how-eyebrow,.sr-how-cta .sr-how-eyebrow{color:#99bdff}
.sr-how-hero h1{margin:0;color:#fff;font-size:clamp(38px,4vw,52px);line-height:1.06}
.sr-how-hero-copy>p:last-child{max-width:620px;margin:18px 0 0;color:#dbe8ff;font-size:clamp(16px,1.45vw,18px);line-height:1.55}
.sr-how-hero-art{display:flex;align-items:center;justify-content:center;gap:14px;min-height:205px;transform:scale(.88)}
.sr-how-house{position:relative;width:125px;height:112px;margin-top:44px;border-radius:8px 8px 15px 15px;background:#fff;box-shadow:0 18px 35px rgba(0,0,0,.2)}
.sr-how-house:before{content:"";position:absolute;top:-52px;left:5px;width:88px;height:88px;border-radius:9px;background:#78a7ff;transform:rotate(45deg)}
.sr-how-house:after{content:"";position:absolute;top:-18px;right:15px;width:22px;height:37px;border-radius:3px;background:#fff}
.sr-how-house>span,.sr-how-house>i,.sr-how-house>b{position:absolute;z-index:1;bottom:0}
.sr-how-house>span{left:18px;width:27px;height:48px;border-radius:5px 5px 0 0;background:#dce9ff}
.sr-how-house>i{right:20px;bottom:37px;width:28px;height:25px;border:5px solid #dce9ff;border-radius:4px;background:#78a7ff}
.sr-how-house>b{right:-7px;bottom:-2px;width:35px;height:39px;border-radius:60% 60% 20% 20%;background:#56b88a}
.sr-how-house-two{transform:scale(.82)}
.sr-how-house-two:before{background:#8dd7b3}
.sr-how-swap-arrows{display:grid;gap:2px;color:#9fc0ff;font-size:34px;font-weight:900;line-height:.7;text-align:center}
.sr-how-section-head{margin-bottom:20px}
.sr-how-section-head h2,.sr-how-meaning h2{margin:0;color:var(--sr-how-navy);font-size:clamp(34px,4vw,48px);line-height:1.1}
.sr-how-steps{display:grid;gap:13px;margin:0;padding:0;list-style:none;counter-reset:none}
.sr-how-step{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:22px;min-height:132px;padding:18px 24px;border:1px solid var(--sr-how-line);border-radius:19px;background:linear-gradient(105deg,#f8fbff,#fff);box-shadow:0 7px 22px rgba(15,23,42,.05)}
.sr-how-step-icon{position:relative;display:grid;width:92px;height:92px;place-items:center;border-radius:22px;background:#e8f1ff;color:var(--sr-how-blue);transform:scale(.82);transform-origin:center}
.sr-how-step-icon:before,.sr-how-step-icon:after,.sr-how-step-icon span:before,.sr-how-step-icon span:after{content:"";position:absolute;box-sizing:border-box}
.sr-how-icon-home:before{width:68px;height:58px;bottom:25px;border:7px solid currentColor;border-radius:5px}
.sr-how-icon-home:after{top:28px;width:61px;height:61px;border-top:7px solid currentColor;border-left:7px solid currentColor;transform:rotate(45deg)}
.sr-how-icon-shield:before{width:65px;height:78px;border:7px solid currentColor;border-radius:30px 30px 38px 38px;clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%)}
.sr-how-icon-shield:after{width:27px;height:14px;border-left:6px solid #56b88a;border-bottom:6px solid #56b88a;transform:rotate(-45deg)}
.sr-how-icon-search:before{width:59px;height:59px;border:7px solid currentColor;border-radius:50%;transform:translate(-9px,-9px)}
.sr-how-icon-search:after{width:42px;height:8px;border-radius:8px;background:currentColor;transform:translate(27px,27px) rotate(45deg)}
.sr-how-icon-swap:before{width:77px;height:8px;border-radius:8px;background:currentColor;box-shadow:0 28px 0 #56b88a}
.sr-how-icon-swap:after{width:23px;height:23px;border-top:8px solid currentColor;border-right:8px solid currentColor;transform:translate(29px,-14px) rotate(45deg);box-shadow:20px 20px 0 -8px #56b88a}
.sr-how-icon-message:before{width:75px;height:59px;border:7px solid currentColor;border-radius:15px;background:#f8fbff}
.sr-how-icon-message:after{width:21px;height:21px;bottom:30px;left:31px;border-left:7px solid currentColor;border-bottom:7px solid currentColor;transform:skewY(-38deg)}
.sr-how-step-body{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center;min-width:0}
.sr-how-step-number{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:var(--sr-how-blue);color:#fff;font-size:14px;font-weight:850}
.sr-how-step h3{min-width:0;margin:0;color:var(--sr-how-navy);font-size:clamp(22px,2.1vw,27px);line-height:1.18}
.sr-how-step p{grid-column:2;margin:7px 0 0;max-width:840px;color:#526174;font-size:15.5px;line-height:1.5}
.sr-how-step-arrow{display:none}
.sr-how-meaning{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(310px,.9fr);gap:clamp(35px,6vw,75px);align-items:center;padding:clamp(32px,5vw,58px);border:1px solid #d7e6f8;border-radius:25px;background:linear-gradient(120deg,#edf5ff,#f8fbff)}
.sr-how-meaning>div>p:not(.sr-how-eyebrow){max-width:650px;color:#45566d;font-size:17px;line-height:1.65}
.sr-how-clarification{padding:15px 17px;border-left:4px solid var(--sr-how-blue);border-radius:0 10px 10px 0;background:rgba(255,255,255,.72)}
.sr-how-checklist{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.sr-how-checklist li{position:relative;min-height:48px;padding:13px 15px 13px 50px;border:1px solid #d9e5f3;border-radius:13px;background:#fff;color:#20314b;font-weight:750;box-shadow:0 5px 15px rgba(15,23,42,.035)}
.sr-how-checklist li:before{content:"✓";position:absolute;top:11px;left:14px;display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#dcf7e9;color:#08704b;font-weight:900}
.sr-how-cta{position:relative;overflow:hidden;margin-bottom:10px!important;padding:clamp(40px,6vw,68px);border-radius:27px;background:linear-gradient(125deg,var(--sr-how-navy),#0c3266);color:#fff;text-align:center;box-shadow:0 18px 44px rgba(7,29,61,.15)}
.sr-how-cta:after{right:-130px;top:-195px}
.sr-how-cta>*{position:relative;z-index:1}
.sr-how-cta h2{margin:0;color:#fff;font-size:clamp(34px,4.6vw,54px);line-height:1.08}
.sr-how-actions{display:flex;justify-content:center;gap:13px;margin-top:28px}
.sr-how-actions .sr-button{display:inline-flex;align-items:center;justify-content:center;min-width:155px;min-height:52px;padding:12px 22px}
.sr-how-actions .sr-how-primary{background:#fff;color:var(--sr-how-navy)!important}
.sr-how-actions .sr-how-secondary{border:1px solid rgba(255,255,255,.55);background:transparent;color:#fff!important}
.sr-how-actions .sr-how-secondary:hover{background:rgba(255,255,255,.1)}
.sr-how-it-works a:focus-visible{outline:3px solid #78a7ff;outline-offset:4px}
@media(max-width:800px){
  .sr-how-hero{grid-template-columns:1fr;gap:12px}
  .sr-how-hero-art{min-height:190px;transform:scale(.78)}
  .sr-how-step{grid-template-columns:115px minmax(0,1fr);gap:22px}
  .sr-how-step-icon{width:110px;height:110px}
  .sr-how-meaning{grid-template-columns:1fr}
}
@media(max-width:600px){
  .sr-how-it-works{width:min(100% - 22px,1180px);margin-top:18px;padding-top:0}
  .sr-how-it-works section{margin-bottom:50px}
  .sr-how-hero{min-height:0;padding:32px 22px 28px;border-radius:21px}
  .sr-how-hero h1 br,.sr-how-cta h2 br{display:none}
  .sr-how-hero-art{min-height:170px;margin:2px -18px -4px;transform:scale(.67)}
  .sr-how-step{grid-template-columns:1fr;gap:18px;min-height:0;padding:22px;border-radius:18px}
  .sr-how-step-icon{width:92px;height:92px;border-radius:22px;transform:scale(.88);transform-origin:left top}
  .sr-how-step-body{grid-template-columns:auto minmax(0,1fr)}
  .sr-how-step h3{font-size:23px}
  .sr-how-step p{grid-column:1/-1;margin-top:14px}
  .sr-how-meaning{gap:25px;padding:28px 21px;border-radius:20px}
  .sr-how-meaning>div>p:not(.sr-how-eyebrow){font-size:16px}
  .sr-how-cta{padding:37px 21px;border-radius:21px}
  .sr-how-actions{display:grid;justify-content:stretch}
  .sr-how-actions .sr-button{width:100%;min-height:52px}
}
@media(prefers-reduced-motion:reduce){
  .sr-how-it-works *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* Public homepage — Phase 1 */
body.home #primary{margin-top:0!important}
.sr-homepage{--sr-home-navy:#071d3d;--sr-home-blue:#2f6fed;--sr-home-green:#41c38b;--sr-home-line:#dfe7f1;background:#f8fafc;color:#172033}
.sr-homepage-shell{width:min(100% - 40px,1180px);padding:28px 0 76px}
.sr-homepage section{margin:0 0 clamp(42px,5vw,64px)}
.sr-homepage h1,.sr-homepage h2{letter-spacing:-.04em}
.sr-homepage-audience{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 20px;background:#e8f7ee;color:#164c38;text-align:center}
.sr-homepage-audience p{margin:0;font-size:14px;line-height:1.45}.sr-homepage-audience-icon{display:grid;flex:none;width:25px;height:25px;place-items:center;border-radius:50%;background:#c8ecd8;color:#08704b;font-weight:900}
.sr-homepage-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.22fr) minmax(310px,.78fr);align-items:center;gap:34px;min-height:500px;padding:clamp(44px,6vw,72px);overflow:hidden;border-radius:30px;background:linear-gradient(125deg,var(--sr-home-navy),#0b2c59 70%,#114184);color:#fff;box-shadow:0 20px 48px rgba(7,29,61,.16)}
.sr-homepage-hero:after{content:"";position:absolute;right:-140px;bottom:-230px;width:460px;height:460px;border:1px solid rgba(255,255,255,.1);border-radius:50%}.sr-homepage-hero-copy{position:relative;z-index:2}
.sr-homepage-hero h1{max-width:700px;margin:0;color:#fff;font-size:clamp(42px,5.1vw,65px);line-height:1.02}.sr-homepage-hero-copy>p{max-width:660px;margin:22px 0 0;color:#dce9ff;font-size:clamp(17px,1.65vw,20px);line-height:1.6}
.sr-homepage-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.sr-homepage-search{position:relative;z-index:4;width:min(100% - 56px,990px);margin:-56px auto 54px;padding:23px 26px;border:1px solid var(--sr-home-line);border-radius:18px;background:#fff;box-shadow:0 16px 36px rgba(15,23,42,.12);transition:border-color .16s ease,box-shadow .16s ease}.sr-homepage-search:focus-within{border-color:#78a7ff;box-shadow:0 16px 34px rgba(15,23,42,.15)}.sr-homepage-search>label{display:block;margin:0 0 9px;color:var(--sr-home-navy);font-size:14px;font-weight:800}.sr-homepage-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.sr-homepage-search-row input{width:100%;height:50px;padding:0 16px;border:1px solid #cfd8e5;border-radius:10px;background:#fff;color:#172033}.sr-homepage-search-row .sr-button{min-width:148px;min-height:50px;border-radius:10px}
.sr-homepage-propositions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sr-homepage-proposition{min-width:0;padding:28px;border:1px solid var(--sr-home-line);border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}.sr-homepage-proposition-icon{display:grid;width:52px;height:52px;place-items:center;margin-bottom:20px;border-radius:15px;background:#eaf1ff;color:var(--sr-home-blue)}.sr-homepage-proposition-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sr-homepage-icon-signal{background:#e6f8ef;color:#08704b}.sr-homepage-proposition h2{margin:0 0 11px;color:var(--sr-home-navy);font-size:23px;line-height:1.18}.sr-homepage-proposition p{margin:0;color:#536174;line-height:1.65}
.sr-homepage-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:23px}.sr-homepage-section-head h2{max-width:750px;margin:0;color:var(--sr-home-navy);font-size:clamp(30px,3.4vw,42px);line-height:1.1}.sr-homepage-section-head a,.sr-homepage-explainer>a{flex:none;color:#1f55bc;font-weight:800;text-underline-offset:3px}.sr-homepage-homes .sr-home-grid{gap:20px}.sr-homepage-homes .sr-home-card{border-radius:18px}.sr-homepage-empty{padding:28px;border:1px dashed #bdc9d9;border-radius:18px;background:#fff;text-align:center}.sr-homepage-empty p{margin:5px 0 0;color:#64748b}
.sr-homepage-explainer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;padding:28px 32px;border:1px solid #cfe0f6;border-radius:20px;background:#eaf4ff}.sr-homepage-explainer-icon{display:grid;width:52px;height:52px;place-items:center;border-radius:50%;background:#fff;color:var(--sr-home-blue);font-size:25px;font-weight:900;box-shadow:0 7px 18px rgba(32,87,212,.1)}.sr-homepage-explainer h2{margin:0 0 5px;color:var(--sr-home-navy);font-size:25px}.sr-homepage-explainer p{margin:0;color:#486077;line-height:1.55}
.sr-homepage-final{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:center;gap:32px;min-height:330px;margin-bottom:0!important;padding:clamp(38px,5vw,58px);overflow:hidden;border-radius:26px;background:linear-gradient(125deg,var(--sr-home-navy),#0c3266);color:#fff}.sr-homepage-final h2{max-width:690px;margin:0;color:#fff;font-size:clamp(35px,4.4vw,52px);line-height:1.05}.sr-homepage-final p{max-width:650px;margin:17px 0 0;color:#dce9ff;font-size:18px}.sr-homepage-door{position:relative;justify-self:center;width:124px;height:190px;border:9px solid #78a7ff;border-bottom:0;border-radius:4px 4px 0 0;background:#102e5a;box-shadow:35px 28px 0 rgba(65,195,139,.15)}.sr-homepage-door:before{content:"";position:absolute;right:-9px;bottom:0;width:116px;height:181px;background:#f7fbff;transform:skewY(-7deg);transform-origin:right bottom}.sr-homepage-door span{position:absolute;z-index:2;right:19px;top:90px;width:10px;height:10px;border-radius:50%;background:var(--sr-home-green)}
.sr-homepage .sr-home-card:focus-within{transform:translateY(-3px);border-color:#b9cdf1;box-shadow:0 16px 38px rgba(23,32,51,.11)}
.sr-homepage .sr-home-card:focus-within .sr-home-card-image img{transform:scale(1.02)}
.sr-homepage .sr-card-footer{color:#5f6d80}
.sr-homepage a:focus-visible,.sr-homepage button:focus-visible,.sr-homepage input:focus-visible{outline:3px solid #78a7ff;outline-offset:3px}
@media(min-width:901px) and (max-height:780px){.sr-homepage .sr-homepage-shell{margin-top:12px}.sr-homepage-hero{min-height:0;padding:42px 60px}}
@media(max-width:900px){.sr-homepage-hero{grid-template-columns:1fr;gap:22px;min-height:0;padding:38px 46px 30px}.sr-homepage-hero-art{height:155px;transform:scale(.78)}.sr-homepage-propositions{grid-template-columns:1fr}.sr-homepage-final{grid-template-columns:minmax(0,1fr) 180px}}
@media(max-width:640px){.sr-homepage-shell{width:min(100% - 22px,1180px);padding-top:12px;padding-bottom:44px}.sr-homepage-audience{align-items:flex-start;padding:10px 14px;text-align:left}.sr-homepage-hero{gap:16px;padding:27px 18px 18px;border-radius:21px}.sr-homepage-hero h1{font-size:clamp(35px,10vw,42px)}.sr-homepage-hero h1 br{display:none}.sr-homepage-hero-copy>p{font-size:16px;line-height:1.55}.sr-homepage-actions{display:grid;margin-top:20px}.sr-homepage .sr-homepage-actions .sr-button{width:100%;min-height:50px;text-align:center}.sr-homepage-hero-art{height:110px;transform:scale(.66)}.sr-homepage-search{width:calc(100% - 20px);margin:-26px auto 42px;padding:19px 17px;border-radius:15px}.sr-homepage-search-row{grid-template-columns:1fr}.sr-homepage-search-row .sr-button{width:100%}.sr-homepage-proposition{padding:23px;border-radius:17px}.sr-homepage-section-head{display:block}.sr-homepage-section-head a{display:inline-block;margin-top:13px}.sr-homepage-explainer{grid-template-columns:auto minmax(0,1fr);gap:15px;padding:23px 19px}.sr-homepage-explainer>a{grid-column:1/-1}.sr-homepage-final{grid-template-columns:1fr;padding:34px 21px 0;border-radius:21px}.sr-homepage-door{width:104px;height:135px;border-width:7px;border-bottom:0}.sr-homepage-door:before{right:-7px;width:97px;height:128px}}
@media(prefers-reduced-motion:reduce){.sr-homepage *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Find a Swap: align the native saved-search frequency select with core form controls. */
.sr-save-search select[name="alert_frequency"] {
	appearance: auto;
	width: auto;
	min-width: 132px;
	max-width: 100%;
	height: 44px;
	line-height: 24px;
	padding: 9px 38px 9px 14px;
	border: 1px solid #ccd5e2;
	border-radius: 12px;
	background-color: #fff;
	color: var(--sr-ink);
	font: inherit;
	cursor: pointer;
}

.sr-save-search select[name="alert_frequency"]:focus-visible {
	outline: 3px solid rgba(32, 87, 212, .38);
	outline-offset: 2px;
}

/* Public listing page — Phase 1 approved hierarchy. */
.sr-single-home {
	max-width: 1180px;
	padding: 30px 20px 72px;
	color: #10233f;
}

.sr-single-home .sr-listing-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 28px;
	color: #35506f;
	font-size: .94rem;
	font-weight: 700;
	text-decoration: none;
}

.sr-single-home .sr-listing-back:hover { color: var(--swap-ready-blue); }
.sr-single-home .sr-listing-back:focus-visible,
.sr-single-home button:focus-visible,
.sr-single-home a:focus-visible,
.sr-single-home summary:focus-visible,
.sr-single-home textarea:focus-visible,
.sr-single-home select:focus-visible {
	outline: 3px solid rgba(47, 111, 237, .35);
	outline-offset: 3px;
}

.sr-single-home .sr-page-head {
	align-items: flex-start;
	margin-bottom: 26px;
}

.sr-single-home .sr-listing-heading { min-width: 0; }
.sr-single-home .sr-listing-title-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 13px;
}

.sr-single-home .sr-page-head h1 {
	margin: 0;
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	line-height: 1.08;
}

.sr-single-home .sr-score-pill {
	gap: 6px;
	padding: 8px 12px;
	background: #e8f7ef;
	color: #08744f;
}

.sr-listing-summary {
	margin: 10px 0 0;
	color: #516177;
	font-size: 1.04rem;
}

.sr-listing-status {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 18px;
	margin: 12px 0 0;
	color: #64748b;
	font-size: .9rem;
	font-weight: 700;
}

.sr-listing-status span:first-child::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 7px;
	border-radius: 50%;
	background: #94a3b8;
}

.sr-listing-status.is-active span:first-child { color: #08744f; }
.sr-listing-status.is-active span:first-child::before { background: #1a9b69; }
.sr-listing-save-form { margin: 0; }
.sr-listing-save-top { flex: 0 0 auto; }

.sr-single-home .sr-gallery {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: 10px;
	height: 560px;
	margin-bottom: 24px;
	overflow: hidden;
	border-radius: 18px;
}

.sr-single-home .sr-gallery-photo {
	position: relative;
	min-width: 0;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	background: #e8edf3;
}

.sr-single-home .sr-gallery-photo.is-primary {
	grid-row: 1 / -1;
	grid-column: 1;
}

.sr-single-home .sr-gallery-count-0 {
	height: auto;
	grid-template-columns: 1fr;
	grid-template-rows: 330px;
}
.sr-single-home .sr-gallery-count-1 {
	height: clamp(360px, 46vw, 500px);
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}
.sr-single-home .sr-gallery-count-1 .sr-gallery-photo.is-primary {
	grid-column: 1;
	grid-row: 1;
}
.sr-single-home .sr-gallery-count-2 {
	height: 440px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 1fr;
}
.sr-single-home .sr-gallery-count-2 .sr-gallery-photo.is-primary {
	grid-column: 1;
	grid-row: 1;
}
.sr-single-home .sr-gallery-count-3 {
	grid-template-rows: repeat(2, minmax(0, 1fr));
}

.sr-single-home .sr-gallery img,
.sr-single-home .sr-gallery > :first-child img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: none;
	object-fit: cover;
}

.sr-gallery-caption {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 5px 8px;
	border-radius: 7px;
	background: rgba(7, 29, 61, .78);
	color: #fff;
	font-size: .72rem;
	font-weight: 750;
}

.sr-single-home .sr-image-placeholder {
	grid-column: 1 / -1;
	grid-row: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 330px;
	border: 1px dashed #c7d1de;
	border-radius: 18px;
	background: #f4f6f8;
	color: #64748b;
}
.sr-single-home .sr-image-placeholder > span { font-size: 2.6rem; color: #9aa8ba; }

.sr-single-home .sr-panel {
	margin-bottom: 22px;
	padding: 28px 30px;
	border-color: #e2e7ee;
	border-radius: 18px;
	box-shadow: 0 5px 18px rgba(17, 35, 62, .035);
}
.sr-single-home .sr-panel h2 { margin-bottom: 20px; font-size: 1.52rem; }

.sr-single-home .sr-at-a-glance .sr-details {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
}
.sr-single-home .sr-at-a-glance .sr-details > div {
	min-width: 0;
	padding: 12px 20px;
	border: 0;
	border-right: 1px solid #e8ecf1;
	border-bottom: 1px solid #e8ecf1;
}
.sr-single-home .sr-at-a-glance .sr-details > div:nth-child(4n) { border-right: 0; }
.sr-single-home .sr-at-a-glance .sr-details .sr-fact-wide { grid-column: span 2; }
.sr-single-home .sr-at-a-glance dt { font-size: .77rem; text-transform: uppercase; letter-spacing: .05em; }
.sr-single-home .sr-at-a-glance dd { display: flex; align-items: flex-start; gap: 9px; overflow-wrap: anywhere; }
.sr-single-home .sr-at-a-glance dd > span { flex: 0 0 20px; color: #2f6fed; text-align: center; }

.sr-single-home .sr-match-panel { border-color: #cfddf3; background: #f4f8ff; }
.sr-match-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.sr-section-kicker { margin: 0 0 5px; color: #46678d; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sr-match-score-block { flex: 0 0 auto; display: grid; justify-items: end; color: #123465; }
.sr-match-score-block strong { font-size: 3.25rem; line-height: .9; letter-spacing: -.05em; }
.sr-match-score-block span { margin-top: 6px; color: #526b8d; font-size: .84rem; font-weight: 700; }
.sr-match-score-block em { margin-top: 9px; padding: 5px 9px; border-radius: 999px; background: #fff3d6; color: #8a5800; font-size: .75rem; font-style: normal; font-weight: 800; }
.sr-match-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.sr-match-direction { padding: 20px; border: 1px solid #dce5f1; border-radius: 14px; background: #fff; }
.sr-single-home .sr-match-direction h3 { margin: 0 0 15px; color: #15385f; font-size: 1rem; }
.sr-match-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.sr-match-list li { display: grid; grid-template-columns: 27px 1fr; align-items: start; gap: 8px; padding: 9px 10px; border-radius: 9px; }
.sr-match-list li > span:first-child { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 900; }
.sr-match-list li strong, .sr-match-list li small { display: block; }
.sr-match-list li strong { color: #253d59; font-size: .88rem; }
.sr-match-list li small { margin-top: 2px; color: #65768a; font-size: .72rem; }
.sr-match-list .is-positive { background: #eef9f3; }
.sr-match-list .is-positive > span:first-child { background: #d7f1e3; color: #08744f; }
.sr-match-list .is-warning { background: #fff8e8; }
.sr-match-list .is-warning > span:first-child { background: #ffedc2; color: #966000; }
.sr-match-empty { margin: 8px 0 22px; padding: 16px; border-radius: 11px; background: #fff; color: #526b8d; }
.sr-wanted-summary { margin-top: 20px; padding-top: 20px; border-top: 1px solid #d8e3f1; }
.sr-single-home .sr-wanted-summary h3 { margin: 0 0 12px; }
.sr-wanted-summary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.sr-wanted-summary dl > div { padding: 12px; border-radius: 10px; background: rgba(255,255,255,.72); }
.sr-wanted-summary dt { margin-bottom: 4px; color: #5f7187; font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.sr-wanted-summary dd { margin: 0; color: #263f5c; font-size: .88rem; font-weight: 650; overflow-wrap: anywhere; }

.sr-single-home .sr-additional-info p { margin: 0; color: #43566d; }
.sr-single-home .sr-actions-panel { position: static; padding: 34px; border-color: #d8e1ed; box-shadow: 0 10px 30px rgba(17,35,62,.07); }
.sr-single-home .sr-actions-panel h2 { margin-bottom: 8px; font-size: 1.65rem; }
.sr-single-home .sr-actions-panel > p { max-width: 650px; color: #53667c; }
.sr-single-home .sr-interest-form { margin-top: 20px; }
.sr-single-home .sr-interest-form label { display: block; margin-bottom: 7px; color: #263f5c; font-weight: 750; }
.sr-single-home .sr-interest-form textarea { min-height: 120px; margin: 0 0 14px; border-color: #c9d3df; border-radius: 10px; }
.sr-interest-actions { display: flex; align-items: stretch; gap: 12px; }
.sr-interest-actions > .sr-button { min-width: 210px; }
.sr-interest-actions .sr-listing-save { height: 100%; }
.sr-single-home .sr-report { max-width: 620px; margin: 15px 0 0; color: #6b7788; }
.sr-single-home .sr-report summary { display: inline-flex; gap: 7px; padding: 9px 0; }
.sr-single-home .sr-report form { padding: 18px; border: 1px solid #e1e6ec; border-radius: 12px; background: #fff; }
.sr-single-home .sr-report label { display: block; margin: 10px 0 5px; font-weight: 700; }

@media (max-width: 900px) {
	.sr-single-home .sr-gallery-count-3,
	.sr-single-home .sr-gallery-count-4 { grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); }
	.sr-single-home .sr-at-a-glance .sr-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sr-single-home .sr-at-a-glance .sr-details > div:nth-child(4n) { border-right: 1px solid #e8ecf1; }
	.sr-single-home .sr-at-a-glance .sr-details > div:nth-child(2n) { border-right: 0; }
	.sr-wanted-summary dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.sr-single-home { padding: 22px 14px 55px; }
	.sr-single-home .sr-listing-back { margin-bottom: 22px; }
	.sr-single-home .sr-page-head { flex-direction: column; gap: 18px; margin-bottom: 22px; }
	.sr-single-home .sr-listing-title-row { align-items: flex-start; }
	.sr-single-home .sr-page-head h1 { max-width: 100%; font-size: 2.15rem; overflow-wrap: anywhere; }
	.sr-listing-save-top, .sr-listing-save-top .sr-listing-save { width: 100%; }
	.sr-single-home .sr-gallery-count-1,
	.sr-single-home .sr-gallery-count-2,
	.sr-single-home .sr-gallery-count-3,
	.sr-single-home .sr-gallery-count-4 {
		height: auto;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: 230px 120px;
		gap: 7px;
		border-radius: 15px;
	}
	.sr-single-home .sr-gallery-photo.is-primary,
	.sr-single-home .sr-gallery-count-1 .sr-gallery-photo.is-primary,
	.sr-single-home .sr-gallery-count-2 .sr-gallery-photo.is-primary {
		grid-column: 1 / -1;
		grid-row: 1;
	}
	.sr-single-home .sr-gallery-count-1 { grid-template-rows: 280px; }
	.sr-single-home .sr-gallery-count-2 { grid-template-rows: 230px 130px; }
	.sr-single-home .sr-gallery-count-2 .sr-gallery-photo:not(.is-primary) { grid-column: 1 / -1; }
	.sr-single-home .sr-gallery-count-4 { grid-template-rows: 230px 120px 120px; }
	.sr-single-home .sr-gallery-photo { border-radius: 8px; }
	.sr-gallery-caption { font-size: .66rem; }
	.sr-single-home .sr-image-placeholder { min-height: 260px; }
	.sr-single-home .sr-panel { padding: 22px 18px; border-radius: 15px; }
	.sr-single-home .sr-at-a-glance .sr-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sr-single-home .sr-at-a-glance .sr-details > div { padding: 12px 10px; }
	.sr-single-home .sr-at-a-glance dd { font-size: .9rem; }
	.sr-match-heading { display: block; }
	.sr-match-score-block { justify-items: start; margin: 8px 0 20px; }
	.sr-match-score-block strong { font-size: 3rem; }
	.sr-match-comparison { grid-template-columns: 1fr; }
	.sr-wanted-summary dl { grid-template-columns: 1fr; }
	.sr-interest-actions { flex-direction: column; }
	.sr-interest-actions .sr-button,
	.sr-interest-actions .sr-listing-save-form,
	.sr-interest-actions .sr-listing-save { width: 100%; }
}

.sr-inbox-list { display: grid; gap: 12px; max-width: 900px; }
.sr-inbox-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid #dbe3ee; border-radius: 15px; background: #fff; color: #172033; text-decoration: none; box-shadow: 0 5px 18px rgba(15,23,42,.045); }
.sr-inbox-row:hover { border-color: #2f6fed; background: #f8faff; }
.sr-inbox-row-main { display: grid; gap: 5px; min-width: 0; }
.sr-inbox-row-main > strong { font-size: 17px; }
.sr-inbox-row-main > em { width: fit-content; padding: 4px 7px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: 11px; font-style: normal; font-weight: 750; }
.sr-inbox-row-main > span { overflow: hidden; color: #64748b; text-overflow: ellipsis; white-space: nowrap; }
.sr-inbox-row-meta { display: grid; justify-items: end; gap: 7px; color: #64748b; font-size: 12px; }
.sr-inbox-row-meta b { padding: 5px 8px; border-radius: 999px; background: #e8f0ff; color: #1f55bc; font-size: 11px; }
.sr-inbox-row-arrow { font-weight: 800; }
.sr-inbox-empty { max-width: 760px; }
.sr-conversation-safety { margin: 12px 0 22px; padding: 12px 0; border-top: 1px solid #e4e9f0; border-bottom: 1px solid #e4e9f0; }
.sr-conversation-safety-actions { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.sr-conversation-safety details { position: relative; margin: 0; color: #64748b; }
.sr-conversation-safety summary { min-height: 40px; padding: 9px 0; color: #526274; font-size: 13px; font-weight: 750; cursor: pointer; }
.sr-conversation-safety summary:hover { color: #173f83; }
.sr-conversation-safety summary:focus-visible,
.sr-safety-form-actions a:focus-visible { outline: 3px solid rgba(47,111,237,.35); outline-offset: 3px; border-radius: 4px; }
.sr-safety-confirm { width: min(560px, calc(100vw - 64px)); margin-top: 8px; padding: 18px; border: 1px solid #dbe3ee; border-radius: 13px; background: #f9fbfd; color: #334155; }
.sr-safety-confirm h3 { margin: 0 0 7px; font-size: 18px; }
.sr-safety-confirm p { margin: 0 0 14px; }
.sr-safety-confirm .sr-form label { display: block; margin-top: 12px; }
.sr-safety-form-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.sr-safety-form-actions a { color: #526274; font-size: 13px; font-weight: 750; }
.sr-button-danger { background: #a12a2a; }

@media (max-width: 600px) {
	.sr-inbox-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 16px; }
	.sr-inbox-row-meta { grid-column: 1; grid-row: 2; justify-items: start; }
	.sr-inbox-row-arrow { grid-column: 2; grid-row: 1 / 3; }
	.sr-conversation-safety-actions { display: grid; gap: 4px; }
	.sr-safety-confirm { width: 100%; padding: 16px; }
	.sr-safety-form-actions { align-items: stretch; flex-direction: column; }
	.sr-safety-form-actions .sr-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.sr-single-home *, .sr-single-home *::before, .sr-single-home *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Phase H: coordinated member-facing UX and responsive system. */
:root {
	--sr-h-muted: #5f6d80;
	--sr-h-line: #dce3ed;
	--sr-h-soft: #f7f9fc;
	--sr-h-blue: #2057d4;
	--sr-h-blue-dark: #1746ad;
	--sr-h-success: #087a55;
	--sr-h-warning: #9a6200;
	--sr-h-danger: #a12622;
	--sr-h-radius: 16px;
	--sr-h-shadow: 0 8px 26px rgba(15,23,42,.055);
}

.sr-shell { width: min(1180px,calc(100% - 40px)); margin-block: clamp(32px,5vw,56px); }
.sr-shell > h1 { margin: 0 0 10px; font-size: clamp(2.15rem,4vw,3rem); line-height: 1.08; }
.sr-shell > h1 + p { max-width: 760px; color: var(--sr-h-muted); font-size: 1.075rem; line-height: 1.65; }
.sr-shell > h2 { margin: clamp(32px,5vw,48px) 0 14px; font-size: clamp(1.45rem,2.4vw,1.9rem); }

.sr-panel, .sr-dashboard-card, .sr-interest-state, .sr-review-card, .sr-photo-card {
	border-color: var(--sr-h-line);
	box-shadow: var(--sr-h-shadow);
}
.sr-panel { padding: clamp(20px,3vw,30px); border-radius: var(--sr-h-radius); }
.sr-panel > h2:first-child, .sr-panel > h3:first-child { margin-top: 0; }
.sr-panel p:last-child { margin-bottom: 0; }
.ast-mobile-header-wrap .menu-toggle { min-width: 44px; min-height: 44px; }
.sr-shell #wp-submit { min-height: 44px; }

.sr-button, .sr-link-button, .sr-view-toggle button, .sr-save-button {
	min-height: 44px;
	transition: background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.sr-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.2; }
.sr-button:hover { background: var(--sr-h-blue-dark); transform: translateY(-1px); }
.sr-button-secondary { border: 1px solid #bfd0f2; background: #eef3ff; color: var(--sr-h-blue)!important; box-shadow: none; }
.sr-button-secondary:hover { border-color: #9ab4e8; background: #e3ecff; color: #173f96!important; }
.sr-button-danger { border: 2px solid #861c19; background: var(--sr-h-danger); }
.sr-link-button { padding: 9px 4px; border: 0; background: transparent; color: var(--sr-h-blue); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sr-form input:focus-visible, .sr-form select:focus-visible, .sr-form textarea:focus-visible,
.sr-panel input:focus-visible, .sr-panel select:focus-visible, .sr-panel textarea:focus-visible {
	outline: 3px solid #1746ad!important;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.sr-shell *, .sr-shell *::before, .sr-shell *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

.sr-form label, .sr-panel label { line-height: 1.4; }
.sr-form input, .sr-form select, .sr-form textarea, .sr-panel input, .sr-panel select, .sr-panel textarea {
	min-height: 46px;
	border-color: #bec9d8;
	background: #fff;
	line-height: 1.4;
}
.sr-form textarea, .sr-panel textarea { min-height: 120px; resize: vertical; }
.sr-field-help, .sr-small, .sr-muted { color: var(--sr-h-muted); line-height: 1.55; }
.sr-inline-form { row-gap: 12px; }
.sr-inline-form label { min-width: 150px; }
.sr-inline-form input, .sr-inline-form select { min-height: 44px; }

.sr-notice { border: 1px solid transparent; border-left-width: 5px; padding: 16px 18px; line-height: 1.55; }
.sr-notice-success { border-color: #9bcdb5; border-left-color: var(--sr-h-success); background: #effaf5; color: #07583c; }
.sr-notice-info { border-color: #b9cdf1; border-left-color: var(--sr-h-blue); background: #f2f6fd; color: #173f83; }
.sr-notice-warning { border-color: #e4c27b; border-left-color: var(--sr-h-warning); background: #fff9ea; color: #684700; }

.sr-empty-state { padding: clamp(30px,7vw,56px); border-color: #bfcbd9; background: var(--sr-h-soft); }
.sr-empty-state h2, .sr-empty-state h3 { margin: 0 0 8px; }
.sr-empty-state p { max-width: 580px; margin: 0 auto 20px; color: var(--sr-h-muted); line-height: 1.6; }
.sr-empty-state-compact { padding: 28px; }
.sr-saved-search-card { max-width: 760px; }

.sr-results-head { gap: 18px; }
.sr-view-toggle button { min-width: 72px; padding: 9px 14px; }
.sr-search-badges summary { min-height: 44px; display: flex; align-items: center; }
.sr-check { display: flex; align-items: flex-start; gap: 9px; min-height: 44px; padding-block: 9px; }
.sr-check input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--sr-h-blue); }
.sr-save-button { min-width: 44px; }

.sr-photo-status { max-width: 48%; line-height: 1.35; }
.sr-photo-review-approved, .sr-photo-review-pending, .sr-photo-review-needs_replacement { font-weight: 800; }
.sr-photo-review-pending { color: #765800; }
.sr-photo-review-needs_replacement { color: #941f1b; }
.sr-photo-error:empty { min-height: 0; margin: 0; }

.sr-dashboard-grid > * { min-width: 0; }
.sr-dashboard-card p { line-height: 1.6; }
.sr-dashboard-activity-links a, .sr-dashboard-task-list a { min-height: 56px; }
.sr-dashboard-membership { background: #fbfcfe; }
.sr-account > .sr-panel { scroll-margin-top: 24px; }
.sr-account > .sr-panel + .sr-panel { margin-top: 28px; }
.sr-account .sr-form { max-width: 760px; }

.sr-inbox-row:focus-visible { outline: 3px solid rgba(32,87,212,.34); outline-offset: 3px; }
.sr-thread { display: grid; gap: 12px; margin: 20px 0; padding: clamp(16px,3vw,24px); border: 1px solid var(--sr-h-line); border-radius: var(--sr-h-radius); background: var(--sr-h-soft); }
.sr-message { max-width: min(78%,680px); padding: 12px 15px; border: 1px solid var(--sr-h-line); border-radius: 14px 14px 14px 4px; background: #fff; }
.sr-message.is-mine { justify-self: end; border-color: #b9cdf1; border-radius: 14px 14px 4px 14px; background: #eef4ff; }
.sr-message p { margin: 0 0 5px; overflow-wrap: anywhere; }
.sr-message small { color: var(--sr-h-muted); }

@media (max-width: 700px) {
	.sr-shell { width: min(100% - 28px,1180px); margin-block: 30px; }
	.sr-page-head { flex-direction: column; gap: 14px; }
	.sr-panel { margin-block: 18px; }
	.sr-results-head { align-items: flex-start; flex-direction: column; }
	.sr-view-toggle { width: 100%; }
	.sr-view-toggle button { flex: 1; }
	.sr-inline-form { align-items: stretch; flex-direction: column; }
	.sr-inline-form > *, .sr-inline-form label, .sr-inline-form .sr-button { width: 100%; }
	.sr-photo-card-head { display: grid; }
	.sr-photo-status { max-width: none; text-align: left; }
	.sr-message { max-width: 90%; }
	.sr-dashboard-card-head { display: grid; }
	.sr-dashboard-card-status { width: max-content; }
}

@media (max-width: 480px) {
	.sr-shell { width: min(100% - 22px,1180px); }
	.sr-panel, .sr-dashboard-card { padding: 18px; border-radius: 14px; }
	.sr-next-task { grid-template-columns: minmax(0,1fr) auto; }
	.sr-next-task > span:last-child { display: none; }
	.sr-card-footer { align-items: flex-start; flex-direction: column; font-size: 12px; }
	.sr-dashboard-home-body { grid-template-columns: 1fr; }
	.sr-dashboard-home-photo { max-width: 100%; }
	.sr-privacy-actions, .sr-privacy-actions form, .sr-privacy-actions button { width: 100%; }
	.sr-message { max-width: 96%; }
}

/* CX-4: restrained reciprocal compatibility and private preference controls. */
.sr-match-explanation { margin-top: 14px; padding-top: 13px; border-top: 1px solid #e2e8f0; }
.sr-match-explanation h4 { margin: 8px 0 5px; font-size: .92rem; }
.sr-match-explanation ul, .sr-match-reasons { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.sr-match-explanation li, .sr-match-reasons li { color: #28445f; font-size: .88rem; }
.sr-match-explanation li span, .sr-match-reasons li span { color: #08744f; font-weight: 900; }
.sr-match-classification { flex: none; padding: 7px 11px; border-radius: 999px; background: #e5f6ed; color: #086342; }
.sr-not-for-me-form { margin-top: 8px; }
.sr-not-for-me-detail { margin: -8px 0 28px; text-align: center; }
.sr-inline-undo { display: inline; margin-left: 7px; }
.sr-inline-undo .sr-link-button { padding-block: 2px; }
.sr-context-link { display: inline-block; margin-top: 7px; }
.sr-hidden-home { min-height: 0; }
.sr-marketplace-count { margin: 7px 0 0; color: #3b5876; font-size: 1.05rem; font-weight: 750; }
.sr-card-compatibility { margin: 12px 0 0; color: #086342; }
.sr-clear-filters { align-self: center; color: #315a88; font-weight: 750; text-underline-offset: 3px; }
.sr-map-page-note { margin: 0 0 10px; color: #526b8d; font-size: .88rem; }
.sr-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin: 28px 0; }
.sr-pagination a, .sr-pagination > span { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: 7px 10px; border: 1px solid #cbd7e5; border-radius: 9px; background: #fff; color: #214d7a; font-weight: 750; text-decoration: none; }
.sr-pagination a.is-current { border-color: #174f99; background: #174f99; color: #fff; }
.sr-pagination a.is-disabled { color: #8795a5; pointer-events: none; }
.sr-pagination .sr-page-prev, .sr-pagination .sr-page-next { min-width: 88px; }
@media (max-width: 480px) {
	.sr-match-heading { display: grid; gap: 10px; }
	.sr-match-classification { width: max-content; max-width: 100%; }
	.sr-inline-undo { display: block; margin: 7px 0 0; }
	.sr-pagination { gap: 5px; }
	.sr-pagination a, .sr-pagination > span { min-width: 38px; min-height: 40px; padding: 5px 8px; }
	.sr-pagination .sr-page-prev, .sr-pagination .sr-page-next { min-width: 76px; }
}

/* Homepage visual polish — discovery, hierarchy, and component cohesion. */
.sr-homepage {
	--sr-home-surface: #f2f6fb;
	--sr-home-border: #d9e3ef;
	--sr-home-shadow: 0 12px 34px rgba(15, 35, 64, .08);
}

.sr-homepage-hero {
	background:
		radial-gradient(circle at 79% 38%, rgba(78, 132, 235, .2), transparent 31%),
		linear-gradient(125deg, var(--sr-home-navy), #0b2c59 70%, #114184);
}
.sr-homepage-hero-copy > p { max-width: 620px; }
.sr-homepage-actions { align-items: center; gap: 14px; }
.sr-homepage .sr-homepage-actions .sr-button {
	transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sr-homepage-search {
	width: min(100% - 56px, 1040px);
	padding: 20px 22px;
	border-color: #d6e0ec;
	border-radius: 20px;
	box-shadow: 0 18px 42px rgba(15, 35, 64, .14);
}
.sr-homepage-search:focus-within {
	border-color: #78a7ff;
	box-shadow: 0 20px 44px rgba(15, 35, 64, .17);
}
.sr-homepage-search > label { margin-bottom: 8px; color: #102f57; letter-spacing: -.01em; }
.sr-homepage-search-row { gap: 12px; }
.sr-homepage-search-row input {
	height: 56px;
	padding-inline: 17px;
	border-color: #c7d3e2;
	border-radius: 12px;
	background: #fbfcfe;
	font-size: 16px;
	transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.sr-homepage-search-row input:hover { border-color: #aebdd0; background: #fff; }
.sr-homepage-search-row .sr-button { min-width: 164px; min-height: 56px; border-radius: 12px; }

.sr-homepage-propositions { gap: 22px; }
.sr-homepage-proposition {
	border-color: #dbe4ef;
	box-shadow: 0 7px 22px rgba(15, 35, 64, .045);
}
.sr-homepage-proposition-icon { margin-bottom: 18px; }

.sr-homepage-homes {
	padding: clamp(24px, 2.8vw, 34px);
	border: 1px solid #e0e8f2;
	border-radius: 27px;
	background: linear-gradient(180deg, #f3f7fb 0%, #eef4fa 100%);
}
.sr-homepage .sr-homepage-section-head { margin-bottom: 26px; }
.sr-homepage .sr-home-grid { align-items: stretch; gap: 22px; }
.sr-homepage .sr-home-card {
	height: 100%;
	border-color: var(--sr-home-border);
	border-radius: 20px;
	box-shadow: var(--sr-home-shadow);
	transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}
.sr-homepage .sr-home-card-media,
.sr-homepage .sr-home-card-image { aspect-ratio: 16 / 10; }
.sr-homepage .sr-home-card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: 19px 19px 0 0;
	box-shadow: inset 0 0 0 1px rgba(7, 29, 61, .08);
	pointer-events: none;
}
.sr-homepage .sr-home-card-image img { transition: transform .2s ease; }
.sr-homepage .sr-home-card:hover,
.sr-homepage .sr-home-card:focus-within {
	transform: translateY(-4px);
	border-color: #bdcde0;
	box-shadow: 0 18px 42px rgba(15, 35, 64, .13);
}
.sr-homepage .sr-home-card:hover .sr-home-card-image img,
.sr-homepage .sr-home-card:focus-within .sr-home-card-image img { transform: scale(1.035); }
.sr-homepage .sr-home-card-body { display: flex; min-height: 255px; flex-direction: column; padding: 20px 20px 18px; }
.sr-homepage .sr-home-card-body h3 { margin: 0 0 8px; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.sr-homepage .sr-home-card-body h3 a { text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.sr-homepage .sr-home-card-body h3 a:hover,
.sr-homepage .sr-home-card-body h3 a:focus-visible { text-decoration: underline; }
.sr-homepage .sr-home-facts { gap: 6px 8px; margin-bottom: 14px; color: #536174; font-size: .94rem; }
.sr-homepage .sr-home-facts strong { color: #172033; font-weight: 800; }
.sr-homepage .sr-chip-row { gap: 7px; margin: 0 0 16px; }
.sr-homepage .sr-chip {
	padding: 6px 9px;
	border: 1px solid #dfe7f0;
	border-radius: 9px;
	background: #f2f5f9;
	color: #405169;
	font-size: 12px;
	font-weight: 700;
}
.sr-homepage .sr-home-activity { margin: auto 0 0; }
.sr-homepage .sr-home-activity strong {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 30px;
	padding: 5px 10px;
	border: 1px solid #bfe3d1;
	border-radius: 999px;
	background: #edf9f3;
	color: #086544;
	font-size: 12px;
	font-weight: 800;
}
.sr-homepage .sr-card-footer {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 8px 12px;
	margin-top: 14px;
	padding-top: 13px;
	border-color: #e5ebf2;
	color: #5f6d80;
	font-size: 12px;
}
.sr-homepage .sr-card-footer > span:last-child { justify-self: end; text-align: right; }
.sr-homepage .sr-active { color: #31516a !important; font-weight: 750; }
.sr-homepage .sr-active i { width: 8px; height: 8px; background: #0b8a5f; }

.sr-homepage-section-head a,
.sr-homepage-explainer > a {
	display: inline-flex;
	align-items: center;
	transition: color .15s ease, transform .15s ease;
}
.sr-homepage-section-head a:hover,
.sr-homepage-section-head a:focus-visible,
.sr-homepage-explainer > a:hover,
.sr-homepage-explainer > a:focus-visible { color: #1746ad; transform: translateX(3px); }

@media (max-width: 900px) {
	.sr-homepage-homes { padding: 24px; }
	.sr-homepage .sr-home-card-body { min-height: 250px; }
}

@media (max-width: 640px) {
	.sr-homepage section { margin-bottom: 38px; }
	.sr-homepage-search { width: calc(100% - 12px); padding: 17px 15px; border-radius: 17px; }
	.sr-homepage-search-row { gap: 10px; }
	.sr-homepage-search-row input,
	.sr-homepage-search-row .sr-button { min-height: 54px; height: 54px; }
	.sr-homepage-homes { padding: 18px 16px 20px; border-radius: 21px; }
	.sr-homepage .sr-homepage-section-head { margin-bottom: 22px; }
	.sr-homepage .sr-homepage-section-head h2 { font-size: 29px; }
	.sr-homepage .sr-home-card-media,
	.sr-homepage .sr-home-card-image { aspect-ratio: 4 / 3; }
	.sr-homepage .sr-home-card-body { min-height: 0; padding: 18px 17px 16px; }
	.sr-homepage .sr-home-card-body h3 { font-size: 22px; }
	.sr-homepage .sr-card-footer { grid-template-columns: 1fr; }
	.sr-homepage .sr-card-footer > span:last-child { justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.sr-homepage .sr-home-card,
	.sr-homepage .sr-home-card-image img,
	.sr-homepage-search,
	.sr-homepage-search-row input,
	.sr-homepage .sr-button,
	.sr-homepage-section-head a,
	.sr-homepage-explainer > a { transition: none !important; transform: none !important; }
}

/* M2A: direction-safe foundations for future Arabic and Urdu interfaces. */
.sr-member-swap-ready .site-title a::after,
.sr-footer-brand-tick { margin-inline-start: .28em; margin-inline-end: 0; }

#masthead #ast-desktop-header .main-header-menu .sub-menu .current-menu-item > .menu-link,
#masthead #ast-desktop-header .main-header-menu .sub-menu .current_page_item > .menu-link {
	box-shadow: inset 3px 0 0 #78a7ff;
}

#masthead .main-header-menu .menu-item-has-children.sr-nav-open > .sub-menu {
	inset-inline-start: 0;
	inset-inline-end: auto;
}

.sr-save-form,
.sr-photo-count,
.sr-gallery-caption,
.sr-dashboard-verification-dismiss { inset-inline-end: 14px; left: auto; right: auto; }
.sr-save-form { inset-inline-end: 16px; }
.sr-dashboard-verification-dismiss { inset-inline-end: 10px; }
.sr-badge-primary { inset-inline-start: 14px; left: auto; right: auto; }
.sr-listing-status span:first-child::before { margin-inline-end: 7px; margin-inline-start: 0; }
.sr-dashboard-verification:has(.sr-dashboard-verification-dismiss) .sr-dashboard-card-head {
	padding-inline-end: 34px;
}
.sr-dashboard-membership,
.sr-photo-status,
.sr-homepage .sr-card-footer > span:last-child { text-align: end; }
.sr-inline-undo { margin-inline-start: 7px; margin-inline-end: 0; }

.sr-notice {
	border-left-width: 1px;
	border-inline-start-width: 5px;
}
.sr-notice-success { border-left-color: #9bcdb5; border-inline-start-color: var(--sr-h-success); }
.sr-notice-info { border-left-color: #b9cdf1; border-inline-start-color: var(--sr-h-blue); }
.sr-notice-warning { border-left-color: #e4c27b; border-inline-start-color: var(--sr-h-warning); }
.sr-status-card {
	border-left-width: 1px;
	border-inline-start: 4px solid #6b778a;
}
.sr-status-card.is-earned { border-left-color: var(--sr-line); border-inline-start-color: var(--sr-green); }
.sr-status-card.needs-attention { border-left-color: var(--sr-line); border-inline-start-color: #c67a08; }
.sr-publish-summary,
.sr-swap-ready-state ul { padding-inline-start: 20px; padding-inline-end: 0; }

.sr-directional-link > span[aria-hidden="true"],
.sr-inbox-row-arrow,
.sr-dashboard-task-list a > span:last-child,
.sr-dashboard-activity-links a > span:last-child,
.sr-next-task > span:last-child,
.sr-homepage-section-head a > span:last-child,
.sr-homepage-explainer > a > span:last-child,
.sr-how-step-arrow { display: inline-block; }

/* Preserve the natural reading direction of common LTR data inside an RTL shell. */
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="url"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="number"],
[dir="rtl"] input[type="date"],
[dir="rtl"] input[type="time"],
[dir="rtl"] .sr-price,
[dir="rtl"] .sr-photo-filename,
[dir="rtl"] time { direction: ltr; unicode-bidi: isolate; text-align: start; }

[dir="rtl"] .sr-shell,
[dir="rtl"] .sr-homepage { text-align: start; }
[dir="rtl"] #masthead #ast-desktop-header .main-header-menu .sub-menu { text-align: start; }
[dir="rtl"] #masthead #ast-desktop-header .main-header-menu .sub-menu .current-menu-item > .menu-link,
[dir="rtl"] #masthead #ast-desktop-header .main-header-menu .sub-menu .current_page_item > .menu-link {
	box-shadow: inset -3px 0 0 #78a7ff;
}
[dir="rtl"] #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile .main-header-menu .current-menu-item > .menu-link,
[dir="rtl"] #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile .main-header-menu .current_page_item > .menu-link {
	border-left: 0;
	border-inline-start: 3px solid #78a7ff;
}
[dir="rtl"] #ast-mobile-header .ast-builder-menu-mobile .main-header-menu .sub-menu .menu-link {
	padding-left: 20px;
	padding-inline-start: 36px;
}
[dir="rtl"] .sr-search-field { border-right: 0; border-inline-end: 1px solid var(--sr-line); }
[dir="rtl"] .sr-search-button { margin-left: 0; margin-inline-start: 8px; }
[dir="rtl"] .sr-active i { margin-right: 0; margin-inline-end: 4px; }
[dir="rtl"] .sr-preference-row > legend { float: right; }
[dir="rtl"] .sr-review-actions { justify-content: flex-end; }
[dir="rtl"] .sr-message { justify-self: start; border-radius: 14px 14px 4px 14px; }
[dir="rtl"] .sr-message.is-mine { justify-self: end; border-radius: 14px 14px 14px 4px; }
[dir="rtl"] .sr-directional-link > span[aria-hidden="true"],
[dir="rtl"] .sr-inbox-row-arrow,
[dir="rtl"] .sr-dashboard-task-list a > span:last-child,
[dir="rtl"] .sr-dashboard-activity-links a > span:last-child,
[dir="rtl"] .sr-next-task > span:last-child,
[dir="rtl"] .sr-homepage-section-head a > span:last-child,
[dir="rtl"] .sr-homepage-explainer > a > span:last-child,
[dir="rtl"] .sr-how-step-arrow { transform: scaleX(-1); }
[dir="rtl"] .sr-homepage-section-head a:hover,
[dir="rtl"] .sr-homepage-section-head a:focus-visible,
[dir="rtl"] .sr-homepage-explainer > a:hover,
[dir="rtl"] .sr-homepage-explainer > a:focus-visible { transform: translateX(-3px); }

@media (max-width: 900px) {
	[dir="rtl"] .sr-search-field { border-inline-end: 0; }
	[dir="rtl"] .sr-search-button { margin: 8px; }
}

@media (max-width: 700px) {
	.sr-photo-status { text-align: start; }
}

@media (max-width: 640px) {
	.sr-homepage .sr-card-footer > span:last-child { text-align: start; }
}

/* SD1 — shared action tokens. Only explicit Swap Ready controls participate. */
:root {
	--sr-action-green: #087a55;
	--sr-action-green-hover: #066444;
	--sr-action-navy: #102f57;
	--sr-action-navy-hover: #1b426f;
	--sr-action-radius: 11px;
	--sr-action-height: 48px;
	--sr-action-padding: 20px;
	--sr-action-duration: 170ms;
	--sr-action-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body :where(.sr-button, .sr-link-button, .sr-view-toggle button, .sr-save-button) {
	--sr-action-bg: var(--sr-action-green);
	--sr-action-hover: var(--sr-action-green-hover);
	--sr-action-fg: #fff;
	--sr-action-border: transparent;
}
body .sr-button,
body :is(.sr-homepage, .sr-dashboard, .sr-how-actions) .sr-button,
body .sr-link-button,
body .sr-view-toggle button,
body .sr-save-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: var(--sr-action-height);
	max-width: 100%;
	padding: 12px var(--sr-action-padding);
	border: 1px solid var(--sr-action-border);
	border-radius: var(--sr-action-radius);
	background: var(--sr-action-bg);
	color: var(--sr-action-fg) !important;
	font-weight: 750;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	box-shadow: 0 3px 8px rgba(7,29,61,.10);
	cursor: pointer;
	transition: background-color var(--sr-action-duration) ease, border-color var(--sr-action-duration) ease, box-shadow var(--sr-action-duration) ease, transform var(--sr-action-duration) ease;
}
body .sr-button-secondary,
body :is(.sr-homepage, .sr-how-actions) :is(.sr-homepage-secondary, .sr-how-secondary) {
	--sr-action-bg: var(--sr-action-navy);
	--sr-action-hover: var(--sr-action-navy-hover);
	--sr-action-border: #9cb4d1;
	box-shadow: none;
}
body .sr-button-danger {
	--sr-action-bg: #a12622;
	--sr-action-hover: #831d1a;
	--sr-action-border: #831d1a;
}
body .sr-button-quiet,
body .sr-link-button,
body .sr-view-toggle button,
body .sr-save-button {
	--sr-action-bg: #fff;
	--sr-action-hover: #edf3fa;
	--sr-action-fg: #102f57;
	--sr-action-border: #c2cfdf;
	box-shadow: none;
}
body .sr-link-button { padding-inline: 10px; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
body .sr-view-toggle button { padding-inline: 14px; border-color: transparent; }
body .sr-view-toggle button.is-active { --sr-action-bg: var(--sr-action-navy); --sr-action-hover: var(--sr-action-navy-hover); --sr-action-fg: #fff; background: var(--sr-action-bg); }
body .sr-save-button { width: 48px; padding: 10px; }
body .sr-save-button.is-saved,
body .sr-listing-save.is-saved { --sr-action-bg: #e6f6ee; --sr-action-hover: #d1ebdf; --sr-action-fg: #086444; --sr-action-border: #80bba0; background: var(--sr-action-bg); border-color: var(--sr-action-border); }
body .sr-button-small { padding-inline: 16px; }
body .sr-button:hover,
body :is(.sr-homepage, .sr-dashboard, .sr-how-actions) .sr-button:hover,
body .sr-link-button:hover,
body .sr-view-toggle button:hover,
body .sr-save-button:hover {
	background: var(--sr-action-hover);
	color: var(--sr-action-fg) !important;
	border-color: var(--sr-action-border);
	text-decoration: none;
	box-shadow: 0 4px 10px rgba(7,29,61,.14);
	transform: translateY(-1px);
}
body :is(.sr-button, .sr-link-button, .sr-save-button):focus-visible,
body .sr-shell :is(.sr-button, .sr-link-button, .sr-save-button):focus-visible,
body .sr-view-toggle button:focus-visible,
body .sr-photo-card:has(.sr-photo-input:focus-visible) .sr-photo-choose {
	outline: 3px solid #2057d4;
	outline-offset: 3px;
	box-shadow: 0 0 0 3px #fff;
}
body :is(.sr-homepage-hero, .sr-homepage-final, .sr-dashboard-hero, .sr-how-hero, .sr-how-cta) .sr-button:focus-visible {
	outline-color: #fff;
	box-shadow: 0 0 0 3px #071d3d;
}
body :is(.sr-button, .sr-link-button, .sr-save-button):active,
body .sr-view-toggle button:active {
	transform: translateY(0);
	box-shadow: inset 0 2px 4px rgba(7,29,61,.2);
}
body :is(.sr-button, .sr-link-button, .sr-save-button):is(:disabled, [aria-disabled="true"]),
body .sr-view-toggle button:is(:disabled, [aria-disabled="true"]) {
	--sr-action-fg: #536174 !important;
	background: #e5eaf0 !important;
	color: #536174 !important;
	border-color: #c2cfdf;
	box-shadow: none !important;
	transform: none !important;
	cursor: not-allowed;
	opacity: 1;
}

/* SD1 — homepage composition. */
body:has(.sr-homepage) #content > .ast-container { max-width: none; padding-inline: 0; }
.sr-homepage { background: #fff; }
.sr-homepage .sr-homepage-shell { width: min(1380px, 100% - 64px); margin-top: 20px; padding-top: 0; }
.sr-homepage-audience { min-height: 52px; gap: 12px; }
.sr-homepage-audience-icon { width: 30px; height: 30px; }
.sr-homepage .sr-homepage-hero {
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	gap: 20px;
	min-height: 520px;
	margin-bottom: 24px;
	padding: 54px clamp(32px, 4vw, 60px);
	border-radius: 28px;
	background: radial-gradient(ellipse at 80% 45%, #144a87 0, transparent 58%), linear-gradient(115deg, #071d3d, #0b2d5b);
	box-shadow: 0 10px 26px rgba(7,29,61,.10);
}
.sr-homepage-hero:after { content: none; }
.sr-homepage-hero h1 { font-size: clamp(44px, 4.4vw, 65px); line-height: 1.07; letter-spacing: -.035em; }
.sr-homepage-hero-copy > p { max-width: 59ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
.sr-homepage-hero-art { display: block; width: 100%; height: auto; min-width: 0; transform: none; }
.sr-homepage-exchange { display: block; width: 100%; height: auto; }
.sr-homepage-actions { gap: 14px; align-items: stretch; }
body .sr-homepage .sr-homepage-actions .sr-button { min-height: 52px; padding: 13px 20px; border-radius: var(--sr-action-radius); border-color: var(--sr-action-border); }
.sr-homepage-actions .sr-button::after {
	content: "";
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-7-7 7 7-7 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
[dir="rtl"] .sr-homepage-actions .sr-button::after { transform: scaleX(-1); }
.sr-homepage .sr-homepage-search { width: min(1040px, 100%); margin: 0 auto 34px; box-shadow: 0 5px 16px rgba(7,29,61,.07); }
.sr-homepage .sr-homepage-propositions { gap: 32px; margin-bottom: 44px; }
.sr-homepage .sr-homepage-proposition { display: grid; grid-template-columns: 56px minmax(0,1fr); align-content: start; column-gap: 18px; padding: 12px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.sr-homepage-proposition-icon { grid-row: span 2; width: 56px; height: 56px; margin: 0; border-radius: 50%; }
.sr-homepage-proposition h2 { margin: 4px 0 9px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.sr-homepage-proposition p { font-size: 15px; line-height: 1.6; }
[dir="rtl"] .sr-homepage-hero h1 { line-height: 1.4; letter-spacing: normal; }
[lang^="ur"] .sr-homepage :is(h1, h2) { line-height: 1.65; }
[lang^="ur"] .sr-homepage-hero h1 { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.5; }
[lang^="ur"] .sr-homepage-hero-copy > p { line-height: 1.95; }
[lang^="ur"] :is(.sr-button, .sr-link-button) { line-height: 1.8; }

/* One down-chevron per existing dropdown, without altering navigation logic. */
#masthead .main-header-menu > .menu-item-has-children > .ast-menu-toggle,
#masthead .main-header-menu > .menu-item-has-children > .menu-link > .dropdown-menu-toggle,
#masthead .sr-language-caret { display: none !important; }
#masthead .main-header-menu > .menu-item-has-children > .menu-link { display: flex; align-items: center; gap: 10px; }
#masthead .main-header-menu > .menu-item-has-children > .menu-link::before {
	content: "";
	order: 2;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-inline-start: 0;
	background: currentColor;
	mask: var(--sr-action-chevron) center / contain no-repeat;
	transition: transform var(--sr-action-duration) ease;
}
#masthead .main-header-menu > .menu-item-has-children.sr-nav-open > .menu-link::before { transform: rotate(180deg); }
#masthead #ast-desktop-header .main-header-menu > li > .menu-link { padding-inline: 12px; }
#masthead #ast-desktop-header .main-header-menu > li > .menu-link[href*="action=logout"] {
	align-self: center;
	min-height: 44px;
	height: auto;
	margin-inline-start: 16px;
	padding: 11px 18px;
	border: 1px solid #536b89;
	border-radius: var(--sr-action-radius);
	background: #233d60;
	color: #fff;
	opacity: 1;
}
#masthead #ast-desktop-header .main-header-menu > li > .menu-link[href*="action=logout"]:hover { background: #345477; color: #fff; }
@media (max-width: 640px) {
	#masthead #ast-mobile-header .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; color: #fff; }
	#masthead #ast-mobile-header .menu-toggle .ast-mobile-svg { fill: #fff; }
	#masthead #ast-mobile-header .main-header-menu > .menu-item-has-children > .menu-link::before { margin-inline-start: auto; }
	#masthead #ast-mobile-header .main-header-menu .menu-link[href*="action=logout"] { width: fit-content; min-height: 44px; margin: 8px 20px 16px; padding: 10px 18px; border: 1px solid #bdcbdc; border-radius: var(--sr-action-radius); background: #edf3fa; color: #071d3d; }
	#masthead #ast-mobile-header .main-header-menu .menu-link[href*="action=logout"]:hover { background: #dfe9f6; }
	#masthead #ast-mobile-header .sr-language-selector > .sub-menu { width: auto; margin: 0 12px 8px; padding: 6px; border: 1px solid #536b89; border-radius: 12px; background: #071d3d; box-shadow: 0 6px 16px rgba(7,29,61,.16); }
	#masthead #ast-mobile-header .sr-language-selector > .sub-menu .menu-link { padding-inline: 14px; border-radius: 8px; background: #071d3d; color: #fff; }
	#masthead #ast-mobile-header .sr-language-selector > .sub-menu .menu-link:is(:hover, :focus) { background: #233d60; color: #fff; }
	#masthead #ast-mobile-header .sr-language-selector > .sub-menu .current-menu-item > .menu-link { background: #233d60; color: #fff; }
}
@media (max-width: 1000px) {
	.sr-homepage .sr-homepage-hero { grid-template-columns: 1fr; padding: 34px 36px 20px; gap: 12px; }
	.sr-homepage-hero h1 { max-width: 740px; font-size: 48px; }
	.sr-homepage-hero-art { max-width: 460px; margin-inline: auto; }
	.sr-homepage .sr-homepage-propositions { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
	.sr-homepage .sr-homepage-shell { width: calc(100% - 24px); margin-top: 14px; }
	.sr-homepage .sr-homepage-hero { padding: 28px 22px 12px; border-radius: 22px; gap: 4px; }
	.sr-homepage-hero h1 { font-size: clamp(34px, 9.3vw, 42px); line-height: 1.1; }
	.sr-homepage-hero-copy > p { margin-top: 18px; font-size: 16px; line-height: 1.55; }
	.sr-homepage-hero-art { max-width: 340px; margin-top: 2px; }
	.sr-homepage-actions { display: grid; margin-top: 22px; gap: 10px; }
	.sr-homepage-audience { align-items: center; text-align: start; padding: 10px 16px; }
	.sr-homepage-audience p { font-size: 13px; }
	.sr-homepage .sr-homepage-propositions { margin-bottom: 32px; }
	.sr-homepage .sr-homepage-proposition { grid-template-columns: 48px minmax(0,1fr); gap: 0 14px; }
	.sr-homepage-proposition-icon { width: 48px; height: 48px; }
	[dir="rtl"] .sr-homepage-hero h1 { font-size: 34px; line-height: 1.45; }
	[lang^="ur"] .sr-homepage-hero h1 { font-size: 32px; line-height: 1.55; }
}
@media (prefers-reduced-motion: reduce) {
	body :is(.sr-button, .sr-link-button, .sr-save-button), body .sr-view-toggle button,
	#masthead .main-header-menu > .menu-item-has-children > .menu-link::before { transition: none !important; }
	body :is(.sr-button, .sr-link-button, .sr-save-button):is(:hover, :active), body .sr-view-toggle button:is(:hover, :active) { transform: none !important; }
}

/* SD1 correction: shared masthead and complete reference section sequence. */
#masthead .site-title a { gap: 12px; font-size: 30px; letter-spacing: -.035em; }
#masthead .site-title a::before { content: ""; width: 42px; height: 42px; flex: 0 0 42px; background: url("assets/images/swap-ready-house-mark.svg") center / contain no-repeat; }
#masthead .site-title a::after { display: none; }
#masthead #ast-desktop-header .site-primary-header-wrap { max-width: 1320px; width: calc(100% - 128px); padding-inline: 0; }
#masthead #ast-desktop-header .ast-builder-grid-row { grid-template-columns: auto minmax(0,1fr); column-gap: clamp(24px,6.4vw,94px); }
#masthead #ast-desktop-header :is(.site-header-primary-section-right,.ast-builder-menu-1,.ast-main-header-bar-alignment,.main-header-bar-navigation,.main-navigation,#primary-site-navigation-desktop) { width: 100%; }
#masthead #ast-desktop-header .main-header-menu { width: 100%; flex-wrap: nowrap; }
#masthead #ast-desktop-header .main-header-menu > li > .menu-link { padding-inline: 17px; font-size: 16px; font-weight: 700; white-space: nowrap; }
#masthead #ast-desktop-header .sr-language-selector { margin-inline-start: auto !important; }
#masthead #ast-desktop-header .main-header-menu > .current-menu-item > .menu-link::after { background: #e9f3ff; inset-inline: 17px; }
#masthead #ast-desktop-header .main-header-menu > li > .menu-link[href*="action=logout"] { padding-inline: 20px; background: #2b4263; border-color: transparent; margin-inline-start: 18px; }
.sr-homepage .sr-homepage-shell { width: min(1380px,100% - 76px); }
.sr-homepage-audience { background: #e3f6ec; }
.sr-homepage-audience p { font-size: 16px; }
.sr-homepage-audience-icon svg { width: 17px; height: 17px; }
.sr-homepage .sr-homepage-hero { min-height: 530px; padding: 64px 66px 44px; gap: 0; margin-bottom: 0; border-radius: 24px; background: radial-gradient(ellipse at 76% 45%,#144d8e 0,transparent 60%),linear-gradient(115deg,#071e3e,#0c3263); }
.sr-homepage-hero h1 { font-size: clamp(48px,4.73vw,70px); line-height: 1; font-weight: 750; letter-spacing: -.035em; }
.sr-homepage-hero-copy > p { margin-top: 26px; font-size: 20px; line-height: 1.6; }
.sr-homepage-hero .sr-homepage-actions { margin-top: 34px; gap: 22px; flex-wrap: nowrap; }
body .sr-homepage .sr-homepage-hero .sr-button { min-height: 62px; padding: 16px 30px; border-radius: 16px; font-size: 19px; font-weight: 750; gap: 18px; white-space: nowrap; }
body .sr-homepage .sr-homepage-hero .sr-homepage-primary { --sr-action-bg: #079b6d; --sr-action-hover: #07825b; }
body .sr-homepage .sr-homepage-hero .sr-homepage-secondary { --sr-action-bg: transparent; --sr-action-hover: #183f6b; --sr-action-border: #d4e4ff; }
.sr-homepage-hero-art { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; width: calc(100% + 54px); margin-inline-start: 0; padding-top: 88px; }
.sr-homepage-exchange { width: 100%; }
.sr-homepage-art-note { position: absolute; inset-block-start: 0; inset-inline-end: 6px; margin: 0; color: #a8c8f0; font: 21px/1.4 "Segoe Print","Comic Sans MS",cursive; transform: rotate(-9deg); text-align: center; }
.sr-homepage-art-note::after { content: ""; display: block; width: 78px; height: 4px; margin: 8px auto 0; background: #43c58e; border-radius: 50%; transform: rotate(-5deg); }
.sr-homepage-art-caption { margin: 18px 0 2px; text-align: center; color: #a8c8f0; font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.sr-homepage .sr-homepage-propositions { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; padding: 24px 60px 34px; margin: 0; }
.sr-homepage .sr-homepage-proposition { grid-template-columns: 74px minmax(0,1fr); gap: 0 20px; padding: 0; }
.sr-homepage-proposition-icon { width: 74px; height: 74px; background: #e4efff; }
.sr-homepage-proposition-icon svg { width: 34px; height: 34px; stroke-width: 2; }
.sr-homepage-icon-signal { background: #e1f5eb; color: #00a574; }
.sr-homepage-proposition h2 { margin: 10px 0 5px; font-size: 19px; font-weight: 750; line-height: 1.25; letter-spacing: -.025em; }
.sr-homepage-proposition p { font-size: 16px; line-height: 1.55; color: #354c70; }
.sr-homepage-how { padding: 36px; margin-bottom: 36px; background: #f3f7fc; border-radius: 16px; }
.sr-homepage-how-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; }
.sr-homepage-how-eyebrow { margin: 0 0 10px; color: #1672ef; font-size: 14px; font-weight: 750; letter-spacing: 2px; text-transform: uppercase; }
.sr-homepage-how h2 { margin: 0 0 6px; color: #071d3d; font-size: 44px; font-weight: 750; line-height: 1.15; letter-spacing: -.035em; }
.sr-homepage-how-intro { margin: 0; color: #526487; font-size: 21px; line-height: 1.5; }
.sr-homepage-how-head .sr-homepage-actions { margin: 0; }
body .sr-homepage .sr-homepage-how .sr-button { --sr-action-bg: #2475ed; --sr-action-hover: #195ec7; min-height: 58px; padding: 15px 24px; font-size: 19px; border-radius: 14px; }
.sr-homepage-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 26px 0 0; padding: 0; list-style: none; }
.sr-homepage-step { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 28px; padding: 22px 30px 28px; margin: 0; border: 1px solid #e9eef6; border-radius: 20px; background: #fff; box-shadow: 0 5px 12px rgba(7,29,61,.025); }
.sr-homepage-step-number { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; color: #1d75ee; background: #dceaff; font-size: 32px; font-weight: 750; }
.sr-homepage-step h3 { margin: 10px 0 5px; color: #071d3d; font-size: 20px; font-weight: 750; line-height: 1.25; letter-spacing: -.025em; }
.sr-homepage-step p { margin: 0; font-size: 16px; line-height: 1.6; color: #526487; }
[dir="rtl"] .sr-homepage-art-note { font-family: inherit; transform: none; }
[dir="rtl"] .sr-homepage-art-caption { letter-spacing: normal; }
[dir="rtl"] .sr-homepage-how h2 { letter-spacing: normal; }
@media (min-width:641px) and (max-width:1250px) {
 #masthead #ast-desktop-header .site-primary-header-wrap { width: calc(100% - 40px); }
 #masthead #ast-desktop-header .ast-builder-grid-row { column-gap: 22px; }
 #masthead .site-title a { font-size: 26px; gap: 8px; }
 #masthead #ast-desktop-header .main-header-menu > li > .menu-link { padding-inline: 9px; font-size: 14px; }
}
/* Compact desktop spacing keeps every existing control in the same row. */
@media (min-width:641px) and (max-width:921px) {
 #masthead #ast-desktop-header { display: block; }
 #masthead #ast-mobile-header { display: none; }
 #masthead #ast-desktop-header .site-primary-header-wrap { width: calc(100% - 24px); }
 #masthead #ast-desktop-header .ast-builder-grid-row { column-gap: 10px; }
 #masthead #ast-desktop-header .site-title a { font-size: 20px; gap: 6px; }
 #masthead #ast-desktop-header .site-title a::before { width: 28px; height: 28px; flex-basis: 28px; }
 #masthead #ast-desktop-header .main-header-menu > li > .menu-link { padding-inline: 5px; font-size: 12px; gap: 4px; }
 #masthead #ast-desktop-header .main-header-menu > .menu-item-has-children > .menu-link::before { width: 12px; height: 12px; flex-basis: 12px; }
 #masthead #ast-desktop-header .sr-language-globe { width: 14px; height: 14px; }
 #masthead #ast-desktop-header .main-header-menu > li > .menu-link[href*="action=logout"] { margin-inline-start: 4px; padding-inline: 10px; }
 #masthead #ast-desktop-header .main-header-menu > .menu-item-has-children:nth-last-child(2) > .sub-menu,
 #masthead #ast-desktop-header .sr-language-selector > .sub-menu { inset-inline-start: auto; inset-inline-end: 0; }
}
@media (min-width:641px) and (max-width:740px) {
 #masthead #ast-desktop-header .ast-builder-grid-row { column-gap: 6px; }
 #masthead #ast-desktop-header .site-title a { font-size: 18px; gap: 4px; }
 #masthead #ast-desktop-header .site-title a::before { width: 24px; height: 24px; flex-basis: 24px; }
 #masthead #ast-desktop-header .main-header-menu > li > .menu-link { padding-inline: 3px; font-size: 11px; gap: 3px; }
 #masthead #ast-desktop-header .main-header-menu > .menu-item-has-children > .menu-link::before { width: 10px; height: 10px; flex-basis: 10px; }
 #masthead #ast-desktop-header .sr-language-globe { width: 12px; height: 12px; }
 #masthead #ast-desktop-header .main-header-menu > li > .menu-link[href*="action=logout"] { margin-inline-start: 2px; padding-inline: 8px; }
}
@media (min-width:922px) and (max-width:1250px) {
 .sr-homepage .sr-homepage-hero { padding-inline: 40px; }
 .sr-homepage-hero h1 { font-size: 54px; }
 body .sr-homepage .sr-homepage-hero .sr-button { padding-inline: 18px; font-size: 17px; }
 .sr-homepage .sr-homepage-propositions { padding-inline: 24px; gap: 24px; }
 .sr-homepage .sr-homepage-proposition { grid-template-columns: 58px minmax(0,1fr); gap: 0 14px; }
 .sr-homepage-proposition-icon { width: 58px; height: 58px; }
 .sr-homepage-step { padding-inline: 20px; gap: 18px; grid-template-columns: 54px minmax(0,1fr); }
 .sr-homepage-step-number { width: 54px; height: 54px; }
}
@media (max-width:1100px) {
 .sr-homepage .sr-homepage-hero { grid-template-columns: 1fr; padding: 36px; }
 .sr-homepage-hero h1 { max-width: 740px; font-size: 52px; }
 .sr-homepage-hero-art { width: 100%; max-width: 540px; margin: 24px auto 0; padding-top: 62px; }
 .sr-homepage-art-note { font-size: 18px; }
 .sr-homepage .sr-homepage-propositions { grid-template-columns: 1fr; padding: 26px; gap: 22px; }
 .sr-homepage-proposition h2 { margin-top: 6px; }
 .sr-homepage-how-head { grid-template-columns: 1fr; }
 .sr-homepage-how-head .sr-homepage-actions { justify-self: start; }
 .sr-homepage-steps { grid-template-columns: 1fr; }
}
@media (max-width:640px) {
 #masthead .site-title a { font-size: 25px; gap: 9px; }
 #masthead .site-title a::before { width: 34px; height: 34px; flex-basis: 34px; }
 .sr-homepage .sr-homepage-shell { width: calc(100% - 24px); }
 .sr-homepage .sr-homepage-hero { padding: 28px 22px 24px; }
 .sr-homepage-hero h1 { font-size: clamp(34px,9.3vw,42px); line-height: 1.08; }
 .sr-homepage-hero-copy > p { margin-top: 20px; font-size: 16px; line-height: 1.55; }
 .sr-homepage-hero .sr-homepage-actions { gap: 12px; margin-top: 24px; }
 body .sr-homepage .sr-homepage-hero .sr-button { padding: 14px; min-height: 56px; font-size: 19px; white-space: normal; }
 .sr-homepage-art-caption { font-size: 9px; letter-spacing: 1.4px; margin-top: 10px; }
 .sr-homepage-art-note { font-size: 16px; }
 .sr-homepage-audience p { font-size: 13px; }
 .sr-homepage .sr-homepage-propositions { padding: 24px 12px 30px; gap: 22px; }
 .sr-homepage .sr-homepage-proposition { grid-template-columns: 56px minmax(0,1fr); gap: 0 14px; }
 .sr-homepage-proposition-icon { width: 56px; height: 56px; }
 .sr-homepage-proposition-icon svg { width: 28px; height: 28px; }
 .sr-homepage-proposition h2 { font-size: 18px; }
 .sr-homepage-proposition p { font-size: 15px; }
 .sr-homepage-how { padding: 26px 20px; }
 .sr-homepage-how h2 { font-size: 32px; }
 .sr-homepage-how-intro { font-size: 17px; }
 .sr-homepage-how-head { gap: 20px; }
 .sr-homepage-how-head .sr-homepage-actions { width: 100%; }
 .sr-homepage-step { grid-template-columns: 54px minmax(0,1fr); gap: 16px; padding: 20px 18px; }
 .sr-homepage-step-number { width: 54px; height: 54px; font-size: 27px; }
 .sr-homepage-step h3 { margin-top: 4px; font-size: 19px; }
 [dir="rtl"] .sr-homepage-hero h1 { font-size: 34px; line-height: 1.45; }
 [lang^="ur"] .sr-homepage-hero h1 { font-size: 32px; line-height: 1.55; }
}
/* Keep the decorative scene out of the hero's intrinsic height calculation. */
@media (min-width:1101px) {
 .sr-homepage-hero-art { min-height: 0; padding-top: 0; }
 .sr-homepage-hero-art .sr-homepage-exchange { position: absolute; inset-inline-start: 0; bottom: 38px; }
 .sr-homepage-hero-art .sr-homepage-art-caption { position: absolute; inset-inline: 0; bottom: 0; }
}
.sr-homepage .sr-homepage-art-note { margin: 0; }
.sr-homepage .sr-homepage-art-caption { margin: 18px 0 2px; }
.sr-homepage .sr-homepage-how-eyebrow { margin: 0 0 10px; }
.sr-homepage .sr-homepage-how-intro { margin: 0; }
.sr-homepage .sr-homepage-step p { margin: 0; }
.sr-homepage .sr-homepage-steps { margin: 26px 0 0; padding: 0; }

@media (min-width:922px) and (max-width:1250px) {
 body .sr-homepage .sr-homepage-hero .sr-homepage-primary { --sr-action-bg: #07825b; --sr-action-hover: #066d4c; }
}

/* Keep dropdowns anchored to their own navigation item. */
@media (min-width:641px) {
 #masthead #ast-desktop-header .main-header-menu > .menu-item-has-children { position: relative; }
}
/* Retained homepage fine corrections. */
@media (min-width:1251px) {
 .sr-homepage .sr-homepage-shell { margin-top: 19px; }
 .sr-homepage-hero .sr-homepage-actions { margin-top: 32px; }
 .sr-homepage .sr-homepage-propositions { column-gap: 48px; padding-inline-end: 0; }
 .sr-homepage-how { padding-inline: 38px; }
 .sr-homepage .sr-homepage-how-eyebrow { margin-bottom: 6px; }
 body .sr-homepage .sr-homepage-how .sr-button { padding-inline: 17px; }
}
 
/* Shared internal page introductions: only shells containing this component. */
.sr-shell:has(> .sr-page-intro) { margin-top: 28px; }
.sr-shell > .sr-page-intro {
 display: grid;
 grid-template-columns: minmax(0,1fr) minmax(180px,auto);
 align-items: center;
 gap: 20px 24px;
 padding: 24px;
 margin: 0 0 24px;
 border: 1px solid #dce7ed;
 border-radius: 16px;
 background: linear-gradient(115deg,#eef5ff 0%,#f1f8fb 65%,#edf8f2 100%);
 box-shadow: 0 3px 12px rgba(7,29,61,.035);
}
.sr-page-intro-copy, .sr-page-intro-information, .sr-page-intro-card > div { min-width: 0; }
.sr-page-intro .sr-page-intro-eyebrow { margin: 0 0 7px; color: #2057d4; font-size: 11px; font-weight: 750; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.sr-page-intro h1 { margin: 0 0 8px; color: #071d3d; font-size: 32px; font-weight: 750; line-height: 1.15; letter-spacing: -.025em; overflow-wrap: anywhere; }
.sr-page-intro .sr-page-intro-description { margin: 0; max-width: 620px; color: #52647b; font-size: 15px; line-height: 1.6; }
.sr-page-intro-copy:only-child { grid-column: 1 / -1; }
.sr-page-intro-card { display: flex; align-items: center; gap: 12px; max-width: 300px; padding: 16px 20px; border: 1px solid #e1e9ef; border-radius: 12px; background: #fff; }
.sr-page-intro-card strong { display: block; color: #071d3d; font-size: 21px; line-height: 1.3; overflow-wrap: anywhere; }
.sr-page-intro-card span:not(.sr-page-intro-icon) { display: block; margin-top: 4px; color: #52647b; font-size: 13px; line-height: 1.5; }
.sr-page-intro-icon { flex: 0 0 auto; color: #2057d4; font-size: 30px; line-height: 1; }
.sr-my-home .sr-page-intro-readiness { justify-content: flex-end; min-width: 230px; margin-inline-start: auto; }
.sr-my-home .sr-page-intro-readiness strong { font-size: 32px; line-height: 1.05; letter-spacing: -.025em; }
.sr-my-home .sr-page-intro-readiness > .sr-badge-primary { position: static; display: inline-flex; align-items: center; flex: 0 0 auto; gap: 4px; margin: 0; color: var(--swap-ready-blue); font-size: 12px; line-height: 1.3; }
.sr-my-home .sr-page-intro-readiness > .sr-badge-primary > span { display: inline; margin: 0; color: inherit; font: inherit; }
.sr-page-intro .sr-marketplace-count { margin: 0; color: #071d3d; font-size: 14px; line-height: 1.5; }
.sr-page-intro .sr-context-link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; font-size: 13px; }
.sr-page-intro-controls { grid-column: 1 / -1; min-width: 0; }
.sr-page-intro-controls .sr-search-form { margin: 0; border-radius: 12px; }
.sr-page-intro-controls .sr-search-field { min-width: 0; }
.sr-page-intro-controls :is(input:not([type="checkbox"]):not([type="hidden"]),select) { max-width: 100%; min-height: 44px; }
.sr-page-intro-controls .sr-check { min-height: 44px; }
.sr-page-intro-controls summary { min-height: 44px; padding-block: 12px; }
@media (max-width: 700px) {
 .sr-shell:has(> .sr-page-intro) { margin-top: 18px; }
 .sr-shell > .sr-page-intro { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 18px; margin-bottom: 22px; }
 .sr-page-intro h1 { font-size: 27px; }
 .sr-page-intro-card { max-width: none; padding: 14px 16px; }
 .sr-page-intro-card strong { font-size: 20px; }
 .sr-my-home .sr-page-intro-readiness { min-width: 0; margin-inline-start: 0; }
 .sr-my-home .sr-page-intro-readiness strong { font-size: 28px; }
}

/* Homepage preview: bring the existing search within easier reach. */
.sr-homepage .sr-homepage-hero + .sr-homepage-search { margin-top: 24px; margin-bottom: 8px; }
.sr-homepage .sr-homepage-search input:focus-visible,
.sr-homepage .sr-homepage-section-head > a:focus-visible,
.sr-homepage .sr-homepage-explainer > a:focus-visible { outline-color: #2057d4; }

/* Dashboard redesign preview: a task-first member workspace. */
.sr-dashboard {
  --sr-dashboard-surface: #f7f9fc;
  --sr-dashboard-mint: #eaf7f1;
  --sr-dashboard-border: #dce5e1;
  --sr-dashboard-text: #172033;
  --sr-dashboard-subtle: #526174;
  margin-top: 28px;
  margin-bottom: 48px;
  color: var(--sr-dashboard-text);
}
.sr-dashboard ::selection { background: #c9eadb; color: #071d3d; }
.sr-dashboard > :where(.sr-dashboard-card,.sr-panel,.sr-dashboard-grid,.sr-dashboard-support-grid) { margin-top: 18px; }
.sr-dashboard-hero {
  min-height: 0;
  margin: 0;
  padding: 30px 32px;
  overflow: hidden;
  border: 1px solid #cee4da;
  border-radius: 16px;
  background: var(--sr-dashboard-mint);
  box-shadow: none;
}
.sr-dashboard-hero::after { display: none; }
.sr-dashboard-hero-copy {
  display: grid;
  grid-template-columns: minmax(260px,1.25fr) minmax(360px,1fr) auto;
  gap: 8px 28px;
  align-items: center;
  max-width: none;
}
.sr-dashboard-hero h1 {
  grid-column: 1;
  margin: 0;
  color: #071d3d;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.sr-dashboard-subheading {
  grid-column: 1;
  margin: 0;
  color: #405e55;
  font-size: 17px;
}
.sr-dashboard-pills {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}
.sr-dashboard-pills span {
  min-height: 32px;
  padding: 6px 10px;
  border-color: #c8d8d1;
  background: #fff;
  color: #29463e;
}
.sr-dashboard .sr-dashboard-primary {
  grid-column: 3;
  grid-row: 1 / span 2;
  min-width: 140px;
  min-height: 48px;
  background: #087a55;
  color: #fff!important;
  box-shadow: none;
}
.sr-dashboard .sr-dashboard-primary:hover { background: #066444; }
.sr-dashboard .sr-dashboard-primary.is-secondary {
  border-color: #87a79c;
  background: transparent;
  color: #0b2c59!important;
  box-shadow: none;
}
.sr-dashboard .sr-dashboard-primary.is-secondary:hover { border-color: #587c70; background: #fff; }
.sr-dashboard-kicker { display: none; }
.sr-dashboard-card,
.sr-dashboard-support-grid > :where(.sr-panel,.sr-dashboard-card) {
  border: 1px solid #dce3ed;
  border-radius: 16px;
  box-shadow: none;
}
.sr-dashboard .sr-dashboard-ready { border-top-width: 1px; }
.sr-dashboard-card h2,
.sr-dashboard-support-grid h2 {
  margin-top: 0;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -.015em;
}
.sr-dashboard-marketplace-activity {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px 28px;
  align-items: center;
  padding: 26px 30px;
  border: 0;
  background: #0b2c59;
  color: #fff;
}
.sr-dashboard-marketplace-activity h2,
.sr-dashboard-marketplace-activity p { grid-column: 1; margin: 0; color: #fff; }
.sr-dashboard-marketplace-activity h2 { font-size: 26px; }
.sr-dashboard-marketplace-activity p { max-width: 68ch; color: #dce9fb; }
.sr-dashboard-marketplace-activity form {
  grid-column: 2;
  grid-row: 1 / span 5;
  margin: 0;
}
.sr-dashboard-marketplace-activity .sr-button { min-width: 190px; }
.sr-dashboard-grid { gap: 16px; }
.sr-dashboard-grid .sr-dashboard-card { padding: 24px; }
.sr-dashboard-home-body { grid-template-columns: 220px minmax(0,1fr); }
.sr-dashboard-home-photo { border-radius: 12px; }
.sr-dashboard-activity-links { gap: 8px; }
.sr-dashboard-activity-links a {
  grid-template-columns: minmax(0,1fr) auto;
  min-height: 64px;
  border-radius: 12px;
  background: var(--sr-dashboard-surface);
}
.sr-dashboard-activity-links a > span:first-child { display: none; }
.sr-dashboard-activity-links a > span:last-child,
.sr-dashboard-task-list a > span:last-child {
  width: 18px;
  height: 18px;
  overflow: hidden;
  background: center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13m-5-5 5 5-5 5' fill='none' stroke='%232057d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color: transparent;
  font-size: 0;
}
.sr-dashboard-activity-links a:hover { background: #edf3ff; }
.sr-dashboard-support-grid {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(340px,.88fr);
  gap: 16px;
  align-items: start;
}
.sr-dashboard-support-grid > :where(.sr-panel,.sr-dashboard-card) { margin: 0; padding: 24px; }
.sr-dashboard-support-grid .sr-guide { grid-row: 1 / span 2; }
.sr-dashboard-support-grid .sr-dashboard-founding { grid-column: 2; }
.sr-dashboard-support-grid .sr-status-grid { gap: 8px; }
.sr-dashboard-support-grid .sr-status-card {
  padding: 14px;
  border: 1px solid #dce3ed;
  border-inline-start-width: 1px;
  background: #f8fbfa;
}
.sr-dashboard-support-grid .sr-status-card p { color: var(--sr-dashboard-subtle); }
.sr-dashboard-support-grid .sr-guide-list { gap: 8px; }
.sr-dashboard-support-grid .sr-guide-list li { align-items: center; min-height: 32px; }
.sr-dashboard-positive > span,
.sr-dashboard-support-grid .sr-guide-list li > span:first-child {
  background: #0c8a5e center / 15px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color: transparent;
  font-size: 0;
}
.sr-dashboard-support-grid .sr-guide-list li > span:first-child {
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.sr-dashboard-support-grid .sr-guide-next { background: var(--sr-dashboard-surface); }
.sr-dashboard-photo-placeholder > span { display: none; }
.sr-dashboard-membership { margin-top: 18px; padding: 0; background: transparent; }
.sr-dashboard > p:last-child { margin: 8px 4px 0; }
.sr-dashboard-actions a:not(.sr-button),
.sr-dashboard-support-grid .sr-guide a,
.sr-dashboard > p:last-child a { display: inline-flex; align-items: center; min-height: 44px; }
.sr-dashboard a:focus-visible,
.sr-dashboard button:focus-visible { outline-color: #2057d4; }

@media (max-width: 900px) {
  .sr-dashboard-hero-copy { grid-template-columns: minmax(0,1fr) auto; }
  .sr-dashboard-pills { grid-column: 1; grid-row: auto; }
  .sr-dashboard .sr-dashboard-primary { grid-column: 2; grid-row: 1 / span 3; }
  .sr-dashboard-support-grid { grid-template-columns: 1fr; }
  .sr-dashboard-support-grid .sr-guide,
  .sr-dashboard-support-grid .sr-dashboard-founding { grid-column: auto; grid-row: auto; }
}

@media (max-width: 600px) {
  .sr-dashboard { margin-top: 18px; margin-bottom: 34px; }
  .sr-dashboard-hero { padding: 22px; border-radius: 16px; }
  .sr-dashboard-hero-copy { grid-template-columns: 1fr; gap: 10px; }
  .sr-dashboard-hero h1 { grid-column: 1; font-size: 30px; }
  .sr-dashboard-subheading { grid-column: 1; font-size: 16px; }
  .sr-dashboard-pills { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .sr-dashboard-pills span { justify-content: center; text-align: center; }
  .sr-dashboard .sr-dashboard-primary { grid-column: 1; grid-row: auto; width: 100%; margin-top: 4px; }
  .sr-dashboard-marketplace-activity { grid-template-columns: 1fr; padding: 22px; }
  .sr-dashboard-marketplace-activity h2,
  .sr-dashboard-marketplace-activity p,
  .sr-dashboard-marketplace-activity form { grid-column: 1; grid-row: auto; }
  .sr-dashboard-marketplace-activity form,
  .sr-dashboard-marketplace-activity .sr-button { width: 100%; }
  .sr-dashboard-grid .sr-dashboard-card,
  .sr-dashboard-support-grid > :where(.sr-panel,.sr-dashboard-card) { padding: 20px; }
  .sr-dashboard-home-body { grid-template-columns: 1fr; }
  .sr-dashboard-support-grid .sr-status-grid { grid-template-columns: 1fr; }
}

/* Simplicity pass: compact state and native disclosure within the existing design. */
.sr-dashboard-home-details > .sr-badge-primary { position: static; display: inline-flex; }
body.home .sr-homepage-shell { padding-bottom: 0; }
.sr-homepage .sr-homepage-search { margin-bottom: 28px; }
.sr-homepage .sr-homepage-hero + .sr-homepage-search { margin-bottom: 28px; }
.sr-page-intro:not(:has(.sr-page-intro-information)) { grid-template-columns: minmax(0,1fr); }
.sr-dashboard-support-grid > .sr-dashboard-founding:only-child { grid-column: 1 / -1; }
.sr-dashboard .sr-my-home-confirmation,
.sr-my-home .sr-my-home-confirmation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 16px 20px; margin: 18px 0; background: #f4f7fb; border-radius: 12px; }
.sr-my-home-confirmation h3,
.sr-my-home .sr-my-home-confirmation h3 { margin: 0; font-size: 18px; line-height: 1.5; }
.sr-my-home-confirmation p,
.sr-my-home-confirmation form { margin: 0; }
.sr-activity-settings { margin: 0 0 24px; }
.sr-activity-settings summary,
.sr-save-search summary { width: fit-content; min-height: 44px; padding: 10px 0; cursor: pointer; color: #2057d4; font-weight: 700; }
.sr-activity-settings[open] { padding: 0 20px 20px; border: 1px solid #dce3ed; border-radius: 12px; }
.sr-activity-settings label { display: block; max-width: 650px; margin: 12px 0; }
.sr-activity-settings select { display: block; width: 100%; min-height: 44px; margin-top: 6px; }
.sr-activity-settings .sr-check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.sr-search-secondary { margin: 0 0 16px; }
.sr-search-secondary a,
.sr-home-support a { display: inline-flex; align-items: center; min-height: 44px; }
.sr-search-page details.sr-save-search { display: block; padding: 12px 20px; }
.sr-save-search:not([open]) > form { display: none; }
.sr-save-search[open] > form { margin-top: 12px; }
.sr-save-search .sr-inline-form label { min-width: 0; }
.sr-save-search input,
.sr-save-search select { max-width: 100%; }
.sr-home-support { margin: 20px 0 0; }
.sr-guide-list li { line-height: 1.6; }
.sr-account-status .sr-status-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.sr-account-status .sr-status-card { min-width: 0; overflow-wrap: anywhere; }
.sr-activity-settings summary:focus-visible,
.sr-save-search summary:focus-visible,
.sr-search-secondary a:focus-visible { outline: 3px solid #2057d4; outline-offset: 3px; }
@media (max-width: 700px) {
  .sr-account-status .sr-status-grid { grid-template-columns: 1fr; }
  .sr-my-home-confirmation { align-items: flex-start; flex-direction: column; }
  .sr-save-search .sr-inline-form { align-items: stretch; flex-direction: column; }
  .sr-save-search .sr-inline-form > * { width: 100%; }
}
.sr-search-badges summary,
.sr-save-search summary,
.sr-activity-settings summary { display: flex; align-items: center; gap: 16px; }
.sr-search-badges summary::after,
.sr-save-search summary::after,
.sr-activity-settings summary::after { content: '+'; font-size: 20px; line-height: 1; }
.sr-search-badges[open] > summary::after,
.sr-save-search[open] > summary::after,
.sr-activity-settings[open] > summary::after { content: '−'; }

/* Red Phase 2B: one membership offer, using the established site palette. */
.sr-membership-pricing { max-width: 860px; margin: 0 auto; padding-block: 40px 56px; }
.sr-pricing-intro { max-width: 700px; margin-bottom: 28px; }
.sr-pricing-intro h1 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; }
.sr-pricing-intro > p { font-size: 1.2rem; line-height: 1.6; }
.sr-pricing-offer { background: #f6f8fb; border: 1px solid #dce3ed; border-radius: 16px; padding: 28px; }
.sr-membership-pricing .sr-membership-price { font-size: 3rem; font-weight: 750; line-height: 1.1; color: #071d3d; margin: 0 0 16px; }
.sr-membership-price span { display: block; font-size: 1.2rem; font-weight: 400; margin-top: 10px; }
.sr-membership-pricing p { margin-bottom: 16px; }
.sr-membership-status > strong { display: block; font-size: 1.1rem; }
.sr-membership-purchase p, .sr-membership-status p { font-size: 1rem; line-height: 1.6; }
.sr-membership-purchase form { margin: 0 0 14px; }
.sr-membership-extension { margin-top: 14px; }
.sr-membership-extension summary { cursor: pointer; padding: 12px 0; color: #1746ad; font-weight: 600; min-height: 44px; }
.sr-membership-extension[open] summary { margin-bottom: 8px; }
.sr-membership-purchase .sr-button { white-space: normal; min-height: 44px; max-width: 100%; }
.sr-membership-purchase .sr-button:disabled { --sr-action-fg: #475569; --sr-action-bg: #e2e8f0; opacity: 1; color: #475569; background: #e2e8f0; border-color: #cbd5e1; cursor: not-allowed; }
.sr-pricing-included { padding-top: 32px; }
.sr-pricing-included h2, .sr-pricing-founding h2 { font-size: 1.5rem; margin-bottom: 20px; }
.sr-pricing-features { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.sr-pricing-features h3 { font-size: 1.15rem; margin-bottom: 12px; }
.sr-pricing-features ul { margin: 0 0 20px; padding-left: 24px; }
.sr-pricing-features li { padding: 4px 0; }
.sr-pricing-features li::marker { color: #087a55; }
.sr-pricing-founding { border-top: 1px solid #dce3ed; padding-top: 28px; margin-top: 20px; }
.sr-pricing-founding a, .sr-membership-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.sr-membership-gate h2, .sr-membership-return h2 { font-size: 1.4rem; margin: 0 0 12px; }
.sr-membership-gate { border: 1px solid #dce3ed; background: #f6f8fb; }
.sr-membership-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.sr-membership-actions .sr-button { white-space: normal; }
.sr-membership-diagnostic { padding: 12px; border: 1px solid #dce3ed; font-size: 1rem; }
.sr-account-status .sr-membership-status { min-width: 0; }
.sr-account-status .sr-membership-status strong { font-size: 1rem; }
.sr-account-status .sr-membership-status p { margin-block: 10px; }
.sr-membership-pricing :is(a, button, summary):focus-visible,
.sr-membership-status :is(a, button, summary):focus-visible,
.sr-membership-actions a:focus-visible { outline: 3px solid #2057d4; outline-offset: 4px; }
@media (max-width: 600px) {
    .sr-membership-pricing { padding-block: 24px 36px; }
    .sr-pricing-offer { padding: 22px 18px; }
    .sr-pricing-features { grid-template-columns: 1fr; gap: 8px; }
    .sr-membership-actions { align-items: stretch; flex-direction: column; }
}
.sr-account-status .sr-membership-status a { display: inline-flex; align-items: center; min-height: 44px; }
.sr-membership-return { max-width: 780px; margin: 28px auto; }
