@font-face { font-display: block; font-family: "AltarSchedule Sans"; font-style: normal; font-weight: 100 900; src: url("/fonts/inter/Inter-VariableFont_opsz_wght.ttf") format("truetype"); }
@font-face { font-display: block; font-family: "AltarSchedule Serif"; font-style: normal; font-weight: 400 700; src: url("/fonts/gelasio/Gelasio-VariableFont_wght.ttf") format("truetype"); }
:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

.auth-error-alert {
    background: rgba(148, 31, 31, .075) !important;
    color: #941f1f !important;
}

.auth-error-alert .mud-alert-icon,
.auth-error-alert .mud-alert-message,
.auth-error-alert .mud-icon-root {
    color: #941f1f !important;
}

.mud-input.mud-input-outlined:not(.mud-input-error):focus-within > .mud-input-outlined-border,
.mud-input.mud-input-outlined:not(.mud-input-error):focus-within .mud-shrink > .mud-input-outlined-border {
    border-color: #2D4A43 !important;
}

.mud-input:not(.mud-input-error):focus-within ~ label.mud-input-label.mud-input-label-inputcontrol:not(.mud-input-error) {
    color: #2D4A43 !important;
}
html, body { -ms-overflow-style: none; background-color: #f2ecdf; background-image: repeating-linear-gradient(0deg, rgba(112, 88, 58, .018) 0, rgba(112, 88, 58, .018) 1px, transparent 1px, transparent 4px), repeating-linear-gradient(90deg, rgba(112, 88, 58, .014) 0, rgba(112, 88, 58, .014) 1px, transparent 1px, transparent 5px); color: #2c2118; overflow-x: hidden; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
html.dialog-open, html.dialog-open body { overflow: hidden; overscroll-behavior: none; }
html.dialog-open body { left: 0; position: fixed; right: 0; top: var(--dialog-scroll-offset, 0); width: 100%; }
.mud-layout, .mud-main-content { background: transparent !important; }
.mud-main-content { padding-top: 0 !important; }
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.site-header { backdrop-filter: blur(14px); background: rgba(249, 245, 237, .94); border-bottom: 1px solid rgba(180, 158, 132, .5); box-shadow: 0 3px 18px rgba(73, 54, 38, .06); min-height: 72px; position: sticky; top: 0; z-index: 1100; }
.site-header__content { align-items: center; display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr); margin: 0 auto; max-width: 1240px; min-height: 72px; padding: 0 1.5rem; }
.site-navigation { align-items: stretch; display: flex; gap: clamp(2.4rem, 6vw, 5.5rem); grid-column: 2; justify-content: center; min-height: 72px; }
.site-navigation a { align-items: center; color: #665445; display: flex; font-size: .82rem; gap: .6rem; letter-spacing: .01em; padding: .85rem .25rem; position: relative; text-decoration: none; }
.site-navigation a .mud-icon-root { font-size: 1.45rem; }
.site-navigation a:hover { color: #941f1f; }
.site-navigation a.active { color: #941f1f; font-weight: 700; }
.site-navigation a.active::after { background: #941f1f; bottom: -1px; content: ""; height: 2px; left: 0; position: absolute; right: 0; }
.mobile-navigation { display: none; }
.site-footer { color: #941f1f; margin-top: 0; padding: .9rem 1rem 2rem; text-align: center; }
.site-footer__ornament { align-items: center; display: flex; gap: .75rem; justify-content: center; margin: 0 auto .65rem; max-width: 270px; }
.site-footer__ornament span { background: linear-gradient(90deg, transparent, #a94a42); height: 1px; width: 88px; }
.site-footer__ornament span:last-child { background: linear-gradient(90deg, #a94a42, transparent); }
.site-footer__ornament b { font-size: 1rem; font-weight: 400; line-height: 1; }
.site-footer p { font-family: Georgia, "Times New Roman", serif; font-size: .72rem; letter-spacing: .24em; margin: 0; }
.site-footer i { color: #b87a6d; font-style: normal; padding: 0 .35rem; }
.content-create-button { background: #941f1f !important; border: 1px solid #941f1f !important; border-radius: 8px !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif; font-size: .92rem; font-weight: 400 !important; justify-content: center; min-height: 46px; padding: 0 1.25rem !important; text-transform: none; }
.content-create-button:hover { background: #791818 !important; border-color: #791818 !important; }
.content-create-button .mud-icon-root { color: #fff !important; font-size: 1.55rem; }
h1[tabindex="-1"]:focus { outline: none; }
.week-page { max-width: 1380px !important; padding-bottom: 0 !important; }
.compendium-page__empty { align-items: center; border: 1px solid #c8b8a2; border-radius: 6px; display: flex; flex-direction: column; margin-top: 2.5rem; padding: 2.5rem 1.5rem; text-align: center; }
.compendium-page__empty > .mud-icon-root { color: #941f1f; font-size: 2rem; margin-bottom: .75rem; }
.compendium-page__empty .mud-typography-body2 { color: #795f49; margin-top: .4rem; max-width: 430px; }
.content-editor-dialog { background: #fffdf9; border-color: #d8cab9; border-radius: 1.1rem; max-width: 760px; }
.content-editor-dialog .event-dialog__header { border-bottom: 0; padding: 1.4rem 1.5rem .9rem; }
.content-editor-dialog .event-dialog__header .mud-typography { color: #2e251e; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem !important; font-weight: 500; }
.content-editor-dialog .event-dialog__header .mud-icon-button { border: 1px solid #d6c3ad; border-radius: .55rem; color: #4c4035; }
.content-editor-form { gap: 1rem; padding: .35rem 1.5rem 1.45rem !important; }
.content-editor-form .mud-input-control .mud-input-outlined-border { border-color: #cdb79e; }
.content-editor-dialog .event-dialog__footer { border-top: 0; padding: .25rem 1.5rem 1.35rem; }
.content-editor-dialog .event-dialog__footer > .mud-button-root { font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.content-editor-dialog .event-dialog__footer > .mud-button-root:last-child { background: #941f1f !important; color: #fff !important; min-height: 3rem; }
.rich-editor { background: linear-gradient(135deg, #fffefa, #fcf5ea); border: 1px solid #cdb79e; border-radius: .7rem; overflow: hidden; }
.rich-editor:focus-within { border-color: #2d4a43; box-shadow: 0 0 0 1px #2d4a43; }
.rich-editor__toolbar { align-items: center; background: rgba(235, 223, 207, .62); border-bottom: 1px solid #d8cab9; display: flex; flex-wrap: wrap; gap: .25rem; padding: .5rem .6rem; }
.rich-editor__toolbar button { background: transparent; border: 0; border-radius: .35rem; color: #4f3d2e; cursor: pointer; font-family: Georgia, "Times New Roman", serif; font-size: .8rem; min-height: 30px; padding: .25rem .5rem; }
.rich-editor__toolbar button:hover { background: rgba(148, 31, 31, .09); color: #941f1f; }
.rich-editor__surface { background: rgba(255, 254, 250, .78); color: #2e251e; font-family: Georgia, "Times New Roman", serif; line-height: 1.55; min-height: 260px; outline: none; padding: 1rem; }
.rich-editor__surface.is-uploading { cursor: progress; opacity: .68; }
.rich-editor__surface h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; margin: 1rem 0 .5rem; }
.rich-editor__surface p { margin: .5rem 0; }
.rich-editor__surface img, .rich-editor__surface video { border-radius: 5px; display: block; height: auto; margin: .75rem auto; max-height: 480px; max-width: 100%; }
.rich-editor__surface figure { margin: 1rem 0; }
.rich-editor__surface figcaption { color: #795f49; font-size: .75rem; text-align: center; }
.rich-editor__hint { background: rgba(255, 254, 250, .78); color: #826b56; font-family: Georgia, "Times New Roman", serif; font-size: .72rem; padding: .45rem .75rem .65rem; }
.content-attachment { align-items: center; background: rgba(255, 252, 247, .9); border: 1px solid #cdb79e; border-radius: .55rem; color: #941f1f !important; display: inline-flex; font-family: Georgia, "Times New Roman", serif; gap: .45rem; padding: .6rem .8rem; text-decoration: none; }
.content-attachment::before { color: #941f1f; content: "PDF"; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .06em; }
.content-attachment:hover { background: #fff8f1; border-color: #941f1f; }
.compendium-article { max-width: 720px !important; }
.compendium-article__back { color: #795f49; display: inline-block; font-size: .78rem; margin-bottom: 1.5rem; text-decoration: none; }
.compendium-article__back:hover { color: #941f1f; }
.compendium-article__header { padding-bottom: 1.5rem; }
.compendium-article__title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 5vw, 2.6rem) !important; font-weight: 500 !important; letter-spacing: -.03em; line-height: 1.1; margin-top: .35rem !important; }
.compendium-article__summary { color: #6f5846; margin-top: .65rem !important; }
.compendium-article > .mud-divider { border-color: #c5b49f; opacity: 1; }
.compendium-article__content { color: #34261c; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: 1.75; padding: 1.5rem 0; }
.compendium-article__content h1, .compendium-article__content h2, .compendium-article__content h3 { color: #2c2118; font-weight: 500; line-height: 1.2; margin: 1.5rem 0 .65rem; }
.compendium-article__content img, .compendium-article__content video { border-radius: 6px; display: block; height: auto; margin: 1.25rem auto; max-height: 620px; max-width: 100%; }
.compendium-article__content figure { margin: 1.5rem 0; }
.compendium-article__content figcaption { color: #795f49; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .75rem; text-align: center; }
.compendium-article__content a { color: #941f1f; }
.week-page__header { background: rgba(255, 251, 244, .68) url("/images/liturgical-header-ornament.svg") center / cover no-repeat; border: 1px solid rgba(190, 163, 132, .52); border-radius: 17px; box-shadow: 0 8px 20px rgba(76, 52, 34, .08), inset 0 0 0 3px rgba(255, 255, 255, .38); display: grid; gap: .85rem; padding: 1.25rem 2rem 1.1rem; }
.week-page__header-content { display: contents; }
.week-page__period-card { align-items: center; display: grid; gap: 2rem; grid-template-columns: 170px minmax(0, 1fr); justify-self: center; max-width: 940px; min-height: 165px; width: 100%; }
.week-page__emblem { background: #941f1f; height: 165px; justify-self: center; -webkit-mask: url("/images/christogram-watermark.png") center / contain no-repeat; mask: url("/images/christogram-watermark.png") center / contain no-repeat; width: 140px; }
.week-page__heading { display: flex; flex-direction: column; min-width: 0; }
.week-page__title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3.3vw, 2.75rem) !important; font-weight: 500 !important; letter-spacing: -.035em; line-height: 1.1; margin: 0 !important; max-width: 100%; overflow-wrap: anywhere; text-align: center; text-wrap: balance; }
.week-page__transition { color: #795f49; display: block; margin-top: .45rem; text-align: center; }
.week-page__navigation { align-items: center; background: rgba(255, 252, 247, .7); border: 1px solid rgba(190, 163, 132, .38); border-radius: 12px; display: grid !important; gap: 1rem; grid-template-columns: 44px minmax(190px, max-content) 44px; justify-content: center; justify-self: center; min-height: 54px; padding: .25rem .45rem; }
.week-page__navigation-labels { min-width: 190px; text-align: center; }
.week-page__date-range { color: #32261d; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem !important; font-weight: 600; letter-spacing: .01em; text-align: center; }
.week-page__number { color: #7c6654; display: block; font-family: Georgia, "Times New Roman", serif; margin-top: .05rem; }
.week-page__navigation .mud-icon-button { border: 1px solid #d1bfa8; color: #3f3025; height: 42px; width: 42px; }
.week-page__navigation .mud-icon-button:hover { background: #eee4d5; }
.week-page__calendar-panel { background: rgba(255, 252, 247, .44); border: 1px solid rgba(190, 163, 132, .48); border-radius: 14px; margin-top: 1rem; overflow: hidden; }
.week-page__actions { border-bottom: 1px solid rgba(190, 163, 132, .38); display: grid; gap: .75rem; grid-template-columns: max-content 180px 180px; justify-content: center; padding: .75rem 1rem; width: 100%; }
.week-page__add-button { background: rgba(255, 252, 247, .66) !important; border: 1px solid rgba(190, 163, 132, .36) !important; border-radius: 8px !important; color: #4e3c2f !important; font-family: Georgia, "Times New Roman", serif; font-size: .92rem; justify-content: center; min-height: 46px; padding: 0 1.25rem !important; text-transform: none; width: 100%; }
.week-page__add-button.mud-disabled,
.week-page__add-button:disabled { background: #eee7dc !important; border-color: #d8cabc !important; color: #9a8d80 !important; cursor: not-allowed; opacity: 1 !important; }
.week-page__add-button.mud-disabled .mud-button-label,
.week-page__add-button:disabled .mud-button-label,
.week-page__add-button.mud-disabled .mud-icon-root,
.week-page__add-button:disabled .mud-icon-root { color: #9a8d80 !important; }
.week-page__add-button .mud-icon-root { font-size: 1.55rem; }
.week-page__new-event-button { background: #941f1f !important; border-radius: 8px !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif; font-size: .94rem; min-height: 46px; padding: 0 1.25rem !important; text-transform: none; white-space: nowrap; width: auto; }
.week-page__new-event-button .mud-icon-root { color: #fff !important; font-size: 1.55rem; }
.week-page__new-event-button.mud-disabled,
.week-page__new-event-button:disabled { background: #ddd4c8 !important; color: #918477 !important; opacity: 1 !important; }
.week-page__new-event-button.mud-disabled .mud-icon-root,
.week-page__new-event-button:disabled .mud-icon-root { color: #918477 !important; }
.week-page__roles-button .mud-icon-root,
.week-page__template-button .mud-icon-root { color: #4e3c2f !important; font-size: 1.55rem; height: 1.55rem; width: 1.55rem; }
.week-page__calendar-swipe { touch-action: pan-y; }
.day-list { padding: 0; }
.day-list__day { align-items: start; border-bottom: 1px solid rgba(190, 163, 132, .34); display: grid; gap: 1.5rem; grid-template-columns: minmax(265px, 29%) minmax(0, 1fr); min-height: 80px; padding: .8rem 2rem; }
.day-list__day:last-child { border-bottom: 0; }
.day-list__heading { align-content: start; display: grid; gap: .3rem; min-width: 0; padding-top: .2rem; }
.day-list__heading-line { align-items: center; display: flex; gap: .65rem; min-width: 0; }
.day-list__date-heading { color: #2e241c; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .82rem !important; font-weight: 700 !important; letter-spacing: .025em; margin: 0 !important; text-transform: uppercase; }
.day-list__day--sunday .day-list__date-heading { color: #a01f25; }
.liturgical-color { border: 1px solid rgba(50, 38, 28, .16); border-radius: 50%; display: inline-block; flex: 0 0 10px; height: 10px; width: 10px; }
.liturgical-color--white { background: #fffaf0; border-color: #a9977e; }
.liturgical-color--green { background: #3f7950; }
.liturgical-color--red { background: #a62b2b; }
.liturgical-color--violet { background: #74518c; }
.liturgical-color--pink { background: #d88da5; }
.liturgical-color--black { background: #2e2924; }
.liturgical-color--neutral { background: #9f9282; }
.day-list__liturgical-title { color: #75614f; display: block; font-family: Georgia, "Times New Roman", serif; font-size: .78rem !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day-list__today { background: #191919 !important; border-radius: 2px !important; color: white !important; font-size: .58rem !important; font-weight: 700; height: 18px; justify-self: start; max-width: max-content; padding: 0 4px !important; text-transform: uppercase; width: fit-content; }
.day-list__empty { align-self: center; color: #9b8b79 !important; font-family: Georgia, "Times New Roman", serif; font-size: .82rem !important; font-style: italic; margin: 0; }
.day-list__events { margin: 0; min-width: 0; }
.list-event { align-items: center; background: rgba(255, 253, 249, .7); border: 1px solid rgba(190, 163, 132, .42); border-radius: 8px; box-shadow: 0 3px 10px rgba(76, 52, 34, .035); cursor: pointer; display: flex; gap: .9rem; min-height: 50px; padding: .65rem 1rem; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.list-event:hover, .list-event:focus-visible { background: rgba(255, 252, 246, .72); border-color: #aa9275; outline: none; }
.list-event__dot { border-radius: 50%; flex: 0 0 7px; height: 7px; transition: background .2s ease, box-shadow .2s ease; width: 7px; }
.list-event__dot--available { background: #8f1d2c; box-shadow: 0 0 0 3px rgba(143, 29, 44, .12); }
.list-event__dot--registered { background: #26985f; box-shadow: 0 0 0 3px rgba(38, 152, 95, .11); }
.list-event__title { color: #241a13; font-family: Georgia, "Times New Roman", serif; font-size: .94rem !important; line-height: 1.2; }
.list-event__time { color: #30231a; flex: 0 0 48px; font-family: Georgia, "Times New Roman", serif; font-size: .98rem !important; font-weight: 700; }
.list-event__note { color: #766553; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-event .mud-chip { border-radius: 2px; font-size: .62rem; height: 18px; margin-left: 0; padding: 0 .3rem; }
.list-event__attendance { align-items: center; background: rgba(241, 232, 218, .5); border-radius: 7px; color: #705b49; display: inline-flex; font-size: .78rem; gap: .35rem; margin-left: auto; min-height: 34px; padding: 0 .65rem; white-space: nowrap; }
.list-event__attendance .mud-icon-root { font-size: .95rem; }
.list-event__actions { align-items: center; display: flex; margin-left: 0; }
.list-event__delete { color: #8a7967 !important; margin-left: auto; opacity: .35; transition: opacity .15s ease, color .15s ease; }
.list-event:hover .list-event__delete, .list-event__delete:focus-visible { color: #941f1f !important; opacity: 1; }
.list-event .mud-chip + .list-event__delete { margin-left: 0; }
.list-event--archived { background: rgba(248, 247, 245, .58); border-color: rgba(176, 168, 160, .22); box-shadow: none; }
.list-event--archived:hover, .list-event--archived:focus-visible { background: rgba(245, 244, 241, .66); border-color: #c3bbb3; }
.list-event--archived .list-event__time, .list-event--archived .list-event__title { color: #6f6962; }
.list-event--archived .list-event__note { color: #8a837c; }
.list-event--archived .list-event__dot { background: #9a938c; box-shadow: 0 0 0 3px rgba(154, 147, 140, .1); }
.list-event--archived .list-event__attendance { background: rgba(208, 204, 198, .5); color: #766f68; }
.list-event--archived .event-tag-chip { opacity: .58; }
.event-modal { align-items: center; background: rgba(42, 31, 22, .48); display: flex; inset: 0; justify-content: center; padding: 1rem; position: fixed; z-index: 1300; }
.mud-popover { z-index: 1400 !important; }
.event-dialog { background: #f4efe5; border: 1px solid #c8b8a2; border-radius: 7px; box-shadow: 0 20px 60px rgba(44, 33, 24, .22); max-height: calc(100vh - 2rem); max-width: 520px; overflow-y: auto; width: 100%; }
.event-dialog__header { align-items: center; border-bottom: 1px solid #cbbca8; display: flex; justify-content: space-between; padding: 1rem 1.35rem; }
.event-dialog__header h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.event-dialog__body { display: grid; gap: 1.15rem; padding: 1.35rem; }
.event-definition-select-row { align-items: center; display: grid; gap: .4rem; grid-template-columns: 1fr auto; }
.definition-delete-confirmation { align-items: center; background: rgba(143, 29, 34, .055); border: 1px solid rgba(143, 29, 34, .22); border-radius: .4rem; display: flex; gap: 1rem; justify-content: space-between; padding: .65rem .8rem; }
.definition-delete-confirmation__text { color: #3f3026; font-family: Georgia, "Times New Roman", serif; font-size: .95rem !important; }
.definition-delete-confirmation__actions { align-items: center; display: flex; flex: 0 0 auto; gap: .25rem; }
.definition-delete-confirmation__cancel { color: #3f3026 !important; font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.definition-delete-confirmation__confirm { background: #941f1f !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.event-dialog__definition-toggle { justify-self: start; padding-left: 0 !important; text-transform: none; }
.event-dialog__title-fields { display: grid; gap: .8rem; grid-template-columns: 130px 1fr; }
.event-definition-form { background: rgba(255, 252, 246, .45); border: 1px solid #c8b8a2; border-radius: 5px; display: grid; gap: 1rem; padding: 1rem; }
.event-dialog__label { color: #654f3e; display: block; font-size: .64rem !important; font-weight: 700; letter-spacing: .16em; margin-bottom: .45rem; }
.event-tag-picker { display: flex; flex-wrap: wrap; gap: .55rem; }
.event-tag, .event-tag-chip { --tag-color: #941f1f; --tag-surface: rgba(148, 31, 31, .1); }
.event-tag { background: transparent; border: 1px solid var(--tag-color); border-radius: .45rem; color: var(--tag-color); cursor: pointer; font-family: Georgia, "Times New Roman", serif; font-size: .9rem; padding: .42rem .78rem; transition: background .16s ease, color .16s ease, transform .16s ease; }
.event-tag:hover { background: var(--tag-surface); }
.event-tag--selected { background: var(--tag-color); color: #fff; }
.event-tag--selected:hover { background: var(--tag-color); }
.event-tag--stations { --tag-color: #62415c; --tag-surface: rgba(98, 65, 92, .1); }
.event-tag--procession { --tag-color: #8a6a2f; --tag-surface: rgba(138, 106, 47, .12); }
.event-tag-chip { background: var(--tag-surface) !important; border-color: var(--tag-color) !important; color: var(--tag-color) !important; font-family: Georgia, "Times New Roman", serif; }
.list-event .event-tag-chip { border-radius: .4rem; font-size: .74rem !important; height: 24px; padding: 0 .5rem; }
.event-create-dialog { background: #fffdf9; border-color: #d8cab9; border-radius: 1.1rem; max-width: 540px; }
.event-create-dialog .event-dialog__header { border-bottom: 0; padding: 1.4rem 1.5rem .9rem; }
.event-create-dialog .event-dialog__header .mud-icon-button { border: 1px solid #d6c3ad; border-radius: .55rem; color: #4c4035; }
.event-create-dialog .event-dialog__body { gap: 1rem; padding: .35rem 1.5rem 1.45rem; }
.event-create-dialog .mud-input-control .mud-input-outlined-border { border-color: #cdb79e; }
.event-create-dialog__roles-switch { border: 1px solid #dbc6ad; border-radius: .7rem; column-gap: .45rem; margin: 0; padding: .7rem .8rem; }
.event-create-dialog__roles-switch .mud-switch-base.mud-checked { color: #941f1f !important; }
.event-create-dialog__roles-switch .mud-switch-base.mud-checked + .mud-switch-track { background: #941f1f !important; opacity: .48; }
.event-details__roles-enable-button { background: rgba(255, 252, 247, .68) !important; border-color: #941f1f !important; border-radius: 9px !important; box-shadow: 0 4px 12px rgba(76, 52, 34, .045); color: #941f1f !important; font-family: Georgia, "Times New Roman", serif; justify-self: stretch !important; min-height: 3.25rem; text-transform: none; width: 100%; }
.event-details__roles-enable-button .mud-icon-root { color: #941f1f !important; }
.event-details__roles-enable-button:hover { background: rgba(148, 31, 31, .055) !important; }
.event-details__roles-confirm-button { background: #941f1f !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif; min-height: 2.8rem; text-transform: none; }
.event-details__roles-confirm-button .mud-icon-root { color: #fff !important; }
.event-details__roles-confirmation { align-items: center; background: rgba(148, 31, 31, .055); border: 1px solid rgba(148, 31, 31, .22); border-radius: .55rem; display: flex; flex-wrap: wrap; gap: .65rem; justify-content: space-between; padding: .75rem .8rem; }
.event-details__roles-confirmation .mud-typography { flex: 1 1 240px; }
.event-details__roles-confirmation-actions { align-items: center; display: flex; gap: .35rem; justify-content: flex-end; }
.event-details__roles-confirmation-actions .mud-button-root { font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.event-details__roles-status { align-items: center; color: #2d4a43; display: inline-flex; font-family: Georgia, "Times New Roman", serif; gap: .45rem; }
.event-details__roles-status .mud-icon-root { color: #2d4a43 !important; }
.event-create-dialog__definition-delete, .event-create-dialog__definition-delete .mud-icon-root { color: #941f1f !important; }
.event-create-dialog__definition-toggle { color: #941f1f !important; font-family: Georgia, "Times New Roman", serif; }
.event-create-dialog__definition-toggle .mud-icon-root { color: #941f1f !important; }
.event-create-dialog__definition-form { background: linear-gradient(135deg, #fffefa, #fcf5ea); border-color: #dbc6ad; border-radius: .75rem; gap: .9rem; padding: 1.05rem; }
.event-create-dialog__definition-title { color: #35261d; font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem !important; }
.event-create-dialog__definition-form .event-dialog__title-fields { gap: .7rem; }
.event-create-dialog__definition-submit { background: #941f1f !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif; min-height: 2.8rem; text-transform: none; width: 100%; }
.event-create-dialog__tags { display: grid; gap: .1rem; }
.mud-popover .mud-list-item.mud-selected-item { background: rgba(45, 74, 67, .13) !important; color: #2d4a43 !important; }
.mud-popover .mud-list-item.mud-selected-item .mud-list-item-text, .mud-popover .mud-list-item.mud-selected-item .mud-icon-root { color: #2d4a43 !important; }
.event-create-dialog__note { margin-top: .1rem; }
.event-create-dialog .event-dialog__footer { border-top: 0; padding: .25rem 1.5rem 1.35rem; }
.event-create-dialog__cancel { font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.event-create-dialog__submit { background: #941f1f !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif; min-height: 3rem; text-transform: none; }
.event-create-dialog__template-button { background: rgba(45, 74, 67, .09) !important; border-color: #66837b !important; }
.event-create-dialog__template-button .mud-icon-root { color: #3f665b !important; }
.event-template-dialog__subtitle { color: #795f49; display: block; font-family: Georgia, "Times New Roman", serif; margin-top: .2rem; }
.event-template-dialog__item-editor { background: linear-gradient(135deg, #fffefa, #fcf5ea); border: 1px solid #dbc6ad; border-radius: .75rem; display: grid; gap: .9rem; padding: 1rem; }
.event-template-dialog__add-item,
.event-template-preview__apply { background: #941f1f !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.event-template-dialog__add-item { min-height: 2.8rem; width: 100%; }
.event-template-dialog__items { display: grid; gap: .55rem; }
.event-template-dialog__items-title { color: #35261d; font-family: Georgia, "Times New Roman", serif; font-size: 1rem !important; }
.event-template-dialog__empty { color: #8d7b69; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.event-template-dialog__item { align-items: center; background: rgba(255, 253, 249, .78); border: 1px solid #dbcbb8; border-radius: .55rem; display: flex; gap: .7rem; justify-content: space-between; min-height: 62px; padding: .65rem .75rem; }
.event-template-dialog__item-content { display: grid; gap: .35rem; min-width: 0; }
.event-template-dialog__item-name { color: #2e251e; font-family: Georgia, "Times New Roman", serif; font-size: .96rem !important; }
.event-template-dialog__item-meta { align-items: center; display: flex; flex-wrap: wrap; gap: .55rem; }
.event-template-dialog__roles-label { align-items: center; color: #3f665b; display: inline-flex; font-family: Georgia, "Times New Roman", serif; font-size: .78rem; gap: .25rem; }
.event-template-dialog__roles-label .mud-icon-root { font-size: 1rem; }
.event-template-dialog__remove-item, .event-template-dialog__remove-item .mud-icon-root,
.event-template-dialog__delete-template, .event-template-dialog__delete-template .mud-icon-root { color: #941f1f !important; }
.event-template-dialog__delete-template { font-family: Georgia, "Times New Roman", serif; justify-self: start; text-transform: none; }
.event-template-preview { display: grid; gap: .55rem; }
.event-template-preview__description { color: #6f5a48; font-family: Georgia, "Times New Roman", serif; }
.event-template-preview__apply { min-width: 138px; }
.event-dialog .mud-input-control .mud-input-outlined-border { border-color: #bcae9b; }
.event-dialog__footer { align-items: center; border-top: 1px solid #cbbca8; display: flex; gap: .5rem; justify-content: flex-end; padding: .8rem 1.35rem; }
.role-dialog { background: #fffdf9; border-color: #d8cab9; border-radius: 1.1rem; max-width: 540px; }
.role-dialog .role-dialog__header { border-bottom: 0; padding: 1.35rem 1.5rem .8rem; }
.role-dialog__title { color: #2e251e; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem !important; font-weight: 500 !important; line-height: 1.15; }
.role-dialog__subtitle { color: #941f1f; font-family: Georgia, "Times New Roman", serif; font-size: .83rem !important; margin-top: .25rem; }
.role-dialog__close { color: #6c6258 !important; }
.role-dialog .role-dialog__body { gap: .65rem; padding: .25rem 1.5rem 1rem; }
.role-list { display: grid; gap: .48rem; }
.role-list__item { align-items: center; background: linear-gradient(135deg, rgba(255, 254, 250, .96), rgba(251, 246, 238, .78)); border: 1px solid #dbcbb8; border-radius: .55rem; display: grid; gap: .8rem; grid-template-columns: 46px minmax(0, 1fr) auto; min-height: 62px; padding: .45rem .6rem; }
.role-list__icon { align-items: center; background: rgba(148, 31, 31, .075); border: 1px solid rgba(148, 31, 31, .15); border-radius: 50%; color: #941f1f; display: flex; flex: 0 0 auto; height: 34px; justify-content: center; width: 34px; }
.role-dialog .role-list__icon { height: 44px; width: 44px; }
.role-list__content { min-width: 0; }
.role-list__content .mud-typography { line-height: 1.25; }
.role-list__name { color: #2e251e; font-family: Georgia, "Times New Roman", serif; font-size: 1rem !important; font-weight: 400 !important; }
.role-list__description { color: #941f1f; font-family: Georgia, "Times New Roman", serif; font-size: .78rem !important; margin-top: .08rem; }
.role-list__delete, .role-list__delete .mud-icon-root { color: #6f6459 !important; }
.role-list__delete-confirmation { align-items: center; background: rgba(143, 29, 34, .055); border: 1px solid rgba(143, 29, 34, .22); border-radius: .4rem; display: flex; gap: 1rem; justify-content: space-between; margin: -.12rem 0 .2rem; padding: .65rem .8rem; }
.role-list__delete-confirmation .mud-typography { color: #3f3026; font-family: Georgia, "Times New Roman", serif; font-size: .95rem !important; }
.role-list__delete-confirmation-actions { display: flex; flex: 0 0 auto; gap: .25rem; }
.role-list__delete-cancel { color: #3f3026 !important; font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.role-list__delete-confirm { background: #941f1f !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.role-form { background: linear-gradient(135deg, #fffefa, #fcf5ea); border: 1px solid #dbc6ad; border-radius: .65rem; display: grid; gap: .7rem; padding: .9rem 1rem; }
.role-form__title { color: #2e251e; font-family: Georgia, "Times New Roman", serif; font-size: 1rem !important; font-weight: 600; }
.role-form__input .mud-input-outlined-border { border-color: #cdb79e !important; }
.role-form__submit { border-color: #941f1f !important; color: #941f1f !important; font-family: Georgia, "Times New Roman", serif; min-height: 2.55rem; text-transform: none; }
.role-form__submit .mud-icon-root { color: #941f1f !important; }
.role-form .mud-button-root { justify-self: start; }
.role-dialog .event-dialog__footer { border-top-color: #e1d5c6; padding: .65rem 1.5rem; }
.role-dialog__close-action { color: #4c4035 !important; font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.event-details__date { color: #941f1f; font-family: Georgia, "Times New Roman", serif; font-size: .68rem !important; letter-spacing: .12em; }
.event-details { background: #fffdf9; border-color: #d8cab9; border-radius: 1.1rem; max-width: 540px; }
.event-details .event-dialog__header { border-bottom: 0; padding: 1.4rem 1.5rem .9rem; }
.event-details__title { color: #2e251e; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem !important; font-weight: 500; line-height: 1.22; margin-top: .3rem; }
.event-details__archive-notice { color: #756659; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.event-details .event-dialog__header .mud-icon-button { border: 1px solid #d6c3ad; border-radius: .55rem; color: #4c4035; }
.event-details > .event-dialog__body { gap: 1.1rem; padding: .35rem 1.5rem 1.45rem; }
.event-details__print-button { background: rgba(148, 31, 31, .08) !important; border: 1px solid rgba(148, 31, 31, .3); color: #941f1f !important; }
.event-details__print-button .mud-icon-root { color: #941f1f !important; }
.event-details__print-button:hover { background: rgba(148, 31, 31, .16) !important; }
.event-details__print-button--ready { background: rgba(45, 74, 67, .1) !important; border-color: rgba(45, 74, 67, .34) !important; color: #2d4a43 !important; }
.event-details__print-button--ready .mud-icon-root { color: #2d4a43 !important; }
.event-details__print-button--ready:hover { background: rgba(45, 74, 67, .18) !important; }
.event-details__print-generating { align-items: center; background: rgba(148, 31, 31, .08); border: 1px solid rgba(148, 31, 31, .3); border-radius: .55rem; box-sizing: border-box; display: inline-flex; height: 48px; justify-content: center; width: 48px; }
.event-details > .event-dialog__body > .mud-chip { justify-self: start; }
.registration-form { background: linear-gradient(135deg, #fffefa, #fcf5ea); border: 1px solid #dbc6ad; border-radius: .7rem; display: grid; gap: .9rem; padding: 1.05rem; }
.registration-form > .mud-typography { color: #2e251e; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }
.registration-form__profiles { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.registration-form__profile .mud-icon-button,
.registration-form__profile .mud-checkbox-icons,
.registration-form__profile .mud-checkbox-icons .mud-svg-icon {
    color: #2D4A43 !important;
    fill: #2D4A43 !important;
}
.registration-form__profile,
.registration-form__profile .mud-checkbox-label,
.registration-form__profile .mud-typography {
    color: #2e251e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .92rem;
    font-weight: 400;
}
.registration-form .mud-input-control .mud-input-outlined-border { border-color: #cdb79e; }
.registration-form .mud-input, .registration-form .mud-input-control-input-container { font-family: Georgia, "Times New Roman", serif; }
.registration-form__submit { background: #941f1f !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif; justify-self: stretch !important; min-height: 3.25rem; text-transform: none; width: 100%; }
.registration-form__submit .mud-icon-root { color: #fff !important; }
.registration-list { display: grid; gap: .6rem; }
.registration-list__heading { color: #2e251e; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem !important; }
.registration-list__empty { color: #941f1f !important; font-family: Georgia, "Times New Roman", serif; font-size: .92rem !important; font-weight: 400; }
.event-details__registrations-divider { align-items: center; color: #cbb89f; display: flex; font-size: 1rem; gap: .75rem; justify-content: center; line-height: 1; margin: .15rem 0; }
.event-details__registrations-divider::before, .event-details__registrations-divider::after { background: #e3d6c6; content: ""; height: 1px; max-width: 9rem; width: 100%; }
.registration-person { align-items: center; background: #fffefa; border: 1px solid #dfcfbd; border-radius: .6rem; display: grid; gap: .55rem .75rem; grid-template-columns: 42px minmax(0, 1fr) auto; padding: .7rem .75rem; }
.registration-person__avatar { align-items: center; border-radius: 50%; color: #fff !important; display: inline-flex; font-family: Georgia, "Times New Roman", serif; font-size: .9rem !important; height: 40px; justify-content: center; overflow: hidden; width: 40px; }
.registration-person__identity .mud-typography { color: #2e251e; font-family: Georgia, "Times New Roman", serif; }
.registration-person__name { font-size: 1.02rem !important; font-weight: 400 !important; }
.registration-person__cancel { background: transparent !important; box-shadow: none !important; color: #8a7967 !important; height: 40px; min-height: 40px; min-width: 40px; padding: .5rem !important; transition: background .15s ease, color .15s ease; width: 40px; }
.registration-person__cancel .mud-icon-root { font-size: 1.15rem; }
.registration-person--assigned { background: rgba(239, 247, 237, .55); border-color: #aebfa5; }
.registration-person > .mud-avatar-root { grid-column: 1; grid-row: 1; justify-self: center; }
.registration-person__identity { grid-column: 2; grid-row: 1; min-width: 0; }
.registration-person__role { grid-column: 2 / 4; grid-row: 2; justify-self: start; min-width: 0; width: 175px; }
.registration-person__role > .mud-select { width: 100%; }
.registration-person__role-badge { align-items: center; background: rgba(255, 252, 246, .55); border: 1px solid rgba(143, 29, 44, .18); border-radius: 5px; box-sizing: border-box; display: inline-flex; gap: .6rem; grid-column: 3; grid-row: 1; justify-self: end; min-height: 42px; padding: .3rem .55rem .3rem .35rem; width: 158px; }
.registration-person__role-badge .role-list__icon { height: 30px; width: 30px; }
.registration-person__role-badge .mud-typography { line-height: 1.2; white-space: nowrap; }
.registration-person > .registration-person__cancel { grid-column: 3; grid-row: 1; justify-self: end; }
.registration-person > .mud-button-root.registration-person__cancel:not(:disabled):hover,
.registration-person > .mud-button-root.registration-person__cancel:not(:disabled):focus,
.registration-person > .mud-button-root.registration-person__cancel:not(:disabled):active { background: rgba(112, 91, 73, .07) !important; box-shadow: none !important; color: #6f6256 !important; }
.registration-person > .mud-button-root.registration-person__cancel--pending,
.registration-person > .mud-button-root.registration-person__cancel--pending:not(:disabled):hover,
.registration-person > .mud-button-root.registration-person__cancel--pending:not(:disabled):focus,
.registration-person > .mud-button-root.registration-person__cancel--pending:not(:disabled):active { background: rgba(148, 31, 31, .065) !important; color: #941f1f !important; }
.registration-person > .mud-button-root.registration-person__cancel:disabled { color: #b8afa5 !important; opacity: 1 !important; }
.registration-cancel-confirmation { align-items: center; background: rgba(143, 29, 34, .055); border: 1px solid rgba(143, 29, 34, .22); border-radius: .6rem; display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr) auto; padding: .65rem .8rem; }
.registration-cancel-confirmation__text { color: #3f3026; font-family: Georgia, "Times New Roman", serif; font-size: .95rem !important; }
.registration-cancel-confirmation__actions { align-items: center; display: flex; flex: 0 0 auto; gap: .25rem; }
.registration-cancel-confirmation__cancel { color: #3f3026 !important; font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.registration-cancel-confirmation__confirm { background: #941f1f !important; color: #fff !important; font-family: Georgia, "Times New Roman", serif; text-transform: none; }
.invitation-print-sheet { height: 1px; left: -10000px; overflow: hidden; position: fixed; top: 0; visibility: hidden; width: 210mm; }
.service-pdf-document { left: -10000px; pointer-events: none; position: fixed; top: 0; width: 794px; }
.service-pdf-sheet { background: #fff; box-sizing: border-box; color: #241a13; font-family: "AltarSchedule Sans", sans-serif; height: 1123px; overflow: hidden; padding: 76px 83px; position: relative; width: 794px; }
.service-pdf-sheet__header { align-items: center; display: grid; gap: 26px; grid-template-columns: 140px minmax(0, 1fr); height: 150px; }
.service-pdf-sheet__emblem { height: 128px; object-fit: contain; width: 128px; }
.service-pdf-sheet__heading { min-width: 0; text-align: center; }
.service-pdf-sheet__heading p { margin: 0; }
.service-pdf-sheet__eyebrow { color: #941f1f; font-size: 11.7px; font-weight: 700; letter-spacing: 4.52px; line-height: 16px; margin-bottom: 12px !important; }
.service-pdf-sheet__heading h1 { font-family: "AltarSchedule Serif", serif; font-size: 29.6px; font-weight: 400; letter-spacing: .15px; line-height: 36px; margin: 0; }
.service-pdf-sheet__heading h2 { color: #941f1f; font-family: "AltarSchedule Serif", serif; font-size: 21.15px; font-weight: 700; letter-spacing: -.08px; line-height: 27px; margin: 9px 0 6.5px; }
.service-pdf-sheet__feast { color: #6d5440; font-family: "AltarSchedule Serif", serif; font-size: 16px; font-weight: 400; line-height: 21px; }
.service-pdf-sheet__heading h1, .service-pdf-sheet__heading h2, .service-pdf-sheet__feast { transform: translateY(1.5px); }
.service-pdf-sheet__divider { border-top: 2px solid #a4272c; margin: 32px 0 18px; }
.service-pdf-sheet__list-heading, .service-pdf-sheet__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.service-pdf-sheet__list-heading { color: #6d5440; font-size: 10px; font-weight: 700; height: 25px; letter-spacing: 1.6px; padding: 0 9px 8px; text-transform: uppercase; }
.service-pdf-sheet__list-heading > div, .service-pdf-sheet__assignment { align-items: center; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-width: 0; }
.service-pdf-sheet__list-heading > div { gap: 7px; }
.service-pdf-sheet__list-heading > div + div, .service-pdf-sheet__assignment--secondary { border-left: 1px solid #ded8cf; padding-left: 12px; }
.service-pdf-sheet__list--single .service-pdf-sheet__list-heading, .service-pdf-sheet__list--single .service-pdf-sheet__row { grid-template-columns: minmax(0, 1fr); }
.service-pdf-sheet__row { align-items: stretch; border-bottom: 1px solid #ded8cf; box-sizing: border-box; height: 46px; padding: 0 9px; }
.service-pdf-sheet__role { align-items: center; color: #941f1f; display: flex; font-size: 12.5px; gap: 7px; line-height: 16px; min-width: 0; }
.service-pdf-sheet__role strong { overflow-wrap: anywhere; }
.service-pdf-sheet__role-icon { align-items: center; background: rgba(148, 31, 31, .08); border-radius: 50%; display: flex; flex: 0 0 25px; height: 25px; justify-content: center; width: 25px; }
.service-pdf-sheet__role-icon .liturgical-role-icon { height: 18px; width: 18px; }
.service-pdf-sheet__person { font-family: "AltarSchedule Serif", serif; font-size: 15px; line-height: 18px; min-width: 0; overflow-wrap: anywhere; }
.service-pdf-sheet__footer { bottom: 28px; color: #941f1f; left: 83px; margin: 0; position: absolute; right: 83px; text-align: center; }
.service-pdf-sheet__footer-ornament { align-items: center; display: flex; gap: 9px; justify-content: center; margin: 0 auto 6px; max-width: 210px; }
.service-pdf-sheet__footer-ornament span { border-top: 1px solid #d7aaa3; flex: 0 0 70px; height: 0; }
.service-pdf-sheet__footer-ornament b { font-size: 14px; font-weight: 400; line-height: 14px; }
.service-pdf-sheet__footer p { font-family: "AltarSchedule Serif", serif; font-size: 10px; letter-spacing: 2.2px; margin: 0; }
.service-pdf-sheet__footer i { color: #b87a6d; font-style: normal; padding: 0 4px; }
@media print {
    @page { margin: 10mm; size: A4 portrait; }
    html, body, .mud-layout, .mud-main-content { background: #fff !important; height: auto !important; margin: 0 !important; min-height: 0 !important; padding: 0 !important; }
    html.dialog-open, html.dialog-open body { overflow: visible !important; }
    html.dialog-open body { left: auto !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; }
    .app-shell { min-height: 0; padding-bottom: 0 !important; }
    .site-header, .mobile-navigation, .site-footer, .week-page, .account-options, .account-family-modal, .event-modal, .cookie-consent, .service-pdf-document { display: none !important; }
    .invitation-print-sheet { background: #fff; box-sizing: border-box; break-inside: avoid; color: #241a13; display: block !important; height: 270mm; left: auto; margin: 0; max-width: none; overflow: hidden; padding: 0 14mm 15mm; page-break-inside: avoid; position: relative; print-color-adjust: exact; text-align: center; top: auto; visibility: visible; width: 100%; -webkit-print-color-adjust: exact; }
    .invitation-print-sheet__top { background-color: #faf5ec !important; border-top: 5px solid #941f1f; margin: 0 -14mm; padding: 10mm 14mm 8mm; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .invitation-print-sheet__header { align-items: center; display: grid; gap: 1.2rem; grid-template-columns: 108px minmax(0, 1fr); margin: 0 auto; text-align: left; }
    .invitation-print-sheet__emblem { height: 98px; object-fit: contain; width: 96px; }
    .invitation-print-sheet__eyebrow { color: #941f1f; font-size: .76rem; font-weight: 700; letter-spacing: .27em; margin: 0 0 .3rem; }
    .invitation-print-sheet h1 { color: #941f1f; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 500; line-height: 1.1; margin: 2.4rem 0 1.1rem; }
    .invitation-print-sheet__introduction { color: #6d5440; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.4; margin: .5rem auto 2rem; max-width: 142mm; }
    .invitation-print-sheet__qr-section { margin-top: 2.6rem; padding-top: .1rem; }
    .invitation-print-sheet__qr { display: block; height: 56mm; margin: 1.7rem auto 0; width: 56mm; }
    .invitation-print-sheet__identity { font-family: Georgia, "Times New Roman", serif; text-align: left; }
    .invitation-print-sheet__identity p { color: #941f1f; font-size: 1.45rem; font-style: italic; line-height: 1.12; margin: 0; white-space: nowrap; }
    .invitation-print-sheet__link { color: #941f1f; font-family: "Segoe UI", Arial, sans-serif; font-size: .78rem; font-weight: 500; letter-spacing: .01em; line-height: 1.45; margin: 3.5rem auto .6rem; max-width: 142mm; overflow-wrap: anywhere; }
    .invitation-print-sheet__details { color: #6d5440; font-family: "Segoe UI", Arial, sans-serif; font-size: .9rem; margin: 0; }
    .invitation-print-sheet__footer { bottom: 10mm; color: #941f1f; left: 14mm; margin: 0; position: absolute; right: 14mm; text-align: center; }
    .invitation-print-sheet__footer-ornament { align-items: center; display: flex; gap: .6rem; justify-content: center; margin: 0 auto .5rem; max-width: 210px; }
    .invitation-print-sheet__footer-ornament span { background: linear-gradient(90deg, transparent, #a94a42); height: 1px; width: 70px; }
    .invitation-print-sheet__footer-ornament span:last-child { background: linear-gradient(90deg, #a94a42, transparent); }
    .invitation-print-sheet__footer-ornament b { font-size: .9rem; font-weight: 400; line-height: 1; }
    .invitation-print-sheet__footer p { font-family: Georgia, "Times New Roman", serif; font-size: .68rem; letter-spacing: .22em; margin: 0; }
    .invitation-print-sheet__footer i { color: #b87a6d; font-style: normal; padding: 0 .25rem; }
    .invitation-print-sheet__identity span { color: #6d5440; display: block; font-size: 1rem; line-height: 1.3; margin-top: .3rem; }
}
@media (max-width: 620px) {
    .content-editor-dialog { max-width: none; }
    .rich-editor__surface { min-height: 220px; }
    .definition-delete-confirmation { align-items: stretch; flex-direction: column; }
    .definition-delete-confirmation__actions { align-self: flex-end; }
    .role-list__item { gap: .55rem; grid-template-columns: 44px minmax(0, 1fr) auto; }
    .role-list__delete-confirmation { align-items: stretch; flex-direction: column; }
    .role-list__delete-confirmation-actions { justify-content: flex-end; }
    .role-dialog .role-dialog__header { padding: 1.15rem 1rem .75rem; }
    .role-dialog .role-dialog__body { padding: .2rem 1rem .9rem; }
    .event-modal { align-items: center; padding: 1rem; }
    .event-dialog, .event-details, .role-dialog { border-radius: 12px; max-height: calc(100dvh - 2rem); max-width: none; }
    .event-dialog__title-fields { grid-template-columns: 1fr; }
    .registration-person { grid-template-columns: 42px minmax(0, 1fr) auto; }
    .registration-person__role { grid-column: 2 / 4; grid-row: 2; width: min(175px, 100%); }
    .registration-person__role-badge { grid-column: 2 / 4; grid-row: 2; justify-self: start; max-width: 100%; }
    .registration-person > .registration-person__cancel { grid-column: 3; grid-row: 1; }
}

.account-session { align-items: center; display: flex; font-size: .8rem; grid-column: 3; justify-self: end; }
.account-session__trigger { align-items: center; background: transparent; border: 0; color: #3f3026; cursor: pointer; display: flex; font: inherit; gap: .65rem; padding: .35rem; text-decoration: none; }
.account-session__trigger:hover { color: #8f1d22; }
.account-session__avatar { align-items: center; border-radius: 50%; color: #fff; display: inline-flex; font-size: .78rem; font-weight: 700; height: 38px; justify-content: center; letter-spacing: .02em; overflow: hidden; width: 38px; }
.login-page { display: grid; min-height: 65vh; padding: 4rem 1rem; place-items: center; }
.login-card { background: rgba(255, 252, 243, .9); border: 1px solid #d6c5ad; border-radius: 14px; box-shadow: 0 18px 45px rgba(79, 55, 38, .12); box-sizing: border-box; max-width: 420px; padding: 2.5rem; text-align: center; width: 100%; }
.login-card__icon { color: #8f1d22; }
.login-card__emblem { background: #941f1f; height: 82px; margin: 0 auto .65rem; -webkit-mask: url("/images/christogram-watermark.png") center / contain no-repeat; mask: url("/images/christogram-watermark.png") center / contain no-repeat; width: 68px; }
.login-card__eyebrow { color: #8f1d22; font-size: .7rem; letter-spacing: .25em; margin: 1rem 0 .35rem; }
.login-card h1 { margin: 0 0 .75rem; }
.login-card h1:focus { outline: none; }
.login-card__consent-hint { color: #806c59; font-size: .76rem; margin: .75rem 0 0; }
.login-card__attempts { color: #745d4b; font-size: .78rem; margin: .7rem 0 0; }
.login-switch-form { margin-top: 1.25rem; }
.login-switch-form button { background: #9d1f24; border: 0; border-radius: 5px; color: #fff; cursor: pointer; font: inherit; font-weight: 600; padding: .8rem 1rem; width: 100%; }
.login-switch-form button:hover { background: #7f171c; }
.login-form { display: grid; gap: .65rem; margin-top: 1.5rem; text-align: left; }
.login-form label { color: #745d4b; font-size: .72rem; letter-spacing: .15em; }
.login-form input { background: #fffdf7; border: 1px solid #bca88f; border-radius: 6px; box-sizing: border-box; font-size: 1.35rem; letter-spacing: .45em; min-width: 0; padding: .75rem 1rem; text-align: center; width: 100%; }
.cookie-consent { align-items: center; background: #fffaf0; border: 1px solid #c9b69c; border-radius: 10px; bottom: 1rem; box-shadow: 0 12px 35px rgba(56, 40, 27, .2); display: flex; gap: 1.5rem; justify-content: space-between; left: 50%; max-width: 720px; padding: 1rem 1.15rem; position: fixed; transform: translateX(-50%); width: calc(100% - 2rem); z-index: 2000; }
.cookie-consent p { color: #6f5846; font-size: .78rem; margin: .2rem 0 0; }
.cookie-consent__actions { display: flex; flex: 0 0 auto; gap: .5rem; }
.cookie-consent button { border-radius: 5px; cursor: pointer; font: inherit; padding: .55rem .85rem; }
.cookie-consent__reject { background: transparent; border: 1px solid #ad9b84; color: #5d4939; }
.cookie-consent__accept { background: #8f1d22; border: 1px solid #8f1d22; color: white; }

@media (min-width: 821px) {
    .week-page__header { min-height: 190px; padding: 1.15rem 2rem; }
    .week-page__header-content { align-items: center; column-gap: 1.5rem; display: grid; grid-template-columns: minmax(100px, 135px) minmax(0, 600px); grid-template-rows: auto auto; justify-self: center; left: -2rem; max-width: 100%; position: relative; row-gap: .85rem; width: 759px; }
    .week-page__period-card { display: contents; }
    .week-page__emblem { align-self: center; grid-column: 1; grid-row: 1 / 3; height: 142px; justify-self: center; min-height: 0; width: 120px; }
    .week-page__heading { align-self: end; grid-column: 2; grid-row: 1; }
    .week-page__title { font-size: clamp(1.9rem, 3vw, 2.55rem) !important; text-align: center; }
    .week-page__title--long { font-size: clamp(1.45rem, 2.25vw, 1.9rem) !important; }
    .week-page__title--very-long { font-size: clamp(1rem, 1.5vw, 1.3rem) !important; line-height: 1.15; }
    .week-page__transition { text-align: center; }
    .week-page__navigation { align-self: start; grid-column: 2; grid-row: 2; justify-self: center; margin-left: 0; }
}

@media (max-width: 820px) {
    .app-shell { padding-bottom: 68px; }
    .site-header { display: none; }
    .mobile-navigation { align-items: stretch; background: #f9f5ed; border-top: 1px solid rgba(180, 158, 132, .55); bottom: 0; box-sizing: border-box; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 68px; left: 0; overflow: hidden; padding: 0 .4rem; position: fixed; right: 0; transition: transform .16s ease-out; z-index: 1200; }
    html.mobile-navigation--scrolling .mobile-navigation { pointer-events: none; transform: translateY(calc(100% + 1px)); }
    .mobile-navigation a { align-items: center; color: #4e3e32; display: flex; flex-direction: column; font-family: inherit; font-size: .73rem; gap: .18rem; justify-content: center; min-width: 0; padding: .45rem .2rem .3rem; position: relative; text-decoration: none; }
    .mobile-navigation a .mud-icon-root { font-size: 1.7rem; }
    .mobile-navigation a.active { color: #a01f25; }
    .mobile-navigation a.active::before { background: #a01f25; content: ""; height: 2px; left: 23%; position: absolute; right: 23%; top: -1px; }
    .mobile-navigation__avatar { align-items: center; border-radius: 50%; color: #fff; display: inline-flex; font-family: Arial, sans-serif; font-size: .7rem; font-weight: 700; height: 1.7rem; justify-content: center; line-height: 1; overflow: hidden; width: 1.7rem; }
    .mobile-navigation__account.active .mobile-navigation__avatar { box-shadow: 0 0 0 2px rgba(160, 31, 37, .22); }
    .content-create-button { border-radius: 14px !important; box-shadow: 0 5px 14px rgba(76, 52, 34, .09); font-size: clamp(.78rem, 3.7vw, .92rem); min-height: 58px; padding: 0 .45rem !important; width: 100%; }
    .site-footer { padding-bottom: 1rem; }

    .week-page { padding-left: .9rem !important; padding-right: .9rem !important; padding-top: .85rem !important; }
    .week-page__header { background: transparent; border: 0; border-radius: 0; box-shadow: none; gap: .8rem; padding: 0; }
    .week-page__period-card { background: rgba(255, 251, 244, .7) url("/images/liturgical-header-ornament.svg") center / cover no-repeat; border: 1px solid rgba(190, 163, 132, .55); border-radius: 18px; box-shadow: 0 7px 18px rgba(76, 52, 34, .08), inset 0 0 0 3px rgba(255, 255, 255, .38); gap: .8rem; grid-template-columns: clamp(80px, 25vw, 105px) minmax(0, 1fr); min-height: 200px; padding: 1.1rem 1rem; }
    .week-page__emblem { height: clamp(108px, 32vw, 135px); width: clamp(86px, 24vw, 106px); }
    .week-page__heading { display: flex; }
    .week-page__title { font-size: clamp(1.5rem, 7vw, 2rem) !important; line-height: 1.13; }
    .week-page__title--long { font-size: clamp(1.2rem, 5.4vw, 1.55rem) !important; }
    .week-page__title--very-long { font-size: clamp(.92rem, 4vw, 1.15rem) !important; line-height: 1.18; }
    .week-page__transition { font-size: .72rem !important; }
    .week-page__navigation { background: rgba(255, 251, 244, .68); border-color: rgba(190, 163, 132, .48); border-radius: 14px; box-shadow: 0 5px 15px rgba(76, 52, 34, .055); gap: .35rem; grid-template-columns: 48px minmax(0, 1fr) 48px; justify-self: stretch; min-height: 78px; padding: .4rem .8rem; width: 100%; }
    .week-page__navigation-labels { min-width: 0; }
    .week-page__date-range { font-size: clamp(1rem, 4.7vw, 1.18rem) !important; }
    .week-page__number { font-size: .78rem !important; margin-top: .12rem; }
    .week-page__navigation .mud-icon-button { height: 46px; width: 46px; }
    .week-page__calendar-panel { background: transparent; border: 0; border-radius: 0; margin-top: .8rem; overflow: visible; }
    .week-page__actions { border: 0; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; padding: 0 0 .75rem; }
    .week-page__add-button { border-radius: 14px !important; box-shadow: 0 5px 14px rgba(76, 52, 34, .055); font-size: clamp(.78rem, 3.7vw, .92rem); min-height: 58px; padding: 0 .45rem !important; width: 100%; }
    .week-page__add-button .mud-icon-root { font-size: 1.7rem; }
    .week-page__roles-button { grid-column: 1; grid-row: 1; }
    .week-page__template-button { grid-column: 2; grid-row: 1; }
    .week-page__new-event-button { border-radius: 14px !important; box-shadow: 0 5px 14px rgba(76, 52, 34, .09); grid-column: 1 / -1; grid-row: 2; min-height: 58px; width: 100%; }
    .event-template-dialog__item-editor { padding: .85rem; }
    .day-list { border-top: 1px solid rgba(190, 163, 132, .42); }
    .day-list__day { display: block; min-height: 0; padding: 1.25rem .25rem 1.15rem; }
    .day-list__heading { gap: .3rem; }
    .day-list__heading-line { gap: .55rem; }
    .day-list__date-heading { font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem !important; letter-spacing: 0; text-transform: none; }
    .day-list__liturgical-title { font-size: .86rem !important; margin-left: 0; overflow: visible; text-overflow: clip; white-space: normal; }
    .day-list__today { justify-self: start; margin-top: .05rem; }
    .day-list__empty { display: block; font-size: .88rem !important; margin-top: .45rem; }
    .day-list__events { margin-top: .75rem; }
    .list-event { column-gap: .65rem; display: grid; grid-template-columns: 7px 46px minmax(0, 1fr) auto auto auto; min-height: 64px; padding: .7rem .8rem; }
    .list-event__dot { grid-column: 1; grid-row: 1; }
    .list-event__time { font-size: 1rem !important; grid-column: 2; grid-row: 1; }
    .list-event__title { font-size: .98rem !important; grid-column: 3; grid-row: 1; min-width: 0; }
    .list-event__note { grid-column: 3 / 7; grid-row: 2; }
    .list-event > .mud-chip { grid-column: 4; grid-row: 1; margin-left: 0; }
    .list-event__attendance { grid-column: 5; grid-row: 1; margin-left: 0; min-height: 34px; }
    .list-event__actions { grid-column: 6; grid-row: 1; margin-left: 0; }
    .list-event__delete { margin-left: 0; opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-navigation { transition: none; }
}

@media (max-width: 520px) {
    .login-page { padding: 2rem .75rem 6rem; }
    .login-card { padding: 2rem 1.25rem; }
    .cookie-consent { align-items: stretch; flex-direction: column; gap: .8rem; }
    .cookie-consent__actions { justify-content: flex-end; }
}
