/* Fill-in request drafts use the established Park Place palette and typography. */
.ppr-request-dialog {
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  max-height: calc(100dvh - 40px);
  padding: 30px 36px;
  color: var(--ink, #15374d);
  background: var(--paper, #faf8f3);
  border: 1px solid var(--line, #d5d9d8);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ppr-request-dialog::backdrop { background: #0a1e2acc; }
.ppr-request-header { position: relative; padding-right: 58px; }
.ppr-request-header .eyebrow { margin-bottom: 14px; font-size: 9px; }
.ppr-request-header h2 { font-size: clamp(27px, 4vw, 36px); line-height: 1.15; margin-bottom: 20px; }
.ppr-request-close { position: absolute; top: -8px; right: -16px; min-height: 44px; padding: 8px 14px; background: transparent; border: 0; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.ppr-request-intro { font-size: 14px; margin-bottom: 14px; }
.ppr-request-instructions { color: var(--muted, #53636b); font-size: 12px; margin-bottom: 12px; }
.ppr-request-privacy { font-size: 11px; color: var(--muted, #53636b); border-left: 3px solid var(--slate, #5c7c95); padding: 10px 13px; background: #edf2f3; margin-bottom: 28px; }
.ppr-request-form { margin: 0; }
.ppr-request-fieldset { margin: 0 0 25px; padding: 0; border: 0; min-width: 0; }
.ppr-request-fieldset legend { width: 100%; padding: 0 0 9px; margin-bottom: 17px; border-bottom: 1px solid var(--line, #d5d9d8); font-weight: 700; font-size: 14px; }
.ppr-request-field { margin-bottom: 18px; }
.ppr-request-field:last-child { margin-bottom: 0; }
.ppr-request-field label { display: block; font-size: 12px; line-height: 1.5; margin-bottom: 6px; }
.ppr-request-field input, .ppr-request-field select, .ppr-request-field textarea { width: 100%; padding: 10px 12px; font: 16px/1.5 var(--sans, Arial, sans-serif); color: var(--ink, #15374d); background: white; min-height: 46px; border: 1px solid #9eafb8; border-radius: 0; }
.ppr-request-field textarea { min-height: 110px; resize: vertical; }
.ppr-request-field input:focus-visible, .ppr-request-field select:focus-visible, .ppr-request-field textarea:focus-visible { outline-offset: 2px; }
.ppr-request-required { color: var(--blue, #304d67); }
.ppr-request-field .ppr-request-help { margin: 6px 0 0; color: var(--muted, #53636b); font-size: 11px; line-height: 1.6; }
.ppr-request-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px 10px; align-items: start; }
.ppr-request-check input { width: 20px; height: 20px; min-height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--ink, #15374d); }
.ppr-request-check label { margin: 0; font-weight: 400; }
.ppr-request-check .ppr-request-help { grid-column: 2; margin-top: 0; }
.ppr-request-supporting { font-size: 12px; line-height: 1.65; }
.ppr-request-supporting:empty { display: none; }
.ppr-request-supporting h3 { font: 700 13px/1.5 var(--sans, Arial, sans-serif); letter-spacing: 0; margin: 23px 0 6px; }
.ppr-request-supporting ul { padding-left: 19px; margin: 0 0 20px; color: var(--muted, #53636b); }
.ppr-request-supporting li + li { margin-top: 5px; }
.ppr-request-review { margin: 24px 0; border-top: 1px solid var(--line, #d5d9d8); border-bottom: 1px solid var(--line, #d5d9d8); }
.ppr-request-review summary { font-size: 12px; padding: 15px 25px 15px 0; }
.ppr-request-review label { margin-bottom: 7px; }
.ppr-request-preview { width: 100%; min-height: 200px; margin-bottom: 8px; font: 12px/1.65 var(--sans, Arial, sans-serif); background: white; white-space: pre-wrap; }
.ppr-request-review .fine { font-size: 11px; margin: 5px 0 15px; }
.ppr-request-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; }
.ppr-request-actions .button { justify-content: center; font-size: 12px; padding: 12px 17px; min-height: 46px; }
.ppr-request-secondary { padding: 11px 14px; min-height: 46px; color: var(--ink, #15374d); background: white; border: 1px solid #9eafb8; font-size: 12px; line-height: 1.5; }
.ppr-request-secondary:hover { background: var(--cream, #eee9df); }
.ppr-request-feedback { font-size: 12px; line-height: 1.65; margin: 16px 0 0; }
.ppr-request-feedback:empty { display: none; }
.ppr-request-attachment-draft { margin-top: 14px; }
.ppr-request-print-frame { position: fixed; left: -10000px; top: 0; width: 800px; height: 600px; border: 0; pointer-events: none; }
@media (max-width: 540px) {
  .ppr-request-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); padding: 24px 20px; }
  .ppr-request-header { padding-right: 44px; }
  .ppr-request-header .eyebrow { max-width: 240px; }
  .ppr-request-close { right: -12px; }
  .ppr-request-actions { display: grid; grid-template-columns: 1fr; }
  .ppr-request-actions button { width: 100%; }
}
