.schedule-alerts { margin: 18px 0 22px; padding: 18px 20px; border: 1px solid #b9d7cf; border-radius: 14px; background: #f2f8f5; color: var(--ink); }
.schedule-alerts[hidden], #scheduleAlertsBody[hidden] { display: none; }
.schedule-alert-heading { display: flex; align-items: center; gap: 12px; }
.schedule-alert-symbol { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: #dceee6; color: var(--green); font-weight: 800; font-size: 19px; }
.schedule-alert-heading > div { flex: 1; min-width: 0; }
.schedule-alert-heading h2 { margin: 0; font-size: 16px; }
.schedule-alert-heading p { margin: 4px 0 0; color: #526772; font-size: 12px; line-height: 1.6; }
.schedule-alert-toggle { flex: none; background: #e1eee8; color: var(--green); min-height: 36px; font-size: 12px; }
.schedule-alert-list { list-style: none; margin: 14px 0 0; padding: 0; }
.schedule-alert-row { display: grid; grid-template-columns: minmax(110px, .8fr) minmax(190px, 1.3fr) 64px 190px; gap: 14px; align-items: center; min-height: 66px; padding: 12px 0; border-top: 1px solid #d8e7e1; }
.schedule-alert-person, .schedule-alert-date { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.schedule-alert-person strong, .schedule-alert-date strong { font-size: 13px; }
.schedule-alert-person small, .schedule-alert-date small { font-size: 11px; line-height: 1.6; color: #526772; }
.schedule-alert-distance { justify-self: start; padding: 5px 8px; border-radius: 7px; background: #dfede8; color: var(--green); font-size: 12px; font-weight: 800; white-space: nowrap; }
.schedule-alert-row.near .schedule-alert-distance { background: #fcebd6; color: #925616; }
.schedule-alert-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.schedule-alert-actions button { min-width: 0; height: 34px; padding: 6px 8px; border: 1px solid #c9ded5; background: #fff; color: var(--green); font-size: 12px; white-space: nowrap; }
.schedule-alert-actions button:only-child { grid-column: 1 / -1; }
.schedule-alert-actions button:hover, .schedule-alert-toggle:hover { background: #d9eae2; }
.schedule-alert-help { margin: 10px 0 0; color: #526772; font-size: 11px; line-height: 1.7; }
.schedule-alert-more { margin-top: 10px; }
.schedule-alert-more summary { cursor: pointer; color: var(--green); font-weight: 700; font-size: 12px; }
.schedule-alert-more .schedule-alert-list { margin-top: 10px; }
#notificationSchedulesDialog { width: min(900px, 94vw); }
#notificationSchedulesDialog .schedule-alert-list { max-height: 60vh; overflow-y: auto; }
.evaluation-stage-card.schedule-alert-target { outline: 2px solid var(--green); outline-offset: 3px; }
@media (max-width: 1000px) {
  .schedule-alert-row { grid-template-columns: minmax(100px, .8fr) minmax(140px, 1.1fr) 54px 170px; gap: 10px; }
}
@media (max-width: 720px) {
  .schedule-alerts { padding: 16px; }
  .schedule-alert-heading { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .schedule-alert-toggle { margin-left: 42px; }
  .schedule-alert-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .schedule-alert-person { grid-column: 1; grid-row: 1; }
  .schedule-alert-distance { grid-column: 2; grid-row: 1; justify-self: end; }
  .schedule-alert-date { grid-column: 1 / -1; grid-row: 2; }
  .schedule-alert-actions { grid-column: 1 / -1; grid-row: 3; }
}
