@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
:root{--green:#08743b;--deep:#064b2c;--mint:#e9f4ed;--gold:#d9b54a;--ink:#18251e;--muted:#68756d;--paper:#fbfcfa;--line:#dfe8e1}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:86px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,6vw,92px);background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:var(--deep)}.brand-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:var(--green);color:#fff;font-size:28px}.brand strong{display:block;letter-spacing:.12em;font-size:14px}.brand small{display:block;font-size:10px;color:var(--muted);letter-spacing:.08em}.topbar nav{display:flex;align-items:center;gap:clamp(15px,2.5vw,35px);font-size:13px;font-weight:600}.topbar nav a:hover{color:var(--green)}.nav-cta{background:var(--green);color:#fff!important;padding:11px 19px;border-radius:4px}.nav-register{background:#e9f4ed;color:#075b32!important;padding:10px 16px;border:1px solid #b9d6c2;border-radius:4px;font-weight:800}.menu-toggle{display:none;background:none;border:0;font-size:26px}.hero{min-height:min(680px,78vh);display:flex;align-items:center;position:relative;overflow:hidden;color:#fff;background:linear-gradient(90deg,rgba(3,39,22,.88),rgba(4,64,34,.63) 52%,rgba(3,35,22,.13)),url('../images/mosque-hero.jpg') center 45%/cover,var(--deep);padding:clamp(45px,8vw,110px) clamp(24px,9vw,130px)}.hero:after{content:"";position:absolute;inset:auto 0 0;height:8px;background:var(--gold)}.hero-copy{position:relative;z-index:1;max-width:750px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.19em;color:var(--green);margin:0 0 13px}.hero .eyebrow{color:#e8d17d}.hero h1,.section h2,.section-intro h2{font-family:'Playfair Display',Georgia,serif;font-weight:500;line-height:1.12;letter-spacing:-.025em}.hero h1{font-size:clamp(38px,5.5vw,70px);margin:0 0 22px}.hero h1 span{color:#e9d27a}.hero-copy>p:not(.eyebrow){max-width:570px;color:#eef5ef;font-size:clamp(14px,1.5vw,17px)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:13px 20px;border-radius:4px;border:1px solid transparent;font-size:13px;font-weight:700;cursor:pointer}.button-light{background:#fff;color:var(--deep)}.button-outline{border-color:#ffffffbf;color:#fff}.button-green{background:var(--green);color:#fff}.hero-tag{position:absolute;right:8%;bottom:55px;border-left:2px solid var(--gold);padding:4px 0 4px 15px;z-index:1}.hero-tag span{display:block;font-size:24px}.hero-tag small{font-size:11px;color:#e5e9e6}.prayer-strip{background:var(--mint);padding:65px clamp(20px,7vw,100px) 55px}.section-intro{text-align:center;margin-bottom:28px}.section-intro h2,.section h2{font-size:clamp(30px,4vw,44px);margin:0 0 12px}.section-intro>p:not(.eyebrow){color:var(--muted);margin:0}.notice{font-size:11px!important;color:#7d6330!important;margin-top:10px!important}.prayer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;max-width:1250px;margin:auto}.prayer-card{padding:20px 16px;background:#fff;border:1px solid #e0e9e2;border-radius:7px;box-shadow:0 5px 18px #113d1710}.prayer-symbol{color:var(--green);font-size:19px}.prayer-card h3{margin:3px 0 15px;font-size:17px}.time-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-top:1px solid #edf1ed;font-size:12px}.time-row span{color:var(--muted)}.time-row strong{font-size:13px;color:var(--deep);font-variant-numeric:tabular-nums}.audio-panel{max-width:1250px;margin:16px auto 0;background:var(--deep);color:#fff;padding:17px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:6px}.audio-panel p{font-size:12px;color:#d2e2d7;margin:3px 0 0}.audio-panel audio{max-width:100%;height:38px}.section{padding:clamp(55px,7vw,90px) clamp(20px,7vw,100px)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.section-heading h2{margin:0 0 9px}.section-heading p:not(.eyebrow){color:var(--muted);margin:0}.round-icon{display:grid;place-items:center;width:65px;height:65px;border-radius:50%;background:var(--mint);color:var(--green);font-size:28px}.friday-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.info-card,.empty-card{padding:24px;border:1px solid var(--line);border-radius:6px;background:#fff}.info-card h3,.empty-card h3{margin:0 0 10px;font-size:19px}.info-card p,.empty-card p{font-size:13px;color:var(--muted)}.daily{background:#f1f6f2}.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.content-card{background:#fff;padding:27px;border:1px solid var(--line);border-radius:6px;min-height:230px}.content-icon{font-size:25px;color:var(--green)}.content-card .eyebrow{margin-top:14px}.content-card h3{font-family:'Playfair Display',Georgia,serif;font-size:23px;font-weight:500;margin:0 0 10px}.content-card>p:not(.eyebrow){font-size:13px;color:var(--muted);white-space:pre-line}.community{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(35px,7vw,100px);align-items:center}.community-copy h2{max-width:510px}.community-copy>p:not(.eyebrow){max-width:550px;color:var(--muted)}.community-links{margin-top:25px;border-top:1px solid var(--line)}.community-links a{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);font-weight:600;font-size:14px}.community-links a span{color:var(--green)}.community-panel{padding:clamp(28px,4vw,48px);background:var(--deep);color:#fff;border-radius:7px}.panel-symbol{font-size:38px;color:var(--gold)}.community-panel h3{font-family:'Playfair Display',Georgia,serif;font-size:30px;font-weight:500;margin:12px 0}.community-panel p{color:#d7e5dc;font-size:14px;margin-bottom:25px}.donate{background:#e6f0e8;display:flex;justify-content:space-between;align-items:center;gap:35px}.donate>div:first-child{max-width:650px}.donate h2{margin-bottom:12px}.donate p:not(.eyebrow){color:var(--muted)}.donate-actions{min-width:260px}.donate-actions p{font-size:12px}.join{background:#fff}.join-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:900px}.join-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700}.join-form input,.join-form select,.join-form textarea{width:100%;border:1px solid #d7e1d9;background:#fbfcfb;padding:12px;border-radius:4px;color:var(--ink)}.join-form .full{grid-column:1/-1}.join-form .button{justify-self:start}.form-note{font-size:11px;color:var(--muted);align-self:center}.hp{position:absolute;left:-9999px}footer{background:#052f1d;color:#fff;padding:35px clamp(20px,7vw,100px);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px}footer .brand{color:#fff}footer .brand small{color:#b8d0c0}footer>p{font-size:12px;color:#c4d8ca;text-align:right}.copyright{grid-column:1/-1;text-align:left;border-top:1px solid #ffffff25;padding-top:16px;margin:10px 0 0;font-size:11px}.footer-brand .brand-mark{background:#fff;color:var(--green)}@media(min-width:1500px){.topbar{height:96px}.hero{min-height:760px}.prayer-card{padding:25px}.section{padding-top:100px;padding-bottom:100px}}@media(max-width:900px){.topbar nav{gap:12px;font-size:12px}.prayer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.community{grid-template-columns:1fr 1fr;gap:28px}}@media(max-width:650px){.topbar{height:70px;padding:0 18px}.brand strong{font-size:12px}.brand-mark{width:39px;height:39px}.menu-toggle{display:block;color:var(--deep)}.topbar nav{display:none;position:absolute;top:70px;left:0;right:0;padding:16px 20px 22px;background:#fff;box-shadow:0 12px 20px #00000012;align-items:stretch;flex-direction:column}.topbar nav.open{display:flex}.topbar nav a{padding:9px}.hero{min-height:590px;padding:55px 24px 80px;background-position:57% center}.hero h1{font-size:43px}.hero-tag{bottom:25px;right:24px}.prayer-strip{padding:48px 16px}.prayer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.prayer-card{padding:16px 13px}.prayer-card:last-child{grid-column:1/-1}.audio-panel{align-items:flex-start;flex-direction:column;padding:17px}.audio-panel audio{width:100%}.section{padding:52px 20px}.section-heading h2,.section h2{font-size:33px}.round-icon{width:48px;height:48px;flex-shrink:0}.friday-grid,.content-grid{grid-template-columns:1fr}.content-card{min-height:0}.community{grid-template-columns:1fr}.donate{align-items:flex-start;flex-direction:column}.donate-actions{min-width:0}.join-form{grid-template-columns:1fr}.join-form .full{grid-column:auto}footer{grid-template-columns:1fr}footer>p{text-align:left;margin:5px 0}.copyright{grid-column:auto}}@media(orientation:landscape) and (min-width:1000px){.hero{min-height:78vh}.prayer-strip,.section{padding-top:45px;padding-bottom:45px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Prayer-row and community-app update */
.prayer-list{max-width:1000px;margin:0 auto;display:flex;flex-direction:column;gap:8px}.prayer-row{display:grid;grid-template-columns:minmax(100px,1.1fr) minmax(100px,1fr) 34px minmax(110px,1fr) 42px;align-items:center;gap:12px;background:#fff;border:1px solid #dce8df;border-radius:8px;padding:12px 16px;box-shadow:0 3px 12px #153d1c08}.prayer-name{display:flex;align-items:center;gap:10px;font-size:15px}.prayer-name strong{font-size:15px}.prayer-symbol{font-size:18px}.prayer-time{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.prayer-time strong{font-size:14px;color:var(--deep);font-variant-numeric:tabular-nums}.weather-icon{text-align:center;font-size:19px}.adhan-play{width:38px;height:38px;border:0;border-radius:50%;background:var(--mint);color:var(--green);font-weight:700;cursor:pointer}.adhan-play:hover,.adhan-play.is-playing{background:var(--green);color:#fff}.audio-panel{margin-top:14px}.autoplay-note{max-width:1000px;margin:9px auto 0;font-size:11px;color:var(--muted)}.ayat-card{background:linear-gradient(135deg,#075a32,#0a8243);color:#fff;padding:clamp(25px,4vw,45px);border-radius:12px;box-shadow:0 12px 30px #075a3222;margin-bottom:18px;position:relative;overflow:hidden}.ayat-card:after{content:'۞';position:absolute;right:20px;top:5px;font-size:130px;opacity:.07}.ayat-top{display:flex;align-items:center;gap:12px}.ayat-card .eyebrow{color:#e5cf77;margin:0}.ayat-card .content-icon{color:#f0d979}.ayat-card h3{font-family:'Playfair Display',Georgia,serif;font-size:clamp(25px,3vw,36px);font-weight:500;margin:18px 0 10px}.ayat-text{max-width:780px;font-size:clamp(17px,2vw,22px);line-height:1.8;color:#f4fbf6;white-space:pre-line}.ayat-card small{color:#c7e1d0}.daily-following{grid-template-columns:repeat(2,minmax(0,1fr))}.events-section{background:#fff}.carousel-controls{display:flex;gap:8px}.carousel-controls button{width:42px;height:42px;border:1px solid var(--line);background:#fff;color:var(--green);border-radius:50%;font-size:20px;cursor:pointer}.event-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,32%);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:3px 2px 16px}.event-card{scroll-snap-align:start;min-height:220px;padding:25px;background:#f4f8f4;border:1px solid var(--line);border-radius:9px}.event-icon{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e1f0e5;color:var(--green);font-size:21px}.event-card .eyebrow{margin-top:15px}.event-card h3{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:22px;margin:0 0 8px}.event-card p:not(.eyebrow){font-size:13px;color:var(--muted)}.donate{background:#eef5ef;gap:45px}.fundraiser-copy{flex:1;max-width:720px}.fundraiser-copy h2{max-width:620px}.fundraiser-amounts{display:flex;justify-content:space-between;gap:18px;margin:25px 0 12px}.fundraiser-amounts div{display:flex;flex-direction:column}.fundraiser-amounts strong{font-size:25px;color:var(--deep)}.fundraiser-amounts span{font-size:11px;color:var(--muted)}.fundraiser-track{height:13px;background:#d5e2d8;border-radius:20px;overflow:hidden}.fundraiser-track span{display:block;width:62.5%;height:100%;border-radius:20px;background:linear-gradient(90deg,#08743b,#39a767)}.fundraiser-percent{font-size:12px!important;color:var(--green)!important;font-weight:700}.donate-actions{max-width:320px;background:#fff;padding:27px;border-radius:9px;border:1px solid #dce8df}.donate-actions h3{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:23px;margin:8px 0}.donation-heart{font-size:26px;color:var(--green)}.settings-section{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:40px clamp(20px,7vw,100px);background:#f7faf7;border-top:1px solid var(--line)}.settings-section h2{font-family:'Playfair Display',Georgia,serif;font-size:32px;margin:0}.settings-section p:not(.eyebrow){max-width:560px;color:var(--muted);font-size:13px}.settings-toggle{display:flex;align-items:center;gap:12px;max-width:400px;cursor:pointer}.settings-toggle input{position:absolute;opacity:0}.toggle-ui{width:42px;height:24px;flex-shrink:0;border-radius:20px;background:#cbd5ce;position:relative}.toggle-ui:after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;transition:transform .2s}.settings-toggle input:checked+.toggle-ui{background:var(--green)}.settings-toggle input:checked+.toggle-ui:after{transform:translateX(18px)}.settings-toggle strong,.settings-toggle small{display:block}.settings-toggle strong{font-size:13px}.settings-toggle small{font-size:11px;color:var(--muted);margin-top:4px}.bottom-nav{display:none}@media(max-width:700px){body{padding-bottom:calc(65px + env(safe-area-inset-bottom))}.prayer-strip{padding:42px 12px}.prayer-row{grid-template-columns:minmax(72px,.8fr) minmax(78px,1fr) 24px minmax(84px,1fr) 36px;gap:5px;padding:11px 8px}.prayer-name{gap:4px;flex-direction:column;align-items:flex-start;font-size:12px}.prayer-name strong{font-size:12px}.prayer-time{flex-direction:column;align-items:flex-start;gap:1px;font-size:10px}.prayer-time strong{font-size:12px}.weather-icon{font-size:16px}.adhan-play{width:32px;height:32px;font-size:11px}.daily-following{grid-template-columns:1fr}.event-carousel{grid-auto-columns:minmax(230px,82%)}.donate{gap:22px}.donate-actions{max-width:none;width:100%}.settings-section{align-items:flex-start;flex-direction:column;padding:35px 20px;gap:15px}.bottom-nav{position:fixed;z-index:30;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);box-shadow:0 -5px 18px #082b1410;backdrop-filter:blur(14px)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:1px;color:#758078;font-size:20px;padding:3px}.bottom-nav a small{font-size:10px;font-weight:600}.bottom-nav a.active,.bottom-nav a:focus{color:var(--green)}.bottom-nav a span{line-height:1.2}.hero{min-height:550px}}


/* Refined outlined/filled mobile dock navigation */
@media(max-width:700px){
 .bottom-nav{gap:5px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #d5e3d9;box-shadow:0 -8px 24px #06381b13}
 .bottom-nav a{position:relative;min-height:58px;padding:4px 2px 5px;gap:3px;border-radius:14px;transition:background .18s ease,color .18s ease;outline:none}
 .bottom-nav a span{display:grid;place-items:center;width:42px;height:32px;border:1.5px solid #c8d8ce;border-radius:11px;background:#fff;color:#66776c;font-size:20px;line-height:1;box-shadow:0 2px 5px #0b4c2810;transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
 .bottom-nav a small{font-size:10px;font-weight:600;letter-spacing:.01em;line-height:1.25}
 .bottom-nav a.active{background:#e9f4ed;color:#075b32;font-weight:800}
 .bottom-nav a.active span{background:#08743b;color:#fff;border-color:#08743b;box-shadow:0 4px 12px #08743b30}
 .bottom-nav a:not(.active):hover span,.bottom-nav a:not(.active):focus-visible span{border-color:#08743b;color:#08743b;background:#f2faf5}
 .bottom-nav a:focus-visible{box-shadow:0 0 0 2px #08743b55}
}


/* Separate page layouts */
.page-main{min-height:65vh}
.page-hero{padding:clamp(52px,8vw,100px) max(24px,calc((100vw - 1120px)/2));background:linear-gradient(135deg,#edf7f0,#f8fbf8);border-bottom:1px solid var(--line)}
.page-hero .eyebrow{margin:0 0 14px}.page-hero h1{max-width:850px;margin:0 0 18px;font-family:'Playfair Display',Georgia,serif;font-size:clamp(38px,6vw,68px);line-height:1.05;color:#173326}.page-hero>p:last-child{max-width:760px;font-size:clamp(17px,2vw,20px);line-height:1.65;color:#62766a}
.page-section{max-width:1120px;margin:0 auto;padding:clamp(38px,6vw,72px) 24px}.page-section h2{font-family:'Playfair Display',Georgia,serif;color:#173326}.page-cta{padding:clamp(36px,6vw,64px) 24px;text-align:center;background:#064b2c;color:#fff}.page-cta h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(28px,4vw,42px);margin:0 0 12px}.page-cta p{max-width:650px;margin:0 auto 24px;line-height:1.7;color:#d7e8dd}.page-cta .hero-actions{justify-content:center}
.about-grid,.community-action-grid,.donation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.about-grid .content-card,.community-action-grid .content-card{padding:26px;border:1px solid var(--mosque-border,#d6e4da);border-radius:18px;background:#fff}.about-grid .content-card h2,.community-action-grid .content-card h2{font-size:25px;margin:12px 0}.community-action-grid .button{margin-top:12px}
.event-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.event-page-grid .event-card{min-width:0}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.8fr);gap:24px;align-items:start}.contact-layout .content-card,.contact-aside{padding:clamp(20px,4vw,34px);border:1px solid var(--mosque-border,#d6e4da);border-radius:18px;background:#fff}.contact-aside{background:#eaf5ed}.contact-aside h2{font-size:28px}.contact-aside p{line-height:1.7}
.reminder-page .ayat-card{margin-bottom:24px}.reminder-page .ayat-card h2{font-size:clamp(28px,4vw,42px);color:#fff}.reminder-page .content-card h2{font-size:24px}
.donation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.donation-card{overflow:hidden;border:1px solid #d6e4da;border-radius:18px;background:#fff;box-shadow:0 10px 28px #1733260a}.donation-card>img{width:100%;height:230px;object-fit:cover;display:block}.donation-art{height:190px;display:grid;place-items:center;font-size:72px;color:#fff;background:linear-gradient(135deg,#08743b,#064b2c)}.donation-content{padding:24px}.donation-content h2{font-size:clamp(23px,3vw,30px);margin:8px 0 12px}.donation-content>p:not(.eyebrow){line-height:1.65;color:#617568}.donation-content .fundraiser-track{margin-top:16px}.donation-content .fundraiser-track span{display:block;width:62.5%;height:100%;background:#08743b;border-radius:inherit}.donation-content .button{margin-top:14px}
@media(max-width:850px){.about-grid,.community-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-layout{grid-template-columns:1fr}.donation-grid{grid-template-columns:1fr}}
@media(max-width:620px){.page-hero{padding:42px 20px}.page-section{padding:36px 18px}.about-grid,.community-action-grid,.event-page-grid,.donation-grid{grid-template-columns:1fr}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-nav a span{display:grid;place-items:center;width:36px;height:30px}.bottom-nav a small{font-size:9px}}


.settings-page{max-width:920px}.settings-option{display:flex;align-items:center;gap:20px;padding:24px;margin-bottom:16px;background:#fff;border:1px solid #d6e4da;border-radius:18px}.settings-option-icon{display:grid;place-items:center;flex:0 0 54px;height:54px;border-radius:16px;background:#e8f5ed;color:#08743b;font-size:28px}.settings-option-copy{flex:1}.settings-option-copy h2{font-family:'DM Sans',Arial,sans-serif;font-size:21px;margin:0 0 7px}.settings-option-copy p{margin:0;line-height:1.65;color:#66796d}.settings-switch{display:flex;align-items:center;position:relative;flex:0 0 auto}.settings-switch input{position:absolute;opacity:0;width:1px;height:1px}.settings-switch .toggle-ui{display:block;width:54px;height:30px;border-radius:999px;background:#cbd8cf;position:relative;transition:background .18s ease}.settings-switch .toggle-ui:after{content:'';position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0002;transition:transform .18s ease}.settings-switch input:checked+.toggle-ui{background:#08743b}.settings-switch input:checked+.toggle-ui:after{transform:translateX(24px)}.settings-switch input:focus-visible+.toggle-ui{outline:3px solid #08743b55;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.settings-note{padding:18px 20px;margin:20px 0 26px;border-left:4px solid #c9a83b;border-radius:8px;background:#fff8e2;color:#5c502c;line-height:1.65}


/* Native-app layout polish: safe areas, compact prayer-first home, and profile */
html{scroll-padding-top:calc(86px + env(safe-area-inset-top,0px))}
body{padding-top:0}
.topbar{padding-top:env(safe-area-inset-top,0px);min-height:calc(82px + env(safe-area-inset-top,0px));}
.brand-logo{max-width:100%;object-position:left center}
.app-welcome{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px clamp(20px,6vw,92px);background:linear-gradient(115deg,#f0f7f1,#fff);border-bottom:1px solid #e0eae3}
.app-welcome .eyebrow{margin:0 0 5px;font-size:10px}
.app-welcome h1{margin:0;color:#075b32;font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:clamp(27px,3.5vw,38px);line-height:1.12;letter-spacing:-.02em}
.app-welcome p:not(.eyebrow){margin:7px 0 0;color:#64766b;font-size:13px;line-height:1.45}
.welcome-location{flex-shrink:0;display:inline-flex;align-items:center;gap:10px;padding:12px 15px;border:1px solid #cbded0;border-radius:12px;background:#fff;color:#075b32;font-size:13px;font-weight:700}
.welcome-location span{font-size:18px}
.profile-page{max-width:1040px}
.profile-hero{padding-top:42px;padding-bottom:42px}
.profile-layout{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(0,1.5fr);gap:22px;align-items:start}
.profile-summary,.profile-form-card,.profile-guest-card{border:1px solid #d8e6dc;border-radius:20px;background:#fff;box-shadow:0 8px 28px #17332609}
.profile-summary{padding:26px;position:sticky;top:calc(100px + env(safe-area-inset-top,0px))}
.profile-avatar{width:66px;height:66px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(145deg,#08743b,#064b2c);color:#fff;font-size:32px;font-weight:700;margin-bottom:16px;box-shadow:0 7px 16px #08743b24}
.profile-summary h2{font-family:'DM Sans',Arial,sans-serif;font-size:23px;line-height:1.25;margin:0 0 6px;overflow-wrap:anywhere}
.profile-summary>p{color:#66796d;font-size:13px;overflow-wrap:anywhere}
.profile-badges{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}
.profile-badges span{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eaf5ed;color:#075b32;font-size:11px;font-weight:700}
.profile-summary .profile-since{padding-top:14px;border-top:1px solid #e4ece6}
.profile-side-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #e4ece6;color:#244a35;font-size:13px;font-weight:600}
.profile-form-card{padding:clamp(22px,4vw,36px)}
.profile-form-heading h2,.profile-guest-card h2{font-family:'Playfair Display',Georgia,serif;font-size:30px;margin:0 0 8px}
.profile-form-heading>p:last-child,.profile-guest-card>p{color:#66796d;line-height:1.65;font-size:14px}
.profile-edit-form{display:grid;gap:18px;margin-top:26px}
.profile-edit-form label{display:grid;gap:8px;color:#243d2e;font-size:13px;font-weight:700}
.profile-edit-form input,.profile-edit-form textarea{width:100%;min-width:0;padding:13px 14px;border:1px solid #ceddd2;border-radius:11px;background:#fff;color:#173326;font:inherit;font-size:15px;outline:none}
.profile-edit-form input:focus,.profile-edit-form textarea:focus{border-color:#08743b;box-shadow:0 0 0 3px #08743b18}
.profile-edit-form input:disabled{background:#f3f6f3;color:#6e7e73}
.profile-edit-form small{font-weight:400;color:#718075;font-size:11px;line-height:1.5}
.profile-form-actions,.profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.button-outline-dark{border-color:#c8d9cd;background:#fff;color:#075b32}
.profile-guest-card{max-width:620px;margin:0 auto;padding:clamp(26px,5vw,44px);text-align:center}
.profile-guest-card .profile-avatar{margin:0 auto 18px}
.profile-guest-card .profile-actions{justify-content:center;margin-top:24px}
.profile-message{margin:16px 0}
@media(max-width:650px){
 body{padding-top:0;padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
 .topbar{height:auto;min-height:calc(70px + env(safe-area-inset-top,0px));padding:calc(8px + env(safe-area-inset-top,0px)) 16px 8px;gap:10px}
 .topbar .brand-logo{width:clamp(170px,54vw,235px);max-height:48px}
 .topbar nav{top:calc(70px + env(safe-area-inset-top,0px));max-height:calc(100dvh - 150px);overflow:auto;border-radius:0 0 16px 16px}
 .menu-toggle{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;font-size:25px}
 .app-welcome{align-items:flex-start;padding:18px 18px;gap:10px}
 .app-welcome h1{font-size:28px}
 .app-welcome p:not(.eyebrow){font-size:12px;max-width:245px}
 .welcome-location{padding:10px 11px;font-size:11px;gap:4px;margin-top:16px}
 .prayer-strip{padding:26px 12px 32px}
 .prayer-strip .section-intro{margin-bottom:18px}
 .prayer-strip .section-intro h2{font-size:28px;margin:0 0 5px}
 .prayer-strip .section-intro>p:last-child{font-size:12px;margin-top:5px}
 .next-prayer-card{margin-bottom:14px}
 .hero{min-height:0;padding:30px 20px}
 .profile-hero{padding:28px 20px}
 .profile-hero h1{font-size:36px}
 .profile-page{padding:22px 14px 34px}
 .profile-layout{grid-template-columns:1fr;gap:14px}
 .profile-summary{position:static;padding:20px}
 .profile-form-card{padding:22px 18px}
 .profile-form-heading h2,.profile-guest-card h2{font-size:26px}
 .profile-form-actions .button,.profile-actions .button{flex:1;min-width:130px}
 .bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:7px 6px calc(7px + env(safe-area-inset-bottom,0px));}
 .bottom-nav a{min-width:0;min-height:60px;padding:4px 1px;border-radius:13px}
 .bottom-nav a span{width:38px;height:32px;font-size:19px}
 .bottom-nav a small{font-size:9px;white-space:nowrap}
}


/* Shared account screens: login, registration, member inbox */
.community-account-page{max-width:960px;min-height:48vh;padding-top:28px}
.community-account-page .panel{padding:clamp(20px,4vw,34px);margin:0 0 18px;background:#fff;border:1px solid #d8e6dc;border-radius:18px;box-shadow:0 8px 28px #17332608}
.community-account-page h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(28px,4vw,38px);font-weight:500;color:#173326;margin:0 0 8px}
.community-account-page h2{font-size:23px;margin:0 0 14px}
.community-account-page .muted{color:#687b70}
.community-account-page form{max-width:680px}
.community-account-page .field{display:grid;gap:7px;margin:16px 0;color:#243d2e;font-size:13px;font-weight:700}
.community-account-page .field input,.community-account-page .field select,.community-account-page .field textarea{width:100%;min-width:0;padding:13px 14px;border:1px solid #ceddd2;border-radius:11px;background:#fff;color:#173326;font:inherit;font-size:15px}
.community-account-page .field input:focus,.community-account-page .field select:focus,.community-account-page .field textarea:focus{outline:none;border-color:#08743b;box-shadow:0 0 0 3px #08743b18}
.community-account-page button,.community-account-page .button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border:1px solid transparent;border-radius:11px;background:#08743b;color:#fff;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.community-account-page .button.secondary{background:#e8f5ed;color:#075b32;border-color:#d0e4d6}
.community-account-page .error,.community-account-page .notice{padding:13px 15px;border-radius:11px;line-height:1.5;margin:14px 0}
.community-account-page .error{background:#fff0ef;color:#8b231b}.community-account-page .notice{background:#e8f5ed;color:#075b32}
.community-account-page .card{border:1px solid #e0eae3;border-radius:14px;padding:18px;margin:14px 0;background:#fbfdfb}
.community-account-page .badge{display:inline-flex;padding:5px 10px;border-radius:99px;background:#e8f5ed;color:#075b32;font-size:11px;font-weight:700}
.community-account-page .row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.community-account-page .row>*{min-width:0}
.community-account-page a:not(.button){color:#08743b}
@media(max-width:650px){.community-account-page{padding:22px 14px 34px}.community-account-page .panel{padding:20px 17px}.community-account-page form{max-width:none}}

.bottom-nav a span svg{display:block;width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:650px){.bottom-nav a span{display:grid;place-items:center}.bottom-nav a span svg{width:21px;height:21px}}
