/* v8.21 · month press-and-move and legible weekly entries when pinching */
.month-entry[data-drag-entry]{
  touch-action:none!important;
  -webkit-touch-callout:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  cursor:grab!important;
}
.month-entry.drag-armed{outline:1px dashed #5c5750!important;outline-offset:1px;}
.month-entry.drag-source{opacity:.32!important;}
.month-cell.month-drop-target{background:#e9e5dc!important;box-shadow:inset 0 0 0 2px #9b9183!important;}
/* Month text must stay stable as the horizontally scrollable paper calendar moves. */
.month-entry[data-drag-entry]:active{cursor:grabbing!important;}
/* Weekly cards adapt their typography to the available width and duration. */
.week-track .time-block{min-width:0!important;overflow:hidden!important;}
.week-track .time-block .block-text{
  display:block!important;min-width:0!important;max-width:100%!important;
  width:100%!important;white-space:normal!important;overflow:hidden!important;
}
.week-track .time-block .block-title{
  display:block!important;white-space:normal!important;
  overflow-wrap:anywhere!important;word-break:normal!important;
  text-overflow:clip!important;max-width:100%!important;
  line-height:1.23!important;
}
/* At small hour heights, remove nonessential calendar metadata so names can use 2–3 lines. */
.week-track .timeline-scroll.compact-zoom .time-block .item-type,
.timeline-scroll.compact-zoom .week-track .time-block .item-type,
.timeline-scroll.compact-zoom .week-track .time-block .block-time{display:none!important;}
.timeline-scroll.compact-zoom .week-track .time-block .block-title{
  white-space:normal!important;text-overflow:clip!important;
  overflow-wrap:anywhere!important;line-height:1.2!important;
}
/* On 7-day overview there is less width; keep each event within its own column. */
.week-track.overview .time-block .block-title{white-space:normal!important;overflow-wrap:anywhere!important;font-size:9px!important;line-height:1.2!important;}
.week-track .time-block.event-card .inline-edit{background:transparent!important;border:none!important;padding:0!important;}
