/* R195: one right-side website Login in the original header design.
   No logo, tagline, phone, navigation, hero or business-action sizes change. */
html body a.ysr195-header-login{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;max-width:100%!important;min-height:32px!important;padding:5px 10px!important;margin:0!important;border:0!important;border-radius:3px!important;background:transparent!important;box-shadow:none!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;font:700 14px/1.3 Arial,Helvetica,sans-serif!important;text-decoration:none!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap!important}
html body a.ysr195-header-login:hover{text-decoration:underline!important;text-underline-offset:4px!important}
html body a.ysr195-header-login:focus-visible{outline:2px solid #a17c31!important;outline-offset:3px!important}
html body .ysr195-login-slot{flex:0 0 auto;max-width:100%}

/* Use the existing right-hand contact areas; their original layout is kept. */
html body .v6-contact>.ysr195-services-login{display:inline-flex!important;justify-content:flex-end!important;align-items:center!important;flex:0 0 auto!important;margin-left:8px!important}
html body .coald-header-phone>.ysr195-coald-login{display:block!important;margin-top:2px!important;text-align:right!important}
html body .header-cta>.ysr195-mortgage-login{display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important}

/* Existing menu button and one Login share the right side on small screens.
   Their original styles, IDs and open/closed menu contracts are retained. */
html body .ysr195-header-controls{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:12px;order:2}
html body .ysr195-standard-heading>.main-nav,html body .ysr195-standard-heading>.site-nav{order:1}
html body .ysr195-inspection-heading>.nav{order:1}
html body .ysr195-utility-login{margin-left:auto;text-align:right}
html body .ysr195-page-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
html body .ysr195-page-heading>.ysr195-login-slot{margin-left:auto}
html body .ysr195-utility-access{text-align:right}

/* Preserve the previous Coald menu fix without changing its original layout. */
html body .ysr195-coald-heading[data-menu-ready] .nav-dropdown:not(.open)>.nav-dropdown-menu{display:none!important}
html body .ysr195-coald-heading[data-menu-ready] .nav-dropdown.open>.nav-dropdown-menu{display:block!important}

@media(max-width:1180px){
 html body .v6-contact>.ysr195-services-login{align-self:flex-end!important;margin-left:0!important}
}
@media(max-width:1100px){
 html body .ysr195-accounting-heading>.ysr195-header-controls{flex-direction:column;gap:0;margin-left:auto}
}
@media(max-width:1000px){
 html body .ysr195-general-heading>.main-nav{order:3}
 html body .ysr195-general-heading>.ysr195-header-controls{margin-left:auto}
}
@media(max-width:900px){
 html body .ysr195-inspection-heading>.ysr195-header-controls{flex-direction:column;gap:0;margin-left:auto}
 html body header.header .coald-header-phone>.ysr195-coald-login{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;margin:0 0 0 8px!important}
}
@media(max-width:760px){
 html body .ysr195-general-heading>.ysr195-header-controls{flex-direction:column;gap:0}
}
@media print{html body a.ysr195-header-login{display:none!important}}
