.dispatch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}.dispatch-column{background:#f8fafb;border:1px solid #dce3ea;border-radius:9px;padding:13px}.dispatch-column h3{margin:0 0 10px;font-size:16px}.dispatch-order{display:block;background:#fff;border:1px solid #dce3ea;border-left:4px solid #066ac9;border-radius:7px;color:#17212b;margin:8px 0;padding:10px;text-decoration:none}.dispatch-order:hover{border-color:#7fc7ff}.dispatch-order b,.dispatch-order span,.dispatch-order small{display:block}.dispatch-order span{margin-top:4px}.dispatch-order small{color:#627282;margin-top:6px}@media(max-width:460px){.dispatch-grid{grid-template-columns:1fr}}
.dispatch-title h1{margin-bottom:4px}.dispatch-context{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.dispatch-context .field{min-width:210px}.dispatch-empty{padding:32px}.dispatch-capacity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}.dispatch-map-panel{padding:0;overflow:hidden}.dispatch-map-head,.dispatch-assign-head{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:18px 18px 14px}.dispatch-map-head h2,.dispatch-assign-head h2{margin:0 0 4px}.dispatch-map{position:relative;height:580px;overflow:hidden;background:#dfe7ed;touch-action:none;cursor:grab;isolation:isolate}.dispatch-map.capture-mode{cursor:crosshair}.dispatch-tile{position:absolute;width:256px;height:256px;max-width:none;user-select:none;pointer-events:none;z-index:1}.dispatch-marker{position:absolute;z-index:4;width:18px;height:18px;border-radius:50%;border:3px solid #fff;background:#1478c8;box-shadow:0 2px 8px rgba(0,0,0,.3);transform:translate(-50%,-50%);padding:0;cursor:pointer}.dispatch-marker:hover{width:22px;height:22px}.dispatch-marker.overdue{background:#c9362b}.dispatch-marker.selected{background:#f28c18;width:24px;height:24px;box-shadow:0 0 0 5px rgba(242,140,24,.25),0 2px 8px rgba(0,0,0,.3);color:#fff;font-size:10px;font-weight:900;line-height:1;display:grid;place-items:center}.dispatch-marker.ineligible{background:#8f9ba5;opacity:.52;cursor:not-allowed}.dispatch-selection-box{position:absolute;z-index:6;border:2px dashed #075fa9;background:rgba(6,106,201,.13);pointer-events:none}.dispatch-map-message{position:absolute;z-index:0;inset:0;display:grid;place-items:center;color:#647482}.dispatch-map-foot{display:flex;justify-content:space-between;gap:12px;padding:8px 14px;background:#f7f9fb;border-top:1px solid #dce3ea;font-size:12px;color:#607080}.dispatch-map-foot strong{color:#31485b;text-align:right}.dispatch-capture.active{background:#f28c18}.dispatch-assign-head .field{min-width:160px}.dispatch-order-table{max-height:520px;overflow:auto}.dispatch-ineligible{opacity:.58}.dispatch-selected-row{background:#fff7e8}.dispatch-order-table input[type=checkbox]{width:18px;height:18px}.dispatch-capacity-grid .card{min-height:86px}.dispatch-capacity-grid .metric{font-size:26px}.dispatch-capacity-grid .metric-label{margin-top:2px}.status.ok{white-space:nowrap}
@media(max-width:1000px){.dispatch-capacity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-map{height:500px}.dispatch-map-head,.dispatch-assign-head{align-items:stretch;flex-direction:column}.dispatch-map-head .actions{width:100%}}
@media(max-width:620px){.dispatch-capacity-grid{grid-template-columns:1fr 1fr}.dispatch-map{height:430px}.dispatch-context{display:grid;grid-template-columns:1fr 1fr}.dispatch-context .field{min-width:0;grid-column:1/-1}.dispatch-map-foot{flex-direction:column}.dispatch-title{align-items:flex-start;flex-direction:column}.dispatch-order-table{max-height:440px}}

.dispatch-order-wrap{display:grid;gap:6px;margin-bottom:10px}.dispatch-order-wrap .dispatch-order{margin-bottom:0}.dispatch-release-form{display:flex;justify-content:flex-end}.button.small{padding:6px 9px;font-size:.82rem}

/* 0.10.6 graphical day calendar */
.dispatch-calendar-panel{padding:0;overflow:hidden}.dispatch-calendar-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;padding:18px}.dispatch-calendar-head h2{margin:0 0 4px}.dispatch-calendar-filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.dispatch-calendar-filters .field{min-width:150px}.dispatch-calendar-filters .field.compact{min-width:108px}.dispatch-calendar-status{min-height:0;padding:0 18px;font-size:.92rem;font-weight:700;transition:.15s}.dispatch-calendar-status:not(:empty){padding:9px 18px;border-top:1px solid #e4e9ee;border-bottom:1px solid #e4e9ee;background:#f5f8fb}.dispatch-calendar-status.ok{color:#17663a;background:#e8f7ed}.dispatch-calendar-status.error{color:#9b2424;background:#ffecec}.dispatch-calendar-status.warning{color:#7a5712;background:#fff6d9}.dispatch-calendar-layout{display:grid;grid-template-columns:290px minmax(0,1fr);border-top:1px solid #dce3ea;min-height:560px}.dispatch-pool{background:#f6f8fa;border-right:1px solid #dce3ea;min-width:0;max-height:1180px;overflow:auto}.dispatch-pool-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:10px;padding:12px 14px;background:#102b46;color:#fff}.dispatch-pool-head span{opacity:.75}.dispatch-pool-section{padding:11px 12px 5px}.dispatch-pool-section b,.dispatch-pool-section small{display:block}.dispatch-pool-section small{color:#667788;margin-top:2px}.dispatch-pool-list{display:grid;gap:8px;padding:8px 10px 14px}.dispatch-loose-list{border-bottom:1px solid #dce3ea}.dispatch-pool-card{background:#fff;border:1px solid #cfd9e2;border-left:4px solid #1478c8;border-radius:7px;padding:9px 10px;box-shadow:0 1px 2px rgba(16,43,70,.06);user-select:none}.dispatch-pool-card[data-status="rework"]{border-left-color:#e49a16;background:#fffaf0}.dispatch-pool-card[data-status="assigned"]{border-left-color:#6a57b7;background:#f9f7ff}.dispatch-pool-card span,.dispatch-pool-card small{display:block}.dispatch-pool-card small{margin-top:4px;color:#657585}.dispatch-pool-empty{padding:0 4px}.dispatch-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.dispatch-card-top a{text-decoration:none;color:#526a7f;font-weight:800}.dispatch-calendar-scroll{overflow:auto;background:#eaf0f5}.dispatch-calendar-board{display:grid;grid-template-columns:76px repeat(var(--staff-count),minmax(220px,1fr));align-items:start}.dispatch-time-head,.dispatch-staff-head{position:sticky;top:0;z-index:10;min-height:78px;background:#f8fafc;border-bottom:1px solid #cfd9e2;border-right:1px solid #dce3ea;padding:10px}.dispatch-time-head{left:0;z-index:12;display:grid;place-items:center;font-size:.78rem;color:#667788}.dispatch-staff-head strong,.dispatch-staff-head small{display:block}.dispatch-staff-head small{color:#637485;margin-top:3px}.dispatch-load{height:7px;border-radius:999px;background:#e1e7ed;overflow:hidden;margin-top:7px}.dispatch-load span{display:block;height:100%;background:#2aaa62;transition:width .2s}.dispatch-staff-head.over-capacity .dispatch-load span{background:#c83a32}.dispatch-load-label{font-size:.72rem}.dispatch-time-axis{position:sticky;left:0;z-index:4;background:#f8fafc;border-right:1px solid #cfd9e2}.dispatch-time-axis span{position:absolute;right:8px;transform:translateY(-50%);font-size:.72rem;color:#667788}.dispatch-calendar-lane{position:relative;border-right:1px solid #c8d4df;background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(var(--slot-size) - 1px),#dce5ed calc(var(--slot-size) - 1px),#dce5ed var(--slot-size));min-width:220px}.dispatch-calendar-lane:nth-of-type(even){background-color:#fbfdff}.dispatch-calendar-card{position:absolute;left:5px;right:5px;z-index:3;overflow:hidden;background:#27bfe7;border:1px solid #1288a7;border-radius:6px;padding:6px 7px;color:#10202a;box-shadow:0 1px 3px rgba(0,0,0,.12);font-size:.84rem;user-select:none}.dispatch-calendar-card>span,.dispatch-calendar-card>small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dispatch-calendar-card small{font-size:.72rem;margin-top:2px}.dispatch-calendar-card.status-in_progress{background:#ffe086;border-color:#d6a82c}.dispatch-calendar-card.status-documented{background:#c7e9d2;border-color:#58a770}.dispatch-calendar-card.status-completed{background:#d9e2e9;border-color:#9baab5;color:#4b5963}.dispatch-calendar-card.status-rework{background:#ffd7a0;border-color:#d98a21}.calendar-draggable{cursor:grab;touch-action:none}.calendar-draggable:active{cursor:grabbing}.calendar-readonly{cursor:default}.drag-source{opacity:.32}.dispatch-dragging,.dispatch-dragging *{cursor:grabbing!important}.dispatch-drag-ghost{position:fixed;z-index:9999;pointer-events:none;background:#fff9d8;border:2px solid #d79718;border-radius:7px;padding:8px 10px;box-shadow:0 12px 30px rgba(0,0,0,.28);opacity:.94;max-width:360px}.dispatch-drag-ghost small,.dispatch-drag-ghost span{display:block}.dispatch-drop-indicator{position:absolute;left:4px;right:4px;z-index:7;border:2px dashed #1e8f50;background:rgba(40,179,97,.14);border-radius:6px;pointer-events:none}.dispatch-drop-indicator.invalid{border-color:#c43d35;background:rgba(196,61,53,.13)}.dispatch-pool.drag-target{outline:3px dashed #1478c8;outline-offset:-6px}
@media(max-width:1000px){.dispatch-calendar-head{align-items:stretch;flex-direction:column}.dispatch-calendar-layout{grid-template-columns:240px minmax(0,1fr)}.dispatch-pool{max-height:900px}}
@media(max-width:720px){.dispatch-calendar-layout{display:block}.dispatch-pool{border-right:0;border-bottom:1px solid #dce3ea;max-height:340px}.dispatch-calendar-scroll{max-height:720px}.dispatch-calendar-filters{display:grid;grid-template-columns:1fr 1fr}.dispatch-calendar-filters .field{min-width:0}.dispatch-calendar-filters .field:first-of-type,.dispatch-calendar-filters .field:nth-of-type(2){grid-column:1/-1}}

.dispatch-pool-search{position:sticky;top:45px;z-index:7;background:#eef3f7;padding:9px 10px;border-bottom:1px solid #dce3ea}.dispatch-pool-search label{display:block;font-size:.72rem;font-weight:700;color:#526779;margin-bottom:4px}.dispatch-pool-search input{width:100%;padding:8px 9px}.dispatch-pool-card.pool-filter-hidden{display:none}
.dispatch-card-actions{display:flex;align-items:center;gap:4px;flex:0 0 auto}.dispatch-card-reschedule{border:0;background:rgba(255,255,255,.75);color:#24475f;border-radius:5px;padding:1px 5px;font-size:.8rem;line-height:1.35;cursor:pointer}.dispatch-card-reschedule:hover{background:#fff}.dispatch-reschedule-dialog{width:min(680px,calc(100vw - 28px));border:0;border-radius:14px;padding:0;box-shadow:0 24px 80px rgba(16,43,70,.28)}.dispatch-reschedule-dialog::backdrop{background:rgba(16,32,48,.42)}.dispatch-dialog-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px 20px;border-bottom:1px solid #e1e7ec}.dispatch-dialog-head h3{margin:0 0 4px}.dispatch-dialog-close{border:0;background:#eef3f7;color:#23445b;width:34px;height:34px;border-radius:50%;font-size:1.3rem;cursor:pointer}.dispatch-reschedule-grid{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:12px;padding:18px 20px}.dispatch-reschedule-status{min-height:22px;padding:0 20px;color:#8b2c2c;font-weight:700}.dispatch-dialog-actions{justify-content:flex-end;padding:14px 20px 20px}@media(max-width:620px){.dispatch-reschedule-grid{grid-template-columns:1fr}}


/* 0.10.6 hotline alternative appointments */
.dispatch-alternatives{border-top:1px solid #dce3ea;background:#fbfcfd;padding:12px 14px 14px}.dispatch-alternatives-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:9px}.dispatch-alternatives-head strong,.dispatch-alternatives-head small{display:block}.dispatch-alternatives-head small{color:#647585;margin-top:2px}.dispatch-alternatives-list{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:thin}.dispatch-alternative-slot{flex:0 0 auto;min-width:154px;text-align:left;border:1px solid #b9d5c5;background:#eef9f2;color:#164f2d;border-radius:8px;padding:8px 10px;box-shadow:none}.dispatch-alternative-slot:hover{background:#ddf4e5;border-color:#72b68c}.dispatch-alternative-slot:disabled{opacity:.55;cursor:wait}.dispatch-alternative-slot span,.dispatch-alternative-slot strong,.dispatch-alternative-slot small{display:block}.dispatch-alternative-date{font-size:.78rem;color:#537363;text-transform:uppercase;letter-spacing:.02em}.dispatch-alternative-slot strong{font-size:1rem;margin:1px 0}.dispatch-alternative-slot small{font-size:.72rem;color:#60796b}.dispatch-alternative-slot.after-due{border-color:#e0b487;background:#fff6e9;color:#784413}.dispatch-alternative-slot.after-due:hover{background:#ffedd4}.dispatch-alternative-slot.after-due small,.dispatch-alternative-slot.after-due .dispatch-alternative-date{color:#8a633c}.dispatch-alternative-empty{padding:8px 10px;border-radius:7px;background:#eef3f7;color:#526779;font-size:.86rem}.dispatch-alternative-empty.error{background:#ffecec;color:#9b2424}@media(max-width:620px){.dispatch-alternatives-head{display:block}.dispatch-alternatives-head #dispatch-alternatives-state{display:block;margin-top:4px}}
.dispatch-alternative-staff{font-size:.78rem;font-weight:750;color:#315e45;margin:2px 0}.dispatch-alternative-slot.preferred{box-shadow:inset 0 0 0 1px #5ea779}.dispatch-alternative-slot.after-due .dispatch-alternative-staff{color:#7a552e}
.dispatch-reschedule-alternatives{border-top:1px solid #e1e7ec;padding:14px 20px;background:#f8fafc}.dispatch-reschedule-alt-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.dispatch-alternative-slot.compact{min-width:145px;padding:7px 9px}.dispatch-alternative-slot.compact strong{font-size:.92rem}

/* hotline ranking: green = short route insertion, amber = moderate, red = long / after deadline */
.dispatch-alternative-slot{min-width:210px}.dispatch-alternative-slot.quality-good{border-color:#75b98e;background:#eaf8ef}.dispatch-alternative-slot.quality-medium{border-color:#e1bb68;background:#fff8e8;color:#6f4c12}.dispatch-alternative-slot.quality-medium small,.dispatch-alternative-slot.quality-medium .dispatch-alternative-date{color:#7a653b}.dispatch-alternative-slot.quality-far{border-color:#e5a29e;background:#fff0ef;color:#812e29}.dispatch-alternative-slot.quality-far small,.dispatch-alternative-slot.quality-far .dispatch-alternative-date{color:#8b514d}.dispatch-alternative-slot.quality-late{border-color:#d96b63;background:#ffe5e2;color:#7f211c}.dispatch-alternative-slot.quality-late small,.dispatch-alternative-slot.quality-late .dispatch-alternative-date{color:#8a413c}.dispatch-alternative-slot.compact{min-width:205px}

/* hotline desktop list: scan many alternatives vertically like a dispatch console */
.dispatch-alternative-columns{display:grid;grid-template-columns:105px 135px minmax(160px,1fr) 110px 110px 120px;gap:8px;padding:0 10px 5px;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.025em;color:#687887}
.dispatch-alternatives-table{display:grid;gap:4px;overflow-y:auto;overflow-x:hidden;max-height:390px;padding:0 2px 2px}
.dispatch-alternatives-table .dispatch-alternative-slot{width:100%;min-width:0;display:grid;grid-template-columns:105px 135px minmax(160px,1fr) 110px 110px 120px;align-items:center;gap:8px;padding:7px 10px;border-radius:6px}
.dispatch-alternatives-table .dispatch-alternative-slot span,.dispatch-alternatives-table .dispatch-alternative-slot strong,.dispatch-alternatives-table .dispatch-alternative-slot small{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dispatch-alternatives-table .dispatch-alternative-slot strong{font-size:.9rem}.dispatch-alternatives-table .dispatch-alternative-slot small{font-size:.75rem}.dispatch-alternatives-table .dispatch-alternative-date{font-size:.75rem}
@media(max-width:900px){.dispatch-alternative-columns{display:none}.dispatch-alternatives-table{display:flex;overflow-x:auto;overflow-y:hidden;max-height:none}.dispatch-alternatives-table .dispatch-alternative-slot{display:block;width:auto;min-width:215px}.dispatch-alternatives-table .dispatch-alternative-slot span,.dispatch-alternatives-table .dispatch-alternative-slot strong,.dispatch-alternatives-table .dispatch-alternative-slot small{display:block;margin-top:2px;white-space:normal}}

/* 0.10.7 calendar ↔ map route focus */
.dispatch-route-state{margin:5px 0 0;color:#35637f;font-size:.82rem;font-weight:700}.dispatch-route-svg{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}.dispatch-route-line{fill:none;stroke:#1f6f9f;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:7 5;opacity:.72}.dispatch-route-marker{position:absolute;z-index:3;width:25px;height:25px;border-radius:50%;border:2px solid #fff;background:#1f6f9f;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.28);transform:translate(-50%,-50%);display:grid;place-items:center;font-size:.72rem;font-weight:850;padding:0;cursor:pointer}.dispatch-route-marker.focused{z-index:5;background:#ef8b19;width:31px;height:31px;box-shadow:0 0 0 6px rgba(239,139,25,.22),0 3px 10px rgba(0,0,0,.32)}.dispatch-route-marker.unscheduled{background:#657786;border-style:dashed}.dispatch-route-marker.unscheduled.buffer{background:#b47a19;border-style:solid}.dispatch-route-marker.unscheduled.focused{background:#ef8b19;border-style:solid}.dispatch-calendar-card{transition:box-shadow .15s,border-color .15s}.dispatch-calendar-card:hover{box-shadow:0 0 0 2px rgba(31,111,159,.22),0 2px 7px rgba(0,0,0,.16)}

.dispatch-hotline{margin-top:14px;border:1px solid #d6e0ea;border-radius:12px;padding:14px;background:#f8fbfe}.dispatch-hotline[hidden]{display:none}.dispatch-hotline-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.dispatch-hotline-head div{display:flex;flex-direction:column;gap:3px}.dispatch-hotline-grid{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(140px,.7fr) minmax(260px,2fr);gap:12px;margin-bottom:12px}.dispatch-hotline-grid>div{display:flex;flex-direction:column;gap:4px;padding:10px;background:#fff;border:1px solid #e2e9f0;border-radius:8px}.dispatch-hotline-grid span{white-space:pre-wrap}.dispatch-hotline textarea{min-height:76px;resize:vertical}@media(max-width:900px){.dispatch-hotline-grid{grid-template-columns:1fr}.dispatch-hotline-head{flex-direction:column}.dispatch-hotline-head .button{align-self:flex-start}}

/* 0.10.9 hotline week quick navigation */
.dispatch-week-panel{padding:0;overflow:hidden}.dispatch-week-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid #dce3ea;background:#f8fafc}.dispatch-week-head>div:first-of-type{display:flex;flex-direction:column;text-align:center}.dispatch-week-head small{color:#6a7a88;font-size:.74rem}.dispatch-week-days{display:grid;grid-template-columns:repeat(7,minmax(112px,1fr));gap:0;overflow-x:auto}.dispatch-week-day{display:flex;min-height:82px;flex-direction:column;justify-content:center;padding:9px 11px;border-right:1px solid #e0e6ec;color:#243949;text-decoration:none;background:#fff}.dispatch-week-day:last-child{border-right:0}.dispatch-week-day:hover{background:#f0f7fc}.dispatch-week-day>span{font-size:.72rem;font-weight:800;text-transform:uppercase;color:#718291}.dispatch-week-day>strong{font-size:1rem}.dispatch-week-day>small{font-size:.73rem;color:#536b7d;margin-top:2px;white-space:nowrap}.dispatch-week-day>em{font-size:.68rem;color:#3f7c57;font-style:normal;margin-top:2px}.dispatch-week-day.weekend{background:#fafafa}.dispatch-week-day.today{box-shadow:inset 0 3px 0 #7fc7ff}.dispatch-week-day.selected{background:#e7f4ff;box-shadow:inset 0 0 0 2px #1478c8}.dispatch-week-day.selected>strong{color:#075fa9}@media(max-width:800px){.dispatch-week-head{align-items:stretch;flex-wrap:wrap}.dispatch-week-head>div:first-of-type{order:-1;width:100%}.dispatch-week-days{grid-template-columns:repeat(7,minmax(105px,1fr))}}
.dispatch-pool-card.hotline-focused{border-color:#f0a13b;box-shadow:0 0 0 3px rgba(240,161,59,.2),0 2px 7px rgba(16,43,70,.12);background:#fff9ef}
.dispatch-pool-remote{border-bottom:1px solid #dce3ea;background:#fff8eb}.dispatch-pool-remote .dispatch-pool-section{background:#fff3d7}.dispatch-remote-card{border-left-color:#e09a2f;background:#fffdf8}

/* 0.10.24 unified planning context */
.dispatch-context-project{min-width:300px!important}.dispatch-context-summary{margin-left:auto;min-width:240px;padding:8px 11px;border:1px solid #d9e4ed;border-radius:8px;background:#f7fafc;color:#4d6375}.dispatch-context-summary strong,.dispatch-context-summary span{display:block}.dispatch-context-summary strong{font-size:.84rem;color:#173b56}.dispatch-context-summary span{margin-top:2px;font-size:.74rem}.dispatch-calendar-head .dispatch-calendar-filters{margin-left:auto}@media(max-width:900px){.dispatch-context-summary{width:100%;margin-left:0}.dispatch-context-project{min-width:210px!important}}@media(max-width:620px){.dispatch-context-summary{grid-column:1/-1}.dispatch-context-project{min-width:0!important}}

.dispatch-map-legend{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;padding:8px 14px;border-top:1px solid #e5ebf0;background:#fbfcfd;color:#566b7c;font-size:.75rem}.dispatch-map-legend span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.dispatch-map-legend .legend-dot{display:inline-block;width:11px;height:11px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px rgba(24,54,78,.16);background:#1478c8}.dispatch-map-legend .legend-dot.selected{background:#f28c18}.dispatch-map-legend .legend-dot.overdue{background:#c9362b}.dispatch-map-legend .legend-dot.blocked{background:#8f9ba5;opacity:.6}.dispatch-map-legend .legend-dot.route{background:#1f6f9f;border-radius:3px;width:15px;height:5px;border:0;box-shadow:none}.dispatch-map-legend .legend-dot.untimed{background:#657786;border-style:dashed}.dispatch-map-legend .legend-dot.buffer{background:#b47a19}

.dispatch-card-flags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.dispatch-card-flag{display:inline-flex!important;align-items:center;width:auto!important;margin:0!important;padding:2px 6px;border-radius:999px;background:#edf2f6;color:#526879;font-size:.68rem!important;font-weight:800;line-height:1.25}.dispatch-card-flag.status-rework{background:#ffe2df;color:#9a211a}.dispatch-card-flag.priority-urgent{background:#ffe2df;color:#9a211a}.dispatch-card-flag.priority-high{background:#fff0d7;color:#8a5410}.dispatch-card-flag.priority-low{background:#eef2f5;color:#637482}.dispatch-card-flag.due-overdue{background:#ffe2df;color:#9a211a}.dispatch-card-flag.due-today{background:#fff0d7;color:#8a5410}.dispatch-card-flag.due-soon{background:#fff7df;color:#745414}

.dispatch-card-hotline{border:0;background:transparent;color:#1f638e;padding:1px 3px;min-width:0;font-size:.92rem;line-height:1;cursor:pointer}.dispatch-card-hotline:hover,.dispatch-card-hotline:focus-visible{background:#e8f3fb;color:#075fa9;border-radius:4px;outline:none}

/* 0.10.26 hotline is usable directly from the pool, even before a map employee is selected */
.dispatch-quick-hotline-dialog{width:min(760px,calc(100vw - 28px))}.dispatch-quick-hotline-body{padding:16px 20px}.dispatch-quick-hotline-body .dispatch-hotline-grid{grid-template-columns:1.2fr .8fr .8fr;margin-bottom:12px}.dispatch-quick-hotline-body .dispatch-hotline-source-wide{grid-column:1/-1}.dispatch-quick-hotline-body textarea{width:100%;min-height:82px;resize:vertical;margin-top:6px}.dispatch-phone-link{font-weight:800;color:#075fa9;text-decoration:none}.dispatch-phone-link:hover{text-decoration:underline}@media(max-width:720px){.dispatch-quick-hotline-body .dispatch-hotline-grid{grid-template-columns:1fr}}

/* 0.10.26 pool quick filters */
.dispatch-pool-quickfilters{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.dispatch-pool-quickfilters button{border:1px solid #cad7e1;background:#fff;color:#536a7c;border-radius:999px;padding:4px 7px;font-size:.67rem;font-weight:800;line-height:1.2;cursor:pointer}.dispatch-pool-quickfilters button:hover{border-color:#8fb4cf;background:#f7fbfe}.dispatch-pool-quickfilters button.active{border-color:#1478c8;background:#e7f4ff;color:#075fa9}.dispatch-pool-quickfilters button:focus-visible{outline:2px solid #1478c8;outline-offset:1px}

/* 0.10.26 calendar -> map one-click staff focus */
.dispatch-staff-title{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.dispatch-staff-map-link{flex:0 0 auto;border:1px solid #c9d7e2;border-radius:999px;padding:2px 6px;background:#fff;color:#376078;text-decoration:none;font-size:.65rem;font-weight:850;line-height:1.3}.dispatch-staff-map-link:hover{border-color:#76a9cc;background:#eef8ff;color:#075fa9}.dispatch-staff-map-link.active{border-color:#1478c8;background:#1478c8;color:#fff}.dispatch-staff-head.map-selected{background:#edf7ff;box-shadow:inset 0 -3px 0 #1478c8}

/* 0.10.26 week staffing truth from authoritative SamSoMa bridge */
.dispatch-week-staff{font-size:.68rem;color:#35647f;font-weight:750;margin-top:2px}.dispatch-week-staff.no-staff{color:#a32c25;font-weight:850}.dispatch-week-day:has(.dispatch-week-staff.no-staff){background:#fff7f6}

/* 0.10.26 work/medium is first-class on compact dispatch cards */
.dispatch-card-work{color:#244f68!important;font-weight:850!important}.dispatch-calendar-card .dispatch-card-work{color:#183b4c!important}

/* 0.10.26 map priority mirrors dispatcher pool semantics */
.dispatch-marker.priority-urgent{background:#a32620;box-shadow:0 0 0 4px rgba(163,38,32,.2),0 2px 8px rgba(0,0,0,.3)}.dispatch-marker.priority-high{background:#e18a16}.dispatch-map-legend .legend-dot.urgent{background:#a32620;box-shadow:0 0 0 2px rgba(163,38,32,.16)}.dispatch-map-legend .legend-dot.high{background:#e18a16}

.calendar-draggable[data-write-pending="1"]{cursor:wait;opacity:.62;pointer-events:auto}.calendar-draggable[data-write-pending="1"] .dispatch-card-actions{pointer-events:none}

/* 0.10.30 functional desktop dispatcher: fixed planning left, map/decision area right */
.dispatch-page-main{max-width:none;width:100%;padding:14px 20px 32px}.dispatch-page-main .dispatch-title{margin-bottom:4px}.dispatch-page-main .dispatch-title .lead{margin-bottom:0}
.dispatch-desktop-workspace{display:grid;grid-template-columns:minmax(540px,43%) minmax(0,57%);gap:14px;align-items:start;margin-top:14px;min-width:0}
.dispatch-planning-pane,.dispatch-map-pane{min-width:0}.dispatch-planning-pane>.dispatch-context{margin-top:0}.dispatch-planning-pane>.dispatch-week-panel,.dispatch-planning-pane>.dispatch-calendar-panel{margin-top:10px}.dispatch-map-pane{min-width:0}
.dispatch-map-pane>.panel:first-child,.dispatch-map-pane>form>.panel:first-child{margin-top:0}.dispatch-map-pane .dispatch-map-panel{margin-top:10px;padding:0;overflow:hidden}.dispatch-map-pane .dispatch-map{height:clamp(540px,58vh,700px)}
.dispatch-bridge-strip{display:flex;align-items:center;gap:12px;margin:10px 0 12px;padding:8px 10px;border:1px solid #cfe1d6;border-radius:10px;background:#f2faf5;box-shadow:0 1px 2px rgba(20,35,58,.03)}
.dispatch-bridge-strip>div:first-child{display:flex;flex-direction:column;min-width:max-content}.dispatch-bridge-strip>div:first-child strong{color:#17663a}.dispatch-bridge-strip>div:first-child span{font-size:.72rem;color:#587267}.dispatch-bridge-strip-badges{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:0}.dispatch-bridge-strip>.button{margin-left:auto;white-space:nowrap}.dispatch-bridge-problem{margin-top:12px}
.dispatch-planning-pane .dispatch-context{display:grid;grid-template-columns:minmax(230px,1.25fr) 150px minmax(210px,1fr);gap:8px;align-items:end;padding:12px}.dispatch-planning-pane .dispatch-context .field,.dispatch-planning-pane .dispatch-context-project{min-width:0!important}.dispatch-planning-pane .dispatch-context>.button{padding:8px 10px;text-align:center}.dispatch-planning-pane .dispatch-context-summary{grid-column:3;grid-row:2;min-width:0;width:auto;margin:0;padding:7px 9px}
.dispatch-planning-pane .dispatch-week-head{padding:9px 10px}.dispatch-planning-pane .dispatch-week-day{min-height:72px;padding:7px 8px}.dispatch-planning-pane .dispatch-calendar-head{display:block;padding:12px 14px}.dispatch-planning-pane .dispatch-calendar-head>div:first-child p{margin-bottom:0}.dispatch-planning-pane .dispatch-calendar-head .dispatch-calendar-filters{display:grid;grid-template-columns:minmax(170px,1fr) 90px 90px 90px auto;gap:7px;align-items:end;margin:10px 0 0}.dispatch-planning-pane .dispatch-calendar-filters .field,.dispatch-planning-pane .dispatch-calendar-filters .field.compact{min-width:0}.dispatch-planning-pane .dispatch-calendar-filters .button{padding:8px 10px;white-space:nowrap}
.dispatch-planning-pane .dispatch-calendar-layout{grid-template-columns:250px minmax(0,1fr);min-height:650px}.dispatch-planning-pane .dispatch-pool{max-height:1180px}.dispatch-planning-pane .dispatch-calendar-scroll{min-height:650px}
.dispatch-map-controlbar{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);gap:14px;align-items:center;padding:11px 14px;margin:0 0 10px}.dispatch-map-control-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.dispatch-map-control-stats>span{display:flex;flex-direction:column;gap:1px;padding:7px 9px;border:1px solid #dbe4eb;border-radius:8px;background:#f8fafc}.dispatch-map-control-stats b{font-size:1rem;color:#183b56;white-space:nowrap}.dispatch-map-control-stats small{font-size:.68rem;color:#68798a;font-weight:750}.dispatch-map-control-assign{display:grid;grid-template-columns:minmax(150px,1fr) 125px auto;gap:8px;align-items:end}.dispatch-map-control-assign>div:first-child{align-self:center}.dispatch-map-control-assign>div:first-child strong,.dispatch-map-control-assign>div:first-child small{display:block}.dispatch-map-control-assign>div:first-child small{margin-top:2px;color:#647585}.dispatch-map-control-assign .field{min-width:0}.dispatch-map-control-assign button{white-space:nowrap}
.dispatch-map-pane .dispatch-map-head{padding:13px 14px 10px;align-items:flex-start}.dispatch-map-pane .dispatch-map-head .actions{justify-content:flex-end;gap:6px}.dispatch-map-pane .dispatch-map-head .button{padding:7px 9px}.dispatch-map-pane .dispatch-map-legend{padding:7px 14px}.dispatch-map-pane .dispatch-hotline{margin:10px 12px 0}.dispatch-map-pane .dispatch-alternatives{margin-top:10px}.dispatch-map-pane .dispatch-alternatives-table{max-height:430px}
.dispatch-assignment-panel{padding:0;overflow:hidden;margin-top:10px}.dispatch-order-details{border-top:0}.dispatch-order-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;background:#f8fafc;color:#385268;font-weight:800;cursor:pointer;list-style:none}.dispatch-order-details>summary::-webkit-details-marker{display:none}.dispatch-order-details>summary::before{content:"▸";margin-right:6px;color:#1478c8}.dispatch-order-details[open]>summary::before{content:"▾"}.dispatch-order-details>summary span{margin-right:auto}.dispatch-order-details>summary small{color:#667788;font-weight:650}.dispatch-map-pane .dispatch-order-table{max-height:420px}
@media(max-width:1500px) and (min-width:1201px){.dispatch-desktop-workspace{grid-template-columns:minmax(540px,45%) minmax(0,55%)}.dispatch-map-controlbar{grid-template-columns:1fr}.dispatch-map-control-assign{grid-template-columns:minmax(180px,1fr) 135px auto}.dispatch-map-pane .dispatch-map{height:560px}.dispatch-planning-pane .dispatch-calendar-layout{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:1200px){.dispatch-page-main{padding-left:14px;padding-right:14px}.dispatch-desktop-workspace{display:block}.dispatch-map-pane{margin-top:14px}.dispatch-map-pane .dispatch-map{height:580px}.dispatch-map-controlbar{grid-template-columns:1fr}.dispatch-bridge-strip{flex-wrap:wrap}.dispatch-bridge-strip>.button{margin-left:0}.dispatch-planning-pane .dispatch-context{display:flex}.dispatch-planning-pane .dispatch-context-summary{width:100%;margin:0}.dispatch-planning-pane .dispatch-calendar-head .dispatch-calendar-filters{display:flex}.dispatch-planning-pane .dispatch-calendar-layout{grid-template-columns:290px minmax(0,1fr)}}
@media(min-width:1201px){
  .dispatch-planning-pane .dispatch-calendar-layout{height:clamp(620px,calc(100vh - 315px),820px);min-height:620px}
  .dispatch-planning-pane .dispatch-pool,.dispatch-planning-pane .dispatch-calendar-scroll{height:100%;max-height:none;min-height:0}
  .dispatch-map-pane .dispatch-hotline{margin:0 12px 10px;padding:10px 12px;border-radius:9px}
  .dispatch-map-pane .dispatch-hotline-head{margin-bottom:8px}
  .dispatch-map-pane .dispatch-hotline-grid{margin-bottom:8px;gap:8px;grid-template-columns:minmax(145px,.75fr) minmax(135px,.65fr) minmax(240px,1.6fr)}
  .dispatch-map-pane .dispatch-hotline-grid>div{padding:8px}
  .dispatch-map-pane .dispatch-hotline textarea{min-height:58px}
}
.dispatch-map-context{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:11px 14px;margin:0 0 10px}.dispatch-map-context-title{display:flex;flex-direction:column;gap:2px;min-width:0}.dispatch-map-context-title strong{color:#183b56}.dispatch-map-context-title span{font-size:.78rem;color:#667788;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dispatch-map-context .field{width:min(360px,48%);min-width:230px}.dispatch-map-context select{width:100%}
@media(min-width:1201px){.dispatch-planning-pane .dispatch-context{grid-template-columns:minmax(260px,1fr) 150px auto auto}.dispatch-planning-pane .dispatch-context-summary{grid-column:1/-1;grid-row:2}.dispatch-planning-pane .dispatch-context>.button{white-space:nowrap}}
@media(max-width:1200px){.dispatch-map-context{align-items:stretch;flex-direction:column}.dispatch-map-context .field{width:100%;min-width:0}}

/* 0.10.31: one employee truth for calendar + map when a concrete calendar employee is selected. */
.dispatch-field-help{display:block;margin-top:4px;font-size:.72rem;color:#6a7b89;line-height:1.25}
.dispatch-map-staff-linked{min-width:230px;padding:8px 12px;border:1px solid #cfe0eb;border-radius:8px;background:#f5fafc;display:grid;gap:1px}
.dispatch-map-staff-linked>span{font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;color:#6b7c89;font-weight:800}
.dispatch-map-staff-linked>strong{font-size:.95rem;color:#173b56}
.dispatch-map-staff-linked>small{font-size:.72rem;color:#607484}
@media(max-width:1200px){.dispatch-map-staff-linked{width:100%;min-width:0}}
.dispatch-staff-map-synced{font-size:.7rem;font-weight:800;color:#24764b;background:#e9f7ef;border:1px solid #c6ead5;border-radius:999px;padding:3px 6px;white-space:nowrap}
.dispatch-map-staff-linked.is-readonly{background:#fff8e8;border-color:#ecd9a9}.dispatch-map-staff-linked.is-readonly>strong{color:#73551c}

/* 0.10.106: Nadja's week-first dispatcher workplace */
.dispatch-week-context{display:grid;grid-template-columns:minmax(180px,1fr) minmax(210px,1.35fr) minmax(210px,1.15fr) 155px auto;gap:10px;align-items:end;margin:12px 0}.dispatch-week-context .field{min-width:0}.dispatch-week-context select,.dispatch-week-context input{width:100%}.dispatch-week-nav{display:grid;grid-template-columns:30px 1fr 30px;gap:4px;margin-top:5px}.dispatch-week-nav a{display:flex;align-items:center;justify-content:center;min-height:28px;border:1px solid #d7e1e8;border-radius:7px;background:#f7fafc;text-decoration:none;font-size:.72rem;font-weight:800;color:#31556e}.dispatch-week-nav a:hover{background:#edf6fc}
.dispatch-week-kpis{display:grid;grid-template-columns:minmax(270px,2fr) repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.dispatch-week-kpis .card{min-height:108px}.dispatch-week-kpis .metric{font-size:1.8rem}.dispatch-week-kpis .primary{display:flex;flex-direction:column;justify-content:center;min-height:126px}.dispatch-week-kpis .primary .metric{font-size:3rem;line-height:1;font-weight:900}.dispatch-week-kpis .primary .metric-label{font-size:1.05rem}.dispatch-week-kpis .reserve{background:#f2fbf6;border-color:#cfe8d8}.dispatch-week-kpis .remaining{background:#eef7ff;border-color:#9fc7e4;box-shadow:0 5px 18px rgba(31,91,135,.08)}
.dispatch-week-overview{margin:12px 0}.dispatch-week-daygrid{display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:12px;margin-top:12px}.dispatch-week-daycard{display:grid;gap:4px;padding:10px 12px;border:1px solid #dbe5ec;border-radius:9px;background:#f8fbfd}.dispatch-week-daycard strong{color:#183b56}.dispatch-week-daycard span{font-size:.82rem;color:#466174;font-weight:750}.dispatch-week-daycard small{font-size:.7rem;color:#86514a}.dispatch-week-daycard.unavailable{background:#fff6f3;border-color:#efd3cc}.dispatch-week-daycard.conflict{background:#fff0ec;border-color:#e8a99c;box-shadow:inset 3px 0 0 #c84b3e}.dispatch-week-daycard.conflict span{color:#9b3027}
.dispatch-week-workspace{display:grid;grid-template-columns:minmax(560px,1.45fr) minmax(380px,.75fr);gap:12px;align-items:start}.dispatch-week-workspace .dispatch-map{height:clamp(560px,68vh,780px)}.dispatch-week-selection-panel{padding:0;overflow:hidden;position:sticky;top:8px}.dispatch-week-selection-head{padding:14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid #e3e9ee}.dispatch-week-selection-head h2{margin:0 0 3px}.dispatch-week-selection-head>button{grid-column:1/-1}.dispatch-week-selection-counts{display:flex;gap:6px}.dispatch-week-selection-counts>span{display:grid;justify-items:center;min-width:68px;padding:6px 8px;border:1px solid #dbe5ec;border-radius:8px;background:#f8fafc}.dispatch-week-selection-counts b{font-size:1.15rem;color:#173b56}.dispatch-week-selection-counts small{font-size:.62rem;color:#6c7b87;text-align:center}.dispatch-week-search{padding:10px 14px;border-bottom:1px solid #e3e9ee}.dispatch-week-search input{width:100%}.dispatch-week-order-list{max-height:620px;overflow:auto}.dispatch-week-order{display:grid;grid-template-columns:28px minmax(0,1fr) 24px;gap:8px;align-items:start;padding:9px 12px;border-bottom:1px solid #edf1f4;cursor:pointer}.dispatch-week-order:hover{background:#f5f9fc}.dispatch-week-order.selected{background:#fff7e8}.dispatch-week-order.overflow{background:#fff0ee;box-shadow:inset 3px 0 0 #c84b3e}.dispatch-week-order input{margin-top:3px;width:18px;height:18px}.dispatch-week-order span{display:grid;gap:2px;min-width:0}.dispatch-week-order small{font-size:.72rem;color:#627686;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dispatch-week-order>a{text-decoration:none;font-weight:900}.dispatch-marker.selected.week-overflow{background:#c84b3e;box-shadow:0 0 0 5px rgba(200,75,62,.22),0 2px 8px rgba(0,0,0,.3)}.dispatch-map-legend .legend-dot.week-overflow{background:#c84b3e}
@media(max-width:1350px){.dispatch-week-kpis{grid-template-columns:2fr repeat(2,minmax(0,1fr))}.dispatch-week-workspace{grid-template-columns:minmax(0,1fr)}.dispatch-week-selection-panel{position:static}.dispatch-week-order-list{max-height:520px}}
@media(max-width:900px){.dispatch-week-context{grid-template-columns:1fr 1fr}.dispatch-week-context .button{grid-column:1/-1}.dispatch-week-kpis{grid-template-columns:1fr 1fr}.dispatch-week-kpis .primary{grid-column:1/-1}.dispatch-week-daygrid{grid-template-columns:1fr 1fr}.dispatch-week-workspace .dispatch-map{height:500px}}

/* Wochenreserve + flexible Pausen im exakten Tagesplan */
.dispatch-break-status{font-size:.7rem;font-weight:800}.dispatch-break-status.ok{color:#17663a}.dispatch-break-status.warning{color:#8a5a09}.dispatch-break-status.error{color:#9b2424}.dispatch-calendar-window-help{flex-basis:100%;margin-top:0;color:#607486}.dispatch-planning-pane .dispatch-calendar-window-help{grid-column:1/-1}.dispatch-staff-head{min-height:96px}

.dispatch-card-flag.status-week-reserve{background:#e9f7ef;border-color:#b8dfc8;color:#19603c}
.dispatch-week-day-preview{min-height:1em;font-weight:850;color:#17663a}.dispatch-week-daycard.has-preview{border-color:#9fcdb1;background:#f3fbf6}.dispatch-week-order-day{font-weight:850;color:#17663a}.dispatch-week-order.overflow .dispatch-week-order-day{color:#9b3027}
.dispatch-week-day-link{display:inline-flex;align-items:center;gap:.25rem;margin-top:.25rem;font-size:.84rem;font-weight:700;text-decoration:none}.dispatch-week-day-link:hover{text-decoration:underline}

/* Week planning: bidirectional hover link between map marker and order list. */
.dispatch-week-order.linked-hover{background:#f2edff!important;box-shadow:inset 4px 0 0 #6d42c7,0 0 0 1px rgba(109,66,199,.10);position:relative;z-index:1}.dispatch-week-order.linked-hover strong{color:#4d2aa1}.dispatch-marker.linked-hover{z-index:9!important;background:#6d42c7!important;width:30px!important;height:30px!important;border-color:#fff!important;box-shadow:0 0 0 7px rgba(109,66,199,.24),0 4px 14px rgba(33,26,55,.38)!important}.dispatch-marker.linked-hover::after{content:"";position:absolute;inset:-10px;border:2px solid rgba(109,66,199,.45);border-radius:50%;pointer-events:none}.dispatch-marker-cluster.linked-hover{z-index:9!important;background:#6d42c7!important;color:#fff!important;border-color:#fff!important;box-shadow:0 0 0 7px rgba(109,66,199,.24),0 4px 14px rgba(33,26,55,.38)!important;transform:translate(-50%,-50%) scale(1.12)!important}

/* 0.10.107: visual polish for the week-first dispatch workplace. */
.dispatch-week-title{justify-content:space-between;align-items:flex-start;margin-bottom:2px}.dispatch-week-title>div{min-width:0}.dispatch-week-eyebrow{display:inline-flex;margin-bottom:5px;font-size:.69rem;font-weight:850;letter-spacing:.055em;text-transform:uppercase;color:#51718a}.dispatch-week-title h1{margin:0 0 4px}.dispatch-week-title .lead{margin:0;max-width:850px}
.dispatch-week-context{padding:14px 16px;border-color:#d5e2ec;background:linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%);box-shadow:0 5px 18px rgba(29,63,88,.05)}.dispatch-week-context label{font-size:.72rem;letter-spacing:.015em;color:#405c71}.dispatch-week-context select,.dispatch-week-context input{min-height:42px;border-color:#cbd9e3;background:#fff}.dispatch-week-context .button{min-height:42px}.dispatch-week-context-tenant,.dispatch-week-context-project{padding-left:30px;border-left:2px solid #e5edf3}.dispatch-week-context-tenant label,.dispatch-week-context-project label{padding-left:1px}
.dispatch-week-kpis{gap:12px}.dispatch-week-kpis .card{border-color:#dbe5ec;border-radius:12px;box-shadow:0 4px 14px rgba(30,59,82,.045)}.dispatch-week-kpis .remaining{background:linear-gradient(145deg,#edf7ff,#f8fcff);border-color:#9bc9e8}.dispatch-week-kpis .reserve{background:linear-gradient(145deg,#effaf3,#fbfffc);border-color:#bfe2cd}.dispatch-week-kpis .metric-label{font-weight:850;color:#31536b}.dispatch-week-kpis .hint{line-height:1.35}
.dispatch-week-overview{display:block;border-color:#dbe5ec;box-shadow:0 4px 14px rgba(30,59,82,.04)}.dispatch-week-overview>.actions{align-items:flex-start;gap:18px}.dispatch-week-overview>.actions>div{min-width:0;flex:1}.dispatch-week-overview>.actions .hint{margin:0;max-width:960px;line-height:1.4}.dispatch-week-overview>.actions>.badge{flex:0 0 auto;margin-top:2px}.dispatch-week-daygrid{gap:12px}.dispatch-week-daycard{position:relative;overflow:hidden;min-height:126px;padding:14px 15px;border-radius:11px;background:linear-gradient(180deg,#fbfdfe,#f5f9fb);box-shadow:0 2px 8px rgba(34,65,88,.035)}.dispatch-week-daycard strong{font-size:.92rem}.dispatch-week-daycard>span{font-size:.86rem}.dispatch-week-daybar{height:6px;border-radius:999px;background:#e2ebf1;overflow:hidden;margin:3px 0 1px}.dispatch-week-daybar>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4d9bd4,#2e7fb9);transition:width .18s ease}.dispatch-week-daycard.has-preview .dispatch-week-daybar>i{background:linear-gradient(90deg,#50a66f,#2f8652)}.dispatch-week-daycard.unavailable{background:#fff8f5}.dispatch-week-daycard.conflict{background:#fff2ee}
.dispatch-week-workspace{gap:14px}.dispatch-week-workspace>.panel{border-radius:12px;border-color:#d7e2e9;box-shadow:0 6px 22px rgba(25,55,78,.055)}.dispatch-week-workspace .dispatch-map-head{padding:15px 16px 12px}.dispatch-week-workspace .dispatch-map-head h2{font-size:1.08rem}.dispatch-week-workspace .dispatch-map{border-top:1px solid #e3e9ee;border-bottom:1px solid #dce4ea}.dispatch-week-link-hint{margin-left:auto!important;padding:3px 7px;border-radius:999px;background:#f2edff;color:#5a37a7!important;font-weight:800!important;border:1px solid #ded2fb}.dispatch-week-selection-panel{background:#fff}.dispatch-week-selection-head{padding:15px 15px 12px;background:linear-gradient(180deg,#ffffff,#fbfcfd)}.dispatch-week-selection-head h2{font-size:1.08rem}.dispatch-week-hover-hint{margin:6px 0 0;font-size:.69rem;line-height:1.35;color:#6b53a0}.dispatch-week-selection-counts>span{border-radius:9px;background:#f6f9fb}.dispatch-week-search{background:#fbfcfd}.dispatch-week-order-list{padding:6px;background:#f7f9fb}.dispatch-week-order{margin:0 0 5px;padding:9px 10px;border:1px solid #e2e8ed;border-radius:9px;background:#fff;box-shadow:0 1px 3px rgba(30,55,75,.025)}.dispatch-week-order:last-child{margin-bottom:0}.dispatch-week-order:hover{background:#f4f8fb;border-color:#cadbe7}.dispatch-week-order.selected{background:#fff8ea;border-color:#ecd39c}.dispatch-week-order.overflow{background:#fff1ef;border-color:#e9c1ba}.dispatch-week-order.linked-hover{border-color:#c7b6f0!important}.dispatch-week-hover-loaded::after{content:"von Karte";align-self:start;justify-self:end;grid-column:2/3;font-size:.58rem;font-weight:850;color:#6b53a0;background:#f2edff;border-radius:999px;padding:2px 6px;margin-top:2px}
@media(max-width:1350px){.dispatch-week-link-hint{margin-left:0!important}.dispatch-week-selection-panel{position:static}}
@media(max-width:900px){.dispatch-week-title{align-items:stretch;flex-direction:column}.dispatch-week-title>.button{align-self:flex-start}.dispatch-week-context{padding:12px}.dispatch-week-context-tenant,.dispatch-week-context-project{padding-left:0;border-left:0}.dispatch-week-overview>.actions{align-items:stretch}.dispatch-week-daycard{min-height:124px}.dispatch-week-link-hint{width:100%;justify-content:center}}@media(max-width:560px){.dispatch-week-daygrid{grid-template-columns:1fr}.dispatch-week-overview>.actions>.badge{align-self:flex-start}}

.dispatch-week-order.due-overdue:not(.selected):not(.overflow){border-color:#efc0bb;background:#fff8f7}.dispatch-week-order .dispatch-week-due.due-overdue,.dispatch-week-order small.due-overdue{color:#a52b23;font-weight:850}.dispatch-week-order.due-overdue strong{color:#8d251f}

.dispatch-week-map-locator{position:absolute;z-index:8;display:grid;place-items:center;width:28px;height:28px;margin:-14px 0 0 -14px;border:2px solid #fff;border-radius:50%;background:#7657b8;color:#fff;box-shadow:0 0 0 4px rgba(118,87,184,.22),0 3px 9px rgba(0,0,0,.24);font-size:17px;font-weight:900;line-height:1;pointer-events:none;transform:rotate(var(--locator-angle,0deg))}.dispatch-week-map-locator::after{content:"";position:absolute;inset:-7px;border:2px solid rgba(118,87,184,.32);border-radius:50%}

/* 0.10.111: visual rebuild of the week planning screen based on the approved mock-up. */
.dispatch-week-title{margin:0 0 22px;align-items:flex-end;gap:24px}.dispatch-week-title-copy{min-width:0}.dispatch-week-welcome{display:block;margin:0 0 5px;color:#64788b;font-size:.92rem;font-weight:600}.dispatch-week-title h1{margin:0 0 5px;font-size:2rem;line-height:1.08;letter-spacing:-.035em;color:#10243a}.dispatch-week-title .lead{margin:0;color:#627487;font-size:1rem}.dispatch-week-title-side{margin-left:auto;display:grid;justify-items:end;gap:8px}.dispatch-week-today{font-size:.8rem;color:#708294;font-weight:650}

.dispatch-week-context{display:grid;grid-template-columns:minmax(250px,1.25fr) minmax(250px,1.08fr) minmax(270px,1.12fr) 180px 112px;gap:0;margin:0 0 24px;padding:18px 20px;border:1px solid #dbe5ed;border-radius:15px;background:#fff;box-shadow:0 8px 28px rgba(30,63,88,.055);align-items:start}.dispatch-week-context .field{min-width:0;padding-right:18px}.dispatch-week-context label{margin-bottom:7px;font-size:.72rem;font-weight:850;letter-spacing:.015em;color:#405b72}.dispatch-week-context select,.dispatch-week-context input{min-height:44px;border-radius:8px;border-color:#c8d6e2;background:#fff;padding:9px 11px}.dispatch-week-context-staff{padding-left:0}.dispatch-week-context-tenant,.dispatch-week-context-project,.dispatch-week-context-week{margin-left:0;padding-left:18px!important;border-left:1px solid #dfe7ee!important}.dispatch-week-context-project{padding-left:20px!important}.dispatch-week-context-week{padding-right:12px!important}.dispatch-week-context .dispatch-field-help{display:block;margin-top:7px;line-height:1.3;color:#738596;font-size:.69rem}.dispatch-week-nav{display:grid;grid-template-columns:34px minmax(84px,1fr) 34px;gap:6px;margin-top:7px}.dispatch-week-nav a{display:flex;align-items:center;justify-content:center;min-height:32px;border:1px solid #d7e2ea;border-radius:8px;background:#f4f8fb;color:#31556e;text-decoration:none;font-size:.72rem;font-weight:850;transition:background .15s,border-color .15s}.dispatch-week-nav a:hover{background:#eaf3fa;border-color:#bdd4e4}.dispatch-week-context-submit{align-self:end;min-height:44px;margin-left:10px;margin-bottom:0;padding-left:16px;padding-right:16px}

.dispatch-week-overview{display:block;margin:0 0 26px;padding:18px 20px 20px;border:1px solid #dde6ed;border-radius:15px;background:#fff;box-shadow:0 8px 28px rgba(30,63,88,.055)}.dispatch-week-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.dispatch-week-overview-title{display:flex;align-items:flex-start;gap:12px;min-width:0}.dispatch-week-overview-title h2{margin:2px 0 4px;font-size:1.35rem;letter-spacing:-.02em;color:#122943}.dispatch-week-overview-title .hint{margin:0;max-width:860px;line-height:1.4;color:#6b7d8d}.dispatch-week-calendar-icon{position:relative;display:block;flex:0 0 42px;width:42px;height:42px;border-radius:10px;background:#eaf4fd;border:1px solid #d8e9f7}.dispatch-week-calendar-icon::before{content:"";position:absolute;left:11px;right:11px;top:13px;bottom:9px;border:2px solid #0d78d2;border-radius:4px}.dispatch-week-calendar-icon::after{content:"";position:absolute;left:11px;right:11px;top:18px;border-top:2px solid #0d78d2;box-shadow:5px -10px 0 -4px #0d78d2,-5px -10px 0 -4px #0d78d2}.dispatch-week-overview-head>.badge{flex:0 0 auto;margin-top:3px;padding:6px 11px;background:#eaf4fd;color:#1769aa;border:1px solid #d5e8f7;font-size:.72rem}

.dispatch-week-daygrid{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:12px;margin:0}.dispatch-week-daycard{position:relative;display:grid;grid-template-rows:auto 1fr auto;min-height:268px;padding:0;border:1px solid #dce6ee;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 3px 12px rgba(30,61,83,.045)}.dispatch-week-daycard.has-preview{border-color:#a8d0b6;background:#fbfffc}.dispatch-week-daycard.unavailable{background:#fffaf8;border-color:#ead9d3}.dispatch-week-daycard.conflict{background:#fff6f2;border-color:#e6b6a9;box-shadow:inset 3px 0 0 #c84b3e}.dispatch-week-dayhead{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:15px 16px 14px;background:linear-gradient(180deg,#f8fbfe,#f1f6fa);border-bottom:1px solid #e4ebf1}.dispatch-week-dayhead>div{display:grid;gap:1px}.dispatch-week-dayhead strong{font-size:1.06rem;line-height:1.2;color:#142d48}.dispatch-week-dayhead span{font-size:.76rem;color:#61768a;font-weight:650}.dispatch-week-day-count{display:grid!important;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#e4edf4;color:#506b82!important;font-size:.8rem!important;font-weight:850!important}.dispatch-week-daybody{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:18px 16px 14px;min-width:0}.dispatch-week-daybody-icon{position:relative;width:38px;height:38px;margin-bottom:2px;border:3px solid #b7c7d7;border-radius:7px}.dispatch-week-daybody-icon::before{content:"";position:absolute;left:-3px;right:-3px;top:8px;border-top:3px solid #b7c7d7}.dispatch-week-daybody-icon::after{content:"";position:absolute;left:7px;right:7px;top:-7px;height:9px;border-left:3px solid #b7c7d7;border-right:3px solid #b7c7d7}.dispatch-week-day-status{font-size:.83rem;color:#49627a;font-weight:850}.dispatch-week-day-free{font-size:.74rem;color:#708295;font-weight:650}.dispatch-week-daybody small{font-size:.68rem;color:#7b8b99;line-height:1.35}.dispatch-week-daybar{width:min(150px,88%);height:6px;margin:3px 0 0;border-radius:999px;background:#e5edf3;overflow:hidden}.dispatch-week-daybar>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4c9cd5,#2178b7);transition:width .18s ease}.dispatch-week-daycard.has-preview .dispatch-week-daybar>i{background:linear-gradient(90deg,#50a66f,#2f8652)}.dispatch-week-day-preview{min-height:1em;color:#197142!important;font-weight:850!important}.dispatch-week-day-link{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;margin:0 16px 15px;border:1px solid #1980d3;border-radius:8px;background:#fff;color:#0969b9;text-decoration:none;font-size:.78rem;font-weight:850;transition:background .15s,box-shadow .15s}.dispatch-week-day-link:hover{background:#edf7ff;text-decoration:none;box-shadow:0 3px 10px rgba(15,111,190,.10)}.dispatch-week-daycard.unavailable .dispatch-week-daybody-icon{border-color:#d7b6aa}.dispatch-week-daycard.unavailable .dispatch-week-daybody-icon::before,.dispatch-week-daycard.unavailable .dispatch-week-daybody-icon::after{border-color:#d7b6aa}

.dispatch-week-plan-values-head{display:flex;align-items:baseline;gap:10px;margin:2px 2px 10px}.dispatch-week-plan-values-head span{font-size:.9rem;font-weight:850;color:#314d65}.dispatch-week-plan-values-head small{color:#7a8996;font-size:.72rem}.dispatch-week-kpis{display:grid;grid-template-columns:minmax(240px,1.55fr) repeat(4,minmax(150px,1fr));gap:12px;margin:0 0 24px}.dispatch-week-kpis .card{min-height:116px;padding:16px;border-radius:12px;background:#fff}.dispatch-week-kpis .primary{min-height:116px}.dispatch-week-kpis .primary .metric{font-size:2.25rem}.dispatch-week-kpis .metric{font-size:1.65rem}.dispatch-week-kpis .metric-label{font-size:.9rem;font-weight:850;color:#35536c}.dispatch-week-kpis .hint{margin-top:5px;line-height:1.35;color:#718291}.dispatch-week-kpis .remaining{background:linear-gradient(145deg,#eef7ff,#fbfdff);border-color:#acd0e8}.dispatch-week-kpis .reserve{background:linear-gradient(145deg,#f0faf4,#fcfffd);border-color:#c8e4d2}

.dispatch-week-workspace{gap:16px}.dispatch-week-workspace>.panel{border-radius:14px;box-shadow:0 8px 28px rgba(26,56,78,.06)}.dispatch-week-workspace .dispatch-map-head{padding:18px 18px 14px;background:#fff}.dispatch-week-workspace .dispatch-map-head h2,.dispatch-week-selection-head h2{font-size:1.12rem;letter-spacing:-.01em;color:#1a344d}.dispatch-week-selection-head{padding:17px 16px 14px}.dispatch-week-search{padding:12px 16px}.dispatch-week-order-list{padding:8px;background:#f7f9fb}.dispatch-week-order{margin-bottom:6px;border-radius:9px}

@media(max-width:1550px){.dispatch-week-context{grid-template-columns:minmax(230px,1.2fr) minmax(220px,1fr) minmax(240px,1.08fr) 170px 105px}.dispatch-week-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.dispatch-week-kpis .primary{grid-column:span 1}.dispatch-week-daycard{min-height:250px}}
@media(max-width:1280px){.dispatch-week-context{grid-template-columns:1fr 1fr}.dispatch-week-context .field{padding:0 0 14px}.dispatch-week-context-tenant,.dispatch-week-context-project,.dispatch-week-context-week{padding-left:0!important;border-left:0!important}.dispatch-week-context-staff,.dispatch-week-context-project{padding-right:12px!important}.dispatch-week-context-tenant,.dispatch-week-context-week{padding-left:12px!important}.dispatch-week-context-submit{grid-column:1/-1;justify-self:start;margin:0}.dispatch-week-daygrid{grid-template-columns:repeat(3,minmax(210px,1fr))}.dispatch-week-daycard{min-height:240px}}
@media(max-width:900px){.dispatch-week-title{align-items:stretch;flex-direction:column}.dispatch-week-title-side{margin-left:0;justify-items:start}.dispatch-week-context{display:grid;grid-template-columns:1fr 1fr;padding:14px}.dispatch-week-context-staff,.dispatch-week-context-project,.dispatch-week-context-tenant,.dispatch-week-context-week{padding-left:0!important;padding-right:0!important;border-left:0!important}.dispatch-week-context-staff,.dispatch-week-context-project{margin-right:6px}.dispatch-week-context-tenant,.dispatch-week-context-week{margin-left:6px}.dispatch-week-context-submit{width:auto}.dispatch-week-overview{padding:15px}.dispatch-week-daygrid{grid-template-columns:1fr 1fr}.dispatch-week-daycard{min-height:230px}.dispatch-week-kpis{grid-template-columns:1fr 1fr}.dispatch-week-kpis .primary{grid-column:1/-1}.dispatch-week-overview-head{align-items:stretch}.dispatch-week-overview-title{align-items:flex-start}}
@media(max-width:560px){.dispatch-week-context{grid-template-columns:1fr}.dispatch-week-context-staff,.dispatch-week-context-project,.dispatch-week-context-tenant,.dispatch-week-context-week{margin:0!important}.dispatch-week-context-submit{width:100%}.dispatch-week-overview-head{flex-direction:column}.dispatch-week-overview-head>.badge{align-self:flex-start}.dispatch-week-daygrid{grid-template-columns:1fr}.dispatch-week-daycard{min-height:225px}.dispatch-week-kpis{grid-template-columns:1fr}.dispatch-week-kpis .primary{grid-column:auto}.dispatch-week-plan-values-head{align-items:flex-start;flex-direction:column;gap:2px}}

/* 0.10.112: real responsive containment for the week planner. */
.dispatch-page-main,.dispatch-week-context,.dispatch-week-overview,.dispatch-week-daygrid,.dispatch-week-kpis,.dispatch-week-workspace,.dispatch-map-panel,.dispatch-week-selection-panel{min-width:0;max-width:100%}
.dispatch-week-context>*,.dispatch-week-daygrid>*,.dispatch-week-kpis>*,.dispatch-week-workspace>*{min-width:0}
.dispatch-week-context select,.dispatch-week-context input,.dispatch-week-context button{min-width:0;max-width:100%}
.dispatch-week-daygrid{grid-template-columns:repeat(5,minmax(0,1fr))}
.dispatch-week-kpis{grid-template-columns:minmax(0,1.55fr) repeat(4,minmax(0,1fr))}
.dispatch-week-kpis .card,.dispatch-week-kpis .hint,.dispatch-week-daycard,.dispatch-week-dayhead,.dispatch-week-daybody{min-width:0;overflow-wrap:anywhere}
.dispatch-week-workspace{grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr)}
.dispatch-week-workspace .dispatch-map-head,.dispatch-week-workspace .dispatch-map-head .actions,.dispatch-week-selection-head{min-width:0;max-width:100%}
.dispatch-week-workspace .dispatch-map-head{flex-wrap:wrap}
.dispatch-week-workspace .dispatch-map-head .actions{flex-wrap:wrap}
.dispatch-week-workspace .dispatch-map-head .button{max-width:100%}
.dispatch-week-selection-counts{min-width:0;flex-wrap:wrap;justify-content:flex-end}
.dispatch-week-order-list,.dispatch-map,.dispatch-map-legend,.dispatch-map-foot{max-width:100%;min-width:0}

/* The sidebar consumes 220px on desktop, therefore the week controls must
   switch earlier than a viewport-only 1280px breakpoint. */
@media (max-width:1340px) and (min-width:981px){
  .dispatch-week-context{grid-template-columns:1fr 1fr}
  .dispatch-week-context .field{padding:0 0 14px}
  .dispatch-week-context-tenant,.dispatch-week-context-project,.dispatch-week-context-week{padding-left:0!important;border-left:0!important}
  .dispatch-week-context-staff,.dispatch-week-context-project{padding-right:12px!important}
  .dispatch-week-context-tenant,.dispatch-week-context-week{padding-left:12px!important}
  .dispatch-week-context-submit{grid-column:1/-1;justify-self:start;margin:0}
}
@media (max-width:1280px){
  .dispatch-week-daygrid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .dispatch-week-daygrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dispatch-week-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dispatch-week-workspace{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){
  .dispatch-week-daygrid,.dispatch-week-kpis,.dispatch-week-context{grid-template-columns:minmax(0,1fr)}
  .dispatch-week-context-staff,.dispatch-week-context-project,.dispatch-week-context-tenant,.dispatch-week-context-week{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;border-left:0!important}
  .dispatch-week-workspace .dispatch-map-head .actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .dispatch-week-workspace .dispatch-map-head .button{width:100%;white-space:normal}
  .dispatch-week-selection-head{grid-template-columns:minmax(0,1fr)}
  .dispatch-week-selection-counts{justify-content:flex-start}
}
@media (max-width:1550px) and (min-width:901px){
  .dispatch-week-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1350px){
  .dispatch-week-workspace{grid-template-columns:minmax(0,1fr)}
  .dispatch-week-selection-panel{position:static}
}
@media (max-width:1450px) and (min-width:901px){
  .dispatch-week-daygrid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* 0.10.114: large-pool dispatcher cockpit */
.dispatch-week-poolbar{display:grid;gap:14px;margin:0 0 16px;padding:17px 18px;border-radius:14px;background:linear-gradient(145deg,#ffffff,#f8fbfd);box-shadow:0 8px 26px rgba(26,56,78,.05);min-width:0}
.dispatch-week-poolbar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-width:0}
.dispatch-week-poolbar-head>div{min-width:0}.dispatch-week-poolbar-head h2{margin:1px 0 4px;font-size:1.16rem;color:#173651}.dispatch-week-poolbar-head .hint{margin:0;max-width:850px;line-height:1.4}
.dispatch-week-eyebrow{display:block;color:#1677ba;font-size:.69rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.dispatch-week-pool-filters{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;min-width:0}
.dispatch-week-filter{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:48px;padding:8px 10px;border:1px solid #d9e4ec;border-radius:10px;background:#fff;color:#3d566c;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s,transform .15s}
.dispatch-week-filter:hover{border-color:#9ec7e4;background:#f6fbff;box-shadow:0 4px 12px rgba(17,102,161,.07)}.dispatch-week-filter:active{transform:translateY(1px)}
.dispatch-week-filter b{display:grid;place-items:center;min-width:34px;height:30px;padding:0 7px;border-radius:8px;background:#edf3f7;color:#2f526d;font-size:.83rem}.dispatch-week-filter span{min-width:0;font-size:.72rem;font-weight:800;line-height:1.18;overflow-wrap:anywhere}
.dispatch-week-filter.active{border-color:#348bca;background:#edf7ff;box-shadow:inset 0 0 0 1px #9dcbe9}.dispatch-week-filter.active b{background:#1978ba;color:#fff}
.dispatch-week-filter[data-week-filter="overdue"] b{background:#fff0ed;color:#ad392d}.dispatch-week-filter[data-week-filter="overdue"].active{border-color:#d46f64;background:#fff6f4}.dispatch-week-filter[data-week-filter="overdue"].active b{background:#bc463b;color:#fff}
.dispatch-week-filter[data-week-filter="priority"] b{background:#fff5df;color:#8b6113}.dispatch-week-filter[data-week-filter="priority"].active{border-color:#d6ad56;background:#fffaf0}.dispatch-week-filter[data-week-filter="priority"].active b{background:#a8781f;color:#fff}
.dispatch-week-filter[data-week-filter="no_geo"] b{background:#f2eefb;color:#69509b}.dispatch-week-filter[data-week-filter="no_geo"].active{border-color:#9d86cc;background:#f8f5ff}.dispatch-week-filter[data-week-filter="no_geo"].active b{background:#7258a4;color:#fff}
.dispatch-week-pool-warning{margin:0;padding:9px 11px;border-radius:9px;background:#fff7eb;color:#785419;font-size:.75rem;line-height:1.4}
#dispatch-week-fill-target{white-space:nowrap;align-self:center}
#dispatch-week-geocode-more{white-space:normal}
.dispatch-week-order[hidden]{display:none!important}
@media(max-width:1500px){.dispatch-week-pool-filters{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.dispatch-week-poolbar-head{flex-direction:column}.dispatch-week-poolbar-head .button{width:100%}.dispatch-week-pool-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.dispatch-week-pool-filters{grid-template-columns:minmax(0,1fr)}.dispatch-week-filter{grid-template-columns:42px minmax(0,1fr)}}
.dispatch-marker-cluster{position:absolute;z-index:3;transform:translate(-50%,-50%);display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border:2px solid #fff;border-radius:999px;background:#2f789f;color:#fff;font:800 .74rem/1 system-ui;box-shadow:0 2px 9px rgba(18,55,80,.35);cursor:pointer}.dispatch-marker-cluster:hover{z-index:7;transform:translate(-50%,-50%) scale(1.08)}.dispatch-marker-cluster.overdue{background:#bd4b3e}.dispatch-marker-cluster.priority{background:#b58325}.legend-dot.cluster{background:#2f789f;box-shadow:0 0 0 2px #d8eaf4}
.dispatch-week-filter[data-week-filter="rollback"] b{background:#edf8f1;color:#26704a}.dispatch-week-filter[data-week-filter="rollback"].active{border-color:#78b992;background:#f2fbf5}.dispatch-week-filter[data-week-filter="rollback"].active b{background:#31835a;color:#fff}
.dispatch-week-import-badge{display:inline-block;margin-left:7px;padding:2px 6px;border-radius:999px;background:#e8f6ed;color:#26704a;font-size:.61rem;font-style:normal;font-weight:900;line-height:1.35;vertical-align:1px;white-space:nowrap}.dispatch-week-order.rollbackable-import{box-shadow:inset 3px 0 0 #61a77e}

/* 0.10.115 - räumliche Wochenplanung, Tagesvorschau und sichere Rücknahme */
.dispatch-week-poolbar-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.dispatch-week-day-focus{border:0;background:#eaf7ef;color:#176b3e;border-radius:999px;padding:5px 9px;font-size:.68rem;font-weight:850;cursor:pointer}.dispatch-week-day-focus:hover{background:#dff2e6}.dispatch-week-day-focus[hidden]{display:none}
.dispatch-week-undo{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;margin:0 0 16px;border-color:#f0d39c;background:linear-gradient(145deg,#fffdf8,#fff8e8)}.dispatch-week-undo>div{display:grid;gap:3px;min-width:0}.dispatch-week-undo strong{color:#6f4e12}.dispatch-week-undo span{font-size:.75rem;color:#796640;line-height:1.4}.dispatch-week-undo .button{flex:0 0 auto}
.dispatch-marker.selected.preview-day-1{background:#2878c8}.dispatch-marker.selected.preview-day-2{background:#258f70}.dispatch-marker.selected.preview-day-3{background:#7a63b7}.dispatch-marker.selected.preview-day-4{background:#bd7c24}.dispatch-marker.selected.preview-day-5{background:#a44f77}
.dispatch-week-order.selected.preview-day-1{box-shadow:inset 4px 0 0 #2878c8}.dispatch-week-order.selected.preview-day-2{box-shadow:inset 4px 0 0 #258f70}.dispatch-week-order.selected.preview-day-3{box-shadow:inset 4px 0 0 #7a63b7}.dispatch-week-order.selected.preview-day-4{box-shadow:inset 4px 0 0 #bd7c24}.dispatch-week-order.selected.preview-day-5{box-shadow:inset 4px 0 0 #a44f77}
@media(max-width:900px){.dispatch-week-poolbar-actions{width:100%;display:grid;grid-template-columns:1fr}.dispatch-week-poolbar-actions .button{width:100%}.dispatch-week-undo{align-items:stretch;flex-direction:column}.dispatch-week-undo .button{width:100%}}

/* 0.10.116 - konsistente Grossmengenfilter fuer Ort/Ortsteil/Medium/Technik */
.dispatch-week-facetbar{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) auto minmax(120px,.55fr);gap:10px;align-items:end;padding-top:2px;min-width:0}
.dispatch-week-facetbar .field{margin:0;min-width:0}.dispatch-week-facetbar label{font-size:.68rem;color:#50697d}.dispatch-week-facetbar select{width:100%;min-width:0}
.dispatch-week-filter-reset{white-space:nowrap;min-height:40px}
.dispatch-week-visible-count{display:grid;justify-items:center;align-self:stretch;align-content:center;min-width:120px;padding:6px 9px;border:1px solid #d9e4ec;border-radius:10px;background:#fff}.dispatch-week-visible-count b{font-size:1.05rem;color:#173b56}.dispatch-week-visible-count span{font-size:.62rem;font-weight:800;color:#6b7d8c;text-align:center}
.dispatch-week-source-tags{color:#5e7080!important;font-weight:700}.dispatch-week-selection-breakdown{margin:5px 0 0;padding:5px 7px;border-radius:7px;background:#f4f8fb;color:#496478;font-size:.69rem;font-weight:750;line-height:1.35}
.dispatch-week-selection-breakdown[hidden]{display:none}
@media(max-width:1500px){.dispatch-week-facetbar{grid-template-columns:repeat(3,minmax(150px,1fr))}.dispatch-week-visible-count{min-height:40px}.dispatch-week-filter-reset{width:100%}}
@media(max-width:900px){.dispatch-week-facetbar{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-week-filter-reset,.dispatch-week-visible-count{width:100%}}
@media(max-width:560px){.dispatch-week-facetbar{grid-template-columns:minmax(0,1fr)}}
.dispatch-week-list-state{padding:7px 14px;border-bottom:1px solid #e3e9ee;background:#f8fbfd;color:#607486;font-size:.68rem;line-height:1.35}

/* 0.10.116: sichtbare Testimport-Sicherung im Dispo-Cockpit. */
.dispatch-week-test-import{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:12px 14px;border:1px solid #b9dcf4;background:#f1f8fd;border-radius:10px}.dispatch-week-test-import>div{display:grid;gap:3px;min-width:0}.dispatch-week-test-import strong{color:#0d4f7d}.dispatch-week-test-import span{font-size:13px;color:#536a7e;line-height:1.4}.dispatch-week-test-import .button{flex:0 0 auto}@media(max-width:760px){.dispatch-week-test-import{align-items:stretch;flex-direction:column}.dispatch-week-test-import .button{width:100%;text-align:center}}
.dispatch-week-site-summary{margin:2px 0 5px;color:#4e6679;font-size:.72rem;line-height:1.35}.dispatch-week-site-summary strong{color:#173b56}.dispatch-week-source-tags b{color:#315d79}

/* 0.10.117: disposition clarity for problem addresses and grouped meters */
.dispatch-week-filter[data-week-filter="geo_failed"] b{background:#fff0ed;color:#a74338}.dispatch-week-filter[data-week-filter="geo_failed"].active{border-color:#d47c70;background:#fff7f5}.dispatch-week-filter[data-week-filter="geo_failed"].active b{background:#b84d42;color:#fff}
.dispatch-week-selection-breakdown.has-warning{background:#fff7eb;color:#785419;border:1px solid #f0d9ad}

.dispatch-marker-cluster.address-group{z-index:4;background:#176f88}.dispatch-marker-cluster.address-group.selected-address-group{background:#e77f13;box-shadow:0 0 0 4px rgba(231,127,19,.2),0 2px 9px rgba(18,55,80,.35)}.dispatch-marker-cluster.address-group.selected-address-group.week-overflow{background:#8d6b49}.dispatch-marker-cluster.address-group.overdue{background:#bd4b3e}

.dispatch-week-order-actions{display:flex;align-items:center;gap:4px;margin-left:auto}.dispatch-week-order-actions a{display:grid;place-items:center;min-width:28px;height:28px;border-radius:7px;text-decoration:none}.dispatch-week-order-actions a:hover{background:#eaf3fa}.dispatch-week-hotline-link{color:#166b91!important}

/* 0.10.118: route-aware automatic clock planning for already assigned day jobs. */
.dispatch-day-autoplan{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 12px;border:1px solid #cfe0ec;border-radius:9px;background:linear-gradient(145deg,#f7fbfe,#edf7fc)}
.dispatch-day-autoplan>div{display:grid;gap:2px;min-width:0}.dispatch-day-autoplan strong{color:#173b56;font-size:.84rem}.dispatch-day-autoplan span{color:#607586;font-size:.73rem;line-height:1.35}.dispatch-day-autoplan .button{flex:0 0 auto;white-space:nowrap}
.dispatch-day-autoplan-undo{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 18px;border-top:1px solid #f0d39c;border-bottom:1px solid #f0d39c;background:linear-gradient(145deg,#fffdf8,#fff8e8)}
.dispatch-day-autoplan-undo>div{display:grid;gap:2px;min-width:0}.dispatch-day-autoplan-undo strong{color:#6f4e12;font-size:.84rem}.dispatch-day-autoplan-undo span{font-size:.73rem;color:#796640;line-height:1.4}.dispatch-day-autoplan-undo .button{flex:0 0 auto;white-space:nowrap}
.dispatch-planning-pane .dispatch-calendar-head .dispatch-day-autoplan{margin-top:8px}
@media(max-width:760px){.dispatch-day-autoplan,.dispatch-day-autoplan-undo{align-items:stretch;flex-direction:column}.dispatch-day-autoplan .button,.dispatch-day-autoplan-undo .button{width:100%}}

/* Bidirectional map/calendar focus: clicking a route stop highlights the matching appointment card. */
.dispatch-calendar-card.route-focused,.dispatch-pool-card.route-focused{border-color:#ef8b19!important;box-shadow:0 0 0 3px rgba(239,139,25,.2),0 3px 10px rgba(16,43,70,.16)!important}
.dispatch-day-autoplan small{color:#718493;font-size:.69rem;line-height:1.35}
.dispatch-day-autoplan-preview{padding:12px 18px;border-top:1px solid #b9d8e8;border-bottom:1px solid #b9d8e8;background:linear-gradient(145deg,#f8fcff,#eef8fc)}
.dispatch-day-autoplan-preview-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.dispatch-day-autoplan-preview-head>div{display:grid;gap:3px;min-width:0}.dispatch-day-autoplan-preview-head strong{color:#123f5c;font-size:.88rem}.dispatch-day-autoplan-preview-head span,.dispatch-day-autoplan-preview-head small{color:#5d7484;font-size:.73rem;line-height:1.4}.dispatch-day-autoplan-preview-head form{flex:0 0 auto}
.dispatch-day-autoplan-preview details{margin-top:8px}.dispatch-day-autoplan-preview summary{cursor:pointer;color:#2b5a76;font-size:.76rem;font-weight:700}.dispatch-day-autoplan-preview-list{display:grid;gap:5px;margin:8px 0 0;padding:0;list-style:none}.dispatch-day-autoplan-preview-list li{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:start;padding:6px 8px;border:1px solid #d8e8f0;border-radius:7px;background:#fff}.dispatch-day-autoplan-preview-list time{font-weight:800;color:#12557a;font-size:.78rem}.dispatch-day-autoplan-preview-list li>span{display:grid;gap:1px}.dispatch-day-autoplan-preview-list strong{font-size:.76rem;color:#253d4c}.dispatch-day-autoplan-preview-list small{font-size:.68rem;color:#687d8c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.dispatch-day-autoplan-preview-head{align-items:stretch;flex-direction:column}.dispatch-day-autoplan-preview-head .button{width:100%}.dispatch-day-autoplan-preview-list li{grid-template-columns:48px minmax(0,1fr)}}

/* 0.10.121 - project-team week overview */
.dispatch-week-team{display:grid;gap:14px;margin:12px 0;padding:17px 18px;border-color:#dbe5ec;background:linear-gradient(145deg,#fff,#f8fbfd);box-shadow:0 6px 20px rgba(30,59,82,.045)}
.dispatch-week-team-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-width:0}.dispatch-week-team-head>div:first-child{min-width:0}.dispatch-week-team-head h2{margin:1px 0 4px;color:#173651}.dispatch-week-team-head .hint{margin:0;max-width:820px;line-height:1.4}
.dispatch-week-team-totals{display:flex;gap:8px;flex:0 0 auto}.dispatch-week-team-totals>span{display:grid;justify-items:center;align-content:center;min-width:108px;min-height:60px;padding:7px 10px;border:1px solid #d7e4ed;border-radius:10px;background:#fff}.dispatch-week-team-totals b{font-size:1.15rem;color:#173b56}.dispatch-week-team-totals small{font-size:.64rem;font-weight:800;color:#607588;text-align:center}
.dispatch-week-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px}.dispatch-week-team-card{display:grid;gap:7px;min-width:0;padding:11px 12px;border:1px solid #dbe5ec;border-radius:11px;background:#fff;color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}.dispatch-week-team-card:hover{border-color:#9cc9e6;box-shadow:0 5px 15px rgba(24,93,140,.08);transform:translateY(-1px)}.dispatch-week-team-card.active{border-color:#3288c5;background:#eef8ff;box-shadow:inset 0 0 0 1px #a9d3ed}.dispatch-week-team-card.blocked{background:#fff7f4;border-color:#efd5cd}.dispatch-week-team-card.blocked:hover{transform:none;box-shadow:none}.dispatch-week-team-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0}.dispatch-week-team-card-top strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173b56}.dispatch-week-team-card-top>span{flex:0 0 auto;font-size:.72rem;font-weight:800;color:#47667d}.dispatch-week-team-card-top>span b{font-size:1rem;color:#12679d}.dispatch-week-team-bar{height:6px;border-radius:999px;background:#e9eff3;overflow:hidden}.dispatch-week-team-bar i{display:block;height:100%;border-radius:inherit;background:#4e9aca}.dispatch-week-team-card.active .dispatch-week-team-bar i{background:#247fbd}.dispatch-week-team-meta{display:flex;justify-content:space-between;gap:8px;font-size:.67rem;font-weight:750;color:#617789}.dispatch-week-team-card em{font-size:.63rem;font-style:normal;font-weight:850;color:#986b16}.dispatch-week-team-card small{font-size:.65rem;color:#6a7d8b}.dispatch-week-team-current{font-weight:850!important;color:#166b9e!important}
.dispatch-week-team-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.dispatch-week-team-day{display:grid;grid-template-columns:auto 1fr auto;gap:2px 7px;align-items:center;min-width:0;padding:8px 10px;border:1px solid #dce6ed;border-radius:9px;background:#f8fbfd}.dispatch-week-team-day>strong{color:#173b56}.dispatch-week-team-day>span{font-size:.68rem;color:#6e8190}.dispatch-week-team-day>b{justify-self:end;font-size:.78rem;color:#176b45}.dispatch-week-team-day>small{grid-column:1/-1;font-size:.62rem;color:#687d8d}.dispatch-week-team-day.past{opacity:.62;background:#f3f5f6}.dispatch-week-team-day.past>b{color:#6f7c84}
@media(max-width:1200px){.dispatch-week-team-head{flex-direction:column}.dispatch-week-team-totals{width:100%}.dispatch-week-team-totals>span{flex:1}.dispatch-week-team-days{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.dispatch-week-team-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.dispatch-week-team-totals>span{min-width:0}.dispatch-week-team-days{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.dispatch-week-team{padding:14px}.dispatch-week-team-totals,.dispatch-week-team-days{grid-template-columns:minmax(0,1fr)}.dispatch-week-team-grid{grid-template-columns:minmax(0,1fr)}}
.dispatch-week-draft-state{margin:5px 0 0;color:#5d7384;font-size:.66rem;line-height:1.35}.dispatch-week-draft-state::before{content:'✓ ';color:#2c7b54;font-weight:900}
.dispatch-week-team-availability{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.dispatch-week-team-availability span{display:grid;place-items:center;min-height:23px;border-radius:6px;background:#edf5ef;color:#26704a;font-size:.6rem;font-weight:900}.dispatch-week-team-availability span.no{background:#fff0ed;color:#a64a3f}.dispatch-week-team-availability span.past{background:#eef1f3;color:#7b878f}
.dispatch-week-team-pool{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 11px;border:1px solid #d9e6ee;border-radius:9px;background:#f5faff}.dispatch-week-team-pool strong{color:#174b6b;white-space:nowrap}.dispatch-week-team-pool span{font-size:.7rem;color:#587083;text-align:right;line-height:1.35}.dispatch-week-team-pool b{color:#176b45}@media(max-width:760px){.dispatch-week-team-pool{align-items:flex-start;flex-direction:column}.dispatch-week-team-pool span{text-align:left}}

/* 0.10.123: resizable desktop workspaces for day and week dispatch. */
.dispatch-desktop-workspace[data-dispatch-split]{grid-template-columns:minmax(0,var(--dispatch-split-left,43%)) 14px minmax(0,1fr);gap:0}
.dispatch-week-workspace[data-dispatch-split]{grid-template-columns:minmax(0,var(--dispatch-split-left,66%)) 14px minmax(0,1fr);gap:0}
.dispatch-workspace-splitter{position:relative;align-self:stretch;min-height:160px;display:flex;align-items:center;justify-content:center;cursor:col-resize;touch-action:none;user-select:none;outline:0;z-index:9}
.dispatch-workspace-splitter::before{content:"";position:absolute;inset:0 6px;background:#d8e1e8;border-radius:2px;transition:background .12s,box-shadow .12s}
.dispatch-workspace-splitter>span{position:relative;width:5px;height:56px;border-radius:999px;background:#8ca0b1;box-shadow:0 0 0 3px #fff;transition:background .12s,transform .12s,box-shadow .12s}
.dispatch-workspace-splitter:hover::before,.dispatch-workspace-splitter:focus-visible::before,.dispatch-workspace-splitter.is-dragging::before{background:#bdd7e9;box-shadow:inset 0 0 0 1px #9bc2dc}
.dispatch-workspace-splitter:hover>span,.dispatch-workspace-splitter:focus-visible>span,.dispatch-workspace-splitter.is-dragging>span{background:#1478c8;transform:scaleX(1.2);box-shadow:0 0 0 3px #fff,0 0 0 5px rgba(20,120,200,.18)}
.dispatch-desktop-workspace.is-splitting,.dispatch-week-workspace.is-splitting{cursor:col-resize}
body.dispatch-workspace-resizing{cursor:col-resize!important;user-select:none!important}
@media(max-width:1200px){.dispatch-desktop-workspace[data-dispatch-split]{display:block}.dispatch-desktop-workspace[data-dispatch-split]>.dispatch-workspace-splitter{display:none}}
@media(max-width:1350px){.dispatch-week-workspace[data-dispatch-split]{grid-template-columns:minmax(0,1fr);gap:16px}.dispatch-week-workspace[data-dispatch-split]>.dispatch-workspace-splitter{display:none}}

/* 0.10.125 desktop dispatch: keep the right workbench visible while the left day plan scrolls */
@media(min-width:1201px){
  .dispatch-desktop-workspace[data-dispatch-split="day"]>.dispatch-map-pane{
    position:sticky;
    top:8px;
    align-self:start;
    max-height:calc(100vh - 16px);
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-gutter:stable;
  }
}
@media(max-width:1200px){
  .dispatch-desktop-workspace[data-dispatch-split="day"]>.dispatch-map-pane{
    position:static;
    top:auto;
    max-height:none;
    overflow:visible;
    scrollbar-gutter:auto;
  }
}

/* Tages-Disposition: rein visuelle Karte <-> Auftrag-Hoverkopplung. */
.dispatch-calendar-card.linked-hover,.dispatch-pool-card.linked-hover,[data-order-row].linked-hover{border-color:#c7b6f0!important;background:#f2edff!important;box-shadow:0 0 0 2px rgba(109,66,199,.14),0 3px 10px rgba(33,26,55,.12)!important;position:relative;z-index:3}
[data-order-row].linked-hover td{background:#f2edff!important}
.dispatch-route-marker.linked-hover{z-index:9!important;background:#6d42c7!important;border-color:#fff!important;box-shadow:0 0 0 7px rgba(109,66,199,.24),0 4px 14px rgba(33,26,55,.38)!important;transform:translate(-50%,-50%) scale(1.14)}

/* 0.10.138/139: large-selection review helpers in weekly dispatch. */
.dispatch-week-selection-actions{grid-column:1/-1;display:grid;grid-template-columns:auto auto minmax(190px,1fr);gap:8px;align-items:center}
.dispatch-week-selection-actions .button{min-width:0;white-space:normal}
#dispatch-week-review-selected.active{background:#f2edff;border-color:#c7b6f0;color:#5a37a7;box-shadow:inset 0 0 0 1px rgba(109,66,199,.08)}
@media(max-width:720px){.dispatch-week-selection-actions{grid-template-columns:minmax(0,1fr)}}

/* 0.10.140/141: explicit reset + remembered day-pool filter. */
.dispatch-pool-quickfilters .dispatch-pool-filter-reset{border-style:dashed;background:#f7fafc;color:#375269}
.dispatch-pool-quickfilters .dispatch-pool-filter-reset:hover{background:#eef5fa;border-color:#7fa7c4;color:#1c4f72}
/* Multi-employee week planning: selection is separate from the employee detail view. */
.dispatch-week-team-planbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #cfe1ec;border-radius:10px;background:#f3f9fd}.dispatch-week-team-planbar>div:first-child{display:grid;gap:2px}.dispatch-week-team-planbar strong{color:#173b56}.dispatch-week-team-planbar span{font-size:.7rem;color:#5d7486}.dispatch-week-team-planbar .actions{display:flex;gap:7px;flex-wrap:wrap}
.dispatch-week-team-pick{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;font-size:.67rem;font-weight:850;color:#315c78;cursor:pointer}.dispatch-week-team-pick input{width:17px;height:17px;margin:0;accent-color:#247fbd}.dispatch-week-team-card:has(.dispatch-week-team-pick input:not(:checked)){opacity:.68;background:#f8fafb}.dispatch-week-team-card:has(.dispatch-week-team-pick input:checked){border-color:#7fb9db;box-shadow:inset 0 0 0 1px #c3e1f2}
.dispatch-week-team-open{font-size:.65rem;font-weight:800;color:#176b9d;text-decoration:none}.dispatch-week-team-open:hover{text-decoration:underline}.dispatch-week-team-preview{display:block!important;padding-top:4px;border-top:1px dashed #cfe0ea;font-weight:850!important;color:#176b45!important}.dispatch-week-team-card.has-team-preview{background:#f3fbf7}
.dispatch-week-origin{margin:10px 0}.dispatch-week-origin strong{margin-right:6px}
@media(max-width:760px){.dispatch-week-team-planbar{align-items:flex-start;flex-direction:column}.dispatch-week-team-planbar .actions{width:100%}.dispatch-week-team-planbar .actions .button{flex:1}}

/* Weekly team route window: one explicit work window for the complete team proposal. */
.dispatch-week-route-window{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:14px 16px;border:1px solid #cfe1ec;border-radius:14px;background:linear-gradient(145deg,#f6fbfe,#fff);box-shadow:0 8px 24px rgba(26,56,78,.04)}
.dispatch-week-route-window>div:first-child{display:grid;gap:3px;min-width:0}.dispatch-week-route-window>div:first-child>strong{color:#173b56;font-size:.98rem}.dispatch-week-route-window>div:first-child>small{max-width:820px;color:#607889;line-height:1.38}.dispatch-week-route-window-fields{display:flex;align-items:end;gap:9px;flex:0 0 auto}.dispatch-week-route-window-fields label{display:grid;gap:4px;font-size:.7rem;font-weight:700;color:#516b7f;text-transform:uppercase;letter-spacing:.03em}.dispatch-week-route-window-fields input{min-width:112px;padding:9px 10px;border:1px solid #b9cfdd;border-radius:9px;background:#fff;color:#173651;font:inherit;font-weight:700}.dispatch-week-route-window-fields>span{padding-bottom:10px;color:#8197a6;font-weight:800}
@media(max-width:760px){.dispatch-week-route-window{align-items:stretch;flex-direction:column}.dispatch-week-route-window-fields{justify-content:flex-start}.dispatch-week-route-window-fields label{flex:1}.dispatch-week-route-window-fields input{width:100%;min-width:0}}
.dispatch-week-team-preview{display:block;margin-top:7px;line-height:1.42;white-space:normal;color:#355a73;font-weight:650}
.dispatch-week-origin-marker{position:absolute;z-index:35;transform:translate(-50%,-50%);width:31px;height:31px;border:3px solid #fff;border-radius:8px;background:#173b56;color:#fff;font-size:.74rem;font-weight:900;line-height:1;box-shadow:0 3px 12px rgba(18,48,68,.35);cursor:pointer}.dispatch-week-origin-marker::after{content:"";position:absolute;left:50%;bottom:-7px;transform:translateX(-50%);border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #173b56}.dispatch-week-origin-marker:hover,.dispatch-week-origin-marker:focus-visible{z-index:60;outline:3px solid rgba(132,71,153,.25)}

/* Separate customer appointment windows for Mon-Thu and Friday. */
.dispatch-week-route-window-groups{align-items:center;gap:12px;flex-wrap:wrap}.dispatch-week-route-window-groups fieldset{display:flex;align-items:end;gap:8px;margin:0;padding:7px 9px 8px;border:1px solid #d7e5ee;border-radius:10px;min-width:0}.dispatch-week-route-window-groups legend{padding:0 5px;font-size:.66rem;font-weight:850;color:#365f78}.dispatch-week-route-window-groups fieldset>span{padding-bottom:10px;color:#8197a6;font-weight:800}.dispatch-week-route-window-groups .button{align-self:center;white-space:nowrap}
@media(max-width:980px){.dispatch-week-route-window-groups{width:100%}.dispatch-week-route-window-groups fieldset{flex:1 1 260px}.dispatch-week-route-window-groups .button{flex:1 1 100%}}
/* Week mass selection */
.dispatch-week-bulkbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 14px;border-bottom:1px solid #e3e9ee;background:#fff}.dispatch-week-bulkbar>div:first-child{display:grid;gap:1px;min-width:0}.dispatch-week-bulkbar strong{font-size:.76rem;color:#24445c}.dispatch-week-bulkbar small{font-size:.66rem;line-height:1.35;color:#667b8b}.dispatch-week-bulkbar .actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.dispatch-week-bulkbar .button{padding:7px 10px;font-size:.72rem}
@media(max-width:720px){.dispatch-week-bulkbar{align-items:stretch;flex-direction:column}.dispatch-week-bulkbar .actions{justify-content:stretch}.dispatch-week-bulkbar .button{flex:1}}

/* 0.10.196: split the dense week dispatcher into task-oriented work tabs. */
[data-dispatch-week-tab-panel][hidden]{display:none!important}
.dispatch-week-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:-8px 0 18px;padding:6px;border:1px solid #d8e3eb;border-radius:14px;background:#eef4f8;box-shadow:0 6px 18px rgba(25,55,78,.04)}
.dispatch-week-tab{position:relative;display:grid;gap:2px;min-width:0;min-height:56px;padding:9px 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:#526a7c;text-align:left;cursor:pointer;font:inherit;transition:background .15s,border-color .15s,box-shadow .15s,color .15s,transform .15s}
.dispatch-week-tab:hover{background:#f8fbfd;border-color:#d8e3eb;color:#24465e}
.dispatch-week-tab:focus-visible{outline:3px solid rgba(35,126,188,.2);outline-offset:2px}
.dispatch-week-tab.active{background:#fff;border-color:#c9dae6;color:#123b58;box-shadow:0 3px 12px rgba(24,61,88,.08);transform:translateY(-1px)}
.dispatch-week-tab.active::after{content:"";position:absolute;left:14px;right:14px;bottom:5px;height:3px;border-radius:999px;background:#2d86bf}
.dispatch-week-tab>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:850;letter-spacing:-.01em}
.dispatch-week-tab>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-bottom:4px;color:#738696;font-size:.65rem;font-weight:700}
.dispatch-week-tab.active>small{color:#527085}
.dispatch-week-team[data-dispatch-week-tab-panel],.dispatch-week-overview[data-dispatch-week-tab-panel],.dispatch-week-origin-form[data-dispatch-week-tab-panel],.dispatch-week-route-window[data-dispatch-week-tab-panel],.dispatch-week-undo[data-dispatch-week-tab-panel],.dispatch-week-poolbar[data-dispatch-week-tab-panel]{animation:dispatch-week-tab-in .14s ease-out}
.dispatch-week-plan-values-head[data-dispatch-week-tab-panel],.dispatch-week-kpis[data-dispatch-week-tab-panel],.dispatch-week-origin[data-dispatch-week-tab-panel],.dispatch-week-mobile-link[data-dispatch-week-tab-panel],.dispatch-week-workspace[data-dispatch-week-tab-panel]{animation:dispatch-week-tab-in .14s ease-out}
@keyframes dispatch-week-tab-in{from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:900px){.dispatch-week-tabs{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-6px}.dispatch-week-tab{min-height:52px}}
@media(max-width:520px){.dispatch-week-tabs{grid-template-columns:minmax(0,1fr)}.dispatch-week-tab{min-height:48px}}

/* 0.10.197: real multi-employee x multi-day planning matrix. */
.dispatch-week-team-matrix-wrap{max-width:100%;overflow:auto;border:1px solid #d7e3eb;border-radius:12px;background:#fff}
.dispatch-week-team-matrix{width:100%;min-width:1040px;border-collapse:separate;border-spacing:0;table-layout:fixed}
.dispatch-week-team-matrix th,.dispatch-week-team-matrix td{border-right:1px solid #e4ebf0;border-bottom:1px solid #e4ebf0;vertical-align:top}
.dispatch-week-team-matrix tr:last-child th,.dispatch-week-team-matrix tr:last-child td{border-bottom:0}
.dispatch-week-team-matrix th:last-child,.dispatch-week-team-matrix td:last-child{border-right:0}
.dispatch-week-team-matrix thead th{position:sticky;top:0;z-index:2;padding:9px 10px;background:#edf4f8;color:#24465e;text-align:left;font-size:.72rem}
.dispatch-week-team-matrix thead th:first-child{left:0;z-index:4;width:235px}
.dispatch-week-team-matrix thead th:not(:first-child){text-align:center}
.dispatch-week-team-matrix thead th strong{display:block;font-size:.82rem;color:#173b56}.dispatch-week-team-matrix thead th span{display:block;margin-top:1px;font-size:.64rem;color:#6c7f8d}
.dispatch-week-team-person{position:sticky;left:0;z-index:1;width:235px;padding:10px 11px;background:#fbfdfe;text-align:left}.dispatch-week-team-matrix tr.active .dispatch-week-team-person{background:#eef8ff}.dispatch-week-team-matrix tr.blocked .dispatch-week-team-person{background:#fff7f4}
.dispatch-week-team-person .dispatch-week-team-pick{width:100%;align-items:flex-start}.dispatch-week-team-person .dispatch-week-team-pick strong{font-size:.82rem;color:#173b56;line-height:1.25}.dispatch-week-team-person-state{display:block;margin:5px 0 2px;font-size:.65rem;font-weight:750;color:#5d7486}.dispatch-week-team-person-state b{font-size:.82rem;color:#176b45}.dispatch-week-team-person>small{display:block;margin-top:3px;font-size:.62rem;line-height:1.3;color:#657a89}.dispatch-week-team-person>small.warning{color:#946814;font-weight:800}.dispatch-week-team-person [data-week-team-row-preview]{color:#176b45;font-weight:850}.dispatch-week-team-person .dispatch-week-team-open{display:inline-block;margin-top:5px}
.dispatch-week-team-matrix tr.not-selected td,.dispatch-week-team-matrix tr.not-selected .dispatch-week-team-person{opacity:.52}.dispatch-week-team-matrix tr.not-selected:hover td,.dispatch-week-team-matrix tr.not-selected:hover .dispatch-week-team-person{opacity:.78}
.dispatch-week-team-cell{height:106px;padding:0;background:#fff}.dispatch-week-team-cell>a{display:grid;align-content:start;gap:5px;min-height:106px;padding:10px 10px;color:inherit;text-decoration:none}.dispatch-week-team-cell>a:hover{background:#f5faff}.dispatch-week-team-cell.available{background:#fcfffd}.dispatch-week-team-cell.unavailable{padding:10px;background:#fff7f4}.dispatch-week-team-cell.past{padding:10px;background:#f3f5f6;color:#74818a;opacity:.72}.dispatch-week-team-cell>strong{display:block;font-size:.72rem;color:#7a4140}.dispatch-week-team-cell>small{display:block;margin-top:4px;font-size:.61rem;line-height:1.25;color:#835f59}.dispatch-week-team-cell>span{display:block;margin-top:5px;font-size:.63rem}.dispatch-week-team-cell>span.conflict{color:#a33e34;font-weight:850}
.dispatch-week-team-cell-load{font-size:.65rem;color:#587083}.dispatch-week-team-cell-load b{font-size:.76rem;color:#173b56}.dispatch-week-team-cell-free{font-size:.72rem;color:#176b45}.dispatch-week-team-cell a>small{font-size:.59rem;color:#6a7d8c;line-height:1.25}.dispatch-week-team-cell em[data-week-team-cell-preview]{display:block;margin-top:3px;padding:5px 6px;border-radius:7px;background:#e9f7ee;color:#176b45;font-size:.61rem;font-style:normal;font-weight:850;line-height:1.28}.dispatch-week-team-cell.has-preview{box-shadow:inset 0 0 0 2px #8bc5a0;background:#f6fcf8}
.dispatch-week-team-matrix tfoot th,.dispatch-week-team-matrix tfoot td{padding:8px 10px;background:#f3f7fa}.dispatch-week-team-matrix tfoot th{position:sticky;left:0;z-index:1;color:#173b56;text-align:left;font-size:.72rem}.dispatch-week-team-matrix tfoot td{text-align:center}.dispatch-week-team-matrix tfoot td strong{display:block;font-size:.68rem;color:#176b45}.dispatch-week-team-matrix tfoot td small{display:block;margin-top:2px;font-size:.59rem;color:#6a7d8c}.dispatch-week-team-matrix tfoot td.past strong{color:#78848c}
@media(max-width:760px){.dispatch-week-team-matrix{min-width:920px}.dispatch-week-team-matrix thead th:first-child,.dispatch-week-team-person{width:205px}.dispatch-week-team-cell,.dispatch-week-team-cell>a{min-height:96px;height:auto}}

/* 0.10.197: the map stays visible while the task tabs switch on the left. */
.dispatch-week-tab-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,42vw);gap:14px;align-items:start;max-width:100%;min-width:0}
.dispatch-week-tab-main{min-width:0}.dispatch-week-map-rail{position:sticky;top:8px;min-width:0;align-self:start}.dispatch-week-map-rail .dispatch-map-panel{margin:0;padding:0;overflow:hidden;border-radius:12px;box-shadow:0 6px 22px rgba(25,55,78,.055)}
.dispatch-week-map-rail .dispatch-map{height:clamp(590px,72vh,820px)}.dispatch-week-map-rail .dispatch-map-head{align-items:flex-start;flex-direction:column;gap:10px;padding:14px 14px 11px}.dispatch-week-map-rail .dispatch-map-head .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}.dispatch-week-map-rail .dispatch-map-head .button{width:100%;min-width:0;padding:7px 8px;white-space:normal}.dispatch-week-map-rail .dispatch-map-legend{padding:7px 10px;gap:6px 9px}.dispatch-week-map-rail .dispatch-week-link-hint{margin-left:0!important}.dispatch-week-map-rail .dispatch-map-foot{align-items:flex-start;flex-direction:column}.dispatch-week-map-rail .dispatch-map-foot strong{text-align:left}
.dispatch-week-tab-main .dispatch-week-selection-panel{position:static;margin-top:0}.dispatch-week-tab-main .dispatch-week-order-list{max-height:clamp(500px,62vh,720px)}
@media(max-width:1450px){.dispatch-week-tab-layout{grid-template-columns:minmax(0,1fr) minmax(380px,38vw)}.dispatch-week-map-rail .dispatch-map{height:clamp(560px,68vh,760px)}}
@media(max-width:1120px){.dispatch-week-tab-layout{grid-template-columns:minmax(0,1fr)}.dispatch-week-map-rail{position:static}.dispatch-week-map-rail .dispatch-map{height:520px}.dispatch-week-map-rail .dispatch-map-head .actions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.dispatch-week-map-rail .dispatch-map-head .actions{grid-template-columns:1fr 1fr}.dispatch-week-map-rail .dispatch-map{height:460px}}
.dispatch-week-team-review{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 12px;border:1px solid #d8e4eb;border-radius:10px;background:#f7fafc}.dispatch-week-team-review>div:first-child{display:grid;gap:2px;min-width:0}.dispatch-week-team-review strong{color:#173b56}.dispatch-week-team-review span{font-size:.68rem;line-height:1.35;color:#5d7486}.dispatch-week-team-review .actions{display:flex;flex:0 0 auto;gap:7px;flex-wrap:wrap}.dispatch-week-team-review[data-state="ready"]{border-color:#b9dec7;background:#f3fbf6}.dispatch-week-team-review[data-state="ready"] strong{color:#176b45}.dispatch-week-team-review[data-state="warning"]{border-color:#ead79b;background:#fffbef}.dispatch-week-team-review[data-state="warning"] strong{color:#806018}.dispatch-week-team-review[data-state="error"]{border-color:#e5b9b2;background:#fff4f2}.dispatch-week-team-review[data-state="error"] strong{color:#a33e34}.dispatch-week-team-review[data-state="loading"]{border-color:#bfd8e8;background:#f2f8fc}
@media(max-width:760px){.dispatch-week-team-review{align-items:flex-start;flex-direction:column}.dispatch-week-team-review .actions{width:100%}.dispatch-week-team-review .actions .button{flex:1}}
.dispatch-week-project-time-hint{margin-top:4px}.dispatch-week-project-time-hint strong{color:#176b45}
.dispatch-week-project-basis{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;align-items:center;margin:0 0 12px}.dispatch-week-project-basis h2{margin:1px 0 4px;color:#173651}.dispatch-week-project-basis .hint{margin:0;max-width:780px;line-height:1.4}.dispatch-week-project-basis-values{display:flex;gap:8px}.dispatch-week-project-basis-values>span{display:grid;justify-items:center;align-content:center;min-width:104px;min-height:60px;padding:7px 9px;border:1px solid #d8e4eb;border-radius:10px;background:#f7fafc}.dispatch-week-project-basis-values b{font-size:1rem;color:#173b56}.dispatch-week-project-basis-values small{font-size:.61rem;font-weight:800;color:#617789;text-align:center}.dispatch-week-project-basis-values>span.ok{border-color:#b9dec7;background:#f3fbf6}.dispatch-week-project-basis-values>span.ok b{color:#176b45}.dispatch-week-project-basis-values>span.warning{border-color:#ead79b;background:#fffbef}.dispatch-week-project-basis-values>span.warning b{color:#806018}
@media(max-width:1000px){.dispatch-week-project-basis{grid-template-columns:minmax(0,1fr)}.dispatch-week-project-basis-values{flex-wrap:wrap}.dispatch-week-project-basis>.button{justify-self:start}}

/* 0.10.198: focused day workbench stays inside the shared week workspace. */
.dispatch-week-team-cell.focused{box-shadow:inset 0 0 0 2px #1e86cf;background:#f2f9ff}.dispatch-week-team-cell.focused>a{background:#f2f9ff}
.dispatch-week-daycard.focused{border-color:#78b7df;box-shadow:0 0 0 2px rgba(30,134,207,.13),0 5px 16px rgba(30,61,83,.07)}
.dispatch-week-day-workbench{display:grid;gap:11px;margin:0 0 16px;padding:14px;border:1px solid #d5e3ec;border-radius:12px;background:#f8fbfd}
.dispatch-week-day-workbench-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dispatch-week-day-workbench-head h3{margin:2px 0 3px;color:#173b56}.dispatch-week-day-workbench-head .hint{margin:0}.dispatch-week-day-workbench-head>.actions{flex:0 0 auto}
.dispatch-week-day-workbench-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.dispatch-week-day-workbench-stats>span{display:grid;gap:1px;align-content:center;min-height:54px;padding:7px 9px;border:1px solid #dce6ed;border-radius:9px;background:#fff}.dispatch-week-day-workbench-stats b{font-size:.9rem;color:#173b56}.dispatch-week-day-workbench-stats small{font-size:.61rem;font-weight:750;color:#657b8c}
.dispatch-week-day-autoplan-inline,.dispatch-week-day-undo-inline{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 11px;border:1px solid #d7e4eb;border-radius:9px;background:#fff}.dispatch-week-day-autoplan-inline>div,.dispatch-week-day-undo-inline>div{display:grid;gap:2px}.dispatch-week-day-autoplan-inline span,.dispatch-week-day-undo-inline span{font-size:.66rem;color:#63798a}.dispatch-week-day-undo-inline{border-color:#eadba8;background:#fffdf5}
.dispatch-week-day-preview-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding:11px;border:1px solid #acd7bd;border-radius:10px;background:#f2fbf5}.dispatch-week-day-preview-box>div:first-child{display:grid;gap:2px}.dispatch-week-day-preview-box>div:first-child strong{color:#176b45}.dispatch-week-day-preview-box>div:first-child span{font-size:.66rem;color:#547263}.dispatch-week-day-preview-items{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.dispatch-week-day-preview-items>span{padding:6px 8px;border-radius:7px;background:#fff;font-size:.66rem;color:#4a6375}.dispatch-week-day-preview-items b{color:#176b45}
.dispatch-week-day-order-list{display:grid;gap:6px}.dispatch-week-day-order{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid #dde6ed;border-radius:9px;background:#fff}.dispatch-week-day-order.buffer{border-style:dashed;background:#fffdf6}.dispatch-week-day-order>div:first-child{display:grid;gap:1px;min-width:0}.dispatch-week-day-order>div:first-child strong{color:#173b56;font-size:.76rem}.dispatch-week-day-order>div:first-child span{font-size:.69rem;color:#536d80;overflow-wrap:anywhere}.dispatch-week-day-order>div:first-child small{font-size:.62rem;color:#738493}.dispatch-week-day-order>.actions{display:flex;flex:0 0 auto;align-items:center;gap:5px}.dispatch-week-day-order>.actions form{margin:0}
@media(max-width:900px){.dispatch-week-day-workbench-head{flex-direction:column}.dispatch-week-day-workbench-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-week-day-preview-box{grid-template-columns:minmax(0,1fr)}.dispatch-week-day-preview-items{grid-column:auto;grid-template-columns:minmax(0,1fr)}.dispatch-week-day-order{align-items:flex-start;flex-direction:column}.dispatch-week-day-order>.actions{width:100%;flex-wrap:wrap}}

/* 0.10.198: Ausweichtermine are a first-class task tab in week dispatch. */
.dispatch-week-hotline-workbench{display:grid;gap:12px;margin:0}.dispatch-week-hotline-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.dispatch-week-hotline-head h2{margin:2px 0 4px;color:#173b56}.dispatch-week-hotline-head .hint{margin:0;max-width:780px;line-height:1.4}.dispatch-week-hotline-head>.actions{display:flex;flex:0 0 auto;gap:7px;flex-wrap:wrap}
.dispatch-week-hotline-state{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 11px;border:1px solid #d8e4eb;border-radius:9px;background:#f7fafc}.dispatch-week-hotline-state>div{display:grid;gap:2px}.dispatch-week-hotline-state strong{color:#173b56}.dispatch-week-hotline-state span{font-size:.66rem;color:#63798a;line-height:1.35}
.dispatch-week-hotline-columns{padding:0 10px}.dispatch-week-hotline-list{max-height:520px}.dispatch-week-hotline-empty{display:grid;gap:4px;padding:18px;border:1px dashed #bfd0dc;border-radius:10px;background:#f8fbfd;text-align:center}.dispatch-week-hotline-empty strong{color:#173b56}.dispatch-week-hotline-empty span{font-size:.72rem;color:#64798a;line-height:1.45}
@media(max-width:980px){.dispatch-week-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.dispatch-week-hotline-head,.dispatch-week-hotline-state{align-items:stretch;flex-direction:column}.dispatch-week-hotline-head>.actions{width:100%}}

/* 0.10.198: keep the five work tabs readable on narrower desktop windows. */
@media (max-width: 900px) {
  .dispatch-week-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .dispatch-week-tabs { grid-template-columns: minmax(0, 1fr); }
}

/* 0.10.199: optional two-week comparison without crowding the default planner. */
.dispatch-week-compare-toggle{white-space:nowrap;align-self:flex-start}
.dispatch-week-next-week{margin-top:14px;padding:14px;border:1px solid #dfe7ef;border-radius:14px;background:#f8fafc}
.dispatch-week-next-week-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}
.dispatch-week-next-week-head>div:first-child{display:grid;gap:3px}
.dispatch-week-next-week-head>div:first-child>strong{font-size:1.05rem}
.dispatch-week-next-week-head small{color:#667789}
.dispatch-week-next-week-totals{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.dispatch-week-next-week-totals span{display:grid;min-width:84px;padding:7px 9px;border:1px solid #dfe7ef;border-radius:10px;background:#fff;text-align:right}
.dispatch-week-next-week-totals b{font-size:1rem}
.dispatch-week-next-week-totals small{font-size:.72rem}
.dispatch-week-next-matrix-wrap{overflow:auto;border:1px solid #dde6ee;border-radius:12px;background:#fff}
.dispatch-week-next-matrix{width:100%;min-width:760px;border-collapse:collapse;font-size:.8rem}
.dispatch-week-next-matrix th,.dispatch-week-next-matrix td{padding:8px;border-right:1px solid #e7edf3;border-bottom:1px solid #e7edf3;vertical-align:top}
.dispatch-week-next-matrix thead th{background:#f1f5f8;text-align:left;white-space:nowrap}
.dispatch-week-next-matrix thead th:not(:first-child){text-align:center}
.dispatch-week-next-matrix thead span{display:block;color:#708092;font-weight:500}
.dispatch-week-next-matrix tbody th{min-width:150px;text-align:left;background:#fbfcfd}
.dispatch-week-next-matrix tbody th small{display:block;margin-top:3px;color:#a34a38;font-weight:500}
.dispatch-week-next-matrix td a{display:grid;gap:2px;color:inherit;text-decoration:none;min-height:48px}
.dispatch-week-next-matrix td.available:hover{background:#f1f8ff}
.dispatch-week-next-matrix td a>strong{color:#12633d}
.dispatch-week-next-matrix td.unavailable{background:#f8f8f8;color:#7f8a95}
.dispatch-week-next-matrix td.unavailable small{display:block;margin-top:3px}
.dispatch-week-next-empty{padding:16px;border:1px dashed #cfd9e2;border-radius:10px;color:#667789;background:#fff}
@media (max-width: 1100px){.dispatch-week-next-week-head{display:grid}.dispatch-week-next-week-totals{justify-content:flex-start}.dispatch-week-team-head{flex-wrap:wrap}.dispatch-week-compare-toggle{order:3}}

/* 0.10.200: preview current-week overflow against the optional follow-up week. */
.dispatch-week-next-preview{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 10px;padding:10px 12px;border:1px solid #dce6ee;border-radius:10px;background:#fff}
.dispatch-week-next-preview strong{font-size:.88rem}
.dispatch-week-next-preview span{color:#68798a;font-size:.8rem;text-align:right;max-width:620px}
.dispatch-week-next-matrix td em[data-next-week-team-cell-preview]{display:block;margin-top:4px;padding:3px 5px;border-radius:6px;background:#e7f5ec;color:#17663c;font-size:.72rem;font-style:normal;font-weight:750}
.dispatch-week-next-matrix td.preview-target{box-shadow:inset 0 0 0 2px rgba(28,132,79,.22);background:#f3fbf6}
@media (max-width: 900px){.dispatch-week-next-preview{display:grid}.dispatch-week-next-preview span{text-align:left}}

/* Cross-week overflow handoff: stays read-only until the normal target-week commit. */
.dispatch-week-overflow-handoff{display:flex;align-items:center;justify-content:space-between;gap:18px;border-color:#c8dff3;background:linear-gradient(135deg,#f7fbff,#eef7ff)}
.dispatch-week-overflow-handoff>div{display:grid;gap:4px}.dispatch-week-overflow-handoff strong{color:#173b5d}.dispatch-week-overflow-handoff span:not(.dispatch-week-eyebrow){color:#557086;max-width:820px}
.dispatch-week-handoff-loaded{margin:12px 0}.dispatch-week-handoff-loaded strong{margin-right:4px}
@media(max-width:900px){.dispatch-week-overflow-handoff{align-items:flex-start;flex-direction:column}.dispatch-week-overflow-handoff .button{width:100%;text-align:center}}
