#commercialWorkspace .qo{max-width:1180px;margin:0 auto;color:#24323c}#commercialWorkspace .qo [hidden]{display:none!important}.qo #qoNotice:empty{display:none}.qo #qoNotice{padding:10px 14px;background:#fff5dc;border-radius:8px}.qo form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:20px}.qo-paper,.qo-mail{background:#fff;border:1px solid #dce2e7;border-radius:14px;padding:24px;min-width:0}.qo-paper{border-top:3px solid #c82832}.qo h2,.qo h3{margin:0 0 10px}.qo-paper-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:18px}.qo-paper-head p,.qo-muted{color:#687580;font-size:13px}.qo label{display:block;font-size:14px;font-weight:600;margin-bottom:14px}.qo input,.qo textarea,.qo select{display:block;width:100%;box-sizing:border-box;border:1px solid #cbd4dc;border-radius:8px;padding:11px 12px;margin-top:6px;font:inherit;background:#fff;color:#23303b}.qo input:focus,.qo textarea:focus,.qo select:focus{outline:2px solid #b32432;outline-offset:2px}.qo-button{border:1px solid #ccd3db;border-radius:8px;background:#fff;color:#263443;padding:10px 14px;cursor:pointer;font:inherit;font-size:14px}.qo-button:hover{background:#f3f5f7}.qo-button:disabled{opacity:.5;cursor:wait}.qo .qo-primary{background:#bc2331;border-color:#bc2331;color:white;font-weight:700}.qo .qo-primary:hover{background:#99202c}.qo-results{max-height:230px;overflow:auto;display:grid;gap:4px;margin-bottom:10px}.qo-results:empty{display:none}.qo-results button{text-align:left;line-height:1.5}.qo-empty{padding:30px 10px;text-align:center;color:#647383;background:#f7f8fa;border:1px dashed #d0d8df;border-radius:8px}.qo-line{display:grid;grid-template-columns:minmax(120px,2fr) minmax(70px,.8fr) minmax(80px,.9fr) minmax(70px,.7fr) 30px;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid #e6ebef;font-size:14px}.qo-line-heading{font-size:11px;color:#65727d;text-transform:uppercase;padding:12px 0}.qo-line label{margin:0}.qo-line input{padding:9px 6px;margin:0}.qo-line small,.qo-target small{display:block;color:#65737f;margin-top:4px}.qo-line>.qo-button{border:0;padding:8px;font-size:22px}.qo-total{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:20px;font-size:13px}.qo-total strong{font-size:24px}.qo-footer{grid-column:1/-1;display:flex;gap:15px;justify-content:space-between;align-items:center;padding:15px 0}.qo-footer>span{color:#5c6872;font-size:14px}.qo-footer>div{display:flex;gap:10px;flex-wrap:wrap}.qo-target{display:flex;justify-content:space-between;gap:10px;padding:12px;margin-bottom:12px;background:#f2f5f7;border-radius:8px;overflow-wrap:anywhere}.qo-target button{border:0;background:transparent}.qo-sender{margin-top:16px}.qo #qoPreview{grid-column:1/-1;display:grid;gap:10px}.qo #qoPreview:empty{display:none}.qo-outcome{display:grid;gap:7px;padding:16px;border-bottom:1px solid #dde3e9}.qo #qoHistoryRows{display:grid;gap:8px}.qo-mobile{display:none}#commercialWorkspace .cw-head{margin-bottom:12px}#commercialWorkspace .cw-modes{margin-bottom:16px}#commercialWorkspace .cw-more{margin-left:auto}#commercialWorkspace .cw-more[open]{max-width:100%}@media(max-width:1100px){.qo form{grid-template-columns:1fr}.qo-mail{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.qo-mail h3,.qo-mail>#qoContactResults,.qo-mail>#qoSelected{grid-column:1/-1}}@media(max-width:650px){.qo-paper,.qo-mail{padding:16px}.qo-mail{display:block}.qo-paper-head{display:block}.qo-line{grid-template-columns:1fr 1fr 80px 30px}.qo-line>div{grid-column:1/-1}.qo-line-heading{display:none}.qo-mobile{display:block;font-size:12px;margin-bottom:5px}.qo-footer{align-items:stretch;flex-direction:column}.qo-total strong{font-size:21px}.qo .qo-primary{flex:1}.qo-paper-head button{margin-top:6px}}

.qo .qo-address-book{margin:0 0 14px;border:1px solid #dce2e7;border-radius:8px;background:#fff}.qo-address-book summary{cursor:pointer;padding:12px;font-weight:600;font-size:14px}.qo .qo-address-list{max-height:280px;overflow:auto;padding:0 10px;overscroll-behavior:contain}.qo .qo-address-row{display:flex;align-items:center;gap:10px;margin:0;padding:11px 2px;border-top:1px solid #edf0f2;cursor:pointer;overflow-wrap:anywhere}.qo .qo-address-row input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#bc2331}.qo-address-row span span,.qo-address-row small{display:block;font-weight:400;margin-top:3px}.qo-address-row small{color:#687580;font-size:12px}.qo #qoSelected>strong{display:block;font-size:13px;margin-bottom:8px}.qo-chosen-scroll{max-height:145px;overflow:auto}.qo-chosen-scroll:empty{display:none}.qo #qoAddressCount{font-weight:400;color:#687580}@media(max-width:1100px){.qo-mail>.qo-address-book,.qo-mail>#qoSelected{grid-column:1/-1}}

.qo .qo-external{margin-bottom:14px}.qo-external summary{cursor:pointer;font-size:14px;color:#a51e2d;padding:8px 0}.qo-external[open]{padding:12px;border:1px solid #dce2e7;border-radius:8px}.qo-external[open] summary{padding-top:0;margin-bottom:8px}@media(max-width:1100px){.qo-mail>.qo-external{grid-column:1/-1}}

.qo .qo-add-product{margin-top:16px;color:#a51e2d;border-color:#cba3a8}.qo .qo-files{margin:18px 0;grid-column:1/-1}.qo .qo-files input{max-width:100%;font-size:13px}.qo .qo-file{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:8px 0;overflow-wrap:anywhere}.qo .qo-file span{min-width:0}

/* Composition follows the message: recipient, products, attachments, text. */
#commercialWorkspace .qo{max-width:1440px}
.qo #qoForm{grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);align-items:start;gap:20px}
.qo .qo-compose-title{grid-column:1/-1;margin:0;align-items:center}.qo-compose-title>div{margin-right:auto}
.qo-editor{min-width:0;display:grid;gap:16px}
.qo-preview-column{min-width:0;align-self:stretch}
.qo-compose-section{background:white;border:1px solid #e0e5e9;border-radius:14px;padding:22px;min-width:0}
.qo-compose-section>h3{font-size:16px;color:#34434b;margin:0 0 18px}.qo-compose-section .qo-sender{margin-top:0}
.qo-compose-section .qo-empty{padding:18px 10px}.qo-compose-section .qo-files{margin:10px 0 0}
.qo-auto-pdf{border-radius:8px;padding:12px;background:#f0f6f3;color:#426553;font-size:13px}
.qo-live-preview{position:sticky;top:124px;background:white;border:1px solid #dde4e8;border-radius:14px;padding:22px;min-width:0;max-height:calc(100dvh - 222px);overflow:auto;scroll-margin-top:120px}
.qo-live-preview h3{font-size:16px}.qo-live-preview label{font-size:12px}.qo-live-preview select{font-size:12px}
.qo-envelope{display:grid;gap:10px;border-bottom:1px solid #e5e9ec;padding-bottom:18px;font-size:12px}
.qo-envelope>div{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px}.qo-envelope span{color:#7a858f}.qo-envelope strong{overflow-wrap:anywhere;font-weight:600}
.qo-preview-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;padding:22px 0;color:#35434b}
.qo-preview-attachments{display:grid;gap:8px;border-top:1px solid #e6eaed;padding-top:15px;font-size:12px;overflow-wrap:anywhere}.qo-preview-attachments>span{padding:9px;background:#f4f6f8;border-radius:7px}
.qo-preview-count{font-size:12px;font-weight:600;color:#54636e;line-height:1.6}.qo .qo-preview-mobile{display:none}
.qo .qo-compose-send{border-top:1px solid #e1e7e9;padding:18px 0}.qo-live-preview #qoPreview{margin-top:16px;font-size:13px}
@media(max-width:1050px){.qo #qoForm{grid-template-columns:1fr}.qo-preview-column:not(:has(.qo-preview-open)){display:none}.qo-live-preview{display:none;position:static;max-height:none}.qo-live-preview.qo-preview-open{display:block}.qo .qo-preview-mobile{display:block}.qo-compose-title{flex-wrap:wrap}}
@media(max-width:650px){.qo-compose-section,.qo-live-preview{padding:16px}.qo .qo-compose-title{display:flex}.qo-line{gap:7px;grid-template-columns:1fr 1fr 65px 28px}.qo-line input{min-width:0}}
.qo-saved-lists{border:1px solid #e8c9b4;border-radius:12px;background:#fffaf6;padding:12px 14px;margin:10px 0}.qo-saved-lists>summary{font-weight:700;cursor:pointer;color:#8b421c}.qo-list-choice{display:flex!important;align-items:center;gap:10px;padding:9px;border-bottom:1px solid #eee}.qo-list-choice input{width:18px!important;min-height:18px!important;margin:0}.qo-saved-lists #qoListChoices{max-height:240px;overflow:auto;margin:8px 0}.qo-list-save{margin-top:14px;border-top:1px solid #eadccd;padding-top:12px}.qo-list-save summary{cursor:pointer;margin-bottom:10px}.qo-list-save label{margin:8px 0}.qo-saved-lists [role=status]{font-size:13px;line-height:1.5;margin:10px 0 0}
