body[data-page=church-family] .phone-shell{background:linear-gradient(#160f09ec,#160f09ec),url('/assets/images/f274b2bc764d497e/embossed-leather.png') center/320px}
.church-family-page{color:#f0dfbc}.church-family-hero{padding:32px 22px 35px;background:linear-gradient(90deg,#160f09ed,#160f0988),url('/assets/images/62393dcae5ef33ab/family-table.png') center/cover;border-bottom:1px solid #a37b3d}
.church-family-hero h1{font:400 clamp(37px,8vw,58px)/1.1 Georgia,serif;margin:8px 0 12px}.church-family-hero>p:not(.church-eyebrow){max-width:33ch;font:italic 19px/1.45 Georgia,serif}.church-family-hero .church-eyebrow{font:10px/1.5 system-ui,sans-serif;letter-spacing:.18em;color:#e5b763}
.church-family-body{padding:18px 16px 24px}.church-name,.church-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.church-name h2{font-size:27px;margin:0;overflow-wrap:anywhere}.church-name a{min-height:44px;min-width:44px;display:grid;place-items:center}
.church-tabs{display:flex;gap:6px;overflow-x:auto;padding:7px 0 14px;scrollbar-width:thin;scrollbar-color:#9c763c #1c130b;margin:12px 0}.church-tabs a{flex-shrink:0;display:flex;align-items:center;min-height:44px;padding:9px 15px;border:1px solid #99713b;border-radius:22px;font:15px Georgia,serif}.church-tabs a[aria-current=page]{background:linear-gradient(120deg,#f3d58c,#bc8c3f);color:#291b0a;border-color:#f5d996}
.church-preview-note,.church-muted,.church-boundary-note{font:12px/1.55 system-ui,sans-serif;color:#c7b799}.church-preview-note{padding:10px 12px;border:1px solid #8f704a66;border-radius:8px;background:#ffffff05}.church-boundary-note{padding:16px 0;border-top:1px solid #75582f}
.church-welcome{padding:18px;border:1px solid #9c7337;border-radius:12px;background:linear-gradient(110deg,#382613,#1a120b);margin:15px 0}.church-welcome h2{font:26px/1.2 Georgia,serif;margin:0 0 9px}.church-welcome p{line-height:1.5}.church-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.church-shortcuts a{display:flex;align-items:center;gap:8px;padding:12px 8px;border:1px solid #ae8444;border-radius:8px;min-height:64px;font:15px/1.3 Georgia,serif;color:#f4d591}.church-shortcuts svg{flex:none;width:24px}
.church-section-title{margin:22px 0 12px}.church-section-title h2{font:27px/1.2 Georgia,serif;margin:0}.church-section-title>a{color:#f4d591;font-size:15px}
.church-card{padding:18px;border:1px solid #b39155;border-radius:12px;background:url('/assets/images/ae3eecc3329110b3/waymark-surface-grain.svg'),linear-gradient(120deg,#fff0d3,#ead1a4);color:#382511;box-shadow:inset 0 0 0 3px #cb9d5b33,0 3px 8px #0005;margin:0 0 14px;overflow-wrap:anywhere}.church-card h2{font-size:28px}.church-card h3{font:26px/1.2 Georgia,serif;margin:10px 0}.church-card p{font:17px/1.5 Georgia,serif;margin:9px 0}.church-card .church-muted,.church-card small,.church-card .church-audience-label{color:#71522f;font:12px/1.5 system-ui,sans-serif}.church-copy{white-space:pre-wrap}.church-card-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font:11px system-ui,sans-serif}.church-card-top>svg{width:25px;height:28px;color:#996b27}.church-badge{display:inline-block;border:1px solid #b68b4f;border-radius:20px;padding:4px 8px;font:10px/1.4 system-ui,sans-serif;letter-spacing:.03em}.church-card .church-event-time{font-weight:bold}.church-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.church-card-actions a{min-height:44px;display:inline-flex;align-items:center;color:#684313;text-decoration:underline}
.church-family-page button,.church-dialog button{min-height:44px;padding:9px 13px;border:1px solid #bd934e;border-radius:8px;background:linear-gradient(120deg,#f7d991,#c6994f);color:#2c1d0a;font:16px/1.3 Georgia,serif;cursor:pointer}.church-card-actions button{font-size:14px}.church-card-actions button[data-church-action=remove]{background:transparent;border-color:#987650;color:#6a3929}.church-card-actions button[data-church-action=edit]{background:transparent}.church-card-actions button[data-church-action=pray]{font-size:18px}.church-card details summary{font:14px system-ui,sans-serif;cursor:pointer;padding:12px 0}.church-card details ol{font:13px/1.5 system-ui,sans-serif;padding-left:20px}.church-answer{font-weight:bold!important}
.church-companion{display:flex;align-items:center;gap:13px;min-height:64px;padding:14px;margin:15px 0;border:1px solid #b18543;border-radius:11px;color:#f2d69d;background:linear-gradient(110deg,#3b2818,#1c130b);font:19px/1.3 Georgia,serif}.church-companion small{display:block;font-size:14px;margin-top:5px}.church-companion span{flex:1}
.church-filters{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.church-filter{display:flex;gap:6px;flex-direction:column;flex:1;min-width:120px;font:13px system-ui,sans-serif}.church-family-page select,.church-dialog input,.church-dialog textarea,.church-dialog select{width:100%;min-width:0;min-height:44px;border:1px solid #a47d42;border-radius:7px;padding:10px;background:#21180f;color:#f0ddb5;font:16px/1.4 Georgia,serif}.church-prayer-list{max-height:70svh;overflow-y:auto;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#ba8d51 #21160d;padding:3px}.church-empty{padding:20px;border:1px dashed #9d7946;border-radius:8px;color:#cfba95;font:16px/1.5 Georgia,serif}.church-details{border:1px solid #8f6d3a;border-radius:10px;padding:14px}.church-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.church-manage-row{padding:10px 0;border-bottom:1px solid #82613455}
.church-dialog{width:min(520px,calc(100vw - 24px));max-height:88dvh;overflow-y:auto;padding:23px 18px;border:1px solid #bc9452;border-radius:14px;background:#21160e;color:#f0dfbc}.church-dialog::backdrop{background:#080502bb}.church-dialog h2{font:28px/1.2 Georgia,serif;margin:4px 34px 20px 0}.church-dialog-close{position:absolute;right:8px;top:8px;min-width:44px}.church-dialog label{display:flex;flex-direction:column;gap:7px;margin:12px 0;font:15px Georgia,serif}.church-dialog textarea{min-height:110px}.church-dialog .writing-size-handle{color:#d1ad6d}.church-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.church-dialog-actions{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.church-check{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;min-height:44px;font:16px Georgia,serif!important}.church-check input{width:20px;height:20px;min-height:20px;flex:none;accent-color:#b98a3f}.church-form-status,#church-page-status{font:13px/1.5 system-ui,sans-serif}.church-form-status:empty,#church-page-status:empty{display:none}.church-form-status{color:#e6b69a}.church-card .church-form-status{color:#77482b}
.calendar-church-options{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:10px 0 15px;color:#e4c48a;font:13px/1.5 system-ui,sans-serif}.calendar-church-options a{min-height:44px;display:flex;align-items:center;text-decoration:underline}.calendar-church-options label{display:flex;align-items:center;gap:8px;min-height:44px}.calendar-church-options input{width:18px;height:18px;accent-color:#b98a3f}
@container phone (min-width:1000px){body[data-page=church-family] :is(.phone-shell,.bottom-nav){max-width:860px;width:100%}.church-family-body{padding:25px 32px}.church-family-hero{padding:42px 35px}.church-family-hero>p:not(.church-eyebrow){font-size:24px}.church-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.church-tabs{flex-wrap:wrap}.church-card{padding:23px}.church-preview-note,.church-muted{font-size:14px}}

.church-home-calendar{background:url('/assets/images/ae3eecc3329110b3/waymark-surface-grain.svg'),linear-gradient(120deg,#fff0d3,#ead1a4);color:#382511;border:1px solid #b39155;border-radius:12px;padding:14px;margin:0 0 22px;overflow:hidden}
.church-calendar-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.church-calendar-heading h2{font:26px/1.2 Georgia,serif;margin:0}.church-calendar-heading a{color:#6c471b;font:14px Georgia,serif;min-height:44px;display:flex;align-items:center;text-decoration:underline}
.church-calendar-month{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:12px 0}.church-calendar-month h3{font:22px/1.2 Georgia,serif;text-align:center;margin:0}.church-calendar-month button{min-width:44px;font-size:25px}
.church-calendar-week,.church-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.church-calendar-week{text-align:center;font:11px system-ui,sans-serif;margin:0 0 6px}.church-calendar-days button{position:relative;padding:6px 1px 13px;min-width:0;min-height:44px;background:#fffaed55;border:1px solid #bb935b66;font:17px Georgia,serif;border-radius:6px}.church-calendar-days button[aria-current=date]{outline:2px solid #92611e;outline-offset:-3px}.church-calendar-days button[aria-pressed=true]{background:#573816;color:#ffedc5;border-color:#573816}.church-calendar-dot{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:7px}
.church-calendar-key{display:flex;align-items:center;justify-content:space-between;margin:7px 0;font:12px system-ui,sans-serif;gap:8px}.church-calendar-key button{background:transparent;font-size:14px}.church-calendar-agenda{border-top:1px solid #b39155;padding-top:12px;overflow-wrap:anywhere}.church-calendar-agenda h3{font:19px/1.3 Georgia,serif;margin:0 0 10px}.church-calendar-agenda h4{font:21px/1.2 Georgia,serif;margin:0 0 8px}.church-calendar-agenda p{font:15px/1.45 Georgia,serif;margin:6px 0}.church-calendar-agenda small{font:11px system-ui,sans-serif;color:#79562c}.church-calendar-agenda article+article{border-top:1px solid #b3915577;padding-top:12px;margin-top:12px}.church-calendar-description{white-space:pre-wrap}
.church-upcoming a{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #a17b44;border-radius:8px;margin-bottom:8px;overflow-wrap:anywhere}.church-upcoming strong{font:21px Georgia,serif}.church-upcoming span{font:13px/1.5 system-ui,sans-serif;color:#cfba95}
@container phone (min-width:1000px){.church-home-calendar{padding:22px}.church-calendar-days button{min-height:55px}.church-calendar-week{font-size:14px}}

/* Fellowship Hall: an inline writer with its own local draft feed. */
.fellowship-heading{margin:16px 0 20px}.fellowship-heading h2{font:34px/1.1 Georgia,serif;margin:8px 0}.fellowship-heading>p:last-child{font:italic 18px/1.5 Georgia,serif;color:#d8bf94}
.fellowship-composer{display:grid;gap:13px;padding:20px;border:3px double #ba914c;border-radius:14px;background:url('/assets/images/ae3eecc3329110b3/waymark-surface-grain.svg'),linear-gradient(125deg,#f8edce,#e1c28f);color:#3b2814;box-shadow:0 5px 15px #0005}
.fellowship-composer h3{display:flex;align-items:center;gap:12px;font:25px/1.2 Georgia,serif;margin:0 0 5px}.fellowship-composer h3 svg{width:30px;height:30px;flex:none;color:#946a30}
.fellowship-composer label{display:grid;gap:7px;font:17px/1.3 Georgia,serif}.fellowship-composer :is(input,select,textarea){width:100%;min-width:0;min-height:44px;border:1px solid #b18b50;border-radius:8px;background:#fff7e329;color:#3b2814;padding:10px;font:18px/1.5 Georgia,serif}.fellowship-composer textarea{min-height:140px;resize:vertical}.fellowship-composer textarea::placeholder,.fellowship-composer input::placeholder{color:#85643c;opacity:1}
.fellowship-composer>button{justify-self:end;min-height:44px;padding:10px 23px;border:1px solid #a47c43;border-radius:9px;background:#4a2f15;color:#f8e7c5;font:19px Georgia,serif}.fellowship-draft-help,.fellowship-composer .church-form-status{font:13px/1.5 system-ui,sans-serif;color:#6b4d2c;margin:0}.fellowship-composer .church-form-status:empty{display:none}
.fellowship-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 17px}.fellowship-filters button{min-height:44px;padding:8px 12px;border:1px solid #a37b3f;border-radius:24px;background:#23180d;color:#e7cc9d;font:15px Georgia,serif}.fellowship-filters [aria-pressed=true]{background:linear-gradient(120deg,#e4c27f,#ac7e37);color:#241809}.fellowship-waymark{display:block;text-decoration:none}.fellowship-open{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:#e8c582}.fellowship-open svg{width:18px;height:18px}.fellowship-feed [hidden]{display:none}
@container phone (min-width:1000px){.fellowship-heading h2{font-size:44px}.fellowship-composer{padding:28px}.fellowship-composer h3{font-size:31px}.fellowship-composer label{font-size:20px}.fellowship-composer :is(input,select,textarea){font-size:22px}.fellowship-filters button{font-size:18px}}

/* Prayer urgency stays readable after a short, gentle attention cue. */
.church-card .church-priority{display:flex;align-items:center;gap:9px;font:600 14px/1.5 system-ui,sans-serif;color:#71522f}
.church-card .church-priority--important{color:#75500e}
.church-card .church-priority--urgent{color:#803817}
.church-prayer[data-priority="urgent"][data-answered="false"]{border-color:#d99457}
.church-urgent-light{flex:none;width:11px;height:11px;border-radius:50%;background:#b5521b;box-shadow:0 0 8px #e89b4a80;animation:church-prayer-pulse 2s ease-in-out 2}
@keyframes church-prayer-pulse{0%,100%{opacity:1;box-shadow:0 0 8px #e89b4a80}50%{opacity:.55;box-shadow:0 0 2px #e89b4a40}}
@media(prefers-reduced-motion:reduce){.church-urgent-light{animation:none}}
