#quotes #editor .qe-help{font-size:12px;line-height:1.6;color:#a1a1aa;margin:0 0 16px}
#quotes #editor .qe-count{font-size:12px;font-weight:400;color:#a1a1aa;margin-left:12px}
#quotes #editor .itemrow.qe-row{display:grid!important;grid-template-columns:minmax(0,1fr) 100px 170px 32px!important;gap:14px!important;padding:18px!important;background:#16171a;border:1px solid #ffffff16;border-radius:13px;margin-bottom:12px;position:relative}
#quotes #editor .qe-item-title{grid-column:1/-1;font-size:10px;letter-spacing:.12em;color:#a1a1aa;font-weight:700}
#quotes #editor .qe-field{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}
#quotes #editor .qe-field>span{font-size:11px;color:#b9b9c4}
#quotes #editor .qe-field input{width:100%;min-width:0;min-height:42px}
#quotes #editor .qe-field .moneyfield{width:100%}
#quotes #editor .qe-row>.tiny-delete{align-self:end;margin:0 0 8px}
#quotes #editor .qe-item-footer{display:flex;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #ffffff10;padding-top:12px}
#quotes #editor .qe-item-controls{display:flex;gap:6px}
#quotes #editor .qe-item-controls button{font-size:11px;padding:8px 11px;min-height:34px}
#quotes #editor .qe-item-controls button:disabled{opacity:.3;cursor:default}
#quotes #editor .qe-subtotal{font-size:12px;color:#c9c9d1;text-align:right;font-variant-numeric:tabular-nums}
#quotes #editor .qe-notice{padding:13px 15px;border:1px solid #ffffff1a;border-radius:10px;font-size:12px;line-height:1.6;color:#b8b8c3;background:#16171a}
#quotes #editor .qe-notice.is-warning{border-color:#e9ad4560;background:#e9ad450a;color:#f4cb85}
@media(max-width:650px){#quotes #editor .itemrow.qe-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding:14px!important;gap:12px!important}#quotes #editor .qe-name{grid-column:1/-1}#quotes #editor .qe-row>.tiny-delete{position:absolute;right:12px;top:10px}#quotes #editor .qe-item-footer{flex-wrap:wrap}#quotes #editor .qe-subtotal{width:100%;text-align:left}}
@media print{#quotes #editor .qe-item-footer,#quotes #editor .qe-notice,#quotes #editor .qe-help{display:none!important}}

#qeReviewDialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #ffffff22;border-radius:18px;padding:26px;background:#101113;color:#f4f4f5;font-family:Inter,Arial,sans-serif;box-shadow:0 30px 100px #0009}
#qeReviewDialog::backdrop{background:#050608bb;backdrop-filter:blur(6px)}
#qeReviewDialog .qe-review-head{display:flex;justify-content:space-between;align-items:center;gap:16px}
#qeReviewDialog .qe-review-head small{font-size:10px;color:#b7f34d;letter-spacing:.13em}
#qeReviewDialog h2{font-size:23px;letter-spacing:-.03em;margin:8px 0 0}
#qeReviewDialog .qe-review-note{color:#aaaab6;font-size:12px;line-height:1.6;margin:20px 0}
#qeReviewDialog .qe-review-sheet{background:#191a1e;border:1px solid #ffffff12;border-radius:13px;padding:24px;overflow-wrap:anywhere}
#qeReviewDialog h3{font-size:24px;letter-spacing:-.03em;margin:0 0 10px}
#qeReviewDialog .qe-review-client{font-size:13px;color:#b9b9c4}
#qeReviewDialog h4{margin:28px 0 12px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#a1a1aa}
#qeReviewDialog ul{list-style:none;padding:0;margin:0}
#qeReviewDialog li{display:flex;gap:12px;align-items:baseline;padding:12px 0;border-bottom:1px solid #ffffff12;font-size:14px}
#qeReviewDialog li strong{color:#b7f34d;min-width:32px;font-size:12px}
#qeReviewDialog .qe-review-total{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:28px;flex-wrap:wrap}
#qeReviewDialog .qe-review-total span{font-size:12px;color:#b9b9c4}
#qeReviewDialog .qe-review-total strong{font-size:26px;color:#b7f34d;font-variant-numeric:tabular-nums}
#qeReviewDialog .qe-review-feedback{min-height:18px;font-size:12px;color:#b9b9c4;line-height:1.5}
#qeReviewDialog footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:18px}
#qeReviewDialog .btn{min-height:42px}
#qeReviewDialog .btn.primary{background:#b7f34d;color:#152009}
#qeReviewDialog .btn.secondary{background:#202126;color:#e4e4e7;border:1px solid #ffffff22}
#qeReviewDialog button:focus-visible{outline:2px solid #b7f34d;outline-offset:3px}
@media(max-width:600px){#qeReviewDialog{padding:18px;max-height:calc(100dvh - 20px);width:calc(100vw - 20px)}#qeReviewDialog .qe-review-sheet{padding:17px}#qeReviewDialog footer .btn{flex:1}}

#quotes .qe-save-feedback{margin:0 0 20px;padding:13px 16px;background:#17181b;border:1px solid #ffffff20;border-radius:11px;color:#c9c9d1;font-size:13px;line-height:1.6}
#quotes .qe-save-feedback[hidden]{display:none!important}
#quotes .qe-save-feedback[data-state="pending"]{border-color:#b7f34d50;color:#d3e9af}
#quotes .qe-save-feedback[data-state="success"]{border-color:#52d27350;color:#a5dfb5}
#quotes .qe-save-feedback[data-state="unconfirmed"]{border-color:#e9ad4560;color:#f4cb85}
#quotes #editor[aria-busy="true"] button:disabled{cursor:wait;opacity:.6}
