/* V204: targeted responsive and interaction polish. Loaded after V203. */
body[data-v204="true"] .button .ui-arrow-v140{display:none!important}
body[data-v204="true"] button[data-carousel-prev]::after,
body[data-v204="true"] button[data-carousel-next]::after,
body[data-v204="true"] #process .process-mobile-arrow-v199::after{content:none!important;display:none!important}
body[data-v204="true"] button[data-carousel-prev]::before,
body[data-v204="true"] button[data-carousel-next]::before,
body[data-v204="true"] #process .process-mobile-arrow-v199::before{width:10px!important;height:10px!important;border-width:2px!important}

/* A callback chosen in the contact picker needs a clear selected channel. */
body[data-v204="true"] .contact-preference-v111 input:checked+span{border-color:#bd842d!important}

/* Keep the floating contact control clear of the quiz and open dialogs. */
body[data-v204="true"].v204-quiz-visible .messenger-float-v48,
body[data-v204="true"].modal-open .messenger-float-v48,
body[data-v204="true"].contact-picker-open .messenger-float-v48{display:none!important}

/* A native hidden attribute must also beat the site's display rules. */
body[data-v204="true"] #quiz [hidden]{display:none!important}
body[data-v204="true"] #quiz .quiz-form-success-v153:not([hidden]){
  display:grid!important;gap:7px!important;margin-top:14px!important;padding:21px 23px!important;
  border:1px solid rgba(46,122,77,.28)!important;border-radius:17px!important;
  background:#eef8f0!important;box-shadow:0 10px 24px rgba(20,55,43,.06)!important;
}
body[data-v204="true"] #quiz .quiz-form-success-v153 strong{color:#15583b!important;font-size:19px!important;line-height:1.25!important}
body[data-v204="true"] #quiz .quiz-form-success-v153 span{color:#254b3c!important;font-size:14px!important;line-height:1.5!important}

/* The question card follows its content instead of inheriting a 710px void. */
@media (min-width:1100px){
  html body[data-v204="true"] #quiz .quiz-v188__layout{height:auto!important;min-height:0!important;max-height:none!important;align-items:stretch!important}
  html body[data-v204="true"] #quiz .quiz-v188__aside{height:auto!important;min-height:570px!important}
  html body[data-v204="true"] #quiz .quiz-v188__shell{align-self:start!important}
  html body[data-v204="true"] #quiz .quiz-v188__card{height:auto!important;min-height:0!important}
  html body[data-v204="true"] #quiz .quiz-v188__actions{margin-top:24px!important}
}

/* Mid-size desktop header: keep full actions and offer navigation in a proper menu. */
@media (min-width:1101px) and (max-width:1399px){
  html body[data-v204="true"] .site-header-v51{position:sticky!important;top:0!important;z-index:110!important}
  html body[data-v204="true"] .site-header-v51 .header51-top{justify-content:space-between!important}
  html body[data-v204="true"] .site-header-v51 .header51-actions{min-width:0!important;gap:8px!important}
  html body[data-v204="true"] .site-header-v51 .header51-write-v107{display:none!important}
  html body[data-v204="true"] .site-header-v51 .menu-toggle{display:block!important;flex:0 0 46px!important;width:46px!important;height:46px!important;padding:11px!important;border:1px solid rgba(174,112,37,.3)!important;border-radius:13px!important;background:#fff!important}
  html body[data-v204="true"] .site-header-v51 .menu-toggle i{display:block!important;height:2px!important;margin:4px 0!important;background:#14345c!important}
  html body[data-v204="true"] .site-header-v51 .main-nav{position:fixed!important;z-index:65!important;top:10px!important;right:10px!important;width:min(370px,calc(100vw - 20px))!important;max-height:calc(100svh - 20px)!important;padding:70px 18px 22px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;overflow:auto!important;opacity:0!important;visibility:hidden!important;border:1px solid rgba(211,164,94,.4)!important;border-radius:22px!important;background:#fffdf8!important;box-shadow:0 28px 80px rgba(7,16,36,.25)!important;transition:opacity .2s ease,visibility .2s ease!important}
  html body[data-v204="true"] .site-header-v51 .main-nav.is-open{opacity:1!important;visibility:visible!important}
  html body[data-v204="true"] .site-header-v51 .main-nav>a{display:flex!important;min-height:47px!important;padding:12px 10px!important;font-size:19px!important;border-bottom:1px solid rgba(157,103,38,.11)!important}
  html body[data-v204="true"] .site-header-v51 .nav-mobile-contact{display:grid!important;gap:12px!important;margin-top:12px!important;padding-top:12px!important}
  html body[data-v204="true"] .site-header-v51 .nav-scrim{position:fixed!important;inset:0!important;z-index:60!important}
  html body[data-v204="true"].menu-open .site-header-v51 .nav-scrim{display:block!important;pointer-events:auto!important;opacity:1!important}
}

@media (min-width:769px) and (max-width:1180px){
  html body[data-v204="true"] #process .process-grid-v198 article:last-child{grid-column:1/-1!important;width:calc(50% - 8px)!important;justify-self:center!important;min-height:270px!important}
}

@media (max-width:768px){
  /* In the document flow, the consent choice cannot cover the first CTA. */
  html body[data-v204="true"] .cookie-consent-v108:not([hidden]){position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;margin:0!important;padding:12px 14px!important;pointer-events:auto!important;background:#fbf7ef!important}
  html body[data-v204="true"] .cookie-consent-card-v108{width:100%!important;max-width:680px!important;margin:auto!important;padding:14px!important;gap:10px!important;border-radius:16px!important;box-shadow:0 9px 28px rgba(12,23,42,.10)!important}
  html body[data-v204="true"] .cookie-consent-actions-v108 .button{min-height:44px!important;height:auto!important;white-space:normal!important;font-size:11.5px!important;line-height:1.2!important;padding:8px 9px!important}
  html body[data-v204="true"] .cookie-consent-actions-v108 .button::after{display:none!important}
  html body[data-v204="true"] #reviews [data-proof-panel="cases"] .proof-controls-v186{display:none!important}
  html body[data-v204="true"] #reviews .story-v186-card{height:auto!important;max-height:none!important;align-self:flex-start!important}
  html body[data-v204="true"] #reviews .story-v186-content{height:auto!important;max-height:none!important;overflow:visible!important}
  html body[data-v204="true"] #reviews .story-v186-content blockquote{display:block!important;height:auto!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important}
  html body[data-v204="true"] #property .property45-cards{grid-template-columns:1fr!important;gap:12px!important}
  html body[data-v204="true"] #property .property45-card{display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;grid-template-rows:auto!important;min-height:146px!important;align-items:stretch!important}
  html body[data-v204="true"] #property .property45-card>img{display:block!important;grid-column:1!important;grid-row:1!important;width:108px!important;height:100%!important;min-height:146px!important;object-fit:cover!important}
  html body[data-v204="true"] #property .property45-card-copy{grid-column:2!important;grid-row:1!important;padding:16px!important}
  html body[data-v204="true"] #property .property45-card p{font-size:13.5px!important;line-height:1.5!important}
  html body[data-v204="true"] .site-footer-v201 .footer-v201__legal{font-size:11.5px!important;line-height:1.58!important;color:#b5c0d0!important}
  html body[data-v204="true"] .site-footer-v201 .footer-v201__bottom{font-size:11.5px!important;color:#b5c0d0!important}
}
@media (max-width:390px){
  html body[data-v204="true"] #property .property45-card{grid-template-columns:86px minmax(0,1fr)!important}
  html body[data-v204="true"] #property .property45-card>img{width:86px!important}
  html body[data-v204="true"] #property .property45-card-copy{padding:13px!important}
}
@media (min-width:700px) and (max-width:768px){
  /* This range keeps the existing fixed header, so reserve its height in flow. */
  html body[data-v204="true"] .cookie-consent-v108:not([hidden]){padding-top:88px!important}
}
