:root{--peach: #FFE1D7;--periwinkle: #84AFFB;--royal: #0259DD;--coral: #FF6648;--coral-light: #FF8C66;--navy: #0B1F4D;--white: #FFFFFF;--bg: var(--peach);--surface: var(--periwinkle);--surface-soft: rgba(132, 175, 251, .24);--text: var(--navy);--heading: var(--royal);--primary: var(--royal);--primary-text: var(--white);--accent: var(--coral);--accent-text: var(--navy);--border: rgba(11, 31, 77, .16);--partner-color: #D94E34;--goal-high: #FF6648;--goal-med: #0259DD;--goal-low: #5A86DC;--radius-sm: 14px;--radius-md: 18px;--radius-lg: 22px;--radius-pill: 999px;--font-heading: "Fraunces", Georgia, serif;--font-body: "DM Sans", system-ui, -apple-system, sans-serif}[data-theme=dark]{--bg: #1D130E;--surface: #2B1D16;--surface-soft: #2A1C15;--text: #F5E6D8;--heading: #F5C842;--primary: #F5C842;--primary-text: #1D130E;--accent: #FF8A5B;--accent-text: #1D130E;--border: rgba(245, 200, 66, .22);--partner-color: #F5C842;--goal-high: #FF8A5B;--goal-med: #F5C842;--goal-low: #C9A97E;--font-heading: "Bricolage Grotesque", system-ui, sans-serif}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3,.num{font-family:var(--font-heading);color:var(--heading);margin:0;line-height:1.2}h1{font-size:1.75rem;font-weight:700}h2{font-size:1.15rem;font-weight:700}.sub-heading{font-size:.95rem;font-weight:700;opacity:.85}.todo-heading{font-size:1.2rem}a{color:var(--heading);text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;min-height:40px;min-width:40px;border:none;border-radius:var(--radius-sm);background:transparent}button:disabled{opacity:.45;cursor:not-allowed}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.app-shell{min-height:100dvh;max-width:560px;margin:0 auto;padding:0 16px calc(88px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column}.top-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 0 6px;gap:12px}.brand{display:inline-flex;align-items:center;gap:9px;font-family:var(--font-heading);font-size:1.4rem;font-weight:800;color:var(--heading)}.top-actions{display:flex;align-items:center;gap:6px}.user-strip{display:flex;align-items:center;gap:10px;padding:4px 0 10px}.user-square{width:36px;height:36px;border-radius:8px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:var(--accent-text);font-family:var(--font-heading);font-weight:800;font-size:1.05rem}.user-name{font-family:var(--font-heading);font-size:1.18rem;font-weight:700;color:var(--coral-light)}.note-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;margin-bottom:6px;text-align:left;border-radius:var(--radius-md);background:var(--surface-soft);border:1.5px dashed var(--border)}.note-preview{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.88rem;opacity:.85}.note-form{display:flex;gap:8px;align-items:center}.note-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;padding:16px;background:#0b0f1c7a;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;animation:fadeIn .18s ease}.note-sheet{width:100%;max-width:500px;height:min(76dvh,620px);background:var(--bg);border:1.5px solid var(--border);border-radius:var(--radius-lg);padding:16px;display:flex;flex-direction:column;gap:12px;animation:sheetIn .22s cubic-bezier(.22,1,.36,1)}.chat-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:4px 2px}.chat-bubble{max-width:82%;padding:9px 13px;border-radius:14px;font-size:.92rem;display:flex;flex-direction:column;gap:3px;word-break:break-word}.chat-me{align-self:flex-end;background:var(--primary);color:var(--primary-text);border-bottom-right-radius:4px}.chat-them{align-self:flex-start;background:var(--surface-soft);border:1px solid var(--border);border-bottom-left-radius:4px}.chat-time{font-size:.7rem;opacity:.75}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--radius-pill);background:var(--surface-soft);color:var(--text);transition:transform .15s ease,background .15s ease}.icon-btn:hover,.icon-btn.active{background:var(--accent);color:var(--accent-text)}.icon-btn-sm{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:0 6px;border-radius:8px;background:var(--surface-soft);font-weight:700;font-size:.9rem}.page{display:flex;flex-direction:column;gap:14px;padding:4px 0 24px;flex:1}.page-enter{animation:pageIn .2s cubic-bezier(.22,1,.36,1)}.page-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.seg-toggle{display:inline-flex;padding:3px;border-radius:var(--radius-pill);background:var(--surface-soft);border:1px solid var(--border);gap:2px}.seg-btn{min-height:32px;min-width:58px;padding:4px 13px;border-radius:var(--radius-pill);font-size:.84rem;font-weight:600;transition:background .22s cubic-bezier(.22,1,.36,1),color .2s ease,transform .14s ease}.seg-btn.active{background:var(--primary);color:var(--primary-text);box-shadow:0 2px 8px #00000024}.partner-boxes{display:grid;grid-template-columns:1fr auto auto auto;gap:8px;align-items:stretch}.partner-box{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 14px;border-radius:12px;background:var(--surface-soft);border:1.5px solid var(--border)}.partner-meta{display:flex;flex-direction:column;gap:2px}.partner-name{font-family:var(--font-heading);font-size:1.22rem;font-weight:800;color:var(--partner-color);line-height:1.15}.partner-clock{font-size:.84rem;font-weight:600;color:var(--text);opacity:.88;font-variant-numeric:tabular-nums}.nudge-box{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;font-size:1.25rem;border-radius:12px;background:var(--surface-soft);border:1.5px solid var(--border)}.card{background:var(--surface-soft);border:1.5px solid var(--border);border-radius:var(--radius-lg);padding:14px;display:flex;flex-direction:column;gap:10px}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:28px 20px;background:var(--surface-soft);border-radius:var(--radius-lg)}.empty-state p{margin:0;max-width:30ch}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 18px;border-radius:var(--radius-pill);background:var(--primary);color:var(--primary-text);font-weight:600;transition:transform .14s ease,filter .14s ease}.btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 14px;border-radius:var(--radius-pill);background:var(--surface-soft);border:1px solid var(--border);font-weight:600;transition:transform .14s ease,background .14s ease}.btn-primary:hover,.btn-secondary:hover,.nudge-box:hover,.note-trigger:hover{transform:translateY(-1px)}.btn-primary:active,.btn-secondary:active,.nudge-box:active,.nav-item:active,.seg-btn:active,.goal-close:active,.icon-btn:active,.note-trigger:active{transform:scale(.94)}.btn-sm{min-height:36px;padding:5px 14px;font-size:.86rem}.chip,.chip-coral,.chip-next{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:var(--radius-pill);font-size:.76rem;font-weight:600}.chip{background:var(--surface-soft);border:1px solid var(--border)}.chip-coral{background:var(--accent);color:var(--accent-text)}.chip-next{background:#e8e0f8;color:#4a3f6b;border:1px solid #C5B6EA}.btn-prayed{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 14px;border-radius:var(--radius-pill);font-weight:600;background:#d8f0df;color:#245c3a;border:1.5px solid #8CD1A4;box-shadow:0 0 12px #66c28659;transition:transform .14s ease}.chip-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.chip-strong{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:var(--radius-pill);background:var(--bg);border:2px solid var(--primary);font-size:.84rem;font-weight:600}.chip-strong input{border:none;background:transparent;padding:0;min-height:26px;font-weight:600}.chip-clear{min-width:22px;min-height:22px;padding:0;font-size:.95rem;font-weight:700;opacity:.75}.chip-select,.chip-bell{min-height:34px;padding:4px 10px;border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--bg);font-size:.82rem;font-weight:500}.chip-bell.on{border-color:var(--primary);color:var(--heading);font-weight:600}.hint-muted{margin:0;font-size:.8rem;opacity:.75}.hint-coral{margin:0;font-size:.82rem;font-weight:600;color:var(--accent)}.form-stack{display:flex;flex-direction:column;gap:10px}.field{display:flex;flex-direction:column;gap:5px}.field label{font-size:.88rem;font-weight:600}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.input{width:100%;min-height:42px;padding:9px 13px;border-radius:var(--radius-sm);border:1.5px solid var(--border);background:var(--bg);color:var(--text)}.textarea{min-height:96px;resize:vertical;line-height:1.5}.journal-card{cursor:pointer;padding:13px 16px;gap:8px;transition:transform .14s ease}.journal-preview{margin:0;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}.j-paper{border-radius:var(--radius-md);border:1px solid var(--border);background:#ffffff80;padding:12px;display:flex;flex-direction:column;gap:10px;min-height:128px}.j-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-bottom:8px;border-bottom:1px solid var(--border)}.j-swatch{width:22px;height:22px;min-width:22px;min-height:22px;border-radius:50%;border:1.5px solid var(--border);padding:0}.j-swatch.active{outline:2.5px solid var(--primary);outline-offset:1px}.j-lines{display:flex;flex-direction:column;gap:4px}.j-line{width:100%;border:none;background:transparent;padding:3px 4px;outline:none;color:inherit;resize:none;overflow:hidden;line-height:1.45;white-space:pre-wrap;word-break:break-word}.j-line-view{margin:0;word-break:break-word}.j-s-normal{font-size:1.18rem}.j-s-title{font-size:1.85rem;font-weight:700}.j-s-h1{font-size:1.6rem;font-weight:700}.j-s-h2{font-size:1.42rem;font-weight:700}.j-s-h3{font-size:1.28rem;font-weight:600}.j-s-sub{font-size:1.1rem;opacity:.78;font-style:italic}.j-bold{font-weight:700!important}.j-bg-cream,.j-bg-blush,.j-bg-sage,.j-bg-butter,.j-bg-lavender{--bg: rgba(255, 255, 255, .8);--surface-soft: rgba(0, 0, 0, .08);--border: rgba(0, 0, 0, .2);--heading: #241910;--text: #241910;color:#241910!important}.j-bg-cream{background:#fff5e1!important}.j-bg-blush{background:#ffe0e6!important}.j-bg-sage{background:#e2f2e5!important}.j-bg-butter{background:#fff6c4!important}.j-bg-lavender{background:#eae4ff!important}@keyframes pageIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.input-sm{width:auto;min-height:34px;padding:5px 10px;font-size:.86rem}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row-between{display:flex;align-items:center;justify-content:space-between;gap:10px}.muted{opacity:.72;font-size:.84rem;margin:0}.done-text{text-decoration:line-through;opacity:.58}.notion-list{display:flex;flex-direction:column;border-top:1px solid var(--border)}.task-row{display:flex;align-items:center;gap:10px;padding:10px 4px;border-bottom:1px solid var(--border)}.task-row.done{opacity:.55}.flow-section{display:flex;flex-direction:column;gap:10px}.prayer-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 6px;border-bottom:1px solid var(--border)}.prayer-row.active-now{background:#ffffff85;border:1.5px solid var(--primary);border-radius:12px;padding:11px 12px;margin:4px 0}.prayer-row.missed{opacity:.58}.font-arabic{font-family:Noto Naskh Arabic,serif;font-weight:700;line-height:1.5}.deen-glow{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:18px 14px;border-radius:var(--radius-lg);background:var(--surface-soft);border:1.5px solid var(--primary);box-shadow:0 0 18px #0259dd40;transition:transform .15s ease,box-shadow .15s ease}[data-theme=dark] .deen-glow{box-shadow:0 0 22px #f5c84247}.deen-glow:hover,.dua-req-box:hover{transform:translateY(-2px)}.deen-glow-wide{width:100%}.dua-req-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:18px 14px;border-radius:var(--radius-lg);background:#ffb499;color:#0b1f4d;border:2px solid #FF6648;box-shadow:0 4px 16px #ff664847;transition:transform .15s ease}[data-theme=dark] .dua-req-box{background:#ff9e7d;color:#1d130e;border-color:#ff6b00;box-shadow:0 0 18px #ff8a5b59}.dua-req-title{font-family:var(--font-heading);font-size:1.05rem;font-weight:800}.dua-req-sub{font-size:.8rem;font-weight:600;opacity:.85}.glow-ar{font-size:2rem;color:var(--heading);text-shadow:0 0 14px rgba(2,89,221,.35)}[data-theme=dark] .glow-ar{text-shadow:0 0 16px rgba(245,200,66,.55)}.deen-sub{font-size:.84rem;font-weight:400;opacity:.78;letter-spacing:.02em}.dua-card{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-md);padding:14px;display:flex;flex-direction:column;gap:6px}.arabic-text{font-family:Noto Naskh Arabic,serif;font-size:1.45rem;line-height:2.1;margin:0;text-align:right;color:var(--text)}.translit-text{margin:0;font-size:.9rem;font-style:italic;color:var(--heading);opacity:.92}.task-edit{display:flex;flex-direction:column;gap:8px;padding:12px 8px;border-bottom:1px solid var(--border);background:var(--surface-soft);border-radius:var(--radius-sm)}.task-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.task-title{font-weight:300;font-size:.98rem;letter-spacing:.01em;word-break:break-word}.task-meta{display:flex;align-items:center;gap:6px;font-size:.76rem;opacity:.68;flex-wrap:wrap}.check-box{width:22px;height:22px;min-width:22px;min-height:22px;flex-shrink:0;border-radius:5px;border:1.8px solid var(--heading);background:transparent;display:inline-flex;align-items:center;justify-content:center;color:transparent;transition:transform .15s ease,background .15s ease,color .15s ease}.check-box:hover,.check-box.checked{background:var(--heading);color:var(--bg)}.check-box.checked{animation:pop .28s ease}.goal-composer{padding-bottom:16px;border-bottom:1px solid var(--border)}.goal-item{display:flex;flex-direction:column;gap:10px;padding:15px 4px 15px 12px;border-bottom:1px solid var(--border);border-left:3px solid var(--goal-med)}.goal-item.p-1{border-left-color:var(--goal-high)}.goal-item.p-2{border-left-color:var(--goal-med)}.goal-item.p-3{border-left-color:var(--goal-low)}.goal-item.achieved{opacity:.58}.goal-heading-1{color:var(--goal-high)}.goal-heading-2{color:var(--goal-med)}.goal-heading-3{color:var(--goal-low)}.goal-title{font-weight:700;font-size:1.02rem;color:var(--text)}.step-dots{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.step-dot{width:20px;height:6px;border-radius:3px;background:var(--border);transition:background .2s ease,transform .2s ease}.step-dot.lit{background:var(--primary);animation:pop .26s ease}@keyframes pop{0%{transform:scale(1)}50%{transform:scale(1.16)}to{transform:scale(1)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes sheetIn{0%{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.review-card{padding:14px;border-radius:var(--radius-lg);display:flex;flex-direction:column;gap:6px;border:1.5px solid var(--border)}.review-me{background:#ff664824;border-color:#ff664873;box-shadow:0 0 18px #ff664838}.review-partner{background:#84affb47;border-color:#84affb8c;box-shadow:0 0 18px #84affb4d}[data-theme=dark] .review-partner{background:#f5c84224;border-color:#f5c84273;box-shadow:0 0 18px #f5c84238}.review-name{font-family:var(--font-heading);font-size:1.08rem;color:var(--heading)}.landing-flow{display:flex;flex-direction:column;flex:1;padding:0 8px 48px}.landing-hero{min-height:84dvh;padding:56px 12px 36px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.landing-logo{width:min(210px,64%);height:auto;margin-bottom:12px}.landing-tagline{margin:0 0 32px;font-family:Handlee,cursive;font-size:1.06rem;letter-spacing:.03em;color:#3e6b6b}[data-theme=dark] .landing-tagline{color:#a3c9c7}.landing-note{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:30ch}.landing-msg{font-family:Dancing Script,cursive;font-weight:700;font-size:2.35rem;line-height:1.25;color:#4a3f6b;margin:0}[data-theme=dark] .landing-msg{color:#cfc3f2}.landing-from{font-size:.88rem;color:#6a5e8a;letter-spacing:.03em}[data-theme=dark] .landing-from{color:#b4a9d6}.landing-actions{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:44px}.landing-cta{min-height:38px;padding:8px 22px;font-size:.9rem;font-weight:600;box-shadow:0 4px 14px #0259dd29}.scroll-hint{font-size:.78rem;opacity:.56}.landing-auth{display:flex;flex-direction:column;gap:16px;padding:24px 4px 32px;max-width:400px;width:100%;margin:0 auto}.landing-divider{width:44px;height:2px;border-radius:2px;background:var(--border);margin:0 auto 12px}.landing-auth-head{text-align:center;display:flex;flex-direction:column;gap:4px;margin-bottom:4px}.landing-input{background:#ffffff8c;border:1px solid var(--border)}[data-theme=dark] .landing-input{background:#ffffff0d}.landing-submit{margin-top:6px;min-height:44px}.landing-switch{align-self:center;font-size:.88rem;font-weight:600;color:var(--heading);opacity:.85;padding:6px 12px}.landing-switch:hover{opacity:1;text-decoration:underline}.settings-flow{display:flex;flex-direction:column}.settings-group{padding:20px 0;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:12px}.settings-group:first-child{padding-top:6px}.settings-group:last-child{border-bottom:none}.toast{position:fixed;left:50%;bottom:calc(82px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:60;padding:10px 18px;border-radius:var(--radius-pill);background:var(--navy);color:var(--white);font-size:.88rem;font-weight:600;box-shadow:0 8px 24px #0b1f4d3d;white-space:nowrap;max-width:calc(100vw - 32px);animation:toastIn .22s ease}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.code-box{font-family:var(--font-heading);font-size:2.1rem;font-weight:800;letter-spacing:.22em;text-align:center;padding:16px;border-radius:var(--radius-md);background:var(--bg);color:var(--heading);border:2px dashed var(--border)}.msg-error{padding:9px 13px;border-radius:var(--radius-sm);background:var(--accent);color:var(--accent-text);font-weight:600;font-size:.88rem}.msg-info{padding:9px 13px;border-radius:var(--radius-sm);background:var(--surface-soft);border:1px solid var(--border);font-size:.88rem}.bottom-nav{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:100%;max-width:560px;background:var(--bg);border-top:1.5px solid var(--border);padding:6px 8px calc(8px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(5,1fr);gap:4px;z-index:20}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;padding:6px 4px;border-radius:var(--radius-sm);color:var(--text);font-size:.75rem;font-weight:600;transition:background .15s ease}.nav-item.active{background:var(--accent);color:var(--accent-text)}.nav-icon-wrap{position:relative;display:inline-flex}.nav-dot{position:absolute;top:-3px;right:-5px;width:9px;height:9px;border-radius:50%;background:#ff5c00;box-shadow:0 0 8px #ff5c00}.dua-alert{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 13px;margin-bottom:6px;border-radius:var(--radius-md);background:var(--surface-soft);border:1.5px solid #FF5C00;font-size:.86rem;font-weight:600;color:var(--text)}
