/* Native, accessible enquiry forms matched to the public PB design. */
.pb-intake { background: #edf4f9; scroll-margin-top: 110px; }
.pb-intake .shell { max-width: 1120px; }
.pb-intake-heading { max-width: 760px; margin-bottom: 38px; }
.pb-intake-heading h2 { margin: 12px 0 22px; }
.pb-intake-heading p { color: #334858; line-height: 1.8; }
.pb-intake-heading p + p { margin-top: 14px; }
.pb-form { padding: clamp(24px, 4vw, 52px); border: 1px solid #d5e1eb; border-radius: 20px; background: #fff; }
.pb-form fieldset { border: 0; min-width: 0; margin: 0 0 32px; padding: 0; }
.pb-form legend { font-size: 21px; font-weight: 700; color: #103c68; margin-bottom: 22px; padding: 0; }
.pb-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pb-field { min-width: 0; }
.pb-field-wide { grid-column: 1 / -1; }
.pb-field label { display: block; font-size: 14px; font-weight: 650; line-height: 1.5; color: #173c5f; margin-bottom: 8px; }
.pb-field input, .pb-field textarea, .pb-field select { width: 100%; min-width: 0; min-height: 50px; background: #fff; border: 1px solid #8299ad; border-radius: 7px; padding: 12px 14px; color: #173c5f; font: inherit; font-size: 16px; line-height: 1.5; }
.pb-field textarea { resize: vertical; min-height: 125px; }
.pb-field input:focus, .pb-field select:focus, .pb-field textarea:focus { outline: 3px solid #b8d9f0; outline-offset: 2px; border-color: #0055a4; }
.pb-field [aria-invalid="true"] { border: 2px solid #8f2642; }
.pb-field-error { color: #8f2642; font-size: 14px; line-height: 1.5; margin-top: 7px; }
.pb-privacy, .pb-form-note { color: #334858; font-size: 14px; line-height: 1.8; max-width: 760px; }
.pb-privacy a, .pb-form-note a { text-decoration: underline; text-underline-offset: 3px; }
.pb-form-note { margin-top: 15px; }
.pb-form-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 25px; }
.pb-form button { cursor: pointer; }
.pb-form button:disabled { cursor: default; opacity: .62; }
.pb-token-retry { background: #fff; border: 1px solid #526879; border-radius: 6px; padding: 12px 18px; color: #103c68; font: inherit; }
.pb-form-status { border-left: 4px solid #0055a4; padding: 16px 20px; margin: 24px 0 0; background: #edf4f9; color: #173c5f; line-height: 1.7; overflow-wrap: anywhere; }
.pb-form-status:empty { display: none; }
.pb-form-status[data-kind="error"] { border-color: #8f2642; background: #fff2f5; color: #75203a; }
.pb-form-status[data-kind="success"] { border-color: #17674f; background: #eef8f3; color: #125440; }
.pb-form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pb-form [hidden] { display: none !important; }
.pb-intake noscript p { border: 1px solid #8f2642; padding: 16px; margin-bottom: 24px; background: #fff; line-height: 1.7; }
.pb-appointment-note { margin-top: 20px; color: #334858; line-height: 1.8; }
.pb-appointment-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .pb-field-grid { grid-template-columns: 1fr; gap: 20px; } .pb-form { padding: 24px 18px; border-radius: 12px; } .pb-form-actions { align-items: stretch; flex-direction: column; } .pb-form .button { justify-content: center; } }
