#reminderFilters { margin-bottom: 12px; }
#reminderFilters button { flex: 1 0 auto; }

.reminder-clickable {
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.reminder-clickable:hover,
.reminder-clickable:focus-visible {
  transform: translateY(-1px);
  border-color: #9bcbbb;
  box-shadow: 0 8px 22px rgba(22, 48, 41, .08);
  outline: none;
}

.reminder-info {
  min-width: 0;
}

.reminder-info .reminder-kind,
.reminder-detail-dialog .reminder-kind {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf5f1;
  color: #146c5b;
  font-size: 11px;
  font-weight: 700;
}

.reminder-info small {
  display: block;
  max-width: 720px;
  margin-top: 5px;
  color: #73807c;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reminder-open {
  color: #146c5b;
  font-size: 12px;
  white-space: nowrap;
}

.reminder-detail-dialog {
  width: min(540px, 94vw);
  padding-bottom: 0;
}

.reminder-detail-dialog .dialog-head > div {
  min-width: 0;
}

.reminder-detail-dialog .dialog-head h2 {
  max-width: 420px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reminder-detail-body {
  padding: 20px 0 4px;
}

.reminder-purpose {
  margin: 0 0 16px;
  color: #45514e;
  line-height: 1.65;
}

.reminder-detail-list {
  margin: 0;
  border: 1px solid #dce5e1;
  border-radius: 13px;
  overflow: hidden;
}

.reminder-detail-list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 11px 13px;
  border-bottom: 1px solid #edf1ef;
}

.reminder-detail-list > div:last-child {
  border-bottom: 0;
}

.reminder-detail-list dt {
  color: #73807c;
  font-size: 12px;
}

.reminder-detail-list dd {
  margin: 0;
  color: #17231f;
  font-size: 13px;
  font-weight: 650;
}

.reminder-reason-box {
  margin-top: 15px;
  padding: 14px;
  border-radius: 12px;
  background: #f2f7f5;
}

.reminder-reason-box span {
  color: #146c5b;
  font-size: 12px;
  font-weight: 750;
}

.reminder-reason-box p {
  margin: 7px 0 0;
  color: #45514e;
  font-size: 13px;
  line-height: 1.65;
}

.reminder-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin: 18px -22px -22px;
  padding: 14px 22px;
  border-top: 1px solid #dce5e1;
  background: #fff;
}

@media (max-width: 700px) {
  .reminder {
    align-items: flex-start;
    gap: 10px;
  }

  .reminder-open {
    display: none;
  }

  .reminder-info small {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .reminder-detail-dialog {
    width: 100vw;
    max-width: none;
    max-height: 100vh;
    border-radius: 0;
  }

  .reminder-detail-dialog .dialog-head h2 {
    max-width: calc(100vw - 110px);
    font-size: 18px;
  }

  .reminder-detail-actions button {
    flex: 1;
  }
}
