.agenda-tools { margin-bottom: clamp(28px, 5vw, 56px); }
.agenda-toolbar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 24px; }
.agenda-views { display: flex; border: 1px solid #dd4489; background: #ffc7e1; }
.agenda-views a, .agenda-subscribe summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.agenda-views a[aria-current] { background: #171317; color: white; }
.agenda-views a:not([aria-current]):hover, .agenda-subscribe summary:hover { background: #ffc7e1; }
.agenda-subscribe { flex: 1 1 290px; min-width: 0; }
.agenda-subscribe summary {
  display: list-item;
  width: fit-content;
  min-height: 48px;
  border: 1px solid #dd4489;
  background: #fff0f7;
  cursor: pointer;
}
.agenda-subscribe-panel {
  margin-top: 12px;
  padding: 18px;
  max-width: 760px;
  background: #ffc7e1;
  border: 1px solid #dd4489;
}
.agenda-subscribe-panel .text-link { display: inline-block; font-size: .95rem; margin-top: 12px; }
.agenda-subscribe-panel label { display: block; margin-top: 14px; font-weight: 600; }
.agenda-feed-field { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 6px 12px; }
.agenda-feed-field input {
  flex: 1 1 230px;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #a34a74;
  background: white;
  color: #171317;
}
.agenda-feed-field .button { font-size: .875rem; min-height: 46px; }
.agenda-feed-field [hidden], #agenda-copy-status:empty { display: none; }
.agenda-planning { padding-bottom: 70px; }
.agenda-planning h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.agenda-month-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-block: 22px; }
.agenda-month-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #dd4489;
  padding: 6px 14px;
  background: #ffc7e1;
  font-size: .875rem;
  text-decoration: none;
}
.agenda-month-nav a:hover { background: #dd4489; }
.agenda-month-empty { margin-block: 18px 24px; }
.agenda-weekdays, .agenda-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; }
.agenda-weekdays { background: #ffc7e1; padding-block: 8px; text-align: center; font-weight: 600; }
.agenda-days, .agenda-day-events { padding: 0; margin: 0; list-style: none; }
.agenda-days { background: #efd0df; border: 1px solid #efd0df; }
.agenda-day { min-height: 100px; min-width: 0; background: #fffafd; padding: 8px; }
.agenda-day:first-child { grid-column-start: var(--weekday); }
.agenda-day-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  font-weight: 700;
}
.agenda-day-label[aria-current] { outline: 1px solid #dd4489; border-radius: 50%; }
.agenda-day-long { display: none; }
.agenda-day-events { display: grid; gap: 8px; margin-top: 4px; }
.agenda-day-events li { min-width: 0; }
.agenda-day-events a {
  display: grid;
  padding: 8px;
  background: #ffc7e1;
  border-left: 3px solid #dd4489;
  font-size: .875rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.agenda-day-events a:hover { text-decoration: underline; }
.agenda-event-time { font-weight: 700; }
@media (max-width: 850px) {
  .agenda-weekdays, .agenda-day:not(.has-events), .agenda-day-short { display: none; }
  .agenda-days { display: block; background: transparent; border: 0; }
  .agenda-day { min-height: 0; padding: 12px; margin-bottom: 12px; border: 1px solid #efd0df; }
  .agenda-day-label[aria-current] { outline: 0; background: #ffc7e1; border-radius: 0; padding-inline: 8px; }
  .agenda-day-long { display: inline; }
  .agenda-day-events a { min-height: 44px; padding: 10px; font-size: 1rem; }
}
@media (max-width: 420px) {
  .agenda-toolbar { gap: 12px; }
  .agenda-subscribe { flex-basis: 100%; }
  .agenda-subscribe-panel { padding: 14px; }
}