/* Mortgage-only V5 presentation. No mortgage math, account or entitlement changes. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
html:has(body.ds-tool-standalone){scroll-padding-top:24px;background:#faf9f5!important}
body.ds-tool-standalone{
  --mc-page:#faf9f5;--mc-surface:#fff;--mc-ink:#0f1b2d;--mc-muted:#435565;
  --mc-stroke:#cddce2;--mc-field:#fff;--mc-field-text:#11263a;
  --mc-tint:#f0f7f5;--mc-pine:#174d3c;--mc-green:#147966;
  --mc-shadow:0 15px 36px rgba(19,46,48,.065);
  display:flex!important;flex-direction:column!important;min-height:100vh!important;
  margin:0!important;padding:0!important;background:var(--mc-page)!important;
  background-image:none!important;color:var(--mc-ink)!important;font:400 15px/1.55 Inter,Arial,sans-serif!important;
  overflow-x:clip!important;
}
body.ds-tool-standalone::before,body.ds-tool-standalone::after{display:none!important}
body.ds-tool-standalone *,body.ds-tool-standalone *::before,body.ds-tool-standalone *::after{box-sizing:border-box}
body.ds-tool-standalone > .wrap{flex:1 0 auto!important;width:calc(100% - 44px)!important;max-width:1240px!important;min-width:0!important;margin:0 auto!important;padding:0!important;background:transparent!important;border:0!important;overflow:visible!important}
body.ds-tool-standalone .wrap > :is(.site-header,.standalone-tool-nav,.launch-masthead,.screening-disclaimer,.analyzer-mode-switch,#seeItInActionWrap),
body.ds-tool-standalone #businessAnalyzer,body.ds-tool-standalone #propertyAnalyzer > :not(#dscrView):not(#affordabilityView){display:none!important}
body.ds-tool-standalone #propertyAnalyzer{display:block!important;min-width:0!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--mc-ink)!important}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView){display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;background:transparent!important;color:var(--mc-ink)!important}
body.ds-tool-standalone #mainFooter[hidden]{display:none!important}
body.ds-tool-standalone #whatsWhatModal:not(.open),body.ds-tool-standalone #comingSoonModal:not(.open){display:none!important}
/* The exact V5 homepage header proportions; no legacy fixed-width language button. */
body.ds-tool-standalone > .mc-site-header{
  width:100%!important;max-width:none!important;display:flex!important;flex-flow:row nowrap!important;
  align-items:center!important;justify-content:space-between!important;gap:24px!important;
  min-height:0!important;margin:0!important;padding:20px max(4%,calc((100% - 1240px)/2))!important;
  background:#fff!important;color:#0f1b2d!important;border:0!important;border-bottom:1px solid #d8e0e5!important;
  border-radius:0!important;box-shadow:none!important;
}
body.ds-tool-standalone > .mc-site-header .home-logo{
  display:inline-flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;
  font:700 22px/1.2 'Space Grotesk',Inter,sans-serif!important;color:#0f1b2d!important;
  text-decoration:none!important;white-space:nowrap!important;
}
body.ds-tool-standalone > .mc-site-header .home-logo .site-header-name{font:inherit!important;color:inherit!important;text-transform:none!important}
body.ds-tool-standalone > .mc-site-header .home-logo img{display:block!important;width:43px!important;height:43px!important;object-fit:contain!important}
body.ds-tool-standalone > .mc-site-header .mc-main-nav{
  order:1!important;display:flex!important;flex:0 1 auto!important;flex-flow:row wrap!important;
  align-items:center!important;justify-content:flex-start!important;gap:25px!important;
  width:auto!important;min-width:0!important;margin:0 0 0 auto!important;padding:0!important;
  border:0!important;background:transparent!important;overflow:visible!important;
  font:700 14px/1.4 Inter,Arial,sans-serif!important;
}
body.ds-tool-standalone > .mc-site-header .mc-main-nav a{
  display:inline!important;min-height:0!important;padding:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;color:#0f1b2d!important;box-shadow:none!important;
  font:inherit!important;text-decoration:none!important;white-space:nowrap!important;
}
body.ds-tool-standalone > .mc-site-header .mc-main-nav a:hover{color:#087967!important}
body.ds-tool-standalone > .mc-site-header :is(.mc-language-toggle,.mc-theme-toggle){
  order:2!important;display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;
  justify-content:center!important;position:static!important;transform:none!important;
  width:auto!important;height:auto!important;min-width:max-content!important;min-height:39px!important;
  gap:7px!important;padding:7px 11px!important;border:1px solid #d3e0e5!important;
  border-radius:9px!important;background:#fff!important;color:#0f1b2d!important;
  font:700 12px/1.3 Inter,Arial,sans-serif!important;white-space:nowrap!important;cursor:pointer!important;
}
body.ds-tool-standalone > .mc-site-header .mc-theme-toggle{font-size:13px!important;padding-inline:12px!important}
body.ds-tool-standalone > .mc-site-header .mc-language-toggle :is(.language-flag,.mc-language-label){flex-shrink:0!important}
body.ds-tool-standalone > .mc-site-header .mc-language-toggle .language-flag{display:block!important;width:20px!important;height:15px!important;border-radius:2px!important;object-fit:cover!important}
body.ds-tool-standalone > .mc-site-header .mc-theme-icon{font-size:17px!important;line-height:1!important}
/* Intro and feature overview */
body.ds-tool-standalone .mc-page-intro{margin:0 0 26px;padding:54px clamp(22px,4vw,52px) 47px;border:1px solid var(--mc-stroke);border-top:0;border-radius:0 0 19px 19px;background:linear-gradient(115deg,#f8fffc,#fff 52%,#f2f9fe);box-shadow:0 11px 30px rgba(17,42,52,.025)}
.mc-page-intro .mc-intro-inner{display:grid;grid-template-columns:minmax(0,1.17fr) minmax(275px,.83fr);gap:clamp(20px,5vw,72px);align-items:center;min-width:0}
.mc-page-intro .mc-page-kicker,.mc-standalone .mc-heading .ff-kicker{font:800 11px/1.4 Inter,Arial,sans-serif!important;letter-spacing:.18em!important;color:#2454a5!important;text-transform:uppercase!important}
.mc-page-intro h1{margin:19px 0 21px!important;font:700 clamp(36px,4.5vw,62px)/1.12 Inter,Arial,sans-serif!important;letter-spacing:-.045em!important;color:var(--mc-ink)!important}
.mc-page-intro h1 em{font-style:normal;color:var(--mc-pine)}
.mc-page-intro .mc-intro-description{max-width:650px;margin:0;color:var(--mc-muted);font-size:17px;line-height:1.6}
.mc-page-intro .mc-intro-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:27px}
.mc-page-intro .mc-intro-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 16px;border-radius:10px;font:800 13px/1.3 Inter,Arial,sans-serif;text-decoration:none;cursor:pointer;white-space:normal}
.mc-page-intro .mc-action-primary{background:#147966!important;color:#fff!important;border:1px solid #147966!important}
.mc-page-intro .mc-action-primary:hover{background:#0f6555!important}
.mc-page-intro .mc-action-secondary{background:var(--mc-surface)!important;color:var(--mc-ink)!important;border:1px solid #aebfc8!important}
.mc-page-intro .mc-action-secondary:hover{border-color:#147966!important}
.mc-page-intro .mc-intro-note{margin:15px 0 0;color:var(--mc-muted);font-size:12px}
.mc-page-intro .mc-intro-aside{min-width:0;padding:28px;background:var(--mc-surface);border:1px solid var(--mc-stroke);border-radius:21px;box-shadow:var(--mc-shadow);animation:mc-hero-float 8s ease-in-out infinite}
.mc-intro-aside:hover,.mc-intro-aside:focus-within{animation-play-state:paused}
@keyframes mc-hero-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.mc-intro-aside .mc-aside-pill{display:inline-flex;border-radius:30px;padding:7px 13px;background:#e5f4ed;color:#174d3c;font-size:11px;font-weight:800}
.mc-intro-aside .mc-aside-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 20px}
.mc-intro-aside .mc-aside-grid span{min-width:0;text-align:center;padding:12px 6px;border-radius:10px;background:var(--mc-tint);color:var(--mc-pine);font:750 12px/1.35 Inter,Arial,sans-serif}
.mc-intro-aside p{margin:0;color:var(--mc-muted);font-size:13px;line-height:1.55}

body.ds-tool-dscr #affordabilityView,body.ds-tool-affordability #dscrView{display:none!important}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView){display:block!important}
/* DSCR and Affordability only: presentation never alters the original engines or IDs. */
body.ds-tool-standalone{
  --tool-surface:var(--mc-surface);--tool-ink:var(--mc-ink);--tool-muted:var(--mc-muted);
  --tool-stroke:var(--mc-stroke);--tool-tint:var(--mc-tint);--tool-pine:var(--mc-pine);
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView){
  background:transparent!important;background-image:none!important;border:0!important;
  box-shadow:none!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
  color:var(--tool-ink)!important;font:400 15px/1.55 Inter,Arial,sans-serif!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) :is(.dscr-heading,.af-heading){
  margin:16px 0 20px!important;max-width:100%!important;color:var(--tool-ink)!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) :is(.dscr-heading,.af-heading) h2{
  margin:5px 0!important;color:var(--tool-ink)!important;opacity:1!important;
  font:700 clamp(27px,3vw,36px)/1.2 'Space Grotesk',Inter,sans-serif!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) :is(.dscr-heading,.af-heading) p{
  margin:4px 0!important;max-width:790px!important;color:var(--tool-muted)!important;opacity:1!important;
  font:400 15px/1.6 Inter,Arial,sans-serif!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .ff-kicker{
  color:#2056a4!important;letter-spacing:.16em!important;font:800 11px/1.4 Inter,Arial,sans-serif!important;
}
body.ds-tool-standalone #dscrView .dscr-convention-note{
  margin:0 0 20px!important;padding:14px 17px!important;
  border:1px solid var(--tool-stroke)!important;border-left:4px solid #19836c!important;border-radius:12px!important;
  background:var(--tool-tint)!important;color:var(--tool-muted)!important;opacity:1!important;
  box-shadow:none!important;font:400 13px/1.55 Inter,Arial,sans-serif!important;
}
body.ds-tool-standalone #dscrView .dscr-convention-note strong{color:var(--tool-ink)!important}
body.ds-tool-standalone #dscrView .dscr-layout{
  display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
  gap:18px!important;max-width:100%!important;min-width:0!important;align-items:start!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .card{
  min-width:0!important;max-width:100%!important;margin:0!important;padding:25px 26px!important;
  border:1px solid var(--tool-stroke)!important;border-radius:18px!important;
  background:var(--tool-surface)!important;background-image:none!important;
  color:var(--tool-ink)!important;box-shadow:var(--mc-shadow)!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .card h2{
  margin:0 0 8px!important;color:var(--tool-ink)!important;opacity:1!important;
  font:700 22px/1.3 'Space Grotesk',Inter,sans-serif!important;letter-spacing:-.02em!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) :is(.card-sub,.hint){
  color:var(--tool-muted)!important;opacity:1!important;font:400 12px/1.55 Inter,Arial,sans-serif!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .card .grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;
  max-width:100%!important;min-width:0!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .field{
  display:flex!important;flex-direction:column!important;gap:5px!important;
  min-width:0!important;max-width:100%!important;margin:0!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .field[hidden]{display:none!important}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .field label{
  color:var(--tool-ink)!important;opacity:1!important;text-transform:none!important;
  font:700 13px/1.4 Inter,Arial,sans-serif!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .field :is(input,select),
body.ds-tool-standalone #dscrView .dscr-readout{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:46px!important;height:auto!important;padding:10px 12px!important;
  border:1px solid #91aab9!important;border-radius:9px!important;
  background:var(--mc-field)!important;background-image:none!important;color:var(--mc-field-text)!important;
  font:600 14px/1.4 Inter,Arial,sans-serif!important;opacity:1!important;box-shadow:none!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .field input::placeholder{
  color:#52697b!important;opacity:1!important;font-weight:500!important;
}
body.ds-tool-standalone #dscrView .dscr-readout{
  display:flex!important;align-items:center!important;background:var(--tool-tint)!important;
  color:var(--tool-ink)!important;font-weight:750!important;overflow-wrap:anywhere!important;
}
body.ds-tool-standalone #dscrView .inline-input-mode{
  display:grid!important;grid-template-columns:minmax(0,1fr) 69px!important;
  gap:10px!important;padding:0!important;margin:0!important;min-width:0!important;
  background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;
}
body.ds-tool-standalone #dscrView .inline-input-mode::before,
body.ds-tool-standalone #dscrView .inline-input-mode::after{content:none!important;display:none!important}
body.ds-tool-standalone #dscrView .inline-input-mode :is(input,select){
  margin:0!important;width:100%!important;min-width:0!important;border-radius:9px!important;
  background:var(--mc-field)!important;background-image:none!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) :is(input,select).attention-required,
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) :is(input,select)[aria-invalid="true"]{
  border:2px solid #c65b22!important;box-shadow:0 0 0 3px rgba(198,91,34,.13)!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) :is(input,select):focus-visible{
  outline:3px solid #147966!important;outline-offset:2px!important;
}
body.ds-tool-standalone #dscrView #dscr_clear{
  margin:12px 0 0!important;padding:10px 15px!important;border:1px solid var(--tool-stroke)!important;
  border-radius:10px!important;background:var(--tool-tint)!important;color:var(--tool-pine)!important;
  font:700 12px Inter,Arial,sans-serif!important;
}
body.ds-tool-standalone #dscrView .dscr-primary-result{
  padding:22px!important;margin:0 0 14px!important;border:1px solid var(--tool-stroke)!important;
  border-radius:14px!important;text-align:left!important;
  background:var(--tool-tint)!important;background-image:none!important;
}
body.ds-tool-standalone #dscrView .dscr-primary-result span,
body.ds-tool-standalone #dscrView .dscr-primary-result small{
  color:var(--tool-muted)!important;opacity:1!important;letter-spacing:normal!important;
}
body.ds-tool-standalone #dscrView .dscr-primary-result strong{
  margin:7px 0!important;color:var(--tool-pine)!important;opacity:1!important;
  font:750 clamp(39px,4vw,51px)/1.1 'Space Grotesk',Inter,sans-serif!important;
}
body.ds-tool-standalone #dscrView .dscr-status-card{
  margin:0 0 14px!important;padding:15px 17px!important;
  background:var(--tool-tint)!important;border:1px solid var(--tool-stroke)!important;
  color:var(--tool-ink)!important;border-radius:11px!important;
}
body.ds-tool-standalone #dscrView .dscr-status-card :is(strong,span){color:var(--tool-ink)!important;opacity:1!important}
body.ds-tool-standalone #dscrView .dscr-status-card.good{background:#e3f4eb!important;border-color:#90c5aa!important}
body.ds-tool-standalone #dscrView .dscr-status-card.good strong{color:#175c47!important}
body.ds-tool-standalone #dscrView .dscr-status-card.warn{background:#fff2d9!important;border-color:#d6ad65!important}
body.ds-tool-standalone #dscrView .dscr-status-card.warn strong{color:#845214!important}
body.ds-tool-standalone #dscrView .dscr-status-card.bad{background:#fce8e4!important;border-color:#dda59a!important}
body.ds-tool-standalone #dscrView .dscr-status-card.bad strong{color:#9a3f31!important}
body.ds-tool-standalone #dscrView .dscr-breakdown>div,
body.ds-tool-standalone #affordabilityView .af-breakdown>div{
  display:flex!important;justify-content:space-between!important;align-items:baseline!important;
  gap:12px!important;padding:12px 2px!important;border-bottom:1px solid var(--tool-stroke)!important;
  background:transparent!important;color:var(--tool-muted)!important;min-width:0!important;
}
body.ds-tool-standalone #dscrView .dscr-breakdown strong,
body.ds-tool-standalone #affordabilityView .af-breakdown strong{color:var(--tool-ink)!important;font:750 14px 'Space Grotesk',Inter,sans-serif!important;white-space:nowrap!important}
body.ds-tool-standalone #dscrView .dscr-breakdown-total,
body.ds-tool-standalone #affordabilityView .af-breakdown-total{border-top:2px solid var(--tool-stroke)!important;font-weight:800!important}
body.ds-tool-standalone #dscrView .dscr-target-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:17px 0!important;
}
body.ds-tool-standalone #dscrView .dscr-target-grid>div{
  min-width:0!important;padding:13px!important;background:var(--tool-tint)!important;
  border:1px solid var(--tool-stroke)!important;border-radius:11px!important;
}
body.ds-tool-standalone #dscrView .dscr-target-grid span{color:var(--tool-muted)!important;opacity:1!important}
body.ds-tool-standalone #dscrView .dscr-target-grid strong{color:var(--tool-ink)!important;overflow-wrap:anywhere!important}
body.ds-tool-standalone #dscrView .dscr-gap-row{
  background:var(--tool-tint)!important;border:1px solid var(--tool-stroke)!important;border-radius:10px!important;
  color:var(--tool-muted)!important;padding:12px!important;
}
body.ds-tool-standalone #dscrView .dscr-gap-row strong{color:var(--tool-ink)!important;overflow-wrap:anywhere!important}
/* Affordability: keep the original result readouts and calculator fields. */
body.ds-tool-standalone #affordabilityView{display:flex!important;flex-direction:column!important;gap:18px!important}
body.ds-tool-standalone #affordabilityView .af-result-strip{
  position:static!important;top:auto!important;z-index:auto!important;display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;
  width:100%!important;margin:0!important;padding:15px!important;
  background:var(--tool-surface)!important;background-image:none!important;border:1px solid var(--tool-stroke)!important;
  border-radius:16px!important;box-shadow:var(--mc-shadow)!important;
}
body.ds-tool-standalone #affordabilityView .af-result-cell{
  min-width:0!important;background:var(--tool-tint)!important;border:1px solid var(--tool-stroke)!important;
  border-radius:12px!important;padding:17px!important;color:var(--tool-ink)!important;
}
body.ds-tool-standalone #affordabilityView .af-result-label,
body.ds-tool-standalone #affordabilityView .af-result-sub{color:var(--tool-muted)!important;opacity:1!important}
body.ds-tool-standalone #affordabilityView .af-result-value{
  color:var(--tool-pine)!important;opacity:1!important;
  font:750 clamp(22px,2.8vw,34px)/1.2 'Space Grotesk',Inter,sans-serif!important;
  overflow-wrap:anywhere!important;
}
body.ds-tool-standalone #affordabilityView .af-result-value.small{font-size:clamp(19px,2.1vw,25px)!important}
body.ds-tool-standalone #affordabilityView .af-binding-note{
  margin:4px 0 0!important;padding:14px!important;border:1px solid var(--tool-stroke)!important;
  border-left:4px solid #19836c!important;border-radius:10px!important;
  background:var(--tool-tint)!important;color:var(--tool-muted)!important;
}
body.ds-tool-standalone #affordabilityView .af-breakdown>div span{color:var(--tool-muted)!important;opacity:1!important}
body.ds-tool-standalone #affordabilityView .af-breakdown-total strong{color:var(--tool-pine)!important;font-size:20px!important}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) > .screening-disclaimer.bottom{
  margin:0!important;padding:17px 19px!important;background:var(--tool-tint)!important;background-image:none!important;
  color:var(--tool-muted)!important;border:1px solid var(--tool-stroke)!important;border-radius:13px!important;
  opacity:1!important;font:400 12px/1.6 Inter,Arial,sans-serif!important;
}
body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) > .screening-disclaimer.bottom strong{color:var(--tool-ink)!important}
body.ds-tool-standalone > .ds-shared-footer{
  flex:0 0 auto!important;width:100%!important;max-width:100%!important;
  margin:32px 0 0!important;padding:38px max(22px,calc((100% - 1240px)/2))!important;
  border:0!important;border-radius:0!important;background:#14273a!important;color:#fff!important;text-align:center!important;
}
body.ds-tool-standalone > .ds-shared-footer :is(a,p,small){color:#e7f1f7!important}
body.ds-tool-standalone :is(a,button,input,select):focus-visible{outline:3px solid #147966!important;outline-offset:2px!important}
html[data-theme="dark"]:has(body.ds-tool-standalone){background:#16150f!important}
html[data-theme="dark"] body.ds-tool-standalone{
  --mc-page:#16150f;--mc-surface:#24231c;--mc-ink:#f7f4ec;--mc-muted:#cbc5b8;
  --mc-stroke:#504d40;--mc-field:#211f19;--mc-field-text:#f7f4ec;
  --mc-tint:#302e25;--mc-pine:#a4e5c5;--mc-green:#a4e5c5;
  --mc-shadow:0 14px 36px rgba(0,0,0,.2);
  background:#16150f!important;background-image:none!important;color:var(--mc-ink)!important;
}
html[data-theme="dark"] body.ds-tool-standalone > .mc-site-header{background:#1c1b15!important;border-bottom-color:#504d40!important}
html[data-theme="dark"] body.ds-tool-standalone > .mc-site-header :is(.mc-language-toggle,.mc-theme-toggle){background:#302e25!important;border-color:#504d40!important;color:#f7f4ec!important}
html[data-theme="dark"] body.ds-tool-standalone > .mc-site-header :is(.home-logo,.home-logo .site-header-name,.mc-main-nav a){color:#f7f4ec!important}
html[data-theme="dark"] body.ds-tool-standalone .mc-page-intro{
  background:linear-gradient(115deg,#1f1e17,#25231c 60%,#28251e)!important;border-color:#504d40!important;
}
html[data-theme="dark"] body.ds-tool-standalone .mc-intro-aside{background:#24231c!important;border-color:#504d40!important}
html[data-theme="dark"] body.ds-tool-standalone .mc-intro-aside .mc-aside-grid span{background:#302e25!important;color:#e3e8d5!important}
html[data-theme="dark"] body.ds-tool-standalone .mc-action-secondary{background:#24231c!important;color:#f7f4ec!important;border-color:#807968!important}
html[data-theme="dark"] body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .field :is(input,select),
html[data-theme="dark"] body.ds-tool-standalone #dscrView .dscr-readout{
  background:#211f19!important;color:#f7f4ec!important;border-color:#857e6c!important;
}
html[data-theme="dark"] body.ds-tool-standalone #dscrView .inline-input-mode :is(input,select){background:#211f19!important;color:#f7f4ec!important;border-color:#857e6c!important}
html[data-theme="dark"] body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) input::placeholder{color:#bab4a6!important;opacity:1!important}
html[data-theme="dark"] body.ds-tool-standalone #dscrView .dscr-status-card.good{background:#243f32!important;border-color:#50886a!important}
html[data-theme="dark"] body.ds-tool-standalone #dscrView .dscr-status-card.good strong{color:#a9ebc3!important}
html[data-theme="dark"] body.ds-tool-standalone #dscrView .dscr-status-card.warn{background:#483720!important;border-color:#997741!important}
html[data-theme="dark"] body.ds-tool-standalone #dscrView .dscr-status-card.warn strong{color:#ffdfa0!important}
html[data-theme="dark"] body.ds-tool-standalone #dscrView .dscr-status-card.bad{background:#472923!important;border-color:#9c5e52!important}
html[data-theme="dark"] body.ds-tool-standalone #dscrView .dscr-status-card.bad strong{color:#ffb7a7!important}
html[data-theme="dark"] body.ds-tool-standalone > .ds-shared-footer{background:#1c1b15!important;border:1px solid #504d40!important;border-left:0!important;border-right:0!important;border-bottom:0!important}
@media(max-width:930px){
  body.ds-tool-standalone #dscrView .dscr-layout{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:850px){
  body.ds-tool-standalone > .mc-site-header{flex-wrap:wrap!important;gap:12px!important;padding:16px 4%!important}
  body.ds-tool-standalone > .mc-site-header .mc-main-nav{order:3!important;flex:1 0 100%!important;width:100%!important;margin:0!important;gap:13px 20px!important}
  body.ds-tool-standalone > .mc-site-header .mc-theme-toggle{margin-left:auto!important}
  .mc-page-intro .mc-intro-inner{grid-template-columns:1fr!important;gap:22px!important}
  .mc-page-intro .mc-intro-aside{max-width:580px;width:100%}
  body.ds-tool-standalone > .wrap{width:calc(100% - 28px)!important}
  body.ds-tool-standalone .mc-page-intro{padding:30px 24px!important}
}
@media(max-width:650px){
  body.ds-tool-standalone > .mc-site-header .home-logo{font-size:17px!important}
  body.ds-tool-standalone > .mc-site-header .home-logo img{width:36px!important;height:36px!important}
  body.ds-tool-standalone > .mc-site-header .mc-main-nav{font-size:12px!important;gap:11px 17px!important}
  body.ds-tool-standalone > .mc-site-header :is(.mc-language-toggle,.mc-theme-toggle){min-height:36px!important;padding:6px 10px!important}
  body.ds-tool-standalone > .mc-site-header .mc-theme-label{display:none!important}
  body.ds-tool-standalone > .wrap{width:calc(100% - 24px)!important}
  body.ds-tool-standalone .mc-page-intro{padding:26px 19px!important}
  body.ds-tool-standalone .mc-page-intro h1{font-size:clamp(32px,8vw,45px)!important}
  body.ds-tool-standalone .mc-page-intro .mc-intro-description{font-size:15px!important}
  body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .card{padding:19px 16px!important}
  body.ds-tool-standalone #propertyAnalyzer > :is(#dscrView,#affordabilityView) .card .grid{grid-template-columns:minmax(0,1fr)!important}
  body.ds-tool-standalone #affordabilityView .af-result-strip{grid-template-columns:minmax(0,1fr)!important}
  body.ds-tool-standalone #dscrView .dscr-target-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:430px){
  body.ds-tool-standalone #dscrView .dscr-target-grid{grid-template-columns:minmax(0,1fr)!important}
  body.ds-tool-standalone #dscrView .dscr-breakdown>div,
  body.ds-tool-standalone #affordabilityView .af-breakdown>div{flex-wrap:wrap!important}
}
@media(prefers-reduced-motion:reduce){
  body.ds-tool-standalone *,body.ds-tool-standalone *::before,body.ds-tool-standalone *::after{
    animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important;
  }
  body.ds-tool-standalone .mc-page-intro .mc-intro-aside{animation:none!important}
}
/* Override the legacy high-specificity navy body gradient in light mode too. */
html body.ds-tool-standalone.analyzer-property,
html body.ds-tool-standalone.analyzer-business{
  background:var(--mc-page)!important;background-image:none!important;
  background-attachment:scroll!important;color:var(--mc-ink)!important;
}
html[data-theme="dark"] body.ds-tool-standalone.analyzer-property,
html[data-theme="dark"] body.ds-tool-standalone.analyzer-business{
  background:#16150f!important;background-image:none!important;
  color:#f7f4ec!important;
}
/* Each route must expose exactly one calculator. Do not let the shared :is selector show both. */
body.ds-tool-dscr #propertyAnalyzer > #affordabilityView,
body.ds-tool-affordability #propertyAnalyzer > #dscrView{display:none!important}
