/* Small workspace shortcut plus responsive fixes for the live storefront shell. */
.realtor-workspace-bridge {
  position: fixed;
  right: 18px;
  bottom: 64px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  gap: 0;
  padding: 0;
  border-radius: 15px;
  background: rgba(17, 24, 39, .92);
  color: #fff !important;
  text-decoration: none !important;
  font: 700 13px/1.1 system-ui, -apple-system, "Segoe UI", sans-serif;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .2);
  backdrop-filter: blur(10px);
  transition: transform .15s ease, opacity .15s ease;
}

.realtor-workspace-bridge:hover {
  transform: translateY(-1px);
}

.realtor-workspace-bridge::before {
  content: "⌂";
  font-size: 15px;
}

.realtor-workspace-bridge span,
.realtor-workspace-bridge small {
  display: none !important;
}

/* Keep exactly one public entry to the cabinet. */
a[href^="/admin"]:not(.realtor-workspace-bridge) {
  display: none !important;
}

/* Hide the public site version badge; the storefront should present one
   purposeful shortcut instead of technical build metadata. */
/* Hide technical version badges in all storefront variants. */
.pr31-version,
[class*="version" i],
[id*="version" i] {
  display: none !important;
}

/* Use the available width instead of reserving empty columns. */
.pr31-object-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  align-items: stretch;
}

@media (min-width: 821px) {
  .pr31-object-grid > .pr31-object-card:only-child {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    min-height: 360px;
  }

  .pr31-object-grid > .pr31-object-card:only-child .pr31-object-photo {
    height: 100%;
    min-height: 360px;
  }

  .pr31-object-grid > .pr31-object-card:only-child .pr31-object-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 4vw, 58px);
  }

  .pr31-object-grid > .pr31-object-card:only-child .pr31-object-body h3 {
    font-size: clamp(28px, 2.4vw, 38px);
  }

  .pr31-object-grid > .pr31-object-card:only-child .pr31-object-address {
    margin-top: 12px;
    font-size: 12px;
  }

  .pr31-object-grid > .pr31-object-card:only-child .pr31-object-meta {
    margin-top: 28px;
    padding-top: 20px;
    font-size: 12px;
  }

  .pr31-object-grid > .pr31-object-card:only-child .pr31-object-meta strong {
    font-size: 15px;
  }
}

@media (max-width: 820px) {
  .pr31-object-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .realtor-workspace-bridge {
    right: 12px;
    bottom: calc(96px + env(safe-area-inset-bottom));
  }

}

@media (max-width: 480px) {
  .pr31-object-grid {
    gap: 12px;
  }

  .pr31-object-card {
    border-radius: 22px;
  }

  .pr31-object-body {
    padding: 19px 18px 21px;
  }
}
