/* Buyer page /price-drive (TASK-349 P3, 2026-10-03; path since MS-SP17-006 U1). /price-drive is rendered from templates/index.html and
   shares the .broker-route layout of revision.css; this file holds the few rules that apply to
   /price-drive only (.buyer-route). Loaded only in the page:buyer block, so /broker-price-drive is unchanged. */

/* Header CTA on phones: "Request the Private Property Brief" stays on one line. The font scales
   with the viewport (wordmark 156 px + paddings), capped at the broker size of 12 px; the arrow
   icon is dropped to keep the label legible (11.6 px at 390, 9.7 px at 360). Below 360 px the
   label may wrap again rather than overflow the header. */
@media (max-width: 419px) {
  .buyer-route .masthead { gap: 8px; padding-inline: 12px; }
  .buyer-route .masthead .nav-cta { white-space: nowrap; padding-inline: 8px; font-size: min(.75rem, calc((100vw - 206px) / 15.8)); }
  .buyer-route .masthead .nav-cta span { display: none; }
}
@media (max-width: 359px) {
  .buyer-route .masthead .nav-cta { white-space: normal; font-size: .6875rem; }
}

/* Buyer enquiry form (MS-SP17-007 P0, 2026-10-03). Same look as the broker access form; the
   broker rules are scoped to .broker-application, so the few that matter are repeated here for
   .buyer-inquiry. After a successful request the fields give way to the status line and the
   "What happens next" block (hidden in the markup until then). */
.buyer-route .buyer-inquiry { min-width: 0; }
.buyer-route .buyer-inquiry fieldset { padding: 0; margin: 0 0 28px; border: 0; min-width: 0; }
.buyer-route .buyer-inquiry .buyer-fields { margin: 0; }
.buyer-route .buyer-inquiry legend { padding: 0; margin-bottom: 12px; font-size: .875rem; }
.buyer-route .buyer-inquiry .phone-row label { font-size: .875rem; }
.buyer-route .buyer-inquiry select,
.buyer-route .buyer-inquiry input { max-width: 100%; min-width: 0; box-sizing: border-box; }
.buyer-route .buyer-inquiry select { min-height: 48px; }
.buyer-route .buyer-inquiry textarea { width: 100%; box-sizing: border-box; }
.buyer-route .buyer-inquiry.sent .buyer-fields { display: none; }
.buyer-route .briefing-form .what-next[hidden] { display: none; }
