/* WeMatri Release 2 - additive member experience layer. No framework overrides. */
:root{--wm-r2-primary:#c52862;--wm-r2-deep:#781b45;--wm-r2-ink:#25232a;--wm-r2-muted:#6f6b74;--wm-r2-soft:#fff5f8;--wm-r2-line:#eadfe4;--wm-r2-ok:#16865d}
.wm-r2-eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:700;color:var(--wm-r2-primary);margin-bottom:8px}
.wm-r2-dashboard-hero,.wm-r2-discover-head,.wm-r2-register-intro{background:linear-gradient(135deg,#fff 0%,var(--wm-r2-soft) 100%);border:1px solid var(--wm-r2-line);border-radius:18px;box-shadow:0 8px 28px rgba(54,29,40,.07)}
.wm-r2-dashboard-hero{display:flex;justify-content:space-between;align-items:center;padding:26px 30px;margin:0 0 16px;gap:24px}.wm-r2-dashboard-hero h1,.wm-r2-discover-head h1,.wm-r2-register-intro h1{font-family:Poppins,sans-serif;font-weight:700;color:var(--wm-r2-ink);margin:0 0 8px;font-size:27px}.wm-r2-dashboard-hero p,.wm-r2-discover-head p,.wm-r2-register-intro p{color:var(--wm-r2-muted);margin:0;line-height:1.6}.wm-r2-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.wm-r2-btn{display:inline-block;padding:10px 17px;border-radius:9px;font-weight:600;transition:.2s}.wm-r2-btn-primary{background:var(--wm-r2-primary);color:#fff!important}.wm-r2-btn-light{background:#fff;color:var(--wm-r2-deep)!important;border:1px solid var(--wm-r2-line)}
.wm-r2-profile-score{text-align:center;min-width:145px}.wm-r2-score-ring{--wm-score:0;width:92px;height:92px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--wm-r2-primary) calc(var(--wm-score)*1%),#eee calc(var(--wm-score)*1%));position:relative}.wm-r2-score-ring:before{content:"";position:absolute;inset:8px;border-radius:50%;background:#fff}.wm-r2-score-ring span{position:relative;font-size:21px;font-weight:700;color:var(--wm-r2-deep)}.wm-r2-profile-score strong,.wm-r2-profile-score small{display:block}.wm-r2-profile-score small{color:var(--wm-r2-muted);font-size:11px;margin-top:2px}
.wm-r2-trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 20px}.wm-r2-trust{padding:13px 15px;background:#fff;border:1px solid var(--wm-r2-line);border-radius:12px;color:var(--wm-r2-muted);display:grid;grid-template-columns:24px 1fr;grid-template-rows:auto auto;align-items:center}.wm-r2-trust i{grid-row:1/3;font-size:18px}.wm-r2-trust span{font-size:12px}.wm-r2-trust b{font-size:13px;color:var(--wm-r2-ink)}.wm-r2-trust.is-ok i,.wm-r2-trust.is-ok b{color:var(--wm-r2-ok)}.wm-r2-trust-link:hover{text-decoration:none;border-color:var(--wm-r2-primary)}
.wm-r2-discover-head{display:flex;justify-content:space-between;align-items:end;padding:22px 26px;margin-bottom:18px}.wm-r2-discover-tabs{display:flex;background:#fff;border:1px solid var(--wm-r2-line);padding:4px;border-radius:10px;gap:3px}.wm-r2-discover-tabs a{padding:9px 13px;border-radius:7px;color:var(--wm-r2-muted);font-weight:600}.wm-r2-discover-tabs a.active{background:var(--wm-r2-primary);color:#fff}.wm-r2-member-trust{display:flex;gap:7px;flex-wrap:wrap;margin:2px 0 8px}.wm-r2-member-trust span{font-size:11px;padding:4px 7px;border-radius:20px;background:#effaf5;color:var(--wm-r2-ok);font-weight:600}
.wm-r2-register-intro{max-width:720px;margin:24px auto 18px;padding:22px 28px;text-align:center}.wm-r2-register-intro h1{font-size:25px}.wm-r2-steps{display:flex;justify-content:center;gap:0;margin-top:18px}.wm-r2-steps span{min-width:100px;color:#999;position:relative;font-weight:700}.wm-r2-steps span:not(:last-child):after{content:"";position:absolute;height:2px;background:#e6d8de;width:55px;top:9px;right:-28px}.wm-r2-steps span b{display:block;font-size:11px;margin-top:4px}.wm-r2-steps .active{color:var(--wm-r2-primary)}
/* Refine existing cards/forms without changing their structure. */
.m-b,.photo-request,.box-view-profile,.design-process-content{border-radius:14px!important}.m-b{transition:transform .18s ease,box-shadow .18s ease}.m-b:hover{transform:translateY(-2px)}.reg-login-box{max-width:100%!important}.reg-box{max-width:100%!important}.form-control{border-radius:8px}
@media(max-width:767px){.wm-r2-dashboard-hero,.wm-r2-discover-head{display:block;padding:20px}.wm-r2-profile-score{margin-top:20px}.wm-r2-trust-row{grid-template-columns:1fr 1fr}.wm-r2-discover-tabs{margin-top:16px;overflow:auto}.wm-r2-discover-tabs a{white-space:nowrap}.wm-r2-register-intro{margin:12px 12px 16px;padding:18px}.wm-r2-register-intro h1,.wm-r2-dashboard-hero h1,.wm-r2-discover-head h1{font-size:22px}.wm-r2-steps span{min-width:78px}.wm-r2-steps span:not(:last-child):after{width:32px;right:-16px}}
.wm-r2-profile-head{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--wm-r2-line);border-radius:16px;padding:18px 22px;margin-bottom:18px}.wm-r2-profile-head h1{font:700 23px Poppins,sans-serif;color:var(--wm-r2-ink);margin:0 0 5px}.wm-r2-profile-head p{margin:0;color:var(--wm-r2-muted)}.wm-r2-member-trust .wm-r2-fit{background:var(--wm-r2-soft);color:var(--wm-r2-primary)}
@media(max-width:767px){.wm-r2-profile-head{display:block}.wm-r2-profile-head .wm-r2-btn{margin-top:12px}}

/* Release 3 UI refinement: Discover */
.wm-r2-discover-head{position:relative;overflow:hidden;padding:28px 30px;margin:0 0 22px;background:linear-gradient(135deg,#ffffff 0%,#fff8f4 55%,#f3fbf7 100%);border:1px solid #e7e4df;border-radius:20px;box-shadow:0 10px 30px rgba(23,78,61,.08)}
.wm-r2-discover-head:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-65px;top:-95px;background:rgba(15,91,70,.055);pointer-events:none}.wm-r2-discover-head>div,.wm-r2-discover-tabs{position:relative;z-index:1}.wm-r2-discover-head h1{font-size:30px;letter-spacing:-.4px;color:#173f35}.wm-r2-discover-head p{font-size:14px;color:#69766f}.wm-r2-eyebrow{color:#0f5b46;background:#eaf6f1;padding:5px 10px;border-radius:20px;letter-spacing:.09em;margin-bottom:10px}
.wm-r2-discover-tabs{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.86);border:1px solid #e2e8e4;padding:6px;border-radius:13px;box-shadow:0 4px 14px rgba(23,78,61,.06)}.wm-r2-discover-tabs a{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border-radius:9px;color:#53625d!important;font-weight:600;text-decoration:none!important;transition:all .2s ease}.wm-r2-discover-tabs a:hover{background:#f1f7f4;color:#0f5b46!important}.wm-r2-discover-tabs a.active{background:#0f5b46;color:#fff!important;box-shadow:0 5px 13px rgba(15,91,70,.22)}
.wm-r2-member-trust{gap:6px;margin:4px 0 10px}.wm-r2-member-trust span{display:inline-flex;align-items:center;gap:4px;font-size:11px;padding:5px 9px;border:1px solid #d8eee5;border-radius:20px;background:#f1faf6;color:#187052;font-weight:600}.wm-r2-member-trust .wm-r2-fit{border-color:#f0ddd0;background:#fff7f1;color:#a95328}
@media(max-width:767px){.wm-r2-discover-head{padding:21px 18px}.wm-r2-discover-head h1{font-size:24px}.wm-r2-discover-tabs{width:100%;margin-top:18px}.wm-r2-discover-tabs a{flex:1;justify-content:center;padding:10px 9px}.wm-r2-discover-tabs a i{display:none}}
/* Discover page controls/card polish (kept in R2 sheet because Matches loads this sheet) */
.wm-r3-criteria-toggle{border:0!important;border-radius:12px!important;background:linear-gradient(90deg,#0f5b46,#176d55)!important;box-shadow:0 7px 18px rgba(15,91,70,.16)!important;padding:13px 16px!important}.wm-r3-criteria-toggle .saved-search-i{color:#fff!important}.wm-r3-criteria-toggle:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(15,91,70,.22)!important}.p-search a{color:#0f5b46!important;font-weight:700;text-decoration:none!important}.p-search a:hover{text-decoration:underline!important}.sr1{color:#38463f!important}.sr2{color:#68736e!important;font-weight:500!important}@media(max-width:767px){.wm-r3-criteria-toggle{padding:11px!important}}

/* WeMatri Release 6 dashboard spacing refinement - 30 Sep 2026.
   Keep the legacy profile summary visually separate from the modern dashboard hero.
   Scoped to the dashboard relationship: the hero immediately following profile-main-bg-1. */
.profile-main-bg-1 + .wm-r2-dashboard-hero {
    margin-top: 22px;
}
@media (max-width: 767px) {
    .profile-main-bg-1 + .wm-r2-dashboard-hero {
        margin-top: 0;
    }
}
