:root{--bg:#f3f8fb;--panel:#fff;--ink:#102a3c;--muted:#708696;--line:#d8e6ee;--nav:#fff;--blue:#12bfd0;--blue2:#3f9ff8;--green:#18bdc9;--radius:20px;color-scheme:light;font-family:Inter,"Segoe UI",Arial,sans-serif}
html{font-family:Inter,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{background:radial-gradient(circle at 85% -10%,#dff7fb 0,transparent 30%),radial-gradient(circle at 10% 100%,#e9f3ff 0,transparent 34%),var(--bg);color:var(--ink);font-family:inherit;font-size:16px;line-height:1.5}
button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:1.3}
.sidebar{width:268px;background:#ffffffef;border-right-color:#dbe8ef;padding:24px 18px;box-shadow:16px 0 55px #17384e12;backdrop-filter:blur(18px)}
.brand{padding:0 2px 14px;display:block}.brand img{display:block;width:220px;height:auto}.sidebar nav{gap:8px}.sidebar nav a{color:#577082;padding:13px 15px;border:1px solid transparent}.sidebar nav a:hover,.sidebar nav a.active{color:#0b3147;background:linear-gradient(90deg,#e7f9fb,#f4fbff);border-color:#ccecf1;box-shadow:inset 3px 0 #19c5d2,0 8px 24px #17384e0b}
.brand-contact{display:grid;gap:10px;margin:0 2px 18px;padding:12px;border:1px solid #cfe7ee;border-radius:15px;background:linear-gradient(145deg,#f7fdfe,#edf8fc);box-shadow:0 10px 26px #17384e0b}.contact-person{display:flex;align-items:center;gap:10px}.contact-avatar{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#18c8d5,#4eaaf4);color:#062b40;font-weight:900}.contact-person>div{display:grid;min-width:0;line-height:1.15}.contact-person b{font-size:14px;color:#102f43}.contact-phone{margin-top:4px;color:#087f91;font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}.contact-phone:hover{text-decoration:underline}.contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.contact-action{display:grid;place-items:center;gap:2px;min-width:0;padding:7px 3px;border:1px solid #c8e1e9;border-radius:10px;background:#fff;color:#315b70;text-decoration:none;transition:.16s ease}.contact-action:hover{border-color:#5acbd6;background:#eaf9fb;color:#087f91;transform:translateY(-1px)}.contact-action span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#e4f7fa;color:#078c99;font-size:12px;font-weight:900}.contact-action .telegram-mark{padding-right:2px;font-size:14px;transform:rotate(-18deg)}.contact-action.max span{background:#e9f2ff;color:#2868bf}.contact-action em{overflow:hidden;max-width:100%;font-size:10px;font-style:normal;font-weight:800;text-overflow:ellipsis}.auth-contact{margin:-14px 0 24px;padding:14px 16px;grid-template-columns:1fr auto;align-items:center}.auth-contact .contact-actions{width:220px}.auth-contact .contact-action{padding:8px 5px}
.contact-phone-only{justify-content:center}.contact-phone-only .contact-phone{margin:0;font-size:15px}
.profile{background:#f5fafc;border-color:#d7e8ef;box-shadow:0 12px 35px #17384e0b}.profile>span,.avatar{background:linear-gradient(145deg,#e1f7fa,#eef7ff);color:#0d8796;border:1px solid #c6e9ee}.profile small{color:var(--muted)}
.profile .logout-button{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #c8dfe8;background:#fff;color:#315a70;border-radius:10px;font-size:13px;font-weight:800;white-space:nowrap;transition:.18s ease}.profile .logout-button:hover{color:#087f91;border-color:#88d7df;background:#eaf9fb;transform:translateY(-1px)}.profile .logout-button span{width:auto;height:auto;background:none;border:0;color:#1596a3;font-size:17px}
.workspace{margin-left:268px;padding:34px 38px}.workspace>header{align-items:center;gap:20px;padding-bottom:18px;border-bottom:1px solid #dbe7ee}.workspace h1{font-size:34px;line-height:1.15;letter-spacing:-.03em;color:#102a3c}.workspace header small{color:#138c9a;letter-spacing:.12em}
.primary{background:linear-gradient(135deg,#24d0dc,#48a9f7);color:#062437;border:1px solid #53dce5;border-radius:12px;box-shadow:0 12px 28px #16b9c824;font-weight:800}.primary:hover{background:linear-gradient(135deg,#47dce5,#65b8fa);transform:translateY(-1px)}
.metrics{gap:18px}.metrics article,.panel,.day-card{background:#fff;border-color:#d9e6ed;box-shadow:0 16px 45px #17384e0d,inset 0 1px #fff}.metrics article{position:relative;overflow:hidden;padding:22px}.metrics article:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(#23cbd7,#438cff)}.metrics b{font-size:31px;color:#102a3c}.metrics span,.metrics small{color:#6f8595}
.panel{overflow:hidden}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px;border-color:#dce8ee}.panel-head>div{min-width:0;flex:1}.panel-head p,.cell-note,.form-note{color:var(--muted)}.panel-head p{margin:6px 0 0;font-size:15px;line-height:1.45}.panel h2{margin:0;font-size:22px;line-height:1.25;letter-spacing:-.015em;color:#102a3c}.panel>h2{padding:24px 26px 0}table{color:var(--ink)}th,td{padding:15px 18px;vertical-align:middle;line-height:1.4}th{color:#247587;background:#eff9fb;border-color:#d9e8ee;font-size:12px}td{border-color:#e0eaf0;font-size:14px}tbody tr:hover{background:#f1fafc}.empty{color:#78909f;padding:48px 24px!important;text-align:center;font-size:16px;line-height:1.5}
input,select,textarea{min-height:44px;background:#fff;border-color:#cddfe8;color:#153247;border-radius:11px}input:focus,select:focus,textarea:focus{border-color:#22c4d1;box-shadow:0 0 0 3px #2ed8e522}input::placeholder,textarea::placeholder{color:#91a3af}label{color:#496477;font-size:14px;line-height:1.35}.primary,.secondary,.danger,.upload-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;text-decoration:none}
dialog{background:#fff;color:var(--ink);border:1px solid #d4e4eb;box-shadow:0 32px 100px #16384f30}dialog::backdrop{background:#08223570;backdrop-filter:blur(8px)}.notice{background:#e9faf9;color:#177b80;border-color:#bfe9e7}.error{background:#edf5fa;color:#395c72;border-color:#cfdee8}
.auth-body{background:radial-gradient(circle at 15% 15%,#d9f5f8 0,transparent 30%),radial-gradient(circle at 85% 85%,#e1effc 0,transparent 34%),linear-gradient(145deg,#f8fcfe,#eef6fa);overflow:hidden}.auth-body:before{content:'';position:fixed;inset:0;background-image:linear-gradient(#1fb8c609 1px,transparent 1px),linear-gradient(90deg,#1fb8c609 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,black,transparent)}
.auth-card{position:relative;width:min(560px,100%);padding:38px;background:#ffffffef;border-color:#d5e6ed;border-radius:28px;box-shadow:0 35px 100px #17384e22,inset 0 1px #fff;backdrop-filter:blur(22px)}.auth-brand{margin:0 0 30px}.auth-brand img{display:block;width:100%;height:auto}.auth-card h1{font-size:34px;color:#102a3c}.auth-card>p,.security-note{color:#718796}
.address-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:22px}.address-form .span-2{grid-column:span 2}.address-form .primary{align-self:end}.cell-note{display:block;font-size:12px;margin-top:5px}.month-filter{display:flex;justify-content:flex-end;margin:-8px 0 18px}.month-filter label{width:220px}.metrics-three{grid-template-columns:repeat(3,1fr)}
.delivery-days{display:grid;gap:14px}.day-card{overflow:hidden}.day-card summary{cursor:pointer;list-style:none;padding:19px 22px;display:flex;justify-content:space-between;align-items:center}.day-card summary::-webkit-details-marker{display:none}.day-card summary span{display:grid;gap:4px}.day-card summary small{color:var(--muted)}.day-card summary strong{color:#168e9c;font-size:20px}.day-card[open] summary{border-bottom:1px solid var(--line);background:#f2fafc}
.excel-panel{min-height:380px;display:grid;place-items:center;text-align:center;padding:48px}.excel-panel>div{max-width:650px}.excel-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 20px;border-radius:22px;background:linear-gradient(145deg,#e5f8fa,#edf6ff);border:1px solid #c7e8ed;color:#1596a3;font-size:32px;font-weight:900}.excel-panel p{color:var(--muted)}.excel-actions{display:flex;justify-content:center;gap:12px;margin:26px 0}.upload-button{display:inline-flex;align-items:center;border-radius:10px;padding:10px 14px;background:linear-gradient(135deg,#20cbd9,#449fff);color:#062437;font-weight:800;cursor:pointer}.form-note{margin:0;font-size:13px}
.secondary,.danger{background:#f3f8fb!important;border-color:#ccdfe8!important;color:#38576b!important}.secondary:hover,.danger:hover{background:#e8f5f8!important;border-color:#a9d7df!important}.access-actions em{color:#137c83!important;background:#e7f8f7!important}.inactive{opacity:.55}
.workflow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.upload-card{padding:28px}.route-card{display:flex;flex-direction:column;min-height:300px;background:linear-gradient(145deg,#fff 0%,#f8fcfe 100%)}.route-card-head{display:flex;align-items:flex-start;gap:18px}.route-card-head .excel-icon{flex:0 0 64px;width:64px;height:64px;margin:0;border-radius:18px}.route-card h2{margin:4px 0 8px;font-size:21px;line-height:1.25}.route-card p{margin:0;color:var(--muted);font-size:15px;line-height:1.55;max-width:540px}.route-export,.route-import{display:grid;grid-template-columns:minmax(210px,1fr) auto;gap:12px;align-items:end;margin-top:auto;padding-top:28px}.route-export label,.route-import label{min-width:0;text-align:left}.route-card .primary{min-height:46px;white-space:nowrap}.file-field{display:grid;gap:7px}.file-field input{min-height:46px;padding:8px 10px;background:#fff}.fleet-import{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:26px 30px;margin-bottom:18px}.fleet-import>div{max-width:660px}.fleet-import .excel-icon{margin:0 0 12px}.fleet-import p{color:var(--muted)}.fleet-import form{display:flex;align-items:end;gap:12px;min-width:420px}.fleet-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-button{appearance:none;border:0;background:none;color:#087f91;font:inherit;font-weight:800;padding:0;border-bottom:1px dashed #3bb9c6;cursor:pointer}.detail-button:hover{color:#245ff2}.detail-dialog{width:min(680px,calc(100vw - 28px));padding:26px}.detail-dialog .dialog-head{margin-bottom:20px}.detail-dialog .dialog-head small{display:block;color:var(--muted);margin-bottom:4px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.details-grid p{display:grid;gap:5px;margin:0;padding:14px;border:1px solid #dce8ee;border-radius:13px;background:#f7fbfd}.details-grid p.wide{grid-column:1/-1}.details-grid span{color:var(--muted);font-size:12px}.details-grid a{color:#087f91;font-weight:800;text-decoration:none}
.nav-count{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:8px;padding:0 6px;border-radius:999px;background:#14becb;color:#fff;font-size:12px}.address-link{appearance:none;border:0;background:transparent;padding:0;color:#087f91;font:inherit;font-weight:800;text-align:left;cursor:pointer;border-bottom:1px dashed #54bdc7}.address-link:hover{color:#245ff2}.address-plain{font-weight:500}.delivery-card-dialog{width:min(820px,calc(100vw - 28px));max-height:92vh;overflow:auto;padding:0}.delivery-card-dialog>form{padding:26px}.delivery-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.delivery-edit-grid .wide{grid-column:1/-1;width:auto;margin:0}.delivery-edit-grid textarea{width:100%;resize:vertical;min-height:76px;border:1px solid #cddfe8;border-radius:11px;padding:11px 12px;background:#fff;color:#153247;font:inherit}.delivery-edit-grid textarea:focus{outline:0;border-color:#22c4d1;box-shadow:0 0 0 3px #2ed8e522}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.dialog-actions button,.delete-request-form button,.approval-item form button{border:1px solid transparent;border-radius:11px;padding:11px 15px;font-weight:800;cursor:pointer}.approval-hint{margin:0;padding:11px 13px;border-radius:11px;background:#edf8fb;color:#376276;font-size:13px}.delete-request-form{padding:0 26px 26px!important;border-top:1px solid #e1ebef}.delete-request-form button{margin-top:18px}.delete-request-form button:disabled{opacity:.55;cursor:not-allowed}.approval-total{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;white-space:nowrap;padding:7px 12px;border-radius:999px;background:#e9f9fb;color:#087f91;font-weight:800;font-size:13px;line-height:1.2}.approval-list{display:grid;gap:12px;padding:20px 26px 26px}.approval-list>.empty{min-height:126px;display:grid;place-items:center}.approval-item{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px;border:1px solid #d8e7ed;border-radius:16px;background:#fbfdfe}.approval-item h3{margin:7px 0 3px;font-size:18px;line-height:1.35}.approval-item p,.approval-item small{display:block;margin:0 0 5px;color:var(--muted);line-height:1.4}.approval-item form{display:flex;gap:9px;flex:0 0 auto}.request-kind{display:inline-block;padding:5px 9px;border-radius:999px;background:#e7f8fa;color:#087f91;font-size:12px;font-weight:800}.request-kind.delete{background:#fff1f1;color:#a23b3b}.price-change{display:flex;align-items:center;gap:9px;margin-top:10px}.price-change del{color:#8395a2}.price-change strong{color:#0a8794;font-size:18px}.approval-item .danger{background:#fff0f0!important;border-color:#f1bebe!important;color:#9b3131!important}

.alert-count{background:#e95858}.fleet-alert-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;padding:15px 18px;border:1px solid #ffd3b5;border-radius:15px;background:linear-gradient(135deg,#fff7ed,#fff);color:#793f19;text-decoration:none}.fleet-alert-banner b{font-size:16px}.fleet-alert-banner span{color:#a55520;font-weight:750}.manual-fleet-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.manual-record{overflow:hidden}.manual-record>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;cursor:pointer;list-style:none;font-weight:850;font-size:18px}.manual-record>summary::-webkit-details-marker{display:none}.manual-record>summary:after{content:'＋';display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#e7f8fa;color:#0796a4}.manual-record[open]>summary:after{content:'−'}.manual-record>summary small{margin-left:auto;color:var(--muted);font-size:13px;font-weight:650}.record-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:0 24px 24px;border-top:1px solid #e1ebef}.record-form label{margin-top:15px}.record-form .span-2{grid-column:1/-1}.record-form button{align-self:end}.fleet-directory{display:grid;gap:18px}.document-alerts{display:grid;gap:11px;padding:20px 26px 26px}.document-alert{display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(180px,.8fr) auto;align-items:center;gap:15px;padding:16px;border:1px solid #dce8ee;border-radius:14px;background:#fbfdfe}.document-alert .alert-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e8f8fa;color:#078c99;font-weight:900}.document-alert h3,.document-alert p{margin:0}.document-alert h3{font-size:16px}.document-alert p,.document-alert small{color:var(--muted)}.document-alert strong{font-size:14px}.document-alert.overdue{border-color:#f3c1c1;background:#fff8f8}.document-alert.overdue .alert-icon{background:#ffe8e8;color:#b43b3b}.document-alert.urgent{border-color:#ffd8b2;background:#fffaf4}.document-alert.urgent .alert-icon{background:#fff0dc;color:#b96318}.document-alert .deadline{display:grid;gap:3px;text-align:right}.document-alert .deadline b{font-size:15px}.document-alert .deadline span{font-size:13px;color:var(--muted)}
.document-alerts{display:block;padding:0}.alert-list{display:grid;gap:11px;padding:20px 26px 26px}.alert-list>.empty{min-height:150px;display:grid;place-items:center}.document-alert{grid-template-columns:auto minmax(220px,1fr) auto}.document-alert .alert-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e8f8fa;color:#078c99;font-weight:900}.document-alert>strong{display:grid;gap:3px;text-align:right}.document-alert>strong small{font-weight:600}.document-alert.overdue .alert-mark{background:#ffe8e8;color:#b43b3b}.document-alert.urgent .alert-mark{background:#fff0dc;color:#b96318}
.copy-route-panel{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:20px 22px}.copy-route-panel p{margin:6px 0 0;color:var(--muted);font-size:14px}.copy-route-panel form{display:grid;grid-template-columns:170px 170px auto;gap:10px;align-items:end}.copy-route-panel .primary{white-space:nowrap;min-height:42px}
.sync-address-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px}.sync-address-panel p{margin:6px 0 0;color:var(--muted);font-size:14px}.sync-address-panel .primary{white-space:nowrap}
.date-tabs{display:flex;gap:10px;margin:0 0 14px;padding:5px;overflow-x:auto}.date-tab{min-width:126px;padding:12px 17px;border:1px solid #cfe1e9;border-radius:14px;background:#fff;color:#496477;box-shadow:0 8px 24px #17384e0a;cursor:pointer;text-align:left;transition:.18s ease}.date-tab b{display:block;color:#16384d;font-size:17px}.date-tab span{display:block;margin-top:3px;color:#7b909e;font-size:12px}.date-tab:hover{border-color:#80d7df;transform:translateY(-1px)}.date-tab.active{border-color:#28c7d4;background:linear-gradient(135deg,#e7fafb,#eef7ff);box-shadow:0 10px 28px #16b9c81f,inset 0 -3px #20bdcb}.date-tab.active b{color:#087f91}
/* Compact, consistent controls */
.primary,.secondary,.danger,.upload-button{min-height:38px;padding:8px 14px;border-radius:10px;font-size:14px;font-weight:750;letter-spacing:0;line-height:1.15;gap:7px;white-space:nowrap;box-shadow:none;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}
.primary,.upload-button{border:1px solid #38cbd9;background:linear-gradient(135deg,#2bcbd8,#4caaf2);color:#082c40;box-shadow:0 7px 18px #16b9c81d}
.primary:hover,.upload-button:hover{border-color:#27becd;background:linear-gradient(135deg,#45d6e1,#65b7f5);box-shadow:0 9px 20px #16b9c824;transform:translateY(-1px)}
.secondary{border:1px solid #bcd8e3!important;background:#f8fcfd!important;color:#28576c!important}.secondary:hover{border-color:#79cbd5!important;background:#ebf9fb!important;color:#0c7f8e!important;transform:translateY(-1px)}
.danger{border:1px solid #d0dce3!important;background:#fff!important;color:#647b89!important}.danger:hover{border-color:#aac3ce!important;background:#f2f8fa!important;color:#334f60!important;transform:translateY(-1px)}
.workspace>header .primary{min-height:40px;padding:9px 15px}.route-card .primary,.copy-route-panel .primary{min-height:40px}.wide{min-height:42px}
.card-actions{align-items:center;gap:7px;margin-top:12px}.card-actions .secondary,.card-actions .danger,.access-actions .secondary,.access-actions .danger{min-height:34px;padding:6px 11px;border-radius:9px;font-size:13px}.approval-item form button,.dialog-actions button,.delete-request-form button{min-height:38px;padding:8px 13px}.profile .logout-button{min-height:36px;padding:7px 9px;border-radius:9px}
.bulk-assignment{position:sticky;top:12px;z-index:8;display:grid;grid-template-columns:minmax(240px,1fr) 240px 300px auto;gap:14px;align-items:end;margin:0 0 16px;padding:18px 20px;border:1px solid #bfe5ea;border-radius:18px;background:#fffffff5;box-shadow:0 16px 38px #17384e18;backdrop-filter:blur(16px)}.bulk-assignment h2{margin:0 0 4px;font-size:19px;line-height:1.25}.bulk-assignment p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}.bulk-assignment label{min-width:0}.bulk-assignment select{width:100%}.bulk-assignment .primary{min-height:44px}.delivery-select,.day-select-all{width:18px;height:18px;min-height:0;accent-color:#19b9c8;cursor:pointer}.day-select-all{display:block;margin:auto}.entity-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#e8f8fa;color:#087f91;font-size:12px;font-weight:800;white-space:nowrap}.entity-badge.empty{background:#fff3e5;color:#9b6418}
.accounting-panel{margin-bottom:18px}.accounting-panel .panel-head>strong{white-space:nowrap;color:#087f91;font-size:20px}.entity-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 26px 22px}.entity-totals article{display:grid;gap:3px;padding:16px;border:1px solid #d8e7ed;border-radius:14px;background:#f8fcfd}.entity-totals article.attention{border-color:#edd0a6;background:#fffaf1}.entity-totals span,.entity-totals small{color:var(--muted)}.entity-totals b{font-size:22px;color:#12364b}.entity-picker{display:flex;align-items:center;gap:8px;min-width:330px}.entity-picker select{min-height:36px}.entity-picker .secondary{min-height:36px}
.record-link{appearance:none;border:0;background:transparent;padding:0;color:#087f91;font:inherit;font-weight:850;text-align:left;cursor:pointer;border-bottom:1px dashed #54bdc7}.record-link:hover{color:#245ff2}.fleet-edit-dialog{width:min(880px,calc(100vw - 28px));max-height:92vh;overflow:auto;padding:0}.fleet-edit-dialog>form{padding:24px}.fleet-edit-dialog .dialog-head{margin-bottom:5px}.edit-record-form{padding:0;border:0}.edit-record-form .dialog-actions{grid-column:1/-1;margin-top:14px}
.schedule-panel{overflow:hidden}.schedule-head{align-items:end}.schedule-head form{flex:0 0 210px}.schedule-head label{display:grid;gap:6px}.schedule-legend{display:flex;align-items:center;gap:9px;padding:13px 26px;border-top:1px solid #e1ebef;background:#f8fcfd;color:#587181;font-size:13px}.schedule-legend span{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:8px;font-weight:900;color:#102a3c}.schedule-wrap{overflow:auto;max-height:calc(100vh - 270px)}.schedule-table{min-width:max-content}.schedule-table th,.schedule-table td{min-width:96px;padding:0;text-align:center;border-right:1px solid #dce8ee}.schedule-table thead th{position:sticky;top:0;z-index:3;height:65px;padding:9px 12px;background:#eaf7fa}.schedule-table thead th:first-child{left:0;z-index:5;min-width:74px}.schedule-table thead th b,.schedule-table thead th small{display:block}.schedule-table thead th small{margin-top:2px;color:#78909f;font-size:11px;text-transform:none;letter-spacing:0}.schedule-table tbody th{position:sticky;left:0;z-index:2;min-width:74px;padding:8px 10px;background:#f7fbfd}.schedule-table tbody th b,.schedule-table tbody th small{display:block}.schedule-table tbody th small{color:#8195a2;font-size:11px}.schedule-table tr.weekend th{background:#eef3f6}.schedule-table td form{height:45px}.schedule-table td select{width:100%;height:45px;min-height:45px;padding:0 25px 0 10px;border:0;border-radius:0;background:transparent;color:#102a3c;font-weight:900;text-align:center;cursor:pointer;box-shadow:none}.schedule-table td select:focus{outline:3px solid #2797ff;outline-offset:-3px}.schedule-table td.status-work{background:#fff}.schedule-table td.status-off,.schedule-legend .status-off{background:#2ee83e}.schedule-table td.status-vacation,.schedule-legend .status-vacation{background:#ffae28}.schedule-table td.status-sick,.schedule-legend .status-sick{background:#ffd9dd}.schedule-legend .status-work{background:#fff;border:1px solid #d6e3e9}
.schedule-bulk-tools{display:flex;align-items:center;gap:9px;padding:12px 18px;border-top:1px solid #dbe9ee;background:#f7fbfc}.schedule-bulk-tools>div{display:grid;gap:2px;margin-right:auto}.schedule-bulk-tools>div span{color:#66808f;font-size:12px}.schedule-bulk-tools>strong{white-space:nowrap;color:#087f91}.schedule-bulk-tools button{min-height:36px;padding:7px 11px;border:1px solid #cddfe6;border-radius:9px;color:#102a3c;font-weight:800;cursor:pointer}.schedule-bulk-tools .status-work{background:#fff}.schedule-bulk-tools .status-off{background:#2ee83e;border-color:#20cf31}.schedule-bulk-tools .status-vacation{background:#ffae28;border-color:#ec9712}.schedule-bulk-tools .status-special{background:#ff7a1a;border-color:#e96300;color:#fff}.schedule-bulk-tools .schedule-clear-selection{background:#eef5f7}.schedule-table td.schedule-cell{height:45px;font-weight:900;cursor:crosshair;user-select:none;touch-action:none}.schedule-table td.schedule-cell span{display:grid;place-items:center;width:100%;height:100%}.schedule-table td.status-special,.schedule-legend .status-special{background:#ff7a1a;color:#fff}.schedule-table td.schedule-cell.is-selected{position:relative;box-shadow:inset 0 0 0 3px #1769e0;z-index:1}.schedule-table td.schedule-cell.is-selected::after{content:'✓';position:absolute;right:4px;top:2px;color:#1769e0;font-size:11px}.schedule-legend .status-special{color:#fff}@media(max-width:900px){.schedule-bulk-tools{align-items:stretch;flex-wrap:wrap}.schedule-bulk-tools>div{width:100%}.schedule-bulk-tools>strong{margin-right:auto}}
.schedule-bulk-tools .status-sick{background:#ffd9dd;border-color:#f2b9c0}
body:has(.schedule-panel) .workspace{height:var(--app-viewport-height,100vh);overflow:hidden;display:flex;flex-direction:column}body:has(.schedule-panel) .workspace>header{flex:0 0 auto}body:has(.schedule-panel) .notice{flex:0 0 auto}.schedule-panel{flex:1;min-height:0;margin-bottom:0;display:flex;flex-direction:column}.schedule-wrap{flex:1;min-height:0;max-height:none}.schedule-table thead th{top:0}@media(max-width:760px){body:has(.schedule-panel) .workspace{height:auto;min-height:100vh;overflow:visible}.schedule-panel{min-height:calc(100vh - 180px)}.schedule-wrap{max-height:calc(100vh - 250px)}}
@media(max-width:1100px){.address-form{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics-three{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:1100px){.workflow-grid,.fleet-grid,.manual-fleet-grid{grid-template-columns:1fr}.route-card{min-height:0}.fleet-import{align-items:stretch;flex-direction:column}.fleet-import form{min-width:0}.document-alert{grid-template-columns:auto 1fr auto}.document-alert>div:nth-child(3){grid-column:2/4}}
@media(max-width:760px){.sidebar{width:auto}.brand img{width:190px}.brand-contact{margin-bottom:14px}.auth-contact{grid-template-columns:1fr;margin-top:-12px}.auth-contact .contact-actions{width:100%}.sidebar .profile{display:flex;margin-top:14px}.sidebar .profile form{margin-left:auto}.workspace{margin:0;padding:22px 14px}.workspace>header{align-items:center}.workspace h1{font-size:27px}.panel-head{padding:20px;gap:14px}.panel h2{font-size:20px}.panel-head p{font-size:14px}.address-form,.record-form{grid-template-columns:1fr}.address-form .span-2,.record-form .span-2{grid-column:auto}.metrics-three{grid-template-columns:1fr}.excel-actions,.route-export,.route-import,.fleet-import form{flex-direction:column;align-items:stretch}.route-export label,.route-import label{min-width:0}.details-grid,.delivery-edit-grid{grid-template-columns:1fr}.details-grid p.wide,.delivery-edit-grid .wide{grid-column:auto}.month-filter{justify-content:stretch}.month-filter label{width:100%}.approval-item,.copy-route-panel,.fleet-alert-banner{align-items:stretch;flex-direction:column}.approval-item form{width:100%}.approval-item form button{flex:1}.approval-list{padding:14px}.copy-route-panel form{grid-template-columns:1fr}.document-alert{grid-template-columns:auto 1fr}.document-alert>div:nth-child(3){grid-column:1/-1}.document-alert .deadline{grid-column:1/-1;text-align:left}.manual-record>summary small{display:none}}
@media(max-width:760px){.document-alert>strong{grid-column:1/-1;text-align:left}.alert-list{padding:14px}}
@media(max-width:1100px){.bulk-assignment{position:static;grid-template-columns:1fr 1fr}.bulk-assignment>div{grid-column:1/-1}.entity-totals{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.bulk-assignment{grid-template-columns:1fr}.bulk-assignment>div{grid-column:auto}.entity-totals{grid-template-columns:1fr;padding:0 18px 18px}.accounting-panel .panel-head{align-items:flex-start;flex-direction:column}.entity-picker{min-width:260px;flex-direction:column;align-items:stretch}}
.schedule-tools{display:flex;align-items:end;gap:10px}.schedule-tools>a{min-height:44px}@media(max-width:760px){.schedule-head{align-items:stretch;flex-direction:column}.schedule-tools{align-items:stretch;flex-direction:column}.schedule-head form{flex:auto}.schedule-tools>a{text-align:center}}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.interface-scale{display:inline-flex;align-items:center;padding:3px;border:1px solid #cfe1e9;border-radius:11px;background:#fff;box-shadow:0 7px 20px #17384e0b}.interface-scale button{width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:8px;background:transparent;color:#315a70;font-size:18px;font-weight:850;cursor:pointer}.interface-scale button:hover{background:#eaf8fa;color:#087f91}.interface-scale button:disabled{opacity:.35;cursor:not-allowed}.interface-scale .scale-value{width:52px;color:#087f91;font-size:12px;font-weight:850}.delivery-days .table-wrap{max-height:calc(100vh - 245px);overflow:auto}.delivery-days table{width:100%;table-layout:auto}.delivery-days thead th{position:sticky;top:0;z-index:3}.delivery-days th,.delivery-days td{padding:7px 9px;white-space:normal;line-height:1.25}.delivery-days th{font-size:11px}.delivery-days td{font-size:12px;max-width:230px}.delivery-days .cell-note{margin-top:2px;font-size:10px}.delivery-days .address-link,.delivery-days .detail-button{line-height:1.2}.delivery-days .entity-badge{padding:3px 6px;font-size:10px}.delivery-days .delivery-select,.delivery-days .day-select-all{width:16px;height:16px}.day-card summary{padding:12px 16px}.day-card summary strong{font-size:17px}.date-tabs{gap:7px;margin-bottom:10px}.date-tab{min-width:104px;padding:8px 12px}.date-tab b{font-size:14px}.workspace>header{margin-bottom:16px}.metrics{gap:12px;margin-bottom:14px}.metrics article{padding:15px}.panel{margin-bottom:14px}.panel-head{padding:17px 20px}th,td{padding:10px 12px}@media(max-width:760px){.header-actions{gap:7px}.interface-scale{display:none}.delivery-days .table-wrap{max-height:none}.delivery-days th,.delivery-days td{padding:9px 10px;font-size:12px}.workspace>header .primary{min-width:40px}}
.customer-accounting .panel-head{align-items:center}.customer-accounting .panel-head>strong{flex:0 0 auto;white-space:nowrap;color:#087f91;font-size:20px}.customer-accounting .entity-totals{padding-top:0}.customer-accounting .entity-totals article{min-height:92px}@media(max-width:760px){.customer-accounting .panel-head{align-items:flex-start;flex-direction:column}.customer-accounting .panel-head>strong{font-size:18px}}
.map-toolbar{margin-bottom:16px}.map-stats{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:0 7px;white-space:nowrap}.map-stats b,.map-stats strong{font-size:24px;color:#087f91}.map-stats strong{color:#df7a1f}.map-stats span{color:var(--muted);font-size:12px}.map-filters{display:flex;align-items:end;gap:12px;padding:0 24px 22px}.map-filters label{min-width:190px}.map-filters .secondary{min-height:44px}.map-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px}.map-panel{position:relative;min-height:650px;margin:0!important}.map-panel #route-map{width:100%;height:650px;background:#e8f1f3}.map-sidebar{margin:0!important;padding:20px;overflow:auto;max-height:650px}.map-sidebar form{display:grid;gap:13px}.map-sidebar form h2,.unmapped-list h3{margin:0}.map-sidebar form>p{margin:0;color:var(--muted)}.map-sidebar label{display:grid;gap:6px}.map-sidebar input[type=color]{width:100%;padding:5px}.unmapped-list{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.unmapped-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.unmapped-list ul{display:grid;gap:8px;margin:12px 0 0;padding:0;list-style:none}.unmapped-list li{display:flex;align-items:flex-start;gap:9px;padding:9px;border:1px solid #e0e9ed;border-radius:11px;background:#fbfdfe}.unmapped-list li i{flex:0 0 10px;width:10px;height:10px;margin-top:5px;border-radius:50%;background:#ef862c;box-shadow:0 0 0 4px #fff0e3}.unmapped-list li span{display:grid;min-width:0}.unmapped-list li b{font-size:12px}.unmapped-list li small{color:var(--muted);font-size:10px}.unmapped-list .all-mapped{color:#148779;border-color:#c8e9e3;background:#f1fbf9}.map-note{color:var(--muted);font-size:12px}.map-loading{position:absolute;top:14px;left:50%;z-index:500;transform:translateX(-50%);padding:9px 14px;border-radius:999px;background:#102f43;color:#fff;box-shadow:0 9px 26px #0920333b;font-weight:800}.route-map-icon{background:transparent;border:0}.route-map-icon span{display:block;width:20px;height:20px;border:3px solid #fff;border-radius:50%;background:var(--marker);box-shadow:0 3px 10px #17384e66;transition:.15s ease}.route-map-icon span.selected{width:24px;height:24px;margin:-2px;border-color:#092c42;box-shadow:0 0 0 4px #fff,0 5px 14px #17384e66}.leaflet-popup-content{font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.45}.leaflet-control-attribution{font-size:10px!important}@media(max-width:1050px){.map-workspace{grid-template-columns:1fr}.map-panel,.map-panel #route-map{min-height:520px;height:520px}.map-sidebar{max-height:none}.map-filters{flex-wrap:wrap}}@media(max-width:760px){.map-filters{align-items:stretch;flex-direction:column;padding:0 18px 18px}.map-filters label{min-width:0}.map-stats{display:none}.map-panel,.map-panel #route-map{min-height:420px;height:420px}}
.workspace.map-fullscreen{height:var(--app-viewport-height,100vh);overflow:hidden;display:flex;flex-direction:column;padding-top:20px;padding-bottom:20px}.workspace.map-fullscreen>header{flex:0 0 auto;margin-bottom:10px;padding-bottom:10px}.workspace.map-fullscreen>header h1{font-size:27px}.workspace.map-fullscreen .map-toolbar{flex:0 0 auto;margin-bottom:10px}.workspace.map-fullscreen .map-toolbar .panel-head{align-items:center;padding:12px 18px}.workspace.map-fullscreen .map-toolbar .panel-head p{margin-top:2px;font-size:12px}.workspace.map-fullscreen .map-filters{padding:0 18px 12px}.workspace.map-fullscreen .map-filters label{min-width:180px}.workspace.map-fullscreen .map-workspace{flex:1;min-height:0}.workspace.map-fullscreen .map-panel{min-height:0;height:100%}.workspace.map-fullscreen .map-panel #route-map{min-height:0;height:100%}.workspace.map-fullscreen .map-sidebar{height:100%;max-height:none;min-height:0}@media(max-width:1050px){.workspace.map-fullscreen{height:auto;min-height:100vh;overflow:visible}.workspace.map-fullscreen .map-panel,.workspace.map-fullscreen .map-panel #route-map{height:520px;min-height:520px}.workspace.map-fullscreen .map-sidebar{height:auto;max-height:none}}@media(max-width:760px){.workspace.map-fullscreen{padding-top:22px;padding-bottom:22px}.workspace.map-fullscreen .map-panel,.workspace.map-fullscreen .map-panel #route-map{height:420px;min-height:420px}}
.route-color-legend{display:flex;flex-wrap:wrap;gap:8px;padding:0 24px 18px}.route-color-legend span{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #d7e6ec;border-radius:999px;background:#f8fcfd;color:#315a70;font-size:11px;font-weight:800}.route-color-legend i{width:10px;height:10px;border-radius:50%}.map-assign-link{min-height:44px;text-decoration:none;display:inline-flex;align-items:center}.map-point-picker{display:grid;gap:8px}.map-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.map-picker-head span{display:flex;gap:5px}.map-picker-head button{border:0;border-radius:7px;background:#eaf8fa;color:#087f91;padding:5px 8px;font-size:11px;font-weight:800;cursor:pointer}.map-point-options{display:grid;gap:5px;max-height:210px;overflow:auto;padding:6px;border:1px solid #d9e8ed;border-radius:12px;background:#f8fcfd}.map-point-options label{display:grid!important;grid-template-columns:18px 1fr;align-items:start;gap:8px!important;padding:7px;border-radius:8px;background:#fff;cursor:pointer}.map-point-options input{width:16px;height:16px;min-height:0;margin:2px 0 0;accent-color:#19b9c8}.map-point-options span{display:grid;min-width:0}.map-point-options b{font-size:11px}.map-point-options small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.route-color-legend{display:flex;flex-wrap:wrap;gap:8px;padding:0 24px 18px}.route-color-legend span{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #d7e6ec;border-radius:999px;background:#f8fcfd;color:#315a70;font-size:11px;font-weight:800}.route-color-legend i{width:10px;height:10px;border-radius:50%}.map-assign-link{min-height:44px;text-decoration:none;display:inline-flex;align-items:center}.map-point-picker{display:none}.map-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.map-picker-head span{display:flex;gap:5px}.map-picker-head button{border:0;border-radius:7px;background:#eaf8fa;color:#087f91;padding:5px 8px;font-size:11px;font-weight:800;cursor:pointer}.map-point-options{display:grid;gap:5px;max-height:210px;overflow:auto;padding:6px;border:1px solid #d9e8ed;border-radius:12px;background:#f8fcfd}.map-point-options label{display:grid!important;grid-template-columns:18px 1fr;align-items:start;gap:8px!important;padding:7px;border-radius:8px;background:#fff;cursor:pointer}.map-point-options input{width:16px;height:16px;min-height:0;margin:2px 0 0;accent-color:#19b9c8}.map-point-options span{display:grid;min-width:0}.map-point-options b{font-size:11px}.map-point-options small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}

/* Counterparty route sheets */
.summary-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}.summary-metrics .metric-card{position:relative;display:grid;gap:4px;min-height:112px;padding:17px 19px;border:1px solid #d9e6ed;border-radius:17px;background:#fff;color:#102a3c;text-align:left;box-shadow:0 13px 36px #17384e0d;cursor:pointer;transition:.18s ease}.summary-metrics .metric-card:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;border-radius:17px 0 0 17px;background:linear-gradient(#23cbd7,#438cff)}.summary-metrics .metric-card:hover{border-color:#8bd8df;transform:translateY(-1px)}.summary-metrics .metric-card.active{border-color:#2bc7d4;background:linear-gradient(145deg,#eafafb,#f5fbff);box-shadow:0 13px 34px #17afbd1a,inset 0 0 0 1px #fff}.summary-metrics .metric-card span{color:#617b8c;font-weight:750}.summary-metrics .metric-card b{font-size:28px;line-height:1.1}.summary-metrics .metric-card small{color:#7a909e}.customer-month-filter{margin:0 0 14px}.pricing-review-notice{display:flex;align-items:center;gap:10px;margin-bottom:14px}.pricing-review-notice span{color:#51717f}.customer-journal .panel-head{align-items:center}.customer-day-card.empty-day{opacity:.65}.customer-day-card.empty-day summary{background:#f7fafb}.customer-summary-table td:first-child{min-width:280px}.customer-summary-table .address-link{display:grid;gap:3px}.customer-summary-table .address-link small{color:#7a909e;font-weight:600}.customer-summary-table tr.needs-review{background:#fffaf1}.review-badge{display:block;margin-top:4px;color:#a26a1a;font-size:10px}.row-actions{display:flex;align-items:center;gap:7px}.row-actions form{margin:0}.quick-cancel{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border:1px solid #d0dce3;border-radius:9px;background:#fff;color:#6b7f8b;font-size:20px;cursor:pointer}.quick-cancel:hover{border-color:#efb3b3;background:#fff4f4;color:#a33b3b}.quick-cancel:disabled{opacity:.45;cursor:not-allowed}
.customer-summary-table tr.pending-delete,.customer-summary-table tr.pending-delete:hover{background:#fff0f0;box-shadow:inset 5px 0 #dc2626}.customer-summary-table tr.pending-delete td{border-bottom-color:#f2b8b8}.customer-summary-table tr.pending-delete .address-link b{color:#a31515}.pending-delete-badge{display:inline-flex!important;width:max-content;margin-top:5px!important;padding:4px 9px;border-radius:999px;background:#dc2626;color:#fff!important;font-size:12px!important;font-weight:800;line-height:1.2}
.route-sheet-dialog{width:min(920px,calc(100vw - 28px));max-height:92vh;overflow:auto;padding:0}.route-sheet-dialog>form{padding:24px}.route-sheet-dialog .dialog-head{margin-bottom:16px}.route-sheet-dialog .dialog-head small{color:var(--muted)}.route-date{display:grid;gap:6px;max-width:260px}.cutoff-note{margin:10px 0 16px;padding:10px 12px;border-radius:11px;background:#edf8fb}.route-object-picker{display:grid;gap:9px;max-height:50vh;overflow:auto;padding:3px}.route-object-card{border:1px solid #d7e5ec;border-radius:14px;background:#fff;overflow:hidden;transition:.16s ease}.route-object-card.selected{border-color:#36c7d3;background:#f4fcfd;box-shadow:0 7px 20px #16b9c815}.route-object-select{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 14px;cursor:pointer}.route-object-select input{width:18px;height:18px;min-height:0;accent-color:#18bdc9}.route-object-select span{display:grid;min-width:0}.route-object-select b{color:#12364b}.route-object-select small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.route-object-select strong{color:#087f91}.route-object-fixed{display:flex;gap:18px;padding:0 45px 11px;color:#6f8595;font-size:12px}.route-variable-fields{display:grid;grid-template-columns:130px 160px minmax(260px,1fr);gap:10px;padding:13px 14px;border-top:1px solid #dce9ee;background:#f8fcfd}.route-variable-fields label{display:grid;gap:5px}.route-variable-fields .wide{grid-column:auto}.route-variable-fields textarea{min-height:44px;resize:vertical}.route-limit-note{grid-column:1/-1;color:#718796}.route-sheet-total{display:flex;align-items:center;gap:16px;margin-top:14px;padding:14px 16px;border:1px solid #cce6eb;border-radius:14px;background:#edf9fb}.route-sheet-total strong{margin-left:auto;color:#087f91;font-size:21px}.route-sheet-total small{color:#a26a1a}.delivery-edit-grid input[readonly]{background:#f2f6f8;color:#607886;cursor:default}
@media(max-width:760px){.summary-metrics{grid-template-columns:1fr}.customer-summary-table td:first-child{min-width:210px}.customer-journal .panel-head{align-items:flex-start;flex-direction:column}.route-variable-fields{grid-template-columns:1fr 1fr}.route-variable-fields .wide{grid-column:1/-1}.route-object-fixed{padding-left:14px;flex-direction:column;gap:3px}.route-sheet-total{align-items:flex-start;flex-wrap:wrap}.route-sheet-total strong{margin-left:0}}
.route-sheet-dialog{overflow:hidden}.route-sheet-dialog>form{display:flex;flex-direction:column;max-height:92vh;min-height:min(720px,92vh)}.route-sheet-dialog .route-object-picker{display:grid;grid-auto-flow:row;grid-auto-rows:max-content;align-content:start;flex:1;min-height:180px;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:4px 6px}.route-sheet-dialog .route-object-card{display:block!important;flex:none;min-height:64px;height:auto!important;visibility:visible!important;opacity:1!important}.route-sheet-dialog .route-object-select{display:grid!important;min-height:62px;height:auto!important;visibility:visible!important;opacity:1!important}.route-sheet-dialog .route-object-select>input,.route-sheet-dialog .route-object-select>span,.route-sheet-dialog .route-object-select>strong{visibility:visible!important;opacity:1!important}.route-sheet-dialog .route-sheet-total,.route-sheet-dialog .dialog-actions{flex:0 0 auto}@media(max-width:760px){.route-sheet-dialog>form{min-height:92vh;padding:18px}.route-sheet-dialog .route-object-picker{min-height:160px}.route-sheet-dialog .route-object-select{grid-template-columns:20px minmax(0,1fr);padding:12px}.route-sheet-dialog .route-object-select strong{grid-column:2;margin-top:4px}}

/* Clear interaction states requested for the counterparty workspace */
.summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-month-filter{justify-content:flex-start}.summary-metrics .metric-card:hover,.summary-metrics .metric-card:focus-visible{border-color:#16bccc;background:#e7f9fb;box-shadow:0 14px 34px #16aebb2a,inset 0 0 0 2px #26c6d3;transform:translateY(-2px)}.summary-metrics .metric-card:focus-visible,.customer-summary button:focus-visible{outline:3px solid #2d83f3;outline-offset:3px}.customer-summary button,.customer-summary .address-link{cursor:pointer}.customer-summary .secondary:hover,.customer-summary .quick-cancel:hover{box-shadow:0 8px 20px #17384e1c;transform:translateY(-1px)}
@media(max-width:760px){.summary-metrics{grid-template-columns:1fr}}
.customer-month-filter{justify-content:flex-start}

/* Cleaner customer Excel import */
.excel-panel{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,390px);place-items:stretch;align-items:center;gap:34px;padding:34px 38px;text-align:left;background:linear-gradient(145deg,#fff 0%,#f8fcfe 100%)}
.excel-panel>div{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:20px;align-items:start;max-width:720px}
.excel-panel .excel-icon{grid-row:1/4;width:64px;height:64px;margin:0;border-radius:19px;background:linear-gradient(145deg,#e4f8fa,#f2f8ff);border-color:#bfe5eb;color:#0b8f9d;font-size:29px;box-shadow:0 10px 24px #17384e0d}
.excel-panel h2{grid-column:2;margin:1px 0 7px;font-size:23px;line-height:1.25;color:#102f43}
.excel-panel p{grid-column:2;margin:0;max-width:620px;font-size:15px;line-height:1.55;color:#6d8393}
.excel-panel .excel-actions{grid-column:2;justify-content:flex-start;margin:18px 0 0}
.excel-panel>.customer-order-import{display:grid;gap:14px;padding:22px;border:1px solid #d2e7ed;border-radius:17px;background:#fff;box-shadow:0 14px 34px #17384e0d}
.excel-panel>.customer-order-import .file-field{gap:8px;color:#315a70;font-size:13px}
.excel-panel>.customer-order-import input[type=file]{min-height:48px;padding:7px;background:#f8fcfd;border-color:#c8dfe7;cursor:pointer}
.excel-panel>.customer-order-import input[type=file]:hover{border-color:#78ccd6;background:#f2fbfc}
.excel-panel>.customer-order-import .primary{width:100%;min-height:42px}
@media(max-width:980px){.excel-panel{grid-template-columns:1fr;gap:24px}.excel-panel>.customer-order-import{max-width:620px;width:100%;margin-left:84px}}
@media(max-width:760px){.excel-panel{padding:24px 20px}.excel-panel>div{grid-template-columns:52px minmax(0,1fr);column-gap:14px}.excel-panel .excel-icon{width:52px;height:52px;border-radius:16px;font-size:24px}.excel-panel h2{font-size:20px}.excel-panel p{font-size:14px}.excel-panel>.customer-order-import{margin-left:0}.excel-panel .excel-actions{grid-column:1/-1}.excel-panel .excel-actions .secondary{width:100%;text-align:center}}

/* Every cabinet page fills the available screen at every interface scale */
html,body{min-width:100%;min-height:var(--app-viewport-height,100vh)}
.sidebar{min-height:var(--app-viewport-height,100vh)}
.workspace{width:calc(100% - 268px);max-width:none;min-height:var(--app-viewport-height,100vh)}
.workspace>*{max-width:none}
.workspace .panel.narrow{max-width:none}
@media(max-width:760px){html,body{min-height:100vh}.sidebar{min-height:0}.workspace{width:100%;min-height:100vh}}

/* Address directory editing */
.address-actions{display:flex;align-items:center;gap:6px;margin-top:8px}.address-actions button{min-height:30px;padding:5px 9px;border-radius:8px;font-size:12px}.address-edit-dialog{width:min(820px,calc(100vw - 28px));max-height:92vh;overflow:auto;padding:0}.address-edit-dialog>form{padding:24px}.address-edit-dialog .dialog-head{margin-bottom:18px}.address-edit-dialog .dialog-head small{display:block;margin-bottom:3px;color:var(--muted)}.address-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.address-edit-grid .wide{grid-column:1/-1;width:auto;margin:0}.address-edit-grid textarea{width:100%;min-height:76px;resize:vertical;border:1px solid #cddfe8;border-radius:11px;padding:11px 12px;background:#fff;color:#153247;font:inherit}.address-edit-grid textarea:focus{outline:0;border-color:#22c4d1;box-shadow:0 0 0 3px #2ed8e522}@media(max-width:760px){.address-edit-grid{grid-template-columns:1fr}.address-edit-grid .wide{grid-column:auto}.address-actions{flex-wrap:wrap}}

/* Full-screen schedule workspace for owner and logist */
.workspace.schedule-fullscreen{height:var(--app-viewport-height,100vh);overflow:hidden;display:flex;flex-direction:column;padding-top:20px;padding-bottom:20px}.workspace.schedule-fullscreen>header{flex:0 0 auto;margin-bottom:10px;padding-bottom:10px}.workspace.schedule-fullscreen>header h1{font-size:27px}.workspace.schedule-fullscreen>.notice{flex:0 0 auto;margin-bottom:10px;padding:9px 14px}.workspace.schedule-fullscreen .schedule-panel{flex:1;min-height:0;margin-bottom:0;display:flex;flex-direction:column}.workspace.schedule-fullscreen .schedule-head{flex:0 0 auto;padding:14px 18px}.workspace.schedule-fullscreen .schedule-head p{margin-top:3px;font-size:13px}.workspace.schedule-fullscreen .schedule-bulk-tools,.workspace.schedule-fullscreen .schedule-legend{flex:0 0 auto}.workspace.schedule-fullscreen .schedule-wrap{flex:1;min-height:0;max-height:none;overflow:auto}@media(max-width:760px){.workspace.schedule-fullscreen{height:auto;min-height:100vh;overflow:visible;padding-top:22px;padding-bottom:22px}.workspace.schedule-fullscreen .schedule-panel{min-height:calc(100vh - 180px)}.workspace.schedule-fullscreen .schedule-wrap{max-height:calc(100vh - 250px)}}

/* Fit the complete driver month on one desktop screen. */
@media(min-width:761px){.workspace.schedule-fullscreen{padding:8px 10px}.workspace.schedule-fullscreen>header{display:none}.workspace.schedule-fullscreen>.notice{position:fixed;top:8px;right:12px;z-index:40;width:auto;max-width:min(520px,calc(100vw - 40px));margin:0;padding:7px 11px;box-shadow:0 8px 24px #17384e26}.workspace.schedule-fullscreen .schedule-panel{border-radius:14px}.workspace.schedule-fullscreen .schedule-head{min-height:46px;padding:6px 12px;align-items:center}.workspace.schedule-fullscreen .schedule-head h2{font-size:18px}.workspace.schedule-fullscreen .schedule-head p{display:none}.workspace.schedule-fullscreen .schedule-head form{flex-basis:170px}.workspace.schedule-fullscreen .schedule-head label{gap:2px;font-size:11px}.workspace.schedule-fullscreen .schedule-head input{min-height:32px;padding:5px 9px}.workspace.schedule-fullscreen .schedule-tools{gap:8px}.workspace.schedule-fullscreen .schedule-tools .secondary{min-height:32px;padding:6px 10px}.workspace.schedule-fullscreen .schedule-bulk-tools{min-height:40px;gap:6px;padding:4px 10px}.workspace.schedule-fullscreen .schedule-bulk-tools>div{display:none}.workspace.schedule-fullscreen .schedule-bulk-tools button{min-height:30px;padding:4px 8px;font-size:12px}.workspace.schedule-fullscreen .schedule-legend{display:none}.workspace.schedule-fullscreen .schedule-wrap{overflow:hidden}.workspace.schedule-fullscreen .schedule-table{width:100%;height:100%;min-width:0;table-layout:fixed}.workspace.schedule-fullscreen .schedule-table thead{height:34px}.workspace.schedule-fullscreen .schedule-table thead th{height:34px;min-width:0;padding:2px 4px;font-size:10px;line-height:1.05}.workspace.schedule-fullscreen .schedule-table thead th:first-child{width:52px;min-width:52px}.workspace.schedule-fullscreen .schedule-table thead th small{margin-top:1px;font-size:8px}.workspace.schedule-fullscreen .schedule-table tbody tr{height:calc((100% - 34px)/var(--schedule-days))}.workspace.schedule-fullscreen .schedule-table tbody th{width:52px;min-width:52px;padding:0 2px;font-size:10px;line-height:1}.workspace.schedule-fullscreen .schedule-table tbody th b,.workspace.schedule-fullscreen .schedule-table tbody th small{display:inline}.workspace.schedule-fullscreen .schedule-table tbody th small{margin-left:3px;font-size:8px}.workspace.schedule-fullscreen .schedule-table td.schedule-cell{height:auto;min-width:0;font-size:10px;line-height:1}.workspace.schedule-fullscreen .schedule-table td.schedule-cell span{min-height:0}.workspace.schedule-fullscreen .schedule-table td.schedule-cell.is-selected::after{right:2px;top:0;font-size:8px}}

/* Large counterparty filter buttons on the staff dashboard. */
.staff-dashboard-filter{display:grid;gap:10px;margin-bottom:14px}.staff-month-filter{justify-content:flex-start;margin:0}.staff-month-filter label{width:220px}.company-filter-buttons{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 5px}.company-filter-button{position:relative;display:grid;grid-template-columns:auto minmax(110px,1fr);align-items:center;gap:3px 9px;flex:0 0 210px;min-height:72px;padding:12px 15px;border:1px solid #cfe1e9;border-radius:15px;background:#fff;color:#17384e;text-decoration:none;box-shadow:0 9px 24px #17384e0b;transition:.16s ease}.company-filter-button i{grid-row:1/3;width:13px;height:13px;border-radius:50%;box-shadow:0 0 0 4px #edf6fa}.company-filter-button span{overflow:hidden;font-size:14px;font-weight:850;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.company-filter-button b{color:#718796;font-size:11px}.company-filter-button:hover,.company-filter-button:focus-visible{border-color:#43cbd6;background:#effbfc;box-shadow:0 12px 28px #16afbd1c;transform:translateY(-1px)}.company-filter-button:focus-visible{outline:3px solid #2d83f3;outline-offset:2px}.company-filter-button.active{border-color:#1fc5d2;background:linear-gradient(135deg,#e5fafb,#f3faff);box-shadow:inset 0 -3px #20bdcb,0 11px 27px #16afbd19}.company-filter-button.active span{color:#087f91}@media(max-width:760px){.staff-month-filter label{width:100%}.company-filter-button{flex-basis:180px;min-height:66px;padding:10px 12px}}
.company-filter-button:first-child{grid-template-columns:1fr}

/* Counterparty management lives inside the owner summary instead of a duplicate page. */
.counterparty-management{scroll-margin-top:16px}.counterparty-management>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;cursor:pointer;list-style:none;background:linear-gradient(135deg,#f8fdfe,#eef9fb)}.counterparty-management>summary::-webkit-details-marker{display:none}.counterparty-management>summary span:first-child{display:grid;gap:3px}.counterparty-management>summary b{font-size:18px}.counterparty-management>summary small{color:var(--muted)}.counterparty-count{display:grid;place-items:center;min-width:36px;height:36px;padding:0 10px;border-radius:999px;background:#dff7f9;color:#087f91;font-weight:850}.counterparty-management[open]>summary{border-bottom:1px solid var(--line)}.counterparty-management-body{padding:0 20px 20px}.counterparty-add-form{max-width:620px;margin:16px 0 0}.counterparty-management .company-grid{padding:16px 0 0}@media(max-width:760px){.counterparty-management>summary{padding:14px}.counterparty-management-body{padding:0 14px 14px}.counterparty-add-form{align-items:stretch;flex-direction:column}.counterparty-management .company-grid{padding-top:14px}}

/* The logist map always occupies the complete available viewport. */
body:has(.workspace.map-fullscreen){height:var(--app-viewport-height,100dvh);overflow:hidden}
.workspace.map-fullscreen{height:var(--app-viewport-height,100dvh);min-height:0;padding:10px 12px;overflow:hidden;display:flex;flex-direction:column}
.workspace.map-fullscreen>header{display:none}
.workspace.map-fullscreen .map-toolbar{flex:0 0 auto;margin:0 0 8px;border-radius:14px}
.workspace.map-fullscreen .map-toolbar .panel-head{padding:9px 16px}
.workspace.map-fullscreen .map-toolbar .panel-head h2{font-size:18px}
.workspace.map-fullscreen .map-toolbar .panel-head p{margin-top:1px;font-size:11px}
.workspace.map-fullscreen .map-filters{padding:0 16px 9px;gap:9px}
.workspace.map-fullscreen .map-filters label{min-width:170px}
.workspace.map-fullscreen .map-filters input,.workspace.map-fullscreen .map-filters select{min-height:38px;padding:7px 10px}
.workspace.map-fullscreen .map-workspace{position:relative;display:block;flex:1;min-height:0;width:100%;overflow:hidden}
.workspace.map-fullscreen .map-panel{position:absolute;inset:0;height:auto;min-height:0;margin:0!important;border-radius:14px}
.workspace.map-fullscreen .map-panel #route-map{width:100%;height:100%;min-height:0}
.workspace.map-fullscreen .map-sidebar{position:absolute;z-index:600;top:10px;right:10px;bottom:10px;width:clamp(270px,22vw,340px);height:auto;min-height:0;max-height:none;margin:0!important;padding:16px;overflow:auto;border-color:#c9dfe7;box-shadow:0 14px 38px #17384e2b}
.workspace.map-fullscreen .map-sidebar form{gap:10px}
.workspace.map-fullscreen .map-sidebar form h2{font-size:19px}
.workspace.map-fullscreen .map-sidebar label{gap:4px}
.workspace.map-fullscreen .map-sidebar input,.workspace.map-fullscreen .map-sidebar select{padding:8px 10px}
.workspace.map-fullscreen .unmapped-list{margin-top:16px;padding-top:14px}
.unmapped-hint{margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.35}.unmapped-list li:has(.unmapped-point-button){display:block;padding:0;border:0;background:transparent}.unmapped-point-button{appearance:none;display:grid;width:100%;min-height:64px;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;padding:10px;border:1px solid #d5e5eb;border-radius:11px;background:#fbfdfe;color:#153247;font:inherit;text-align:left;cursor:pointer;transition:.16s ease}.unmapped-point-button:hover,.unmapped-point-button:focus-visible{border-color:#36c4d0;background:#effbfc;box-shadow:0 6px 18px #148fa415;transform:translateY(-1px)}.unmapped-point-button:focus-visible{outline:3px solid #2d83f3;outline-offset:2px}.unmapped-point-button:disabled{cursor:wait;opacity:.75}.unmapped-point-indicator{display:grid!important;place-items:center;width:16px;height:16px;margin-top:2px;border:2px solid #ef862c;border-radius:50%;background:#fff0e3}.unmapped-point-indicator i{width:8px!important;height:8px!important;margin:0!important;box-shadow:none!important}.unmapped-point-copy{display:grid!important;min-width:0;gap:3px}.unmapped-point-copy b{font-size:12px;line-height:1.25}.unmapped-point-copy small{display:block!important;overflow:visible;color:#496477;font-size:11px;font-weight:650;line-height:1.3;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.unmapped-point-copy em{display:block!important;margin-top:3px;color:#087f91;font-size:10px;font-style:normal;font-weight:800;line-height:1.25}.unmapped-point-button.is-selected{border:2px solid #159eac;background:linear-gradient(135deg,#d9f8fa,#edf8ff);box-shadow:inset 4px 0 #159eac,0 7px 18px #148fa426;transform:translateY(-1px)}.unmapped-point-button.is-selected .unmapped-point-copy b{color:#066f7b}.unmapped-point-button.is-selected .unmapped-point-indicator{border-color:#159eac;background:#159eac}.unmapped-point-button.is-selected .unmapped-point-indicator:after{content:'✓';color:#fff;font-size:10px;font-weight:900;line-height:1}.unmapped-point-button.is-selected .unmapped-point-indicator i{display:none}.unmapped-point-button.is-loading .unmapped-point-indicator{animation:unmapped-pulse .8s ease-in-out infinite alternate}@keyframes unmapped-pulse{to{transform:scale(1.18);opacity:.55}}
@media(max-width:1050px){
  .workspace.map-fullscreen{height:var(--app-viewport-height,100dvh);min-height:0;overflow:hidden}
  .workspace.map-fullscreen .map-panel,.workspace.map-fullscreen .map-panel #route-map{height:100%;min-height:0}
  .workspace.map-fullscreen .map-sidebar{width:min(320px,calc(100% - 20px));height:auto;max-height:none}
}

/* Compact route address cards. */
.unmapped-point-button{min-height:52px;grid-template-columns:16px minmax(0,1fr);gap:8px;padding:8px 9px;border-radius:10px}
.unmapped-point-indicator{width:14px;height:14px;margin-top:1px}
.unmapped-point-copy{gap:2px}
.unmapped-point-copy b{font-size:11.5px}
.unmapped-point-copy small{font-size:10px;line-height:1.25}
.unmapped-point-copy em{margin-top:2px;font-size:9.5px}
@media(max-width:760px){
  body:has(.workspace.map-fullscreen){display:flex;flex-direction:column}
  body:has(.workspace.map-fullscreen)>.sidebar{position:static;flex:0 0 auto;width:100%;padding:8px 10px}
  body:has(.workspace.map-fullscreen)>.sidebar .brand{display:none}
  body:has(.workspace.map-fullscreen)>.sidebar nav{gap:4px}
  body:has(.workspace.map-fullscreen)>.sidebar nav a{padding:8px 10px;font-size:13px}
  .workspace.map-fullscreen{flex:1;height:auto;min-height:0;padding:7px;margin:0}
  .workspace.map-fullscreen .map-toolbar{margin-bottom:6px}
  .workspace.map-fullscreen .map-toolbar .panel-head{padding:8px 10px}
  .workspace.map-fullscreen .map-toolbar .panel-head p,.workspace.map-fullscreen .map-stats{display:none}
  .workspace.map-fullscreen .map-filters{display:grid;grid-template-columns:1fr 1fr;align-items:end;padding:0 10px 8px;gap:6px}
  .workspace.map-fullscreen .map-filters label{min-width:0}
  .workspace.map-fullscreen .map-panel,.workspace.map-fullscreen .map-panel #route-map{height:100%;min-height:0}
  .workspace.map-fullscreen .map-sidebar{top:auto;right:7px;bottom:7px;left:7px;width:auto;max-height:min(46%,330px);padding:12px;border-radius:13px}
}
@media(max-width:430px){
  .workspace.map-fullscreen .map-toolbar .panel-head{display:none}
  .workspace.map-fullscreen .map-filters{padding-top:8px}
  .workspace.map-fullscreen .map-sidebar{max-height:min(43%,290px)}
}

.map-point-card{padding:12px;margin-bottom:16px;border:1px solid #b8dde5;border-left:4px solid #149fac;border-radius:12px;background:#f1fbfd;color:#153247;overflow-wrap:anywhere}
.map-point-card[hidden]{display:none}
.map-point-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.map-point-card-head small{color:#496477;font-size:11px}
.map-point-card-head button{border:0;background:transparent;color:#496477;font-size:23px;cursor:pointer;padding:0 5px}
.map-point-card-head button:focus-visible{outline:2px solid #149fac}
.map-point-card h3{margin:3px 0 5px;font-size:16px;line-height:1.3}
.map-point-card p{margin:5px 0;line-height:1.45}
.map-point-company{font-size:12px;color:#496477}
.map-point-address{font-size:14px;font-weight:650}
.map-point-card dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;margin:10px 0;font-size:12px}
.map-point-card dt{color:#496477}.map-point-card dd{margin:0;font-weight:600}
.map-point-selection{font-size:11px;color:#087f91}
.workspace.map-fullscreen .map-workspace{display:grid;grid-template-columns:minmax(0,1fr) clamp(270px,22vw,340px);gap:12px}
.workspace.map-fullscreen .map-panel,.workspace.map-fullscreen .map-sidebar{position:relative;inset:auto;width:auto;height:100%;min-height:0}
@media(max-width:760px){.workspace.map-fullscreen .map-workspace{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,38%);gap:7px}.workspace.map-fullscreen .map-sidebar{inset:auto;width:auto;height:100%;max-height:none}}
/* Fleet directory: two large views instead of two long stacked tables. */
.fleet-view-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px}
.fleet-view-tab{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:13px 18px;border:1px solid #cfe1e9;border-radius:15px;background:#fff;color:#17384e;box-shadow:0 9px 24px #17384e0b;cursor:pointer;transition:.16s ease}
.fleet-view-tab span{font-size:17px;font-weight:850}
.fleet-view-tab b{display:grid;place-items:center;min-width:35px;height:35px;padding:0 9px;border-radius:999px;background:#edf6fa;color:#497083;font-size:13px}
.fleet-view-tab:hover,.fleet-view-tab:focus-visible{border-color:#43cbd6;background:#f2fbfc;transform:translateY(-1px)}
.fleet-view-tab:focus-visible{outline:3px solid #2d83f3;outline-offset:2px}
.fleet-view-tab.active{border-color:#1fc5d2;background:linear-gradient(135deg,#e5fafb,#f3faff);box-shadow:inset 0 -3px #20bdcb,0 11px 27px #16afbd19}
.fleet-view-tab.active span{color:#087f91}
.fleet-view-tab.active b{background:#13b8c6;color:#fff}
.fleet-view-tab[data-fleet-tab="drivers"]{order:1}
.fleet-view-tab[data-fleet-tab="vehicles"]{order:2}
.fleet-directory{display:block;min-width:0}
.fleet-directory>.panel{display:none;min-width:0;margin-bottom:0}
.fleet-directory.is-open>.panel:not([hidden]){display:block}
.fleet-directory>.panel[hidden]{display:none!important}
.fleet-directory>.panel .table-wrap{max-width:100%;max-height:calc(var(--app-viewport-height,100vh) - 270px);overflow:auto}
.fleet-directory>.panel table{min-width:980px}
.fleet-directory>.panel thead th{position:sticky;top:0;z-index:2}
.fleet-directory>.panel .entity-picker{min-width:330px}
@media(max-width:760px){
  .fleet-view-tabs{gap:8px}
  .fleet-view-tab{min-height:54px;padding:10px 12px}
  .fleet-view-tab span{font-size:14px}
  .fleet-view-tab b{min-width:30px;height:30px}
  .fleet-directory>.panel .table-wrap{max-height:none}
  .fleet-directory>.panel table{min-width:900px}
}
.map-route-order{margin:12px 0;padding:10px;background:#f0f9fc;border:1px solid #c8e6ef;border-radius:12px}
.map-route-order h3{margin:0 0 6px;font-size:16px}
.map-route-order>p{font-size:12px;margin:0 0 8px;line-height:1.4}
.map-order-row{display:flex;align-items:center;gap:6px;padding:7px 0;border-top:1px solid #d6e9ef}
.map-order-row input{width:52px;min-width:52px;padding:6px!important;height:34px}
.map-order-row span{flex:1;min-width:0;font-size:12px;overflow-wrap:anywhere}
.map-order-row small{display:block;font-size:12px;color:#496477;line-height:1.3;margin-top:3px}
.map-order-row button{padding:4px 7px;min-width:28px;height:30px;border:1px solid #b6dce7;background:#fff;border-radius:7px;cursor:pointer}
.map-order-row button:hover:not(:disabled){background:#cff4fb;border-color:#0caabb}
.map-order-row button:disabled{opacity:.35;cursor:default}
.route-map-icon>span{display:flex!important;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:800;text-shadow:0 1px 2px #123}
.map-toolbar-row{display:flex;align-items:flex-end;gap:14px;padding-right:12px}.map-toolbar-row .map-filters{flex:0 0 auto;padding-right:0!important}.map-route-helpers{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:14px;min-width:0;flex:1;padding:7px 0}.map-loading-company-buttons{display:flex;align-items:center;justify-content:center;gap:18px;min-width:0;overflow-x:auto;padding:2px}.map-loading-company{flex:0 0 clamp(116px,11vw,158px);min-height:36px;padding:6px 12px;border:2px solid color-mix(in srgb,var(--company-color) 70%,#b7d5e2);border-radius:9px;background:#fff;color:#17384e;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-loading-company:hover{background:#eaf8fc}.map-loading-company:disabled{opacity:.45;cursor:not-allowed}.map-transfer-control{display:block!important;min-width:0}.map-transfer-control select{width:100%;min-height:36px!important;padding:5px 27px 5px 10px!important;border:2px solid #b9dce9!important;background:#fff;font-size:13px!important;font-weight:900;text-align:center}.map-route-helpers>p{position:absolute;left:50%;top:100%;z-index:20;max-width:420px;margin:3px 0 0;padding:5px 9px;border-radius:7px;background:#effaf8;color:#13806f;font-size:11px;line-height:1.25;transform:translateX(-50%)}.map-route-helpers>p:empty{display:none}.map-route-helpers>p.is-error{color:#b52a34;background:#fff0f1}.map-helper-empty{color:#78909f;font-size:12px;white-space:nowrap}.map-helper-row{border-color:#9edbd4!important;background:#edfafa!important}.map-helper-row:nth-of-type(even){background:#fff7ec!important;border-color:#f0c893!important}.map-helper-badge{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#0a9f91;color:#fff}.route-helper-icon span{box-shadow:0 0 0 3px #fff,0 5px 14px #17384e66!important}.map-toolbar-row{position:relative}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@media(max-width:1180px){.map-toolbar-row{display:block;padding-right:0}.map-route-helpers{padding:7px 12px}.map-loading-company-buttons{justify-content:flex-start}}@media(max-width:760px){.map-route-helpers{grid-template-columns:minmax(0,1fr) 118px}.map-loading-company-buttons{gap:7px}.map-loading-company{flex-basis:108px}}
.route-export select{width:100%}
