.fleet-filters{display:flex;align-items:end;gap:20px;margin:20px 0;flex-wrap:wrap}.fleet-filters>label{flex:1;min-width:230px;max-width:440px}.fleet-warning{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff3d6;border:1px solid #e5c07c;border-left:4px solid #c78212;border-radius:10px;padding:16px 20px;margin-bottom:16px;color:#694514}.fleet-warning p{margin:5px 0 0;line-height:1.5;font-size:13px}.fleet-warning button{flex-shrink:0}.fleet-legend{display:flex;flex-wrap:wrap;gap:16px;padding:16px 20px;font-size:12px;color:#536171}.fleet-legend span{display:flex;align-items:center;gap:7px}.fleet-legend i{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:5px;font-style:normal;font-weight:800}.fleet-scroll{overflow:auto;max-height:650px;isolation:isolate}.fleet-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;text-align:center}.fleet-table th,.fleet-table td{border-bottom:1px solid #e5e8ec;min-width:37px;padding:4px 2px}.fleet-table th:first-child{position:sticky;left:0;z-index:2;min-width:160px;width:160px;text-align:left;padding:9px 12px;background:#fff;box-shadow:2px 0 2px #00000008}.fleet-table th small{display:block;color:#718094;font-size:10px;white-space:nowrap;font-weight:400}.fleet-table thead{position:sticky;top:0;z-index:3}.fleet-table thead th{background:#f0f3f6}.fleet-table thead th:first-child{background:#f0f3f6}.fleet-table thead button,.fleet-capacity button{padding:5px 2px;background:none;color:#29394c;width:100%;min-width:30px}.fleet-table .fleet-weeks th{background:#e1e7ed;font-size:10px;text-align:center;border-right:2px solid #fff}.fleet-weeks th:first-child{text-align:left}.fleet-table .fleet-group th,.fleet-table .fleet-group td{background:#edf1f4;color:#536477;font-size:11px;font-weight:700;text-align:left}.fleet-table .fleet-group td{padding-left:10px}.fleet-vehicle-name{padding:0;background:none;color:#26394b;text-align:left;font-size:13px}.fleet-cell{width:30px;height:32px;padding:0;border-radius:5px;font-weight:800;border:1px solid transparent}.fleet-available{background:#dcefe5!important;color:#1f6a44!important}.fleet-booked{background:#dbe8fa!important;color:#2b527f!important}.fleet-attention{background:#fff0cf!important;color:#98650e!important;border-color:#ebc272}.fleet-setup{background:#ede7f3!important;color:#735488!important}.fleet-no_driver{background:#f7e2e1!important;color:#9a3b39!important}.fleet-inactive{background:#e8e8e8!important;color:#777!important}.fleet-cell[aria-pressed=true]{outline:2px solid #233b54;outline-offset:1px}.fleet-table .fleet-weekend{background:#fdf1df}.fleet-table .fleet-week-start{border-left:2px solid #bdc8d3}.fleet-table .fleet-selected-day{box-shadow:inset 0 -2px #bf8018}.fleet-capacity td{background:#edf3f8;font-weight:800}.fleet-capacity th{background:#edf3f8!important}.fleet-explanation{font-size:12px;line-height:1.6;color:#687585;padding:12px 20px;margin:0}.fleet-day-panel{margin-top:20px}.fleet-day-body{padding:20px}.fleet-day-body>.fleet-explanation{padding:12px 0}.fleet-selected-card{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f6f8fa;border:1px solid #dce3e9;border-radius:10px;padding:18px;margin-bottom:18px}.fleet-selected-card h3{margin:5px 0}.fleet-selected-card p{margin:5px 0;line-height:1.5}.fleet-selected-card small{color:#657486}.fleet-blocked-label{white-space:nowrap;border-radius:20px;background:#f5e2e0;color:#99433d;padding:8px 15px;font-size:12px;font-weight:700}.fleet-type-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fleet-type-cards article{border:1px solid #e0e5e9;border-radius:10px;padding:16px}.fleet-type-cards article>span{display:block;font-size:12px;color:#617386;margin-bottom:7px}.fleet-type-cards strong{font-size:25px}.fleet-type-cards strong small{font-size:13px;font-weight:400;color:#617386}.fleet-type-cards p{font-size:13px;margin:8px 0 0}.fleet-driver-details{border-top:1px solid #e2e6eb;padding-top:16px;margin-top:8px}.fleet-driver-details summary{cursor:pointer;font-size:13px;font-weight:600}.fleet-driver-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:16px}.fleet-driver-grid article{background:#f6f8fa;border-radius:8px;padding:12px;font-size:12px;display:flex;flex-direction:column;gap:6px}.fleet-driver-grid small{color:#637589}.fleet-text-available{color:#286b48}.fleet-text-muted{color:#7c6060}.fleet-driver-types{border:1px solid #d7dfe6;border-radius:9px;padding:14px;min-width:0}.fleet-driver-types legend{font-size:14px;font-weight:600;padding:0 6px}.fleet-driver-types>div{display:flex;gap:25px;flex-wrap:wrap}.fleet-driver-types label{display:flex;flex-direction:row;align-items:center;gap:9px;cursor:pointer}.fleet-driver-types input[type=checkbox]{width:18px;height:18px;accent-color:#ca850d}.fleet-driver-types small{display:block;font-size:12px;line-height:1.5;color:#6c7680;margin-top:10px}.fleet-driver-kinds{color:#375875!important;font-weight:600}.fleet-booking-hint{background:#edf4ef;border:1px solid #cfded3;border-radius:6px;padding:12px;font-size:12px;color:#34533e;line-height:1.5}.fleet-booking-hint.is-blocked{background:#fff2e2;border-color:#e7c998;color:#80530d}@media(max-width:700px){.fleet-warning,.fleet-selected-card{align-items:stretch;flex-direction:column}.fleet-type-cards{grid-template-columns:1fr}.fleet-table th:first-child{min-width:125px;width:125px}.fleet-day-body{padding:12px}.fleet-legend{gap:10px;padding:12px}.fleet-table th,.fleet-table td{min-width:34px}}
.fleet-filters>label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.fleet-filters input{width:100%;border:1px solid #d3d9de;background:#fff;border-radius:8px;padding:12px;font:inherit;font-weight:400}.fleet-calendar-panel[aria-busy=true]{opacity:.7}
.fleet-calendar-head{flex-wrap:wrap;gap:16px}.fleet-month-controls{margin-left:auto;flex-wrap:wrap}.fleet-month-controls button{white-space:nowrap}@media(max-width:600px){.fleet-month-controls{margin-left:0;width:100%}.fleet-month-controls input{flex:1;min-width:140px}}
.fleet-cell{position:relative}.fleet-cell.has-reservations{box-shadow:inset 0 0 0 2px #b77915}.fleet-reservation-mark{position:absolute;right:-3px;top:-6px;min-width:16px;height:16px;line-height:16px;font-size:9px;border-radius:5px;background:#b9770a;color:#fff;border:1px solid #fff;z-index:1}.fleet-reservation-legend{background:#f8e5bc;color:#89520b}.fleet-hover-tip{position:fixed;z-index:10000;max-width:360px;width:max-content;max-width:min(360px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;background:#22313f;color:#fff;border:1px solid #485562;border-radius:10px;padding:13px 16px;font-size:12px;line-height:1.5;box-shadow:0 8px 28px #0003;pointer-events:none}.fleet-hover-tip[hidden]{display:none}.fleet-reservation-modal{width:min(650px,calc(100vw - 30px));max-height:90vh}.fleet-reservation-modal .modal-head p{font-size:13px;color:#617080;margin:5px 0 0}.fleet-reservation-body{padding:20px}.fleet-reservation-info{background:#fff5df;border-left:3px solid #c68819;color:#745423;padding:12px 14px;font-size:12px;line-height:1.6;border-radius:5px}.fleet-reservation-body h3{font-size:15px;margin:20px 0 12px}#fleetReservationStatus{font-size:12px;color:#687584;line-height:1.5;margin-top:10px}#fleetReservationForm{margin-top:20px;padding-top:1px;border-top:1px solid #e0e4e8}#fleetReservationForm label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;margin-top:15px}#fleetReservationForm label .muted{display:inline;font-weight:400}#fleetReservationNote{width:100%;resize:vertical;min-height:75px;font:inherit;border:1px solid #d3d9df;border-radius:7px;padding:10px}.fleet-reservation-form-actions{display:flex;justify-content:flex-end;margin-top:15px}.fleet-reservation-card{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #e0e4e8;border-radius:8px;padding:13px;margin-top:9px;font-size:13px;background:#fafbfc}.fleet-reservation-card small{display:block;color:#6c7887;font-size:11px;margin-top:6px}.fleet-reservation-card p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.fleet-reservation-card button{flex-shrink:0;font-size:12px}.fleet-reservation-empty{font-size:13px;color:#768190;border:1px dashed #d6dce2;border-radius:8px;padding:15px}.fleet-day-reservations{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #e8c98d;background:#fffaed;border-radius:9px;padding:15px;margin:-4px 0 18px;font-size:13px}.fleet-day-reservations p{margin:6px 0 0;color:#80663d}@media(max-width:600px){.fleet-day-reservations{flex-direction:column;align-items:stretch}.fleet-reservation-body{padding:14px}.fleet-reservation-card{gap:8px}}
.fleet-reservation-card-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch;flex-shrink:0}#fleetReservationStatus p{margin:10px 0;font-size:12px;line-height:1.6}#fleetReservationStatus>button{font-size:12px;margin-bottom:4px}@media(max-width:500px){.fleet-reservation-card{align-items:stretch;flex-direction:column}.fleet-reservation-card-actions{flex-direction:row;flex-wrap:wrap}}

/* Show the complete calendar: no inner scroll area, fixed equal-width day columns. */
.fleet-scroll{overflow:visible;max-height:none;width:100%;min-width:0}
.fleet-table{table-layout:fixed;width:100%}
.fleet-vehicle-column{width:clamp(125px,13vw,170px)}
.fleet-table th,.fleet-table td{min-width:0;padding:4px 2px}
.fleet-table th:first-child{position:static;min-width:0;width:auto;padding:6px 9px;overflow-wrap:anywhere;box-shadow:none}
.fleet-table th:first-child small{white-space:normal;overflow-wrap:anywhere}
.fleet-table thead{position:static}
.fleet-table thead button,.fleet-capacity button{min-width:0;padding:5px 0;font-size:11px}
.fleet-table thead small{font-size:9px}
.fleet-table .fleet-weeks th{padding:5px 1px;font-size:9px;line-height:1.2;overflow-wrap:anywhere}
.fleet-table .fleet-weeks th span{display:block}
.fleet-vehicle-name{max-width:100%;overflow-wrap:anywhere;font-size:12px}
.fleet-cell{width:100%;max-width:32px;min-width:0;height:29px;font-size:12px;border-radius:4px}
.fleet-reservation-mark{right:-1px;top:-4px;min-width:13px;height:13px;line-height:12px;font-size:8px}
@media(min-width:801px) and (max-width:1100px){
  .fleet-vehicle-column{width:125px}
  .fleet-table th,.fleet-table td{padding-inline:1px}
  .fleet-table .fleet-week-start{border-left-width:1px}
  .fleet-table thead button,.fleet-capacity button,.fleet-cell{font-size:10px}
  .fleet-table thead small{font-size:8px}
}
@media(max-width:800px){
  .fleet-table+.fleet-table{margin-top:22px;border-top:2px solid #bdc8d3}
  .fleet-vehicle-column{width:112px}
  .fleet-table th:first-child{padding:6px 8px}
  .fleet-cell{height:32px;max-width:40px}
  .fleet-table thead button,.fleet-capacity button{font-size:12px}
}

.fleet-cell.fleet-unavailable{background:#fce5e5;color:#a32121}
