.agenda-page [hidden]{display:none!important}
.agenda-tools{margin-bottom:1.25rem;border-bottom:1px solid var(--line);padding-bottom:.5rem;min-width:0}
.agenda-tools button,.agenda-search input{font:inherit}
.agenda-tools button{cursor:pointer;border:0;background:transparent;color:var(--green);min-height:44px}
.agenda-tools button:focus-visible,.agenda-search input:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.agenda-tools__row{display:flex;align-items:center;gap:.5rem;margin:.25rem 0 0}
[data-agenda-all]{font-weight:700!important;letter-spacing:.06em;padding:.5rem 1rem}
[data-agenda-all][aria-pressed=true]{background:var(--green);color:#fff;border-radius:2rem}
.agenda-search{display:flex;flex-direction:column;align-items:stretch;gap:.2rem;font-size:.8rem;max-width:100%;min-width:0}
.agenda-search__input{display:flex;align-items:center}
.agenda-search input{min-width:0;width:clamp(9rem,16vw,15rem);border:1px solid var(--line);background:transparent;padding:.35rem;color:inherit}
.agenda-dates{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:.3rem}
.agenda-dates>button{font-size:2rem}
.agenda-days{display:flex;align-items:flex-start;overflow-x:auto;overflow-y:hidden;height:auto;padding:6px;scrollbar-width:none;gap:.25rem;touch-action:pan-x pan-y;cursor:grab;overscroll-behavior-x:contain}
.agenda-days::-webkit-scrollbar{display:none}
.agenda-days.is-dragging,.agenda-days.is-dragging button{cursor:grabbing}
.agenda-day{position:relative;flex:0 0 calc((100% - 1.5rem)/7);display:flex;align-items:center;flex-direction:column;padding:.3rem .2rem 1rem;border-radius:.6rem;user-select:none;line-height:1.1;height:auto;box-sizing:border-box}
.agenda-day small{white-space:nowrap;text-transform:uppercase;font-size:.7rem}
.agenda-day strong{font-size:1.5rem;line-height:1.1;font-variant-numeric:tabular-nums}
.agenda-day__indicator{height:.65rem;line-height:.65rem;color:#B79FC4}
.agenda-day em{position:absolute;bottom:.3rem;font-size:.65rem;font-style:normal;background:#F1EEAC;color:#015623;border-radius:.3rem;padding:0 .25rem}
.agenda-day[aria-current=date]{box-shadow:inset 0 0 0 1px #015623}
.agenda-day[aria-pressed=true]{background:#015623;color:#fff}
.agenda-group{margin-bottom:3rem}
.agenda-group__title,[data-agenda-day-title]{font-size:clamp(1.5rem,3vw,2.5rem);margin:0 0 1.2rem;letter-spacing:0}
.agenda-card__copy h3{margin:0;font-size:clamp(1.8rem,4vw,3.5rem);line-height:.98;text-transform:uppercase}
.agenda-group--past .agenda-card{background:transparent;padding:clamp(1.25rem,2.5vw,2rem);box-shadow:none}
.agenda-group--past .agenda-card__copy h3{font-size:clamp(1.6rem,3vw,2.8rem)}
.agenda-badge{display:inline-block;margin-top:.7rem;font-size:.75rem;font-weight:700;letter-spacing:.06em;background:#F1EEAC;color:#015623;padding:.2rem .5rem}
.agenda-group--past .agenda-badge{background:#e6dfeb}
.agenda-page.is-day-filter .agenda-group{margin:0 0 1rem}
.agenda-programme{padding-top:2.75rem}
.agenda-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}
.agenda-filters{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:.4rem .75rem;margin:0 0 0 auto}
.agenda-filters label{display:flex;flex-direction:column;gap:.2rem;font-size:.85rem;min-width:0}
.agenda-filters input{font:inherit;min-height:44px;max-width:100%;min-width:0;background:transparent;color:inherit;border:1px solid var(--line);border-radius:.3rem;padding:.35rem}
.agenda-view{display:flex;gap:.2rem}
.agenda-view button{padding:.4rem;border:1px solid var(--line);border-radius:.3rem;width:44px;display:grid;place-items:center}
.agenda-view button[aria-pressed=true]{background:var(--green);color:white}
.agenda-page.is-grid .agenda-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.agenda-page.is-grid .agenda-card{grid-template-columns:minmax(0,1fr);align-content:start;gap:1rem;padding:1.25rem;min-width:0;overflow-wrap:anywhere}
.agenda-page.is-grid .agenda-card__date time{font-size:1.6rem}
.agenda-page.is-grid .agenda-card__copy h3{font-size:2rem}
.agenda-page.is-grid .agenda-card__copy p{font-size:1rem}
@media(max-width:1100px){.agenda-page.is-grid .agenda-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.agenda-page.is-grid .agenda-list{grid-template-columns:minmax(0,1fr)}.agenda-programme{padding-top:1rem}.agenda-controls{flex-direction:column;align-items:stretch;gap:.5rem}.agenda-view{align-self:flex-start}.agenda-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:.4rem .6rem}.agenda-search{grid-column:1/-1;grid-row:1}.agenda-search input{flex:1;width:100%}.agenda-filters>[data-agenda-reset]{grid-column:1/-1;justify-self:end;font-size:.75rem}.agenda-day{flex-basis:calc((100% - 1rem)/3)}.agenda-dates{grid-template-columns:44px minmax(0,1fr) 44px}.agenda-day small{font-size:.75rem}}
