/* WCT Calendar. Presentation over the existing authoritative planning model. */
.calendar-focus{--cal-ink:#172125;--cal-muted:#657176;--cal-line:#e5e9e9;--cal-paper:#fff;--cal-wash:#f5f7f6;background:#f3f5f4}
.calendar-focus .ops-shell{max-width:1720px;padding:22px 28px 36px}
#calendarSurface{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--cal-paper);color:var(--cal-ink);border:1px solid #dfe5e3;border-radius:16px;box-shadow:0 7px 26px #20352e06;overflow:hidden;--vehicle-column:164px;--day-min:84px;--closed-day-min:54px}
#calendarSurface button{font-family:inherit;touch-action:manipulation}
#calendarSurface button:focus-visible,.planning-drawer button:focus-visible{outline:3px solid #c5a600;outline-offset:3px}
#calendarSurface .calendar-titlebar{padding:24px 25px 18px;gap:20px;background:#fff;border-bottom:0;align-items:center}
#calendarSurface .calendar-titlebar .eyebrow{display:block;color:#68716e;font-size:10px;letter-spacing:1.8px;font-weight:750;margin-bottom:9px}
#calendarSurface .calendar-titlebar .eyebrow:before{content:"";display:inline-block;width:19px;height:3px;background:#e2c300;vertical-align:middle;margin-right:8px}
#calendarSurface .calendar-titlebar h2{font-size:30px;font-weight:740;line-height:1.2;letter-spacing:-1.1px;margin:0}
#calendarSurface .calendar-titlebar p{font-size:12px;color:var(--cal-muted);line-height:1.5;margin-top:6px}
#calendarSurface .planning-heading{gap:10px;align-items:center}
#calendarSurface .planning-help{width:25px;height:25px;min-height:25px;border:1px solid #dce2df;color:#6b7571;background:#fff;font-size:12px}
#calendarSurface .calendar-actions{gap:9px;align-items:center;flex-wrap:nowrap}
#calendarSurface .calendar-actions button{min-height:44px;border-radius:9px;font-size:12px;font-weight:700;padding:11px 16px;white-space:nowrap}
#calendarSurface .calendar-actions .primary{background:#eed300;border:1px solid #dec400;color:#242800;box-shadow:0 2px 3px #7c6b0010}
#calendarSurface .calendar-actions .primary:hover{background:#f7dc08}
#calendarSurface .calendar-actions .secondary{background:#fff;border:1px solid #d8dfdc;color:#3c4944}
#calendarSurface .calendar-commandbar{padding:0 25px 18px;gap:15px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--cal-line)}
#calendarSurface .calendar-controls{display:flex;gap:5px;align-items:center;min-width:0}
#calendarSurface .calendar-controls button{height:37px;min-height:37px;border:1px solid #dfe5e2;border-radius:7px;padding:7px 11px;background:#fff;color:#36443d;font-size:12px;font-weight:650}
#calendarSurface #calendarToday{margin-right:3px;background:#f3f6f3}
#calendarSurface #calendarDate{width:137px;min-width:0;height:37px;min-height:37px;padding:7px 9px;border:1px solid #dfe5e2;border-radius:7px;background:#fff;color:#34443c;font-size:12px;font-weight:650}
#calendarSurface .view-toggle{background:#edf1ee;padding:4px;border:1px solid #e5eae6;border-radius:9px;display:flex;gap:2px}
#calendarSurface .view-toggle button{min-height:32px;padding:7px 14px;border-radius:6px;font-size:12px;font-weight:650;white-space:nowrap;color:#6b756f;background:transparent;border:0}
#calendarSurface .view-toggle button.active{color:#fff;background:#26332d;box-shadow:0 1px 3px #172b3020}
#calendarSurface .calendar-secondary-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
#calendarSurface .calendar-secondary-actions button{min-height:36px;padding:7px 10px;border:1px solid #dfe5e2;border-radius:7px;background:#fff;color:#5c6a62;font-size:11px;font-weight:650}
#calendarSurface .calendar-secondary-actions button[aria-pressed=true]{background:#edf2eb;border-color:#92a68e;color:#283b24}
#calendarSurface #findCapacity{display:none}
#calendarSurface #scenarioModeToggle{border-style:dashed;font-size:10px;background:#f9faf7;color:#707663}
#calendarSurface .calendar-summary{display:grid;grid-template-columns:1.12fr 1.35fr 1fr 1fr 1fr;gap:0;margin:0 25px;padding:17px 0;border-bottom:1px solid var(--cal-line);background:#fff}
#calendarSurface .summary-tile{background:#fff;border:0;border-right:1px solid #e9edea;border-radius:0;padding:0 18px;text-align:left;min-height:76px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;box-shadow:none;color:var(--cal-ink)}
#calendarSurface .summary-tile:first-child{padding-left:0}
#calendarSurface .summary-tile:last-child{border-right:0;padding-right:0}
#calendarSurface .summary-tile .summary-label{font-size:11px;letter-spacing:1.2px;font-weight:750;color:#6b746e;order:0}
#calendarSurface .summary-tile>b{font-size:27px;font-weight:720;line-height:1;letter-spacing:-.8px;order:1}
#calendarSurface .summary-tile.capacity>b{font-size:20px;letter-spacing:-.4px}
#calendarSurface .summary-tile small{display:block;white-space:normal;overflow:visible;font-size:10px;color:#6c746e;font-weight:450;line-height:1.4;order:2}
#calendarSurface .summary-tile.warn>b{color:#a24c3d}
#calendarSurface .summary-tile.check>b{color:#8f6d2d}
#calendarSurface .summary-tile:hover{background:#f8faf7}
#calendarSurface .calendar-website-entry{margin:12px 25px 0;padding:9px 12px;background:#f5f7f4;border:1px solid #e7ece6;border-radius:8px;min-height:0;align-items:center;gap:12px}
#calendarSurface .calendar-website-entry>div{display:flex;gap:11px;align-items:center;min-width:0;flex-wrap:wrap}
#calendarSurface .calendar-website-entry .eyebrow{font-size:11px;letter-spacing:1px;color:#6a776b;margin:0}
#calendarSurface .calendar-website-entry p{font-size:11px;font-weight:550;color:#4a5d4d;margin:0}
#calendarSurface .calendar-website-entry button{min-height:28px;padding:4px 9px;background:#fff;border:1px solid #dce4da;border-radius:5px;font-size:10px;color:#51634c;white-space:nowrap}
#calendarSurface .calendar-toolbar{padding:15px 25px 10px;background:#fff;border:0;min-height:0;gap:12px}
#calendarSurface .calendar-filters{gap:5px;flex-wrap:wrap}
#calendarSurface .calendar-filters button{border:0;background:#fff;color:#6b756d;font-size:12px;font-weight:550;border-radius:6px;min-height:34px;padding:7px 12px;box-shadow:none}
#calendarSurface .calendar-filters button.active{background:#edf2eb;color:#34472e;font-weight:750}
#calendarSurface .opportunity-toggle{background:#fff;border:1px solid #e1e7e2;border-radius:6px;min-height:32px;padding:6px 10px;font-size:11px;letter-spacing:.55px;color:#657366}
#calendarSurface .opportunity-toggle b{color:#fff;background:#66755f;font-size:10px;width:18px;height:18px;min-width:18px;display:inline-grid;place-items:center;margin-left:5px}
#calendarSurface .people-capacity{margin:0 25px 13px;border:1px solid #e7ece6;border-radius:8px;background:#fbfcfa;font-size:12px}
#calendarSurface .people-capacity>summary{min-height:36px;padding:9px 12px;color:#4f6150;font-size:11px;font-weight:650;gap:8px}
#calendarSurface .people-capacity>summary span{font-weight:450;color:#697567;font-size:11px}
#calendarSurface .people-capacity>div{padding:12px}
#calendarSurface .calendar-main{padding:0 25px 24px;min-width:0}
#calendarSurface .calendar-layout{display:block;min-height:0}
#calendarSurface .calendar-view-context{background:none;border:0;border-top:1px solid var(--cal-line);border-radius:0;padding:12px 0;margin:0;min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:10px}
#calendarSurface .calendar-view-context>div:first-child{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
#calendarSurface .calendar-view-context b{font-size:12px;font-weight:700;color:#445449}
#calendarSurface .calendar-view-context span{font-size:10px;color:#70766e}
#calendarSurface .calendar-context-actions{gap:10px;align-items:center;display:flex}
#calendarSurface .calendar-context-actions button{min-height:28px;font-size:10px;padding:4px 8px;border:1px solid #e1e7df;background:#fff;border-radius:5px}
#calendarSurface .calendar-freshness{white-space:nowrap}
#calendarSurface .fleet-week{grid-template-columns:var(--fleet-columns);border:1px solid #dfe6de;border-radius:9px;max-height:none;min-height:300px;background:#fff;overflow:auto}
#calendarSurface .fleet-corner,#calendarSurface .fleet-day{background:#f5f7f3;color:#54624f;border-color:#e0e7dc;min-height:64px;padding:12px 10px;position:sticky;top:0;z-index:2}
#calendarSurface .fleet-corner{z-index:4;left:0;display:flex;flex-direction:column;justify-content:center;gap:4px}
#calendarSurface .fleet-corner>b{font-size:11px;letter-spacing:1.2px}
#calendarSurface .fleet-corner>span{font-size:10px;color:#6f766b}
#calendarSurface .fleet-day-select{color:#5d6b56;background:none;border:0;padding:0;min-height:24px;width:auto;text-align:left}
#calendarSurface .fleet-day-select b{font-size:12px;letter-spacing:.2px;font-weight:700}
#calendarSurface .fleet-day>span{font-size:10px;color:#6e7668;letter-spacing:.4px;margin-top:4px;display:block}
#calendarSurface .fleet-day.selected-day{background:#f4efcd;box-shadow:inset 0 3px #ddc43c}
#calendarSurface .fleet-day.selected-day .fleet-day-select{color:#6e601c}
#calendarSurface .fleet-day.closed{background:#f7f8f6;color:#6e7469}
#calendarSurface .fleet-vehicle{background:#fff;display:flex;gap:8px;align-items:center;border-color:#e8ede6;padding:12px 9px;min-height:105px;text-align:left}
#calendarSurface .fleet-vehicle:hover{background:#f7faf5}
#calendarSurface .fleet-vehicle-symbol{width:25px;height:22px;opacity:.65}
#calendarSurface .fleet-vehicle b{font-size:12px;letter-spacing:.2px;color:#43513d;line-height:1.5}
#calendarSurface .fleet-vehicle span{font-size:10px;line-height:1.4;color:#6d7566;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:3px 0}
#calendarSurface .fleet-vehicle small{font-size:11px;color:#6f7569;white-space:nowrap}
#calendarSurface .fleet-cell{border-color:#e9eee7;min-height:105px;padding:6px;background:#fff}
#calendarSurface .fleet-cell.closed{background:repeating-linear-gradient(-45deg,#f8f9f6,#f8f9f6 5px,#f4f6f1 5px,#f4f6f1 10px)}
#calendarSurface .cell-overview{height:100%;min-height:88px;padding:9px 7px;border-radius:6px;border:1px solid color-mix(in srgb,var(--status-color),transparent 80%);border-left:3px solid var(--status-color);background:var(--status-background);box-shadow:none}
#calendarSurface .cell-overview:hover{box-shadow:0 3px 11px #24352614;filter:brightness(.99)}
#calendarSurface .cell-overview h4{font-size:11px;line-height:1.4;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 5px;min-height:15px;font-weight:700;color:#36493a}
#calendarSurface .cell-status{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
#calendarSurface .cell-status b{font-size:10px;line-height:1.4;color:#586650;white-space:normal}
#calendarSurface .cell-status span{font-size:11px;font-weight:600;line-height:1.4;color:var(--status-color)}
#calendarSurface .cell-driver{font-size:11px;line-height:1.4;color:#6c7965;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:6px 0 0}
#calendarSurface .cell-readiness{font-size:10px;line-height:1.4;color:#6c7765;margin:3px 0 0}
#calendarSurface .scenario-stage{margin-top:6px;gap:2px;height:3px}
#calendarSurface .scenario-stage i{border-radius:2px;height:3px}
#calendarSurface .cell-occupation{font-size:10px;margin-top:5px;line-height:1.3}
#calendarSurface .empty-slot{background:transparent;border:0;min-height:88px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;font-size:10px;padding:8px;color:#6d7665;font-weight:450;line-height:1.5}
#calendarSurface .empty-slot>span{display:none}
#calendarSurface .empty-slot small{font-size:10px;color:#71776b;margin-top:3px;font-weight:400}
#calendarSurface .empty-slot:hover{background:#f5f8f0;border-radius:5px;color:#667655}
#calendarSurface .cell-closed,#calendarSurface .scenario-free{font-size:10px;font-weight:400;color:#70756c}
#calendarSurface .cell-resource-blocked{display:block;color:#92695e;font-size:10px;padding:15px 4px}
#calendarSurface .resource-lane-label,#calendarSurface .resource-lane-cell{font-size:10px;line-height:1.4;border-color:#e8ede5;padding:11px 8px;min-height:42px;background:#fafbf8;color:#6c7562}
#calendarSurface .resource-lane-label{font-weight:600}
#calendarSurface .resource-lane-cell button{font-size:10px;min-height:26px;color:#647756}
#calendarSurface .command-agenda{display:none}
#calendarSurface[data-view=day][data-filter=ALL] #calendarPlanner,#calendarSurface[data-view=day][data-filter=DELIVERIES] #calendarPlanner{display:none}
#calendarSurface[data-view=day][data-filter=ALL] .command-agenda,#calendarSurface[data-view=day][data-filter=DELIVERIES] .command-agenda{display:block}
#calendarSurface .agenda-day{background:#fff;border:1px solid #e1e7de;border-radius:10px;overflow:hidden;margin:0 0 16px}
#calendarSurface .agenda-day>header{padding:13px 17px;background:#f8faf5;border-bottom:1px solid #e4eadf;display:flex;align-items:center;justify-content:space-between;gap:10px}
#calendarSurface .agenda-day>header>div{display:flex;align-items:center;gap:10px}
#calendarSurface .agenda-day>header span{font-size:11px;letter-spacing:1px;color:#6a765e}
#calendarSurface .agenda-day>header b{font-size:12px;font-weight:650;color:#43543c}
#calendarSurface .agenda-day>header small{font-size:10px;color:#6c7661}
#calendarSurface .agenda-day>div{display:flex;flex-direction:column;gap:0;padding:0}
#calendarSurface .command-card{position:relative;display:flex;gap:20px;align-items:flex-start;border:0;border-bottom:1px solid #e9eee5;border-left:3px solid var(--status-color);border-radius:0;padding:18px 18px 17px;background:#fff;box-shadow:none;min-width:0;color:var(--cal-ink);cursor:pointer}
#calendarSurface .command-card:last-child{border-bottom:0}
#calendarSurface .command-card:hover{background:#fbfcf9;box-shadow:inset 0 0 0 1px #e3eadc}
#calendarSurface .command-card-time{width:53px;flex:none;display:flex;flex-direction:column;gap:5px;padding-top:4px}
#calendarSurface .command-card-time b{font-size:18px;font-weight:650;letter-spacing:-.6px;color:#4d6043;line-height:1.2}
#calendarSurface .command-card-time small{font-size:10px;color:#6d7764}
#calendarSurface .command-card-body{flex:1;min-width:0}
#calendarSurface .command-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px}
#calendarSurface .command-work-type{font-size:11px;font-weight:650;letter-spacing:.5px;color:#6a765f}
#calendarSurface .command-card h4{font-size:15px;line-height:1.4;font-weight:650;letter-spacing:-.2px;margin:0;color:#394b31;white-space:normal;overflow-wrap:anywhere}
#calendarSurface .planning-status{font-size:11px;font-weight:650;border-radius:4px;padding:3px 7px;color:var(--status-color);background:var(--status-background);line-height:1.4;max-width:55%}
#calendarSurface .command-location{font-size:11px;line-height:1.5;color:#6a775e;margin:4px 0 7px}
#calendarSurface .command-location>span{color:#717767;font-size:10px}
#calendarSurface .command-meta{display:flex;gap:6px 14px;flex-wrap:wrap;font-size:10px;color:#69795d;margin:0}
#calendarSurface .command-meta span{font-size:10px;color:inherit;border:0;padding:0;background:none}
#calendarSurface .command-meta span+span:before{content:"·";margin-right:12px;color:#71776a}
#calendarSurface .command-readiness{font-size:10px;line-height:1.5;color:#697560;margin-top:7px}
#calendarSurface .command-card .scenario-stage{max-width:165px}
#calendarSurface .command-open{font-size:15px;color:#70756a;align-self:center;margin-left:4px}
#calendarSurface .calendar-day-focus{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:0 0 16px}
#calendarSurface .calendar-day-focus[hidden]{display:none}
#calendarSurface .day-focus-item,#calendarSurface .day-focus-checks{padding:13px 15px;border:1px solid #e3eadc;border-radius:8px;background:#fafcf7;text-align:left;display:flex;flex-direction:column;gap:5px;min-width:0}
#calendarSurface .calendar-day-focus span{font-size:10px;font-weight:700;letter-spacing:1px;color:#6d7661}
#calendarSurface .calendar-day-focus b{font-size:12px;font-weight:650;line-height:1.4;color:#536946;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#calendarSurface .calendar-day-focus small{font-size:11px;line-height:1.5;color:#6d7861}
#calendarSurface .day-focus-checks.has-checks{background:#fff9ed;border-color:#eee4cb}
#calendarSurface .day-focus-checks.has-checks b{color:#906e3e}
#calendarSurface .lens-section{border:1px solid #e4eadf;border-radius:10px;overflow:hidden;background:#fff;margin:0 0 16px}
#calendarSurface .lens-section>header{padding:15px 18px;background:#f8faf5;border-bottom:1px solid #e4eadf}
#calendarSurface .lens-section h3{font-size:15px;letter-spacing:-.3px;color:#43573a;margin:0 0 5px}
#calendarSurface .lens-section>header p{font-size:11px;color:#6a775f;line-height:1.5;margin:0}
#calendarSurface .lens-cards{display:flex;flex-direction:column;gap:0;padding:0}
#calendarSurface .fleet-lens{padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#calendarSurface .fleet-inventory-card{padding:17px;border:1px solid #e1e8db;border-radius:8px;background:#fff;display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left;color:#637a54}
#calendarSurface .fleet-inventory-card>b{font-size:16px;font-weight:650}
#calendarSurface .fleet-inventory-card>span,#calendarSurface .fleet-inventory-card>small{font-size:11px;line-height:1.5;color:#6a765e}
#calendarSurface .fleet-inventory-card>strong{font-size:11px;letter-spacing:.6px;color:#657b58;padding:4px 7px;border-radius:4px;background:#f1f6eb}
#calendarSurface .calendar-empty{padding:34px 20px;border:1px dashed #dce6d3;border-radius:10px;background:#fbfcf8;color:#607651;text-align:center}
#calendarSurface .calendar-empty b{font-size:16px;letter-spacing:-.3px;color:#617a50}
#calendarSurface .calendar-empty span{font-size:12px;color:#6c795f;margin-top:8px;line-height:1.6}
#calendarSurface .vehicle-day{min-width:0;margin:0 0 16px;border-color:#e0e8d9;border-radius:9px;font-size:12px}
#calendarSurface .vehicle-day-axis,#calendarSurface .vehicle-day-row{grid-template-columns:140px minmax(0,1fr);border-color:#e7eddf;gap:12px}
#calendarSurface .vehicle-day-label{background:#f7faf2;color:#5e784c;border-radius:6px}
#calendarSurface .vehicle-day-label b{font-size:14px}
#calendarSurface .vehicle-day-label span{font-size:11px}
#calendarSurface .vehicle-day-block{border-radius:6px;font-size:12px}
#calendarSurface .vehicle-day-boundary{font-size:11px;line-height:1.6;color:#6a775c}
#calendarSurface #websiteCalendarWork{margin-top:22px;border-top:1px solid #e4ebdd;padding-top:18px}
#calendarSurface .website-work-heading h2{font-size:19px;letter-spacing:-.5px;color:#435637}
#calendarSurface .website-work-heading p,#calendarSurface .website-work-card p{font-size:12px;line-height:1.6}
#calendarSurface .website-work-card{box-shadow:none;border-radius:10px;border-color:#e0e8d8}
#calendarSurface .route-panel{border:1px solid #e2e9da;border-radius:10px;margin:0 25px 24px;background:#fbfcf8;width:auto}
#calendarSurface .route-panel:not(.open){display:none}
#calendarSurface .route-panel-head{padding:18px;background:#f4f7ee}
#calendarSurface .route-panel-head h3{font-size:18px;color:#4b633d;letter-spacing:-.4px}
#calendarSurface .route-panel-head p{font-size:11px;line-height:1.5;color:#6a785d}
#calendarSurface[data-density=compact] .fleet-vehicle,#calendarSurface[data-density=compact] .fleet-cell{min-height:78px;padding:4px}
#calendarSurface[data-density=compact] .cell-overview{min-height:66px;padding:6px}
#calendarSurface[data-density=compact] .cell-overview h4{-webkit-line-clamp:1}
#calendarSurface[data-density=compact] .cell-driver,#calendarSurface[data-density=compact] .cell-readiness{display:none}
#calendarSurface[data-density=compact] .command-card{padding-top:11px;padding-bottom:11px;gap:16px}
#calendarSurface[data-density=compact] .command-readiness{margin-top:4px}
.calendar-focus .planning-drawer{width:min(580px,94vw);background:#fff;color:#3d5134;border-left:1px solid #dfe7d6;box-shadow:-14px 0 50px #28351c12}
.calendar-focus .planning-drawer .modal-body{padding:68px 28px 28px}
.calendar-focus .planning-drawer h2{font-size:27px;letter-spacing:-.8px;color:#354c2c}
.calendar-focus .planning-drawer .detail-time{font-size:13px;color:#68785a;border-bottom:1px solid #e6eddf;padding-bottom:16px}
.calendar-focus .planning-drawer .detail-grid{gap:16px;padding:18px 0}
.calendar-focus .planning-drawer .detail-grid span{font-size:10px;color:#69765c;margin-bottom:5px}
.calendar-focus .planning-drawer .detail-grid b{font-size:14px;color:#5a7349;line-height:1.5;overflow-wrap:anywhere}
.calendar-focus .planning-drawer .detail-section{border-color:#e6eddd;padding:18px 0}
.calendar-focus .planning-drawer .detail-section>span{font-size:10px;letter-spacing:1px;color:#677b56}
.calendar-focus .planning-drawer .detail-section p{font-size:13px;color:#687957;line-height:1.7}
.calendar-focus .planning-drawer .drawer-back,.calendar-focus .planning-drawer .drawer-close{background:#fff;border-color:#dfe8d6;color:#627a51;border-radius:7px}
.calendar-focus .planning-drawer .detail-actions button{border-radius:8px;font-size:12px}
.calendar-focus .planning-drawer::backdrop{background:#26341c28;backdrop-filter:blur(2px)}
@media(min-width:1500px){#calendarSurface{--vehicle-column:182px;--day-min:110px}#calendarSurface .calendar-titlebar{padding:27px 30px 20px}#calendarSurface .calendar-main{padding-left:30px;padding-right:30px}#calendarSurface .cell-overview h4{font-size:12px}#calendarSurface .cell-driver{font-size:10px}}
@media(max-width:1150px){.calendar-focus .ops-shell{padding:15px}#calendarSurface{--vehicle-column:140px;--day-min:72px;--closed-day-min:44px}#calendarSurface .calendar-commandbar{flex-wrap:wrap;gap:12px}#calendarSurface .calendar-secondary-actions{margin-left:auto}#calendarSurface .summary-tile{padding:0 12px}#calendarSurface .summary-tile small{font-size:11px}#calendarSurface .calendar-titlebar h2{font-size:27px}#calendarSurface .fleet-vehicle-symbol{display:none}#calendarSurface .calendar-actions button{padding:10px 12px}#calendarSurface .fleet-lens{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){#calendarSurface{--vehicle-column:119px;--day-min:64px;--closed-day-min:38px}#calendarSurface .calendar-titlebar{padding:20px 18px 15px}#calendarSurface .calendar-commandbar{padding:0 18px 15px}#calendarSurface .calendar-summary{margin:0 18px;grid-template-columns:1fr 1.3fr 1fr 1fr 1fr}#calendarSurface .calendar-main{padding:0 18px 20px}#calendarSurface .calendar-toolbar{padding:12px 18px 8px}#calendarSurface .calendar-website-entry{margin-left:18px;margin-right:18px}#calendarSurface .people-capacity{margin-left:18px;margin-right:18px}#calendarSurface .summary-tile>b{font-size:24px}#calendarSurface .summary-tile.capacity>b{font-size:17px}#calendarSurface .summary-label{letter-spacing:.5px}#calendarSurface .cell-status b{font-size:11px}#calendarSurface .cell-overview{padding:7px 4px}#calendarSurface .fleet-vehicle{padding:7px}#calendarSurface .fleet-vehicle span{font-size:11px}#calendarSurface .calendar-actions button{font-size:11px}}
@media(max-width:767px){.calendar-focus .ops-shell{padding:9px 9px 24px}#calendarSurface{border-radius:12px}#calendarSurface .calendar-titlebar{padding:18px 16px 14px;display:flex;flex-direction:column;align-items:stretch;gap:14px}#calendarSurface .calendar-titlebar h2{font-size:25px;letter-spacing:-.8px}#calendarSurface .calendar-titlebar .eyebrow{font-size:10px;margin-bottom:8px}#calendarSurface .calendar-titlebar p{font-size:11px}#calendarSurface .calendar-actions{display:flex;gap:8px}#calendarSurface .calendar-actions button{flex:1;min-height:43px;font-size:11px}#calendarSurface .calendar-commandbar{padding:0 16px 13px;display:grid;grid-template-columns:1fr;gap:10px}#calendarSurface .calendar-controls{display:grid;grid-template-columns:auto 36px minmax(0,1fr) 36px;gap:5px}#calendarSurface .calendar-controls button,#calendarSurface #calendarDate{height:38px;width:100%;font-size:12px}#calendarSurface .view-toggle{justify-self:stretch}#calendarSurface .view-toggle button{flex:1;min-height:34px}#calendarSurface .calendar-secondary-actions{justify-content:space-between;margin:0;gap:5px}#calendarSurface .calendar-secondary-actions button{min-height:34px;font-size:10px;padding:6px 9px}#calendarSurface .calendar-summary{margin:0 16px;padding:13px 0;grid-template-columns:1fr 1.3fr 1fr;gap:15px 0}#calendarSurface .summary-tile{min-height:60px;padding:0 10px;border:0}#calendarSurface .summary-tile:nth-child(3){padding-right:0}#calendarSurface .summary-tile:nth-child(4){padding-left:0}#calendarSurface .summary-tile>b{font-size:24px}#calendarSurface .summary-tile small{font-size:11px;line-height:1.4}#calendarSurface .summary-tile .summary-label{font-size:10px;letter-spacing:.7px}#calendarSurface .summary-tile.capacity>b{font-size:17px}#calendarSurface .calendar-website-entry{margin:12px 16px 0;padding:9px 10px;gap:8px}#calendarSurface .calendar-website-entry>div{gap:4px}#calendarSurface .calendar-website-entry .eyebrow{display:none}#calendarSurface .calendar-website-entry p{font-size:10px}#calendarSurface .calendar-toolbar{padding:12px 16px 8px;display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap}#calendarSurface .calendar-filters{gap:2px;flex:1}#calendarSurface .calendar-filters button{padding:7px 9px;font-size:11px;min-height:34px}#calendarSurface .opportunity-toggle{font-size:10px;padding:6px 8px}#calendarSurface .people-capacity{margin:0 16px 10px}#calendarSurface .people-capacity>summary{flex-wrap:wrap;font-size:10px;gap:4px}#calendarSurface .people-capacity>summary span{font-size:10px}#calendarSurface .calendar-main{padding:0 16px 18px}#calendarSurface .calendar-view-context{align-items:flex-start;padding:10px 0;gap:5px}#calendarSurface .calendar-view-context>div:first-child{gap:4px}#calendarSurface .calendar-view-context b{font-size:11px}#calendarSurface .calendar-view-context span{font-size:11px}#calendarSurface .calendar-context-actions{gap:5px}#calendarSurface .calendar-context-actions button{font-size:11px;padding:4px 6px}#calendarSurface .command-planner{display:block}#calendarSurface[data-filter=ALL] .command-planner,#calendarSurface[data-filter=DELIVERIES] .command-planner{display:none}#calendarSurface[data-filter=ALL] .command-agenda,#calendarSurface[data-filter=DELIVERIES] .command-agenda{display:block}#calendarSurface .command-agenda{display:none}#calendarSurface .calendar-day-focus{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}#calendarSurface .day-focus-checks{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:7px}#calendarSurface .day-focus-checks small{display:none}#calendarSurface .day-focus-item,#calendarSurface .day-focus-checks{padding:10px}#calendarSurface .calendar-day-focus b{font-size:11px}#calendarSurface .calendar-day-focus small{font-size:10px}#calendarSurface .agenda-day>header{padding:12px;align-items:flex-start}#calendarSurface .agenda-day>header>div{display:flex;flex-direction:column;gap:3px;align-items:flex-start}#calendarSurface .agenda-day>header b{font-size:11px}#calendarSurface .agenda-day>header small{font-size:11px}#calendarSurface .command-card{padding:14px 12px;gap:11px}#calendarSurface .command-card-time{width:43px;padding-top:3px}#calendarSurface .command-card-time b{font-size:16px}#calendarSurface .command-card-time small{font-size:11px}#calendarSurface .command-card-top{gap:5px;align-items:flex-start}#calendarSurface .command-work-type{font-size:10px}#calendarSurface .planning-status{font-size:10px;padding:2px 5px;max-width:57%;white-space:normal}#calendarSurface .command-card h4{font-size:13px}#calendarSurface .command-location{font-size:10px;margin-top:4px}#calendarSurface .command-meta{gap:4px 8px;font-size:11px}#calendarSurface .command-meta span{font-size:11px}#calendarSurface .command-meta span+span:before{margin-right:6px}#calendarSurface .command-readiness{font-size:11px}#calendarSurface .command-open{display:none}#calendarSurface .fleet-lens{grid-template-columns:1fr;gap:10px;padding:12px}#calendarSurface .fleet-inventory-card{padding:14px}#calendarSurface .vehicle-day,#calendarSurface .vehicle-day-boundary{display:none}#calendarSurface .lens-section>header{padding:13px}#calendarSurface .lens-section h3{font-size:13px}#calendarSurface .route-panel{margin:0 16px 18px}#calendarSurface .calendar-empty{padding:25px 14px}.calendar-focus .planning-drawer{inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0}.calendar-focus .planning-drawer .modal-body{padding:66px 20px 24px}.calendar-focus .planning-drawer h2{font-size:24px}.calendar-focus .planning-drawer .detail-grid b{font-size:13px}.calendar-focus .planning-drawer .detail-actions button{min-height:44px}}
@media(prefers-reduced-motion:reduce){#calendarSurface *, .calendar-focus .planning-drawer *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Shared-hour Day lens over the existing booking model. */
#calendarSurface[data-view=day][data-filter=ALL] #calendarPlanner,#calendarSurface[data-view=day][data-filter=DELIVERIES] #calendarPlanner{display:block}
#calendarSurface[data-view=day][data-filter=ALL] .command-agenda,#calendarSurface[data-view=day][data-filter=DELIVERIES] .command-agenda{display:none}
#calendarSurface .dispatch-day{border:1px solid #dce4df;border-radius:12px;overflow:hidden;background:#fff;margin-bottom:18px}
#calendarSurface .dispatch-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px 10px;background:#f8faf7}
#calendarSurface .dispatch-heading .eyebrow{font-size:10px;letter-spacing:1.5px;color:#59674e;font-weight:750}
#calendarSurface .dispatch-heading h3{font-size:21px;letter-spacing:-.6px;margin:5px 0 6px;color:#25392d}
#calendarSurface .dispatch-heading p{font-size:12px;color:#59655d;margin:0}
#calendarSurface .dispatch-key{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#4e6154}
#calendarSurface .dispatch-key span{display:flex;gap:6px;align-items:center}
#calendarSurface .dispatch-key i{width:9px;height:9px;border-radius:2px;background:#34745c}
#calendarSurface .dispatch-key i.unavailable{background:#9c6573}
#calendarSurface .dispatch-key i.now{background:#b38f00;width:2px;height:12px}
#calendarSurface .dispatch-help{font-size:12px;line-height:1.5;padding:0 22px 16px;margin:0;color:#5b685e;background:#f8faf7;border-bottom:1px solid #e3e9e3}
#calendarSurface .dispatch-scroll{overflow:auto;max-height:none;overscroll-behavior-x:contain}
#calendarSurface .dispatch-scroll:focus-visible{outline:3px solid #c5a600;outline-offset:-3px}
#calendarSurface .dispatch-board{min-width:960px;--lane-width:166px;--hour-width:calc(100% / var(--hours));padding-right:26px}
#calendarSurface .dispatch-row{display:grid;grid-template-columns:var(--lane-width) minmax(0,1fr);border-bottom:1px solid #e6eae5}
#calendarSurface .dispatch-label{position:sticky;left:0;z-index:3;background:#fff;border-right:1px solid #e1e8e0;display:flex;flex-direction:column;justify-content:center;padding:14px 16px;gap:5px}
#calendarSurface .dispatch-label b{font-size:12px;color:#2d4437;line-height:1.4}
#calendarSurface .dispatch-label small{font-size:11px;line-height:1.45;color:#647262}
#calendarSurface .dispatch-label>span{font-size:10px;color:#6b7468}
#calendarSurface .dispatch-track{position:relative;min-width:0;background:repeating-linear-gradient(to right,transparent 0,transparent calc(var(--hour-width) - 1px),#e5ebe4 calc(var(--hour-width) - 1px),#e5ebe4 var(--hour-width))}
#calendarSurface .dispatch-hours{position:sticky;top:0;z-index:5;background:#fff;height:42px}
#calendarSurface .dispatch-hours .dispatch-label{background:#f2f5f0}
#calendarSurface .dispatch-hours .dispatch-label b{font-size:10px;letter-spacing:1px}
#calendarSurface .dispatch-ticks span{position:absolute;top:14px;transform:translateX(-50%);font-size:11px;font-weight:650;color:#52634f}
#calendarSurface .dispatch-ticks span:first-child{transform:none;padding-left:5px}
#calendarSurface .dispatch-workload{background:#f7faf5}
#calendarSurface .dispatch-workload .dispatch-label{background:#f7faf5}
#calendarSurface .dispatch-load{display:grid;grid-template-columns:repeat(var(--hours),1fr);min-height:65px}
#calendarSurface .dispatch-load-hour{position:relative;display:flex;align-items:center;justify-content:center;border-right:1px solid #e7ece3;overflow:hidden}
#calendarSurface .dispatch-load-hour>span{position:absolute;bottom:0;left:4px;right:4px;height:var(--load);max-height:51px;background:#e3eacb;border-radius:5px 5px 0 0}
#calendarSurface .dispatch-load-hour b{position:relative;color:#3e5339;font-size:16px;font-weight:650}
#calendarSurface .dispatch-booking{position:absolute;height:62px;min-height:62px;border:1px solid #d9e4da;border-left:4px solid var(--booking-color);background:var(--booking-bg);color:#2f4637;border-radius:7px;padding:7px 10px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;min-width:0;overflow:hidden;z-index:1;box-shadow:0 1px 2px #203d2b08;cursor:pointer}
#calendarSurface .dispatch-booking:hover{filter:brightness(.975);box-shadow:0 3px 8px #203d2b20;z-index:2}
#calendarSurface .dispatch-booking b{font-size:12px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%;line-height:1.4}
#calendarSurface .dispatch-booking small{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%;color:#576952}
#calendarSurface .dispatch-booking-time{font-size:10px;font-weight:650;color:var(--booking-color);white-space:nowrap}
#calendarSurface .dispatch-booking.unavailable{--booking-color:#8b3346!important;--booking-bg:#fff1f3!important;border-color:#ead2d9;background:repeating-linear-gradient(135deg,#fff1f3,#fff1f3 7px,#fae8ed 7px,#fae8ed 9px)}
#calendarSurface .dispatch-booking:disabled{opacity:1;cursor:default}
#calendarSurface .dispatch-gap{position:absolute;left:16px;top:30px;font-size:11px;color:#6a7467}
#calendarSurface .dispatch-now{position:absolute;top:0;bottom:0;width:2px;background:#c7a000;z-index:2;pointer-events:none}
#calendarSurface .dispatch-now:before{content:"";width:6px;height:6px;background:#c7a000;position:absolute;top:0;left:-2px;border-radius:50%}
#calendarSurface .dispatch-untimed{padding-top:70px;display:flex;gap:8px;flex-wrap:wrap}
#calendarSurface .dispatch-untimed button{padding:8px;font-size:12px}
#calendarSurface .dispatch-day>footer{display:flex;justify-content:space-between;padding:12px 18px;gap:12px;font-size:11px;color:#5f6d5b;background:#fafbf8;line-height:1.5}
@media(max-width:767px){#calendarSurface[data-view=day][data-filter=ALL] .command-planner,#calendarSurface[data-view=day][data-filter=DELIVERIES] .command-planner{display:block}#calendarSurface .dispatch-heading{padding:16px 13px 10px;display:block}#calendarSurface .dispatch-heading h3{font-size:19px}#calendarSurface .dispatch-key{margin-top:12px;font-size:11px;gap:12px}#calendarSurface .dispatch-help{padding:0 13px 13px;font-size:11px}#calendarSurface .dispatch-board{--lane-width:120px;min-width:900px}#calendarSurface .dispatch-label{padding:12px 10px}#calendarSurface .dispatch-label b{font-size:11px}#calendarSurface .dispatch-label small{font-size:10px}#calendarSurface .dispatch-day>footer{flex-direction:column;padding:11px 13px;gap:4px}}
/* Day prioritises the time grid; the summary already exposes checks and workload. */
#calendarSurface[data-view=day] .calendar-day-focus{display:none}
#calendarSurface[data-view=day] .calendar-titlebar{padding-top:19px;padding-bottom:13px}
#calendarSurface[data-view=day] .calendar-summary{padding-top:12px;padding-bottom:12px}
#calendarSurface[data-view=day] .summary-tile{min-height:66px}
#calendarSurface[data-view=day] .dispatch-heading{padding-top:15px}
#calendarSurface[data-view=day] .dispatch-help{padding-bottom:12px}
/* WCT brand finish: charcoal structure, yellow emphasis, neutral working canvas. */
.calendar-focus{--cal-ink:#1b1b1e;--cal-muted:#646469;--cal-line:#e6e6e8;--cal-wash:#f6f6f5;--wct-yellow:#f3d600;--wct-charcoal:#18191b;background:#f2f2f1}
#calendarSurface{border-color:#dedee0;box-shadow:0 8px 30px #16171908}
#calendarSurface .calendar-titlebar{background:var(--wct-charcoal);color:#fff;border-top:3px solid var(--wct-yellow)}
#calendarSurface .calendar-titlebar .eyebrow{color:#d4d4d4}
#calendarSurface .calendar-titlebar .eyebrow:before{background:var(--wct-yellow)}
#calendarSurface .calendar-titlebar h2{color:#fff}
#calendarSurface .calendar-titlebar p{color:#c0c1c4}
#calendarSurface .planning-help{background:#25262a;border-color:#55565b;color:#e1e1e4}
#calendarSurface .calendar-actions .primary{background:var(--wct-yellow);color:#18191b;border-color:var(--wct-yellow);box-shadow:none}
#calendarSurface .calendar-actions .primary:hover{background:#ffe52b}
#calendarSurface .calendar-actions .secondary{background:#27282c;color:#eeeef0;border-color:#55565b}
#calendarSurface .calendar-commandbar{background:var(--wct-charcoal);border-bottom:1px solid #35363b;padding-bottom:18px}
#calendarSurface .calendar-controls button,#calendarSurface #calendarToday,#calendarSurface #calendarDate,#calendarSurface .calendar-secondary-actions button{background:#27282c;border-color:#53545a;color:#f1f1f2;color-scheme:dark}
#calendarSurface .calendar-controls button:hover:not(:disabled),#calendarSurface .calendar-secondary-actions button:hover:not(:disabled){border-color:#aaaab0;background:#333438}
#calendarSurface .calendar-controls button:disabled,#calendarSurface #calendarDate:disabled{color:#aaaab0;opacity:.65}
#calendarSurface .view-toggle{background:#0e0f11;border-color:#44454b}
#calendarSurface .view-toggle button{color:#c3c4c8}
#calendarSurface .view-toggle button.active{color:#18191b;background:var(--wct-yellow);box-shadow:0 1px 3px #0003}
#calendarSurface .calendar-secondary-actions button[aria-pressed=true]{color:var(--wct-yellow);background:#2d2c20;border-color:#a18e24}
#calendarSurface .calendar-summary{border-bottom-color:#e4e4e6}
#calendarSurface .summary-tile{border-right-color:#e7e7e9}
#calendarSurface .summary-tile:first-child{background:linear-gradient(90deg,#fffbe6,transparent);padding-left:14px;border-left:3px solid var(--wct-yellow)}
#calendarSurface .summary-tile .summary-label,#calendarSurface .summary-tile small{color:#646469}
#calendarSurface .summary-tile:hover{background-color:#f8f8f6}
#calendarSurface .calendar-filters button{color:#626268}
#calendarSurface .calendar-filters button.active{background:#202124;color:#f6db19;box-shadow:inset 0 -2px 0 #f3d600}
#calendarSurface .calendar-website-entry,#calendarSurface .people-capacity{background:#f7f7f6;border-color:#e3e3e4}
#calendarSurface .calendar-website-entry .eyebrow,#calendarSurface .people-capacity>summary,#calendarSurface .calendar-view-context b{color:#45454a}
#calendarSurface .calendar-view-context span,#calendarSurface .people-capacity>summary span{color:#66666c}
#calendarSurface .fleet-corner,#calendarSurface .fleet-day{background:#242528;color:#ededee;border-color:#434449}
#calendarSurface .fleet-day b,#calendarSurface .fleet-day-select{color:#f5f5f6}
#calendarSurface .fleet-day>span,#calendarSurface .fleet-corner>span{color:#c3c3c7}
#calendarSurface .fleet-day.selected-day{background:#343321;box-shadow:inset 0 3px 0 var(--wct-yellow)}
#calendarSurface .fleet-day.selected-day b{color:#ffdf1b}
#calendarSurface .fleet-day.closed{background:#303135}
#calendarSurface .fleet-vehicle{background:#f8f8f7;color:#333338;border-color:#e4e4e5}
#calendarSurface .fleet-vehicle b{color:#303035}
#calendarSurface .dispatch-heading,#calendarSurface .dispatch-help{background:#f7f7f5}
#calendarSurface .dispatch-heading{border-top:3px solid var(--wct-yellow)}
#calendarSurface .dispatch-heading h3{color:#242528}
#calendarSurface .dispatch-heading .eyebrow{color:#65636a}
#calendarSurface .dispatch-heading p,#calendarSurface .dispatch-help,#calendarSurface .dispatch-key{color:#626269}
#calendarSurface .dispatch-hours,#calendarSurface .dispatch-hours .dispatch-label,#calendarSurface .dispatch-ticks{background:#242528}
#calendarSurface .dispatch-hours .dispatch-label b,#calendarSurface .dispatch-ticks span{color:#eeeef0}
#calendarSurface .dispatch-workload,#calendarSurface .dispatch-workload .dispatch-label{background:#faf9f2}
#calendarSurface .dispatch-load-hour>span{background:#f1df73}
#calendarSurface .dispatch-load-hour b{color:#353127}
#calendarSurface .dispatch-label b{color:#343439}
#calendarSurface .dispatch-label small,#calendarSurface .dispatch-label>span,#calendarSurface .dispatch-gap{color:#64646a}
#calendarSurface .dispatch-day>footer{background:#f7f7f6;color:#626269}
#calendarSurface .dispatch-now{background:#aa8500}
#calendarSurface .dispatch-now:before{background:#aa8500}
#calendarSurface button:focus-visible,.calendar-focus .planning-drawer button:focus-visible{outline:3px solid #a18000;outline-offset:3px}
#calendarSurface .calendar-titlebar button:focus-visible,#calendarSurface .calendar-commandbar button:focus-visible{outline-color:#ffdf1b}
@media(max-width:767px){#calendarSurface .summary-tile:first-child{padding-left:9px}#calendarSurface .calendar-titlebar{border-top-width:3px}#calendarSurface .calendar-controls button,#calendarSurface #calendarDate{font-size:12px}}
/* Match the existing shared shell's important selected-state rules, scoped to Calendar. */
#calendarSurface .view-toggle button.active{background:var(--wct-yellow)!important;color:#18191b!important;border-color:var(--wct-yellow)!important}
#calendarSurface .calendar-filters button.active{background:#202124!important;color:#f6db19!important;border-color:#202124!important}
#calendarSurface .fleet-resource{background:#303135;color:#f0f0f2}
#calendarSurface .fleet-resource b{color:#f0f0f2}
/* Recognisable equipment illustrations, always paired with the existing labels. */
.ops-body .wct-illustration{display:inline-block;width:52px;height:38px;flex-shrink:0;vertical-align:middle;opacity:1}
.ops-body .work-kind{display:inline-flex;align-items:center;gap:9px}
.ops-body .work-kind .wct-illustration{width:44px;height:34px}
#calendarSurface .fleet-vehicle{grid-template-columns:50px minmax(0,1fr);gap:8px}
#calendarSurface .fleet-vehicle .wct-illustration{width:50px;height:38px;display:block}
#calendarSurface .fleet-resource{display:flex;align-items:center;gap:8px;background:#f5f5f3;color:#36363a}
#calendarSurface .fleet-resource b{color:#36363a}
#calendarSurface .fleet-resource .wct-illustration{width:43px;height:34px}
#calendarSurface .dispatch-label{padding-left:66px}
#calendarSurface .dispatch-label small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#calendarSurface .dispatch-picture{position:absolute;left:10px;top:17px;display:block;line-height:0}
#calendarSurface .dispatch-picture .wct-illustration{width:46px;height:36px}
#calendarSurface .dispatch-hours .dispatch-label,#calendarSurface .dispatch-workload .dispatch-label{padding-left:16px}
#calendarSurface .command-work-type{display:inline-flex;align-items:center;gap:6px}
#calendarSurface .command-work-type .wct-illustration{width:30px;height:23px}
@media(max-width:1150px){#calendarSurface .fleet-vehicle{grid-template-columns:38px minmax(0,1fr);gap:5px}#calendarSurface .fleet-vehicle .wct-illustration{display:block;width:38px;height:31px}}
@media(max-width:767px){#calendarSurface .dispatch-board{--lane-width:154px}#calendarSurface .dispatch-label{padding-left:53px}#calendarSurface .dispatch-picture{left:7px;top:18px}#calendarSurface .dispatch-picture .wct-illustration{width:37px;height:30px}#calendarSurface .dispatch-hours .dispatch-label,#calendarSurface .dispatch-workload .dispatch-label{padding-left:10px}}
#calendarSurface .dispatch-board{--lane-width:194px}
#calendarSurface .dispatch-workload .dispatch-label small{white-space:normal}
@media(max-width:767px){#calendarSurface .dispatch-board{--lane-width:154px}}
/* Precision Stage 3: one existing planner, compact working canvas. */
.calendar-focus .ops-shell{max-width:1920px;padding:16px 20px 30px}
#calendarSurface .calendar-titlebar{padding:16px 20px 12px;border-top:3px solid #f3d600;display:flex;justify-content:space-between;gap:12px}
#calendarSurface .calendar-titlebar h1{font-size:26px;letter-spacing:-.8px;line-height:1.2;margin:0;color:#25262a}
#calendarSurface .calendar-titlebar .eyebrow{font-size:11px;margin-bottom:5px}
#calendarSurface .calendar-titlebar p{font-size:13px;margin:5px 0 0;color:#5c5d63}
#calendarSurface .calendar-actions{display:flex;flex-wrap:wrap;gap:6px}
#calendarSurface #findCapacity:not(.hidden){display:inline-flex}
#calendarSurface .calendar-commandbar{padding:0 20px 12px;gap:10px;flex-wrap:wrap}
#calendarSurface .calendar-controls button,#calendarSurface #calendarDate,#calendarSurface .calendar-secondary-actions button,#calendarSurface .view-toggle button{font-size:13px;min-height:38px;color:#424348}
#calendarSurface .view-toggle,#calendarSurface .dispatch-presentation{display:flex;gap:2px;padding:3px;background:#f0f0ee;border:1px solid #dfdfdc;border-radius:8px}
#calendarSurface .dispatch-presentation button{min-height:34px;border:0;border-radius:5px;background:transparent;color:#595a60;font-size:13px;padding:6px 10px}
#calendarSurface .dispatch-presentation button[aria-pressed=true]{background:#28292d;color:white}
#calendarSurface .calendar-view-context{padding:8px 20px;margin:0;border:0;border-top:1px solid #e5e5e1;border-bottom:1px solid #e5e5e1;background:#fafaf8;min-height:0;font-size:12px;display:flex;justify-content:space-between;gap:8px}
#calendarSurface .calendar-view-context>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#calendarSurface .calendar-view-context b,#calendarSurface .calendar-view-context span{font-size:12px}
#calendarSurface .calendar-filters{padding:10px 20px;margin:0;display:flex;gap:5px;overflow-x:auto;flex-wrap:wrap}
#calendarSurface .calendar-filters button{font-size:13px;padding:7px 10px;min-height:36px;white-space:nowrap}
#calendarSurface .calendar-layout{display:grid;grid-template-columns:238px minmax(0,1fr);gap:14px;padding:0 20px 16px;align-items:start}
#calendarSurface .calendar-main{min-width:0;overflow:hidden}
#calendarSurface .command-planner{padding:0;min-width:0}
#calendarSurface .dispatch-queue{border:1px solid #dededb;border-radius:10px;background:#fafaf8;min-width:0;overflow:hidden}
#calendarSurface .dispatch-queue>summary{padding:12px;cursor:pointer;font-size:14px;font-weight:750;background:#242529;color:white;list-style-position:inside}
#calendarSurface .dispatch-queue>summary span{display:block;font-size:12px;font-weight:450;color:#e4e4e4;margin:5px 0 0 16px}
.dispatch-queue-head{padding:12px 12px 0}.dispatch-queue-head h3{font-size:15px;margin:0;color:#292a2e}.dispatch-queue-head p{font-size:12px;color:#64656b;margin:5px 0 10px}
.dispatch-queue-tabs{padding:0 10px 10px;display:grid;grid-template-columns:1fr 1fr;gap:5px}.dispatch-queue-tabs button{font-size:12px;background:white;border:1px solid #d8d8d4;border-radius:5px;color:#45464c;min-height:38px;padding:5px}.dispatch-queue-tabs button[aria-pressed=true]{background:#fff4ad;border-color:#b6a025;color:#35301c}
.dispatch-queue-list{max-height:620px;overflow-y:auto}.dispatch-queue-item{display:flex;flex-direction:column;gap:6px;width:calc(100% - 20px);margin:0 10px 8px;padding:12px;text-align:left;border:1px solid #dddeda;border-radius:8px;background:white;color:#404148;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.dispatch-queue-item>b{font-size:15px;color:#242529}.dispatch-queue-item small{font-size:12px;color:#66666b}.dispatch-queue-item strong{font-size:12px;color:#54502e}.dispatch-source-label{font-size:10px;font-weight:750;letter-spacing:.65px;color:#68604a;line-height:1.5}.dispatch-queue-empty,.dispatch-queue-boundary{padding:8px 12px;font-size:12px;line-height:1.6;color:#66666d}.dispatch-queue-boundary{border-top:1px solid #e1e1dd;margin:0;background:#f3f3ef}
#calendarSurface .dispatch-board-note{padding:9px 12px;margin:0;background:#f6f5ef;border:1px solid #dfdfd8;border-radius:8px 8px 0 0;font-size:12px;color:#5a584f;line-height:1.5}
#calendarSurface .dispatch-scroll{border:1px solid #dcdcd8;border-top:0;border-radius:0 0 8px 8px;overflow:auto;max-height:960px}
#calendarSurface .dispatch-board{--lane-width:184px;min-width:calc(var(--lane-width) + var(--hours)*82px);border:0}
#calendarSurface .dispatch-row{display:grid;grid-template-columns:var(--lane-width) minmax(0,1fr);border-bottom:1px solid #e5e5df}
#calendarSurface .dispatch-label{position:sticky;left:0;z-index:4;background:#f7f7f4;border:0;border-right:1px solid #dfdfd9;padding:10px 9px 10px 59px;text-align:left;min-height:72px;display:flex;flex-direction:column;justify-content:center;gap:3px;border-radius:0;white-space:normal;color:#34353a;overflow:hidden}
#calendarSurface .dispatch-label b{font-size:13px;line-height:1.25}#calendarSurface .dispatch-label small{font-size:12px;white-space:normal;line-height:1.3}#calendarSurface .dispatch-label .dispatch-resource-state{font-size:11px;color:#66666c;line-height:1.3}
#calendarSurface .dispatch-picture{left:8px;top:18px}#calendarSurface .dispatch-picture .wct-illustration{width:43px;height:34px}
#calendarSurface .dispatch-hours .dispatch-label,#calendarSurface .dispatch-workload .dispatch-label{padding:8px 12px;min-height:38px}
#calendarSurface .dispatch-hours{position:sticky;top:0;z-index:6;background:#28292d}#calendarSurface .dispatch-hours .dispatch-label{background:#28292d}
#calendarSurface .dispatch-track{position:relative;background-color:#fff;background-image:linear-gradient(90deg,#e9e9e4 1px,transparent 1px);background-size:calc(100%/var(--hours)) 100%;min-height:72px}
#calendarSurface .dispatch-ticks{background-color:#28292d;min-height:38px;height:38px;color:#f3f3f3;overflow:hidden}#calendarSurface .dispatch-ticks span{font-size:12px;top:12px;transform:translateX(5px)}
#calendarSurface .dispatch-load{display:grid;grid-template-columns:repeat(var(--hours),1fr);background:#faf9f0;min-height:42px}.dispatch-load-hour{position:relative;border-right:1px solid #e2e1d6;display:flex;align-items:center;justify-content:center;font-size:12px;color:#524c30}.dispatch-load-hour>span{position:absolute;left:4px;bottom:5px;height:4px;width:var(--load);max-width:calc(100% - 8px);background:#dec645}.dispatch-load-hour>b{position:relative}
#calendarSurface .dispatch-booking{height:54px;min-width:18px;border-radius:5px;padding:4px 6px;border:1px solid #d3d3cf;border-left:4px solid var(--booking-color);background:var(--booking-bg,#f3f3ee);color:#292a2f;box-shadow:0 1px 2px #15161a08;text-align:left;overflow:hidden;z-index:2}
#calendarSurface .dispatch-booking-time{display:block;font-size:11px;line-height:1.25;color:#505159;white-space:nowrap}#calendarSurface .dispatch-booking b{display:block;font-size:13px;line-height:1.35;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#calendarSurface .dispatch-booking small{font-size:11px;line-height:1.25;color:#595a60;white-space:nowrap}
#calendarSurface .dispatch-booking.unavailable{background:repeating-linear-gradient(135deg,#f4e6e3,#f4e6e3 7px,#f8eeeb 7px,#f8eeeb 14px);border-left-color:#9b4740}.dispatch-closed-hours{position:absolute;top:0;bottom:0;background:repeating-linear-gradient(135deg,#e8e8e680,#e8e8e680 2px,transparent 2px,transparent 8px);pointer-events:none;z-index:1}#calendarSurface .dispatch-gap{color:#85857f;font-size:18px;left:14px}
#calendarSurface .dispatch-day>footer{padding:8px 10px;font-size:12px;display:flex;justify-content:space-between;gap:10px;color:#65656a}.dispatch-week-scroll{overflow:auto;border:1px solid #dcdcd8;border-top:0;border-radius:0 0 8px 8px;max-height:1000px}.dispatch-week-grid{display:grid;grid-template-columns:174px repeat(var(--week-days),minmax(112px,1fr));min-width:958px;align-items:stretch}.dispatch-week-grid>*{border-right:1px solid #e1e1dc;border-bottom:1px solid #e1e1dc;min-width:0}.dispatch-week-corner,.dispatch-week-date{position:sticky;top:0;z-index:4;background:#292a2e;color:white;padding:10px 9px;border-radius:0;text-align:left;min-height:78px}.dispatch-week-corner{left:0;z-index:5;font-size:12px;display:flex;flex-direction:column;gap:8px}.dispatch-week-corner small{font-size:12px;color:#d1d1d5}.dispatch-week-date{border:0;border-right:1px solid #525358;display:flex;flex-direction:column;gap:5px}.dispatch-week-date b{font-size:13px;color:#fff}.dispatch-week-date span,.dispatch-week-date small{font-size:11px;color:#dddde1}.dispatch-week-date.is-today{box-shadow:inset 0 3px #f3d600}.dispatch-week-date.is-today b{color:#ffe56c}.dispatch-week-resource{position:sticky;left:0;z-index:3;display:flex;align-items:center;gap:8px;background:#f6f6f3;padding:10px 8px;color:#393a40}.dispatch-week-resource div{min-width:0;display:flex;flex-direction:column;gap:5px}.dispatch-week-resource b{font-size:13px}.dispatch-week-resource span,.dispatch-week-resource small{font-size:11px;line-height:1.3;color:#66666d}#calendarSurface .dispatch-week-resource .wct-illustration{width:42px;height:34px}.dispatch-week-cell{padding:5px;min-height:74px;background:white}.dispatch-week-cell.is-closed{background:repeating-linear-gradient(135deg,#f0f0ed,#f0f0ed 2px,#f7f7f4 2px,#f7f7f4 8px)}
.dispatch-week-booking{display:flex;flex-direction:column;gap:3px;text-align:left;width:100%;margin:0 0 5px;border:1px solid #d9d9d3;border-left:3px solid var(--booking-color);background:var(--booking-bg);border-radius:4px;padding:6px;color:#33343b;overflow:hidden}.dispatch-week-booking b{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.dispatch-week-booking span,.dispatch-week-booking small{font-size:11px;line-height:1.35;color:#57585f}.dispatch-week-more,.dispatch-week-occupation{width:100%;padding:6px;border:1px solid #dbd9cd;background:#f5f2df;border-radius:4px;color:#655323;font-size:12px;text-align:left}.dispatch-week-occupation small{display:block;margin-top:4px;font-size:11px}.dispatch-week-gap{display:block;padding:18px 8px;color:#76766f;font-size:12px}
#calendarSurface .dispatch-tools{margin:0 20px 16px;border:1px solid #deded9;border-radius:8px;background:#fafaf7;padding:0 12px}#calendarSurface .dispatch-tools>summary{font-size:13px;font-weight:700;color:#55565b;padding:12px;cursor:pointer}.dispatch-tool-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 8px 10px}#calendarSurface .dispatch-tools .calendar-summary{margin:10px 0;display:grid}#calendarSurface .dispatch-tools .route-panel{position:static;width:auto;max-height:none;transform:none;box-shadow:none;margin:10px 0;display:block}.dispatch-tools .route-panel-head{padding:12px}
#calendarSurface[data-presentation=board] .command-planner{display:block!important}#calendarSurface[data-presentation=board] .command-agenda{display:none!important}#calendarSurface[data-presentation=agenda] .command-planner{display:none!important}#calendarSurface[data-presentation=agenda] .command-agenda{display:block!important;padding:0}.dispatch-sales-context{margin:0 20px 10px;padding:12px 14px;border:1px solid #d9cc84;border-left:4px solid #e6c900;background:#fffdf0;border-radius:6px;display:flex;justify-content:space-between;gap:12px;font-size:13px}.dispatch-sales-context[hidden]{display:none}.dispatch-sales-context b{display:block;margin-top:4px}.dispatch-sales-context p{margin:5px 0}.dispatch-sales-context small{font-size:12px;color:#66614c}.dispatch-context-actions{display:flex;gap:6px;flex-direction:column;flex-shrink:0}.dispatch-sales-context details{margin-top:8px}.dispatch-inspector dl>div{border-bottom:1px solid #e0e0db;padding:10px 0}.dispatch-inspector dt{font-size:12px;color:#66666b}.dispatch-inspector dd{margin:4px 0;color:#36373c}.dispatch-inspector-actions{padding:0 24px 24px}
@media(max-width:1150px){#calendarSurface .calendar-layout{grid-template-columns:minmax(0,1fr)}#calendarSurface .dispatch-queue>summary{display:flex;justify-content:space-between;gap:10px}#calendarSurface .dispatch-queue>summary span{display:inline;margin:0}#calendarSurface .dispatch-queue-list{max-height:260px;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}#calendarSurface .dispatch-queue-tabs{display:flex;gap:6px}#calendarSurface .dispatch-queue-tabs button{padding:6px 12px}.dispatch-queue-head{display:none}.dispatch-queue-tabs{padding-top:10px}#calendarSurface .calendar-titlebar{align-items:flex-start}}
@media(max-width:767px){.calendar-focus .ops-shell{padding:8px 8px 22px}#calendarSurface .calendar-titlebar{padding:13px 12px 10px;display:block}#calendarSurface .calendar-titlebar h1{font-size:23px}#calendarSurface .calendar-titlebar p{font-size:12px}#calendarSurface .calendar-actions{margin-top:10px;gap:5px}#calendarSurface .calendar-actions button{padding:8px 10px;font-size:12px;min-height:40px}#calendarSurface .calendar-commandbar{padding:0 12px 10px;display:flex;gap:7px}#calendarSurface .calendar-controls{width:100%;justify-content:space-between}#calendarSurface #calendarDate{flex:1;max-width:174px;font-size:13px}#calendarSurface .view-toggle button{padding:7px 12px}#calendarSurface .calendar-secondary-actions{gap:4px;margin-left:auto}#calendarSurface #routePanelToggle{font-size:12px}#calendarSurface #calendarRefresh{font-size:0;min-width:38px}#calendarSurface #calendarRefresh:before{content:'↻';font-size:18px}#calendarSurface .calendar-view-context{padding:8px 12px;display:block}#calendarSurface .calendar-filters{padding:9px 12px;flex-wrap:nowrap}#calendarSurface .calendar-layout{padding:0 10px 12px;gap:10px}#calendarSurface .dispatch-queue>summary{display:block;font-size:13px}#calendarSurface .dispatch-queue>summary span{display:block;font-size:12px;margin:5px 0 0}#calendarSurface .dispatch-queue-tabs{display:grid;grid-template-columns:1fr 1fr}#calendarSurface .dispatch-tools{margin:0 10px 12px}#calendarSurface .dispatch-board{--lane-width:154px}.dispatch-sales-context{margin:0 12px 10px;flex-direction:column}.dispatch-context-actions{flex-direction:row;flex-wrap:wrap}#calendarSurface .dispatch-day>footer{flex-wrap:wrap}#calendarSurface .dispatch-tools .calendar-summary{grid-template-columns:1fr 1fr}#calendarSurface .calendar-actions .hidden{display:none!important}}
@media(prefers-reduced-motion:reduce){#calendarSurface *{animation:none!important;transition:none!important}}
/* Both shells share a dark legacy toolbar rule; keep this working area neutral. */
.ops-body #calendarSurface .calendar-titlebar,.ops-body #calendarSurface .calendar-commandbar{background:#fff!important;color:#25262a!important}
.ops-body #calendarSurface .calendar-titlebar .eyebrow{color:#626269!important}
.ops-body #calendarSurface .calendar-titlebar h1{color:#25262a!important}
.ops-body #calendarSurface .calendar-titlebar p{color:#606168!important}
#calendarSurface .calendar-commandbar .view-toggle button:not(.active){background:transparent!important;color:#56575e!important}
#calendarSurface .calendar-commandbar .calendar-secondary-actions button{color:#53545a!important;background:#fff!important}
#calendarSurface .calendar-commandbar .calendar-controls button,#calendarSurface .calendar-commandbar #calendarDate{background:#fff!important;color:#42434a!important}
#calendarSurface .dispatch-booking:not(.unavailable):not(.preparation){background:var(--booking-bg)!important}
#calendarSurface .dispatch-scroll,.dispatch-week-scroll{max-height:none}
.dispatch-week-booking b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:34px}
.dispatch-week-booking span,.dispatch-week-booking small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.dispatch-week-cell{vertical-align:top}.dispatch-week-occupation small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#calendarSurface .dispatch-queue-head{display:none}
#calendarSurface .dispatch-queue-tabs{padding-top:10px}
#calendarSurface .dispatch-gap{color:#686961}
#calendarSurface .dispatch-tools .route-panel{background:#f7f7f4;color:#34353b;border:1px solid #dddcd4}
#calendarSurface .dispatch-tools .route-panel b,#calendarSurface .dispatch-tools .route-panel strong,#calendarSurface .dispatch-tools .route-panel h3{color:#34353b}
#calendarSurface .dispatch-tools .route-panel span,#calendarSurface .dispatch-tools .route-panel p,#calendarSurface .dispatch-tools .route-panel small{color:#5c5d63}
#calendarSurface .dispatch-tools .route-panel button{color:#393a40;background:#fff;border-color:#d4d4ce}
#calendarSurface .dispatch-tools .route-panel .route-empty{color:#5c5d63}
.calendar-focus .workspace-breadcrumb{margin-top:0;margin-bottom:8px;padding-top:5px;padding-bottom:5px}
@media(max-width:767px){#calendarSurface .calendar-titlebar h1{font-size:20px}#calendarSurface .calendar-titlebar p{display:none}#calendarSurface .calendar-commandbar .view-toggle{width:auto!important;flex:0 0 auto!important}#calendarSurface .calendar-commandbar .view-toggle button{min-width:48px}#calendarSurface .calendar-secondary-actions{margin-left:0}#calendarSurface .calendar-commandbar{gap:6px}#calendarSurface .dispatch-presentation button{padding:6px 8px}.calendar-focus .workspace-breadcrumb{padding:5px 0;margin:5px 0 8px}}
#dispatchPhysicalWork{padding:10px 12px;border:1px solid #d8cf9e;background:#fffdf0;border-radius:7px;margin-bottom:10px;font-size:13px}#dispatchPhysicalWork[hidden]{display:none}#dispatchPhysicalWork p{font-size:12px;color:#66614c;margin:5px 0}#dispatchPhysicalWork button{font-size:12px;margin:5px 5px 0 0;min-height:38px}
.ops-body.calendar-focus .workspace-breadcrumb a{min-height:24px}
.ops-body.calendar-focus #calendarSurface .calendar-titlebar{padding:12px 16px 10px;min-height:0;align-items:center}
.ops-body.calendar-focus #calendarSurface .calendar-commandbar{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 10px;align-items:center}
.ops-body.calendar-focus #calendarSurface .calendar-commandbar>.calendar-controls{flex:0 0 auto;width:auto}
.ops-body.calendar-focus #calendarSurface .calendar-commandbar>.view-toggle{flex:0 0 auto;width:auto}
.ops-body.calendar-focus #calendarSurface .calendar-commandbar>.calendar-secondary-actions{flex:0 0 auto;margin-left:auto}
#calendarSurface .dispatch-tools .attention-item>span,#calendarSurface .dispatch-tools .reason-list b{background:#f1eddd;color:#5a4e24}
#calendarSurface .dispatch-tools .attention-icon{background:#f2e9dc;color:#67482d}
#calendarSurface .dispatch-tools .attention-item i{color:#595a60}
@media(max-width:767px){.ops-body.calendar-focus #calendarSurface .calendar-titlebar{padding:11px 12px 9px}.ops-body.calendar-focus #calendarSurface .calendar-commandbar{padding:0 12px 10px;gap:6px}.ops-body.calendar-focus #calendarSurface .calendar-commandbar>.calendar-controls{flex:1 0 100%;width:100%}.ops-body.calendar-focus #calendarSurface .calendar-commandbar .view-toggle button{padding:6px 8px;min-width:40px;font-size:12px}.ops-body.calendar-focus #calendarSurface .dispatch-presentation button{padding:6px;min-width:38px;font-size:12px}.ops-body.calendar-focus #calendarSurface .calendar-commandbar>.calendar-secondary-actions{margin-left:auto;gap:4px}.ops-body.calendar-focus #calendarSurface .calendar-secondary-actions button{padding:6px 8px;min-height:38px}}
#calendarSurface .agenda-day{border-color:#deded8}#calendarSurface .agenda-day>header{background:#f5f5f1;border-color:#deded8}#calendarSurface .agenda-day>header span,#calendarSurface .agenda-day>header b,#calendarSurface .agenda-day>header small{color:#5a5b61;font-size:12px}#calendarSurface .command-card-time b{color:#3c3d43}#calendarSurface .command-card:hover{background:#fafaf6}#calendarSurface .command-card .command-work-type{color:#5c5d63}
/* Essential controls survive the older compact-shell rules. */
.ops-body.calendar-focus #calendarSurface #dispatchTools .scenario-toggle:not(.hidden){display:inline-flex!important;align-items:center;min-height:42px}
.ops-body.calendar-focus #calendarSurface #planningHelp{display:inline-block;flex-shrink:0}
.ops-body.calendar-focus #calendarSurface #dispatchTools .summary-tile{display:block}
.calendar-focus .planning-drawer .booking-detail h2,.calendar-focus .planning-drawer .booking-detail b,.calendar-focus .planning-drawer .drawer-back{color:#303137}
.calendar-focus .planning-drawer .booking-detail .detail-time,.calendar-focus .planning-drawer .detail-grid span,.calendar-focus .planning-drawer .detail-section>span{color:#626269}
/* Phone Dispatch: one chronological projection, existing commands and wide boards retained. */
.mobile-dispatch-controls{display:none}
.phone-day{display:none}
.dispatch-source-boundary{font-size:13px;color:#56585c;line-height:1.5}
@media(max-width:767px){
 .ops-body.calendar-focus .workspace-breadcrumb{display:none}
 .ops-body.calendar-focus .ops-shell{padding:8px 8px 24px}
 #calendarSurface .mobile-dispatch-controls{display:block;padding:14px 12px 10px;background:#fff;border-bottom:1px solid #e3e3dd}
 #calendarSurface .calendar-titlebar,#calendarSurface .calendar-commandbar,#calendarSurface #calendarFilters{display:none!important}
 .mobile-date-heading{display:flex;align-items:center;gap:7px;margin-bottom:12px}
 .mobile-date-heading>div{flex:1;min-width:0}.mobile-date-heading .eyebrow{font-size:10px;letter-spacing:1.4px;color:#626469;margin-bottom:4px;display:block}
 .mobile-date-heading h2{font-size:21px;line-height:1.2;letter-spacing:-.6px;color:#202124;margin:0}
 #calendarSurface .mobile-dispatch-controls button{min-height:42px;background:#fff;color:#292b2e;border:1px solid #dddeda;border-radius:8px;font-size:13px;padding:7px 9px;box-shadow:none;line-height:1.2}
 #calendarSurface .mobile-dispatch-controls button:disabled{opacity:.5}
 .mobile-day-navigation{display:flex;gap:3px;align-items:stretch}.mobile-date-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;flex:1;min-width:0}
 #calendarSurface .mobile-date-strip button{border:0;padding:6px 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:58px;font-variant-numeric:tabular-nums}
 #calendarSurface .mobile-date-strip button span{font-size:11px;color:#616369}.mobile-date-strip b{font-size:17px}
 #calendarSurface .mobile-date-strip button[aria-pressed=true]{background:#f1d600;color:#1d1e20}#calendarSurface .mobile-date-strip button[aria-pressed=true] span{color:#292b2e}
 #calendarSurface .mobile-day-navigation>button{border:0;padding:0 4px;font-size:26px;min-width:24px}
 .mobile-view-row{display:flex;gap:7px;align-items:center;margin-top:12px}.mobile-view-row>div{display:grid;grid-template-columns:repeat(4,1fr);flex:1;background:#eeefeb;padding:3px;border-radius:9px}
 #calendarSurface .mobile-view-row button{border:0;background:transparent;min-height:36px;padding:5px;font-size:12px}
 #calendarSurface .mobile-view-row button[aria-pressed=true]{background:#25272b;color:white}
 .mobile-date-picker{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;border:1px solid #dddeda;border-radius:8px;color:#3a3b40;font-size:12px}
 .mobile-date-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;min-width:0}
 .mobile-filter-row{display:flex;gap:7px;align-items:center;margin-top:9px}.mobile-filter-row>select{min-width:0;flex:1;font-size:13px;height:42px;padding:8px;border:1px solid #dddeda;background:#fff;color:#303136;border-radius:8px}
 #mobileDispatchActions{position:relative}#mobileDispatchActions>summary{list-style:none;min-height:42px;padding:11px 10px;background:#f1d600;color:#232427;border-radius:8px;font-size:13px;font-weight:650;cursor:pointer}#mobileDispatchActions>summary:after{content:' ▾'}
 #mobileActionsSlot{position:absolute;right:0;top:48px;width:240px;z-index:15;padding:10px;border:1px solid #d8d9d3;background:#fff;border-radius:10px;box-shadow:0 8px 30px #20212522}
 #calendarSurface #mobileActionsSlot .calendar-actions{display:flex;flex-direction:column;gap:8px}#calendarSurface #mobileActionsSlot .calendar-actions button{min-height:44px}
 #calendarSurface .calendar-view-context{margin:0;padding:8px 12px;font-size:12px;gap:5px;min-width:0;border:0;background:#f7f7f3;flex-wrap:wrap}
 #calendarSurface .calendar-view-context>div{gap:5px}#calendarSurface .calendar-view-context .calendar-context-label{display:none}#calendarSurface .calendar-view-context .calendar-freshness{font-size:11px}
 #calendarSurface .calendar-layout{display:flex;flex-direction:column;gap:8px;padding:0 10px 12px}
 #calendarSurface .dispatch-queue{margin:0;border:1px solid #deded7;background:#fff;border-radius:8px}
 #calendarSurface .dispatch-queue>summary{padding:9px 11px;min-height:44px;background:#26282c;color:#fff;font-size:12px;display:flex;justify-content:space-between;align-items:center;gap:6px;border-radius:7px}
 #calendarSurface .dispatch-queue>summary span{font-size:11px;color:#eee;line-height:1.4;margin:0;max-width:55%;text-align:right}
 #calendarSurface .calendar-main{min-width:0;width:100%}
 #calendarSurface .mobile-agenda-day{padding:0;margin:0 0 15px}
 #calendarSurface .mobile-agenda-day>header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding:8px 2px 10px;gap:4px}
 #calendarSurface .mobile-agenda-day h3{font-size:13px;color:#34363a;line-height:1.4;margin:0;font-weight:650}
 #calendarSurface .mobile-agenda-day>header>span{font-size:11px;color:#64666b;font-variant-numeric:tabular-nums}
 #calendarSurface .mobile-job{display:flex;text-align:left;gap:10px;width:100%;padding:12px 9px 12px 0;border:0;border-radius:0;background:transparent;color:#292c31;min-width:0;box-shadow:none;cursor:pointer;align-items:flex-start;white-space:normal}
 #calendarSurface .mobile-job+.mobile-job{border-top:1px solid #e3e3dc}
 .mobile-job-time{width:46px;flex:none;display:flex;flex-direction:column;gap:5px;padding-top:3px;font-variant-numeric:tabular-nums}.mobile-job-time>b{font-size:16px;font-weight:700;color:#202227;letter-spacing:-.6px}.mobile-job-time>span{font-size:11px;color:#64666c;font-weight:450}
 .mobile-job-content{display:block;flex:1;min-width:0;padding-left:11px;border-left:3px solid #e2cc0e}.mobile-job-content>strong{font-size:15px;line-height:1.35;font-weight:700;display:block;margin:4px 0;overflow-wrap:anywhere}
 .mobile-job-type{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:650;color:#595b60}.mobile-job-type .wct-illustration{width:28px;height:17px}.mobile-job-type>span:last-child{margin-left:auto;font-size:22px;color:#75777c}
 .mobile-job-reference,.mobile-job-window,.mobile-job-resource,.mobile-job-readiness,.mobile-job-overlap,.mobile-job-source{display:block;font-size:12px;line-height:1.5;font-weight:450;overflow-wrap:anywhere;color:#5b5d63}
 .mobile-job-window{font-variant-numeric:tabular-nums;color:#42444a}.mobile-job-resource{margin:3px 0 6px}
 .mobile-job-status{display:inline-block;background:var(--job-status-bg);color:var(--job-status);padding:4px 6px;border-radius:4px;font-size:11px;font-weight:700;line-height:1.25}
 .mobile-job-delay{display:inline-block;margin-left:5px;font-size:11px;font-weight:700;color:#7b4f14}.mobile-job-readiness{font-size:11px;margin-top:5px;color:#55575c}
 .mobile-job-overlap{font-size:11px;margin-top:4px;color:#7b5f14}.mobile-job-source{font-size:10px;color:#676a70;margin-top:4px}
 .mobile-agenda-empty{padding:17px 12px;background:#f7f7f2;border:1px solid #e2e2db;border-radius:9px;color:#42444a}.mobile-agenda-empty>b{font-size:14px}.mobile-agenda-empty>p{font-size:12px;line-height:1.5;margin:7px 0 0}
 #calendarSurface .dispatch-tools{margin:0 10px 14px}#calendarSurface .dispatch-tools>summary{font-size:12px;padding:12px}
 #calendarSurface button:focus-visible,#calendarSurface summary:focus-visible,#calendarSurface select:focus-visible,.mobile-date-picker:focus-within{outline:3px solid #9f8800;outline-offset:2px}
 #calendarSurface .mobile-job:hover{background:#fafaf7}
}
@media(prefers-reduced-motion:reduce){#mobileDispatch *,#calendarAgenda *{scroll-behavior:auto;transition:none}}

@media(max-width:767px){#calendarSurface .dispatch-queue{width:100%}.mobile-job-type,.mobile-job-time>span,.mobile-job-status,.mobile-job-readiness,.mobile-job-overlap,.mobile-job-source{font-size:12px}.mobile-job-source{color:#686a6f}.mobile-job-content>strong{font-size:16px}#calendarSurface .mobile-agenda-day>header>span{font-size:12px}}

@media(max-width:767px){#calendarSurface #mobileActionsSlot #planningHelp{display:block;width:100%;height:auto;min-height:44px;border-radius:7px;margin:8px 0 0;font-size:13px}}

/* Phone timed Day. All overrides stay below the tablet breakpoint. */
@media(max-width:767px){
 .ops-body.calendar-focus .ops-shell{padding:0 0 24px}
 .ops-body.calendar-focus #calendarSurface{border:0;border-radius:0;box-shadow:none}
 #calendarSurface .mobile-dispatch-controls{padding:10px 12px 8px}
 #calendarSurface .mobile-date-heading{margin-bottom:6px;gap:6px}
 #calendarSurface .mobile-date-heading h2{font-size:20px;letter-spacing:-.4px}
 #calendarSurface .mobile-date-heading button{min-height:40px;padding:7px 9px}
 #calendarSurface .mobile-date-strip button{min-height:48px;gap:3px;padding:3px 0}
 #calendarSurface .mobile-view-row{margin-top:6px;gap:8px}
 #calendarSurface .mobile-view-row button{font-size:13px;min-height:36px}
 #calendarSurface #mobileDispatchActions>summary{min-height:42px;padding:12px 10px}
 #calendarSurface #mobileActionsSlot{top:46px;width:260px;max-width:calc(100vw - 28px);display:flex;flex-direction:column;gap:10px;text-align:left}
 #calendarSurface #mobileDispatchActions:not([open]) #mobileActionsSlot{display:none}
 #calendarSurface #mobileActionsSlot .mobile-date-picker{width:100%;min-height:44px;flex:none}
 .mobile-work-filter{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#38393e}
 #calendarSurface .mobile-work-filter select{height:44px;width:100%;font-size:14px;background:#fff;border:1px solid #c9cbd0;border-radius:6px;padding:8px;color:#232428}
 #calendarSurface .calendar-view-context{padding:5px 12px;gap:3px;background:#fff}
 #calendarSurface .calendar-view-context>div:first-child{display:none}
 #calendarSurface .calendar-view-context .calendar-freshness{font-size:11px}
 #calendarSurface .calendar-layout{padding:0 10px 12px;gap:5px}
 #calendarSurface .calendar-main{padding:0}
 #calendarSurface .dispatch-queue>summary{padding:8px 10px;min-height:40px;font-size:12px;background:#f5f5f2;color:#25262a;border-radius:6px}
 #calendarSurface .dispatch-queue>summary span{font-size:11px;color:#4d4f54}
 #calendarSurface[data-presentation=timeline] .command-planner{display:none!important}
 #calendarSurface[data-presentation=timeline] .command-agenda{display:block!important;padding:0}
 #calendarSurface .phone-day{display:block}
 .phone-day-caption{display:flex;justify-content:space-between;gap:5px;padding:10px 0 14px;font-size:11px;color:#5d6065}
 .phone-time-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding-top:7px}
 .phone-time-grid{position:relative;margin-right:1px;background:#fff}
 .phone-time-grid.is-closed{background:repeating-linear-gradient(135deg,#f6f6f4,#f6f6f4 4px,#eeeeeb 4px,#eeeeeb 5px)}
 .phone-hour{position:absolute;left:0;right:0;display:flex;align-items:center;height:0;pointer-events:none}
 .phone-hour time{display:block;width:43px;flex:none;color:#696c73;font-size:11px;font-variant-numeric:tabular-nums;background:#fff;transform:translateY(0);line-height:1.2}
 .phone-hour time small{display:block;font-size:9px}.phone-hour i{height:1px;background:#e5e6e9;flex:1}
 .phone-time-events{position:absolute;left:43px;right:0;top:0;bottom:0}
 #calendarSurface .phone-time-event{position:absolute;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:3px;min-height:0;min-width:0;overflow:hidden;text-align:left;border:0;border-left:3px solid #d8b800;border-radius:5px;padding:6px 6px;background:#fff5b8;color:#26251b;box-shadow:none;white-space:normal;line-height:1.25;cursor:pointer}
 #calendarSurface .phone-time-event[data-kind=DELIVERIES]{background:#eaf0fa;border-color:#657a9b;color:#233651}
 #calendarSurface .phone-time-event[data-kind=YARD]{background:#eee8f3;border-color:#8c739e;color:#493459}
 #calendarSurface .phone-time-event[data-kind=INBOUND]{background:#f4e9dd;border-color:#ad8553;color:#634625}
 #calendarSurface .phone-time-event[data-kind=FLEET]{background:#e8eaed;border-color:#7a808b;color:#383e47}
 #calendarSurface .phone-time-event[data-kind=DISPATCH]{background:#f1e8e9;border-color:#a97480;color:#5c3540}
 .phone-event-kind{font-size:10px;line-height:1.2;font-weight:600;overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}
 .phone-time-event strong{font-size:13px;font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;flex-shrink:0}
 .phone-event-time{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}
 .phone-event-resource{font-size:11px;overflow-wrap:anywhere}
 .phone-event-status{display:block;font-size:10px;font-weight:700;line-height:1.2;margin-top:2px;max-width:100%;overflow:hidden;flex:none}
 #calendarSurface .phone-time-event.is-short{padding:3px 5px;gap:1px}
 .phone-time-event.is-short strong{font-size:11px;white-space:nowrap;display:block;text-overflow:ellipsis;max-width:100%;overflow:hidden}
 .phone-time-event.is-short .phone-event-kind{display:none}.phone-time-event.is-short .phone-event-time{font-size:10px}.phone-time-event.is-short .phone-event-status{position:absolute;right:2px;top:0;font-size:0;width:5px;height:5px;background:currentColor;border-radius:50%}
 .phone-closed-hours{position:absolute;left:43px;right:0;background:repeating-linear-gradient(135deg,#f6f6f4,#f6f6f4 4px,#eeeeeb 4px,#eeeeeb 5px);font-size:10px;color:#75777b;padding:5px}
 .phone-day-empty{padding:12px;margin-bottom:10px;border-left:3px solid #e0c400;background:#faf9f2;font-size:14px}.phone-day-empty small{display:block;font-size:12px;color:#67686c;margin-top:4px}
 .phone-day-boundary,.phone-day-scroll-hint{font-size:11px;color:#676a70;line-height:1.5;margin:10px 0}
 .phone-untimed{padding:12px;background:#fff8e4}.phone-untimed button{width:100%;margin-top:8px;font-size:13px;padding:12px}
}
@media(max-width:767px){
 #calendarSurface .phone-time-event.is-short:not(.is-tiny) .phone-event-status{position:static;font-size:10px;width:auto;height:auto;background:transparent;border-radius:0;margin:0}
 #calendarSurface .phone-time-event.is-short:not(.is-tiny) strong{font-size:12px}
}
@media(max-width:767px){
 .ops-body.calendar-focus .topbar{position:static}
 .phone-hour time{position:sticky;left:0;z-index:3;padding:4px 0;background:#fff}
}
@media(max-width:767px){
 .phone-time-frame{position:relative;padding-left:43px}
 .phone-time-axis{position:absolute;left:0;top:0;width:43px;bottom:0}
 .phone-time-axis time{position:absolute;left:0;transform:translateY(-50%);font-size:11px;color:#696c73;font-variant-numeric:tabular-nums;line-height:1.2}
 .phone-time-axis time small{display:block;font-size:9px}
 .phone-time-events,.phone-closed-hours{left:0}
}
