.approved-agendas {
  border-color: #bbf7d0;
  background: #f7fef9;
}

.approved-agendas .agenda-proposal-heading h4 {
  color: #166534;
}

.agenda-proposal-row.approved {
  border-left: 3px solid #22c55e;
}

.meeting-minutes-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 12px;
  padding: 14px 16px;
  border: 1px solid #dbe5f1;
  border-radius: 14px;
  background: #f8fbff;
}

.meeting-minutes-search > div {
  display: grid;
  gap: 3px;
}

.meeting-minutes-search strong {
  color: #10233f;
  font-size: 14px;
}

.meeting-minutes-search span {
  color: #64748b;
  font-size: 12px;
}

.meeting-minutes-search input {
  width: min(420px, 46%);
  min-width: 260px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #c9d6e5;
  border-radius: 10px;
  background: #fff;
  color: #10233f;
}

.minute-search-result-count {
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
}

.minutes-empty-search {
  grid-column: 1 / -1;
  padding: 22px;
  color: #64748b;
  text-align: center;
}

.edit-minute-button.view-only {
  border-color: #cbd5e1;
  background: #fff;
  color: #475569;
}

.edit-minute-button.can-edit {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.meeting-minute-modal {
  width: min(820px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.previous-agenda-notes {
  display: grid;
  gap: 10px;
  max-height: 270px;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid #dbe5f1;
  border-radius: 12px;
  background: #f8fafc;
}

.previous-agenda-notes h4 {
  margin: 0 0 2px;
  color: #10233f;
  font-size: 14px;
}

.agenda-note-history-item {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.agenda-note-history-item.proposal-note {
  border-left: 3px solid #f59e0b;
  background: #fffbeb;
}

.agenda-note-history-item header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agenda-note-history-item strong {
  color: #1e3a5f;
  font-size: 12px;
}

.agenda-note-history-item time {
  color: #64748b;
  font-size: 11px;
  white-space: nowrap;
}

.agenda-note-history-item p {
  margin: 0;
  color: #334155;
  line-height: 1.5;
  white-space: pre-wrap;
}

.meeting-new-note textarea {
  min-height: 92px;
  border-color: #93c5fd;
  background: #f8fbff;
}

.meeting-minute-modal.read-only input,
.meeting-minute-modal.read-only textarea,
.meeting-minute-modal.read-only select {
  background: #f1f5f9;
  color: #475569;
}

.meeting-minute-modal button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

@media (max-width: 760px) {
  .meeting-minutes-search {
    align-items: stretch;
    flex-direction: column;
  }

  .meeting-minutes-search input {
    width: 100%;
    min-width: 0;
  }

  .agenda-note-history-item header {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}
