:root {
  color-scheme: light dark;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0 1rem 2rem;
  max-width: 1100px;
  margin-inline: auto;
}

header {
  padding: 1rem 0 0.5rem;
}

.card {
  border: 1px solid #3a3a3a44;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

input,
select,
textarea,
button {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #6666;
}

button {
  cursor: pointer;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.checkbox-inline {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.5rem;
}

.report {
  white-space: pre-wrap;
  border: 1px solid #5554;
  border-radius: 6px;
  padding: 0.75rem;
  margin-top: 0.75rem;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.5rem;
}

.calendar-cell {
  border: 1px solid #5554;
  border-radius: 6px;
  padding: 0.5rem;
}

.timeline {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.timeline-item {
  border: 1px solid #5554;
  border-radius: 6px;
  padding: 0.75rem;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.danger {
  border-color: #d44a4a;
}

.hidden {
  display: none;
}

.quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.quick-row span {
  font-size: 0.9rem;
  opacity: 0.85;
}

.quick-option {
  padding: 0.35rem 0.55rem;
}
