/* A single silhouette: the bridge meets the top edge of the contact button. */
body.buyer-studio .inquiry-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
}
body.buyer-studio .inquiry-float > summary.contact-trigger {
  --contact-trigger-green: #39745f;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-sizing: border-box;
  width: 130px;
  min-height: 52px;
  padding: 10px 12px 8px;
  background: var(--contact-trigger-green) !important;
  border: 0;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgb(31 63 51 / 16%);
  color: #fff !important;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
body.buyer-studio .inquiry-float > summary.contact-trigger::marker,
body.buyer-studio .inquiry-float > summary.contact-trigger::-webkit-details-marker { display: none; content: ""; }
body.buyer-studio .inquiry-float > summary.contact-trigger:focus-visible { outline: 2px solid #376a56; outline-offset: 4px; }
body.buyer-studio .inquiry-float .contact-glasses {
  position: absolute;
  top: 0;
  left: 8%;
  width: 38%;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}
/* Keep the white frame on the same ground as the preview's contact button. */
body.buyer-studio[data-study-palette] .inquiry-float .contact-glasses {
  --contact-trigger-green: var(--study-action);
}
body.buyer-studio .inquiry-float .inquiry-popover {
  width: 184px;
  max-width: calc(100vw - 32px);
  right: 0;
  bottom: calc(100% + 16px);
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 16px;
  background: #244b3e !important;
  color: #fff !important;
  box-shadow: 0 10px 32px #17382a33;
  box-sizing: border-box;
}
body.buyer-studio .inquiry-float .inquiry-popover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
}
body.buyer-studio .inquiry-float .contact-channels { display: grid; gap: 4px; margin: 0; }
body.buyer-studio .inquiry-float .contact-channel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  height: auto;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  box-sizing: border-box;
  background: transparent;
  color: #fff !important;
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  transition: background 140ms ease;
}
body.buyer-studio .inquiry-float .contact-channel svg { width: 21px; height: 21px; flex: 0 0 21px; }
body.buyer-studio .inquiry-float .contact-channel .contact-channel-label {
  display: inline-block;
  color: inherit !important;
  font-size: 14px;
  transform-origin: left center;
  transform: translateY(var(--contact-label-lift, 0px)) scale(var(--contact-label-scale, 1));
  transition: transform .38s cubic-bezier(.22, 1.4, .36, 1);
}
body.buyer-studio .inquiry-float .contact-channel:focus-visible {
  --contact-label-lift: -3px;
  --contact-label-scale: 1.06;
}
@media (hover: hover) and (pointer: fine) {
  body.buyer-studio .inquiry-float .contact-channel:hover {
    --contact-label-lift: -3px;
    --contact-label-scale: 1.06;
  }
}
body.buyer-studio .inquiry-float .contact-channel .contact-channel-arrow { width: 14px; height: 18px; flex-basis: 14px; margin-left: auto; color: #c3d7cd; }
body.buyer-studio .inquiry-float a.contact-channel:hover,
body.buyer-studio .inquiry-float a.contact-channel:focus-visible { background: #3b6554; color: #fff !important; }
body.buyer-studio .inquiry-float a.contact-channel:focus-visible { outline: 2px solid #c3d7cd; outline-offset: -2px; }
body.buyer-studio .inquiry-float .contact-channel.unavailable { opacity: 1; color: #b8c9c0 !important; cursor: default; }
body.buyer-studio .inquiry-float .contact-channel.unavailable .contact-channel-arrow { visibility: hidden; }
@media (max-width: 600px) {
  body.buyer-studio .inquiry-float { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  body.buyer-studio .inquiry-float > summary.contact-trigger { width: 114px; min-height: 44px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .inquiry-float *, body.buyer-studio .inquiry-float[open] .inquiry-popover { transition: none !important; animation: none !important; }
  body.buyer-studio .inquiry-float .contact-channel .contact-channel-label { transform: none; }
}
#inquiry-form .inquiry-copy { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .85rem; }
#inquiry-form [data-copy-reference] {
  min-height: 44px; padding: 0; border: 0; background: transparent; color: #34593c; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 650; text-decoration: underline; text-underline-offset: .18em;
}
#inquiry-form [data-copy-status] { color: #445348; font-size: .88rem; }


/* Keep the contact details visible in each clickable row. */
body.buyer-studio .inquiry-float .inquiry-popover {
  width: min(17rem, calc(100vw - 48px));
}
body.buyer-studio .inquiry-float .contact-channel-copy {
  display: grid;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
}
body.buyer-studio .inquiry-float .contact-channel-copy .contact-channel-label {
  color: #d2ddd7 !important;
  font-size: 12px;
  line-height: 1.35;
  transform: none;
}
body.buyer-studio .inquiry-float .contact-channel-value {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
