:root{--dispatch-header-height:76px;--plan-summary-height:0px;--fleet-controls-height:170px}
.plan-sticky-summary{position:sticky;top:var(--dispatch-header-height);z-index:8;background:var(--bg,#f5f3ef);padding:3px 0 6px;box-shadow:0 4px 7px #2119000d}
.plan-sticky-summary #stats{margin-bottom:4px}.plan-sticky-summary #assignmentCard{margin:3px 0 5px}.plan-sticky-summary #assignmentCard .assignment-content{max-height:min(32vh,280px);overflow:auto}.plan-sticky-summary .day-customer-summary{margin-bottom:0;padding:7px 10px}.plan-sticky-summary .day-customer-summary-head{margin-bottom:5px}.plan-sticky-summary .day-customer-summary-list article{padding:4px 7px}
#planView .main-panel{overflow:visible}#planView .job-head{position:sticky;top:calc(var(--dispatch-header-height) + var(--plan-summary-height));z-index:6;border-radius:6px 6px 0 0;box-shadow:0 2px 3px #0001}
#fleetView .fleet-calendar-panel{overflow:visible}.fleet-sticky-controls{position:sticky;top:var(--dispatch-header-height);z-index:8;background:#fff;border-radius:7px 7px 0 0;box-shadow:0 3px 6px #2119000c}
#fleetView .fleet-filters{margin:0;padding:7px 10px;gap:9px;border-bottom:1px solid #e6e1d8}#fleetView .fleet-filters>label{font-size:11px;gap:3px;max-width:360px;min-width:190px}#fleetView .fleet-filters input{padding:6px 9px;font-size:12px;height:32px}#fleetView .fleet-filters .vacation-types{padding:3px;gap:3px}#fleetView .fleet-filters .vacation-types button{padding:5px 9px;font-size:11px;min-height:30px}
#fleetView .fleet-calendar-head{padding:6px 10px;gap:7px}#fleetView .fleet-calendar-head h2{font-size:14px}#fleetView .fleet-calendar-head p{font-size:10px;margin:1px 0 0}#fleetView .fleet-window-controls{gap:5px}#fleetView .fleet-window-controls button{padding:4px 9px;min-height:30px;font-size:11px}#fleetView .fleet-window-controls b{font-size:12px;min-width:175px}#fleetView .fleet-window-controls .smart-select{width:86px;flex-basis:86px}#fleetView .fleet-window-controls .smart-select-trigger{min-height:30px;padding:5px 8px;font-size:11px}
#fleetView .vacation-window-slider{padding:5px 10px}#fleetView .vacation-window-slider label,#fleetView .vacation-window-slider>div{font-size:10px}#fleetView .vacation-window-slider input{height:16px;margin:3px 0}#fleetView .fleet-legend{padding:5px 10px;gap:10px;font-size:10px}#fleetView .fleet-legend i{width:18px;height:18px;font-size:11px}#fleetView .calendar-drag-help{padding:3px 10px;font-size:10px}#fleetView .fleet-capacity-key{padding:3px 10px;font-size:10px;gap:8px}
#fleetView .fleet-scroll{max-height:max(250px,calc(100dvh - var(--dispatch-header-height) - var(--fleet-controls-height) - 12px));overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#fleetView .fleet-table thead{position:sticky;top:0;z-index:6}#fleetView .fleet-table .fleet-weeks th{padding:4px 0;font-size:9px}#fleetView .fleet-table thead button{padding:3px 0;font-size:10px}#fleetView .fleet-table thead small{font-size:8px}
#fleetView .fleet-capacity-summary{position:sticky;z-index:5;background:#fff}#fleetView .fleet-capacity-summary th,#fleetView .fleet-capacity-summary td{height:28px;padding:2px 1px;background:#f9fafb}#fleetView .fleet-capacity-summary th{font-size:10px;white-space:nowrap;padding-left:8px}#fleetView .fleet-capacity-summary th small{display:none}#fleetView .fleet-capacity-summary .fleet-summary-cell{height:22px;min-height:22px;line-height:22px;padding:0;font-size:11px;border-radius:3px}
#fleetView .fleet-table tbody tr:not(.fleet-capacity-summary) td{padding:2px 1px}#fleetView .fleet-table .fleet-cell{height:25px;font-size:11px}#fleetView .fleet-vehicle-name{font-size:11px}
#fleetView .fleet-table tbody tr:not(.fleet-capacity-summary) th{padding:3px 8px;line-height:1.15}#fleetView .fleet-vehicle-name{line-height:1.2}#fleetView .fleet-table th:first-child small{font-size:9px;line-height:1.15}
@media(min-width:1150px){.fleet-sticky-controls{display:grid;grid-template-columns:minmax(430px,1fr) minmax(510px,1.2fr)}.fleet-sticky-controls>:not(.fleet-filters):not(.fleet-calendar-head){grid-column:1/-1}#fleetView .fleet-filters{gap:7px;align-items:center}#fleetView .fleet-filters>label{flex:1;min-width:180px;max-width:290px}#fleetView .fleet-calendar-head p{display:none}#fleetView .fleet-calendar-head h2{font-size:12px}#fleetView .fleet-calendar-head{align-items:center;justify-content:space-between}}
@media(max-width:700px){#fleetView .fleet-filters{gap:5px}#fleetView .fleet-filters>label{flex:1;max-width:none}#fleetView .fleet-calendar-head p{display:none}#fleetView .fleet-window-controls{width:100%;margin:0}#fleetView .fleet-legend{gap:6px}.plan-sticky-summary .day-customer-summary-head{gap:5px}.plan-sticky-summary .day-customer-summary-list{gap:4px}}

