.ai-quote-btn{margin:2px 0 4px;background:#fff;color:#08243f;border:2px solid #b08644;border-radius:10px;padding:12px 14px;font-weight:800;font-size:15px;cursor:pointer;width:100%}
.ai-quote-btn:disabled{opacity:.6;cursor:wait}
.ai-quote-box{display:none;border:1px solid #e5e2da;border-left:4px solid #b08644;background:#fbfaf6;border-radius:10px;padding:12px 14px;font-size:15px;line-height:1.45;color:#162432;overflow-wrap:anywhere}
.ai-quote-box.show{display:block}
.ai-quote-box .aq-range{font-size:22px;font-weight:800;color:#08243f;margin:2px 0}
.ai-quote-box .aq-cat{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#9d7437}
.ai-quote-box .aq-disc{font-size:13px;color:#5e6b75;margin-top:6px}
.ai-quote-box p{margin:4px 0}
#chs-chat-fab{position:fixed;right:16px;bottom:20px;z-index:9998;background:#08243f;color:#fff;border:2px solid #b08644;border-radius:999px;padding:12px 16px;font-weight:800;font-size:15px;box-shadow:0 6px 18px rgba(0,0,0,.25);cursor:pointer}
#chs-chat{position:fixed;right:16px;bottom:20px;z-index:10000;width:min(370px,calc(100vw - 24px));height:min(520px,calc(100dvh - 40px));background:#fff;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.3);display:none;flex-direction:column;overflow:hidden;font-size:15px;color:#162432}
#chs-chat.open{display:flex}
#chs-chat header{all:unset;display:flex;align-items:center;justify-content:space-between;background:#08243f;color:#fff;padding:12px 14px;font-weight:800}
#chs-chat header small{display:block;font-weight:500;opacity:.8;font-size:12px}
#chs-chat .cc-x{background:none;border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:4px 8px}
#chs-chat .cc-log{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#fbfaf6}
#chs-chat .cc-m{max-width:85%;padding:9px 12px;border-radius:12px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
#chs-chat .cc-b{background:#fff;border:1px solid #e5e2da;align-self:flex-start}
#chs-chat .cc-u{background:#08243f;color:#fff;align-self:flex-end}
#chs-chat .cc-acts{display:flex;gap:6px;flex-wrap:wrap;padding:8px 12px 0;background:#fff}
#chs-chat .cc-acts a{font-size:13px;font-weight:800;text-decoration:none;color:#08243f;border:1.5px solid #b08644;border-radius:999px;padding:5px 10px}
@media(max-width:900px){#chs-chat-fab{bottom:calc(78px + env(safe-area-inset-bottom));right:12px;padding:10px 14px}#chs-chat{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));height:min(520px,calc(100dvh - 24px))}}
.ai-quote-box .aq-price{font-weight:800;color:#08243f}
#chs-chat form.cc-form{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5e2da;margin:0;width:auto!important;grid-template-columns:none!important}
#chs-chat input.cc-in{-webkit-appearance:none;appearance:none;display:block!important;flex:1 1 auto!important;-webkit-flex:1 1 auto;width:auto!important;min-width:0!important;max-width:none!important;height:46px!important;min-height:46px;margin:0!important;font-size:16px!important;line-height:1.2;color:#162432!important;background:#fff!important;padding:0 12px!important;border:1.5px solid #8a96a1!important;border-radius:10px;box-sizing:border-box}
#chs-chat input.cc-in::placeholder{color:#6b7782;opacity:1}
#chs-chat input.cc-in:focus{outline:none;border-color:#b08644!important;box-shadow:0 0 0 3px rgba(176,134,68,.25)}
#chs-chat button.cc-send{flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:30%;height:46px!important;margin:0!important;background:#b08644;color:#fff;border:0;border-radius:10px;padding:0 16px!important;font-weight:800;font-size:15px;cursor:pointer}
html.chs-chat-open .chs-mobile-bar{display:none!important}
@media(max-width:900px){#chs-chat.open{left:8px;right:8px;width:auto;bottom:auto;top:8px;height:calc(100dvh - 16px)}}

/* v4: phones use sticky bottom bar only */
@media (max-width:768px){
  body .v10-mobile-actions,body.v10-home .v10-mobile-actions,body.inner-page .v10-mobile-actions,.inner-page .v10-mobile-actions{display:none!important}
  .v10-hero-actions .v10-primary,.v10-hero-actions .v10-secondary{display:none!important}
  .v10-hero-copy-panel{padding-top:18px!important;padding-bottom:14px!important}
  .v10-hero-copy h1{margin-top:0!important;margin-bottom:10px!important}
  .v10-hero-copy p{margin-bottom:14px!important}
  .v10-hero-actions{margin-bottom:10px!important;gap:8px!important}
  .v10-proofline{margin:6px 0!important}
  .v10-hero-copy .chs-insured-badge{margin-top:6px!important}
}

/* v4: WCAG AA contrast */
.v10-secondary{background:#8a6429!important;color:#fff!important}
.v10-secondary:hover{background:#6f5020!important}
.chs-quote-btn{background:#8a6429!important;color:#fff!important}
.chs-quote-btn:hover{background:#08243f!important}
.chs-service-card:not(.chs-featured) .chs-card-more{color:#7a5a12!important}
.v10-overview-head span,.eyebrow.dark,#reviews .eyebrow,#contact .eyebrow,.chs-job-head span,#reviews a.text-link{color:#7a5a12!important}
.chs-service-card .chs-card-more,a.inline-phone{color:#7a5a12!important}
.contact-note{color:#5f6a73!important}
.chs-mobile-bar a.q{background:#8a6429!important}

/* v5: phone hero cleanup - separator, trust strip on top, no hero quote btn */
@media (max-width:768px){
  .v10-hero-actions,.v10-hero-actions .chs-quote-btn,.v10-hero .chs-quote-btn{display:none!important}
  header{border-bottom:2px solid #8a6429!important}
  .v10-hero-copy-panel{padding-top:0!important;padding-bottom:10px!important}
  .v10-hero-copy{display:flex!important;flex-direction:column!important}
  .v10-hero-copy .v10-proofline{order:-1;align-self:stretch;text-align:center;justify-content:center;margin:0 -20px 12px!important;padding:7px 10px!important;background:#f4efe4;border-bottom:1px solid rgba(138,100,41,.25);font-size:12.5px!important;line-height:1.3;white-space:normal}
  .v10-hero-copy h1{margin-top:0!important;margin-bottom:8px!important}
  .v10-hero-copy p{margin-bottom:8px!important}
  .v10-hero-copy .chs-insured-badge{margin-top:2px!important;align-self:flex-start}
}
@media (max-width:768px){
  .v10-hero{padding-top:0!important;margin-top:0!important}
  .v10-hero-copy-panel,.v10-hero-copy{margin-top:0!important;padding-top:0!important}
  .v10-hero-copy .v10-proofline{width:100vw;max-width:100vw;box-sizing:border-box;margin:0 0 12px calc(50% - 50vw)!important;border-top:2px solid #8a6429;display:flex!important;flex-wrap:wrap}
  .v10-hero-copy-panel{padding-bottom:6px!important}
  .v10-hero-copy .chs-insured-badge{margin-bottom:4px!important}
}
@media (max-width:768px){
  body .v10-hero .v10-hero-copy-panel .v10-hero-copy{padding-top:0!important}
  body .v10-hero .v10-hero-copy .v10-proofline{width:calc(100% + 40px)!important;max-width:none!important;margin:0 -20px 12px!important}
}
#quote-form{scroll-margin-top:100px}
/* v6: hero trust pills + review line (phones) */
.chs-pill-extra,.chs-hero-review{display:none}
#quote-start{scroll-margin-top:100px}
@media (max-width:768px){
  .v10-hero-copy .chs-pill-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:2px}
  .v10-hero-copy .chs-pill-row .chs-insured-badge{display:inline-flex!important;margin:0!important;padding:6px 10px!important;font-size:11.5px!important;gap:5px;white-space:nowrap}
  .v10-hero-copy .chs-pill-row .chs-insured-badge svg{width:14px;height:14px}
  .v10-hero-copy .chs-hero-review{display:block;margin-top:8px;font-size:13.5px;color:#162432;text-decoration:none;line-height:1.3}
  .chs-hero-review .stars{color:#b08644;letter-spacing:1px;font-style:normal}
}
@media (max-width:768px){
  .v10-hero-copy .chs-pill-row{gap:5px;flex-wrap:wrap}
  .v10-hero-copy .chs-pill-row .chs-insured-badge{padding:5px 8px!important;font-size:10.5px!important;letter-spacing:0!important;gap:4px}
  .v10-hero-copy .chs-pill-row .chs-insured-badge svg{width:12px;height:12px}
  .v10-hero-copy p{margin-bottom:10px!important}
  .v10-hero-copy .chs-hero-review{margin-top:7px}
}
@media (max-width:768px){.v10-hero-copy .chs-pill-row{gap:4px}.v10-hero-copy .chs-pill-row .chs-insured-badge{padding:5px 7px!important;font-size:10px!important}}
@media (max-width:389px){.v10-hero-copy .chs-pill-row{gap:3px;flex-wrap:nowrap}.v10-hero-copy .chs-pill-row .chs-insured-badge{padding:4px 5px!important;font-size:clamp(7.6px,2.55vw,10px)!important;gap:3px}.v10-hero-copy .chs-pill-row .chs-insured-badge svg{width:10px;height:10px}}
@media (max-width:374px){.v10-hero-copy h1{font-size:clamp(30px,11.6vw,44px)!important}}
@media (max-width:374px){body .v10-hero .v10-hero-copy h1,body .v10-hero .v10-hero-copy h1 .headline-line{font-size:9.3vw!important}}
/* v8: trust pills always one line + tighter hero spacing (phones) */
@media (max-width:768px){
  .v10-hero-copy .chs-pill-row{flex-wrap:nowrap!important;justify-content:center;align-self:stretch;gap:4px!important;margin-top:0!important}
  .v10-hero-copy .chs-pill-row .chs-insured-badge{flex:0 0 auto;padding:4px 6px!important;font-size:min(10px,2.45vw)!important;letter-spacing:0!important;gap:3px!important;align-self:auto!important}
  .v10-hero-copy .chs-pill-row .chs-insured-badge svg{width:10px;height:10px}
  .v10-hero-copy p{margin-bottom:6px!important}
  .v10-hero-copy .chs-hero-review{margin-top:5px!important}
  body .v10-hero .v10-hero-copy-panel{padding-bottom:2px!important}
}
