/* SchoolDay v272.63: calendars -- an event's checklist, Move, the column's name on Sundays (admin-calendar-v27263.js). */

/* The checklist on the event's card. */
.admin-event-card .event-checklist-v27263 { display: flex; flex-wrap: wrap; margin: .2rem 0 .1rem; font-size: .8rem; line-height: 1.3; color: #14532d; }
.admin-event-card .event-checklist-v27263 span { margin: 0 .5rem .1rem 0; padding: .05rem .4rem; border-radius: 999px; background: #dcfce7; }

/* The attachment window: three frames side by side, the checklist the third. */
.admin-attachment-two-panel.has-checklist-v27263 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .admin-attachment-two-panel.has-checklist-v27263 { grid-template-columns: 1fr; } }
.admin-attachment-checklist-panel-v27263 ul { list-style: none; margin: 0 0 .6rem; padding: 0; }
.admin-attachment-checklist-panel-v27263 li { display: flex; align-items: center; justify-content: space-between; padding: .25rem 0; border-bottom: 1px solid #e2e8f0; }
.admin-attachment-checklist-panel-v27263 li span { min-width: 0; overflow-wrap: anywhere; }
.admin-attachment-checklist-panel-v27263 li button { flex: none; margin-left: .5rem; min-height: 0; padding: .1rem .5rem; }
.checklist-add-v27263 { display: flex; align-items: stretch; }
.checklist-add-v27263 input { flex: 1 1 auto; min-width: 0; margin-right: .4rem; }

/* Move: a date and Move, under the event. */
.event-move-v27263 { display: flex; flex-wrap: wrap; align-items: center; margin-top: .45rem; padding: .45rem .5rem; border: 1px dashed #93c5fd; border-radius: 10px; background: #eff6ff; }
.event-move-v27263 label { display: flex; align-items: center; margin: 0 .5rem .3rem 0; font-weight: 700; font-size: .85rem; }
.event-move-v27263 label input { margin-left: .4rem; }
.event-move-v27263 button { margin: 0 .4rem .3rem 0; }
.event-move-v27263 p { flex-basis: 100%; margin: 0; }
.event-move-toast-v27263 { position: fixed; left: 50%; bottom: 1.5rem; z-index: 9000; transform: translateX(-50%); padding: .7rem 1.1rem; border-radius: 12px;
  background: #14532d; color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(15, 23, 42, .25); }

/* An empty Sunday in School & Key Stage Calendars: the column's name, faint; gone once an event is being written. */
td.sunday-label-v27263 { position: relative; min-height: 2.8rem; }
td.sunday-label-v27263 > :not(.cell-column-watermark) { position: relative; z-index: 1; }
td.sunday-label-v27263 .sunday-watermark-v27263 { top: 50%; bottom: auto; transform: translateY(-50%); font-size: .82rem; color: rgba(18, 59, 93, .45); }
td.sunday-label-v27263 .admin-event-card-list:not(:empty) ~ .sunday-watermark-v27263 { display: none; }

/* v272.64: View Usage -- Show by Day, Week, Month or Term, beside Load usage (admin-usage-period-v27264.js). */
.usage-period-v27264 { display: inline-flex; flex-wrap: wrap; align-items: center; margin-left: .6rem; }
.usage-period-v27264 > span { margin-right: .4rem; font-weight: 700; }
.usage-period-v27264 button { margin: .15rem .25rem .15rem 0; min-height: 0; padding: .35rem .8rem; }
.usage-period-v27264 button.is-on { box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .12); }
.usage-period-note-v27264 { margin: .3rem 0 0; font-size: .85rem; }
