/* ORDO v2.81 · unified drag engine for Month / Week / Day */
#agendaModule .calendar-grid .event-chip,
#agendaModule .ordo-timeline-event-body{cursor:grab!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important}
#agendaModule .calendar-grid .event-chip:active,
#agendaModule .ordo-timeline-event-body:active{cursor:grabbing!important}

#agendaModule .ordo-time-day-column{transition:background .14s ease,box-shadow .14s ease}
#agendaModule .ordo-time-day-column.ordo-time-drop-target{background:color-mix(in srgb,var(--ordo-primary,#6C5CE7) 8%,var(--ordo-surface))!important;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--ordo-primary,#6C5CE7) 48%,transparent)!important}
#agendaModule .calendar-grid .day.ordo-unified-drop-target{outline:2px solid color-mix(in srgb,var(--ordo-primary,#6C5CE7) 72%,white 10%)!important;outline-offset:-3px!important;background:color-mix(in srgb,var(--ordo-primary,#6C5CE7) 10%,transparent)!important}

#agendaModule .ordo-timeline-event.ordo-unified-drag-source,
#agendaModule .event-chip.ordo-unified-drag-source{opacity:.24!important;filter:saturate(.55)!important;box-shadow:none!important;transform:none!important}
#agendaModule .ordo-timeline-event.ordo-time-dragging{z-index:20!important}
#agendaModule .event-chip.ordo-month-drag-source{opacity:.24!important}

.ordo-event-drag-ghost{position:fixed!important;z-index:100000!important;pointer-events:none!important;margin:0!important;box-sizing:border-box!important;opacity:.96!important;filter:brightness(1.08) saturate(1.05)!important;box-shadow:0 18px 38px rgba(0,0,0,.32)!important;transform:none!important;transition:none!important;overflow:hidden!important;will-change:left,top!important;cursor:grabbing!important}
.ordo-event-drag-ghost.is-timeline{border-radius:9px!important}
.ordo-event-drag-ghost.is-month{border-radius:7px!important;display:flex!important;align-items:center!important;white-space:nowrap!important;text-overflow:ellipsis!important}
.ordo-event-drag-ghost button{pointer-events:none!important}
.ordo-drag-time-tip{position:fixed;z-index:100001;pointer-events:none;padding:6px 9px;border-radius:8px;background:#0B0D12;color:#fff;font:700 11px/1.1 Inter,system-ui,sans-serif;box-shadow:0 8px 22px rgba(0,0,0,.28);white-space:nowrap}

/* Day view completion: task-like, obvious, compact when events overlap. */
#agendaModule .ordo-event-check{appearance:none!important;flex:0 0 auto!important;width:auto!important;min-width:38px!important;border:0!important;border-right:1px solid color-mix(in srgb,var(--event-color) 24%,var(--ordo-border))!important;background:color-mix(in srgb,var(--event-color) 7%,transparent)!important;color:var(--ordo-text)!important;font:inherit!important;font-size:10px!important;font-weight:800!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:0 7px!important;touch-action:manipulation!important}
#agendaModule .ordo-event-check::before{display:none!important}
#agendaModule .ordo-check-box{display:grid;place-items:center;flex:0 0 16px;width:16px;height:16px;border:1.5px solid color-mix(in srgb,var(--event-color) 68%,var(--ordo-muted));border-radius:5px;box-sizing:border-box;font-size:11px;line-height:1;color:transparent;background:transparent}
#agendaModule .ordo-check-label{white-space:nowrap}
#agendaModule .ordo-event-check:hover{background:color-mix(in srgb,var(--event-color) 15%,transparent)!important}
#agendaModule .ordo-event-check.checked{background:color-mix(in srgb,var(--event-color) 88%,#000 4%)!important;color:#fff!important}
#agendaModule .ordo-event-check.checked .ordo-check-box{border-color:#fff;background:#fff;color:var(--event-color)}
#agendaModule .ordo-timeline-event[style*="width:calc(50%"] .ordo-check-label,
#agendaModule .ordo-timeline-event[style*="width:calc(33.333"] .ordo-check-label,
#agendaModule .ordo-timeline-event[style*="width:calc(25%"] .ordo-check-label{display:none}
#agendaModule .ordo-timeline-event[style*="width:calc(50%"] .ordo-event-check,
#agendaModule .ordo-timeline-event[style*="width:calc(33.333"] .ordo-event-check,
#agendaModule .ordo-timeline-event[style*="width:calc(25%"] .ordo-event-check{min-width:28px!important;padding:0 5px!important}

@media(max-width:640px){
  #agendaModule .ordo-check-label{display:none}
  #agendaModule .ordo-event-check{min-width:28px!important;padding:0 5px!important}
  .ordo-event-drag-ghost{max-width:82vw!important}
}
