/* Fixed price/date columns: quotation wraps without moving the date. */
#root .wh-order-number-text.wh-photo-order-numbers{white-space:pre!important;overflow-wrap:normal!important;word-break:normal!important}
#root .new-zone-listing-context{grid-template-columns:repeat(2,minmax(0,1fr))}
.photo-dispatch-workbench .dispatch-table-wrap :is(th,td):nth-child(4){width:220px;max-width:260px;overflow-wrap:anywhere}
.dispatch-order-overlay{position:fixed;inset:40px 0 0;z-index:10020;background:#35271e88;display:grid;place-items:center;padding:16px}
.dispatch-order-dialog{box-sizing:border-box;width:min(480px,100%);background:#fffdfa;border-radius:16px;padding:22px;color:#44362d;box-shadow:0 18px 60px #28190f44}
.dispatch-order-dialog h2{margin:0 0 12px}.dispatch-order-dialog label{display:grid;gap:8px}.dispatch-order-dialog :is(input,textarea){box-sizing:border-box;width:100%;padding:12px;border:1px solid #dec9b9;border-radius:8px;font:inherit}.dispatch-order-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.dispatch-order-number,.photo-platform-order-numbers{white-space:pre!important;text-align:left}.dispatch-order-dialog textarea{resize:vertical;min-height:105px}
/* Keep submit controls visible while preserving the established field grouping. */
#root .custom-modal.after-sales-modal{width:min(1120px,calc(100vw - 40px));max-height:calc(100dvh - 64px);padding:0;display:flex;flex-direction:column;overflow:hidden}
#root .after-sales-modal>header{flex:none;padding:12px 20px;align-items:center}
#root .after-sales-modal>header h2{margin:0;font-size:23px}
#root .after-sales-modal>header>button{width:34px;height:34px;font-size:24px}
#root .after-sales-modal>.after-sales-form{min-height:0;overflow:auto;display:grid;grid-template-columns:1fr;grid-auto-rows:max-content;gap:8px;padding:10px 16px}
#root .after-sales-modal>.after-sales-form>.after-sales-section{margin:0}
#root .after-sales-modal .after-sales-section>h3{margin:0;padding:7px 12px;font-size:14px}
#root .after-sales-modal .after-sales-section-fields{padding:8px 12px;gap:7px 12px}
#root .after-sales-modal .after-sales-section-fields>label{font-size:13px;line-height:18px}
#root .after-sales-modal .after-sales-section-fields>label>:is(input,select){height:34px!important;min-height:34px!important;margin-top:4px;padding:5px 9px}
#root .after-sales-modal .after-sales-section-fields>label>textarea{height:58px!important;min-height:58px!important;max-height:none!important;margin-top:4px;padding:6px 9px;resize:vertical}
#root .after-sales-modal .after-sales-form>.after-sales-section:first-child textarea{height:34px!important;min-height:34px!important;resize:vertical}
#root .after-sales-modal .after-sales-section-fields>.after-sales-evidence-wrap{height:auto!important;min-height:0!important;align-self:start}
#root .after-sales-modal .after-sales-evidence-wrap>.after-sales-evidence-paste{height:58px!important;min-height:58px!important;max-height:58px!important;padding:6px 140px 6px 9px;font-size:13px}
#root .after-sales-modal .after-sales-evidence-wrap>b{margin-bottom:4px;font-size:13px;line-height:18px}
#root .after-sales-modal .after-sales-evidence-wrap>.after-sales-evidence-upload{top:34px!important;right:10px!important}
#root .after-sales-modal>footer{flex:none;display:flex;justify-content:flex-end;padding:10px 16px;border-top:1px solid #eadfd5;background:#fffdfa;gap:10px}
#root .after-sales-modal>footer>button{padding:8px 16px}
@media(max-width:700px){#root .custom-modal.after-sales-modal{width:calc(100vw - 16px)}#root .after-sales-modal>.after-sales-form{padding:8px;gap:8px}}
@media(min-width:701px) and (max-height:920px){
 #root .after-sales-modal>header{padding:8px 16px}
 #root .after-sales-modal>.after-sales-form{padding:6px 12px;gap:5px}
 #root .after-sales-modal .after-sales-section>h3{padding:4px 10px;font-size:13px;line-height:18px}
 #root .after-sales-modal .after-sales-section-fields{padding:6px 10px;gap:4px 12px}
 #root .after-sales-modal .after-sales-section-fields>label{font-size:12px;line-height:14px}
 #root .after-sales-modal .after-sales-section-fields>label>:is(input,select){height:28px!important;min-height:28px!important;margin-top:3px;padding:3px 8px}
 #root .after-sales-modal .after-sales-section-fields>label>textarea{height:44px!important;min-height:44px!important;margin-top:3px;padding:4px 8px}
 #root .after-sales-modal .after-sales-form>.after-sales-section:first-child textarea{height:28px!important;min-height:28px!important}
 #root .after-sales-modal .after-sales-evidence-wrap>b{font-size:12px;line-height:14px;margin-bottom:3px}
 #root .after-sales-modal .after-sales-evidence-wrap>.after-sales-evidence-paste{height:44px!important;min-height:44px!important;max-height:44px!important}
 #root .after-sales-modal .after-sales-evidence-wrap>.after-sales-evidence-upload{top:23px!important}
 #root .after-sales-modal>footer{padding:7px 12px}
}
