.quote-edit-row{display:grid;grid-template-columns:1fr 2fr;gap:12px;border:1px solid #ccd5e5;padding:16px;margin:14px 0}.quote-edit-row input,.quote-edit-row textarea{width:100%}#quote-preview{overflow:auto;background:#dfe4ed;margin-top:20px;padding:16px}dialog:has(#quote-preview){width:min(1000px,96vw);max-width:1000px}.quote-sheet{font-family:Arial,sans-serif;position:relative;width:210mm;height:297mm;background:white;color:#111;margin:0 auto 16px;box-sizing:border-box;overflow:hidden}.quote-letterhead{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:fill;z-index:0}.quote-title-cover{position:absolute;top:39mm;right:7mm;width:101mm;height:31mm;background:white;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;color:#1c2b5b}.quote-title-cover strong{font-size:26pt}.quote-title-cover span{font-size:13pt;margin-top:5mm}.quote-content{position:relative;padding:78mm 18mm 0;font-size:8pt;line-height:1.2}.quote-brand{text-align:center;color:white;background:#1c2b5b;padding:2mm;font-size:16pt}.quote-tagline{background:#f3f4f9;color:#1c2b5b;text-align:center;font-weight:bold;margin-bottom:4mm}.quote-sheet table{width:100%;border-collapse:collapse;font-size:8pt;table-layout:fixed}.quote-sheet td,.quote-sheet th{border:.2mm solid #111;padding:1mm 1.5mm;white-space:normal;overflow-wrap:anywhere;letter-spacing:normal;text-transform:none;color:#111;text-align:left;font-size:8pt}.quote-sheet thead th{background:#1c2b5b;color:white}.quote-sheet h3{color:#1c2b5b;font-size:9pt;margin:5mm 0 2mm}.quote-items th:nth-child(1){width:12%}.quote-items th:nth-child(2){width:40%}.quote-items th:nth-child(3){width:7%}.quote-items th:nth-child(4),.quote-items th:nth-child(5){width:20.5%}.quote-items td:nth-child(n+3){text-align:right}.quote-sheet .quote-totals{width:48%;margin:4mm 0 3mm auto}.quote-totals td:last-child,.quote-totals th:last-child{text-align:right}.quote-delivery{background:#f3f4f9;margin:3mm 0;font-size:8pt}.quote-notes{white-space:pre-line;font-size:8pt;margin:2mm 0}.quote-footer{position:absolute;bottom:5mm;left:12mm;right:12mm;display:block!important;text-align:center;color:white!important;font-size:8pt;line-height:1.5;padding:0!important;border:0!important}.quote-sheet p{line-height:1.3}#quote-print-root{display:none}@media(max-width:600px){.quote-edit-row{grid-template-columns:1fr}}@page{size:A4;margin:0}@media print{html,body{margin:0!important;padding:0!important;background:white!important}body>*:not(#quote-print-root){display:none!important}dialog{display:none!important}#quote-print-root{display:block!important}.quote-sheet{margin:0;break-after:page;print-color-adjust:exact;-webkit-print-color-adjust:exact}.quote-sheet:last-child{break-after:auto}}

.quote-product-detail{display:flex;align-items:center;gap:2mm}.quote-product-photo{width:16mm!important;height:16mm!important;object-fit:contain;flex-shrink:0}.quote-public{max-width:1000px;margin:24px auto;padding:16px}.quote-public .actions{display:flex;flex-wrap:wrap;gap:12px}.quote-public #quote-preview{margin-top:20px}.quote-public h1{font-size:26px}.quote-product-detail span{min-width:0;overflow-wrap:anywhere}
