/* CCB cookie consent v1. Colours match the site (green #15643E, red #C8102E). */
#ccb-cc{position:fixed;left:0;right:0;bottom:0;z-index:2147483000;background:#fff;color:#1C2A22;
  border-top:4px solid #15643E;box-shadow:0 -6px 24px rgba(0,0,0,.15);font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
#ccb-cc[hidden],#ccb-cc [hidden]{display:none!important}
#ccb-cc .ccb-cc-inner{max-width:960px;margin:0 auto;padding:16px 20px}
#ccb-cc h2{margin:0 0 6px;font-size:17px;font-weight:700}
#ccb-cc p{margin:0 0 12px}
#ccb-cc a{color:#15643E;text-decoration:underline}
#ccb-cc .ccb-cc-btns{display:flex;flex-wrap:wrap;gap:10px}
#ccb-cc button{flex:1 1 140px;min-height:44px;padding:10px 16px;border-radius:6px;font:inherit;font-weight:600;cursor:pointer;
  border:2px solid #15643E;background:#15643E;color:#fff}
#ccb-cc button[data-ccb="settings"]{background:#fff;color:#15643E}
#ccb-cc button:focus-visible,#ccb-cc input:focus-visible{outline:3px solid #C8102E;outline-offset:2px}
#ccb-cc .ccb-cc-row{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid #e3ece7}
#ccb-cc .ccb-cc-row input{margin-top:4px;width:20px;height:20px;flex:0 0 auto}
#ccb-cc .ccb-cc-row label span{display:block;font-size:14px;color:#4a5a52}
#ccb-cc-panel{margin-bottom:12px}
@media (min-width:720px){#ccb-cc button{flex:0 1 auto}}


/* 18 Nov 2026 mobile layout draft. Files only, not live.
   Compact first-visit bar so it does not cover the quote form. Same choices, same privacy link.
   Reject and Accept stay the same size and sit side by side. */
@media (max-width:880px){
  #ccb-cc .ccb-cc-inner{padding:6px 12px 7px}
  #ccb-cc h2{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
    clip:rect(0,0,0,0);white-space:nowrap;border:0
  }
  #ccb-cc p{margin:0 0 6px;font-size:12.5px;line-height:1.3}
  #ccb-cc .ccb-cc-btns{display:flex;flex-wrap:nowrap;gap:8px}
  #ccb-cc button{flex:1 1 0;min-width:0;min-height:48px;padding:8px 6px;font-size:13px}
  #ccb-cc button[data-ccb="settings"],
  #ccb-cc button[data-ccb="save"]{flex:1 1 0}
  #ccb-cc:has(#ccb-cc-panel:not([hidden])) .ccb-cc-btns{flex-wrap:wrap}
}

/* 19 Nov 2026: shorter first-visit bar on phones so Continue stays
   visible and tappable on /#offer and other first-view forms. Same choices. */
@media (max-width:880px){
  #ccb-cc .ccb-cc-inner{padding:5px 10px 6px}
  #ccb-cc p{margin:0 0 4px;font-size:12px;line-height:1.25}
  #ccb-cc button{min-height:44px;padding:6px 4px;font-size:13px}
}
@media (max-width:880px) and (max-height:720px){
  #ccb-cc .ccb-cc-inner{padding:4px 10px}
  #ccb-cc p{margin:0 0 2px;font-size:11.5px;line-height:1.2}
  #ccb-cc button{min-height:44px;padding:4px 4px;font-size:13px}
}
