.brand{display:inline-flex!important;align-items:center!important;gap:14px!important;width:auto!important;text-decoration:none!important;padding:12px 0!important}.brand>img{width:200px!important;height:50px!important;object-fit:contain!important}.agent-affiliation{display:flex;flex-direction:column;align-items:center;gap:7px;font:10px/1.4 Arial,sans-serif;text-align:center;text-decoration:none!important}.brand .agent-affiliation{border-left:1px solid #d0c8bb;padding-left:14px}.brand .agent-affiliation img{width:100px!important;height:45px!important;object-fit:contain}.team-affiliation-footer{margin:16px 0 24px}.team-affiliation-footer .agent-affiliation{align-items:flex-start;text-align:left;font-size:11px;text-decoration:none}.team-affiliation-footer img{width:170px!important;height:71px!important;object-fit:contain}@media(max-width:480px){.brand{gap:10px!important}.brand>img{width:175px!important;height:46px!important}.brand .agent-affiliation{padding-left:10px}.brand .agent-affiliation img{width:85px!important;height:40px!important}}
/* Keep construction branding inside the original 200px logo slot. */
body[data-agent-surface="construction"] header .brand{width:200px!important;flex:0 0 200px;gap:8px!important;padding:0!important}
body[data-agent-surface="construction"] header .brand>img{width:128px!important;height:44px!important}
body[data-agent-surface="construction"] header .brand .agent-affiliation{padding-left:8px}
body[data-agent-surface="construction"] header .brand .agent-affiliation img{width:55px!important;height:40px!important}
@media(max-width:720px){
.header-inner{grid-template-columns:minmax(0,1fr) auto!important}
.header-inner .brand{min-width:0;max-width:100%;gap:8px!important;padding:0!important}
.header-inner .brand>img{width:clamp(95px,28vw,150px)!important;height:38px!important;min-width:0}
.header-inner .brand .agent-affiliation{padding-left:8px;flex-shrink:0}
.header-inner .brand .agent-affiliation img{width:50px!important;height:35px!important}
.header-inner nav{min-width:0;max-width:100%;flex-wrap:wrap}
.header-inner .nav-team{max-width:100%;white-space:normal;text-align:center}
body[data-agent-surface="resale"] header .brand{max-width:100%;min-width:0}
input,select,textarea{font-size:16px}
}
@media(max-width:360px){body[data-agent-surface="construction"] header .brand{width:180px!important;flex-basis:180px}body[data-agent-surface="construction"] header .brand>img{width:108px!important}}
