:root{--owqc-top:0px;--owqc-header-height:160px}
html{scroll-padding-top:calc(var(--owqc-header-height) + var(--owqc-top) + 16px)!important}
body .owqc-sticky-header{position:fixed!important;top:var(--owqc-top)!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;z-index:99980!important;box-shadow:0 3px 15px #002a4420!important}
.owqc-header-space{height:var(--owqc-header-height)}
body .owqc-estimate-link{white-space:nowrap;font-weight:600;text-decoration:underline;text-underline-offset:4px}
body .owqc-quote-secondary{display:inline-flex;align-items:center;justify-content:center;margin:14px 12px 0 0;padding:13px 22px;border-radius:28px;background:#ffd000;color:#00477a;font:700 16px/1.4 Arial,sans-serif;text-decoration:none}
.owqc-mobile-nav{display:none}
#owqc-dialog{box-sizing:border-box;width:min(820px,calc(100% - 28px));max-width:820px;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-top:5px solid #ffd000;border-radius:14px;background:#fff;color:#172f40;box-shadow:0 24px 90px #001d4590;font:16px/1.5 Arial,Helvetica,sans-serif;overflow:hidden}
#owqc-dialog:not([open]){display:none!important}
#owqc-dialog[open]{display:flex;flex-direction:column}
#owqc-dialog::backdrop{background:#001b35bd}
#owqc-dialog *{box-sizing:border-box}
.owqc-dialog-head{display:flex;align-items:flex-start;gap:20px;padding:23px 25px 18px;border-bottom:1px solid #dce5ec;flex-shrink:0}
#owqc-title{font:700 25px/1.25 Arial,sans-serif;color:#00477a;margin:0 0 9px}
#owqc-description{margin:0;font-size:15px;line-height:1.55}
#owqc-close{flex-shrink:0;width:44px;height:44px;border:1px solid #d5dfe6;background:#f3f7fa;color:#00477a;border-radius:50%;font:30px/1 Arial,sans-serif;cursor:pointer}
.owqc-form-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:12px}
#owqc-form-slot iframe{display:block;width:100%;height:570px;min-height:570px;border:0;border-radius:8px}
.owqc-help{text-align:center;margin:10px 0 14px;font-size:14px}.owqc-help a{color:#00477a;text-decoration:underline}
body.owqc-modal-open{overflow:hidden!important}
body.owqc-modal-open chat-widget,body.owqc-modal-open #owqc-mobile-footer{visibility:hidden!important}
#owqc-mobile-footer{display:none}
@media(max-width:767px){
 .owqc-mobile-nav{display:flex!important;align-items:center;gap:20px;overflow-x:auto;white-space:nowrap;padding:10px 16px;background:#ededed;color:#00477a;border-top:1px solid #dce5ec;font:14px/1.5 Arial,sans-serif;scrollbar-width:thin}
 .owqc-mobile-nav a{flex-shrink:0;color:#00477a;text-decoration:none;padding:3px 0}
 .owqc-mobile-nav .owqc-estimate-link{text-decoration:underline}
 #owqc-mobile-footer{display:block;position:fixed;left:0;right:80px;bottom:0;z-index:99970;padding:10px 10px calc(10px + env(safe-area-inset-bottom));background:#00477a;border-radius:0 10px 0 0;box-shadow:0 -3px 14px #001c3426}
 #owqc-mobile-footer button{width:100%;min-height:48px;padding:10px 12px;border:0;border-radius:7px;background:#ffd000;color:#00477a;font:700 15px/1.4 Arial,sans-serif;cursor:pointer}
 body:has(#owqc-mobile-footer){padding-bottom:82px!important}
 body .ow-mobile-quote,body .mobile-quote-bar{display:none!important}
 #owqc-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}
 .owqc-dialog-head{padding:16px 14px;gap:10px}#owqc-title{font-size:21px}#owqc-description{font-size:14px}
 .owqc-form-scroll{padding:4px}#owqc-form-slot iframe{height:760px;min-height:760px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
body .owqc-sticky-header{background:#fff!important;isolation:isolate}
body .owqc-mobile-nav{display:none!important}
#owqc-close{display:grid!important;place-items:center!important;min-width:44px!important;max-width:44px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border-radius:50%!important;line-height:1!important}
@media(max-width:767px){body .owqc-mobile-nav{display:flex!important}}
#ow-roofing .mast.owqc-sticky-header{background:rgba(0,45,74,.98)!important;color:#fff!important}
@media(max-width:767px){
 body .owqc-mobile-nav{flex-wrap:wrap!important;justify-content:center;gap:0 14px!important;padding:4px 12px!important;overflow:visible!important;white-space:normal!important;font-size:12.5px!important;line-height:1.4!important}
 body .owqc-mobile-nav a{padding:9px 0!important;min-height:36px}
 body #owrt-preferences{bottom:calc(88px + env(safe-area-inset-bottom))!important;left:8px!important}
 body.owqc-modal-open #owrt-preferences{visibility:hidden!important}
}
