/* Focused fixes for refreshed inquiry and proof pages. */
@media (min-width:1081px) and (max-width:1350px){.nav-call,#nav .nav-call{display:none!important}}
#request{scroll-margin-top:110px}
body[data-kwm-refresh="home"]{--mh-verm:#b82c0a}
body[data-kwm-refresh="home"] .mh-snum{color:#85837d}
body[data-kwm-refresh="home"] .gc-cite{opacity:1!important}
body[data-kwm-refresh="home"] .gc-cite:not(.gc-cite-you){color:#625f59}
body[data-kwm-refresh="home"] .gc-cite:not(.gc-cite-you) .gc-cite-rank{color:#625f59}
body[data-kwm-refresh="home"] .audit-disclaimer{opacity:1;color:#625f59}
body[data-kwm-refresh="home"] .audit-disclaimer a{color:#9a280a}
body[data-kwm-refresh="home"] .footer-bottom>span{color:#aaa}

img{height:auto}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal,.reveal-l,.reveal-r{opacity:1!important;transform:none!important}}

body[data-kwm-refresh="home"] .dr-faq-num{color:#625f59!important;-webkit-text-stroke:0!important}

/* Controls on the reviewed pages keep a usable mobile hit area. */
#nav .nav-hamburger{min-width:44px;min-height:44px;align-items:center;justify-content:center}
form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),form select{min-height:44px}

/* Keep cabinet consultation controls reachable on narrow screens. */
#modal-overlay{
 z-index:4000;
 padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
}
#modal-overlay .modal-card{
 position:relative;display:flex;flex-direction:column;
 max-height:calc(100vh - 24px);
 max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)));
 overflow:hidden;
}
#modal-overlay .modal-close{
 position:absolute;float:none;top:12px;right:12px;
 margin:0;z-index:3;
 width:44px;height:44px;min-width:44px;min-height:44px;
 background:#121110;border:1px solid rgba(255,255,255,.35);
}
#modal-overlay .modal-head{position:relative;top:auto;z-index:auto;flex:0 0 auto;padding-right:76px}
#modal-overlay .modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
