@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#123f36;--ink:#233c35;--muted:#727c77;--line:#e1e7e2;--paper:#f6f8f5;--gold:#e7ce8d;--soft:#eaf2ec}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{transition:background .18s,transform .18s}button:active{transform:scale(.98)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b49a59;outline-offset:3px}a{color:var(--green)}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:Manrope,sans-serif}h1{font-size:32px;letter-spacing:-1.2px;font-weight:800}h2{font-size:19px;letter-spacing:-.5px}h3{font-size:17px}small,.tiny{font-size:12px}.muted{color:var(--muted)}.tiny{letter-spacing:1.8px;font-weight:700}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:38px 25px;display:flex;flex-direction:column}.brand{text-decoration:none;font-weight:800;font-size:21px;letter-spacing:1px;display:flex;gap:10px;align-items:center}.brandmark{display:grid;place-items:center;background:var(--green);color:var(--gold);border-radius:12px;width:37px;height:37px;font-size:26px}.brandnote{font-size:12px;color:var(--muted);margin:14px 0 46px}.nav{display:flex;flex-direction:column;gap:8px}.nav button{background:none;border:0;text-align:left;padding:14px 17px;color:var(--muted);border-radius:10px;font-size:14px;display:flex;align-items:center;gap:13px;font-weight:600}.nav button.active{background:var(--soft);color:var(--green)}.nav svg{width:21px;height:21px;flex-shrink:0}.sidefoot{margin-top:auto;padding:28px 10px 0;color:var(--muted)}.sidefoot p{font-family:Georgia,serif;font-size:25px;line-height:1.45;color:var(--green);margin:16px 0 30px}main{margin-left:236px;max-width:1600px;padding:0 44px}header{min-height:88px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:14px;color:var(--muted)}.zone-button{border:1px solid var(--line);border-radius:30px;background:white;padding:10px 15px;color:var(--green);font-size:13px;display:flex;gap:8px;align-items:center}.pageheading{display:flex;align-items:center;justify-content:space-between;margin:34px 0 24px;gap:12px}.pageheading p{color:var(--muted);font-size:14px;margin-top:7px}.streak-pill{white-space:nowrap;background:#fcf2db;border:1px solid #eee3c6;padding:10px 15px;border-radius:24px;color:#806221;font-size:13px}.summary{background:var(--green);border-radius:20px;padding:27px 32px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:28px}.summary .tiny{color:var(--gold)}.summary h2{font-size:25px;line-height:1.5;margin-top:8px}.summary p{color:#c2d3cc;font-size:14px;margin-top:8px}.ring{width:100px;height:100px;flex-shrink:0;border-radius:50%;background:conic-gradient(var(--gold) var(--progress),#ffffff22 0);display:grid;place-items:center}.ring-inner{background:var(--green);border-radius:50%;height:84px;width:84px;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:25px;font-weight:700}.ring small{color:#c2d3cc;font-size:12px;font-weight:400}.layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:24px}.stack{display:flex;flex-direction:column;gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:24px;min-width:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-title .muted{font-size:13px}.chip{font-size:12px;padding:5px 9px;background:var(--soft);border-radius:6px;color:var(--green)}.prayer-row{display:flex;align-items:center;gap:13px;border-top:1px solid #eef1ed;min-height:65px}.prayer-row:first-child{border:0}.prayer-row .time{font-variant-numeric:tabular-nums;margin-left:auto;color:var(--muted);font-size:14px}.prayer-symbol{width:33px;color:#86978b;font-size:22px;text-align:center}.check{width:25px;height:25px;flex-shrink:0;border:1.5px solid #d5dfd7;border-radius:50%;background:white;color:white;padding:0;font-size:15px}.check.checked{background:var(--green);border-color:var(--green)}.prayer-row.done .prayer-name{color:#70837a}.prayer-row.next .prayer-name{font-weight:700;color:var(--green)}.next-label{font-size:11px;background:var(--soft);color:var(--green);border-radius:5px;padding:4px 6px;margin-left:6px}.source{font-size:12px;color:var(--muted);margin-top:15px;line-height:1.6}.source a{color:inherit}.quran-card{background:#f0f5ed;border-color:#dfe7da}.eyebrow{color:var(--muted);font-size:12px;letter-spacing:1px}.quran-page{display:flex;justify-content:space-between;align-items:center;margin:26px 0}.quran-page strong{font-family:Manrope;font-size:37px;font-weight:600;letter-spacing:-1px}.quran-page span{display:block;color:var(--muted);font-size:13px;margin-top:4px}.book-icon{color:#607b60;width:49px;height:49px}.primary,.secondary{border:0;border-radius:9px;padding:12px 18px;font-size:14px;font-weight:600;min-height:44px}.primary{background:var(--green);color:#fff}.primary:hover{background:#1e594b}.secondary{background:var(--soft);color:var(--green)}.full{width:100%}.quran-foot{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:16px}.progress{height:5px;border-radius:8px;background:#dce6d7;margin-top:9px;overflow:hidden}.progress span{display:block;height:100%;background:#789470;border-radius:8px}.zikir-card{text-align:center}.zikir-card .section-title{text-align:left}.zikir-label{font-family:Georgia,serif;font-size:25px;margin-top:18px}.arabic-short{font-family:serif;font-size:26px;margin-top:8px;color:#557062}.counter{display:flex;align-items:center;justify-content:center;gap:20px;margin:21px 0 16px}.counter-main{width:120px;height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;border:7px solid #e6eee6;background:#f9fbf8;color:var(--green);font-size:38px}.counter-main small{font-size:12px;color:var(--muted);font-weight:400}.icon-button{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:white;color:var(--green);font-size:19px;flex-shrink:0}.text-button{border:0;background:none;color:var(--green);font-size:13px;padding:5px}.checklist{display:flex;flex-direction:column;gap:18px}.checkline{display:flex;align-items:center;gap:12px;font-size:14px;cursor:pointer}.checkline input{width:20px;height:20px;accent-color:var(--green);margin:0}.checkline input:checked+span{color:var(--muted)}.quote-card{background:#f4efe4;border-color:#e9e2d4}.quote-card p{font-family:Georgia,serif;font-size:22px;line-height:1.5;margin:14px 0}.quote-card .primary{margin-top:20px}.section-sub{font-size:14px;color:var(--muted);margin:8px 0 20px;line-height:1.6}footer{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);padding:30px 0}.mobile-nav{display:none}.two{display:grid;grid-template-columns:1fr 1fr;gap:24px}.field{display:flex;flex-direction:column;gap:8px;margin:20px 0;font-size:14px}input[type=number],select,textarea{border:1px solid #d6dfd7;border-radius:9px;background:white;padding:12px;color:var(--ink);width:100%;min-height:45px}textarea{min-height:125px;line-height:1.7;resize:vertical}.moods{display:flex;gap:8px;flex-wrap:wrap}.moods button{padding:12px 15px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--muted);font-size:14px}.moods button.selected{background:var(--soft);border-color:var(--green);color:var(--green)}.metric{font-family:Manrope;font-size:36px;margin:12px 0 6px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.chart{height:195px;display:flex;gap:16px;align-items:flex-end;margin:26px 0 5px}.barcol{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.bararea{height:130px;width:100%;display:flex;align-items:flex-end;background:#f5f7f3;border-radius:8px;overflow:hidden}.bar{width:100%;height:var(--height);background:#bbccba;border-radius:8px}.barcol.today .bar{background:var(--green)}.empty-note{padding:16px;background:var(--paper);border-radius:10px;font-size:14px;color:var(--muted);line-height:1.7}.history-row{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line);font-size:14px}.history-row:last-child{border:0}.page-narrow{max-width:800px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(100px);opacity:0;transition:.2s;background:var(--green);color:white;padding:13px 22px;border-radius:10px;z-index:20;font-size:14px;max-width:90vw;box-shadow:0 5px 25px #123f3622}#toast.visible{transform:translateX(-50%);opacity:1}dialog{border:1px solid var(--line);border-radius:18px;width:min(780px,94vw);max-height:90dvh;padding:26px;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#123f3677;backdrop-filter:blur(5px)}.ayat{font-family:'Traditional Arabic','Amiri',serif;direction:rtl;text-align:justify;font-size:30px;line-height:2.3;background:white;padding:23px;border-radius:12px}.surah-title{text-align:center;font-size:16px;margin:15px 0}.reader-controls{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:20px}.reader-controls button:disabled{opacity:.4;cursor:not-allowed}.notice{border-left:3px solid #b1975b;padding:12px 16px;background:#faf4e5;font-size:14px;line-height:1.7;margin-bottom:18px}#storage-warning{color:#914b24}.install-help{margin-top:15px;line-height:1.7;font-size:14px;color:var(--muted)}.inline-number{display:flex;align-items:center;gap:10px}.inline-number input{max-width:110px}button:disabled{cursor:not-allowed;opacity:.55}svg{stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:1450px){main{padding:0 64px}.layout{grid-template-columns:1.6fr 1fr}}@media(max-width:1100px){.sidebar{width:200px;padding:30px 18px}main{margin-left:200px;padding:0 25px}.layout{gap:18px;grid-template-columns:1.2fr 1fr}.stack{gap:18px}.card{padding:20px}.brand{font-size:18px}.next-label{display:none}}@media(max-width:800px){.sidebar{display:none}main{margin:0;padding:0 20px 76px}header{min-height:70px;font-size:12px}.zone-button{max-width:210px;font-size:12px}.zone-button span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pageheading{margin-top:25px}h1{font-size:28px}.summary{padding:24px}.summary h2{font-size:23px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;flex-direction:row;justify-content:space-around;gap:0;background:#ffffffed;backdrop-filter:blur(16px);padding:7px 5px max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:10}.mobile-nav button{flex:1;flex-direction:column;gap:5px;font-size:10px;padding:8px 3px;border-radius:9px;min-width:0}.mobile-nav svg{width:21px;height:21px}.layout{gap:18px}.two{gap:18px}.metrics{gap:10px}.metrics .card{padding:16px}.metric{font-size:29px}#toast{bottom:85px}footer{flex-direction:column;align-items:center;font-size:11px}.sidefoot{display:none}}@media(max-width:580px){.layout,.two{grid-template-columns:1fr}.summary{border-radius:16px;padding:23px 20px}.summary h2{font-size:22px}.summary p{font-size:13px;max-width:210px;line-height:1.6}.ring{width:82px;height:82px}.ring-inner{width:68px;height:68px;font-size:22px}.ring small{font-size:10px}.pageheading{align-items:flex-start}.streak-pill{font-size:11px;padding:9px 10px;margin-top:5px}.card{padding:21px}.stack{gap:18px}.metrics{grid-template-columns:1fr 1fr}.metrics .card:last-child{grid-column:1/-1}.metrics .card:last-child .metric{display:inline-block;margin-right:8px}.chart{gap:10px}.quran-page{margin:20px 0}.next-label{display:inline}.pageheading p{font-size:13px}dialog{padding:18px}.ayat{font-size:27px;padding:15px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.section-title>svg{width:22px;height:22px;flex-shrink:0}.book-icon svg{width:100%;height:100%}.ring-inner{text-align:center}.sr-label{font-size:13px}
@media(max-width:580px){.pageheading{flex-wrap:wrap}.pageheading>div{min-width:0;width:100%}.streak-pill{margin-top:0}.summary h2{overflow-wrap:break-word}.zone-button{max-width:185px}select{min-width:0;max-width:100%}}
