.mvp-calendar {
  padding: 1.5rem;
  color: #e9eef9;
}

.mvp-cal-header h2 {
  margin: .2rem 0;
  font-size: 1.6rem;
}

.mvp-cal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
}

.mvp-cal-layout aside,
.mvp-cal-layout main {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 1rem;
}

.mvp-cal-sources,
.mvp-cal-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.mvp-cal-events li,
.mvp-cal-sources li {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: .65rem .75rem;
}

.mvp-cal-events small,
.mvp-cal-sources small,
.mvp-cal-note {
  color: #9da9c7;
}

.mvp-cal-toolbar,
.mvp-cal-filters,
.calendar-q-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.mvp-cal-toolbar {
  margin-bottom: .75rem;
}

.mvp-cal-filters {
  margin-bottom: .75rem;
}

.mvp-cal-tab,
.mvp-cal-filter {
  border: 1px solid rgba(255, 255, 255, .15);
  background: transparent;
  color: #dce5ff;
  border-radius: 999px;
  padding: .35rem .7rem;
}

.mvp-cal-filter.is-active {
  background: rgba(48, 209, 88, .18);
  border-color: rgba(48, 209, 88, .5);
}

.calendar-insight-panel {
  margin-top: 16px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(154, 170, 198, 0.24);
  background: rgba(8, 12, 20, 0.35);
}

.calendar-insight-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.calendar-last-updated {
  font-size: 12px;
  opacity: 0.82;
}

.calendar-insight-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.calendar-insight-grid article {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(154, 170, 198, 0.2);
  background: rgba(0, 0, 0, 0.14);
}

.calendar-insight-grid strong {
  display: block;
  font-size: 16px;
}

.calendar-insight-grid span {
  font-size: 12px;
  opacity: 0.85;
}

.calendar-q-actions {
  margin-top: 14px;
}

.calendar-q-status {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.86;
}

@media (max-width: 980px) {
  .mvp-cal-layout {
    grid-template-columns: 1fr;
  }
}
