/* v3.12.83: charterritten staan in hun eigen overzicht. */
body #page-planboard #planWorkspaceThree{--plan-own-width:calc(100% - 330px);grid-template-columns:minmax(260px,var(--plan-own-width)) 11px minmax(270px,1fr)!important;gap:0!important}
body #page-planboard .plan-own-area{order:0!important}body #page-planboard #planResizeOwn{order:1!important}body #page-planboard .plan-backlog-panel{order:2!important}
.sidebar .nav[data-page="assigned-charters"]{font-size:11px;line-height:1.35;white-space:normal}.sidebar .nav[data-page="assigned-charters"]>span{flex-shrink:0}
.charter-assignment-choice{display:flex;align-items:center;gap:9px;margin:14px 18px 0;padding:12px;background:#f1edf9;border:1px solid #ddd2ef;border-radius:7px;font-weight:700;color:#604290;cursor:pointer}
.charter-assignment-choice input,.charter-resend input{width:18px;height:18px;min-height:18px;flex:0 0 18px;accent-color:#6b4aa4;margin:0}
.plan-assignment-modal [data-charter-legacy-lane]{display:none!important}.plan-assignment-modal #planCreateTransportOrderBtn{white-space:normal}
.assigned-charters-panel{min-height:calc(100vh - 110px)}.assigned-charter-actions{display:flex;gap:8px;flex-wrap:wrap}.assigned-charter-tools{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:14px 18px;border-bottom:1px solid #e1e7ed}.assigned-charter-tools>.search{flex:1;min-width:220px}.assigned-charter-tools label{display:grid;gap:5px;font-size:11px;color:#627489}.assigned-charter-tools input[type=date]{padding:7px;border:1px solid #d4dfe9;border-radius:5px;font:inherit}
.assigned-charter-table{min-width:1080px}.assigned-charter-table td{vertical-align:top}.assigned-charter-table tbody tr[data-charter-freight]{cursor:pointer}.assigned-charter-table tbody tr:hover{background:#f7f5fb}.assigned-charter-table td b{display:block}.assigned-charter-table small{display:block;color:#72818e;margin-top:4px}.assigned-charter-table .charter-row-actions{display:flex;gap:5px;flex-wrap:wrap;min-width:140px}.charter-order-state{font-size:10px;display:inline-block;border-radius:12px;padding:4px 8px;background:#f0f2f5;color:#617285;white-space:nowrap}.charter-order-state.sent{background:#e5f6ed;color:#147553}.charter-order-state.uncertain,.charter-order-state.sending{background:#fff0d5;color:#865a13}.charter-order-state.failed{background:#fce9e9;color:#a13c3c}
.charter-transport-modal{width:min(1000px,96vw);max-height:94vh;display:flex;flex-direction:column}.charter-transport-modal>.modal-head,.charter-transport-modal>.modal-actions{flex:0 0 auto}.charter-transport-content{overflow:auto;padding:0 18px 18px}.charter-transport-content .plan-form-grid{padding:12px 0}.charter-transport-preview-head{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;margin:14px 0 10px}.charter-transport-preview{background:#e8ecf1;display:grid;justify-items:center;gap:18px;padding:0;min-height:20px}.charter-transport-preview:has(img){padding:18px}.charter-transport-preview img{width:min(100%,690px);height:auto;box-shadow:0 2px 9px #0002;background:white}.charter-transport-content .settings-note{overflow-wrap:anywhere}.charter-resend{display:flex;align-items:start;gap:8px;font-size:11px;line-height:1.5;background:#fff0d5;border-radius:6px;padding:12px;margin-top:12px}
.charter-address-modal{width:min(940px,96vw);max-height:92vh;display:flex;flex-direction:column}.charter-address-content{overflow:auto;padding:0 18px 18px}.charter-address-content h4{font-size:13px;margin:18px 0 10px}.charter-address-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:22px}.charter-address-content .plan-form-grid{padding:0;margin-bottom:12px}.charter-contact-list{max-height:310px;overflow:auto;margin-top:10px}.charter-contact-list button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e3e8ed;background:white;padding:10px;color:#26425d;cursor:pointer}.charter-contact-list button:hover,.charter-contact-list button.active{background:#f1edf8}.charter-contact-list button small{display:block;color:#6f7f8c;margin-top:4px}.charter-address-content hr{border:0;border-top:1px solid #dce4ec;margin-top:22px}
@media(max-width:920px){body #page-planboard #planWorkspaceThree{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}body #page-planboard #planResizeOwn{display:none!important}}
@media(max-width:620px){.charter-address-layout{grid-template-columns:1fr}.charter-transport-modal>.modal-actions{flex-wrap:wrap}.charter-transport-preview-head{align-items:start;flex-direction:column}.assigned-charter-tools{padding:10px}.charter-transport-preview:has(img){padding:7px}}
