:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
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; }
.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(10px); background: rgba(242, 235, 222, .96); border-bottom: 1px solid #b9a68e; box-shadow: 0 2px 10px rgba(73, 54, 38, .06); min-height: 52px; position: sticky; top: 0; z-index: 1100; }
.site-header__content { align-items: center; display: flex; justify-content: center; margin: 0 auto; min-height: 52px; padding: 0 1rem; }
.site-navigation { align-items: center; display: flex; gap: 1.35rem; justify-content: center; min-height: 52px; }
.site-navigation a { color: #6f5846; font-size: .75rem; letter-spacing: .04em; padding: .78rem .1rem .65rem; position: relative; text-decoration: none; }
.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; }
.site-navigation__short-label { 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; }
h1[tabindex="-1"]:focus { outline: none; }
.week-page { max-width: 720px !important; padding-bottom: 0 !important; }
.compendium-page { max-width: 720px !important; }
.compendium-page__header { align-items: center; display: grid; gap: 1.25rem; grid-template-columns: 72px 1fr; padding: .25rem 0 1.45rem; }
.compendium-page__title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 4.5vw, 2.25rem) !important; font-weight: 500 !important; letter-spacing: -.03em; line-height: 1.1; }
.compendium-page__subtitle { color: #795f49; margin-top: .35rem; }
.compendium-page > .mud-divider { border-color: #c5b49f; opacity: 1; }
.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; }
.compendium-actions { display: flex; justify-content: flex-end; padding: 1.25rem 0 .25rem; }
.compendium-actions .mud-button-root { text-transform: none; }
.compendium-post-list { display: grid; gap: .85rem; margin-top: 1rem; }
.compendium-post-card { background: rgba(255, 252, 246, .38); border: 1px solid #c8b8a2; border-radius: 6px; overflow: hidden; padding: 1.25rem 1.35rem .25rem; transition: background .15s ease, border-color .15s ease; }
.compendium-post-card:hover { background: rgba(255, 252, 246, .7); border-color: #aa9275; }
.compendium-post-card__header { align-items: flex-start; display: flex; gap: 1rem; justify-content: space-between; }
.compendium-post-card__heading { min-width: 0; }
.compendium-post-card__date { color: #8b6d55; display: block; font-size: .62rem !important; letter-spacing: .12em; margin-bottom: .2rem; }
.compendium-post-card__title { color: #2c2118; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem !important; font-weight: 500; line-height: 1.2; margin: 0; }
.compendium-post-card__summary { color: #6f5846; margin-top: .35rem; }
.compendium-post-card__actions { align-items: center; display: flex; flex: 0 0 auto; gap: .15rem; }
.compendium-post-card__actions .mud-typography { color: #941f1f; margin-right: .35rem; white-space: nowrap; }
.compendium-post-card__actions .mud-button-root { text-transform: none; }
.compendium-post-card__body { border-top: 1px solid rgba(170, 146, 117, .55); margin-top: 1rem; padding-bottom: .8rem; }
.news-post-card { align-items: center; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) auto; padding-bottom: 1.25rem; }
.news-post-card .compendium-post-card__title { display: inline-block; text-decoration: none; }
.news-post-card .compendium-post-card__title:hover { color: #941f1f; }
.compendium-editor-dialog { max-width: 760px; }
.compendium-editor-form { gap: 1rem; }
.rich-editor { border: 1px solid #bcae9b; border-radius: 5px; overflow: hidden; }
.rich-editor:focus-within { border-color: #6750a4; box-shadow: 0 0 0 1px #6750a4; }
.rich-editor__toolbar { align-items: center; background: rgba(224, 214, 198, .55); border-bottom: 1px solid #c8b8a2; display: flex; flex-wrap: wrap; gap: .25rem; padding: .4rem; }
.rich-editor__toolbar button { background: transparent; border: 0; border-radius: 3px; color: #4f3d2e; cursor: pointer; font: inherit; font-size: .75rem; 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, 252, 246, .45); 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, 252, 246, .45); color: #826b56; font-size: .68rem; padding: .4rem .75rem .55rem; }
.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 > .mud-divider { border-color: #c5b49f; opacity: 1; }
.week-page__header { align-items: center; display: grid; gap: 1.35rem; grid-template-columns: 80px minmax(0, 1fr); padding: .25rem 0 1.45rem; }
.week-page__emblem { background: #941f1f; height: 96px; -webkit-mask: url("/images/christogram-watermark.png") center / contain no-repeat; mask: url("/images/christogram-watermark.png") center / contain no-repeat; width: 80px; }
.week-page__header-balance { display: none; }
.week-page__heading { display: flex; flex-direction: column; min-width: 0; }
.week-page__heading-top { align-items: center; display: flex; gap: 1rem; justify-content: space-between; min-width: 0; }
.week-page__year { color: #941f1f; font-size: .75rem !important; font-weight: 700; letter-spacing: .3em; }
.week-page__title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 3.6vw, 2.2rem) !important; font-weight: 500 !important; letter-spacing: -.03em; line-height: 1.15; margin: 0 !important; text-align: center; }
.week-page__navigation { display: grid !important; gap: .65rem; grid-template-columns: 44px max-content 44px; justify-content: center; margin-top: 1rem; width: 100%; }
.week-page__date-range { color: #654f3e; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1rem, 2.3vw, 1.25rem) !important; font-weight: 600; letter-spacing: .015em; text-align: center; }
.week-page__transition { color: #795f49; display: block; margin-top: .55rem; text-align: center; text-transform: lowercase; }
.week-page__navigation .mud-icon-button { border: 1px solid #c8b9a4; color: #4f3d2e; height: 44px; width: 44px; }
.week-page__navigation .mud-icon-button:hover { background: #e7ddcd; }
.week-page__actions { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 48px; width: 100%; }
.week-page__actions > :nth-child(2) { display: none; }
.week-page__actions .mud-typography { color: #6f5846; font-size: .78rem; }
.week-page__actions b { color: #34261c; }
.week-page__add-button { color: #654f3e !important; font-size: .78rem; justify-content: center; min-height: 48px; padding: 0 !important; text-transform: none; width: 100%; }
.week-page__add-button .mud-button-icon-start { margin-left: 0; }
.week-page__calendar-swipe { touch-action: pan-y; }
.day-list { padding-top: 2.8rem; }
.day-list__day { border-bottom: 1px solid #cbbca8; min-height: 89px; padding: 0 .25rem 1.2rem; }
.day-list__day + .day-list__day { padding-top: 1.45rem; }
.day-list__heading { align-items: center; display: flex; flex-wrap: wrap; gap: .8rem; }
.day-list__name { color: #654f3e; font-size: .64rem !important; font-weight: 700; letter-spacing: .16em; line-height: 1; min-width: 30px; }
.day-list__date { color: #654f3e; font-size: .82rem; }
.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; flex: 1 1 180px; font-size: .7rem !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; padding: 0 4px !important; text-transform: uppercase; }
.day-list__empty { color: #a39684 !important; font-size: .78rem !important; margin: .85rem 0 0 .15rem; }
.day-list__events { margin: .85rem 0 0 .25rem; }
.list-event { align-items: center; background: rgba(255, 252, 246, .35); border: 1px solid #c8b8a2; border-radius: 4px; cursor: pointer; display: flex; gap: .8rem; min-height: 43px; padding: .6rem .75rem; transition: background .15s ease, border-color .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-size: .84rem !important; line-height: 1.2; }
.list-event__time { color: #654f3e; flex: 0 0 32px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem !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; color: #766553; display: inline-flex; font-size: .7rem; gap: .15rem; margin-left: auto; 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__delete-confirmation { align-items: center; display: flex; gap: .1rem; margin-left: auto; }
.list-event__delete-confirmation .mud-typography { color: #941f1f; white-space: nowrap; }
.event-modal { align-items: center; background: rgba(42, 31, 22, .48); display: flex; inset: 0; justify-content: center; padding: 1rem; position: fixed; z-index: 1100; }
.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(166, 43, 43, .06); border: 1px solid rgba(148, 31, 31, .3); border-radius: 5px; display: flex; gap: 1rem; justify-content: space-between; padding: .7rem .8rem; }
.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 { background: transparent; border: 1px solid #b44a4a; border-radius: 3px; color: #941f1f; cursor: pointer; font: inherit; font-size: .76rem; padding: .35rem .7rem; }
.event-tag--selected { background: #a62b2b; color: white; }
.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 { max-width: 480px; }
.role-list { display: grid; gap: .55rem; }
.role-list__item { align-items: center; background: rgba(255, 252, 246, .4); border: 1px solid #c8b8a2; border-radius: 5px; display: grid; gap: .75rem; grid-template-columns: 36px minmax(0, 1fr) auto; min-height: 54px; padding: .55rem .65rem; }
.role-list__icon { align-items: center; background: rgba(143, 29, 44, .08); border: 1px solid rgba(143, 29, 44, .2); border-radius: 50%; color: #8f1d2c; display: flex; height: 34px; justify-content: center; width: 34px; }
.role-list__icon--custom { background: rgba(193, 116, 47, .1); border-color: rgba(193, 116, 47, .25); color: #a65d20; }
.role-list__content { min-width: 0; }
.role-list__content .mud-typography { line-height: 1.25; }
.role-list__lock { color: #958473; margin: 0 .55rem; }
.role-list__delete-confirmation { align-items: center; display: flex; gap: .1rem; }
.role-list__delete-confirmation .mud-typography { color: #941f1f; white-space: nowrap; }
.role-form { background: rgba(255, 252, 246, .45); border: 1px solid #c8b8a2; border-radius: 5px; display: grid; gap: .85rem; padding: 1rem; }
.role-form .mud-button-root { justify-self: start; }
.event-details__date { color: #941f1f; font-size: .64rem !important; letter-spacing: .14em; }
.event-details { max-width: 460px; }
.event-details__print-button { background: rgba(148, 31, 31, .08) !important; border: 1px solid rgba(148, 31, 31, .3); }
.event-details__print-button:hover { background: rgba(148, 31, 31, .16) !important; }
.event-details > .event-dialog__body > .mud-chip { justify-self: start; }
.registration-form { background: rgba(255, 252, 246, .45); border: 1px solid #c8b8a2; border-radius: 5px; display: grid; gap: .8rem; padding: 1rem; }
.registration-form__profiles { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.registration-form .mud-button-root { justify-self: end; }
.registration-list { display: grid; gap: .65rem; }
.registration-person { align-items: center; background: rgba(255, 252, 246, .35); border: 1px solid #d1c4b2; border-radius: 5px; display: grid; gap: .55rem .75rem; grid-template-columns: 34px minmax(0, 1fr) auto; padding: .75rem; }
.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 > .mud-button-root { grid-column: 3; grid-row: 1; justify-self: end; padding-left: .5rem; padding-right: 0; text-transform: none; }
.registration-person > .mud-button-root:not(:disabled):hover { background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.service-print-sheet { display: none; }
.invitation-print-sheet { display: none; }
.service-print-sheet__header { align-items: center; display: grid; gap: 2rem; grid-template-columns: 160px minmax(0, 1fr); }
.service-print-sheet__emblem { filter: brightness(0) saturate(100%) invert(18%) sepia(38%) saturate(3845%) hue-rotate(340deg) brightness(89%) contrast(91%); height: 170px; object-fit: contain; width: 150px; }
.service-print-sheet__heading { text-align: center; }
.service-print-sheet__heading p { color: #941f1f; font-size: .8rem; font-weight: 700; letter-spacing: .35em; margin: 0 0 .5rem; }
.service-print-sheet__heading h1 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; margin: 0; }
.service-print-sheet__heading h2 { color: #941f1f; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; margin: .35rem 0; }
.service-print-sheet__heading .service-print-sheet__feast { color: #6d5440; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; font-weight: 400; letter-spacing: 0; margin: 0; }
.service-print-sheet__divider { border-top: 2px solid #a4272c; margin: 2.8rem 0 1.65rem; }
.service-print-sheet__list-heading, .service-print-sheet__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.service-print-sheet__list-heading { color: #6d5440; font-size: .76rem; font-weight: 700; letter-spacing: .16em; padding: 0 1rem .8rem; text-transform: uppercase; }
.service-print-sheet__list-heading > div, .service-print-sheet__assignment { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.service-print-sheet__list-heading > div { gap: .5rem; }
.service-print-sheet__list-heading > div + div, .service-print-sheet__assignment--secondary { border-left: 1px solid #ded8cf; padding-left: 1rem; }
.service-print-sheet__list--single .service-print-sheet__list-heading, .service-print-sheet__list--single .service-print-sheet__row { grid-template-columns: minmax(0, 1fr); }
.service-print-sheet__row { align-items: center; border-bottom: 1px solid #ded8cf; min-height: 72px; padding: .75rem 1rem; }
.service-print-sheet__role { align-items: center; color: #941f1f; display: flex; font-size: 1.05rem; gap: .75rem; }
.service-print-sheet__role .role-list__icon { flex: 0 0 34px; }
.service-print-sheet__person { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
@media print {
    @page { margin: 10mm; size: A4 portrait; }
    html, body, .mud-layout, .mud-main-content { background: #fff !important; }
    .site-header, .site-footer, .week-page, .account-options, .account-family-modal, .event-modal, .cookie-consent { display: none !important; }
    .service-print-sheet { background: #fff; border: 0; border-radius: 0; box-shadow: none; box-sizing: border-box; color: #241a13; display: block !important; min-height: 0; padding: 10mm 12mm; width: 100%; }
    .service-print-sheet__header { gap: 1.6rem; grid-template-columns: 140px minmax(0, 1fr); }
    .service-print-sheet__emblem { height: 150px; width: 128px; }
    .service-print-sheet__heading p { font-size: .76rem; margin-bottom: .42rem; }
    .service-print-sheet__heading h1 { font-size: 1.85rem; }
    .service-print-sheet__heading h2 { font-size: 1.3rem; margin: .32rem 0; }
    .service-print-sheet__heading .service-print-sheet__feast { font-size: 1rem; }
    .service-print-sheet__divider { margin: 2rem 0 1.15rem; }
    .service-print-sheet__list-heading { font-size: .64rem; padding: 0 .55rem .5rem; }
    .service-print-sheet__row { min-height: 46px; padding: .38rem .55rem; break-inside: avoid; }
    .service-print-sheet__role { font-size: .78rem; gap: .45rem; }
    .service-print-sheet__role .role-list__icon { flex-basis: 25px; height: 25px; width: 25px; }
    .service-print-sheet__role .mud-icon-root { font-size: .9rem; }
    .service-print-sheet__person { font-size: .92rem; }
    .service-print-sheet__list-heading > div + div, .service-print-sheet__assignment--secondary { padding-left: .7rem; }
    .invitation-print-sheet { background: #fff; box-sizing: border-box; color: #241a13; display: block !important; margin: 0; max-width: none; min-height: 277mm; padding: 0 14mm 15mm; position: relative; print-color-adjust: exact; text-align: center; 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 { filter: brightness(0) saturate(100%) invert(18%) sepia(38%) saturate(3845%) hue-rotate(340deg) brightness(89%) contrast(91%); 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) {
    .site-navigation { display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 48px; padding: 0 .35rem; width: 100%; }
    .site-navigation a { align-items: center; display: flex; font-size: .68rem; justify-content: center; letter-spacing: .015em; min-height: 48px; padding: .55rem .2rem; text-align: center; }
    .site-navigation a.active::after { left: .45rem; right: .45rem; }
    .site-navigation__full-label { display: none; }
    .site-navigation__short-label { display: inline; }
    .week-page { padding-top: 1.5rem !important; }
    .compendium-page { padding-top: 1.5rem !important; }
    .compendium-page__header { gap: .9rem; grid-template-columns: 58px 1fr; }
    .compendium-actions { justify-content: stretch; }
    .compendium-actions .mud-button-root { width: 100%; }
    .compendium-post-card { padding: 1rem 1rem .15rem; }
    .compendium-post-card__header { align-items: stretch; flex-direction: column; gap: .5rem; }
    .compendium-post-card__actions { justify-content: flex-end; }
    .news-post-card { align-items: start; grid-template-columns: minmax(0, 1fr); padding-bottom: 1rem; }
    .compendium-editor-dialog { max-width: none; }
    .rich-editor__surface { min-height: 220px; }
    .week-page__header { align-items: center; gap: .75rem .45rem; grid-template-columns: clamp(68px, 19vw, 76px) minmax(0, 1fr) clamp(68px, 19vw, 76px); }
    .week-page__emblem { grid-column: 1; grid-row: 1; height: clamp(82px, 23vw, 94px); width: clamp(68px, 19vw, 76px); }
    .week-page__header-balance { display: block; grid-column: 3; grid-row: 1; height: 1px; width: 100%; }
    .week-page__heading { display: contents; }
    .week-page__heading-top { gap: .5rem; }
    .week-page__title { grid-column: 2; grid-row: 1; font-size: clamp(1.25rem, 6.2vw, 1.65rem) !important; }
    .week-page__transition { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
    .week-page__navigation { gap: .45rem; grid-column: 1 / -1; grid-row: 3; grid-template-columns: 44px max-content 44px; margin-top: .15rem; }
    .week-page__date-range { font-size: .92rem !important; }
    .day-list { padding-top: 2rem; }
    .day-list__liturgical-title { flex-basis: calc(100% - 42px); margin-left: 42px; white-space: normal; }
    .list-event { column-gap: .6rem; display: grid; grid-template-columns: 7px 34px minmax(0, 1fr) auto auto auto; }
    .list-event__dot { grid-column: 1; grid-row: 1; }
    .list-event__time { grid-column: 2; grid-row: 1; }
    .list-event__title { 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; }
    .list-event__actions { grid-column: 6; grid-row: 1; margin-left: 0; }
    .list-event__delete { margin-left: 0; opacity: .7; }
    .list-event__delete-confirmation { justify-self: end; margin-left: 0; }
    .definition-delete-confirmation { align-items: stretch; flex-direction: column; }
    .definition-delete-confirmation .mud-stack { align-self: flex-end; }
    .role-list__item { gap: .55rem; grid-template-columns: 34px minmax(0, 1fr) auto; }
    .role-list__delete-confirmation { align-items: flex-end; flex-direction: column; }
    .event-modal { align-items: flex-end; padding: 0; }
    .event-dialog, .event-details, .role-dialog { border-radius: 12px 12px 0 0; max-height: 92vh; max-width: none; }
    .event-dialog__title-fields { grid-template-columns: 1fr; }
    .registration-person { grid-template-columns: 34px 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 > .mud-button-root { grid-column: 3; grid-row: 1; }
}

.site-header__separator { background: #a9957c; height: 24px; margin: 0 1rem; opacity: .8; width: 1px; }
.account-session { align-items: center; display: flex; font-size: .78rem; gap: .85rem; }
.account-session__profile { align-items: center; color: #4f3d2f; display: flex; gap: .5rem; text-decoration: none; }
.account-session__profile:hover { color: #8f1d22; }
.family-action-button { height: 44px !important; min-height: 44px !important; padding-left: .25rem !important; padding-right: .25rem !important; text-transform: none !important; white-space: nowrap !important; width: 100%; }
.family-action-button .mud-button-label { font-size: .68rem !important; line-height: 1 !important; white-space: nowrap !important; }
.family-action-button .mud-button-icon-start { margin-right: .25rem !important; }
.account-session__avatar { align-items: center; border-radius: 50%; color: #fff; display: inline-flex; font-size: .72rem; font-weight: 700; height: 30px; justify-content: center; letter-spacing: .02em; width: 30px; }
.account-session form { margin: 0; }
.account-session button { background: transparent; border: 0; color: #8f1d22; cursor: pointer; font: inherit; padding: .2rem; }
.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 (max-width: 820px) {
    .site-header { min-height: 96px; }
    .site-header__content { flex-wrap: wrap; min-height: 96px; padding: 0; }
    .site-navigation { flex: 0 0 100%; height: 48px; min-height: 48px; }
    .site-header__separator { display: none; }
    .account-session { border-top: 1px solid rgba(185, 166, 142, .65); flex: 0 0 100%; justify-content: center; min-height: 48px; padding: 0 .85rem; }
}

@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; }
}
