/* Shared logo treatment: the source artwork stays square and is never cropped. */
html,
body.app-shell {
  overflow-x: hidden;
}

.brand-mark,
.public-mark {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .28);
  box-shadow: 0 10px 25px rgba(15, 23, 42, .22);
}

.brand-mark img,
.public-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.auth-card .brand-mark {
  width: 78px;
  height: 78px;
  padding: 6px;
  border-radius: 22px;
}

.public-mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  padding: 3px;
}

@media (max-width: 560px) {
  .auth-card .brand-mark {
    width: 68px;
    height: 68px;
    border-radius: 19px;
  }

  .public-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
}
