/* PW-R13 Accessibility resilience: no editorial redesign. */
/* Avoid invisible focus when navigating by keyboard, regardless of brand surface. */
.bec-site :where(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid #b98c4b;
  outline-offset: 3px;
}
.bec-site :where(a,button,input,select,textarea,summary):focus-visible:is(.bec-r10-button,.bec-button) {
  outline-offset: 4px;
}
/* Preserve a visible indicator on both dark and light surfaces. */
.bec-site :where(.bec-r10-hero,.bec-r103b-closing,.bec-r10-approach,.bec-mobile-menu) :is(a,button):focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 2px #171c1b;
}
/* Main receives focus from the skip link; do not add an intrusive focus rectangle. */
#main-content:focus { outline: 2px solid transparent; }
/* Use explicit disabled mechanics for unavailable archive modes. */
.mirror-results-head__controls button:disabled { opacity: .58; cursor: not-allowed; }
/* Ensure anchor navigation is not hidden behind the sticky header. */
#main-content :where(section[id],h1[id],h2[id]) { scroll-margin-top: 7rem; }
/* Prevent individual long URLs/titles from breaking the 320px reflow. */
.bec-site :where(.bec-container,.mirror-property-card,.bec-r10-property,.bec-property-detail__hero-grid,.bec-r103b-invest__grid > article) { min-width: 0; }
.bec-site :where(.bec-property-detail__breadcrumbs,.mirror-results-head,.bec-r10-property__title) { overflow-wrap: anywhere; }
/* Keyboard users need a visible skip link even with overlapping header/hero. */
.bec-skip-link:focus-visible { top: max(16px,env(safe-area-inset-top)); outline: 3px solid #b98c4b; outline-offset: 2px; }
@media (max-width: 400px) {
  .bec-site :where(input,select,textarea) { min-width: 0; }
  .bec-r10-search__input input, .mirror-search input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bec-site :where(a,button,summary) { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  .bec-site :where(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid Highlight; box-shadow: none; }
  .bec-site :where(.bec-r10-hero__copy,.bec-r103b-closing,.bec-mobile-menu__panel) { forced-color-adjust: auto; }
  .bec-site :where(.bec-button,.bec-r10-button,.mirror-filter-chip,.bec-menu-toggle__icon span) { border-color: ButtonText; }
  .mirror-results-head__controls button:disabled { color: GrayText; opacity: 1; }
  .bec-menu-toggle__icon span { background: ButtonText; }
}
