.msg-drawer{position:fixed;top:0;right:0;bottom:0;width:400px;max-width:100vw;background:#fff;box-shadow:-6px 0 24px rgba(15,23,42,.18);z-index:1060;transform:translateX(100%);transition:transform .22s ease,visibility 0s linear .22s;display:flex;flex-direction:column;visibility:hidden}.msg-drawer.is-open{transform:translateX(0);visibility:visible;transition:transform .22s ease,visibility 0s}.msg-drawer__body{flex:1;min-height:0;display:flex;flex-direction:column}.msg-drawer__body>.msg-thread{flex:1;min-height:0}.msg-thread{display:flex;flex-direction:column;min-height:0;font-size:13px;color:#333;background:#fff}.msg-thread--embedded{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.msg-thread--embedded .msg-thread__log{height:min(400px,60vh);flex:none}.msg-thread__loading{padding:40px 0;text-align:center;color:#999;font-size:20px}.msg-thread__error{padding:30px 16px;text-align:center;color:#b91c1c}.msg-thread__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:7px 16px 7px;border-bottom:1px solid #e5e7eb;background:#fff}.msg-thread__head-main{min-width:0}.msg-thread__title{display:flex;align-items:center;gap:8px;font-family:Poppins,sans-serif;font-size:16px;font-weight:600;color:#222}.msg-thread__title .fa-comments{color:#3fc3ee}.msg-thread__title .label{font-size:10px;font-weight:600;padding:2px 7px;line-height:14px}.msg-thread__dates,.msg-thread__route{margin-top:3px;font-size:12px;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.msg-thread__route .fa-angle-right{margin:0 4px;color:#9ca3af}.msg-thread__dates b{color:#4b5563;font-weight:600}.msg-thread__dot{margin:0 6px;color:#9ca3af}.msg-thread__head-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;height:100%}.msg-thread__detail{font-size:12px;color:#515f88;white-space:nowrap}.msg-thread__close{width:32px;height:32px;border:0;border-radius:50%;background:0 0;color:#6b7280;font-size:24px;line-height:30px;padding:0;cursor:pointer;vertical-align:middle}.msg-thread__close:focus,.msg-thread__close:hover{background:#f1f3f5;color:#222;outline:0}.msg-thread__chips{display:flex;flex-wrap:wrap;gap:6px;padding:10px 16px 10px}.msg-thread__party{padding:10px 16px 10px;font-size:12px;color:#4b5563;display:flex;align-items:center;gap:6px}.msg-thread__party .fa-truck{color:#97a2b2}.msg-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#374151;font-weight:600;line-height:18px;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease}.msg-chip:focus,.msg-chip:hover{background:#f1f3f5;border-color:#9ca3af;outline:0}.msg-chip:focus{border-color:#3fc3ee;box-shadow:0 0 0 .1rem rgb(63 195 238 / 10%)!important}.msg-chip.is-active{background:#e9f2fb;border-color:#3fc3ee;color:#0f4c5c;font-weight:600}.msg-chip__count{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:#e5e7eb;color:#4b5563;font-size:11px;line-height:18px;text-align:center;font-weight:600}.msg-chip__count--unread{background:#3fc3ee;color:#fff}.msg-chip__tag{font-size:10px;line-height:0;text-transform:uppercase;letter-spacing:.3px;color:#6b7280;font-weight:600}.msg-chip__tag--awarded{color:#2e7d32}.msg-chip__tag--pending{color:#e07b00}.msg-thread__log{flex:1;min-height:0;overflow-y:scroll;scrollbar-gutter:stable;overflow-x:hidden;padding:0 16px 8px;display:flex;flex-direction:column;gap:4px;-webkit-overflow-scrolling:touch}.msg-thread__log [data-thread-items-page],.msg-thread__log [data-thread-items]{display:flex;flex-direction:column;gap:4px}.msg-thread__earlier{align-self:center;border:0;background:0 0;color:#515f88;font-size:12px;padding:4px 10px;cursor:pointer}.msg-thread__earlier:hover{text-decoration:underline}.msg-thread__empty{margin:auto;padding:30px 10px;text-align:center;color:#9ca3af;font-size:13px;display:flex;flex-direction:column;align-items:center;gap:8px}.msg-thread__empty .far{font-size:28px;color:#d1d5db}.msg-separator{align-self:center;margin:10px 0 6px;font-size:11px;color:#9ca3af;text-transform:uppercase;letter-spacing:.4px}.msg-separator--new{align-self:stretch;display:flex;align-items:center;gap:10px;color:#0f8ab0;text-transform:none;letter-spacing:0;font-weight:600;transition:opacity .5s ease}.msg-separator--new::after,.msg-separator--new::before{content:'';flex:1;height:1px;background:#3fc3ee}.msg-separator--fading{opacity:0}.msg-system{align-self:center;display:flex;align-items:baseline;gap:8px;max-width:92%;margin:4px 0;padding:4px 12px;border-radius:999px;background:#f8f9fb;color:#6b7280;font-size:12px;text-align:center}.msg-system__text .fas{margin-right:4px;color:#9ca3af}.msg-system__time{font-size:11px;color:#9ca3af;white-space:nowrap}.msg-bubble{display:flex;flex-direction:column;max-width:84%;margin-top:2px}.msg-bubble--first{margin-top:8px}.msg-bubble--other{align-self:flex-start;align-items:flex-start}.msg-bubble--own{align-self:flex-end;align-items:flex-end}.msg-bubble__author{font-size:11px;font-weight:600;color:#4b5563;margin:0 4px 2px}.msg-bubble__via{font-weight:400;color:#9ca3af}.msg-bubble__row{display:flex;align-items:center;gap:6px;max-width:100%}.msg-bubble--own .msg-bubble__row{flex-direction:row-reverse}.msg-bubble__body{padding:7px 11px;border-radius:12px;background:#f1f3f5;color:#333;line-height:1.45;overflow-wrap:anywhere;white-space:normal}.msg-bubble--other .msg-bubble__body{border-bottom-left-radius:4px}.msg-bubble--own .msg-bubble__body{border-bottom-right-radius:4px}.msg-bubble--dispatch .msg-bubble__body{background:#f1f3f5}.msg-bubble--carrier .msg-bubble__body{background:#e9f2fb}.msg-bubble--supplier .msg-bubble__body{background:#e8f5ec}.msg-bubble--own .msg-bubble__body{box-shadow:inset 0 0 0 1px rgba(81,95,136,.18)}.msg-bubble__party-icon{font-size:10px;color:#9ca3af;margin-right:2px}.msg-bubble--dispatch .msg-bubble__party-icon{color:#6b7280}.msg-bubble--carrier .msg-bubble__party-icon{color:#2a6496}.msg-bubble--supplier .msg-bubble__party-icon{color:#3a7d3a}.msg-bubble--sending .msg-bubble__body{opacity:.6}.msg-bubble--failed .msg-bubble__body{background:#fdecec}.msg-bubble__delete{border:0;background:0 0;color:#c9cdd3;font-size:12px;padding:4px;cursor:pointer;opacity:0;transition:opacity .15s ease,color .15s ease}.msg-bubble:hover .msg-bubble__delete,.msg-bubble__delete:focus{opacity:1}.msg-bubble__delete:hover{color:#ef6f6c}.msg-bubble__meta{display:flex;align-items:center;gap:6px;margin:2px 6px 0;font-size:11px;color:#9ca3af}.msg-bubble__state{color:#9ca3af}.msg-bubble--failed .msg-bubble__state{color:#b91c1c}.msg-bubble__retry{border:0;background:0 0;color:#515f88;font-size:11px;padding:0;text-decoration:underline;cursor:pointer}.msg-bubble__unread-dot{display:none;width:7px;height:7px;border-radius:50%;background:#3fc3ee;transition:opacity .5s ease}.msg-bubble--unread .msg-bubble__unread-dot{display:inline-block}.msg-bubble--read-fading .msg-bubble__unread-dot{opacity:0}.msg-bubble__seen{margin:2px 6px 0;font-size:11px;color:#9ca3af}.msg-bubble__seen .fas{color:#3fc3ee;margin-right:3px}.msg-composer{border-top:1px solid #e5e7eb;padding:8px 12px 10px;background:#fff}.msg-composer__quick{display:flex;gap:6px;overflow-x:auto;padding-top:4px;padding-bottom:4px;scrollbar-width:none}.msg-composer__quick::-webkit-scrollbar{display:none}.msg-chip--quick{padding:3px 10px;font-size:12px}.msg-composer__row{display:flex;align-items:flex-end;gap:8px;margin-top:8px}.msg-composer__input{flex:1;resize:none;min-height:44px;max-height:140px;font-size:16px;line-height:1.4;border-radius:22px;padding:11px 16px;overflow-y:auto}@media (min-width:768px){.msg-composer__input{font-size:13px}}.msg-composer__send{flex-shrink:0;width:44px;height:44px;border:0;border-radius:50%;background:#3fc3ee;color:#fff;font-size:16px;cursor:pointer;transition:background .15s ease,transform .1s ease}.msg-composer__send:focus,.msg-composer__send:hover{background:#22b4e3;outline:0}.msg-composer__send:active{transform:scale(.96)}.msg-composer__send[disabled]{background:#cfe9f2;cursor:default}.msg-composer__foot{display:flex;justify-content:space-between;gap:10px;margin-top:4px;font-size:11px;color:#9ca3af}.msg-composer__chars:empty{display:none}.msg-composer__chars.is-low{color:#e07b00}.msg-open{display:inline-flex;align-items:center;gap:6px;border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#4b5563;font-size:12px;line-height:18px;padding:3px 11px!important;white-space:nowrap;cursor:pointer;min-height:30px}.msg-open:focus,.msg-open:hover{background:#f1f3f5;color:#222;box-shadow:none}.msg-open .fa-comments{color:#97a2b2}.msg-open--unread{border-color:#3fc3ee;color:#0f4c5c}.msg-open--unread .fa-comments{color:#3fc3ee}.msg-open__count{font-weight:600}.msg-open__count:empty{display:none}.msg-open--unread .msg-open__count{background:#3fc3ee;color:#fff;border-radius:9px;padding:0 6px;font-size:11px}.msg-open--compact{padding:2px 8px;gap:5px;margin-right:8px;vertical-align:middle}.msg-open--compact .msg-open__count{font-size:11px}.delivery-actions-footer .msg-open{margin-right:8px}.msg-open--list{margin-right:0}.msg-open--list:not(.msg-open--unread){border-color:transparent;background:0 0;padding-left:4px;padding-right:4px}.msg-open--list:not(.msg-open--unread):focus,.msg-open--list:not(.msg-open--unread):hover{background:#f1f3f5}.msg-open--list:not(.msg-open--unread) .msg-open__count{display:none}.group-table .group-messages{margin-left:6px}html.msg-drawer-lock{overflow:hidden;scrollbar-gutter:stable}.msg-drawer,.msg-drawer .msg-thread__log{overscroll-behavior:contain}body.msg-drawer-open .leaflet-popup,body.msg-drawer-open .leaflet-top.leaflet-right{transition:none}@media (max-width:767.98px){.msg-drawer{top:auto;left:0;right:0;width:100%;height:85vh;border-radius:14px 14px 0 0;box-shadow:0 -8px 24px rgba(15,23,42,.2);transform:translateY(100%)}.msg-drawer.is-open{transform:translateY(0)}.msg-drawer::before{content:'';position:absolute;top:6px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:#d1d5db}.msg-drawer .msg-thread__head{padding-top:18px}.msg-bubble{max-width:90%}}.msg-thread-mount--switching [data-thread-log]{opacity:.55;pointer-events:none;transition:opacity .12s ease}main.main-with-sidepanel .msg-thread-mount{margin-bottom:30px}#delivery-certification-modal .msg-thread-mount{margin-bottom:0}.msg-system__note{display:block;margin-top:3px;font-style:italic;color:#4b5563}.msg-system__note::before{content:'\201C'}.msg-system__note::after{content:'\201D'}.msg-thread,.msg-thread *,textarea[data-autosize]{overflow-anchor:none}.msg-thread__shadow{position:relative;z-index:2;flex:0 0 10px;height:10px;min-height:10px;pointer-events:none;opacity:0;transition:opacity .2s ease}.msg-thread__shadow--top{margin:0 0 -10px;background:linear-gradient(to bottom,rgba(15,23,42,.14),rgba(15,23,42,0))}.msg-thread__shadow--bottom{margin:-10px 0 0;background:linear-gradient(to top,rgba(15,23,42,.14),rgba(15,23,42,0))}.msg-thread__shadow.is-visible{opacity:1}.nav-tabs .nav-link.is-hidden{display:none!important}.nav-tabs .nav-link.messages-nav-icon{color:#9da4a9!important}.nav-tabs .nav-link.messages-nav-icon,.nav-tabs .nav-link.messages-nav-icon.active{position:relative;align-self:center;width:40px;height:46.5px;min-width:40px;min-height:46.5px;margin-top:7px;margin-left:auto!important;margin-right:12px!important;padding:0!important;font-size:17px;line-height:37px!important;text-align:center;border:0;opacity:.85}.nav-tabs .nav-link.messages-nav-icon.active,.nav-tabs .nav-link.messages-nav-icon:hover{opacity:1;color:#252525!important}.nav-tabs .messages-nav-icon:not(.is-hidden)~.reminders-nav-link{margin-left:0!important}.nav-tabs .messages-nav-icon:not(.is-hidden)~.nav-link.ml-auto{margin-left:27px!important}.nav-tabs .nav-link.ml-auto:not(.is-hidden)~.nav-link.ml-auto{margin-left:0!important}nav.nav-tabs .nav-link.messages-nav-icon .badge.messages-count{position:absolute;top:3px;right:-8px;margin:0;font-size:11px;line-height:10px;color:#9da4a9;border-color:#9da4a9}nav.nav-tabs .nav-link.messages-nav-icon .badge.messages-count--unread{color:#fff;background-color:#3fc3ee;border:dotted 1px #3fc3ee}@media (max-width:991.98px){#delivery-certification-booking-navlink{margin-left:10px!important}.nav-tabs .nav-link.messages-nav-icon{margin-left:5px!important}.nav-tabs .nav-link.messages-nav-icon.active{margin-left:15px!important}.nav-tabs .nav-link.ml-auto:not(.is-hidden)~.nav-link.ml-auto{margin-left:15px!important}}.header-chips{float:right;display:flex;flex-direction:row-reverse;align-items:center}.header-chips i{width:15px;text-align:center}.messages-chip{float:right;display:inline-flex;align-items:center;gap:6px;margin-top:-4px;margin-left:8px;padding:4px 12px;font-size:13px;font-weight:600;color:#fff;background-color:#3fc3ee;border:1px solid #3fc3ee;border-radius:14px}.messages-chip:hover{color:#fff;text-decoration:none;background-color:#22b3e0}.messages-chip .fa-comments{margin-top:1px}@media (max-width:991.98px){.header-chips{position:absolute;top:13px;right:15px;float:none}.messages-chip-label{display:none}}.booking-message-line{flex:0 0 100%;display:block;font-size:11px;line-height:14px;color:#777;font-weight:400;margin-top:2px;white-space:nowrap}.booking-message-line .booking-message-text{display:inline-block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top;cursor:help}.modal .booking-message-line .booking-message-text{max-width:200px}#bookings-table .booking-message-line .booking-message-text,.delivery-bookings-table .booking-message-line .booking-message-text{cursor:pointer}#bookings-table .booking-message-line .booking-message-text:focus,#bookings-table .booking-message-line .booking-message-text:hover,.delivery-bookings-table .booking-message-line .booking-message-text:focus,.delivery-bookings-table .booking-message-line .booking-message-text:hover{color:#2a6496;text-decoration:underline;outline:0}.booking-message-line .far{color:#3fc3ee;margin-right:3px}.message-preview{max-width:400px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#delivery_notes .msg-thread--embedded{border-top:none;border-top-left-radius:0;border-top-right-radius:0;margin-top:-15px}.booking-section-label{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6b6b6b;margin:0}.booking-message-band{padding:10px 1rem 12px;background:#fafbfc;border-top:1px solid #dee2e6}.booking-message-band .booking-message-wrapper{margin-bottom:0}.booking-chat-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}.booking-chat-count{background:#3fc3ee;color:#fff}.booking-chat-new{font-size:11px;color:#d9534f;font-weight:600}.booking-chat-pane{background:#fff;border:1px solid #dee2e6;border-radius:6px;overflow:hidden}.booking-chat-log{padding:10px 14px;max-height:230px;overflow-y:auto;display:flex;flex-direction:column;gap:6px;border-bottom:1px solid #eef0f2}.booking-chat-composer{padding:8px 14px 8px}.booking-chat-composer textarea{width:100%;border:0;outline:0;resize:none;overflow-y:auto;font-size:13px;line-height:1.45;padding:2px 0;color:#252525;background:0 0;min-height:42px;max-height:140px}.booking-chat-composer-foot{display:flex;justify-content:space-between;font-size:11px;color:#6b7280}.booking-commit-block{padding:12px 1rem 10px;background-color:#fff8e1;border-top:1px solid #efe3b5}.booking-price-section{padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #efe3b5}.booking-price-section .booking-section-label{display:block;margin-bottom:6px}.booking-price-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px}.booking-price-input{max-width:146px}.booking-price-help{flex:1 1 220px;color:#666;font-size:12px}.booking-price-help .btn-cancel-offer{margin-left:4px}
