/* CERTCORE_BRAND_POLISH_FINAL_V1_2
   Visual brand polish only — App. No workflow, routing, API or data changes. */
.logo{background:transparent!important;border-radius:12px!important;overflow:visible!important;background-image:url('./certcore-icon.svg')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}
.logo img{opacity:0!important;width:42px!important;height:42px!important}
.brand-name .cert{color:#0F172A!important}.brand-name .core{color:#2563EB!important}
.cc-auth-logo{background:#fff url('./certcore-icon.svg') center/86% no-repeat!important;color:transparent!important;box-shadow:none!important;border:1px solid #e2e8f0!important}
.cc-auth-logo i{display:none!important}

/* Expanded desktop: use the locked official compact logo as one exact brand unit. */
@media (min-width:1101px){
  .sidebar:not(.collapsed) .brand{height:66px!important;padding:0 13px!important}
  .sidebar:not(.collapsed) .brand-left{width:178px!important;height:48px!important;flex:0 0 178px!important;background:url('./certcore-logo-compact.svg') left center/contain no-repeat!important}
  .sidebar:not(.collapsed) .brand-left>.logo,.sidebar:not(.collapsed) .brand-left>.brand-copy{display:none!important}
  .sidebar.collapsed .brand-left{width:auto!important;height:auto!important;flex:0 0 auto!important;background:none!important}
  .sidebar.collapsed .logo{display:grid!important;width:42px!important;height:42px!important}
}

/* Tablet/narrow sidebar: icon only, slightly stronger without changing sidebar layout. */
@media (min-width:761px) and (max-width:1100px){
  .sidebar .logo{width:42px!important;height:42px!important}
}

/* Mobile drawer: full official compact logo; avoids clipped subtitle text. */
@media (max-width:760px){
  .sidebar .brand{height:66px!important;padding:0 14px!important}
  .sidebar .brand-left{width:178px!important;height:48px!important;flex:0 0 178px!important;background:url('./certcore-logo-compact.svg') left center/contain no-repeat!important}
  .sidebar .brand-left>.logo,.sidebar .brand-left>.brand-copy{display:none!important}
}
