/* Header lockup: Concept C (forest circle, gold roof, white CC) */
a.cc-brand,
a.logo-link.cc-brand,
a.brand.cc-brand,
.topnav a.brand.cc-brand,
nav.top a.home.cc-brand,
a.ew-sitebar__home.cc-brand{
  display:inline-flex;align-items:center;flex-direction:row;gap:0;
  line-height:0;margin-right:auto;text-decoration:none;
  padding:0;background:none!important;border:0;color:inherit;
  box-shadow:none;
}
a.cc-brand:hover{text-decoration:none;background:none!important}
img.cc-lockup{
  display:block;height:52px;width:auto;max-width:min(265px,70vw);
  object-fit:contain;
}
/* Home: dark green header is 64px tall */
.site-header .logo{flex-direction:row;align-items:center}
.site-header .logo .cc-lockup,
.site-header .cc-lockup{height:56px;max-width:min(266px,72vw)}
/* Compact dark bars (tools, Nov BTO, MyNextHome sitebar) */
.topnav .cc-lockup,
nav.top .cc-lockup,
.ew-sitebar .cc-lockup{height:40px;max-width:min(190px,58vw)}
/* BTO guide white topbar */
.topbar .cc-lockup{height:48px;max-width:min(228px,60vw)}
@media (max-width:767px){
  img.cc-lockup{height:40px;max-width:min(210px,68vw)}
  .site-header .logo .cc-lockup,
  .site-header .cc-lockup{height:44px;max-width:min(209px,68vw)}
  .topnav .cc-lockup,
  nav.top .cc-lockup,
  .ew-sitebar .cc-lockup{height:36px;max-width:min(171px,58vw)}
  .topbar .cc-lockup{height:40px;max-width:min(190px,62vw)}
  /* v2 tool headers are 72px; keep the lockup from crowding nav */
  .hdr .cc-lockup{height:40px}
}
/* November BTO sticky nav: no white "home" pill behind the dark lockup */
nav.top a.home.cc-brand{background:transparent!important;color:inherit;padding:4px 6px}
/* MyNextHome: show the lockup in the site bar; hide the floating back-home pill that used to cover the text link */
.ew-sitebar__home{visibility:visible!important}
.ew-sitebar__home.cc-brand span{display:none}
.mynexthome-has-logo .ew-home,
html:has(.ew-sitebar .cc-lockup) .ew-home{display:none!important}
@media (max-width:899px){
  html:has(.ew-sitebar .cc-lockup) .idbar__brand{padding-left:0!important}
}
@media (min-width:900px){
  html:has(.ew-sitebar .cc-lockup) .idbar__in{padding-left:0!important}
}

/* Owner access on the optional CCGate (calcGate) lock screen */
.cc-gate .gate-owner{border-top:1px solid #E3E8E4;margin-top:18px;padding-top:14px}
.cc-gate .gate-owner-label{margin:0 0 8px;font:700 13px/1.3 var(--sans),system-ui;letter-spacing:.06em;text-transform:uppercase;color:#7A5A14}
.cc-gate .gate-owner .field{margin:0 0 8px}
