/* 2026 iWORKS GLOBAL identity: supplied horizontal desktop SVG and compact orange symbol.
   Fixed, intrinsic-ratio sizing so branding never displaces navigation controls. */
body.page-public .public-navbar .public-brand{
  display:inline-flex!important;align-items:center!important;
  flex:0 0 auto!important;min-width:0;max-width:100%;
  padding:0!important;margin:0!important;
}
body.page-public .public-navbar .iw-brand-picture{
  display:inline-flex;align-items:center;justify-content:flex-start;
  line-height:0;min-width:0;flex:none;
}
body.page-public .public-navbar img.public-logo.iw-desktop-logo{
  display:block;width:clamp(178px,18.5vw,224px)!important;
  height:auto!important;max-width:224px!important;max-height:31px!important;
  object-fit:contain;object-position:left center;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
body.page-public .public-footer .iw-brand-picture{
  display:inline-flex;align-items:center;max-width:100%;line-height:0;
}
body.page-public .public-footer img.public-footer-logo.iw-desktop-logo{
  display:block;width:clamp(160px,17vw,195px)!important;max-width:100%!important;
  height:auto!important;max-height:24px!important;
  object-fit:contain;object-position:left center;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
@media(max-width:1199.98px){
  body.page-public .public-navbar img.public-logo.iw-desktop-logo{
    width:60px!important;max-width:60px!important;
    height:31px!important;max-height:31px!important;
  }
  body.page-public .public-navbar .public-brand{
    min-height:42px!important;
  }
}
@media(max-width:575.98px){
  body.page-public .public-navbar img.public-logo.iw-desktop-logo{
    width:54px!important;max-width:54px!important;
    height:28px!important;max-height:28px!important;
  }
  body.page-public .public-footer img.public-footer-logo.iw-desktop-logo{
    width:58px!important;max-width:58px!important;height:30px!important;max-height:30px!important;
  }
}
/* Both staff and customer sidebars use compact orange brand symbol + slim label. */
body.portal-authenticated .iw-brand-sidebar-lockup,
body.portal-authenticated .iw-client-side-brand a{
  display:inline-flex;align-items:center;gap:8px;
  min-width:0;max-width:100%;text-decoration:none;
}
body.portal-authenticated .iw-compact-logo{
  display:block;flex:0 0 auto;
  width:49px!important;height:28px!important;
  max-width:49px!important;max-height:28px!important;
  object-fit:contain;object-position:center;
  background:transparent;border:0;border-radius:0;
  box-shadow:none!important;
}
body.portal-authenticated .iw-compact-wordmark{
  display:flex;flex-direction:column;gap:1px;min-width:0;
  font-family:Inter,Outfit,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:17px;font-weight:800;line-height:1;letter-spacing:-.045em;
  color:#171b1f;white-space:nowrap;
}
body.portal-authenticated .iw-compact-wordmark small{
  display:block;padding-left:2px;font-size:9px;font-weight:700;
  line-height:1.1;letter-spacing:.24em;color:#51545a;
}
body.portal-authenticated:not(.role-client) .sidebar-head .sidebar-brand{
  width:auto;max-width:100%;min-width:0;min-height:39px;overflow:visible;
}
body.portal-authenticated:not(.role-client) .sidebar-head .sidebar-brand-full{
  display:inline-flex;align-items:center;gap:8px;
}
body.portal-authenticated:not(.role-client) .sidebar-favicon-logo.iw-sidebar-mini-icon{
  width:30px!important;height:20px!important;max-width:30px!important;
  max-height:20px!important;object-fit:contain;border-radius:0!important;
}
body.portal-authenticated.sidebar-collapsed:not(.role-client) .sidebar-head .sidebar-brand{
  width:100%;overflow:hidden;
}
body.portal-authenticated.sidebar-collapsed:not(.role-client) .sidebar-brand-full{
  pointer-events:none;
}
body.iw-client-page .iw-client-side-brand a{
  max-width:177px;min-width:0;gap:8px;
}
body.iw-client-page .iw-client-logo.iw-compact-logo{
  width:49px!important;max-width:49px!important;
  height:28px!important;max-height:28px!important;
}
body.iw-client-page .iw-client-side-brand{
  min-height:40px;gap:8px;
}
/* Signed-out portal pages use the horizontal wordmark at modest scale. */
body:not(.page-public) .iw-auth-brand-picture{
  display:inline-flex;align-items:center;line-height:0;max-width:100%;
}
body:not(.page-public) .iw-auth-brand-picture .brand-logo{
  display:block;width:204px;max-width:100%;height:auto;
  max-height:30px;object-fit:contain;border:0;border-radius:0;
}
@media(max-width:575.98px){
  body:not(.page-public) .iw-auth-brand-picture .brand-logo{
    width:56px;max-width:56px;height:29px;max-height:29px;
  }
  body.portal-authenticated .iw-compact-wordmark{font-size:16px}
}
/* Respect reduced motion and avoid any branding animation/flash. */
