/* Schedule drag and drop (navy / teal / gold). */
.sched-with-cust { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 12px; align-items: start; }
.sched-with-cust .dnd-main { min-width: 0; overflow-x: auto; } /* a wide Week grid scrolls in its own column instead of running under the Customers panel */
@media (max-width: 899px) { .sched-with-cust { grid-template-columns: minmax(0, 1fr) 190px; } }
.dnd-cust { position: sticky; z-index: 2; top: 8px; max-height: calc(100vh - 120px); display: flex; flex-direction: column; gap: 8px; padding: 10px; }
.dnd-cust-head { display: flex; flex-direction: column; gap: 2px; }
.dnd-cust .search-input { width: 100%; box-sizing: border-box; }
.dnd-cust-list { overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.dnd-cust-row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y; }
.dnd-cust-row:hover { border-color: #0e9e94; }
.dnd-grip { color: #94a3b8; font-size: 12px; letter-spacing: -2px; }
[data-dnd-appt] { cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y; }
.dnd-pressing { box-shadow: 0 0 0 2px #0e9e94 inset; }
.dnd-source { opacity: .35; }
.dnd-ghost { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; opacity: .92; box-shadow: 0 10px 24px rgba(10, 22, 40, .28); border-radius: 8px; background: #fff; border-left: 4px solid #0e9e94; cursor: grabbing; }
body.dnd-active, body.dnd-active * { cursor: grabbing !important; }
.dnd-over.timeline { background: rgba(25, 211, 197, .06); }
.wk-col.dnd-over { border-color: #0e9e94; background: #effcfb; }
.dnd-marker { position: absolute; left: 64px; right: 4px; border: 2px dashed #0e9e94; background: rgba(25, 211, 197, .16); border-radius: 8px; z-index: 3; pointer-events: none; }
.dnd-marker span { position: absolute; top: 2px; left: 6px; font-size: 12px; font-weight: 700; color: #0a1628; background: #fff7e8; padding: 0 4px; border-radius: 4px; }
.dnd-marker.wk { position: relative; left: 0; right: 0; min-height: 34px; }
.dnd-summary { margin-bottom: 10px; }
.dnd-conflict { border: 1px solid #F5A623; background: #fff7e8; color: #0a1628; border-radius: 8px; padding: 8px 10px; margin: 8px 0; display: flex; flex-direction: column; gap: 2px; }
.dnd-text-warn { border-left: 4px solid #ee580c; background: #fdeee4; color: #0a1628; padding: 8px 10px; border-radius: 6px; font-weight: 600; }

.dnd-crew-conflict { font-weight: 700; color: #0a1628; }
.dnd-off { margin-top: 10px; padding: 8px 10px; border-left: 4px solid #F5A623; background: #fff7e8; border-radius: 6px; color: #0a1628; }
.dnd-toast-undo { font-weight: 800; }
/* Who can schedule (More > Team) */
.sched-access-list { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.sched-access-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; }
.sched-access-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sched-access-row input[type=checkbox] { width: 22px; height: 22px; accent-color: #0e9e94; flex: none; }
.sched-access-row input[type=checkbox]:disabled { opacity: .5; cursor: default; }
/* Roles and scheduling card (Office role, Nov 28 2026) */
.sched-access-row { cursor: default; flex-wrap: wrap; }
.sched-access-controls { display: flex; align-items: center; gap: 10px; flex: none; }
.sched-access-role { min-height: 36px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font: inherit; }
.sched-access-role:focus { outline: 2px solid #19D3C5; outline-offset: 1px; }
.sched-access-switch { display: flex; align-items: center; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Office view: a teal tag by the business name so an office person knows which access they have */
body.office-view #biz-role { color: #0E9E94; font-weight: 700; }
/* Dispatch board drag and drop (Schedule > Board, Dec 2 2026). Navy text, teal only as a thin accent. */
[data-board-dnd] [data-board-job] { cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-x pan-y; }
[data-board-dnd] [data-board-job] .board-open { padding-right: 18px; }
.board-grip { position: absolute; top: 8px; right: 8px; z-index: 2; color: #94a3b8; font-size: 12px; letter-spacing: -2px; pointer-events: none; }
.board-move { position: relative; z-index: 2; display: inline-flex; align-items: center; margin-top: 8px; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--text); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.board-move:hover { border-color: #0e9e94; }
.board-move:focus-visible { outline: 2px solid #19D3C5; outline-offset: 1px; }
.board-card .appt-edit + .board-move { margin-left: 10px; }
.board-hint { margin: 0 0 8px; }
.board-col.dnd-over { border-color: #0e9e94; box-shadow: 0 0 0 1px #0e9e94 inset; }
.board-drop-line { height: 0; border-top: 3px solid #0e9e94; border-radius: 3px; margin: -2px 0 6px; }
.board-ghost { padding: 10px 12px; border: 1px solid var(--border); border-left: 4px solid #0e9e94; border-radius: 12px; background: var(--card); color: var(--text); }
.board-ghost .board-move, .board-ghost .appt-edit, .board-ghost .needs-addr { display: none; }
.board-off { margin: 0 0 10px; }
