.eod-page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.eod-page-heading h3 { margin-bottom: 6px; font-family: Georgia, serif; font-size: 28px; }
.eod-page-heading p:last-child { margin: 0; color: var(--muted); }
.eod-mode-switch { flex: 0 0 auto; }
.eod-review-layout { display: grid; grid-template-columns: minmax(620px, 1.35fr) minmax(320px, .65fr); gap: 18px; align-items: start; }
.calendar-panel { padding: 19px; }
.calendar-header { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; margin-bottom: 16px; }
.calendar-header h3 { margin: 0; font-family: Georgia, serif; text-align: center; }
.calendar-arrow { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font-weight: 900; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays span { padding: 7px; color: var(--muted); font-size: 10px; font-weight: 850; text-align: center; text-transform: uppercase; }
.calendar-grid { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.calendar-day { position: relative; min-height: 91px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 10px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; color: var(--ink); text-align: left; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day:nth-last-child(-n+7) { border-bottom: 0; }
.calendar-day:hover { background: #f2f8f6; }
.calendar-day.outside { background: #f8f8f5; color: #a4aeb1; }
.calendar-day.selected { box-shadow: inset 0 0 0 2px var(--teal); z-index: 1; }
.calendar-day.has-reports { background: #eff9f5; }
.calendar-day span { font-size: 12px; font-weight: 800; }
.calendar-day strong { padding: 5px 7px; border-radius: 999px; background: var(--teal); color: white; font-size: 9px; }
.day-reports { position: sticky; top: 18px; max-height: calc(100vh - 150px); overflow-y: auto; }
.day-report-card, .history-report { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border: 0; border-bottom: 1px solid #edf1f1; background: transparent; color: inherit; text-align: left; }
.day-report-card strong, .day-report-card small, .day-report-card b, .history-report strong, .history-report small { display: block; }
.day-report-card small, .history-report small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.day-report-card > span:last-child { text-align: right; }
.day-report-card b { color: var(--teal-dark); font-family: Georgia, serif; font-size: 20px; }
.empty-state.compact { padding: 22px 8px; font-size: 12px; }
.report-detail { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.report-detail header > span { color: var(--muted); font-size: 11px; }
.report-detail section { margin-top: 17px; }
.report-detail h4 { margin: 0 0 5px; color: var(--teal-dark); font-size: 11px; text-transform: uppercase; }
.report-detail p { margin: 0; color: #435a62; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.report-detail .button { margin-top: 20px; }
.eod-submit-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 18px; align-items: start; }
.eod-metrics { display: grid; grid-template-columns: repeat(6, minmax(75px, 1fr)); gap: 8px; }
.eod-metrics article { padding: 11px; border-radius: 10px; background: #eff6f4; }
.eod-metrics strong, .eod-metrics span { display: block; }
.eod-metrics strong { color: var(--teal-dark); font-family: Georgia, serif; font-size: 19px; }
.eod-metrics span { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.submitted-notice { display: grid; grid-template-columns: 1fr auto auto; gap: 9px; align-items: center; padding: 15px; border: 1px solid #a9d5c7; border-radius: 12px; background: #eef9f5; }
.submitted-notice strong, .submitted-notice span { display: block; }
.submitted-notice span { margin-top: 3px; color: var(--muted); font-size: 11px; }

@media (max-width: 1180px) {
  .eod-review-layout { grid-template-columns: 1fr; }
  .day-reports { position: static; max-height: none; }
  .eod-metrics { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .eod-page-heading { align-items: stretch; flex-direction: column; }
  .eod-submit-layout { grid-template-columns: 1fr; }
  .calendar-day { min-height: 68px; padding: 7px; }
  .calendar-day strong { padding: 3px 5px; font-size: 8px; }
}
@media (max-width: 600px) {
  .calendar-panel { padding: 10px; }
  .calendar-day { min-height: 52px; }
  .calendar-day strong { width: 8px; height: 8px; overflow: hidden; padding: 0; color: transparent; }
  .submitted-notice { grid-template-columns: 1fr; }
}

.eod-report-date-field,
.eod-report-date-field input[type="date"] {
  cursor: pointer;
}
