.quote-dialog[hidden], .quote-dialog [hidden] { display: none !important; }
.quote-dialog { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: #020617a6; }
.quote-dialog__panel { width: min(100%, 780px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; background: white; color: #0f172a; border-radius: 12px; padding: 24px; box-shadow: 0 24px 80px #02061766; }
.quote-dialog__header { display: flex; align-items: start; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 1; background: white; }
.quote-dialog__header button { min-width: 44px; min-height: 44px; border: 1px solid #cbd5e1; border-radius: 6px; }
.quote-dialog form { margin-top: 16px; min-width: 0; }
.quote-dialog form > *, .quote-dialog label { min-width: 0; }
.quote-dialog input:not([type="checkbox"]), .quote-dialog textarea { width: 100%; min-width: 0; }
.quote-dialog input[type="file"] { font-size: 13px; }
.quote-dialog [data-quote-context] { overflow-wrap: anywhere; font-weight: 600; }
.quote-dialog [data-quote-status] { margin-top: 16px; padding: 12px; border-radius: 6px; background: #fef2f2; color: #991b1b; }
.quote-dialog [data-quote-status][data-success] { background: #f0fdf4; color: #166534; }
.quote-dialog [aria-invalid="true"] { border-color: #b91c1c; }
.quote-dialog button:disabled { opacity: .55; cursor: not-allowed; }
.quote-dialog :focus-visible { outline: 2px solid #008f8f; outline-offset: 3px; }
.quote-dialog a { overflow-wrap: anywhere; }
body.quote-dialog-open { overflow: hidden; }
@media(max-width: 600px) {
    .quote-dialog { padding: 8px; }
    .quote-dialog__panel { max-height: calc(100dvh - 16px); padding: 16px 12px; }
    .quote-dialog form { padding: 12px; }
}
