/* Locked platform logo sizes — single source (SaaS settings upload) */
:root {
  --gb-pl-h: 44px;
  --gb-pl-w: 248px;
  --gb-pl-h-m: 38px;
  --gb-pl-w-m: 212px;
  --gb-pl-h-footer: 58px;
  --gb-pl-w-footer: 320px;
  --gb-pl-h-card: 48px;
  --gb-pl-w-card: 260px;
  --gb-pl-h-crm: 40px;
  --gb-pl-w-crm: 248px;
  --gb-pl-h-topbar: 44px;
  --gb-pl-w-topbar: 248px;
  --gb-pl-h-topbar-m: 38px;
  --gb-pl-w-topbar-m: 210px;
  --gb-pl-h-app: 42px;
  --gb-pl-w-app: 248px;
}

.gb-platform-logo {
  display: block;
  width: auto !important;
  height: var(--gb-pl-h) !important;
  max-width: var(--gb-pl-w) !important;
  max-height: var(--gb-pl-h) !important;
  object-fit: contain !important;
  object-position: left center;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.gb-platform-logo--footer {
  height: var(--gb-pl-h-footer) !important;
  max-width: var(--gb-pl-w-footer) !important;
  max-height: var(--gb-pl-h-footer) !important;
}

.gb-platform-logo--card {
  height: var(--gb-pl-h-card) !important;
  max-width: var(--gb-pl-w-card) !important;
  max-height: var(--gb-pl-h-card) !important;
  margin-left: auto;
  margin-right: auto;
}

.gb-platform-logo--crm {
  height: var(--gb-pl-h-crm) !important;
  max-width: var(--gb-pl-w-crm) !important;
  max-height: var(--gb-pl-h-crm) !important;
}

.gb-platform-logo--topbar {
  height: var(--gb-pl-h-topbar) !important;
  max-width: var(--gb-pl-w-topbar) !important;
  max-height: var(--gb-pl-h-topbar) !important;
}

.gb-platform-logo--app {
  height: var(--gb-pl-h-app) !important;
  max-width: var(--gb-pl-w-app) !important;
  max-height: var(--gb-pl-h-app) !important;
}

@media (max-width: 768px) {
  .gb-platform-logo:not(.gb-platform-logo--footer):not(.gb-platform-logo--card) {
    height: var(--gb-pl-h-m) !important;
    max-width: var(--gb-pl-w-m) !important;
    max-height: var(--gb-pl-h-m) !important;
  }

  .gb-platform-logo--topbar {
    height: var(--gb-pl-h-topbar-m) !important;
    max-width: var(--gb-pl-w-topbar-m) !important;
    max-height: var(--gb-pl-h-topbar-m) !important;
  }
}
