.worker-day-flow{max-width:1040px;margin:0 auto}.worker-stage-card{border-top:5px solid #2563eb;padding:26px}.worker-stage-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.worker-day-time{font-size:1.1rem;margin:0}.worker-day-time strong{font-size:1.5rem;white-space:nowrap}.worker-stage-card h2{font-size:1.7rem;line-height:1.25;margin:20px 0 12px}.worker-stage-card.stage-preparation,.worker-stage-card.stage-complete{border-top-color:#17865c}.worker-stage-card.stage-declined{border-top-color:#64748b}.worker-stage-card.stage-unavailable{border-top-color:#b91c1c}.worker-meeting{padding:18px 0}.worker-meeting span{display:block;color:#64748b;font-size:.9rem;margin-bottom:6px}.worker-meeting strong{display:block;overflow-wrap:anywhere}.worker-invitation-actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}.worker-invitation-actions button{min-height:56px;flex:1;font-size:1.1rem}.worker-day-flow .panel{margin-bottom:18px}.worker-current-object h2{font-size:1.65rem;line-height:1.3}.worker-object-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.worker-current-object .dispatch-worker-actions{display:flex;gap:12px}.worker-current-object .dispatch-worker-actions button{flex:1;min-height:58px}.worker-day-flow details>summary{padding:10px 0;font-weight:650;cursor:pointer}.worker-preparation>.button,.worker-preparation>button{margin-top:12px}.worker-day-flow .work-map-widget h3{font-size:1rem;color:#64748b}.worker-day-flow #map-draft-geometry{height:420px}.worker-other-day{padding:18px 0;border-bottom:1px solid #e2e8f0}.worker-all-objects .worker-zone-overview{box-shadow:none;border:0;padding:12px 0}.worker-next h2{font-size:1rem;color:#64748b}.worker-next .dispatch-worker-row{border:0;padding:4px 0}.worker-day-flow .workday-messages{border-left:4px solid #008b9b}.worker-day-flow .workday-message-items{max-height:260px;overflow:auto}.worker-day-flow .dispatch-worker-current{scroll-margin-top:95px}
@media(max-width:600px){.worker-stage-card{padding:18px}.worker-stage-top{align-items:flex-start}.worker-day-time{font-size:.95rem}.worker-day-time strong{display:block;font-size:1.8rem;margin-top:6px}.worker-stage-card h2{font-size:1.45rem}.worker-invitation-actions{flex-direction:column}.worker-day-flow #map-draft-geometry{height:360px}.worker-current-object .dispatch-worker-actions{flex-direction:column}.worker-day-flow .panel{padding:18px}.worker-stage-top>button{min-height:44px}.worker-current-object h2{font-size:1.4rem}}

.worker-stage-card.stage-arrival{border-top-color:#008b9b}.worker-arrival-actions button{width:100%;min-height:58px;font-size:1.2rem;background:#008b9b}.arrival-badge{display:inline-block;padding:5px 9px;border-radius:8px;font-size:.85rem;line-height:1.4;font-weight:600}.arrival-badge.is-arrived{background:#e5f5ed;color:#11643e}.arrival-badge.is-waiting{background:#f0f3f6;color:#536273}.worker-team-roster li .arrival-badge{display:block;width:fit-content;margin-top:6px}.arrival-roster{margin:12px 0;font-size:.85rem}.arrival-roster>strong{display:block;margin-bottom:8px}.arrival-member{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;padding:7px 0;border-bottom:1px solid #e2e8f0}.arrival-member>span:first-child{overflow-wrap:anywhere;min-width:0}.worker-stage-card>.arrival-badge{margin-top:8px}

.worker-stage-card.stage-gathering{border-top-color:#d69a22}.team-gathering-notice{margin:12px 0;padding:12px 14px;border-left:3px solid #d69a22;border-radius:8px;background:#fff7e8;color:#644715;overflow-wrap:anywhere}.team-gathering-notice p{margin:0 0 10px}.team-gathering-notice p:last-child{margin-bottom:0}.team-gathering-notice ul{margin:8px 0;padding-left:22px}.team-gathering-notice button{min-height:44px}

.meeting-navigation{margin-top:10px;min-height:44px}.meeting-point-actions{align-items:center;flex-wrap:wrap}.meeting-point-actions .meeting-navigation{margin-top:0}

/* Current work starts with the address and one prominent state-dependent action. */
.worker-day-flow .worker-current-stage{padding:14px 20px;border-top-width:3px;margin-bottom:12px}
.worker-current-stage .worker-day-time,.worker-current-stage .worker-day-time strong{font-size:1rem}
.worker-current-stage .worker-day-time strong{display:inline;margin:0}
.worker-current-stage .worker-gathering-details{font-size:.85rem;margin-top:6px}
.worker-current-stage .worker-gathering-details>summary{padding:4px 0}
.worker-current-object .worker-object-heading h2{margin:0}
.worker-current-object .dispatch-worker-actions{padding:12px 0 6px;margin:0;align-items:stretch}
.worker-current-object .dispatch-worker-actions .worker-object-primary{flex:2;min-height:58px;font-size:1.15rem;font-weight:750}
body[data-section] .worker-current-object button.worker-object-done{background:#16804a}
.worker-current-object .dispatch-worker-actions .worker-object-problem{flex:1;font-size:.9rem;min-height:44px}
.worker-current-object .work-map-widget>.map-touch-help{margin:8px 0;font-size:12px}
@media(max-width:600px){.worker-day-flow .worker-current-stage{padding:12px 16px}.worker-current-object .dispatch-worker-actions .worker-object-primary{flex:auto;width:100%}.worker-current-object .dispatch-worker-actions .worker-object-problem{flex:auto;align-self:flex-end;min-height:36px;padding:6px 10px}.worker-current-object .work-map-widget .object-map-heading h3{display:none}}

.worker-object-title{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;min-width:0;flex:1}
.worker-object-title h2{overflow-wrap:anywhere}
.worker-object-title .worker-object-navigation{min-height:44px;font-size:.9rem;white-space:normal}
.worker-object-heading>.dispatch-state{align-self:flex-start}
.worker-object-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.worker-object-tools button{min-height:44px}
@media(max-width:600px){.worker-object-title{flex:1 1 100%;width:100%}.worker-object-heading{align-items:flex-start}.worker-object-tools{width:100%;justify-content:space-between}}
.worker-message-manager{width:100%;min-height:52px;margin:8px 0 12px;font-size:1.05rem}
.worker-object-chat{width:min(760px,calc(100vw - 24px));height:min(850px,calc(100dvh - 24px));max-width:none;max-height:none;padding:18px;border:0;border-radius:14px;box-sizing:border-box}
.worker-object-chat[open]{display:flex;flex-direction:column;gap:12px}.worker-chat-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.worker-chat-heading h2{font-size:1.2rem;margin:6px 0;overflow-wrap:anywhere}.worker-chat-heading button{flex-shrink:0;min-height:48px}.worker-chat-thread{min-height:80px;flex:1;overflow:auto;overscroll-behavior:contain}.worker-chat-message{padding:12px;background:#f1f5f9;border-radius:10px;margin-bottom:10px}.worker-chat-message.is-manager{background:#e0f2ed;border-left:4px solid #16804a}.worker-chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.worker-object-chat form{margin:0}.worker-object-chat textarea{font-size:18px;min-height:100px;width:100%;box-sizing:border-box}.worker-chat-tools{display:flex;gap:8px;flex-wrap:wrap}.worker-chat-tools button{min-height:48px;flex:1}.worker-chat-tools [aria-pressed=true]{background:#b91c1c;color:white}.worker-object-chat [data-chat-send]{width:100%;min-height:54px;font-size:1.1rem}.worker-object-chat [data-chat-status]{margin:6px 0;overflow-wrap:anywhere}.worker-reply-popup{position:fixed;z-index:1200;right:12px;bottom:12px;max-width:420px;width:calc(100% - 24px);box-sizing:border-box;padding:18px;border-radius:14px;background:white;border:3px solid #008b9b;box-shadow:0 4px 30px #0003}.worker-reply-popup p{max-height:140px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.worker-reply-popup [data-dismiss]{float:right;min-width:44px;min-height:44px;margin-left:8px}.worker-reply-popup [data-open]{min-height:48px;width:100%}
@media(max-width:600px){.worker-object-chat{width:100%;height:100dvh;margin:0;inset:0;border-radius:0;padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}.worker-chat-heading{flex-wrap:wrap}.worker-chat-heading button{width:100%}.worker-chat-heading h2{font-size:1.05rem}.worker-object-chat textarea{min-height:80px}.worker-reply-popup{bottom:max(12px,env(safe-area-inset-bottom))}}

/* One shared, compact route; completed addresses remain discoverable in place. */
.worker-zone-list-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}.worker-zone-list-heading h2{margin:0;font-size:1.1rem}.worker-zone-list>p{margin:8px 0 10px}.worker-zone-rows{display:grid;gap:5px}
body .worker-route-row{display:grid;grid-template-columns:2.4em minmax(0,1fr) auto 10px;gap:7px;align-items:center;min-height:52px;padding:9px 10px;width:100%;text-align:left;text-decoration:none;border-radius:7px;border:1px solid #e2e8f0;border-left:4px solid #94a3b8;background:#f8fafc;color:#334155;font-size:.9rem;font-weight:600;line-height:1.35}
.worker-route-address{overflow-wrap:anywhere}.worker-route-address small{display:block;font-size:.75rem;font-weight:400;color:#64748b}.worker-route-number{font-size:.8rem;color:#64748b}.worker-route-status{font-size:.72rem;font-weight:600;max-width:6.5em}.worker-route-row.is-selected{outline:2px solid #008b9b;outline-offset:0}
body .worker-route-row.state-done{background:#e9f7ef;border-left-color:#16804a;color:#11643e}body .worker-route-row.state-active{background:#eaf1ff;border-left-color:#2563eb;color:#174eaa}body .worker-route-row.state-problem{background:#fff0ee;border-left-color:#dc2626;color:#a52323}body .worker-route-row.state-unassigned{background:#fff;border-left-color:#cbd5e1;color:#64748b}
.worker-back-current{margin-top:12px;min-height:44px}
@media(max-width:600px){.worker-day-flow .worker-zone-list{padding:12px}.worker-zone-list-heading h2{font-size:1rem}body .worker-route-row{padding:8px;gap:5px;font-size:.85rem;grid-template-columns:2em minmax(0,1fr) auto 8px}}

body[data-section] .worker-current-object button.worker-object-primary{background:#2563eb;color:white}
body[data-section] .worker-current-object button.worker-object-done{background:#16804a;color:white}
body[data-section] .worker-current-object button.worker-message-manager{background:#c62828;color:white}
.worker-reply-popup.is-receipt{border-color:#16804a}
#worker-map-inbox .communication-item{padding:10px 8px;margin:0;line-height:1.35}
#worker-map-inbox .communication-item p{margin:5px 0}
#worker-map-inbox .communication-heading{gap:4px 8px}
#worker-map-inbox .feedback-event{padding:5px 8px;margin:5px 0}
#worker-map-inbox .communication-item .actions{margin-top:6px;gap:6px;display:flex;flex-wrap:wrap}
#worker-map-inbox .communication-item .actions>*{flex:0 1 auto;min-height:44px;padding:6px 10px;font-size:.8rem}
#worker-map-inbox .communication-item .actions:empty{display:none}
#worker-map-inbox .feedback-receipt{padding:3px 7px}
#worker-map-inbox h2{margin:0 0 8px;font-size:1.1rem}
#worker-map-inbox form{margin:8px 0 12px}#worker-map-inbox form textarea{min-height:64px;height:64px}
#worker-map-inbox form label{margin:6px 0}#worker-map-inbox blockquote{margin:5px 0;padding:5px 8px}
@media(max-width:600px){.worker-day-flow>.panel,.worker-day-flow>.worker-zone-list{padding:12px 8px}.worker-day-flow .work-map-widget{min-width:0}.worker-chat-message{padding:8px;margin-bottom:6px}.worker-chat-message p{margin:5px 0}}
@media(max-width:600px){#worker-dispatch.worker-day-flow{padding:0;width:100%;max-width:none}}

body .worker-route-row.state-queued{background:#edf3fd;border-left-color:#82a7de;color:#345b92}
body .worker-route-row.state-cancelled,body .worker-route-row.state-unassigned,body .worker-route-row.state-skipped{background:#f7f8fa;border-color:#e9edf2;border-left-color:#dce1e7;color:#6b7788;font-weight:500}
#worker-map-inbox .worker-message-history>summary{padding:2px 0;line-height:1.5}
#worker-map-inbox:has(.worker-message-history:not([open])){padding-top:12px;padding-bottom:12px}
.worker-peer-team{border-top:1px solid #e2e8f0;padding:8px 0}.worker-peer-team p{margin:4px 0;font-size:.9rem}

.object-instructions{margin:12px 0;padding:10px 12px;border-left:3px solid #5690c4;background:#f2f7fc;border-radius:6px}
.object-instructions h3,.object-instructions p{margin:4px 0;font-size:1rem;white-space:pre-wrap}
.object-checklist{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}
.object-checklist li{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:4px 0;border-top:1px solid #dce5ed}
.object-checklist .object-task-check{flex:1 1 220px;min-height:48px;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}
.object-checklist .is-complete .object-task-check{color:#176f45;background:#e5f5ec}
.object-checklist small{flex-basis:100%;color:#63796f}
.map-directive-picker{position:absolute;z-index:8;left:10px;right:10px;bottom:70px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;background:white;border:2px solid #d68a08;border-radius:8px}
.object-instructions-open{display:block;margin-top:8px}
.worker-object-task .object-task-text{flex:1 1 180px;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:600}
body[data-section] .object-checklist button.object-task-complete{flex:0 0 auto;min-height:48px;padding:10px 18px;text-align:center;background:#16804a;color:#fff;border:1px solid #11643b;white-space:nowrap;font-weight:700}
.object-checklist .object-task-complete:hover:not(:disabled){background:#11643b}
.object-checklist .is-complete .object-task-complete:disabled{opacity:1;background:#e0f3e8;color:#11643b;border-color:#91c7a7}
.worker-object-task .object-task-undo{flex-basis:auto}
@media(max-width:420px){.worker-object-task .object-task-text{flex-basis:calc(100% - 150px);min-width:100px}body[data-section] .object-checklist button.object-task-complete{padding:10px 12px}}
.worker-chat-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 8px}
body[data-section] .worker-chat-tabs button[role=tab]{min-height:52px;padding:10px 12px;background:#edf2f7;color:#334155;border:2px solid #cbd5e1;border-radius:9px;font-weight:700;line-height:1.3}
body[data-section] .worker-chat-tabs button[aria-selected=true]{background:#165bc6;border-color:#165bc6;color:#fff;box-shadow:0 2px 5px #163c7326}
.worker-chat-tabs [data-chat-count]{display:inline-block;min-width:24px;padding:2px 6px;margin-left:4px;border-radius:12px;background:#ffffff40;font-size:.85em}
.worker-chat-scope{margin:0 0 10px;color:#526477;overflow-wrap:anywhere}
.worker-chat-object{margin-top:4px;font-weight:600;color:#526477}
.worker-object-chat .worker-chat-tabs,.worker-object-chat .worker-chat-scope{flex-shrink:0}

.object-checklist li.worker-object-task{padding:12px;gap:10px;background:#fff;border:1px solid #efc4c4;border-left:4px solid #cf3038;border-radius:9px;box-shadow:0 2px 5px #26374608}
.worker-object-task .object-task-content{flex:1 1 200px;min-width:0}
.worker-object-task .object-task-heading{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:6px;font-size:.85rem;line-height:1.4}
.worker-object-task .object-task-icon{width:22px;height:22px;flex-shrink:0;color:#4c6075}
.worker-object-task .object-task-status{display:inline-flex;align-items:center;gap:6px;color:#a6222b;font-weight:600}
.worker-object-task .object-task-indicator{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#d32f3b;box-shadow:0 0 0 3px #fde8e9}
.worker-object-task .object-task-text{display:block;font-weight:700;line-height:1.45}
.object-checklist li.worker-object-task.is-complete{background:#f3faf6;border-color:#bfdfca;border-left-color:#16804a;box-shadow:none}
.worker-object-task.is-complete .object-task-status{color:#176f45}
.worker-object-task.is-complete .object-task-indicator{width:16px;height:16px;flex-basis:16px;background:#16804a;box-shadow:none;color:white;display:inline-flex;align-items:center;justify-content:center;font-size:12px}
body[data-section] .object-checklist .is-complete button.object-task-complete:disabled{background:#e0f3e8;color:#11643b}
@media(max-width:420px){.object-checklist li.worker-object-task{padding:10px}.worker-object-task .object-task-content{flex-basis:100%}.worker-object-task .object-task-text{min-width:0}.worker-object-task .object-task-heading{gap:6px}}
