/* Kebarick Ventures identity layer — loaded last for safe reversal. */
.hospital-brand {
  gap: 12px;
  padding-left: 5px;
  padding-right: 5px;
}

.hospital-logo-shell,
.login-logo-shell {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18), inset 0 1px 0 #fff;
}

.hospital-logo-shell {
  width: 82px;
  height: 44px;
  padding: 7px 6px;
  border-radius: 13px;
}

.hospital-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hospital-brand .brand-copy {
  min-width: 0;
}

.hospital-brand .brand-copy strong {
  font-size: 14px;
  letter-spacing: .08em;
}

.hospital-brand .brand-copy small {
  margin-top: 2px;
  letter-spacing: .34em;
}

.facility strong {
  font-size: 12.5px;
}

.system-heading {
  display: flex;
  min-width: 310px;
  flex-direction: column;
  justify-content: center;
}

.system-name {
  color: #103c39;
  font: 800 14px/1.25 Manrope, sans-serif;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.system-heading .crumb {
  margin-top: 4px;
  font-size: 10.5px;
}

.login-brand {
  align-items: center;
}

.login-logo-shell {
  width: 104px;
  height: 52px;
  padding: 8px;
  border-radius: 14px;
}

.login-logo-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-brand strong,
.login-brand small {
  display: block;
}

.login-brand strong {
  color: #fff;
  font: 800 14px/1.25 Manrope, sans-serif;
  letter-spacing: .055em;
}

.login-brand small {
  margin-top: 4px;
  color: #9dd1ca;
  font-size: 10px;
}

@media (max-width: 1320px) {
  .topbar .search {
    width: 230px;
  }

  .system-heading {
    min-width: 280px;
  }

  .system-name {
    font-size: 12.5px;
  }
}

@media (max-width: 1120px) {
  .topbar .search {
    display: none;
  }
}

@media (max-width: 760px) {
  .system-heading {
    min-width: 0;
    max-width: min(58vw, 330px);
    margin-left: 8px;
  }

  .system-name {
    overflow: hidden;
    font-size: 11.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .system-heading .crumb {
    display: none;
  }

  .hospital-logo-shell {
    width: 76px;
  }
}

/* V10 application-brand sizing: never allow the landscape Kebarick logo to expand the dashboard header. */
.kebarick-brand{display:flex;align-items:center;gap:10px;min-height:74px;padding:12px 14px!important;overflow:hidden}
.kebarick-logo-shell{width:74px;height:46px;min-width:74px;display:grid;place-items:center;background:#fff;border-radius:10px;padding:5px;overflow:hidden;box-sizing:border-box}
.kebarick-logo{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
.kebarick-brand .brand-copy{min-width:0}.kebarick-brand .brand-copy strong{font-size:12px}.kebarick-brand .brand-copy small{font-size:8px}

.build-badge{position:absolute;left:14px;bottom:66px;font:700 10px/1.2 Manrope,sans-serif;letter-spacing:.08em;color:#9fd8d1;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:4px 8px;z-index:3}.sidebar{position:relative}
