.quote-dialog { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 28px); box-sizing: border-box; border: 1px solid #dce1e8; border-radius: 20px; padding: 0; background: var(--surf, #fff); color: var(--t1, #172033); box-shadow: 0 24px 80px #0004; }
.quote-dialog::backdrop { background: #111b2a99; backdrop-filter: blur(3px); }
.quote-dialog-content { padding: 24px; overflow-wrap: anywhere; }
.quote-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.quote-dialog h2 { margin: 0; font: inherit; font-size: 25px; font-weight: 750; }
.quote-dialog h3 { margin: 26px 0 10px; font-size: 17px; }
.quote-subtitle, .quote-line small { color: var(--t2, #667085); font-size: 13px; line-height: 1.5; }
.quote-line { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border, #e4e7ed); }
.quote-line-text { flex: 1; min-width: 0; line-height: 1.45; }
.quote-line small { display: block; margin-top: 3px; }
.quote-line strong { flex-shrink: 0; text-align: right; font-size: 14px; max-width: 40%; }
.quote-image { width: 68px; height: 58px; flex: 0 0 68px; background: #fff; border: 0; border-radius: 0; display: flex; align-items: center; justify-content: center; color: #667085; font-size: 11px; }
.quote-image img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.quote-summary, .quote-total { display: flex; justify-content: space-between; gap: 18px; line-height: 1.5; margin-top: 12px; }
.quote-total { font-size: 22px; font-weight: 750; padding-top: 20px; margin-top: 24px; border-top: 2px solid var(--border, #dce1e8); }
.quote-total strong, .quote-summary strong { text-align: right; }
.quote-status { margin: 24px 0 12px; font-size: 13px; color: var(--t2, #667085); min-height: 2em; }
.quote-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.quote-dialog button, .quote-actions a { min-height: 42px; border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 14px; font-weight: 650; border: 1px solid var(--border, #dce1e8); color: inherit; background: var(--bg, #f4f6f9); cursor: pointer; }
.quote-dialog button:disabled { opacity: .45; cursor: default; }
.quote-dialog button:focus-visible, .quote-actions a:focus-visible { outline: 3px solid #437eff; outline-offset: 2px; }
.quote-actions a { flex-basis: 100%; text-align: center; color: var(--blue, #2563eb); text-decoration: none; }
.quote-actions a[hidden] { display: none; }
.quote-copy-area { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 480px) { .quote-dialog-content { padding: 18px 14px; } .quote-line { gap: 9px; } .quote-image { flex-basis: 50px; width: 50px; height: 48px; } .quote-line strong { font-size: 12px; } .quote-line-text { font-size: 13px; } .quote-actions button { flex: 1 1 45%; } .quote-close { max-width: 110px; } }
@media print { body > :not(.quote-dialog) { display: none !important; } .quote-dialog { position: static; display: block; width: 100%; max-height: none; box-shadow: none; border: 0; color: #111; background: #fff; } .quote-actions, .quote-close, .quote-status { display: none !important; } .quote-line { break-inside: avoid; } }
