.creative-form-row,
.creative-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.creative-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.creative-source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line, #e6e2e8);
}
.creative-source-row > span {
  min-width: 0;
}
.creative-learning-panel,
.creative-unscheduled {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e6e2e8);
  border-radius: 20px;
}
.creative-observation {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line, #e6e2e8);
}
.creative-calendar-controls {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.creative-calendar-controls .field {
  margin: 0;
  flex: 1;
  min-width: 140px;
}
.creative-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line, #e6e2e8);
  border-left: 1px solid var(--line, #e6e2e8);
  overflow: hidden;
  border-radius: 14px;
}
.creative-weekday {
  padding: 0.7rem;
  background: var(--surface, #fff);
  font-size: 0.78rem;
  font-weight: 650;
  border-right: 1px solid var(--line, #e6e2e8);
}
.creative-calendar-day {
  min-height: 128px;
  padding: 0.45rem;
  border-right: 1px solid var(--line, #e6e2e8);
  border-bottom: 1px solid var(--line, #e6e2e8);
  background: var(--surface, #fff);
}
.creative-calendar-day.outside-month {
  background: var(--bg, #f6f5f7);
}
.creative-calendar-day.is-today {
  box-shadow: inset 0 0 0 2px #8972aa;
}
.creative-calendar-day h3 {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
}
.creative-calendar-day h3 button {
  border: 0;
  background: transparent;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
}
.creative-calendar-event {
  display: block;
  text-align: left;
  border: 0;
  border-left: 3px solid #9983b9;
  border-radius: 7px;
  background: #eee8f5;
  padding: 0.5rem;
  margin: 0.35rem 0;
  width: 100%;
  color: #342943;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.creative-calendar-event span {
  display: block;
  font-size: 0.63rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}
.creative-calendar-event strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
}
.creative-calendar-event small {
  display: block;
  margin-top: 0.4rem;
}
.creative-event-research {
  background: #e6eee9;
  border-color: #729880;
  color: #253e2d;
}
.creative-event-shoot {
  background: #faebde;
  border-color: #c79369;
  color: #624127;
}
.creative-event-edit {
  background: #e7edf6;
  border-color: #7896bc;
  color: #324766;
}
.creative-event-review {
  background: #f5e6e9;
  border-color: #b77e8b;
  color: #653f47;
}
.creative-agenda {
  display: grid;
  gap: 0.5rem;
}
.creative-agenda .creative-calendar-event {
  padding: 1rem;
}
.creative-agenda .creative-calendar-event strong {
  font-size: 1rem;
}
.creative-unscheduled .creative-calendar-event {
  display: inline-block;
  vertical-align: top;
  width: min(280px, 100%);
  margin-right: 0.5rem;
}
.creative-view-switch {
  margin-bottom: 1rem;
}
.creative-run-state {
  font-size: 0.85rem;
}
.creative-calendar-event:focus-visible,
.creative-calendar-day h3 button:focus-visible {
  outline: 2px solid #755694;
  outline-offset: 2px;
}
@media (max-width: 850px) {
  .creative-calendar-controls {
    align-items: stretch;
  }
  .creative-calendar-grid {
    overflow: visible;
  }
  .creative-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .creative-form-row {
    grid-template-columns: 1fr;
  }
  .creative-source-row {
    align-items: flex-start;
  }
  .creative-calendar-grid {
    min-width: 0;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .creative-calendar-day {
    min-height: 90px;
    padding: 0.2rem;
  }
  .creative-calendar-event {
    padding: 0.3rem;
  }
  .creative-calendar-event strong {
    font-size: 0.65rem;
  }
  .creative-calendar-event span {
    font-size: 0.52rem;
  }
  .creative-weekday {
    padding: 0.4rem 0.15rem;
    font-size: 0.65rem;
  }
}
