/* Calendar-only mobile layout. No declarations apply above 700px. */
@media (max-width:700px) {
  body.design-site main .event-wrap .event-filters {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:stretch;
    gap:16px;
    padding:18px;
  }
  body.design-site main .event-wrap .event-filters > label {
    display:block;
    width:100%;
    min-width:0;
    max-width:100%;
    white-space:normal;
  }
  body.design-site main .event-wrap .event-filters select {
    box-sizing:border-box;
    min-width:0;
    width:100%;
    max-width:100%;
    min-height:48px;
  }
  body.design-site main .event-wrap .event-filters > button {
    grid-column:1 / -1;
    width:100%;
    min-width:0;
    margin:4px 0 0;
    min-height:48px;
  }
  body.design-site:has(.event-wrap) .design-header {
    background:var(--paper,#fafbf8)!important;
  }
  body.design-site:has(.event-wrap) .design-sections {
    padding:4px 18px;
    gap:20px;
    background:#f2f5ef;
  }
  body.design-site:has(.event-wrap) .design-sections a {
    display:flex;
    align-items:center;
    min-height:44px;
    padding-block:4px;
    white-space:nowrap;
  }
  /* Place the contact launcher beside the music launcher, above the safe area. */
  body.design-site:has(.event-wrap) #reeem-chat {
    left:max(12px,env(safe-area-inset-left));
    right:auto;
    bottom:max(14px,env(safe-area-inset-bottom));
  }
  body.design-site:has(.event-wrap) #rc-panel {
    position:fixed;
    left:12px;
    right:12px;
    bottom:calc(76px + env(safe-area-inset-bottom,0px));
    width:auto;
    max-width:none;
    max-height:calc(100dvh - 100px - env(safe-area-inset-bottom,0px));
  }
  body.design-site:has(.event-wrap) .design-footer {padding-bottom:90px!important}
}
