.chapel-calendar{--calendar-accent:var(--color-primary);--calendar-line:var(--color-border);--calendar-soft:#faf8f4;--calendar-paper:#fff;--calendar-ink:var(--color-text-dark);--calendar-text:var(--color-text);color:var(--calendar-text);margin-top:2rem}.dark .chapel-calendar{--calendar-accent:var(--color-darkmode-primary);--calendar-line:#6f8090;--calendar-soft:var(--color-darkmode-light);--calendar-paper:var(--color-darkmode-body);--calendar-ink:var(--color-darkmode-text-dark);--calendar-text:var(--color-darkmode-text)}.chapel-calendar [hidden]{display:none!important}.chapel-calendar [data-category]{--event-color:#626262}.chapel-calendar [data-category=mass]{--event-color:#a51d38}.chapel-calendar [data-category=novena],.chapel-calendar [data-category=memorial]{--event-color:#127da1}.chapel-calendar [data-category=feast]{--event-color:#21813a}.chapel-calendar [data-category=advent],.chapel-calendar [data-category=lent]{--event-color:#7c3ac0}.chapel-calendar [data-category=christmas],.chapel-calendar [data-category=solemnity],.chapel-calendar [data-category=easter]{--event-color:#856322}.chapel-calendar [data-category=holy-week]{--event-color:#9d2b27}.dark .chapel-calendar [data-category=general]{--event-color:#d1d5db}.dark .chapel-calendar [data-category=mass],.dark .chapel-calendar [data-category=holy-week]{--event-color:#f494a6}.dark .chapel-calendar [data-category=novena],.dark .chapel-calendar [data-category=memorial]{--event-color:#7dd3fc}.dark .chapel-calendar [data-category=feast]{--event-color:#86d99b}.dark .chapel-calendar [data-category=advent],.dark .chapel-calendar [data-category=lent]{--event-color:#c4a0f1}.dark .chapel-calendar [data-category=christmas],.dark .chapel-calendar [data-category=solemnity],.dark .chapel-calendar [data-category=easter]{--event-color:#dec482}.chapel-calendar .calendar-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;display:grid}.chapel-calendar .calendar-month-card,.chapel-calendar .calendar-agenda{border:1px solid var(--calendar-line);background:var(--calendar-paper);min-width:0;padding:24px;box-shadow:0 1px 2px #0000000d}.chapel-calendar .calendar-toolbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:16px;display:flex}.chapel-calendar .calendar-toolbar h2{font-size:24px;line-height:1.3}.chapel-calendar .calendar-month-heading{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;display:flex}.chapel-calendar .calendar-cycle{color:var(--calendar-accent);background:var(--calendar-soft);border:1px solid var(--calendar-line);white-space:nowrap;border-radius:999px;padding:.2rem .65rem;font-size:14px;font-weight:600;line-height:1.5}.chapel-calendar .calendar-controls{gap:8px;display:flex}.chapel-calendar .calendar-controls button,.chapel-calendar [data-calendar-data-retry],.chapel-calendar .calendar-dialog-close button{border:1px solid var(--calendar-accent);color:var(--calendar-accent);cursor:pointer;background:0 0;min-width:38px;min-height:38px;padding:6px 12px;font-size:14px;font-weight:600}.chapel-calendar .calendar-data-state{border:1px solid var(--calendar-line);background:var(--calendar-soft);color:var(--calendar-text);margin-bottom:1rem;padding:.75rem 1rem}.chapel-calendar .calendar-data-state p{margin:0}.chapel-calendar [data-calendar-data-retry]{margin-top:.5rem}.chapel-calendar .calendar-controls button:hover,.chapel-calendar .calendar-dialog-close button:hover{background:var(--calendar-soft)}.chapel-calendar button:focus-visible,.chapel-calendar input:focus-visible,.chapel-calendar summary:focus-visible,.chapel-calendar [tabindex]:focus-visible{outline:3px solid var(--calendar-accent);outline-offset:2px}.chapel-calendar button:disabled{opacity:.4;cursor:default}.chapel-calendar .calendar-month-grid table{table-layout:fixed;border-collapse:collapse;width:100%}.chapel-calendar .calendar-month-grid th{color:var(--calendar-ink);letter-spacing:.06em;text-transform:uppercase;height:26px;padding:0 4px 8px;font-size:12px;font-weight:600;line-height:1}.chapel-calendar th abbr{text-decoration:none}.chapel-calendar .calendar-month-grid td{vertical-align:top;border:1px solid var(--calendar-line);height:88px;padding:10px}.chapel-calendar .calendar-day-number{width:24px;height:24px;color:var(--calendar-ink);justify-content:center;align-items:center;font-size:14px;line-height:1;display:inline-flex}.chapel-calendar .calendar-other-month{background:var(--calendar-soft)}.chapel-calendar .calendar-other-month .calendar-day-number{opacity:.55}.dark .chapel-calendar .calendar-other-month .calendar-day-number{color:var(--color-darkmode-text-light);opacity:1}.chapel-calendar [aria-current=date]{background:var(--calendar-accent);color:var(--calendar-paper);border-radius:50%;font-weight:600}.chapel-calendar .calendar-markers{flex-wrap:wrap;gap:0;display:flex}.chapel-calendar .calendar-grid-event{min-width:28px;min-height:28px;color:var(--event-color);cursor:pointer;border-radius:3px;justify-content:center;align-items:center;padding:4px;display:inline-flex}.chapel-calendar .calendar-grid-event svg{width:18px;height:18px}.chapel-calendar .calendar-grid-event:hover{background:var(--calendar-soft)}.chapel-calendar .calendar-legend{flex-wrap:wrap;align-items:center;gap:12px 20px;margin:20px 0 0;padding:0;list-style:none;display:flex}.chapel-calendar .calendar-legend li{color:var(--event-color);align-items:center;gap:6px;font-size:12px;font-weight:600;line-height:1.4;display:inline-flex}.chapel-calendar .calendar-legend svg{flex-shrink:0;width:16px;height:16px}.chapel-calendar .calendar-options{margin-top:16px;font-size:14px}.chapel-calendar .calendar-options summary{cursor:pointer}.chapel-calendar .calendar-options label{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.chapel-calendar input{border:1px solid var(--calendar-line);background:var(--calendar-paper);min-height:38px;color:var(--calendar-ink);padding:4px 8px}.dark .chapel-calendar input{color-scheme:dark}.chapel-calendar .calendar-agenda>h2{text-align:center;text-transform:uppercase;font-family:var(--font-primary);letter-spacing:.12em;color:var(--calendar-accent);margin:0;font-size:14px;font-weight:700;line-height:1.5}.chapel-calendar .calendar-count{color:var(--calendar-text);text-align:center;margin:12px 0 16px;font-size:12px;line-height:1.5}.chapel-calendar [data-calendar-agenda]{scrollbar-width:thin;max-height:560px;overflow-y:auto}.chapel-calendar .calendar-agenda-date{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.chapel-calendar .calendar-agenda-event{color:var(--calendar-text);text-align:left;border:1px solid var(--calendar-line);background:var(--calendar-soft);cursor:pointer;width:100%;margin-top:16px;padding:14px;display:block}.chapel-calendar .calendar-agenda-day:first-child .calendar-agenda-event:first-of-type{margin-top:0}.chapel-calendar .calendar-agenda-event:hover{border-color:var(--event-color)}.chapel-calendar .calendar-event-meta{color:var(--event-color);text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:8px;margin-bottom:12px;font-size:12px;font-weight:600;line-height:1.5;display:flex}.chapel-calendar .calendar-event-meta svg{flex-shrink:0;width:16px;height:16px}.chapel-calendar .calendar-agenda-event strong{font-family:var(--font-secondary);color:var(--calendar-ink);margin-bottom:10px;font-size:18px;font-weight:700;line-height:1.4;display:block}.chapel-calendar .calendar-event-info{color:var(--calendar-text);align-items:flex-start;gap:8px;margin-top:8px;font-size:14px;line-height:1.5;display:flex}.chapel-calendar .calendar-event-info svg{flex-shrink:0;width:16px;height:16px;margin-top:2px}.chapel-calendar .calendar-empty{color:var(--calendar-text);background:var(--calendar-soft);padding:16px;font-size:16px;line-height:1.6}.chapel-calendar .calendar-fallback-event{border:1px solid var(--calendar-line);margin-bottom:16px;padding:20px}.chapel-calendar .calendar-fallback-event summary{cursor:pointer;font-weight:600}.chapel-calendar .calendar-dialog{border:1px solid var(--calendar-line);background:var(--calendar-paper);width:min(640px,100vw - 2rem);max-height:calc(100dvh - 3rem);color:var(--calendar-text);border-radius:.75rem;margin:auto;padding:2rem;overflow-y:auto}.chapel-calendar .calendar-dialog .content{--tw-prose-body:var(--calendar-text);--tw-prose-headings:var(--calendar-ink);--tw-prose-links:var(--calendar-accent);--tw-prose-bold:var(--calendar-ink);color:var(--calendar-text)}.chapel-calendar .calendar-dialog::backdrop{background:#0009}.chapel-calendar .calendar-dialog-close{justify-content:flex-end;margin-bottom:20px;display:flex}.chapel-calendar .calendar-detail-date{margin:1rem 0 .35rem;font-weight:600}.chapel-calendar .calendar-detail-location{margin:.6rem 0 1.5rem}@media (width>=1024px){.chapel-calendar .calendar-layout{grid-template-columns:minmax(0,806fr) minmax(0,370fr)}}@media (width<=1023px){.chapel-calendar .calendar-month-card,.chapel-calendar .calendar-agenda{width:100%;max-width:806px;margin-inline:auto}}@media (width<=767px){.chapel-calendar .calendar-agenda{grid-row:1}.chapel-calendar .calendar-month-card,.chapel-calendar .calendar-agenda{padding:16px}.chapel-calendar .calendar-toolbar{flex-direction:column;align-items:flex-start;gap:12px}.chapel-calendar .calendar-controls{justify-content:space-between;width:100%}.chapel-calendar .calendar-controls button{min-height:44px}.chapel-calendar .calendar-month-grid th{letter-spacing:0;padding-inline:0;font-size:11px}.chapel-calendar .calendar-month-grid td{height:80px;padding:4px 0}.chapel-calendar .calendar-markers{justify-content:center}.chapel-calendar .calendar-grid-event{width:100%;min-width:0;min-height:32px}.chapel-calendar .calendar-legend{gap:12px}.chapel-calendar .calendar-toolbar h2{font-size:22px}.chapel-calendar [data-calendar-agenda]{max-height:none;overflow-y:visible}.chapel-calendar .calendar-agenda-event strong{font-size:22px}.chapel-calendar .calendar-event-info{font-size:18px}.chapel-calendar .calendar-event-meta{font-size:14px}.chapel-calendar .calendar-dialog{padding:20px}}
