/* Homepage booking controls, New Jersey inspection area rows and consent presentation. */
[data-calm-page] [hidden] { display:none !important; }
[data-calm-page] :is(a,button,input):focus-visible { outline:3px solid #0e6599;outline-offset:3px; }
[data-calm-page="home"] .home-ratings { max-width:100%; }
@media(max-width:800px){
  [data-calm-page="home"] .header-actions {display:none}
  [data-calm-page="home"] .hero .button-row,[data-calm-page="home"] .mobile-actions {align-items:center}
  [data-calm-page="home"] :is(.hero,.mobile-actions) a.button[href^="tel:"] {display:inline-flex;min-height:44px;align-items:center;color:#173e61;background:transparent;border:0;box-shadow:none;text-decoration:underline;text-underline-offset:3px;padding:8px 10px;white-space:nowrap}
  [data-calm-page="home"] .hero .button-row a[href^="tel:"] {width:auto;flex:none}
  [data-calm-page="home"] .mobile-actions .button-primary {order:-1;flex:1}
  [data-calm-page="home"] .mobile-actions .button-secondary {flex:none}
}
@media(min-width:801px){[data-calm-page="home"][data-booking-in-view] .header-cta {visibility:hidden}}
[data-calm-page="nj"] .header-inner .menu-toggle {margin-left:auto}
[data-calm-page="nj"] .inspection-area-hub {padding-block:clamp(32px,4vw,72px)}
[data-calm-page="nj"] #source-main {max-width:970px}
[data-calm-page="nj"] .flow-intro {max-width:65ch}
[data-calm-page="nj"] .flow-county-grid {display:block;border-top:1px solid #b7c7d4;margin-top:28px}
[data-calm-page="nj"] .flow-county-card {display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;grid-auto-rows:auto;grid-row:auto;align-items:center;gap:6px 28px;border:0;border-bottom:1px solid #c5d2db;border-radius:0;background:transparent;padding:0 8px;scroll-margin-top:100px}
[data-calm-page="nj"] .calm-area-link {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 22px;padding:18px 4px;min-height:72px;border-radius:3px;text-decoration:none;color:#173c5c}
[data-calm-page="nj"] .calm-area-title {margin:0 0 4px;font-size:clamp(18px,1.6vw,24px);line-height:1.2;letter-spacing:-.025em}
[data-calm-page="nj"] .flow-county-card p {margin:0;font-size:14px;line-height:1.45;color:#445869}
[data-calm-page="nj"] .calm-area-action {display:flex;align-items:center;gap:6px;max-width:18ch;font-size:14px;line-height:1.35;font-weight:700;color:#164a6a}
[data-calm-page="nj"] .calm-area-action svg {width:16px;height:16px;flex:none;}
[data-calm-page="nj"] .calm-area-link:hover .calm-area-title,[data-calm-page="nj"] .calm-area-link:hover .calm-area-action span {text-decoration:underline;text-underline-offset:3px}
[data-calm-page="nj"] .flow-county-card:focus-within {background:#f3f7fa}
[data-calm-page="nj"] .flow-phone {display:inline-flex;justify-self:start;align-items:center;min-height:44px;color:#405566;font-size:13px;line-height:1.35;font-weight:500;text-align:left;text-decoration:underline;text-underline-offset:3px}
[data-calm-page="nj"] .flow-help a {display:inline-flex;align-items:center;min-height:44px;color:#294b64}
@media(max-width:800px){
  [data-calm-page="nj"] .site-footer {padding-bottom:40px}
  [data-calm-page="nj"] .flow-county-card {display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0 3px}
  [data-calm-page="nj"] .calm-area-link {align-self:stretch;padding:16px 2px 6px;gap:10px;min-height:64px}
  [data-calm-page="nj"] .calm-area-action {max-width:15ch;font-size:13px}
  [data-calm-page="nj"] .flow-phone {align-self:flex-start;margin:0 0 6px 2px}
}
@media(max-width:440px){
  [data-calm-page="nj"] .calm-area-link {grid-template-columns:1fr;gap:5px}
  [data-calm-page="nj"] .calm-area-action {max-width:none}
}
#consent-panel.calm-consent {position:fixed;z-index:1000;inset:auto 0 0;box-sizing:border-box;border-top:1px solid #becbd5;background:#fff;color:#18354c;box-shadow:0 -3px 18px #19394b13;font:14px/1.4 system-ui,sans-serif;max-height:75vh;max-height:75dvh;overflow:auto;overscroll-behavior:contain}
#consent-panel.calm-consent * {box-sizing:border-box}
.calm-consent-inner {max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:8px 24px;padding:10px clamp(16px,3vw,42px) max(10px,env(safe-area-inset-bottom))}
.calm-consent-title {margin:0;color:#19374c;font-size:15px}
#consent-panel.calm-consent p {margin:2px 0 0;color:#435667;font:inherit}
#consent-panel.calm-consent a {color:#224b66;text-decoration:underline;text-underline-offset:2px}
#consent-panel.calm-consent .consent-actions {display:flex;align-items:center;justify-content:end;gap:8px}
#consent-panel.calm-consent button {position:static;min-height:44px;margin:0;border-radius:5px;cursor:pointer;font:650 13px/1.2 system-ui,sans-serif}
#consent-panel.calm-consent .consent-choice {flex:1 1 0;min-width:120px;padding:8px 14px;border:1px solid #7890a0;color:#173e5a;background:#fff;white-space:nowrap}
#consent-panel.calm-consent .consent-choice:hover {background:#eef4f7}
#consent-panel.calm-consent .consent-customize {padding:6px;border:0;background:transparent;color:#224b66;text-decoration:underline;text-underline-offset:3px}
#consent-panel.calm-consent #consent-custom {grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;border-top:1px solid #cbd5dc;padding-top:6px}
#consent-panel.calm-consent label {display:inline-flex;align-items:center;gap:8px;min-height:44px;font:500 14px/1.4 system-ui,sans-serif}
#consent-panel.calm-consent [type=checkbox] {width:18px;height:18px;accent-color:#1d4766}
#consent-panel.calm-consent .save-choices {color:white;background:#173e5a;border:1px solid #173e5a;padding:8px 14px}
@media(max-width:760px){
  .calm-consent-inner {padding:6px 14px max(8px,env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr);gap:4px}
  #consent-panel.calm-consent .consent-copy {display:flex;align-items:baseline;flex-wrap:wrap;gap:0 7px}
  #consent-panel.calm-consent .consent-copy p {max-width:100%;font-size:12px}
  #consent-panel.calm-consent .consent-actions {justify-content:stretch;align-items:stretch;gap:6px}
  #consent-panel.calm-consent .consent-choice {min-width:0;padding-inline:4px;white-space:normal}
  #consent-panel.calm-consent .consent-customize {padding-inline:3px;font-size:12px}
}
@media(max-width:400px) and (max-height:660px){
  [data-calm-page="home"] .hero {padding-top:17px}
  [data-calm-page="home"] .hero .button-row {margin-top:13px}
  .calm-consent-inner {gap:2px;padding-top:4px;padding-bottom:max(5px,env(safe-area-inset-bottom))}
  #consent-panel.calm-consent .consent-copy p {margin:0;line-height:1.25}
  #consent-panel.calm-consent .consent-actions .consent-choice {line-height:1.2;padding-block:4px}
}
@media print{#consent-panel.calm-consent,[data-calm-page] .mobile-actions {display:none!important}}

#consent-panel.calm-consent{width:100%;max-width:none;left:0;right:0;bottom:0;padding:0;border:0;border-top:1px solid #becbd5;border-radius:0}
[data-calm-page="schedule"]:has(#consent-panel:not([hidden])) .mobile-actions{display:none}
@media(max-width:420px){[data-calm-page="schedule"] #chesterfield-booking{scroll-margin-top:6.25rem}}
@media(max-width:420px) and (max-height:650px){[data-calm-page="schedule"] #chesterfield-booking{scroll-margin-top:3.625rem}[data-calm-page="schedule"] #demo-heading{font-size:22px;line-height:1.15}}
#consent-panel.calm-consent .consent-actions{flex-wrap:nowrap}#consent-panel.calm-consent #consent-custom label{margin:0}#consent-panel.calm-consent .consent-copy p{padding:0}
