
/* bITsScale brand fix v0.11.4 - embedded brand asset */
:root{--bits-brand:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20520%20140%22%3E%0A%3Crect%20width%3D%22520%22%20height%3D%22140%22%20rx%3D%2218%22%20fill%3D%22white%22%2F%3E%0A%3Ctext%20x%3D%2234%22%20y%3D%2288%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%2272%22%20font-weight%3D%22900%22%20fill%3D%22%23111%22%3EbITs%3C%2Ftext%3E%0A%3Ctext%20x%3D%22190%22%20y%3D%2288%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%2272%22%20font-weight%3D%22900%22%20fill%3D%22%23c51f2b%22%3EScale%3C%2Ftext%3E%0A%3Ctext%20x%3D%2236%22%20y%3D%22116%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%2220%22%20font-weight%3D%22700%22%20letter-spacing%3D%221.4%22%20fill%3D%22%23a07a22%22%3Eby%20bITs%20Tech%20Solutions%3C%2Ftext%3E%0A%3C%2Fsvg%3E")}

/* Login / recovery: cover known and generic auth structures */
#authRoot .auth-card::before,
#authRoot form::before,
#authRoot > div::before{
  content:""!important;
  display:block!important;
  width:min(100%,420px)!important;
  height:112px!important;
  margin:0 auto 22px!important;
  background-image:var(--bits-brand)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  border:0!important;
  box-shadow:none!important;
}

/* Avoid duplicate brand if nested selectors match */
#authRoot .auth-card form::before,
#authRoot .auth-card > div::before{
  display:none!important;
}

#authRoot .auth-card h1{margin-top:0!important}

/* Main app / sidebar / global header */
.sidebar .brand .mark,
.global-head .brand .mark{
  width:132px!important;
  min-width:132px!important;
  height:58px!important;
  flex:0 0 132px!important;
  border-radius:10px!important;
  background-image:var(--bits-brand)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  background-color:transparent!important;
  font-size:0!important;
  color:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* If the mark node is absent or hidden, render the brand on the container */
.sidebar .brand:not(:has(.mark))::before,
.global-head .brand:not(:has(.mark))::before{
  content:""!important;
  display:block!important;
  width:132px!important;
  height:58px!important;
  flex:0 0 132px!important;
  background-image:var(--bits-brand)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
}

@media(max-width:520px){
  #authRoot .auth-card::before,
  #authRoot form::before,
  #authRoot > div::before{height:90px!important}
  .sidebar .brand .mark,
  .global-head .brand .mark{width:118px!important;min-width:118px!important;flex-basis:118px!important;height:52px!important}
}
