.quote-email-dialog{box-sizing:border-box;width:min(820px,calc(100vw - 24px));max-height:92dvh;overflow:auto;border:1px solid #bdcee3;border-top:6px solid #ee681e;border-radius:18px;padding:26px;color:#142c4a;background:#fff}.quote-email-dialog::backdrop{background:#102e55bb}.quote-email-dialog h2{font-size:1.6rem;margin:0}.quote-email-dialog h3{font-size:1.1rem;margin-top:20px}.quote-email-head{display:flex;align-items:start;gap:16px;justify-content:space-between}.quote-email-head button{flex-shrink:0}.quote-email-dialog form{display:grid;gap:16px;max-width:none}.quote-email-dialog label{display:grid;gap:7px;font-weight:700}.quote-email-dialog input,.quote-email-dialog textarea,.quote-email-dialog select{width:100%;box-sizing:border-box;font:inherit;padding:12px;border:1px solid #a7bbd2;border-radius:9px;color:#142c4a;background:white}.quote-email-dialog textarea{line-height:1.55;min-height:230px;font-weight:400}.quote-email-dialog .email-sender{padding:12px 15px;border-radius:10px;background:#edf4fd;overflow-wrap:anywhere}.quote-email-dialog .email-warning{background:#fff4e4;color:#823800;border:1px solid #ecc293;padding:13px;border-radius:9px}.quote-email-dialog .email-success{background:#ecf8ee;color:#166534;padding:14px;border:1px solid #a6d6b5;border-radius:10px}.quote-email-dialog .email-attachment{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px;background:#f4f7fc;border:1px solid #d4dfec;border-radius:10px}.quote-email-dialog .email-attachment span{flex:1;overflow-wrap:anywhere}.quote-email-dialog .email-actions{display:flex;gap:12px;flex-wrap:wrap}.quote-email-dialog button,.quote-email-dialog a.email-link{border:0;border-radius:9px;padding:12px 16px;cursor:pointer;font:inherit;font-weight:700;background:#173f73;color:#fff;text-decoration:none}.quote-email-dialog .email-send{background:#c9500d}.quote-email-dialog button:disabled{opacity:.55;cursor:not-allowed}.quote-email-dialog .email-secondary{background:#e8eef7;color:#173f73}.quote-email-dialog details{border-bottom:1px solid #dbe4ef;padding:12px 0}.quote-email-dialog summary{cursor:pointer;line-height:1.6;overflow-wrap:anywhere}.quote-email-dialog .email-message-copy{white-space:pre-wrap;background:#f6f8fb;padding:12px;line-height:1.5}.quote-email-dialog .email-results{display:grid;gap:10px;margin-top:16px}.quote-email-dialog .email-results button{text-align:left;background:#edf4fd;color:#173f73;border:1px solid #ccdaed}.quote-email-dialog .email-code{font-family:ui-monospace,monospace;font-size:12px;min-height:140px}.quote-email-dialog ol{padding-left:24px;line-height:1.6}.quote-email-dialog li{margin:8px 0}.quote-email-dialog p{line-height:1.55}.quote-email-dialog iframe{width:100%;height:60vh;border:1px solid #d4dfec}.quote-email-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.quote-email-button{background:#173f73!important;color:white!important}.quote-email-dialog :focus-visible{outline:3px solid #ee681e;outline-offset:3px}@media(max-width:550px){.quote-email-dialog{padding:18px}.quote-email-head{flex-wrap:wrap}.quote-email-dialog .email-actions button{width:100%}}

.quote-email-dialog form p{margin:0}.quote-email-dialog textarea{min-height:190px}.quote-email-dialog .email-sender{margin:0}.quote-email-dialog form>label{font-size:1rem}
