.booking-calendar-panel>.toggle-line{display:none}.summary-pair:has(#summary-consecutive){display:none}.day-service-calendar .calendar-day-card{display:block;min-height:52px;padding:0;overflow:hidden;background:#fff;align-self:start}.day-service-calendar .calendar-day-card.is-selected{min-height:0;height:auto;background:#fff;border:2px solid #17191b}.calendar-date-select{width:100%;min-height:50px;border:0;background:transparent;color:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 3px;font:600 13px Manrope,Arial,sans-serif;cursor:pointer}.calendar-date-select:disabled{cursor:not-allowed}.calendar-date-select:focus-visible{outline:2px solid #17191b;outline-offset:-2px}.calendar-day-card.is-selected .calendar-date-select{background:#17191b;color:#fff}.calendar-day-card.is-selected .calendar-date-select small{color:#d9dbdc}.calendar-service-controls{display:grid;gap:6px;padding:6px;background:#fff}.day-add-service{min-height:28px;border:1px solid #d4d6d7;border-radius:6px;background:#fff;color:#17191b;font:600 9px Manrope,Arial,sans-serif;cursor:pointer}.day-add-service:hover{border-color:#777b7e}.day-add-service.is-active{background:#17191b;color:#fff;border-color:#17191b}.carpenter-availability-selector{display:grid;gap:4px;padding:0;border:0;background:transparent}.carpenter-availability-head{display:block;font-size:9px;line-height:1.2;color:#555b5e;font-weight:600}.carpenter-availability-head strong{display:none}.carpenter-number-choices{display:flex;align-items:center;gap:3px;flex-wrap:nowrap}.carpenter-number-choice{flex:1 1 0;width:auto;min-width:20px;max-width:28px;height:27px;border:1px solid #cfd2d3;border-radius:5px;background:#fff;color:#17191b;text-align:center;font:700 10px Manrope,Arial,sans-serif;box-sizing:border-box;padding:0;cursor:pointer}.carpenter-number-choice:hover{border-color:#777b7e}.carpenter-number-choice.is-active{background:#17191b;color:#fff;border-color:#17191b}.carpenter-count-entry{display:none!important}.day-operator-note{padding:4px 5px;border-radius:5px;background:#f1f1f0;color:#5d6265;text-align:center;font-size:8px;font-weight:600;line-height:1.3}.short-label{display:none}.booking-readonly{min-height:47px;border:1px solid #d5d7d8;border-radius:9px;padding:9px 11px;background:#fafafa;display:grid;gap:2px}.booking-readonly strong{font-size:12px}.booking-readonly span{font-size:10px;color:#6d7175}.summary-day-services{margin-top:12px;display:grid;gap:7px}.summary-day-service-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;padding-top:7px;border-top:1px solid #383c3e;font-size:10px;line-height:1.4;color:#d7d9da}.summary-day-service-row span:last-child{text-align:right;color:#fff}.calendar-day-card.is-weekend,.calendar-day-card.is-unavailable{background:#f6f6f5}.calendar-day-card.is-weekend .calendar-date-select,.calendar-day-card.is-unavailable .calendar-date-select{color:#a1a4a6}.calendar-day-card.is-weekend .calendar-date-select small,.calendar-day-card.is-unavailable .calendar-date-select small{color:#aaa}.calendar-day-card:not(.is-selected):has(.calendar-quick-options){min-height:0}.calendar-day-card:not(.is-selected):has(.calendar-quick-options) .calendar-date-select{min-height:44px;padding-bottom:2px}.calendar-quick-options{display:grid;gap:4px;padding:0 6px 7px;background:#fff}.calendar-quick-label{font-size:9px;line-height:1.2;color:#555b5e;font-weight:600;text-align:left}.calendar-quick-buttons{display:flex;gap:3px;align-items:center;flex-wrap:nowrap}.calendar-quick-button{flex:1 1 0;min-width:20px;max-width:28px;height:27px;border:1px solid #cfd2d3;border-radius:5px;background:#fff;color:#17191b;text-align:center;font:700 10px Manrope,Arial,sans-serif;padding:0;cursor:pointer}.calendar-quick-button:hover{border-color:#777b7e;background:#f7f7f6}@media(max-width:850px){.day-service-calendar .calendar-day-card.is-selected{min-height:0;height:auto}.calendar-service-controls{padding:5px;gap:4px}.day-add-service{min-height:25px;font-size:8px}.carpenter-availability-selector{padding:0;gap:3px}.carpenter-availability-head{font-size:8px}.carpenter-number-choices{gap:2px}.carpenter-number-choice{min-width:18px;max-width:25px;height:24px;font-size:9px}.calendar-quick-options{padding:0 4px 5px;gap:3px}.calendar-quick-label{font-size:8px}.calendar-quick-buttons{gap:2px}.calendar-quick-button{min-width:18px;max-width:25px;height:24px;font-size:9px}}@media(max-width:620px){.full-label{display:none}.short-label{display:inline}.day-service-calendar .calendar-day-card{min-height:48px}.day-service-calendar .calendar-day-card.is-selected{min-height:0;height:auto}.calendar-date-select{min-height:46px;font-size:12px;padding:4px 2px}.day-service-calendar .calendar-date-select small{display:block;font-size:6px;line-height:1.15;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-service-controls{padding:4px;gap:3px}.day-add-service{min-height:23px;border-radius:5px;padding:0 2px;font-size:8px}.carpenter-availability-selector{padding:0;gap:3px}.carpenter-availability-head{display:block;text-align:left;font-size:8px}.carpenter-availability-head span{display:inline}.carpenter-availability-head strong{display:none}.carpenter-number-choices{justify-content:flex-start;gap:2px}.carpenter-number-choice{min-width:17px;max-width:22px;height:21px;font-size:8px}.day-operator-note{padding:3px 2px;font-size:7px}.summary-day-service-row{grid-template-columns:1fr;gap:2px}.summary-day-service-row span:last-child{text-align:left}.calendar-day-card:not(.is-selected):has(.calendar-quick-options) .calendar-date-select{min-height:38px}.calendar-quick-options{padding:0 3px 4px;gap:2px}.calendar-quick-label{font-size:7px}.calendar-quick-buttons{gap:1px;flex-wrap:wrap}.calendar-quick-button{min-width:16px;max-width:20px;height:20px;font-size:8px}}

/* Selected dates use colour + border as the selected state, so the date header can stay compact. */
.day-service-calendar .calendar-day-card.is-selected .calendar-date-select{min-height:34px;padding:4px 3px;gap:0}
.day-service-calendar .calendar-day-card.is-selected .calendar-date-select small{display:none}
.day-service-calendar .calendar-day-card.is-selected .calendar-day-number{font-size:14px;font-weight:800;line-height:1}
.day-service-calendar .calendar-day-card.is-selected .calendar-service-controls{padding:5px 6px 6px}
@media(max-width:620px){.day-service-calendar .calendar-day-card.is-selected .calendar-date-select{min-height:30px;padding:3px 2px}.day-service-calendar .calendar-day-card.is-selected .calendar-day-number{font-size:13px}.day-service-calendar .calendar-day-card.is-selected .calendar-service-controls{padding:4px 5px 5px}}

/* Compact stacked layout: date strip, Carpenter quantity, then Excavator. */
.day-service-calendar .calendar-day-card:not(.is-weekend):not(.is-unavailable){max-width:132px;width:100%;justify-self:center}
.day-service-calendar .calendar-day-card:not(.is-selected):has(.calendar-quick-options) .calendar-date-select{min-height:31px;padding:4px 2px}
.calendar-quick-options,.day-service-calendar .calendar-day-card.is-selected .calendar-service-controls{gap:4px;padding:4px 5px 5px}
.calendar-quick-label,.carpenter-availability-head{font-size:8px;line-height:1.1}
.calendar-quick-buttons,.carpenter-number-choices{gap:2px}
.calendar-quick-button,.carpenter-number-choice{flex:0 0 21px;min-width:21px;max-width:21px;width:21px;height:22px;border-radius:5px;font-size:9px}
.calendar-quick-excavator,.day-service-calendar .day-add-service{width:100%;min-height:23px;height:23px;border:1px solid #cfd2d3;border-radius:5px;background:#fff;color:#17191b;font:700 8px Manrope,Arial,sans-serif;padding:0 4px;cursor:pointer;box-sizing:border-box}
.calendar-quick-excavator:hover,.day-service-calendar .day-add-service:hover{border-color:#777b7e;background:#f7f7f6}
.day-service-calendar .day-add-service.is-active{background:#17191b;color:#fff;border-color:#17191b}
.day-service-calendar .calendar-day-card.is-selected .calendar-date-select{min-height:29px;padding:3px 2px}
.day-service-calendar .calendar-day-card.is-selected .calendar-day-number{font-size:13px}
.day-operator-note{padding:3px 4px;font-size:7px}
@media(max-width:850px){.day-service-calendar .calendar-day-card:not(.is-weekend):not(.is-unavailable){max-width:118px}.calendar-quick-button,.carpenter-number-choice{flex-basis:19px;min-width:19px;max-width:19px;width:19px;height:21px;font-size:8px}.calendar-quick-excavator,.day-service-calendar .day-add-service{height:22px;min-height:22px;font-size:7px}}
@media(max-width:620px){.day-service-calendar .calendar-day-card:not(.is-weekend):not(.is-unavailable){max-width:none}.day-service-calendar .calendar-day-card:not(.is-selected):has(.calendar-quick-options) .calendar-date-select{min-height:28px}.calendar-quick-options,.day-service-calendar .calendar-day-card.is-selected .calendar-service-controls{padding:3px 3px 4px;gap:3px}.calendar-quick-button,.carpenter-number-choice{flex-basis:16px;min-width:16px;max-width:16px;width:16px;height:19px;font-size:7px}.calendar-quick-excavator,.day-service-calendar .day-add-service{height:20px;min-height:20px;font-size:7px}.day-service-calendar .calendar-day-card.is-selected .calendar-date-select{min-height:26px}.day-service-calendar .calendar-day-card.is-selected .calendar-day-number{font-size:12px}}

/* Mobile uses the calendar only for date selection. Crew/equipment editing moves into a full-width panel below it. */
.mobile-day-editor{display:none}
@media(max-width:620px){
  .booking-calendar-panel{padding:10px;border-radius:10px}
  .calendar-toolbar{margin-bottom:9px;gap:8px}
  .calendar-nav{width:36px;height:36px;border-radius:8px;font-size:18px}
  .calendar-month-label{font-size:14px}
  .calendar-weekdays,.calendar-grid{gap:3px}
  .calendar-weekdays{margin-bottom:4px}
  .calendar-weekdays span{font-size:8px;letter-spacing:.02em}
  .day-service-calendar .calendar-day-card,
  .day-service-calendar .calendar-day-card.is-selected,
  .day-service-calendar .calendar-day-card:not(.is-selected):has(.calendar-quick-options){height:43px!important;min-height:43px!important;max-height:43px!important;border-radius:7px;overflow:hidden}
  .day-service-calendar .calendar-day-card.is-selected{border:2px solid #17191b}
  .day-service-calendar .calendar-date-select,
  .day-service-calendar .calendar-day-card.is-selected .calendar-date-select,
  .day-service-calendar .calendar-day-card:not(.is-selected):has(.calendar-quick-options) .calendar-date-select{height:100%!important;min-height:0!important;padding:3px 1px!important;gap:1px}
  .day-service-calendar .calendar-day-number,
  .day-service-calendar .calendar-day-card.is-selected .calendar-day-number{font-size:11px;line-height:1;font-weight:750}
  .day-service-calendar .calendar-date-select small{display:none!important}
  .day-service-calendar .calendar-service-controls,
  .day-service-calendar .calendar-quick-options{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important}
  .calendar-legend{display:none!important}
  .mobile-day-editor{display:grid;gap:10px;margin-top:10px;padding:12px;border:1px solid #d8dadb;border-radius:9px;background:#f7f7f6}
  .mobile-day-editor[hidden]{display:none!important}
  .mobile-day-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:8px;border-bottom:1px solid #dedede}
  .mobile-day-editor-head span{font-size:10px;color:#6d7175;font-weight:600}
  .mobile-day-editor-head strong{font-size:13px;color:#17191b}
  .mobile-day-editor-group{display:grid;gap:6px}
  .mobile-day-editor-label{font-size:11px;font-weight:700;color:#17191b}
  .mobile-day-editor-choices{display:flex;gap:6px;flex-wrap:wrap}
  .mobile-day-editor-number{width:40px;height:40px;border:1px solid #cfd2d3;border-radius:7px;background:#fff;color:#17191b;font:700 13px Manrope,Arial,sans-serif;cursor:pointer}
  .mobile-day-editor-number.is-active{background:#17191b;color:#fff;border-color:#17191b}
  .mobile-day-editor-excavator{width:100%;min-height:42px;border:1px solid #cfd2d3;border-radius:7px;background:#fff;color:#17191b;font:700 11px Manrope,Arial,sans-serif;cursor:pointer}
  .mobile-day-editor-excavator.is-active{background:#17191b;color:#fff;border-color:#17191b}
  .mobile-day-editor-note{padding:8px 9px;border-radius:7px;background:#ececeb;color:#555b5e;font-size:9px;line-height:1.4}
  .calendar-selection-note{display:none!important}
  .selected-date-strip{display:none!important}
  .calendar-preview-note{margin-top:9px;font-size:8px;text-align:center}
  .flow-step[data-step="2"] .step-actions{margin-top:12px}
  .flow-step[data-step="2"] .continue-button{width:100%}
}
