/* 日付の数字だけを蛍光ペン風に。今日の輪郭と予定ドットは残す。 */
.folio-reference .ref-calendar-grid .calendar-day.is-highlighted > span:first-child,
.folio-reference .ref-calendar-grid .calendar-day.is-highlighted.is-selected > span:first-child {
  background: #f5e95f;
  color: #332e20;
  box-shadow: 3px 0 0 #f5e95f, -3px 0 0 #f5e95f;
  border-radius: 3px 5px 2px 4px;
}
.calendar-marker-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  width: fit-content;
  padding: 4px 10px;
  margin: 4px 0 12px;
  border-radius: 4px;
  background: #f5e95f55;
  font: inherit;
}
.calendar-marker-toggle input { width: 22px; height: 22px; accent-color: #8a782c; }
#calendarDayDialog .calendar-day-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#calendarDayDialog .calendar-day-actions button { min-height: 44px; flex: 1 1 130px; width: auto; font: inherit; }
#calendarDayDialog .calendar-day-actions button:last-child { flex-basis: 100%; font-size: 14px; }
.calendar-marker-toggle:focus-within { outline: 2px solid #8a782c; outline-offset: 2px; }
/* 手帳の用紙・フォントを継承し、読み取りと登録を一つの確認画面でつなぐ。 */
#scheduleImageDialog [hidden] { display: none !important; }
#scheduleImageMode, #calendarImageYear { width: 100%; min-height: 44px; font: inherit; }
#calendarImageReview { border-top: 1px solid #8a782c70; padding-top: 12px; }
#calendarImageReview h3 { margin: 0 0 8px; }
#calendarImageDates { display: grid; gap: 8px; margin: 12px 0; }
.calendar-image-date { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 6px 10px; }
.calendar-image-date input[type="checkbox"] { width: 22px; height: 22px; accent-color: #8a782c; }
.calendar-image-date input[type="date"] { min-width: 0; width: 100%; min-height: 44px; font: inherit; }
.calendar-image-date small { grid-column: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
#calendarImageReview button { min-height: 44px; font: inherit; margin: 4px 0 12px; }
#registerCalendarImage { width: 100%; background: #f5e95f; color: #332e20; }
#calendarImageReview .calendar-marker-toggle { width: auto; }
