/* v8.24 — accurate 24:00 timeline boundary and 7-column readability */
/* Timeline cards are clipped to the actual duration lane rather than pushed
   into the footer; geometry is also clamped in app.js on pinch-zoom. */
.week-track .time-lane,.day-timeline-grid .time-lane {
  overflow:clip;
  overflow-clip-margin:0px;
}
/* 7-day overview deliberately omits the visual check circle only.
   Completion is still editable in the record editor, and remains recognizable
   via opacity and strikethrough. In 4-day WEEK and DAY checks are unchanged. */
.week-track.overview .time-block.check-card .item-visual>input[type="checkbox"] {
  display:none!important;
}
.week-track.overview .time-block.check-card .item-visual {
  padding:0 1px 0 3px!important;
  min-width:0!important;
  gap:0!important;
}
.week-track.overview .time-block.check-card .item-visual>.inline-edit {
  display:block!important; flex:1 1 auto!important;
  width:100%!important;min-width:0!important;
  padding:2px 1px!important;
  overflow:hidden!important;
}
.week-track.overview .time-block .item-type,
.week-track.overview .time-block .block-time { display:none!important; }
.week-track.overview .time-block .block-title {
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  word-break:keep-all!important;
  overflow-wrap:anywhere!important;
  white-space:normal!important;
  font-size:9px!important;
  line-height:1.2!important;
  max-width:100%!important;
}
.week-track.overview .time-block .schedule-note-preview {
  -webkit-line-clamp:1!important;
  font-size:8px!important;
  line-height:1.15!important;
}
.week-track.overview .time-block.check-card.done .block-title {
  text-decoration:line-through!important;
  opacity:.62;
}
/* When copy is blocked, expose only the editable fallback; default dialog
   shows exactly the requested two actions. */
.bridge-copy-fallback:not([hidden]) {
  display:block!important;width:100%;min-height:115px;
  box-sizing:border-box;white-space:pre-wrap;font-size:12px;
  margin-top:10px;border:1px solid #c8c4be;
  background:#fffefa;color:#34322e;padding:9px;
}
/* Very small zoom levels must not force an Event's old minimum of 23px
   beyond the hour grid: inline geometry is authoritative. */
.week-track .time-block.event-card[data-slot-start],
.day-timeline-grid .time-block.event-card[data-slot-start] {
  min-height:0!important;
  box-sizing:border-box!important;
}
/* Use nearly the entire narrow 7-day cell for a readable title. */
.week-track.overview .time-block[data-overlap]{
  left:2px!important;
  width:calc(100% - 3px)!important;
}
.week-track.overview .all-day-item.check-card>input[type="checkbox"] {
  display:none!important;
}
.week-track.overview .all-day-item.check-card .all-text{min-width:0!important;width:100%!important;}
.week-track.overview .time-block.event-card[data-defer-event-label="1"] .block-text{
  transform:translateY(31px);
  max-height:calc(100% - 31px)!important;
  overflow:hidden!important;
}
