.v5-details { margin:16px 0; padding:20px; }
.v5-details details { margin-top:16px; font-size:.88rem; }
.v5-details p { overflow-wrap:anywhere; }
.v5-before-price,.v5-delivery-hint { display:block; margin-top:6px; font-size:.78rem; color:var(--text-secondary); }
.v5-pdf { width:100%; height:68vh; border:1px solid var(--border); border-radius:8px; margin-bottom:16px; }
.v5-modal { width:min(1100px,96vw); max-height:95vh; overflow-y:auto; padding:24px; }
.v5-modal header { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.v5-upgrade-totals { display:flex; gap:36px; margin:24px 0; flex-wrap:wrap; }
.v5-upgrade-totals strong { display:block; color:var(--brand); font-size:1.3rem; margin-top:8px; }
.v5-origin { min-width:90px; }
.v5-quote-footer { position:static; flex-wrap:wrap; }
.v51-delete-modal { width:min(540px,94vw); max-height:90vh; overflow-y:auto; margin:auto; }
.v51-delete-modal p { overflow-wrap:anywhere; line-height:1.6; }
.v51-delete-modal label { display:block; margin:20px 0; }
.v51-delete-modal textarea { display:block; width:100%; margin-top:8px; }
.v51-delete-modal .buttons { justify-content:flex-end; }
.v51-delete-confirm { background:#b42318; border-color:#b42318; }
.save-status.failed { gap:8px; flex-wrap:wrap; }
.save-status.failed button { color:inherit; text-decoration:underline; padding:0 4px; }
.save-status.unsaved { color:var(--warning); background:#fff4df; }
.v52-conflict-modal { width:min(820px,94vw); max-height:90vh; overflow-y:auto; margin:auto; }
.v52-conflict-modal table { width:100%; margin:16px 0; }
.v52-conflict-modal td { white-space:pre-wrap; overflow-wrap:anywhere; max-width:280px; }
.v52-conflict-modal .buttons { flex-wrap:wrap; justify-content:flex-end; }
@media(max-width:720px) { .v5-modal { padding:16px; } .v5-pdf { height:60vh; } .v5-details { padding:16px; } }
