/* Inactive on sibling sites, Jomis and unrelated website/app frontends. */
body.invisor-desk-branding nav img[alt="App Logo"],
body.invisor-desk-branding .navbar-home img#brand-logo,
body.invisor-desk-branding nav[aria-label="Apps"] > a > img {
  background: #fff;
  border-radius: 8px;
  padding: 3px;
}
body.invisor-desk-branding .desktop-container .icon-container {
  width: 96px;
  height: 96px;
  padding: 0;
  background: transparent;
  border: 0;
}
body.invisor-desk-branding .desktop-container img.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}
#invisor-desk-credit {
  position: fixed;
  right: 16px;
  bottom: 10px;
  color: #176b35;
  font-size: 11px;
  line-height: 1.4;
  pointer-events: none;
  z-index: 100;
}
html[data-theme="dark"] #invisor-desk-credit {
  color: #7fff73;
}
.invisor-login-branding .invisor-login-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.invisor-login-branding .invisor-login-identity .app-logo {
  background: #fff;
  border-radius: 4px;
  flex-shrink: 0;
}
.invisor-login-branding .invisor-login-identity strong {
  font-size: 18px;
  line-height: 1.2;
  color: var(--text-color, #202124);
}
@media (max-width: 480px) {
  body.invisor-desk-branding .desktop-container .icon-container,
  body.invisor-desk-branding .desktop-container img.app-icon {
    width: 76px;
    height: 76px;
  }
}
@media print {
  #invisor-desk-credit {
    display: none !important;
  }
}

/* Native v17 chooser: a definite parent width prevents auto-fit shrink-wrap.
   Scope only the operating Apps chooser; native technical grids stay untouched. */
body.invisor-desk-branding.apps-page .desktop-container > .icons-container {
  width: 100%;
  max-width: 848px;
  min-width: 0;
}
body.invisor-desk-branding.apps-page .desktop-container .icons {
  grid-template-columns: repeat(auto-fit, minmax(108px, 128px));
  width: 100%;
  grid-template-rows: none;
  justify-content: center;
  gap: 8px;
}
body.invisor-desk-branding.apps-page .desktop-container .desktop-icon {
  width: 100%;
  height: auto;
  min-height: 156px;
}
body.invisor-desk-branding.apps-page .desktop-container .icon-caption {
  min-height: 2.5em;
  width: 100%;
}
body.invisor-desk-branding.apps-page .desktop-container .icon-title {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.25;
  width: 100%;
}
@media (max-width: 480px) {
  body.invisor-desk-branding.apps-page .desktop-container .desktop-icon {
    min-height: 136px;
  }
}
