.quote-wizard { max-width: 760px; margin-inline: auto; }
.quote-wizard [data-step-panel] { display: grid; gap: 16px; min-width: 0; }
.quote-wizard [data-step-panel][hidden] { display: none; }
.quote-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.quote-steps button { flex: 1 1 180px; min-height: 44px; text-align: left; }
.quote-steps [aria-current="step"] { background: var(--ink); color: white; }
.quote-recipient { display: flex; align-items: center; gap: 12px; justify-content: space-between; border-bottom: 1px solid var(--line); padding-block: 8px; }
.quote-recipient span { overflow-wrap: anywhere; }
.quote-draft-photos { display: flex; flex-wrap: wrap; gap: 14px; }
.quote-draft-photos figure { margin: 0; flex: 0 1 145px; }
.quote-draft-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; }
.quote-draft-photos button { min-height: 44px; }
.quote-summary { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 10px 18px; }
.quote-summary dt { font-weight: 700; }
.quote-summary dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.quote-draft-list { border-bottom: 1px solid var(--line); margin-bottom: 24px; padding-bottom: 16px; }
.change-section { margin-block: 20px; border: 1px solid var(--line); border-radius: 12px; padding: 18px; min-width: 0; }
.change-list { margin: 0; }
.change-list > div { border-top: 1px solid var(--line); padding-block: 14px; }
.change-list dt { font-weight: 700; margin-bottom: 8px; overflow-wrap: anywhere; }
.change-list dd { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.change-list dd > div { background: #f6f8f6; border-radius: 8px; padding: 12px; }
.change-list dd span { font-size: 13px; color: var(--muted); }
.change-list dd p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.publication-review button, .quote-wizard button { min-height: 44px; }
.publication-review [data-undo-confirmation][hidden] { display: none; }
@media (max-width: 650px) {
  dialog input, dialog textarea, dialog select { font-size: 16px; }
  dialog .close { width: 44px; height: 44px; min-height: 44px; }
  dialog { scroll-padding-top: 64px; }
  .quote-steps button { flex-basis: 100%; }
  .quote-summary, .change-list dd { grid-template-columns: minmax(0,1fr); }
  .quote-summary dd { margin-bottom: 10px; }
  .quote-wizard .workflow-actions button { flex: 1 1 100%; }
  .change-section { padding: 12px; }
  .publication-review button { white-space: normal; overflow-wrap: anywhere; width: 100%; }
}
