.module-view{min-height:calc(100vh - 145px);padding-bottom:40px}.module-view[hidden],#plannerView[hidden],[hidden]{display:none!important}.order-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:0 0 24px}.order-stats article{background:#fff;border:1px solid var(--line);border-radius:8px;padding:19px 22px}.order-stats article:last-child{background:#e9f3ec}.order-stats span{font-size:10px;letter-spacing:1px;color:#809286;display:block}.order-stats strong{font-size:28px;color:#235c46;font-weight:650;display:block;margin-top:9px;letter-spacing:-1px}.order-filters{display:grid;grid-template-columns:1.8fr 1fr 1.3fr .9fr 1fr 1.2fr auto;gap:12px;padding:20px;border-bottom:1px solid var(--line);align-items:end}.order-filters label,.route-board-filters label,.route-driver-assign label,.team-form label,.driver-filters label{font-size:10px;display:flex;flex-direction:column;gap:7px;color:#75907b}.order-filters input,.order-filters select,.bulk-toolbar select,.route-board-filters input,.route-board-filters select,.route-driver-assign select,.team-form input,.driver-filters select,.driver-filters input{font-size:12px;border:1px solid #d9e4d9;border-radius:5px;padding:9px 10px;background:#fbfdf9;color:#43634a;width:100%;height:36px;min-width:0}.bulk-toolbar{padding:12px 20px;display:flex;align-items:center;gap:10px;background:#f8fbf5;border-bottom:1px solid #e5ecdf}.bulk-toolbar>span{font-size:11px;color:#7c9278;margin-right:8px}.bulk-toolbar select{max-width:170px;height:31px;font-size:11px;padding:5px 8px}.bulk-toolbar>.text-button{margin-left:auto}.orders-table{white-space:normal;min-width:1120px}.orders-table td{vertical-align:middle;padding:15px 13px;font-size:12px;color:#4e6e51}.orders-table th{padding:12px 13px}.orders-table td:first-child{width:35px}.orders-table td:nth-child(2){min-width:170px;width:16%}.orders-table td:nth-child(3){min-width:235px;width:27%}.orders-table td:nth-child(4){min-width:130px}.orders-table strong{display:block;font-weight:650}.orders-table small{display:block;color:#97a58b;font-size:10px;line-height:1.6;margin-top:4px}.type-badge{display:inline-block;font-size:9px;color:#688963;background:#eef5e8;border:1px solid #dfead5;padding:2px 5px;border-radius:4px;margin-top:5px}.orders-table .customer-label{color:#789874;font-weight:550}.address-cell>span{display:flex;align-items:baseline;gap:6px;font-size:11px;margin:3px 0;line-height:1.6}.address-cell i{font-style:normal;font-size:13px;color:#97b48a}.address-cell small{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.orders-table select{font-size:10px;color:#5d8157;border:1px solid #dbe7d3;background:#fafdf6;border-radius:5px;padding:6px;max-width:119px}.orders-table tbody tr{cursor:pointer}.orders-table tbody tr:hover{background:#f8fcf3}.orders-table input[type=checkbox],.highlight-check input{accent-color:var(--green)}.highlighted-order{background:#fff4f0!important;border-left:3px solid #d89880!important}.highlighted-order .address-cell>span{color:#a36d57}.status-badge{display:inline-block;padding:4px 7px;border-radius:4px;background:#f0f3eb;color:#8a967e;font-size:9px;white-space:nowrap}.status-new{background:#f6efe0;color:#a9915f}.status-assigned{background:#e9f0f8;color:#6685a0}.status-picked{background:#eef1de;color:#969b53}.status-completed{background:#e4f2de;color:#659750}.status-handed{background:#f1e5ed;color:#a67597}.phone-link{color:#5c8754;white-space:nowrap}.phone-link:hover{text-decoration:underline}.order-empty{text-align:center;padding:54px 24px}.order-empty>span{font-size:10px;color:#9caa8d;letter-spacing:1px}.order-empty h2{font-size:22px;color:#5a8050;margin-top:9px}.order-empty p{font-size:12px;line-height:1.7;color:#96a487;max-width:450px;margin:13px auto 20px}.order-dialog{width:710px;padding:30px}.order-dialog label{font-size:11px;color:#78966b;display:block;margin:13px 0 6px}.order-dialog input:not([type=checkbox]),.order-dialog select,.order-dialog textarea{width:100%;padding:10px 11px;font-size:12px;color:#557b48;border:1px solid #dce6d2;border-radius:5px;background:#fcfef8;margin-top:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.address-block{display:grid;grid-template-columns:1fr auto;align-items:end;gap:0 10px;position:relative}.address-block>label{grid-column:1/2}.address-block>button{margin-bottom:6px;height:36px}.point-status{grid-column:1/-1;font-size:9px;color:#b6a47c}.point-status.located{color:#79a46a}.place-results{grid-column:1/-1;display:flex;flex-direction:column;gap:3px;margin-top:5px;font-size:11px;color:#9eaa8c}.place-results button{border:1px solid #e0ead3;border-radius:4px;background:#f4faed;text-align:left;padding:9px;color:#6d925c;font-size:11px;cursor:pointer}.place-results button:hover{background:#e6f4da}.highlight-check{display:flex!important;align-items:center;gap:8px;font-size:11px!important;margin-top:18px!important}.highlight-check input{width:15px;height:15px}.order-location-note{font-size:10px;line-height:1.7;color:#a2ad93;margin-top:16px}.order-dialog .dialog-footer{justify-content:space-between}.order-dialog .dialog-footer>#saveOrder{margin-left:auto}.route-board{padding:20px}.route-board-filters{display:grid;grid-template-columns:1fr 1.2fr 1.6fr;gap:17px;max-width:750px}.route-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-top:22px}.route-slot{background:#fafcf7;border:1px solid #e0e8d7;border-radius:7px;padding:17px 19px;text-align:left;color:#91a280}.route-slot span{display:block;font-size:10px;letter-spacing:1px}.route-slot strong{font-size:25px;color:#779b64;font-weight:600;margin:8px 7px 0 0;display:inline-block}.route-slot small{font-size:10px;color:#9aa68a}.route-slot.selected{border-color:#95c285;background:#edf8e5}.route-slot:hover{border-color:#a8c597}.route-detail{margin-top:22px;border-top:1px solid #e3ebd9;padding-top:23px}.route-detail-header{display:flex;justify-content:space-between;align-items:center;gap:15px}.route-detail-header h2{font-size:20px;margin-top:5px}.route-detail-header h2 small{font-size:11px;font-weight:400;margin-left:10px;color:#96a788}.route-detail-header p{font-size:10px;color:#98a58c;margin:8px 0 0}.route-driver-assign{display:flex;align-items:end;gap:12px;padding:16px 0 20px}.route-driver-assign label{max-width:220px;flex:1}.route-tasks{display:flex;flex-direction:column;gap:8px}.route-task{border:1px solid #e0e9d6;border-radius:6px;display:flex;gap:13px;align-items:center;padding:15px 13px;background:#fcfef9}.task-grip{font-size:23px;color:#b1c19f;cursor:grab}.task-number{width:28px;height:28px;background:#e8f3df;border:1px solid #d4e6c6;display:flex;align-items:center;justify-content:center;color:#79a360;font-size:11px;border-radius:50%;flex-shrink:0}.task-info{flex:1;min-width:0}.task-info strong{font-size:13px;font-weight:550;color:#527d42}.task-info p{font-size:10px;color:#95a982;margin:4px 0}.task-info small{font-size:10px;color:#8fa47c}.task-info .missing-point{color:#b69868;display:block;margin-top:4px}.task-contact{font-size:12px;display:flex;flex-direction:column;gap:4px}.task-contact small{font-size:10px;color:#97a882}.task-moves{display:flex;flex-direction:column;gap:2px}.task-moves button{font-size:13px;border:1px solid #e1ebd7;color:#91ad79;background:#f6fbee;border-radius:3px;width:24px;height:24px}.route-task.dragging{opacity:.35}.team-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:22px}.team-form{padding:25px}.team-form h2,.team-list>h2{font-size:18px;margin-bottom:18px}.team-form label{margin:14px 0}.team-form p{font-size:10px;line-height:1.7;color:#97a88a}.team-list{padding:25px}.team-list article{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e5eedb}.team-avatar{background:#edf5e3;color:#8baa75;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:11px}.team-list strong{font-size:13px;display:block;color:#6c9354;font-weight:550}.team-list small{font-size:10px;color:#a4b394;display:block;margin-top:4px;word-break:break-word}.team-list .status-badge{margin-left:auto}.access-note{padding:18px;margin-top:22px}.access-note p{font-size:12px}.dispatcher-form{margin-top:22px}.dispatcher-form .form-grid{max-width:650px}#membersList{margin-top:18px;font-size:12px;color:#7c9b67}#membersList>div{border-top:1px solid #e5eedc;padding:10px 0}#membersList small{font-size:10px;color:#a2b28d;margin-left:10px}.driver-filters{display:flex;align-items:center;gap:18px;padding:20px;margin-bottom:22px}.driver-filters label{max-width:280px;flex:1}.driver-routes{display:flex;flex-direction:column;gap:22px}.driver-route{padding:23px}.driver-route-heading h2{font-size:22px;margin-top:8px}.driver-route-heading p{font-size:11px;color:#92a57e;margin:7px 0 17px}.driver-task-list{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.driver-task{padding:20px;border:1px solid #dfead2;border-radius:8px;background:#fcfef8}.driver-task.done{background:#f3f8ed;border-color:#dcebcf}.driver-task-title{display:flex;gap:12px;align-items:flex-start}.driver-task-title .task-number{margin-top:5px}.driver-task-title h3{font-size:16px;font-weight:600;line-height:1.5;color:#5e8b48;margin:9px 0 5px}.driver-task-title small{font-size:10px;color:#9bb589}.driver-order-addresses{font-size:10px;color:#a4b690;line-height:1.7;display:flex;flex-direction:column;gap:3px;margin:15px 0}.driver-notes{font-size:12px;line-height:1.7;color:#7e9d67;background:#eff6e5;border-radius:4px;padding:10px;margin:12px 0}.driver-links{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.driver-money{display:flex;align-items:end;gap:9px;margin:16px 0}.driver-money label{font-size:10px;color:#98ab82;flex:1;line-height:1.6}.driver-money input{display:block;border:1px solid #d7e6c8;border-radius:4px;width:100%;max-width:160px;padding:8px;color:#73995a;font-size:13px;margin-top:6px;background:#fff}.driver-money button{margin-bottom:1px;font-size:10px}.sidebar nav{overflow:auto;max-height:52vh}.sidebar-network{margin-top:22px}.module-view .page-heading h1{font-size:32px}
@media(max-width:1200px){.route-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.order-filters{grid-template-columns:repeat(3,1fr)}.order-filters label:first-child{grid-column:span 2}.order-stats strong{font-size:24px}.route-task{gap:9px}.task-contact{font-size:10px}.task-info strong{font-size:12px}.team-grid{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.driver-task-list{grid-template-columns:1fr}.team-grid{grid-template-columns:1fr}.route-task{flex-wrap:wrap}.task-contact{margin-left:54px}.task-info{flex-basis:calc(100% - 95px)}.bulk-toolbar{flex-wrap:wrap}.order-stats{gap:10px}.order-stats article{padding:16px}.order-stats strong{font-size:22px}.route-detail-header h2 small{display:block;margin:7px 0 0}.route-driver-assign{flex-wrap:wrap}.route-slot{padding:13px}.sidebar nav{max-height:none}.sidebar .nav-link{font-size:0}}
@media(max-width:700px){.sidebar{padding-left:14px;padding-right:10px}.sidebar nav{overflow:visible;gap:0}.sidebar .nav-link{padding:8px 6px}.sidebar .nav-link:nth-last-child(-n+2){display:none}.sidebar .nav-link svg{width:16px;height:16px}.sidebar .nav-count{display:none}.module-view .page-heading h1{font-size:27px}.module-view .page-heading>.button{font-size:11px;gap:6px;padding:8px 10px;max-width:125px;white-space:normal}.order-stats{grid-template-columns:1fr 1fr}.order-stats span{font-size:9px}.order-stats strong{font-size:24px}.order-filters{grid-template-columns:1fr 1fr;padding:16px;gap:12px}.order-filters label:first-child{grid-column:1/-1}.bulk-toolbar{padding:12px 16px;gap:8px}.bulk-toolbar select{max-width:145px}.bulk-toolbar>span{width:100%;font-size:11px}.route-board{padding:16px}.route-board-filters{grid-template-columns:1fr 1fr;gap:12px}.route-board-filters label:last-child{grid-column:1/-1}.route-slots{grid-template-columns:1fr 1fr;gap:9px}.route-slot{padding:13px 15px}.route-detail-header{align-items:flex-start}.route-detail-header h2{font-size:18px}.route-detail-header>.button{max-width:120px;white-space:normal;font-size:10px}.route-driver-assign label{max-width:none}.route-driver-assign>.button{margin-top:4px}.route-task{padding:12px;gap:8px}.task-info strong{font-size:13px}.task-info p{font-size:10px}.task-contact{margin-left:52px;font-size:12px}.order-dialog{padding:22px}.form-grid{gap:0 12px}.order-dialog label{font-size:10px}.order-dialog .dialog-heading h2{font-size:22px}.address-block{grid-template-columns:1fr auto}.address-block button{font-size:9px}.team-form,.team-list{padding:20px}.team-list article{flex-wrap:wrap}.team-list .status-badge{margin-left:48px}.access-note p{font-size:11px}.driver-filters{padding:16px;gap:12px}.driver-route{padding:17px}.driver-task{padding:17px}.driver-task-title h3{font-size:17px}.driver-task-title .type-badge{font-size:10px}.driver-order-addresses{font-size:11px}.driver-money label{font-size:11px}.driver-money input{font-size:16px}.driver-links .button{font-size:12px}.driver-task>.button.full{font-size:14px;min-height:43px}.module-view{padding-bottom:27px}}

.map-footer{flex-wrap:wrap}#applyDriverOrder{order:3;width:100%;justify-content:center;border-radius:5px;background:#edf5e7;padding:8px;margin-top:5px}
.payment-block{margin:20px 0;padding:3px 16px 15px;background:#f0f7ec;border:1px solid #dce8d3;border-radius:7px}.company-chooser{display:flex;align-items:end;gap:12px}.company-chooser>label{flex:1}.company-chooser>button{margin-bottom:6px;white-space:nowrap}.transfer-badge{color:#46794e!important}.route-open-link,.invoice-open-link{display:block;margin-top:7px;font-size:10px;white-space:normal;text-align:left}.route-context-note{font-size:11px;line-height:1.7;color:#7d9574;margin:15px 0 0}.driver-status-label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#72915d}.driver-status-label select{width:100%;padding:11px 12px;background:white;border:1px solid #cee0c2;border-radius:5px;color:#507c41;font-size:14px}.driver-status-label select:disabled{opacity:1;color:#729169;background:#f3f7ee}.driver-transfer{padding:13px;background:#e8f1f5;border:1px solid #d0e1e9;border-radius:6px;color:#4c7587;font-size:12px;line-height:1.8;margin:16px 0}.driver-money-readonly{font-size:12px;line-height:1.7;margin:16px 0;color:#7f966d}
.hub-select-label{display:flex;align-items:center;gap:10px;font-size:11px;color:#608458;margin:14px 0}.hub-select-label select{max-width:250px;border:1px solid #d7e6cd;border-radius:5px;background:#f9fcf5;color:#426b38;padding:9px 11px;font-size:12px}
.billing-companies,.billing-list,.billing-editor,.invoice-preview,.billing-seller{padding:24px;margin-bottom:22px}.billing-companies article{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.billing-companies article:last-child{border:0}.billing-companies h3{font-size:16px;color:#4c7640;margin:0 0 8px}.billing-companies p,.invoice-parties p{font-size:12px;line-height:1.8;color:#7e9671;overflow-wrap:anywhere}.billing-editor-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 18px}.billing-editor-heading h2{font-size:23px;margin:8px 0}.billing-editor-heading p{font-size:12px;color:#8da17f}.billing-editor label,.billing-seller label{display:block;font-size:11px;color:#759569;margin:14px 0}.billing-editor input,.billing-editor select,.billing-editor textarea,.billing-seller input{display:block;width:100%;padding:10px 11px;font-size:13px;color:#426b38;border:1px solid #d7e5cb;border-radius:5px;background:#fcfef8;margin-top:7px}.billing-seller summary{font-size:13px;color:#6e8f60;cursor:pointer}.billing-seller input[readonly]{background:#f2f5ee}.invoice-items-table{min-width:640px;white-space:normal}.invoice-items-table th,.invoice-items-table td{padding:10px 8px}.invoice-items-table th:first-child{width:48%}.invoice-items-table input{margin:0}.invoice-items-table [data-invoice-price]{max-width:130px}.invoice-items-table select{min-width:70px;margin:0}.invoice-items-table td{font-size:12px;vertical-align:middle}.invoice-totals{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:14px;align-items:center;margin:20px 0;font-size:12px;color:#7d9970}.invoice-totals strong{font-size:18px;color:#3d6b34}.billing-list table,.invoice-preview table{width:100%;white-space:normal}.billing-list table small{display:block;margin-top:5px;color:#91a081}.billing-list td,.invoice-preview td{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:22px 0}.invoice-parties strong{font-size:12px;color:#4f7446}.invoice-preview>p{font-size:12px;line-height:1.8;color:#839677;white-space:pre-wrap}.billing-list .text-button{white-space:nowrap}.billing-editor>.dialog-footer,.billing-editor .dialog-footer{margin-top:20px}.sidebar .nav-link[data-view="companies"],.sidebar .nav-link[data-view="billing"]{display:flex}
@media(max-width:700px){.billing-companies,.billing-list,.billing-editor,.invoice-preview,.billing-seller{padding:17px}.billing-editor-heading{flex-wrap:wrap}.billing-editor-heading h2{font-size:20px}.billing-editor-heading>.button{font-size:11px}.invoice-parties{grid-template-columns:1fr;gap:13px}.invoice-totals{justify-content:flex-start;gap:10px}.company-chooser{gap:8px}.company-chooser>button{font-size:10px}.driver-status-label select,.billing-editor input,.billing-editor select,.billing-editor textarea{font-size:16px}.hub-select-label{flex-direction:column;align-items:flex-start}.hub-select-label select{width:100%;max-width:none}.sidebar .nav-link[data-view="companies"],.sidebar .nav-link[data-view="billing"]{display:flex}.billing-companies article{gap:10px}.billing-companies article>.button{font-size:10px}.billing-editor .dialog-footer{flex-wrap:wrap}.billing-editor .dialog-footer>.button{font-size:11px}}

.orders-table tbody tr.foreign-assigned-order,.orders-table tbody tr.foreign-assigned-order:hover{background:var(--foreign-route-color)!important}.orders-table tr.foreign-assigned-order td,.orders-table tr.foreign-assigned-order small,.orders-table tr.foreign-assigned-order .address-cell>span,.orders-table tr.foreign-assigned-order .address-cell i,.orders-table tr.foreign-assigned-order .phone-link,.orders-table tr.foreign-assigned-order .text-button{color:var(--foreign-route-text)}.orders-table tr.foreign-assigned-order .text-button{text-decoration:underline}.orders-table tr.foreign-assigned-order select{color:#263a2b;background:#fff}.orders-table tr.foreign-assigned-order.highlighted-order{border-left:4px solid #b00020!important}.important-order-flag{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:#b00020;color:white;font-size:12px;font-weight:700}

.orders-table td.external-carrier-cell{background:#40E0D0!important;color:#143431}.orders-table td.external-carrier-cell .carrier-name,.orders-table td.external-carrier-cell .text-button{color:#143431}.carrier-form{display:grid;grid-template-columns:minmax(115px,1fr) auto;gap:6px;margin-top:8px;max-width:240px}.carrier-form input{min-width:0;width:100%;height:32px;padding:6px 8px;font:inherit;font-size:11px;border:1px solid #8aafac;border-radius:4px;background:#fff;color:#143431}.carrier-form button{padding:5px 8px;font-size:11px;min-height:30px}.carrier-form .carrier-error{grid-column:1/-1;font-size:10px;color:#8f162e;line-height:1.5}.carrier-name{font-size:12px;margin:8px 0 4px;overflow-wrap:anywhere;max-width:220px}.carrier-form:has(input:focus){outline:2px solid #26776d;outline-offset:4px;border-radius:3px}

.orders-table tbody tr{background:#fff}.orders-table tbody tr.not-travelled-order,.orders-table tbody tr.not-travelled-order:hover,.orders-table tbody tr.not-travelled-order>td{background:#FF0000!important;color:#171717!important;border-left:0!important}.orders-table .not-travelled-order small,.orders-table .not-travelled-order .phone-link,.orders-table .not-travelled-order .text-button,.orders-table .not-travelled-order .address-cell>span,.orders-table .not-travelled-order .address-cell i{color:#171717!important}.status-not_travelled{background:#ffe0e0;color:#851818}.orders-table .excluded-price{font-weight:650}.route-order-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}.route-order-actions .remove-route-order{color:#a64a39;font-size:10px;white-space:nowrap}.route-order-actions button:disabled{opacity:.45;cursor:wait}

.account-role-button{white-space:nowrap}.account-mode-note{padding:12px 18px;margin:0 0 20px;border-left:3px solid var(--green);border-radius:5px;background:var(--mint);color:var(--green-dark);font-size:12px;line-height:1.6}.account-mode-note[hidden]{display:none}.topbar-actions{flex-wrap:wrap}@media(max-width:700px){.account-role-button{font-size:10px;padding:7px 9px}.account-mode-note{margin-bottom:14px;font-size:11px}}
.passenger-postpone{display:flex;flex-direction:column;gap:12px;margin-top:12px;padding:14px;border:1px solid #d7e5cb;border-radius:6px;background:#f1f7eb}.passenger-postpone label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#507344}.passenger-postpone input{width:100%;min-width:0;min-height:42px;padding:10px;border:1px solid #cee0c2;border-radius:5px;background:#fff;color:#365e2b;font:inherit;font-size:16px}.passenger-postpone small{font-size:11px;line-height:1.6;color:#637e56}.passenger-postpone>div{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.passenger-postpone [role=alert]{margin:0;font-size:12px;line-height:1.6;color:#942f28}
.sidebar .nav-link[data-view="collection"]{display:flex}
