/* Final scoped light surfaces. Full-page imagery stays visible around content. */
html[data-theme="light"] body.landing-engine-page{overflow:auto!important;background:#ece6da;color:#1c2939;}
html[data-theme="light"] .landing-engine-page .engine-hero{min-height:100svh;height:auto;padding:clamp(16px,4vw,56px);}
html[data-theme="light"] .landing-engine-page .engine-hero__content{width:min(100%,1040px);min-width:0;}
html[data-theme="light"] .landing-engine-page .engine-hero-card{position:relative;transform:none!important;width:100%;max-width:none;min-width:0;height:auto;padding:clamp(22px,4vw,48px);background:#f4efe5!important;color:#1c2939!important;border:1px solid #c9c1b3!important;border-radius:18px;box-shadow:0 16px 48px rgba(22,27,34,.18);}
.landing-engine-page .engine-hero-card__chrome{display:none!important;}
html[data-theme="light"] .landing-engine-page :is(.engine-hero-card__title,.engine-hero-card__claim,.engine-hero-card__slogan){color:#1c2939!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;background:none!important;}
html[data-theme="light"] .landing-engine-page .engine-hero-card__title{font-size:clamp(2rem,5.5vw,4rem)!important;line-height:1.12!important;overflow-wrap:anywhere;}
html[data-theme="light"] .landing-engine-page :is(.engine-hero-card__copy,.engine-hero-card__kicker){color:#526175!important;text-shadow:none!important;}
html[data-theme="light"] .landing-engine-page :is(.engine-landing-nav a,.engine-hero-card__links a){color:#344458!important;display:inline-flex;align-items:center;min-height:44px;}
.landing-engine-page :is(.engine-landing-header,.engine-landing-nav,.engine-hero-card__actions,.engine-hero-card__links){flex-wrap:wrap;gap:12px;}
html[data-theme="light"] .landing-engine-page .engine-hero-button{min-height:48px;height:auto;padding:12px 20px;white-space:normal;text-align:center;line-height:1.4;}
html[data-theme="light"] .landing-engine-page .engine-hero-button--primary{background:#a63e38!important;color:#fff!important;border-color:#a63e38!important;text-shadow:none!important;}
html[data-theme="light"] .landing-engine-page .engine-hero-button--secondary{background:#e9e2d6!important;color:#1c2939!important;border-color:#b7ac9b!important;text-shadow:none!important;}
html[data-theme="light"] body.public-trust-page .public-trust-shell{width:min(1120px,calc(100% - 32px));min-width:0;margin-inline:auto;}
html[data-theme="light"] body.public-trust-page .public-trust-topbar{position:static;display:flex;flex-wrap:wrap;gap:20px;background:#f4efe5!important;color:#1c2939!important;}
body.public-trust-page .public-trust-nav{display:flex;flex-wrap:wrap;gap:8px;}
body.public-trust-page .public-trust-nav a{display:inline-flex;align-items:center;min-height:44px;white-space:normal;}
html[data-theme="light"] body.public-trust-page :is(.wm-legal-hero,.wm-legal-document){background:#f4efe5!important;color:#1c2939!important;}
html[data-theme="light"] body.public-trust-page .wm-legal-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(180px,260px);gap:24px;align-items:start;}
body.public-trust-page .wm-legal-hero>*,body.public-trust-page .wm-legal-facts>div{min-width:0;}
html[data-theme="light"] body.public-trust-page .wm-legal-hero h1{font-size:clamp(1.8rem,4vw,3.2rem)!important;line-height:1.18!important;overflow-wrap:anywhere;hyphens:auto;color:#1c2939!important;margin:0 0 14px!important;}
html[data-theme="light"] body.public-trust-page .wm-legal-summary-card{position:static!important;transform:none!important;background:#e9e2d6!important;border:1px solid #c9c1b3!important;min-width:0;overflow-wrap:anywhere;}
body.public-trust-page :is(.wm-legal-document,.wm-legal-summary-card,.public-trust-footer){overflow-wrap:anywhere;line-height:1.65;}
html[data-theme="light"] body.public-trust-page :is(.wm-legal-document p,.wm-legal-hero .mp-subtitle,.wm-legal-summary-card small){color:#344458!important;}
html[data-theme="light"] body.public-trust-page :is(.wm-legal-summary-card strong,.wm-legal-document h2,.wm-legal-document h3){color:#1c2939!important;line-height:1.4!important;}
html[data-theme="light"] body.public-trust-page .public-trust-nav a{color:#344458!important;}
html[data-theme="light"] body.public-trust-page .public-trust-nav .public-trust-cta{background:#a63e38!important;color:#fff!important;}
:is(body.landing-engine-page,body.public-trust-page) :is(a,button):focus-visible{outline:3px solid #245ca6!important;outline-offset:4px;}
body.auth-page :is(.auth-action-card,.auth-hero-panel){min-width:0;}
body.auth-page :is(h1,h2){overflow-wrap:anywhere;hyphens:auto;}
body.product-private .mp-main .wm-guidance-page{max-width:1060px;margin-inline:auto;}
.wm-help-topics{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0;}
.wm-help-topics a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;background:var(--wmp-surface);border:1px solid var(--wmp-border);border-radius:8px;color:var(--wmp-text);text-underline-offset:3px;}
.wm-help-steps{padding-left:24px;line-height:1.7;}.wm-help-steps li+li{margin-top:8px;}
.wm-guidance-page .help-section{margin:20px 0;scroll-margin-top:32px;}.wm-guidance-page :is(p,li){max-width:80ch;line-height:1.65;}
.wm-guidance-page summary{min-height:44px;padding-block:12px;cursor:pointer;}.wm-guidance-page :is(h1,h2,h3){overflow-wrap:anywhere;line-height:1.3!important;}
html[data-theme="light"][data-accent] body.product-private .mp-main.mp-main .v11-slide-actions a.btn.primary{background:#a63e38!important;border-color:#a63e38!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;text-shadow:none!important;}
html[data-theme="light"][data-accent="blue"] body.product-private .mp-main.mp-main .v11-slide-actions a.btn.primary{background:#245ca6!important;border-color:#245ca6!important;}
body.product-private .mp-main :is(.page-title,.wm-vd-title,.wm-search-result strong,.dashboard-active-copy h2){overflow-wrap:anywhere!important;min-width:0;}
[data-guide-root][hidden]{display:none!important;}[data-guide-card]{max-height:calc(100dvh - 32px);overflow:auto;}
@media(max-width:700px){
 body.public-trust-page .wm-legal-hero{grid-template-columns:minmax(0,1fr)!important;}
 body.public-trust-page .public-trust-shell{width:calc(100% - 24px)!important;}
 .landing-engine-page .engine-hero-card__actions{display:flex;flex-direction:column;align-items:stretch;}
 .landing-engine-page .engine-hero-card__actions a{width:100%;box-sizing:border-box;}
 body.product-private .mp-main .v11-slide-image{height:190px!important;min-height:0!important;}
 body.product-private .mp-main .v11-slide-body{padding:18px!important;min-height:0!important;}
 body.product-private .mp-main .v11-slide-metrics{gap:10px!important;margin-block:16px!important;}
 body.product-private .mp-main .v11-slide-actions{display:flex!important;flex-wrap:wrap;gap:8px!important;}
 body.product-private .mp-main .v11-slide-actions .btn{min-height:44px;white-space:normal;}
 .wm-guidance-page .help-section{padding:20px!important;}.wm-guidance-page .mp-actions{flex-wrap:wrap;}
 body.product-private .mp-main .settings-row{min-width:0;overflow-wrap:anywhere;}
}
