.quote-preview-dialog{width:min(1040px,96vw);max-width:none;padding:0;border:0;border-radius:22px;background:#edf1ef;box-shadow:0 30px 90px #071c1690}.quote-preview-dialog::backdrop{background:#071713bb;backdrop-filter:blur(5px)}
.quote-preview-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px;background:#10261f;color:#fff}.quote-preview-toolbar>div:first-child{display:grid;gap:2px}.quote-preview-toolbar small{color:#b8cac4}.quote-preview-toolbar button{border:0;border-radius:10px;padding:10px 16px;background:#e22086;color:#fff;font-weight:600}.quote-preview-toolbar button.outline{background:transparent;border:1px solid #678078}
.quote-document{width:210mm;min-height:279mm;margin:26px auto;padding:18mm 17mm 14mm;box-sizing:border-box;background:#fff;color:#17221f;font:14px/1.45 Inter,Segoe UI,Arial,sans-serif;box-shadow:0 12px 45px #0a211a25}
.quote-brand{display:flex;justify-content:space-between;gap:28px;padding-bottom:22px;border-bottom:3px solid #142a23}.quote-brand img{width:190px;height:86px;object-fit:contain;object-position:left center}.quote-brand p{margin:2px 0;color:#60726c;font-size:12px}.quote-brand>div:last-child{display:grid;justify-items:end;align-content:start}.quote-brand span{color:#de1d83;font-size:12px;font-weight:800;letter-spacing:2px}.quote-brand strong{margin:3px 0 8px;font-size:23px;color:#10261f}.quote-brand small{color:#62746e}
.quote-client{display:grid;grid-template-columns:1.25fr .75fr;gap:30px;margin:24px 0;padding:19px 22px;border-radius:14px;background:#f1f5f3}.quote-client span{display:block;margin-bottom:5px;color:#71827c;font-size:10px;font-weight:800;letter-spacing:1.4px}.quote-client h2{margin:0;font-size:21px}.quote-client b{font-size:15px}.quote-client p{margin:3px 0;color:#576a63}
.quote-lines{width:100%;border-collapse:collapse}.quote-lines th{padding:12px 10px;background:#10261f;color:#fff;text-align:left;font-size:11px;font-weight:700;letter-spacing:.45px}.quote-lines th:first-child{border-radius:10px 0 0 0}.quote-lines th:last-child{border-radius:0 10px 0 0;text-align:right}.quote-lines td{padding:14px 10px;border-bottom:1px solid #dfe7e3;vertical-align:top}.quote-lines td:first-child{width:60px}.quote-lines td:nth-last-child(-n+2){width:120px;white-space:nowrap}.quote-lines td:last-child{text-align:right;font-weight:700}.quote-lines td small{display:block;margin-top:3px;color:#72837d;font-weight:400}
.quote-summary{display:grid;grid-template-columns:1fr 250px;gap:32px;margin-top:28px}.quote-conditions h3{margin:0 0 9px;font-size:13px;color:#10261f}.quote-conditions>p{margin:5px 0;color:#5e7069;font-size:11px}.quote-notes{margin-top:14px;padding:11px 13px;border-left:3px solid #e22086;background:#faf2f7}.quote-notes p{margin:4px 0 0;font-size:11px}.quote-amounts{padding:18px;border-radius:14px;background:#10261f;color:#fff}.quote-amounts p{display:flex;justify-content:space-between;gap:20px;margin:0;padding:8px 0;border-bottom:1px solid #ffffff22}.quote-amounts .quote-total{margin-top:5px;border:0;align-items:end}.quote-total strong{color:#ff49aa;font-size:25px}.quote-amounts small{display:block;margin-top:5px;color:#bcd0c9;text-align:right;font-size:10px}
.quote-footer{display:flex;justify-content:space-between;gap:30px;margin-top:38px;padding-top:16px;border-top:1px solid #cad7d2;color:#61726c;font-size:10px}.quote-footer>div{display:grid}.quote-footer>div:last-child{text-align:right}.quote-footer b{color:#142a23;font-size:11px}
@media(max-width:760px){.quote-preview-dialog{width:100vw;height:100dvh;max-height:none;border-radius:0}.quote-preview-toolbar{align-items:flex-start;padding:12px}.quote-preview-toolbar>div:last-child{display:flex}.quote-document{transform-origin:top left;transform:scale(.44);margin:12px;width:210mm}.quote-preview-dialog{overflow:auto}}
@media print{body>*:not(#quotePreviewDialog){display:none!important}#quotePreviewDialog{display:block!important;position:static!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important}.quote-preview-toolbar{display:none!important}.quote-document{width:210mm;min-height:279mm;margin:0!important;padding:14mm 15mm 12mm!important;box-shadow:none!important;transform:none!important}@page{size:letter portrait;margin:0}}
.quote-item-card{margin-top:12px;padding:13px;border:1px solid #d7e2dd;border-radius:12px;background:#fff}.quote-item-main{display:grid;grid-template-columns:190px minmax(190px,1fr) 90px 34px;gap:8px;align-items:end}.quote-item-details{display:grid;grid-template-columns:90px 90px 130px 130px 110px minmax(180px,1fr);gap:8px;margin-top:9px}.quote-item-card label{display:grid;gap:4px;color:#607169;font-size:9px;font-weight:700}.quote-item-card input,.quote-item-card select,.quote-item-card textarea{box-sizing:border-box;width:100%;padding:8px;border:1px solid #d5e0db;border-radius:8px;background:#fff;color:#17221f;font:inherit}.quote-item-card textarea{resize:vertical}.quote-item-notes{grid-column:1/-1}.quote-remove{height:34px;border:0!important;border-radius:8px!important;padding:0!important;background:#f7e6e6!important;color:#9b3030!important;font-size:18px!important}.quote-terms-editor small{color:#6f7f79;font-size:9px}@media(max-width:760px){.quote-item-main,.quote-item-details{grid-template-columns:1fr 1fr}.quote-description,.quote-item-notes{grid-column:1/-1}.quote-remove{grid-column:2;grid-row:1}}
.quote-delete{background:#9b3030!important;color:#fff!important}
.quote-notes-match{display:flex!important;grid-column:1/-1;align-items:center;gap:8px!important;padding:8px 10px;border-radius:8px;background:#eef5f2;color:#26483d!important}.quote-notes-match input{width:auto}
