/* Keep Gutenberg's vertical block spacing out of the horizontal header. */
.pr-header-inner > *,
.pr-header-actions > *,
.pr-header-cta > .wp-block-buttons,
.pr-header-cta .wp-block-button { margin-block: 0 !important; }
.pr-header-inner, .pr-header-actions, .pr-header-cta > .wp-block-buttons { align-items: center; }
.pr-header-cta { flex-shrink: 0; }
.pr-header-cta .wp-block-buttons { display: flex; }

/* A service-sized brief: only the chosen service's questions are displayed. */
.pr-enquiry-form, .pr-enquiry-form .pr-field, .pr-enquiry-form .pr-form-row { min-width: 0; }
.pr-enquiry-scopes, .pr-enquiry-scope { min-width: 0; margin: 0; }
.pr-enquiry-scopes[hidden] { display: none !important; }
.pr-enquiry-scope { padding: 24px; border: 1.5px solid var(--pr-purple); border-radius: 20px 20px 5px 20px; background: var(--pr-lilac); }
.pr-enquiry-scope:not([hidden]) ~ .pr-enquiry-scope:not([hidden]) { margin-top: 24px; }
.pr-enquiry-scope[hidden] { display: none !important; }
.pr-enquiry-scope legend { max-width: 100%; padding: 5px 12px; border-radius: 30px; background: var(--pr-purple); color: #fff; font-size: .875rem; line-height: 1.4; font-weight: 700; }
.pr-enquiry-scope-body { display: grid; gap: 20px; min-width: 0; }
.pr-enquiry-scope-body > * { margin: 0; }
.pr-scope-title { font-family: var(--pr-display); font-size: 1.45rem; font-weight: 800; line-height: 1.15; letter-spacing: -.035em; }
.pr-enquiry-scope .pr-scope-intro, .pr-field-help { font-size: .875rem; line-height: 1.55; color: var(--pr-muted); margin: 8px 0 0; }
.pr-enquiry-scope .pr-scope-intro { margin: -10px 0 0; }
.pr-field-help { margin-top: 8px !important; }
.pr-budget-assist { display: inline-flex; align-items: center; min-height: 44px; margin: 8px 0 0; padding: 8px 12px; border: 1px solid currentColor; border-radius: 30px; color: var(--pr-ink); background: var(--pr-yellow); font: inherit; font-size: .875rem; font-weight: 700; line-height: 1.3; text-align: left; cursor: pointer; }
.pr-budget-assist:hover { background: var(--pr-paper); }
[data-pr-theme=dark] .pr-budget-assist { color: #2e164b; }
[data-pr-theme=dark] .pr-budget-assist:hover { background: #eee4ff; }
.pr-scope-checks { min-width: 0; padding: 0; margin: 0; border: 0; }
.pr-scope-checks legend { padding: 0; margin-bottom: 10px; color: var(--pr-ink); background: transparent; font-size: .88rem; font-weight: 700; }
.pr-scope-choices { display: grid; gap: 9px; }
.pr-scope-choice { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.pr-scope-choice input { accent-color: var(--pr-purple); width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; }
.pr-scope-choice span { overflow-wrap: anywhere; }
.pr-enquiry-form input, .pr-enquiry-form select, .pr-enquiry-form textarea { max-width: 100%; min-width: 0; }
.pr-scope-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pr-enquiry-form .pr-form-note { margin: 0; }
[data-pr-theme=dark] .pr-enquiry-scope { background: #30203e; border-color: #b995ff; }
@media(max-width:520px) {
  .pr-enquiry-scope { padding: 20px 14px; }
  .pr-enquiry-scope legend { font-size: .8125rem; }
  .pr-scope-title { font-size: 1.3rem; }
}
