.agenda-sheet-grip{display:none}
@media(max-width:760px){
 body dialog.agenda-app-sheet{position:fixed;inset:auto 0 0!important;margin:0;width:100%;max-width:none;max-height:calc(100dvh - 24px)!important;box-sizing:border-box;padding:0;border:1px solid #484848;border-bottom:0;border-radius:28px 28px 0 0;background:#202020;color:#fff;overflow:hidden;box-shadow:0 -16px 48px #0006}
 body dialog.agenda-app-sheet[open]{display:flex;flex-direction:column;animation:agenda-app-sheet-in 240ms cubic-bezier(.22,.75,.25,1)}
 body dialog.agenda-app-sheet::backdrop{background:#0009}
 body dialog.agenda-app-sheet .agenda-sheet-grip{display:block;position:relative;flex:none;width:36px;height:4px;margin:12px auto 8px;background:#777;border-radius:4px;touch-action:none}
 body dialog.agenda-app-sheet .agenda-sheet-grip::before{content:"";position:absolute;inset:-12px -30px}
 body dialog.agenda-app-sheet>header{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px 16px;margin:0;border:0;background:#202020;touch-action:none;user-select:none}
 body dialog.agenda-app-sheet>header h2{margin:0;font:500 1.2rem/1.15 var(--vixen-heading);letter-spacing: -0.04em !important}
 body dialog.agenda-app-sheet .nova-dialog-count{margin:5px 0 0;font:.8rem/1.3 var(--vixen-body);color:#bcbcbc}
 body dialog.agenda-app-sheet [data-dialog-close],body .agenda-sheet-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #666;border-radius:50%;background:transparent;color:#fff;font:28px/1 var(--vixen-body)}
 body dialog.nova-event-dialog.agenda-app-sheet[open]{height:min(780px,calc(100dvh - 24px))}
 body dialog.agenda-app-sheet>[data-dialog-content]{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
 body dialog.agenda-app-sheet .nova-dialog-back{padding:10px 18px;font-size:.8rem;background:#202020;flex:none}
 body dialog.agenda-app-sheet .nova-event-detail{display:flex;flex-direction:column;gap:0;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:8px 18px 18px;background:#202020}
 body dialog.agenda-app-sheet .nova-detail-image{width:100%;height:170px;max-height:none;object-fit:cover;flex:none;margin:0 0 16px;border-radius:14px}
 body dialog.agenda-app-sheet .nova-event-detail h3{font-size:1.55rem;line-height:1.04;margin:8px 0 12px;flex:none}
 body dialog.agenda-app-sheet .nova-event-detail p{flex:none;margin:6px 0}
 body dialog.agenda-app-sheet [data-dialog-content]>.nova-detail-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;flex:none;padding:12px 18px;margin:0;border-top:1px solid #444;background:#202020}
 body dialog.agenda-app-sheet .nova-detail-actions>.nova-detail-link,body dialog.agenda-app-sheet .nova-calendar-export>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px;border:1px solid #fff;border-radius:999px;background:#fff;color:#111;font:500 .82rem/1.2 var(--vixen-heading);text-decoration:none;text-align:center;letter-spacing: -0.04em !important}
 body dialog.agenda-app-sheet .nova-calendar-export{position:relative}
 body dialog.agenda-app-sheet .nova-calendar-export-menu{position:absolute;bottom:calc(100% + 8px);right:0;width:240px;max-width:calc(100vw - 36px);z-index:2;margin:0}
 body dialog.agenda-app-sheet .nova-dialog-pager{flex:none;padding:10px 18px max(16px,env(safe-area-inset-bottom));background:#202020}
 body dialog.agenda-app-sheet .nova-day-events{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 18px 20px}
 body dialog.agenda-app-sheet[data-sheet-settled]{animation:none;transform:translateY(var(--agenda-sheet-drag,0px));transition:transform 180ms ease-out}
 body dialog.agenda-app-sheet[data-sheet-dragging]{transition:none}
 body dialog.agenda-app-sheet[data-sheet-closing]{animation:agenda-app-sheet-out 240ms ease-in forwards;pointer-events:none}
 body .agenda-map-filter-sheet{font:1rem/1.4 var(--vixen-body)}
 /* An explicit height prevents Safari from collapsing the scrolling flex body. */
 body dialog.agenda-map-filter-sheet.agenda-app-sheet[open]{height:calc(100vh - 24px);height:min(760px,calc(100dvh - 24px));min-height:0}
 body .agenda-map-filter-sheet>.agenda-sheet-body{flex:1 1 0;min-height:0;-webkit-overflow-scrolling:touch}
 body .agenda-sheet-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 18px 18px}
 body .agenda-sheet-body input[type=search]{box-sizing:border-box;width:100%;min-height:48px;padding:10px 14px;border:1px solid #666;border-radius:999px;background:#111;color:#fff;font:16px/1.3 var(--vixen-body)}
 body .agenda-sheet-fieldset{min-width:0;border:0;padding:0;margin:18px 0}
 body .agenda-sheet-fieldset legend{font:500 1rem/1.2 var(--vixen-heading);letter-spacing: -0.04em !important;margin-bottom:12px}
 body .agenda-sheet-periods{display:flex;flex-wrap:wrap;gap:8px}
 body .agenda-sheet-periods button{min-height:44px;border:1px solid #666;border-radius:999px;background:transparent;color:#fff;padding:8px 13px;font:inherit}
 body .agenda-sheet-periods button[aria-pressed=true]{background:#fff;color:#111}
 body .agenda-sheet-option{display:flex;align-items:center;gap:10px;min-height:48px;border-top:1px solid #444;padding:10px 0;font-size:1rem}
 body .agenda-sheet-option input{width:18px;height:18px;accent-color:#fff}
 body .agenda-sheet-option .agenda-map-filter-option-body{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0}
 body .agenda-sheet-option .agenda-map-filter-option-title{font:inherit;color:#fff}
 body .agenda-sheet-option .agenda-map-filter-option-meta{font:.75rem/1.3 var(--vixen-body);color:#bcbcbc;text-align:right}
 body .agenda-sheet-body details{margin-top:16px}
 body .agenda-sheet-body summary{min-height:44px;font-weight:600;cursor:pointer}
 body .agenda-sheet-footer{display:flex;align-items:center;gap:12px;flex:none;padding:14px 18px max(22px,env(safe-area-inset-bottom));border-top:1px solid #444;background:#202020}
 body .agenda-sheet-footer button{min-height:48px;font:inherit;cursor:pointer}
 body .agenda-sheet-reset{padding:8px 0;border:0;background:transparent;color:#bcbcbc}
 body .agenda-sheet-apply{flex:1;padding:12px;border:1px solid #fff;border-radius:999px;background:#fff;color:#111;font:500 .9rem/1.2 var(--vixen-heading)!important;letter-spacing: -0.04em !important}
 body .agenda-sheet-note{color:#bcbcbc;font-size:.8rem;margin:8px 0}
 body .agenda-app-sheet :focus-visible{outline:2px solid #fff;outline-offset:3px}
}
@keyframes agenda-app-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes agenda-app-sheet-out{from{transform:translateY(var(--agenda-sheet-drag,0px))}to{transform:translateY(100%)}}
@media(prefers-reduced-motion:reduce){body dialog.agenda-app-sheet[open]{animation:none;transition:none}}
