#planningViewSwitch{display:flex;flex-wrap:wrap;gap:5px;padding:8px 0}
.planning-appearance{width:100%;padding:8px;border-bottom:1px solid #bdcfdb}
.topbar .options-panel .planning-appearance>summary{cursor:pointer;font-weight:700;color:#003f78;background:#e8f5fa;padding:8px;border:1px solid #bdcfdb;border-radius:4px}
#mailPreviewDialog .driver-mail{margin-left:auto;margin-right:auto}
#planningViewSwitch button{padding:5px 12px;border:1px solid #397d95;border-radius:4px;background:#174b63;color:#e0f8ff;font-size:12px;cursor:pointer}
#planningViewSwitch button[aria-pressed="true"]{background:#10b8c4;color:#002e43;border-color:#28e3e7}
body[data-planning-view="classic"] .enhanced-mail-action{display:none}
body:not([data-planning-view="classic"]) .topbar{padding:8px;gap:8px;min-height:90px}
body:not([data-planning-view="classic"]) .brand{padding:7px 10px}
body:not([data-planning-view="classic"]) .brand h1{font-size:24px}
body:not([data-planning-view="classic"]) .brand-mark{max-width:130px;max-height:76px}
body:not([data-planning-view="classic"]) .editor{padding:8px;min-width:0}
body:not([data-planning-view="classic"]) .editor .field{margin-bottom:5px;gap:3px}
body:not([data-planning-view="classic"]) .editor input:not([type="checkbox"]),body:not([data-planning-view="classic"]) .editor select{height:30px;min-height:30px;padding:4px 6px}
body:not([data-planning-view="classic"]) .editor input,body:not([data-planning-view="classic"]) .editor select,body:not([data-planning-view="classic"]) .editor textarea{color:#003f78;font-weight:800;font-size:13px}
body:not([data-planning-view="classic"]) .editor input::placeholder,body:not([data-planning-view="classic"]) .editor textarea::placeholder{color:#27577f;font-weight:700}
body:not([data-planning-view="classic"]) .editor .field>span{color:#003f78;font-size:11px;font-weight:800}
body:not([data-planning-view="classic"]) .driver-entry-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
body:not([data-planning-view="classic"]) .driver-picker-field{grid-column:1/-1}
body:not([data-planning-view="classic"]) .vehicle-plate-field{min-width:0}
body:not([data-planning-view="classic"]) .delivery-rows{gap:4px}
body:not([data-planning-view="classic"]) .text-format-toolbar{margin:3px 0;gap:4px}
body:not([data-planning-view="classic"]) .form-save-actions{padding:5px 0;gap:5px;flex-wrap:wrap}
body:not([data-planning-view="classic"]) .form-save-actions button{min-height:29px;padding:5px 8px;font-size:12px}
body:not([data-planning-view="classic"]) .editor .section-head{padding:6px 8px;margin-bottom:6px}
body[data-planning-view="future"] .topbar{background:linear-gradient(110deg,#06263b,#075e72);border-bottom:3px solid #1ad6dc}
body[data-planning-view="future"] .editor,body[data-planning-view="future"] .mail-preview{border-color:#89b8c9;background:#fbfdff}
body[data-planning-view="future"] .editor input,body[data-planning-view="future"] .editor select,body[data-planning-view="future"] .editor textarea{background:#effaff;border-color:#9ebfce}
body[data-planning-view="future"] .editor input:focus,body[data-planning-view="future"] .editor select:focus,body[data-planning-view="future"] .editor textarea:focus{outline:2px solid #008aa8;outline-offset:0;background:white}
body[data-planning-view="future"] .ops-ticker{background:#062b40;border-top:2px solid #14bac9}
body[data-planning-view="future"] .editor .section-head,body[data-planning-view="future"] .mail-preview .section-head{background:#e8f5fa;border-color:#97c8d7}
body[data-planning-view="future"] .save-action{background:#005c80;border-bottom:2px solid #09d0d5}
@media(max-width:700px){#planningViewSwitch{flex-wrap:wrap}body:not([data-planning-view="classic"]) .brand h1{font-size:19px}}
body[data-planning-view="classic"] .workspace-only,body[data-planning-view="classic"] .workspace-email{display:none!important}
body:not([data-planning-view="classic"]){--ops-ticker-height:40px}
body:not([data-planning-view="classic"]) .layout{grid-template-columns:minmax(280px,var(--workspace-editor,410px)) 20px minmax(380px,1fr) 12px minmax(260px,var(--workspace-mail,320px));gap:5px;height:calc(100dvh - 112px - var(--ops-ticker-height));min-height:480px;padding:8px}
body:not([data-planning-view="classic"]) .layout.preview-collapsed{grid-template-columns:minmax(280px,var(--workspace-editor,410px)) 20px minmax(380px,1fr) 0 44px}
body:not([data-planning-view="classic"]) .editor{gap:5px;padding:8px;resize:none!important;height:auto!important}
body:not([data-planning-view="classic"]) .editor>.driver-entry-row{display:none}
body:not([data-planning-view="classic"]) .workspace-identity{display:grid;grid-template-columns:minmax(135px,.85fr) minmax(0,1.15fr);gap:7px}
body:not([data-planning-view="classic"]) .workspace-identity .driver-picker-field{grid-column:auto}
body:not([data-planning-view="classic"]) .workspace-vehicles{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr);gap:6px}
body:not([data-planning-view="classic"]) .workspace-vehicles.has-trailer{grid-template-columns:minmax(100px,.8fr) repeat(2,minmax(0,1fr))}
.workspace-vehicles [hidden]{display:none!important}
.workspace-email{font-size:10px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:#3e6584}
.workspace-tour-tabs{display:flex;gap:4px;border-bottom:1px solid #99c5d6;background:#e8f3f8;padding:3px;position:relative}
.workspace-tour-tabs>button{flex:1;min-width:0;height:30px;border:1px solid #b9d2df;border-radius:3px 3px 0 0;background:white;color:#003f78;font-weight:800}
.workspace-tour-tabs>button[aria-pressed="true"]{background:#084b65;color:white;border-bottom:3px solid #10c6d0}
.workspace-other-tour>summary{cursor:pointer;padding:6px;color:#003f78;font-size:11px}
.workspace-other-tour>summary{display:none}
body:not([data-planning-view="classic"]) .workspace-other-tour select[size]{height:auto;min-height:0}
.workspace-other-tour>label{position:absolute;z-index:35;right:0;top:35px;padding:10px;background:white;box-shadow:0 3px 14px #0003;border:1px solid #99c5d6;width:200px}
body:not([data-planning-view="classic"]) .editor .field{gap:3px;margin-bottom:1px}
body:not([data-planning-view="classic"]) .editor>.field>span,body:not([data-planning-view="classic"]) .editor>.delivery-field>span{text-transform:uppercase;color:#006380;font-size:10px}
body:not([data-planning-view="classic"]) .editor .section-head{margin:-8px -8px 1px;padding:10px 12px;min-height:43px}
body:not([data-planning-view="classic"]) .editor .section-head h2{font-size:15px}
body:not([data-planning-view="classic"]) .editor .delivery-row{grid-template-columns:20px minmax(0,1fr) minmax(70px,100px) 25px;gap:4px}
body:not([data-planning-view="classic"]) .editor .delivery-row textarea{min-height:30px;height:30px;padding:5px;resize:vertical}
body:not([data-planning-view="classic"]) .editor .delivery-split-head{grid-template-columns:20px minmax(0,1fr) minmax(70px,100px) 25px;margin:0}
body:not([data-planning-view="classic"]) .editor .comment-points-row{display:block}
.workspace-extra>summary{cursor:pointer;color:#003f78;font-size:11px;font-weight:700;padding:4px 0}
.workspace-extra-body{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px 0}
.workspace-extra-body>[hidden]{display:none!important}
@media(max-height:720px){body:not([data-planning-view="classic"]) .editor .form-save-actions{position:relative;bottom:auto}}
.workspace-manual-options>[hidden]{display:none!important}
.workspace-extra-body>.absence-bonus-row,.workspace-extra-body>.vehicle-plate-field{grid-column:1/-1}
body:not([data-planning-view="classic"]) .form-save-actions{position:sticky;bottom:-8px;margin:0 -8px -8px;padding:7px 8px;background:#e8f5fa;border-top:1px solid #9ac9d9;z-index:20;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
body:not([data-planning-view="classic"]) .finish-check{grid-column:1/-1;display:flex;justify-content:flex-start;gap:6px;font-size:11px;width:auto;height:20px}
body:not([data-planning-view="classic"]) .finish-check:after{content:'Tournee terminee';color:#003f78}
body:not([data-planning-view="classic"]) #saveBtn{grid-column:3;grid-row:2}
body:not([data-planning-view="classic"]) #formRouteMapBtn{grid-column:1;grid-row:2}
body:not([data-planning-view="classic"]) .enhanced-mail-action{grid-column:2;grid-row:2}
body:not([data-planning-view="classic"]) #saveStatus{grid-column:1/-1;grid-row:3}
body:not([data-planning-view="classic"]) #saveStatus:empty{display:none}
body:not([data-planning-view="classic"]) .editor>.log{font-size:10px;max-height:45px;order:10}
body:not([data-planning-view="classic"]) .table-area{display:flex;flex-direction:column;min-width:0;height:auto!important;padding:0;resize:none!important}
body:not([data-planning-view="classic"]) .table-area>.section-head{margin:0;padding:12px;background:#e8f5fa;min-height:55px}
body:not([data-planning-view="classic"]) .table-area>.table-scroll{display:none}
body:not([data-planning-view="classic"]) .table-area>#fixPanel{display:none}
body:not([data-planning-view="classic"]) #planningControlsPanel{order:-1;margin:0;flex-shrink:0;border-radius:0}
body:not([data-planning-view="classic"]) #planningControlsPanel>summary{min-height:28px;padding:3px 7px}
body:not([data-planning-view="classic"]) #planningControlsPanel>summary>span{font-size:12px;white-space:nowrap}
body:not([data-planning-view="classic"]) #planningControlsPanel>summary>strong{font-size:11px;padding:2px 6px}
body:not([data-planning-view="classic"]) #planningControlsPanel>summary::after{font-size:11px;padding:2px 6px}
body:not([data-planning-view="classic"]) #planningControlsPanel>.planning-controls-body{max-height:40vh;overflow:auto}
body:not([data-planning-view="classic"]) .table-tools{min-width:0;max-width:45%}
body:not([data-planning-view="classic"]) .table-tools input{width:100%;min-width:0}
body:not([data-planning-view="classic"]) .table-tools #count{display:none}
.workspace-groups{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}
.workspace-filters{display:flex;flex-wrap:wrap;gap:5px;padding:10px;border-bottom:1px solid #c4dce6}
.workspace-filters button[aria-pressed="true"]{background:#00637e;color:white}
.workspace-group-summary{padding:9px 12px;font-size:12px;color:#356278;background:#f3f8fb}
.workspace-group-table{overflow:auto;min-height:0;flex:1}
.workspace-group-head,.workspace-group-row{display:grid;grid-template-columns:minmax(120px,1.2fr) minmax(130px,1.25fr) minmax(85px,.65fr) 34px;gap:10px;padding:12px;align-items:start;border-bottom:1px solid #c7dce7}
.workspace-group-head{position:sticky;top:0;z-index:1;background:#e9f1f8;color:#00547a;text-transform:uppercase;font-size:11px}
.workspace-group-row{background:#f4fbf7;min-height:90px;box-shadow:inset 0 0 0 2px #80b5d0}
.workspace-group-row:nth-child(odd){background:#f5f9fc}
.workspace-group-row.selected{background:#def5fb;border-left:3px solid #00a6bd;padding-left:9px}
.workspace-group-row .muted{margin-top:6px;font-size:11px;overflow-wrap:anywhere}
.workspace-group-tours,.workspace-group-statuses{display:flex;flex-direction:column;gap:9px;min-width:0}
.workspace-tour-link{display:flex;flex-direction:column;text-align:left;gap:3px;border:0;background:transparent;color:#00466d;padding:0;cursor:pointer;min-width:0}
.workspace-tour-link+.workspace-tour-link{border-top:2px dotted #80b5d0;padding-top:6px;border-radius:0}
.workspace-tour-tabs>button[hidden]{display:none}
.workspace-tour-link.tour-done{background:#eee2ff;color:#632c91;padding:6px}
.workspace-tour-link.tour-done small{color:#632c91}
.workspace-group-row.status-done{background:#eee2ff}
.workspace-tour-link strong{font-size:12px}
.workspace-tour-link span{font-size:12px;overflow-wrap:anywhere}
.workspace-tour-link small{font-size:11px;color:#51718a;white-space:pre-line;overflow-wrap:anywhere}
.workspace-state{font-size:11px}
.workspace-state .pill{white-space:normal}
.workspace-group-actions{display:flex;flex-direction:column;gap:8px}
.workspace-row-menu{position:relative}
.workspace-row-menu>summary{cursor:pointer;text-align:center;color:#00567c;border:1px solid #c2d8e5;border-radius:4px;background:white;font-size:18px;list-style:none}
.workspace-row-commands{position:absolute;right:0;top:26px;z-index:4;background:white;border:1px solid #bdd7e4;border-radius:4px;padding:6px;box-shadow:0 3px 12px #0002;display:flex;flex-direction:column;gap:5px;min-width:160px}
@media(max-width:700px){.workspace-group-actions{display:none}}
@media(min-width:701px) and (max-height:820px){body:not([data-planning-view="classic"]) .editor{gap:3px}body:not([data-planning-view="classic"]) .editor input:not([type="checkbox"]),body:not([data-planning-view="classic"]) .editor select{height:27px;min-height:27px;padding:3px 5px}body:not([data-planning-view="classic"]) .editor .section-head{min-height:35px;padding:6px 10px}body:not([data-planning-view="classic"]) .editor .delivery-row-number{min-height:28px}body:not([data-planning-view="classic"]) .editor .delivery-add-btn{padding:3px 6px;min-height:24px}body:not([data-planning-view="classic"]) .editor .text-format-toolbar{margin:1px 0}}
.workspace-group-row.status-empty{background:#fff8e9}
.workspace-group-row.status-ready,.workspace-group-row.status-sent,.workspace-group-row.status-opened{background:#edf8f0}
.workspace-group-row.status-error,.workspace-group-row.status-absent{background:#fff0ed}
.workspace-group-row.selected{background:#def5fb}
body:not([data-planning-view="classic"]) .editor>.panel-resize-handle,body:not([data-planning-view="classic"]) .table-area>.panel-resize-handle,body:not([data-planning-view="classic"]) .mail-preview>.panel-resize-handle{display:none}
body:not([data-planning-view="classic"]) .mail-preview:not(.mail-preview-collapsed) .mail-preview-toggle{left:auto;right:38px;top:9px;width:26px;height:27px;transform:none;border-radius:4px;box-shadow:none;background:white;font-size:15px}
body:not([data-planning-view="classic"]) .mail-preview:not(.mail-preview-collapsed) .section-head{padding-right:70px}
body:not([data-planning-view="classic"]) #mailPreviewExpand{position:absolute;right:7px;top:9px;width:26px;height:27px}
body:not([data-planning-view="classic"]) #mailPreviewStatus{display:none}
body:not([data-planning-view="classic"]) .delivery-split-head{display:grid!important;text-align:left!important}
body:not([data-planning-view="classic"]) .workspace-identity .driver-search-menu{min-width:260px;max-width:min(380px,90vw)}
.workspace-date-controls{display:flex;gap:3px;min-width:0}
.workspace-active-head{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#fff6da;border-bottom:1px solid #e8cd79;flex:none;flex-wrap:wrap}
.workspace-active-head h3{font-size:13px;color:#705100;margin:0;flex:1}
.workspace-active-head .workspace-group-summary{padding:0;background:transparent;font-size:11px}
.workspace-groups.active-tours-collapsed>.workspace-group-table{display:none}
.workspace-groups>#donePanel,.workspace-groups>#billedPanel{display:flex;flex-direction:column;margin:0;border-radius:0;box-shadow:none;resize:none!important;flex:0 1 auto;min-height:43px;height:auto!important;max-height:34%;overflow:hidden;border-left:0;border-right:0}
.workspace-groups>#donePanel:not(.done-panel-open),.workspace-groups>#billedPanel:not(.billed-panel-open){flex:none;max-height:none}
.workspace-groups .done-panel-head,.workspace-groups .billed-panel-head{padding:3px 8px;min-height:29px;gap:6px;flex:none}
.workspace-groups>#donePanel,.workspace-groups>#billedPanel{min-height:30px}
.workspace-groups .done-panel-head h3,.workspace-groups .billed-panel-head h3{font-size:12px!important}
.workspace-groups .done-panel-head button,.workspace-groups .billed-panel-head button{min-height:23px;padding:2px 7px;font-size:11px}
.workspace-tour-tabs>button{font-size:12px;padding:3px}
.workspace-groups .done-panel-head h3,.workspace-groups .billed-panel-head h3{font-size:13px;margin:0}
.workspace-groups .done-panel-body,.workspace-groups .billed-panel-body{overflow:auto;max-height:150px;min-height:0;padding:5px 8px}
.workspace-height-grip{height:8px;min-height:8px;flex:none;cursor:ns-resize;touch-action:none;background:#e4f3fa;border-top:1px solid #80b5d0;position:relative}
.workspace-height-grip:after{content:'';position:absolute;left:calc(50% - 20px);top:2px;width:40px;border-top:3px dotted #26729b}
.workspace-height-grip:focus-visible{outline:2px solid #005d88;outline-offset:-2px}
.workspace-groups>#donePanel:not(.done-panel-open)>.workspace-height-grip,.workspace-groups>#billedPanel:not(.billed-panel-open)>.workspace-height-grip,.active-tours-collapsed>.workspace-active-grip{display:none}
.workspace-groups>#donePanel.done-panel-open.workspace-height-custom,.workspace-groups>#billedPanel.billed-panel-open.workspace-height-custom{height:var(--section-height)!important;max-height:75%;flex:0 1 var(--section-height)}
.workspace-height-custom>.done-panel-body,.workspace-height-custom>.billed-panel-body{max-height:none;flex:1}
.workspace-group-table.workspace-height-custom{flex:0 1 var(--section-height);min-height:60px}
.workspace-groups .done-panel-buttons,.workspace-groups .billed-panel-buttons{flex-wrap:wrap}
.workspace-groups .done-panel-item,.workspace-groups .billed-panel-item{min-width:0;gap:6px}
.workspace-groups .done-panel-meta,.workspace-groups .billed-panel-meta{overflow-wrap:anywhere}
.workspace-groups .panel-resize-handle{display:none}
.workspace-empty{margin:8px}
@media(max-width:700px){.workspace-groups .done-panel-item,.workspace-groups .billed-panel-item{display:flex;flex-direction:column;align-items:stretch}.workspace-active-head{gap:4px}.workspace-active-head h3{flex-basis:100%}.workspace-groups .done-panel-head,.workspace-groups .billed-panel-head{flex-wrap:wrap}}
@media(min-width:701px) and (max-height:760px){body:not([data-planning-view="classic"]) .editor{gap:2px}body:not([data-planning-view="classic"]) .editor .field{gap:1px}body:not([data-planning-view="classic"]) .editor .field>span{line-height:1.1;font-size:10px}body:not([data-planning-view="classic"]) .editor input:not([type="checkbox"]),body:not([data-planning-view="classic"]) .editor select{height:25px;min-height:25px;font-size:12px}body:not([data-planning-view="classic"]) .editor .delivery-place-input,body:not([data-planning-view="classic"]) .editor .delivery-info-input{min-height:25px!important}body:not([data-planning-view="classic"]) .workspace-tour-tabs>button{height:27px}body:not([data-planning-view="classic"]) .workspace-email{font-size:9px}body:not([data-planning-view="classic"]) .form-save-actions{padding:4px 8px;gap:3px}body:not([data-planning-view="classic"]) .form-save-actions button{min-height:26px;padding:3px 6px}}
body:not([data-planning-view="classic"]) .editor .delivery-place-input,body:not([data-planning-view="classic"]) .editor .delivery-info-input{min-height:30px!important;padding:4px 5px!important}
@media(min-width:701px) and (max-height:820px){body:not([data-planning-view="classic"]) .editor .delivery-place-input,body:not([data-planning-view="classic"]) .editor .delivery-info-input{min-height:27px!important;padding:3px 5px!important}}
body:not([data-planning-view="classic"]) #planningControlsPanel>summary{gap:6px;min-width:0}
body:not([data-planning-view="classic"]) #planningControlsSummary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:not([data-planning-view="classic"]) #historicalPlanningNotice:empty{display:none}
.workspace-date-controls input{min-width:0;width:100%}
.workspace-date-controls button{width:20px;flex:0 0 20px;border:1px solid #b5d3e1;background:white;color:#005679;border-radius:3px;padding:0}
body:not([data-planning-view="classic"]) .delivery-split-head>span{text-align:left!important}
body:not([data-planning-view="classic"]) .mail-preview{width:100%!important;max-width:none!important}
@media(max-width:700px){.workspace-date-controls button{display:none!important}body:not([data-planning-view="classic"]) .topbar{padding:5px}body:not([data-planning-view="classic"]) .mail-preview .section-head h2{font-size:15px}body:not([data-planning-view="classic"]) .mail-preview{min-height:400px}}
body:not([data-planning-view="classic"]) .splitter,.workspace-mail-grip{cursor:col-resize;touch-action:none;border:0;border-left:1px solid #63b2c9;border-right:1px solid #cce8f1;background:#f0f8fb;position:relative;display:flex;align-items:center;justify-content:center}
.workspace-mail-grip:after{content:'\22ee';color:#087a99;background:#ccedf6;padding:14px 2px;border-radius:4px}
body:not([data-planning-view="classic"]) .splitter-btn{width:18px;height:29px;padding:0;font-size:11px}
body:not([data-planning-view="classic"]) .mail-preview{min-width:0;height:auto!important;resize:none!important}
body:not([data-planning-view="classic"]) .mail-preview .section-head{margin:0;padding:10px 8px}
body:not([data-planning-view="classic"]) .mail-preview .section-head h2{font-size:15px}
body:not([data-planning-view="classic"]) .mail-preview-body{padding:8px}
body:not([data-planning-view="classic"]) .test-warning{position:static;display:block;width:100%;margin:5px 0;max-width:none}
body:not([data-planning-view="classic"]) .topbar{min-height:98px;flex-wrap:nowrap}
body:not([data-planning-view="classic"]) .top-actions{min-width:0;flex:1}
@media(max-width:1100px){body:not([data-planning-view="classic"]) .layout{grid-template-columns:minmax(280px,35%) 16px minmax(340px,1fr);height:auto;min-height:calc(100dvh - 150px)}body:not([data-planning-view="classic"]) .workspace-mail-grip{display:none}body:not([data-planning-view="classic"]) .mail-preview{grid-column:1/-1;max-height:700px}body:not([data-planning-view="classic"]) .topbar{flex-wrap:wrap}body:not([data-planning-view="classic"]) .layout.preview-collapsed{grid-template-columns:minmax(280px,35%) 16px minmax(340px,1fr)}}
@media(max-width:700px){body:not([data-planning-view="classic"]) .layout,body:not([data-planning-view="classic"]) .layout.preview-collapsed{display:flex;flex-direction:column;height:auto;padding:5px;min-height:0}body:not([data-planning-view="classic"]) .splitter{display:none}body:not([data-planning-view="classic"]) .editor{overflow:visible}body:not([data-planning-view="classic"]) .table-area{min-height:380px;max-height:650px}.workspace-group-head,.workspace-group-row{grid-template-columns:minmax(90px,1fr) minmax(100px,1fr) 75px;gap:5px;padding:8px}.workspace-group-head>span:last-child,.workspace-group-row>button{display:none}.workspace-group-row .driver-preview-link{font-size:12px}body:not([data-planning-view="classic"]) .form-save-actions{position:static}body:not([data-planning-view="classic"]) .brand h1{font-size:19px}}
