.review-panel.customer-order-modal{padding:0!important;border-radius:20px!important;background:#fff;box-shadow:0 28px 100px #16243240;display:flex;flex-direction:column;max-height:calc(100dvh - 40px)!important;overflow:hidden!important;color:#303945}
.customer-order-modal .review-head{padding:22px 28px 15px!important;border:0!important;margin:0!important;flex:none}.customer-order-modal .review-head h2{font-size:22px!important;font-weight:650;letter-spacing:-.7px}.customer-order-modal .review-head>button{border:1px solid #e7ebef!important;background:#fff!important;border-radius:10px!important;width:34px;height:34px;font-size:22px!important;color:#76808d!important}
.customer-detail-meta{display:flex;align-items:center;gap:12px;margin:0 28px 20px;font-size:11px;color:#87919e;flex-wrap:wrap;flex:none}.customer-detail-meta strong{font-weight:500;color:#556170}.customer-detail-meta>small{margin-left:auto;color:#929ba7;font-size:10px}.customer-detail-status{background:#fff0e7;border:1px solid #ffd8bd;border-radius:7px;padding:5px 10px;color:#c4521b;font-weight:650}
.customer-detail-tabs{display:flex;gap:28px;padding:0 28px;border-bottom:1px solid #e8edf1;flex:none}.customer-detail-tabs button{border:0!important;border-radius:0!important;background:transparent!important;color:#88929f!important;padding:0 0 12px!important;font-size:13px!important;position:relative;cursor:pointer}.customer-detail-tabs button[aria-selected=true]{color:#293441!important;font-weight:700}.customer-detail-tabs button[aria-selected=true]::after{content:'';height:2px;position:absolute;bottom:-1px;left:0;right:0;background:#ee742d}
.customer-detail-body{padding:24px 28px;background:#fbfcfd;min-height:0;overflow:auto;flex:1}.customer-detail-pane{min-width:0;height:100%;overflow:auto}.customer-detail-pane[hidden]{display:none!important}.customer-detail-route{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}.customer-detail-stops{min-width:0;overflow:auto}.customer-detail-stops article{padding:0 0 20px 20px;border-left:1px solid #e3e8ed;position:relative;margin-left:4px}.customer-detail-stops article::before{content:'';position:absolute;left:-5px;top:4px;width:9px;height:9px;border:2px solid #ee854a;background:#fff;border-radius:50%;box-sizing:border-box}.customer-detail-stops article:last-of-type{border-left-color:transparent}.customer-detail-pane small{display:block;font-size:10px;color:#919baa;margin-bottom:7px}.customer-detail-pane strong{font-size:13px;font-weight:600;color:#34414f;line-height:1.6}.customer-detail-pane p{font-size:12px;line-height:1.7;color:#768291;margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.customer-detail-schedule{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px;background:#fff;border:1px solid #e6eaef;border-radius:12px}.customer-detail-schedule strong{font-size:12px}.customer-detail-route aside{min-width:0;display:flex;flex-direction:column;gap:14px}.customer-order-modal .p6-route-map{height:230px!important;min-height:160px;border-radius:12px;overflow:hidden;margin:0!important;flex:1}.customer-detail-driver{background:#fff;border:1px solid #e6eaef;border-radius:12px;padding:16px}.customer-detail-driver a,.customer-detail-help a{color:#d2642c;text-decoration:none}
.customer-detail-goods{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;padding-bottom:18px;border-bottom:1px solid #e7ebef}.customer-detail-goods>div>strong+small{margin-top:16px}.customer-detail-goods>div>p{max-height:85px;overflow:auto}.customer-detail-goods .cargo-conditions-summary{font-size:11px}
.customer-attachments{margin:18px 0 0}.customer-attachments h3{font-size:13px!important;margin:0 0 12px!important}.customer-attachments .admin-attachment-grid{grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:12px}.customer-attachments .admin-attachment-photo img,.customer-attachments .admin-attachment-card video{height:104px;object-fit:cover}.customer-attachments .admin-attachment-file{height:104px;font-size:12px;text-decoration:none;color:#6f7e8e}.customer-attachments .admin-attachment-caption{font-size:10px;padding:9px;gap:6px}.customer-attachments .admin-attachment-caption strong{font-size:11px}.customer-attachments .admin-attachment-photo span{font-size:10px;padding:3px 7px;bottom:6px;right:6px}.customer-video-thumb video{pointer-events:none}.customer-attachments .admin-attachment-note{font-size:10px!important;margin-top:10px}.admin-attachment-lightbox>video{display:block;width:100%;max-height:calc(100dvh - 180px);background:#17202b}
.customer-detail-cost{display:grid;grid-template-columns:1fr 1fr;gap:28px}.customer-detail-cost>div{min-width:0;overflow:auto}.customer-detail-cost h3{font-size:13px;margin:0 0 16px}.customer-detail-cost dl{margin:0}.customer-detail-cost dl>div{display:flex;justify-content:space-between;padding:9px 0;font-size:12px;border-bottom:1px solid #edf0f3;color:#7d8794}.customer-detail-cost dd{margin:0;color:#424e5d;font-variant-numeric:tabular-nums}.customer-detail-payment{margin-top:18px;padding:16px;border:1px solid #e5eaf0;border-radius:12px;background:#fff}.customer-detail-payment p{font-size:10px}.customer-detail-cost ol{list-style:none;margin:0;padding:0}.customer-detail-cost li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e6ebf1;font-size:11px;color:#8a95a3}.customer-detail-cost li strong{font-size:12px}.customer-detail-help{margin-top:20px!important;font-size:11px!important}
.customer-detail-footer{padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e7ebef;background:#fff;flex:none}.customer-detail-footer>div:first-child{display:flex;align-items:baseline;gap:16px}.customer-detail-footer small{color:#929ca8;font-size:11px}.customer-detail-footer strong{font-size:25px;font-weight:600;letter-spacing:-.7px;color:#293746}.customer-detail-footer em{font-size:12px;font-style:normal;margin-left:4px;font-weight:400}.customer-detail-footer>div:last-child{display:flex;gap:7px}.customer-detail-footer button{border:1px solid #e1e6ed!important;border-radius:8px!important;background:#fff!important;color:#687482!important;padding:9px 13px!important;font-size:11px!important;cursor:pointer}.customer-detail-footer button.primary{background:#e86c27!important;color:#fff!important;border-color:#e86c27!important}.customer-detail-footer #cd-cancel{color:#ae7160!important}
@media(min-width:901px){.customer-order-modal{height:min(690px,calc(100dvh - 48px))}.customer-detail-body{overflow:hidden}.customer-order-modal .customer-detail-pane{overflow:hidden}.customer-detail-route aside{min-height:0}.customer-order-modal .p6-route-map{height:auto!important}}
@media(max-width:900px){.customer-detail-body{padding:18px}.customer-detail-route{grid-template-columns:1fr}.customer-detail-route aside{display:none}.customer-detail-meta{margin:0 18px 16px;gap:8px}.customer-detail-meta>small{margin-left:0}.customer-order-modal .review-head{padding:18px!important}.customer-detail-tabs{padding:0 18px;gap:24px}.customer-detail-goods,.customer-detail-cost{grid-template-columns:1fr}.customer-detail-footer{padding:14px 18px;flex-wrap:wrap}.customer-detail-footer>div:last-child{flex-wrap:wrap}.customer-detail-footer strong{font-size:22px}.customer-attachments .admin-attachment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.attachment-pages{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;font-size:10px;color:#8b96a5}.attachment-pages button{border:1px solid #e4e9ef;border-radius:7px;background:#fff;font-size:10px;padding:5px 10px;color:#6c7b8c;cursor:pointer}.attachment-pages button:disabled{opacity:.4;cursor:default}

.customer-detail-footer button:disabled{opacity:.45;cursor:default}.quote-document-editor{max-height:calc(100dvh - 40px)!important;display:flex;flex-direction:column;overflow:hidden!important}#quote-document-edit{display:flex;flex-direction:column;min-height:0}#quote-document-edit [data-doc-pane]{min-height:0;overflow:auto;padding:20px 0}#quote-document-edit [data-doc-pane][hidden]{display:none!important}#quote-document-edit [data-doc-error]{font-size:12px;color:#bd4d33}#quote-document-edit textarea{resize:vertical;border:1px solid #e2e7ee;border-radius:8px;padding:9px;font:inherit}#quote-document-edit .customer-detail-tabs{padding:0;margin-top:14px}
