/* First declared layer gives scoped important overrides predictable precedence. */
@layer mg-quick-contact {
.mg-quick-entry,.mg-callback-card,.mg-quick-article{--mg-q-navy:#1c293e;--mg-q-paper:#fbfaf7;--mg-q-gold:#c1af70;min-width:0}
.mg-quick-entry h2,.mg-callback-card h2,.mg-quick-article h2{margin:0 0 16px;line-height:1.13;font-weight:500;overflow-wrap:break-word}
.mg-q-label{display:block;font-family:'DM Sans',sans-serif;font-size:18px;line-height:1.4;color:inherit;margin:0 0 12px}
.mg-q-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
.mg-q-button{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:50px;padding:12px 18px;border:1px solid #c1af70;background:#1c293e;color:#fbfaf7;text-decoration:none!important;line-height:1.3;font-size:22px;box-sizing:border-box}
.mg-q-button:hover,.mg-q-button:focus-visible{background:#c1af70;color:#1c293e}
.mg-q-button.mg-q-gold{background:#c1af70;color:#1c293e}.mg-q-button.mg-q-gold:hover{background:#1c293e;color:#fbfaf7}
.mg-q-button:focus-visible,.mg-callback-card input:focus-visible,.mg-callback-card select:focus-visible,.mg-callback-card textarea:focus-visible,.mg-callback-card summary:focus-visible{outline:3px solid #8c753b;outline-offset:4px}
.mg-q-help{font-size:21px;line-height:1.45;margin:10px 0 0}
.mg-callback-card{background:#fbfaf7;color:#1c293e;border:1px solid #d1c8ae;border-top:3px solid #c1af70;padding:28px;text-align:left;box-sizing:border-box;scroll-margin-top:105px}
.mg-callback-card h2{font-size:36px!important;color:#1c293e!important}.mg-callback-card p{font-size:21px!important;line-height:1.4!important;margin:0 0 18px!important;color:#1c293e!important}
.mg-callback-card form{display:grid;gap:14px;margin:0}.mg-callback-card label{display:block;font-size:20px!important;line-height:1.35!important;color:#1c293e!important}
.mg-callback-card input:not([type=checkbox]),.mg-callback-card select,.mg-callback-card textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;padding:10px 12px;margin-top:6px;border:1px solid #a9a69c;border-radius:3px;background:white;color:#1c293e;font:18px/1.4 'DM Sans',sans-serif;box-sizing:border-box}
.mg-callback-card textarea{min-height:100px;resize:vertical}.mg-callback-card select{font-size:18px}.mg-callback-card summary{cursor:pointer;min-height:44px;padding:8px 0;font-size:20px}.mg-callback-card details>div{display:grid;gap:14px;padding-top:10px}
.mg-callback-card .mg-q-privacy{display:flex;align-items:flex-start;gap:10px;font-size:18px!important}.mg-q-privacy input{width:20px;height:20px;flex-shrink:0;margin:3px 0}.mg-callback-card button{width:100%;font-size:21px}.mg-callback-card button:disabled{opacity:.7;cursor:not-allowed}
.mg-callback-card .mg-q-note,.mg-callback-card .mg-q-fallback{font-size:18px!important;line-height:1.4!important;margin:0!important}.mg-callback-card [role=status]{border-left:3px solid #c1af70;padding:12px;background:#eee9df;color:#1c293e;font-size:20px;line-height:1.4}.mg-callback-card [hidden]{display:none!important}
.mg-q-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.mg-quick-location{width:min(1280px,calc(100% - 64px));margin:42px auto;scroll-margin-top:105px}.mg-quick-location .mg-q-location-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}.mg-quick-location .mg-quick-entry{padding-top:20px}.mg-quick-entry h2{font-size:42px}
/* The old page applies a horizontal three-step grid to all ordered lists.
   Own this list completely so those columns/arrows cannot leak into it. */
html body .mg-quick-location ol.mg-q-short-process{display:block!important;grid-template-columns:none!important;gap:0!important;width:100%!important;min-width:0!important;max-width:none!important;list-style:none!important;counter-reset:none!important;margin:30px 0 24px!important;padding:0!important;border:0!important;scroll-margin-top:105px}
html body .mg-quick-location ol.mg-q-short-process>li{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;align-items:start!important;gap:16px!important;position:static!important;float:none!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:16px 0!important;list-style:none!important;border:0!important;border-top:1px solid #ddd5c1!important;background:none!important}
html body .mg-quick-location ol.mg-q-short-process>li:last-child{border-bottom:1px solid #ddd5c1!important}
html body .mg-quick-location ol.mg-q-short-process::before,html body .mg-quick-location ol.mg-q-short-process::after,html body .mg-quick-location ol.mg-q-short-process>li::before,html body .mg-quick-location ol.mg-q-short-process>li::after{content:none!important;display:none!important}
html body .mg-quick-location .mg-q-short-process .mg-q-step-number{display:block!important;position:static!important;float:none!important;width:auto!important;margin:3px 0 0!important;padding:0!important;font:500 18px/1.45 'DM Sans',sans-serif!important;font-variant-numeric:lining-nums!important;color:#8b783e!important;background:none!important}
html body .mg-quick-location .mg-q-short-process>li>p{display:block!important;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;font-size:24px!important;line-height:1.45!important;text-align:left!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:auto!important;color:#1c293e!important}
.mg-quick-article{border-top:1px solid #c1af70;border-bottom:1px solid #c1af70;background:#fbfaf7;color:#1c293e;padding:24px;margin:28px 0}.mg-quick-article h2{font-size:32px!important}.mg-quick-article p{font-size:22px!important;margin:0 0 12px}.mg-quick-article .mg-q-actions{margin:16px 0 0}
.mg-quick-strip{padding:26px;border:1px solid #c1af70;margin:24px 0;background:#fbfaf7;color:#1c293e}.mg-quick-strip h2{font-size:32px}.mg-quick-strip .mg-q-actions{margin-bottom:0}
html body #mgah-header#mgah-header .mg-quick-home{margin:0 0 18px;padding:14px 0 20px;border-bottom:1px solid #c1af70;color:#1c293e;background:transparent;display:block}
html body #mgah-header#mgah-header .mg-quick-home h2{font-size:32px!important;line-height:1.13!important;margin:0 0 14px!important;color:#1c293e!important;text-wrap:balance}
html body #mgah-header#mgah-header .mg-quick-home .mg-q-label{font-size:23px!important;line-height:1.25!important;color:#1c293e!important;margin-bottom:10px!important}
html body #mgah-header#mgah-header .mg-quick-home .mg-q-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:0 0 10px!important}
html body #mgah-header#mgah-header .mg-quick-home .mg-q-button{font-size:23px!important;min-height:54px!important;padding:12px 14px!important;color:#fbfaf7!important;background:#1c293e!important;border:1px solid #c1af70!important}
html body #mgah-header#mgah-header .mg-quick-home .mg-q-button:hover{background:#c1af70!important;color:#1c293e!important}
html body #mgah-header#mgah-header .mg-quick-home .mg-q-help{font-size:23px!important;line-height:1.3!important;color:#1c293e!important;margin:0!important}
html body #mgah-header#mgah-header .mg-quick-home .mg-q-help a{color:#1c293e!important;text-decoration:underline;text-underline-offset:4px}
html body.mg-quick-home-page #mgah-header#mgah-header .mgdh-stats{align-self:start!important}
html body.mg-quick-home-page #mgah-header#mgah-header .mg-quick-home-group{grid-column:2!important;grid-row:1!important;align-self:start!important;min-width:0!important;background:#fbfaf7!important}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-copy .mg-q-actions{margin:26px 0 12px!important}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-copy .mg-q-help{color:#fbfaf7!important;font-size:23px!important;line-height:1.4!important}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-copy .mg-q-button{font-size:23px!important}
.mg-quick-mobile{display:none}
@media(max-width:900px){
 html body.mg-quick-home-page #mgah-header#mgah-header .mg-quick-home-group{display:contents!important}
 html body.mg-quick-home-page #mgah-header#mgah-header .mg-quick-home{grid-column:1!important;grid-row:4!important}
 html body.mg-quick-home-page #mgah-header#mgah-header .mgdh-consultation .mgah-g2-cta{grid-row:5!important}
 html body.mg-quick-home-page #mgah-header#mgah-header .mgdh-stats{grid-row:6!important}
 html body.mg-quick-home-page #mgah-header#mgah-header .mgdh-consultation>p{grid-row:7!important}
 .mg-quick-location{width:calc(100% - 40px);margin:28px auto}.mg-quick-location .mg-q-location-grid{grid-template-columns:1fr;gap:24px}.mg-quick-location .mg-quick-entry{padding:0}
 html body .mg-quick-location ol.mg-q-short-process{margin:24px 0!important}
 html body .mg-quick-location .mg-q-short-process>li>p{font-size:22px!important}
 html body #mgah-header#mgah-header .mg-quick-home{padding:22px 10px!important;margin-bottom:4px!important}
 html body #mgah-header#mgah-header .mg-quick-home h2{font-size:30px!important}
 html body #mgah-header#mgah-header .mg-quick-home .mg-q-label{font-size:18px!important}
 html body #mgah-header#mgah-header .mg-quick-home .mg-q-actions{grid-template-columns:1fr!important}
 html body #mgah-header#mgah-header .mg-quick-home .mg-q-button,html body #mgah-header#mgah-header .mg-quick-home .mg-q-help{font-size:22px!important}
 .mg-quick-landing .mg-q-actions{display:grid;grid-template-columns:1fr}.mg-quick-landing .mg-q-button{width:100%}
 .mg-q-mobile-page{padding-bottom:84px!important}.mg-q-mobile-page .mg-floating-contact{display:none!important}
 .mg-q-mobile-page .mg-quick-mobile{display:flex;position:fixed;bottom:0;left:0;right:0;padding:10px 16px max(10px,env(safe-area-inset-bottom));gap:10px;background:#1c293e;border-top:1px solid #c1af70;z-index:850;box-sizing:border-box}
 .mg-quick-mobile .mg-q-button{flex:1;justify-content:center;min-height:48px;font:18px/1.2 'DM Sans',sans-serif;padding:10px}
 .mg-callback-editing .mg-quick-mobile,.mg-consent-open .mg-quick-mobile{display:none!important}
 .mg-callback-card{padding:22px}.mg-callback-card h2{font-size:32px!important}.mg-quick-entry h2{font-size:36px}.mg-quick-article{padding:20px}
}
@media(prefers-reduced-motion:reduce){.mg-q-mobile-page{scroll-behavior:auto}}
.mg-quick-entry .mg-q-button,.mg-q-actions .mg-q-button{color:#fbfaf7!important;background:#1c293e!important}
.mg-q-actions .mg-q-button.mg-q-gold{color:#1c293e!important;background:#c1af70!important}
.mg-quick-entry .mg-q-button:hover,.mg-q-actions .mg-q-button:hover{color:#1c293e!important;background:#c1af70!important}
.mg-quick-entry .mg-q-button span,.mg-q-actions .mg-q-button span{color:inherit!important}
.mg-quick-mobile .mg-q-button{color:#fbfaf7!important;background:#1c293e!important}
.mg-quick-mobile .mg-q-button.mg-q-gold{color:#1c293e!important;background:#c1af70!important}
.mg-callback-card .mg-q-privacy input{width:20px!important;height:20px!important;min-height:20px!important;flex:0 0 20px!important;padding:0!important}
.mg-callback-card .mg-q-privacy span{display:block!important;flex:1!important;width:auto!important;color:#1c293e!important;font-size:18px!important}
.mg-callback-card .mg-q-privacy a{display:inline!important;margin:0!important;padding:0!important;color:#1c293e!important;font-size:inherit!important}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-copy{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-self:start!important;gap:0!important}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-grid{align-items:start!important}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-schema-kicker{order:1!important}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-schema-title{order:2!important}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-schema-lede{order:3!important}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-copy>.mg-q-actions{order:4!important}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-copy>.mg-q-help{order:5!important}
}

@layer mg-quick-contact {
.mg-q-landing-callback {
  width: min(660px, calc(100% - 40px));
  margin: clamp(24px, 5vw, 56px) auto;
}
html body #mgah-header#mgah-header .mg-elegant-eyebrow a {
  font: inherit !important;
  color: #8c402b !important;
  text-decoration: underline !important;
  text-underline-offset: .18em;
}
html body.mg-quick-landing #mgah-header#mgah-header .mg-q-assessment a {
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: .18em;
}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-mg-hero-kicker {
  color: #efb88e !important;
}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-copy .mg-q-gold {
  background: #f0c39e !important;
  border-color: #f0c39e !important;
}
html body.mg-quick-landing #mgah-header#mgah-header .mgah-copy .mg-q-gold:hover,
html body.mg-quick-landing #mgah-header#mgah-header .mgah-copy .mg-q-gold:focus-visible {
  background: #f5d6bc !important;
}
@media (max-width: 900px) {
  body.mg-quick-landing:has(.mg-q-landing-callback form:focus-within) .mg-quick-mobile {
    display: none !important;
  }
}
}
