:root{color-scheme:light;--ground: #fff7f9;--surface: #ffffff;--blush: #fbe3ec;--line: #f3d3df;--ink: #3d2430;--muted: #7a5566;--heading: #6e2445;--accent: #b03a6b;--accent-ink: #ffffff;--accent-text: #8a2e54;--serif: "Fraunces", Georgia, serif;--sans: "DM Sans", system-ui, -apple-system, sans-serif;--arabic: "Amiri", "Traditional Arabic", serif;--r-lg: 24px;--r-md: 16px;--r-pill: 999px;--nav-h: 76px}:root[data-theme=night]{color-scheme:dark;--ground: #1e1219;--surface: #2a1822;--blush: #3a2130;--line: #4a2b3b;--ink: #f7e6ee;--muted: #c9a6b7;--heading: #fbd3e2;--accent: #f2a7c3;--accent-ink: #2a1020;--accent-text: #f2a7c3}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){color-scheme:dark;--ground: #1e1219;--surface: #2a1822;--blush: #3a2130;--line: #4a2b3b;--ink: #f7e6ee;--muted: #c9a6b7;--heading: #fbd3e2;--accent: #f2a7c3;--accent-ink: #2a1020;--accent-text: #f2a7c3}}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}h1,h2,h3{font-family:var(--serif);font-weight:600;color:var(--heading);margin:0;line-height:1.2}h1{font-size:2rem}h2{font-size:1.3rem}h3{font-size:1.1rem}p{margin:0}a{color:var(--accent-text)}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.shell{min-height:100dvh}.content{max-width:640px;margin:0 auto;padding:calc(24px + env(safe-area-inset-top)) 20px calc(var(--nav-h) + 32px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:20px}.nav{position:fixed;inset:auto 0 0 0;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line);display:flex;justify-content:space-around;z-index:10}.nav-brand{display:none}.nav a{flex:1;max-width:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;color:var(--muted);font-size:.7rem;font-weight:600}.nav a .pill{width:52px;height:30px;border-radius:var(--r-pill);display:grid;place-items:center}.nav a.active{color:var(--accent-text)}.nav a.active .pill{background:var(--blush)}@media (min-width: 900px){.shell{display:flex}.nav{position:sticky;inset:auto;height:100dvh;width:248px;flex-direction:column;justify-content:flex-start;gap:4px;padding:32px 16px;border-top:none;border-right:1px solid var(--line)}.nav-brand{display:block;font-family:var(--serif);font-size:1.5rem;font-weight:600;color:var(--heading);padding:0 12px 20px}.nav a{flex:none;max-width:none;flex-direction:row;justify-content:flex-start;gap:12px;height:48px;padding:0 12px;border-radius:14px;font-size:.95rem}.nav a .pill{width:auto;height:auto;background:none!important}.nav a.active{background:var(--blush)}.content{flex:1;padding:48px 48px 64px}}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:20px;display:flex;flex-direction:column;gap:12px}.card.blush{background:var(--blush);border-color:transparent}.stack{display:flex;flex-direction:column;gap:12px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.label{font-size:.85rem;font-weight:600;color:var(--accent-text)}.muted{color:var(--muted);font-size:.9rem}.small{font-size:.8rem}.lead{color:var(--muted);margin-top:6px}.serif-quote{font-family:var(--serif);font-size:1.1rem;line-height:1.5;color:var(--heading);white-space:pre-line}.arabic{font-family:var(--arabic);font-size:1.6rem;line-height:1.9;text-align:right}.translit{font-style:italic;color:var(--muted)}.btn{min-height:48px;padding:0 18px;border-radius:var(--r-md);border:1px solid var(--line);background:var(--surface);color:var(--ink);font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn.ghost{background:none;border-color:transparent;color:var(--accent-text);padding:0 4px}.btn:disabled{opacity:.55;cursor:default}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:44px;padding:0 16px;border-radius:var(--r-pill);border:none;background:var(--blush);color:var(--accent-text);font-weight:500;cursor:pointer}.chip[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}.segmented{display:inline-flex;background:var(--blush);border-radius:var(--r-pill);padding:3px;gap:2px}.segmented button{min-height:38px;min-width:56px;padding:0 14px;border:none;border-radius:var(--r-pill);background:transparent;color:var(--accent-text);font-weight:600;cursor:pointer}.segmented button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}.field{display:flex;flex-direction:column;gap:6px}.field>span{font-size:.9rem;font-weight:500}.input,select.input,textarea.input{width:100%;min-height:48px;border:1px solid var(--line);border-radius:14px;padding:10px 14px;background:var(--ground)}textarea.input{resize:vertical;min-height:120px}.toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;cursor:pointer}.toggle input{width:22px;height:22px;accent-color:var(--accent)}.error{color:#a0244f;font-size:.9rem}:root[data-theme=night] .error{color:#ffb3c9}.prayer-big{font-family:var(--serif);font-size:2rem;font-weight:600;color:var(--heading)}.prayer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.prayer-grid>div{display:flex;flex-direction:column;align-items:center;padding:8px 0;border-radius:14px;font-size:.8rem}.prayer-grid>div.next{background:var(--surface)}.prayer-grid .name{font-weight:600;color:var(--accent-text)}.notes-link{text-decoration:none;color:inherit;display:flex;align-items:center;gap:14px}.badge-circle{width:44px;height:44px;flex-shrink:0;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center}.note{border-radius:20px;border:1px solid var(--line);padding:16px 18px;display:flex;flex-direction:column;gap:10px;background:var(--surface)}.note.ready{background:var(--blush);border-color:transparent}.note.locked{background:transparent;flex-direction:row;align-items:center;color:var(--muted)}.heart{width:44px;height:44px;border:none;background:none;cursor:pointer;display:grid;place-items:center;color:var(--accent)}.letters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.letter-tile{min-height:96px;border-radius:18px;border:1px solid var(--line);background:var(--surface);padding:16px;text-align:left;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;gap:8px}.letter-tile.unread{border-color:var(--accent)}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#1e121973;display:grid;place-items:center;padding:20px}.sheet{width:min(560px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;background:var(--ground);border-radius:28px;padding:28px 24px;display:flex;flex-direction:column;gap:16px;position:relative}.sheet img{width:100%;border-radius:18px;object-fit:cover}.announcement-full{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:var(--blush);overflow-y:auto;padding:calc(40px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom))}.announcement-full .inner{max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:20px;position:relative;z-index:1}.announcement-full h1{font-size:2.4rem}.announcement-full .body{font-family:var(--serif);font-size:1.15rem;line-height:1.65;color:var(--heading);white-space:pre-line}.petals{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.petals span{position:absolute;top:-20px;width:12px;height:16px;border-radius:12px 0;background:var(--accent);opacity:.55;animation:fall 7s linear forwards}@keyframes fall{to{transform:translateY(110vh) rotate(540deg);opacity:0}}@media (prefers-reduced-motion: reduce){.petals{display:none}}.center-screen{min-height:100dvh;display:grid;place-items:center;padding:24px}.login{width:min(400px,100%);display:flex;flex-direction:column;gap:16px}.login h1{font-size:2.6rem}.admin-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.admin-list li{border-top:1px solid var(--line);padding-top:8px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
