@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');
:root{font-family:'Noto Naskh Arabic','Inter',sans-serif;color:#20362e;background:#f3f6f1;font-size:16px;line-height:1.65;--deep:#114837;--light:#eff5ee;--gold:#dcb45e;--border:#d6e3d7}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}button:focus-visible,input:focus-visible{outline:3px solid #d0a240;outline-offset:2px}button.primary{background:var(--deep);color:white;border:1px solid var(--deep);border-radius:11px;padding:11px 18px;font-weight:700}button.secondary{background:white;border:1px solid #a8c4b6;color:var(--deep);border-radius:11px;padding:10px 16px;font-weight:700}button.primary:hover{background:#1e654b}button.secondary:hover{background:#f1f9f5}
[hidden]{display:none!important}.brand-head{background:radial-gradient(ellipse at 50% 0%,#26684f,var(--deep) 72%);color:#fff;text-align:center;padding:30px 16px 35px;border-bottom:5px solid var(--gold)}.brand-shell{display:flex;align-items:center;justify-content:center;gap:16px}.brand-glyph{font:48px Georgia,serif;color:var(--gold)}.brand-head h1{font-size:clamp(1.6rem,4vw,2.3rem);margin:0}.brand-head .basmala{color:#eed49b;font-size:1.1rem;margin:0 0 5px}.brand-head .subtitle{margin:0;color:#d2e5d8;font:500 .94rem Inter,sans-serif;letter-spacing:.02em}.salawat{font-size:clamp(1.03rem,3vw,1.4rem);max-width:950px;margin:19px auto 0;line-height:2.1;color:#e8f5ec}.container{max-width:900px;margin:25px auto 50px;padding:0 15px}.panel{background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 3px 20px #123d2610;padding:22px;margin-bottom:17px}.account-card{max-width:540px;margin-inline:auto}.panel h2{font-size:1.5rem;margin:0 0 5px;color:var(--deep)}.muted{color:#61776d}.account-card>.muted{margin:0 0 20px}.access-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#ecf2ee;padding:6px;border-radius:13px;margin-bottom:19px;direction:ltr}.access-tabs button{padding:11px;border:0;background:transparent;border-radius:9px;font:700 1rem Inter,sans-serif;color:#436457}.access-tabs button[aria-selected=true]{background:var(--deep);color:white;box-shadow:0 2px 8px #0c402120}.fields{border:0;padding:0;margin:0}.fields label,.manual label{display:grid;gap:5px;margin-bottom:14px;color:#254536;font-weight:600}.fields input:not([type=checkbox]),.manual input{width:100%;padding:11px 13px;border:1px solid #b7cbbf;border-radius:11px;background:#fcfefb;color:#1a3328;min-height:46px}.fields input::placeholder{color:#84988e;font-weight:400}.fields .checks{display:grid;gap:4px;margin:10px 0 17px}.checks label{display:flex;gap:10px;align-items:center;font-weight:400;margin:0;padding:3px}.checks input{width:18px;height:18px;accent-color:var(--deep)}.pledge{background:var(--light);border-radius:11px;padding:12px;margin:13px 0}.pledge summary{cursor:pointer;font-weight:700}.pledge p{margin:10px 0 0}.account-card button[type=submit]{width:100%;margin-top:5px}.footnote{font-size:.85rem;color:#6b8073;border-top:1px solid var(--border);padding-top:15px;margin-top:17px}.message{min-height:1rem;margin:10px 0 0;font-weight:600;color:#a3313a}.message.ok{color:#26754d}.welcome-panel{display:flex;justify-content:space-between;gap:15px;align-items:center}.eyebrow{letter-spacing:.06em;font:700 .8rem Inter,sans-serif;color:#59806d;margin:0}.chips{display:flex;gap:8px;margin-top:9px;flex-wrap:wrap}.chip{display:inline-block;border-radius:999px;color:#144934;background:#e7f2e9;border:1px solid #c2d9c8;padding:3px 12px;font:700 .9rem Inter,sans-serif;direction:ltr}.stats{display:grid;grid-template-columns:1fr 1fr;gap:15px}.stat p{margin:0;color:#61776d}.stat strong{display:block;font:800 clamp(1.5rem,6vw,2.5rem) Inter,sans-serif;color:var(--deep);direction:ltr}.reader .arabic{font-size:1.4rem;line-height:2.4;text-align:center;padding:16px;background:#f8faf4;border-radius:13px}.reader-actions{display:flex;gap:10px;margin:15px 0;flex-wrap:wrap}.reader-actions button{flex:1}.manual{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.manual label{flex:1;min-width:160px;margin:0}.manual button{min-height:46px}.invite-line{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.invite-line output{font:700 1.3rem Inter,sans-serif;letter-spacing:.12em;padding:8px 16px;background:#ecf5ee;color:#174d37;border-radius:8px;direction:ltr}.details{margin:8px 0 16px}.details>div{display:flex;gap:10px;justify-content:space-between;padding:11px 2px;border-bottom:1px solid #e4ebe5}.details dt{color:#63786c}.details dd{margin:0;font-weight:700;direction:ltr}.member-list{display:grid;gap:9px;margin-top:15px}.member{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f7faf7;border:1px solid #dfe9df;border-radius:12px;padding:12px}.member-info{min-width:0}.member-info strong{display:block}.member-info small{display:block;font:400 .84rem Inter,sans-serif;color:#62756a;overflow-wrap:anywhere}footer{font:400 .8rem Inter,sans-serif;text-align:center;color:#738778;padding:8px 12px 30px}@media(max-width:520px){.brand-glyph{font-size:35px}.container{padding:0 10px;margin-top:16px}.panel{padding:17px;border-radius:15px}.brand-head{padding:17px 10px 25px}.salawat{margin-top:12px}.stats{gap:9px}.reader .arabic{font-size:1.14rem}.welcome-panel{align-items:start}.member{flex-wrap:wrap}.member button{width:100%}}


/* Additional member sections retained from the original app concept */
.portal-nav{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:4px 1px 13px;margin-bottom:13px;scrollbar-width:thin}
.portal-nav .nav-item{flex:0 0 auto;padding:9px 14px;border:1px solid #c8d9ce;background:#fff;color:#325540;border-radius:999px;font-size:.91rem;font-weight:700;white-space:nowrap}
.portal-nav .nav-item[aria-current="page"]{background:#114837;color:#fff;border-color:#114837}
.portal-nav .nav-item:focus-visible{outline:3px solid #c9a046;outline-offset:2px}
.prayer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:15px 0 20px}
#prayer-form>label,.prayer-grid label{display:grid;gap:6px;font-weight:600}
#prayer-form input,#prayer-form select{padding:11px 9px;background:white;border:1px solid #b7cbbf;border-radius:10px;min-height:43px}
.history-list{display:grid;gap:8px;margin-top:14px}
.history-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;background:#f4f8f4;border:1px solid #dce9df;border-radius:11px}
.history-item strong{color:#174d36}
.history-item small{color:#61766a}
.history-item .count{font:700 1.07rem Inter,sans-serif;direction:ltr}
@media(max-width:540px){.portal-nav{margin-inline:-6px;padding-inline:6px}.history-item{flex-wrap:wrap}}
