.ec-calendar-help {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  margin-block: .65rem 1rem;
}
.ec-calendar-help a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: #f5ddb1;
  text-underline-offset: .18em;
}
.ec-month-scroll-note { display: none; }

@media (max-width: 920px) {
  html[data-q45-responsive="enabled"] .q45-event-bookstore:not(.bookstore-present .q45-event-bookstore) {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(110px, 145px);
    gap: clamp(.75rem, 2.1vw, 1.35rem);
    max-inline-size: 100%;
  }
  html[data-q45-responsive="enabled"] .q45-event-bookstore:not(.bookstore-present .q45-event-bookstore) > * { min-inline-size: 0; }
  html[data-q45-responsive="enabled"] .q45-event-bookstore:not(.bookstore-present .q45-event-bookstore) .q45-bookstore-qr img {
    inline-size: min(100%, 160px);
    block-size: auto;
    object-fit: contain;
  }
}

@media (max-width: 760px) {
  html[data-q45-responsive="enabled"] .q45-event-bookstore:not(.bookstore-present .q45-event-bookstore) {
    grid-template-columns: minmax(0, 1fr) minmax(105px, 30%);
  }
  html[data-q45-responsive="enabled"] .q45-event-bookstore:not(.bookstore-present .q45-event-bookstore) .q45-bookstore-actions a { max-inline-size: 100%; overflow-wrap: anywhere; }
  html[data-q45-responsive="enabled"] .ec-shell .ec-month-grid-scroll {
    max-inline-size: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    padding: 3px;
  }
  html[data-q45-responsive="enabled"] .ec-shell .ec-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(5.4rem, 1fr));
    min-inline-size: 38rem;
    margin: 0 0 .5rem;
  }
  html[data-q45-responsive="enabled"] .ec-shell .ec-grid > :is(.ec-day,.ec-weekday,.ec-blank) { padding: .45rem; }
  html[data-q45-responsive="enabled"] .ec-shell .ec-day { min-block-size: 66px; }
  html[data-q45-responsive="enabled"] .ec-shell .ec-day a { display: flex; align-items: center; min-block-size: 44px; }
  html[data-q45-responsive="enabled"] .ec-shell .ec-month-scroll-note {
    display: block;
    margin: -.25rem 0 .65rem;
    font-size: .875rem;
    color: #e0ced8;
  }
  html[data-q45-responsive="enabled"] .ec-month-grid-scroll:focus-visible {
    outline: 3px solid #c39b68;
    outline-offset: 2px;
  }
}

@media (max-width: 520px) {
  html[data-q45-responsive="enabled"] .q45-event-bookstore:not(.bookstore-present .q45-event-bookstore) {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-q45-responsive="enabled"] .q45-event-bookstore:not(.bookstore-present .q45-event-bookstore) .q45-bookstore-art {
    block-size: clamp(10rem, 40vw, 14rem);
  }
  html[data-q45-responsive="enabled"] .q45-event-bookstore:not(.bookstore-present .q45-event-bookstore) .q45-bookstore-qr {
    justify-self: start;
  }
  html[data-q45-responsive="enabled"] .ec-shell .ec-month-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .35rem;
  }
  html[data-q45-responsive="enabled"] .ec-shell .ec-month-head h2 { text-align: center; margin: .35rem 0; }
}
