/* Targeted contrast fixes for buyer-facing controls.
   Keep these selectors explicit so generic inherited link/text colors cannot
   override component foreground colors on branded dark surfaces. */

/* Hosted listing CTAs are anchors. The generic hosted anchor rule has higher
   specificity than the component class, so force the intended on-dark text. */
.hosted-property-page a.hosted-action-primary,
.hosted-property-page a.hosted-mobile-ask {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* Progressive buyer tools live inside the dark experience shell, but their
   disclosure header has a white surface. Give the summary its own foreground
   instead of inheriting the shell's white text. */
.pulsle-progressive-buyer .buyer-more-tools > summary,
.pulsle-progressive-buyer .buyer-location-details > summary {
  background: #fff;
  color: #171813;
}

.pulsle-progressive-buyer .buyer-more-tools > summary:focus-visible,
.pulsle-progressive-buyer .buyer-location-details > summary:focus-visible {
  outline: 2px solid #171813;
  outline-offset: -3px;
}

/* Localized submit labels such as Japanese 「質問する」 must stay on one line.
   Let the question input yield space on narrow screens instead of wrapping
   the CTA into a tall two-line button. */
.chat-form > input {
  min-width: 0;
}

.chat-form > button[data-i18n="ask"] {
  flex: 0 0 auto;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
