@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@500;600&family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#103e36;--ink:#183d34;--muted:#677b73;--line:#e2e8e2;--paper:#f4f6f2;--gold:#ddc38b;--soft:#eaf1ea}body{background:radial-gradient(ellipse at 95% 0,#e6eee5 0,transparent 40%),var(--paper);font-family:'DM Sans',sans-serif;line-height:1.5}.sidebar{width:242px;background:#103e36;color:#fff;border:0;padding:38px 25px}.brand{color:#f5f5e9;font-size:19px;letter-spacing:2px}.brandmark{background:#ffffff12;border:1px solid #d5c18b55;color:#e7ce8d;border-radius:13px;height:42px;width:42px}.brandnote{color:#b1c5ba;font-size:12px;margin-top:14px;margin-bottom:48px}.sidebar .nav button{color:#bdcec5;border-radius:12px;padding:15px;font-size:14px;font-weight:500}.sidebar .nav button.active{background:#f1f4e9;color:var(--green);box-shadow:0 6px 15px #001c1815}.sidebar .nav button:not(.active):hover{background:#ffffff0d;color:white}.sidefoot{border-top:1px solid #ffffff20;padding:26px 7px 0;color:#a9beb2}.sidefoot .tiny{font-size:10px;letter-spacing:1.6px}.sidefoot p{font-family:'Instrument Serif',Georgia,serif;color:#e9dfc1;font-size:31px;font-weight:400;line-height:1.2}.sidefoot small{color:#91ac9e}main{margin-left:242px;max-width:1650px;padding:0 44px}header{min-height:88px;border-bottom:1px solid #dce4da;gap:16px}.header-left{display:flex;flex-direction:column;gap:5px}.mobile-brand{display:none}#topdate{font-size:13px}.zone-button{background:#ffffff90;border-color:#dae4d9;padding:10px 14px;max-width:310px;box-shadow:0 2px 6px #173f3404}.zone-button span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pageheading{margin:30px 0 25px;align-items:center}.pageheading h1{font-family:'Instrument Serif',Georgia,serif;font-size:46px;line-height:1.15;letter-spacing:-.8px;font-weight:400}.pageheading p{margin-top:9px;line-height:1.6}.streak-pill{background:#ece6d3;border:1px solid #e3dac0;color:#6b5727;font-size:12px;padding:10px 13px}.summary{position:relative;overflow:hidden;background:radial-gradient(ellipse at 80% 10%,#376858 0,transparent 65%),#103e36;border:1px solid #1e5044;border-radius:24px;padding:31px 34px;gap:28px;box-shadow:0 16px 35px #123f3610;min-height:205px}.summary:after{content:'';position:absolute;width:340px;height:340px;border:1px solid #d8ca9b17;border-radius:50%;right:-150px;top:-170px;pointer-events:none}.summary h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:35px;line-height:1.18;letter-spacing:0;max-width:390px;margin-top:13px}.summary .tiny{font-size:10px;letter-spacing:2px}.summary p{line-height:1.6;max-width:370px;color:#bed2c6;font-size:13px}.hero-progress{display:flex;align-items:center;gap:24px;flex-shrink:0}.ring{width:108px;height:108px;background:conic-gradient(var(--gold) var(--progress),#73988844 0);padding:5px;box-shadow:0 0 0 10px #ffffff03}.ring-inner{width:100%;height:100%;background:#234f41;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:37px;line-height:1}.ring small{font-family:'DM Sans',sans-serif;font-size:10px;margin-top:6px}.next-prayer{border-left:1px solid #ffffff20;padding-left:23px;min-width:105px}.next-prayer small{display:block;color:#c0d2c5;font-size:10px;letter-spacing:1px;text-transform:uppercase}.next-prayer strong{display:block;font-size:17px;font-weight:500;margin:8px 0 2px}.next-prayer span{font-size:25px;font-family:'Instrument Serif',Georgia,serif;color:var(--gold)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px;align-items:start}.dashboard-main,.dashboard-side{display:flex;flex-direction:column;gap:22px;min-width:0}.card{border-radius:20px;background:#ffffffda;border:1px solid #e0e7de;padding:26px;box-shadow:0 4px 18px #143d3103}.section-title{margin-bottom:17px}.section-title h2,h2{font-size:18px;letter-spacing:-.4px;font-weight:700}.chip{border-radius:20px;padding:5px 10px;font-size:11px;font-weight:500}.prayer-row{min-height:71px;gap:13px;border-color:#eef1eb;padding:0 6px}.prayer-row.next{background:#edf3e9;border-radius:12px;border-color:transparent;padding:0 12px;margin:0 -6px}.prayer-row.next+.prayer-row{border-color:transparent}.prayer-symbol{color:#788e7c}.prayer-row .time{font-size:15px;color:#567164;letter-spacing:.3px}.prayer-name{font-size:14px}.next-label{display:block;margin:1px 0 0;padding:0;background:none;font-size:10px;color:#688365}.check{width:36px;height:36px;border-color:#cfdbcf;box-shadow:inset 0 0 0 5px #fff}.check.checked{box-shadow:none}.check:hover{border-color:#72937f}.source{font-size:11px;line-height:1.8;color:#708178}.quran-card{background:#e9efdf;border-color:#dce5ce;position:relative;overflow:hidden}.quran-card .eyebrow{font-size:10px;letter-spacing:1.7px;color:#698059}.quran-page{margin:19px 0 26px}.quran-page strong{font-family:'Instrument Serif',Georgia,serif;font-size:43px;font-weight:400;letter-spacing:-1px}.quran-page span{font-size:12px}.book-icon{width:56px;height:66px;border:1px solid #99b08a66;border-radius:28px 28px 5px 5px;padding:12px;color:#6e8762}.quran-foot{font-size:11px;gap:10px;flex-wrap:wrap}.primary,.secondary{border-radius:12px;min-height:47px;padding:12px 18px;font-size:13px}.primary{box-shadow:0 4px 10px #103e3612}.primary:hover{background:#245e4b;box-shadow:0 6px 15px #103e3620}.secondary{background:#eaf0e4;border:1px solid #dbe5d4}.zikir-card{background:#fffdfa}.zikir-card .field{margin:6px 0 17px}.zikir-card .sr-label{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.zikir-card select{border:0;background:#f4f3eb;text-align:center;min-height:40px;font-size:13px}.arabic-short{font-size:28px;color:#476b56}.counter{margin:19px 0}.counter-main{width:132px;height:132px;background:#f7f6ed;border:1px solid #b8c8b2;box-shadow:inset 0 0 0 7px #f7f6ed,inset 0 0 0 8px #dce3d2;font-family:'Instrument Serif',Georgia,serif;font-size:48px}.counter-main small{font-family:'DM Sans',sans-serif;font-size:11px}.counter-main:hover{background:#edf1e2}.icon-button{width:44px;height:44px;color:#60795f;border-color:#e0e5d8;background:transparent}.checklist{gap:0}.checkline{min-height:51px;padding:10px 0;border-bottom:1px solid #edf0e8;font-size:14px}.checkline:last-child{border-bottom:0}.checkline input{width:22px;height:22px;border-radius:7px}.quote-card{background:#eee6d6;border-color:#e5dcc9}.quote-card .tiny{color:#877342;font-size:10px}.quote-card p{font-family:'Instrument Serif',Georgia,serif;font-size:30px;line-height:1.2;color:#645b3d}.quote-card .secondary{background:#f6f1e7;border-color:#ded6c4;color:#665b3b}.two{align-items:start}.two>.card{height:100%}.field input,.field textarea,.field select{border-radius:12px;border-color:#dce4d8}.moods button{border-radius:30px;font-size:13px}.metric{font-family:'Instrument Serif',Georgia,serif;font-size:45px}.bararea{background:#eff3e9}.bar{background:#becdad}.barcol.today .bar{background:#386249}.history-row{font-size:13px}.empty-note{background:#eaf0e5;border:1px solid #dde7d5}.page-narrow{max-width:880px}dialog{border-radius:24px;border-color:#cddac8;box-shadow:0 30px 90px #001e2844}.ayat{border:1px solid #e4e7d8;padding:28px;background:#fffef8}.reader-controls{position:sticky;bottom:-26px;background:#f4f6f2ed;padding:16px 0;margin-bottom:-10px;backdrop-filter:blur(10px)}footer{padding:32px 0;color:#7b8a7e}.nav button,.card,.primary,.check{transition:background .2s,box-shadow .2s,transform .2s}button:focus-visible,a:focus-visible{outline-color:#b79751}#toast{background:#173f33;border:1px solid #63816d;border-radius:14px}
@media(min-width:1400px){main{padding:0 64px}.summary{padding:36px 42px}.summary h2{font-size:41px}.dashboard-grid{grid-template-columns:1.4fr 1fr}}
@media(max-width:1150px){.sidebar{width:208px;padding:34px 20px}main{margin-left:208px;padding:0 28px}.hero-progress{gap:16px}.next-prayer{padding-left:15px;min-width:80px}.summary{padding:27px;gap:16px}.summary h2{font-size:31px}.ring{width:92px;height:92px}.card{padding:23px}.dashboard-grid{gap:18px}.dashboard-main,.dashboard-side{gap:18px}}
@media(max-width:950px){.next-prayer{display:none}.pageheading h1{font-size:39px}.dashboard-grid{grid-template-columns:1.1fr 1fr}.card{padding:20px}.quran-page strong{font-size:34px}.book-icon{width:44px;height:56px;padding:9px}}
@media(max-width:800px){.sidebar{display:none}main{margin:0;padding:0 24px 104px}header{min-height:92px}.mobile-brand{display:flex;font-family:Manrope,sans-serif;font-size:14px;font-weight:800;letter-spacing:2px;color:var(--green);align-items:center;gap:8px}.mobile-brand:before{content:'✓';display:grid;place-items:center;background:var(--green);color:var(--gold);width:26px;height:26px;border-radius:8px;font-size:18px;letter-spacing:0}#topdate{font-size:11px}.zone-button{font-size:11px;max-width:175px;padding:9px 12px}.pageheading{margin:24px 0 21px}.pageheading h1{font-size:39px}.pageheading p{font-size:13px}.summary{border-radius:22px;min-height:195px}.summary h2{font-size:33px}.summary p{font-size:12px}.next-prayer{display:block}.mobile-nav{left:14px;right:14px;bottom:12px;border-radius:22px;background:#fffffff2;border:1px solid #dfe6d8;padding:8px 5px calc(8px + env(safe-area-inset-bottom));box-shadow:0 10px 35px #123f3620;gap:1px}.mobile-nav button{font-size:10px;gap:5px;padding:8px 1px;color:#6b7d6e;border-radius:14px;font-weight:500}.mobile-nav button.active{background:#e5eddd;color:#183f30}.mobile-nav svg{width:20px;height:20px}.streak-pill{font-size:11px}footer{padding-bottom:12px}#toast{bottom:106px}}
@media(max-width:580px){main{padding:0 18px 100px}header{gap:10px}.zone-button{max-width:150px;font-size:10px}.pageheading{gap:12px}.pageheading>div{width:auto;flex:1;min-width:190px}.pageheading h1{font-size:36px}.pageheading p{font-size:12px;max-width:245px}.streak-pill{font-size:10px;padding:8px 10px;align-self:flex-start;margin-top:7px}.summary{min-height:187px;padding:25px 22px;gap:15px;margin-bottom:20px}.summary h2{font-size:30px;max-width:220px}.summary .tiny{font-size:9px;letter-spacing:1.7px}.summary p{font-size:11px;max-width:220px}.hero-progress{flex-direction:column;gap:13px}.ring{width:78px;height:78px;padding:4px}.ring-inner{font-size:29px}.ring small{font-size:8px}.next-prayer{display:block;border-left:0;padding:0;text-align:center;min-width:0}.next-prayer small{font-size:8px;letter-spacing:.6px}.next-prayer strong{font-size:12px;margin:2px 0 0;display:inline}.next-prayer span{font-size:15px;margin-left:5px}.dashboard-grid{display:flex;flex-direction:column;gap:18px}.dashboard-main,.dashboard-side{display:contents}.dashboard-grid>div>.card{width:100%}.dashboard-main>.card:first-child{order:0}.dashboard-side>.quran-card{order:1}.dashboard-side>.zikir-card{order:2}.dashboard-main>.card:nth-child(2){order:3}.dashboard-main>.card:nth-child(3){order:4}.dashboard-side>.quote-card{order:5}.card{padding:22px;border-radius:19px}.prayer-row{min-height:66px}.quran-page strong{font-size:42px}.book-icon{height:62px;width:52px}.quran-foot{font-size:11px}.check{width:40px;height:40px}.two{gap:18px}.metrics .card{padding:20px}.metric{font-size:39px}.mobile-nav{left:10px;right:10px;bottom:9px}.reader-controls{bottom:-18px}.summary:after{right:-220px}.section-title h2{font-size:17px}.history-row{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Refined typography and responsive layout: desktop, tablet, phone. */
:root{--muted:#596e64;--line:#dde5dc}
html{font-size:16px;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{line-height:1.65;-webkit-font-smoothing:antialiased}
h1,h2,h3,.pageheading h1,.summary h2{font-family:'Manrope','DM Sans',system-ui,sans-serif;font-weight:650;line-height:1.3;text-wrap:balance}
.pageheading h1{font-size:clamp(1.75rem,2.4vw,2.5rem);letter-spacing:-.055rem}
.pageheading p{font-size:1rem;max-width:54ch;margin-top:10px;line-height:1.65}
h2,.section-title h2{font-size:1.125rem;font-weight:700;letter-spacing:-.02rem}
h3{font-size:1.0625rem}
main{max-width:1600px;padding-inline:clamp(28px,3.5vw,64px)}
.sidebar{width:242px;overflow-y:auto}.brand{font-size:1.125rem;letter-spacing:.11rem}
.brandnote{font-size:.8125rem;line-height:1.65}.sidebar .nav button{font-size:.9375rem;min-height:52px}
.sidefoot{margin-top:auto;padding-top:24px}.sidefoot .tiny,.sidefoot small{font-size:.75rem;letter-spacing:.06rem}
header{min-height:96px}.header-left{min-width:0;gap:6px}#topdate{font-size:.875rem}
.zone-button{font-size:.875rem;min-height:44px;max-width:340px;padding:10px 16px}
.pageheading{gap:20px;margin:32px 0 26px;flex-wrap:wrap}.pageheading>div{min-width:0;flex:1 1 300px}
.streak-pill{font-size:.8125rem;line-height:1.5;letter-spacing:0;padding:10px 14px;align-self:center}
.summary{padding:32px;min-height:216px;gap:32px;margin-bottom:26px;border-radius:24px}
.summary>div:first-child{min-width:0;flex:1}.summary h2{font-size:clamp(1.5rem,2vw,2rem);letter-spacing:-.04rem;max-width:24ch;margin-top:12px;line-height:1.35}
.summary p{font-size:.9375rem;line-height:1.7;max-width:43ch;color:#d3e1d7;margin-top:12px}
.tiny,.summary .tiny,.quran-card .eyebrow,.quote-card .tiny{font-size:.75rem;line-height:1.6;letter-spacing:.09rem}
.hero-progress{gap:24px}.ring{height:120px;width:120px;padding:6px}.ring-inner{font-family:'Manrope',sans-serif;font-size:2.25rem;line-height:1.1;font-weight:600}
.ring small{font-size:.75rem;line-height:1.4;font-weight:400;max-width:80px;margin-top:7px}
.next-prayer{display:block;min-width:104px;padding-left:24px}.next-prayer small{font-size:.75rem;letter-spacing:.02rem}.next-prayer strong{font-size:1rem;line-height:1.5}.next-prayer span{font-family:'Manrope',sans-serif;font-weight:600;font-size:1.5rem;font-variant-numeric:tabular-nums}
.dashboard-grid{grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr);gap:24px}.dashboard-main,.dashboard-side,.stack{gap:24px;min-width:0}
.card{padding:28px;border-radius:22px;background-color:#fff;box-shadow:0 5px 24px #133e3004}
.section-title{gap:16px;margin-bottom:20px;flex-wrap:wrap}.section-title .muted,.chip{font-size:.8125rem;line-height:1.5}.chip{padding:6px 11px}
.prayer-row{min-height:78px;gap:14px}.prayer-name,.prayer-row .time{font-size:1rem}.prayer-row .time{font-weight:500;letter-spacing:0;white-space:nowrap}.next-label{display:block;font-size:.75rem;line-height:1.5;margin-top:2px;color:#4d6c53}
.check{width:44px;height:44px;box-shadow:inset 0 0 0 7px #fff}.check.checked{box-shadow:none}.prayer-symbol{width:30px;flex-shrink:0}
.source{font-size:.8125rem;line-height:1.75;overflow-wrap:anywhere}.text-button{font-size:.875rem;min-height:40px}
.quran-card{background:#eaf0e1}.quran-page{gap:16px;margin:22px 0 26px}.quran-page>div:first-child{min-width:0}.quran-page strong{font-family:'Manrope',sans-serif;font-weight:600;font-size:clamp(1.65rem,2.4vw,2.15rem);letter-spacing:-.065rem;line-height:1.35;overflow-wrap:normal}.quran-page span{font-size:.875rem;line-height:1.6;margin-top:8px}.book-icon{flex-shrink:0;width:50px;height:62px}.quran-foot{font-size:.8125rem;line-height:1.6;gap:8px 16px}
.primary,.secondary{font-size:.9375rem;line-height:1.5;min-height:48px;font-weight:600}.zikir-card{background:#fffefa}.zikir-card select{font-size:1rem;min-height:48px}.arabic-short{font-size:2rem;line-height:1.7}
.counter-main{width:148px;height:148px;font-family:'Manrope',sans-serif;font-size:2.75rem;font-weight:500;line-height:1.2}.counter-main small{font-size:.8125rem;margin-top:6px}.counter{gap:24px}.icon-button{min-width:44px;min-height:44px}
.checkline{font-size:1rem;line-height:1.55;min-height:58px;gap:14px}.checkline input{flex-shrink:0}
.quote-card{background:#eee7d8}.quote-card p{font-size:2rem;line-height:1.4}.section-sub,.empty-note,.install-help{font-size:1rem;line-height:1.75}.field{font-size:.9375rem;line-height:1.6}.field input,.field select,.field textarea{font-size:1rem;max-width:100%;min-width:0}.moods button{font-size:.875rem;min-height:44px}.metric{font-family:'Manrope',sans-serif;font-size:2.5rem;font-weight:600;line-height:1.35}.metric small{font-size:.875rem}.metrics{gap:20px}.metrics .muted{font-size:.8755rem}.metrics small{font-size:.8125rem}.history-row{font-size:.9375rem;line-height:1.6;flex-wrap:wrap;gap:8px}.barcol{font-size:.8125rem}.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.two>.card{height:auto}.reader-controls{gap:10px}footer{font-size:.8125rem;line-height:1.7;flex-wrap:wrap}
@media(min-width:1700px){main{max-width:1440px;margin-right:auto;margin-left:max(242px,calc((100vw - 1440px + 242px)/2));padding-inline:48px}}
/* Tablets use the full canvas with a compact bottom dock. */
@media(max-width:1100px){
 .sidebar{display:none}main{margin:0 auto;max-width:1000px;padding:0 32px 128px}.mobile-brand{display:flex;align-items:center;gap:10px;font-family:'Manrope',sans-serif;font-size:1rem;letter-spacing:.12rem;font-weight:800}.mobile-brand:before{content:'✓';display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--green);color:var(--gold);font-size:21px;letter-spacing:0}
 .mobile-nav{display:flex;position:fixed;left:50%;right:auto;bottom:14px;transform:translateX(-50%);width:min(620px,calc(100% - 32px));flex-direction:row;justify-content:space-around;gap:3px;background:#fffffff5;backdrop-filter:blur(16px);border:1px solid #dbe4d7;border-radius:22px;padding:8px 6px calc(8px + env(safe-area-inset-bottom));box-shadow:0 8px 30px #153d321a;z-index:10}
 .mobile-nav button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:60px;gap:5px;padding:7px 2px;font-size:.8125rem;font-weight:500;line-height:1.4;color:#546b5d;border-radius:15px}.mobile-nav button.active{background:#e7efe0;color:#153f2f}.mobile-nav svg{width:22px;height:22px}
 .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.card{padding:24px}.hero-progress{gap:20px}.summary{padding:30px;gap:24px}.next-prayer{padding-left:20px}.pageheading h1{font-size:2rem}.pageheading p{font-size:.9375rem}.pageheading>div{width:auto}.streak-pill{font-size:.8125rem}.ring{width:112px;height:112px}.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics .card:last-child{grid-column:auto}#toast{bottom:118px}.page-narrow{max-width:880px}
}
@media(min-width:681px) and (max-width:850px){.summary{gap:20px}.next-prayer{display:none}.quran-page strong{font-size:1.7rem}.card{padding:22px}.dashboard-grid,.two{gap:20px}.prayer-row{gap:10px}.prayer-symbol{width:22px}.prayer-name,.prayer-row .time{font-size:.9375rem}.check{width:40px;height:44px}.book-icon{width:42px;height:54px;padding:9px}}
/* Phones: one reading column, readable labels and generous touch targets. */
@media(max-width:680px){
 main{padding:0 20px 124px}header{min-height:104px;gap:12px;flex-wrap:wrap;padding-block:18px}.header-left{flex:1 1 180px}#topdate{font-size:.8125rem;line-height:1.5}.mobile-brand{font-size:.9375rem}.zone-button{font-size:.8125rem;max-width:100%;padding:9px 12px;min-height:44px}
 .pageheading{margin:24px 0;gap:14px;align-items:flex-start}.pageheading>div{flex:1 1 100%;width:100%;min-width:0}.pageheading h1{font-size:1.875rem;line-height:1.3;letter-spacing:-.05rem}.pageheading p{font-size:.9375rem;max-width:40ch;margin-top:8px}.streak-pill{margin:0;font-size:.8125rem;padding:8px 12px;align-self:flex-start}
 .summary{padding:26px;display:flex;flex-direction:column;align-items:stretch;gap:24px;min-height:0;border-radius:22px;margin-bottom:22px}.summary h2{font-size:1.5rem;max-width:24ch;line-height:1.4}.summary .tiny{font-size:.75rem;letter-spacing:.075rem}.summary p{font-size:.9375rem;line-height:1.7;max-width:40ch}.hero-progress{flex-direction:row;justify-content:space-between;align-items:center;border-top:1px solid #ffffff20;padding-top:22px;gap:22px}.ring{width:108px;height:108px;flex-shrink:0}.ring-inner{font-size:2rem}.ring small{font-size:.75rem}.next-prayer{display:block;text-align:left;border-left:0;padding:0;min-width:0;flex:1}.next-prayer small{font-size:.75rem;letter-spacing:.025rem}.next-prayer strong{display:block;font-size:1rem;margin:5px 0 1px}.next-prayer span{font-size:1.375rem;margin:0}
 .dashboard-grid{display:flex;flex-direction:column;gap:20px}.dashboard-main,.dashboard-side{display:contents}.dashboard-grid>div>.card{width:100%}.dashboard-main>.card:first-child{order:0}.dashboard-side>.quran-card{order:1}.dashboard-side>.zikir-card{order:2}.dashboard-main>.card:nth-child(2){order:3}.dashboard-main>.card:nth-child(3){order:4}.dashboard-side>.quote-card{order:5}
 .card{padding:24px;border-radius:20px}.section-title h2{font-size:1.125rem}.section-title{gap:10px}.prayer-row{min-height:76px;gap:12px}.prayer-name,.prayer-row .time{font-size:1rem}.check{width:44px;height:44px}.next-label{font-size:.75rem}.quran-page strong{font-size:1.875rem}.quran-page span{font-size:.875rem}.quran-foot{font-size:.8125rem}.book-icon{width:48px;height:60px}.quote-card p{font-size:1.875rem}.two{grid-template-columns:minmax(0,1fr);gap:20px}.stack{gap:20px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.metrics .card{padding:20px}.metrics .card:last-child{grid-column:1/-1}.metric{font-size:2rem}.metrics .card:last-child .metric{display:block;margin-right:0}.history-row{font-size:.875rem}.source{font-size:.8125rem}.empty-note{padding:18px}
 .mobile-nav{width:calc(100% - 20px);bottom:10px;border-radius:20px;padding:7px 4px calc(7px + env(safe-area-inset-bottom));gap:0}.mobile-nav button{font-size:.75rem;min-height:60px;padding:7px 1px;letter-spacing:-.01rem}.mobile-nav svg{height:21px;width:21px}footer{font-size:.8125rem;text-align:center;padding:26px 0}.reader-controls{bottom:-18px;flex-wrap:wrap}.reader-controls .primary{flex:1 1 100%;order:3}.ayat{font-size:1.75rem;line-height:2.2;padding:18px}.surah-title{line-height:1.6}
}
@media(max-width:360px){main{padding-inline:16px}.card,.summary{padding:20px}.prayer-symbol{width:22px}.prayer-row{gap:9px}.mobile-nav{width:calc(100% - 12px)}.mobile-nav button{font-size:.75rem}.quran-page strong{font-size:1.65rem}.section-title{align-items:flex-start}.counter{gap:14px}.counter-main{width:132px;height:132px}}
@media(min-width:361px) and (max-width:680px){
 header{flex-wrap:nowrap}.header-left{flex:1 1 auto}.zone-button{max-width:140px;flex-shrink:0}#topdate{font-size:.75rem}
 .summary{flex-direction:row;align-items:center;padding:24px 22px;gap:18px}.summary h2{font-size:1.375rem}.summary p{font-size:.875rem}.summary .tiny{letter-spacing:.025rem;font-size:.75rem}.hero-progress{width:100px;flex:none;flex-direction:column;border:0;padding:0;gap:17px}.ring{width:100px;height:100px}.next-prayer{text-align:center}.next-prayer strong{margin-top:4px}.next-prayer span{font-size:1.25rem}
}

/* Quiet reflection card: clean typography with natural wrapping. */
.quote-card p{font-family:'Manrope','DM Sans',system-ui,sans-serif;font-size:clamp(1.125rem,1.5vw,1.375rem);font-weight:500;line-height:1.65;letter-spacing:-.015em;text-wrap:pretty;color:#504a39;margin:16px 0 22px}.quote-card .tiny{font-family:'DM Sans',system-ui,sans-serif;font-size:.75rem;font-weight:600;letter-spacing:.08em;line-height:1.6}
/* Personal routine controls */
.home-tools{display:flex;justify-content:flex-end;margin:-4px 0 18px}
.card-tools,.manager-toolbar,.manager-actions,.editor-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.manage-button{min-height:40px;padding:7px 10px;font-weight:700;color:var(--green,#123f36)}
.section-title{gap:12px;flex-wrap:wrap}.section-title h2{min-width:0;overflow-wrap:anywhere}
.field{display:grid;gap:9px;margin:18px 0;font-size:14px;font-weight:600;line-height:1.6}
.field input[type=text],.field input:not([type]),.field input[type=time]{width:100%;min-height:48px;padding:12px 14px;border:1px solid #d9e2dc;border-radius:12px;background:#fff;color:#173d34;font:inherit;box-sizing:border-box}
.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid #94b6a9;outline-offset:2px}
.manager-toolbar{justify-content:space-between;margin:18px 0}.checkline{display:flex;align-items:center;gap:12px;min-height:44px;font-size:14px;line-height:1.5}.checkline input{width:19px;height:19px;accent-color:#245649;flex-shrink:0}
.manager-list{margin-top:14px}.manager-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid #edf0eb}.manager-row>div:first-child{min-width:0;flex:1}.manager-row strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.manager-row small{display:block;color:#738178;margin-top:4px;line-height:1.5}.manager-actions{flex-shrink:0}.manager-actions button{min-height:42px;font-size:13px;padding:9px 13px}
.remove-button{border:1px solid #ecd7ce;background:#fff8f4;color:#915745;border-radius:11px;cursor:pointer;font:inherit}.empty-note{color:#748279;font-size:14px;line-height:1.8;margin:18px 0}.prayer-name{overflow-wrap:anywhere;min-width:0}
#routine-manager,#quran-settings{scroll-margin-top:25px}#routine-editor{width:min(520px,calc(100vw - 32px));max-height:85dvh;padding:28px;border:1px solid #dce4dc;border-radius:24px;background:#fcfdf9;color:#203e34;box-shadow:0 24px 90px #102e3440;overflow:auto;box-sizing:border-box}#routine-editor::backdrop{background:#102e3459;backdrop-filter:blur(5px)}#routine-editor .section-title{flex-wrap:nowrap}#routine-editor h2{font-size:22px;line-height:1.45}#routine-editor .icon-button{flex-shrink:0}.editor-actions{justify-content:flex-end;margin-top:22px}.editor-error{color:#a2473a;font-size:13px}.field textarea{width:100%;box-sizing:border-box}.moods button{overflow-wrap:anywhere;max-width:100%}
@media(max-width:1100px){.dashboard-main>.card:nth-child(4){order:5}.dashboard-side>.quote-card{order:6}}
@media(max-width:680px){.home-tools{justify-content:flex-start;margin:0 0 18px}.home-tools button{font-size:13px}.manager-row{flex-wrap:wrap}.manager-row>div:first-child{flex-basis:100%}.manager-actions{width:100%;justify-content:flex-end}.manager-toolbar{align-items:flex-start}#routine-editor{padding:22px}.section-title h2{font-size:19px}.card-tools{gap:5px}.manager-list .empty-note{margin-bottom:0}}

/* Consistent sidebar typography */
.sidebar{font-family:'Manrope','DM Sans',system-ui,sans-serif}
.sidebar .brand{font-family:inherit;font-size:18px;font-weight:800;line-height:1.35;letter-spacing:.075em}
.sidebar .brandnote{font-family:inherit;font-size:12px;font-weight:500;line-height:1.75;letter-spacing:0;color:#bfd0c6;margin-top:13px}
.sidebar .nav button{font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;letter-spacing:.005em}
.sidebar .nav button.active{font-weight:700}
.sidebar .sidefoot .tiny{display:block;font-family:inherit;font-size:10px;font-weight:600;line-height:1.7;letter-spacing:.1em;color:#b7cbbf}
.sidebar .sidefoot p{font-family:inherit;font-size:20px;font-weight:500;line-height:1.65;letter-spacing:-.02em;color:#e9e4cf;margin:14px 0 22px;text-wrap:pretty}
.sidebar .sidefoot small{font-family:inherit;font-size:11px;font-weight:500;line-height:1.6;letter-spacing:.025em;color:#b7cbbf}

.pageheading .arabic-greeting{display:inline-block;font-family:'Noto Naskh Arabic','Traditional Arabic',serif;font-size:clamp(2rem,3vw,2.625rem);font-weight:500;line-height:1.6;letter-spacing:0;text-wrap:nowrap}

/* Quiet, polished surfaces and consistent controls. */
:root{--paper:#f7f8f4;--soft:#edf3ec;--line:#e2e8e0;--muted:#64766c}
body{background:radial-gradient(ellipse at 90% 0,#e6eee2 0,transparent 45%),var(--paper)}
header{border-color:#dfe6dd}.zone-button{background:#ffffffc9;box-shadow:0 3px 12px #163d3305}
.sidebar{background:linear-gradient(160deg,#163f36 0%,#0d352e 100%);padding:30px 24px;scrollbar-width:thin;scrollbar-color:#71928740 transparent}
.sidebar .brandmark{border-radius:14px;background:linear-gradient(135deg,#ffffff14,#ffffff04);box-shadow:inset 0 1px 0 #ffffff17}
.sidebar .brandnote{margin-bottom:32px}.sidebar .nav{gap:6px}.sidebar .nav button{min-height:50px;padding:13px 15px;border:1px solid transparent;transition:background .18s,color .18s,border-color .18s}
.sidebar .nav button.active{background:#f1f3e8;border-color:#e8ebd7;box-shadow:0 5px 16px #071f2b12}.sidebar .sidefoot{padding-top:19px}.sidebar .sidefoot p{font-size:19px;line-height:1.6;margin-bottom:16px}
.pageheading{margin-bottom:22px}.pageheading p{color:#6b7d72}.home-tools{margin:0 0 20px}.home-tools .secondary{background:#ffffffa6;border:1px solid #dce5da;box-shadow:0 3px 12px #153e3104;font-size:13px;padding-inline:18px}
.summary{isolation:isolate;background:radial-gradient(ellipse at 95% 10%,#426e59 0,transparent 63%),linear-gradient(135deg,#143f35,#10392f);box-shadow:0 12px 32px #183f3210;border-color:#2a5545;border-radius:26px;padding:32px 36px}
.summary:after{width:380px;height:380px;right:-110px;top:-180px;border-color:#ddc38b14;box-shadow:0 0 0 36px #ddc38b06,0 0 0 72px #ddc38b04;z-index:-1}.summary .tiny{color:#dac79b;font-weight:600;letter-spacing:.13em}.summary h2{font-weight:600}.summary p{color:#c8dbcd}
.ring{box-shadow:0 0 0 7px #ffffff04}.ring-inner{background:#234c3d}.next-prayer span{color:#e2cc98}
.card{border:1px solid #e3e8df;border-radius:24px;box-shadow:0 7px 24px #193d2a05;background:#fff;padding:28px}.section-title{margin-bottom:20px}.section-title h2{font-weight:700;letter-spacing:-.025em}.card-tools{gap:9px}.chip{background:#edf3e9;border:1px solid #e3ecdf;font-size:12px;font-weight:600}.manage-button{border:1px solid #e2eadf;border-radius:10px;background:#f8faf5;padding:7px 12px;font-size:12px;min-height:36px}.manage-button:hover{background:#eaf1e4}
.prayer-row{padding-inline:4px;min-height:78px}.prayer-row.next{background:linear-gradient(90deg,#eef4e8,#f6f8f1);border:1px solid #e1ead9;padding-inline:12px;margin:0 -8px}.prayer-symbol{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f4f7f0;color:#779080;font-size:20px;flex-shrink:0}.prayer-row.next .prayer-symbol{background:#e4eddc;color:#4f745c}.prayer-name{font-weight:500}.prayer-row.done .prayer-name{color:#68806e}.check{background:#fff;box-shadow:none;border:1.5px solid #d9e3d3;width:40px;height:40px;min-width:40px}.check.checked{background:#245643;border-color:#245643;color:#fff;box-shadow:0 3px 10px #24564318}.source{color:#728276}
.quran-card{background:linear-gradient(145deg,#f0f4e8,#e6eeda);border-color:#dde6d2}.quran-card .section-title>svg{display:none}.quran-card .section-title .manage-button{margin-left:auto;background:#ffffff80;border-color:#d9e3cd}.quran-page strong{font-weight:600;letter-spacing:-.045em}.book-icon{border-radius:16px;border-color:#c6d5b9;background:#ffffff35;width:54px;height:64px;padding:13px}.quran-foot{padding-top:16px;border-top:1px solid #d5e0c8}
.primary{background:linear-gradient(135deg,#1e4d3d,#153f32);box-shadow:0 4px 10px #103e3610;border-radius:13px}.primary:hover{background:#2b5b46}.secondary{border-color:#dfe8d8;border-radius:13px;background:#eff4e9}.primary:active,.secondary:active,.counter-main:active{transform:scale(.98)}
.zikir-card{background:linear-gradient(160deg,#fff,#fcfbf5)}.zikir-card select{background:#f4f5ee;border:1px solid #e5e8dd;border-radius:12px}.arabic-short{font-family:'Noto Naskh Arabic','Traditional Arabic',serif;font-size:2rem;color:#456a50}.counter-main{background:radial-gradient(circle,#fffef7,#f1f3e7);border:1px solid #b5c8a9;box-shadow:inset 0 0 0 7px #f5f6ec,inset 0 0 0 8px #dce5cf,0 8px 20px #244a2e08}.counter .icon-button{background:#fff;border-color:#e0e6d8}
.checklist{gap:0}.checklist .checkline{padding:14px 0;min-height:52px;border-bottom:1px solid #edf1e8;font-size:14px}.checklist .checkline:last-child{border-bottom:0}.checkline input{width:19px;height:19px;border-radius:6px}.checkline input:checked+span{color:#66806d}
.quote-card{background:linear-gradient(140deg,#f6f1e5,#ede7d6);border-color:#e8dfc9}.quote-card .tiny{color:#8b7850}.quote-card p{font-size:21px;font-weight:500;line-height:1.65;max-width:24ch}.quote-card .secondary{background:#ffffff70;border-color:#e1d8c4}
.field select,.field input,.field textarea{border-color:#dfe6d9;border-radius:12px;background:#fcfdf9;box-shadow:inset 0 1px 3px #183e2803}.moods button{border-radius:12px;border-color:#e0e7db}.moods button.selected{background:#eaf1e2;border-color:#aebfa4}.manager-row{border-color:#edf1e8}.empty-note{background:#f6f8f1;border:1px dashed #dfe7d7;border-radius:14px}
.metrics .card{background:linear-gradient(150deg,#fff,#f8faf4)}.metrics .metric{color:#234f3b}.bararea{background:#f0f4eb}.barcol.today .bar{background:linear-gradient(#668568,#28533c)}.history-row{border-color:#edf1e8}footer{color:#839083}
.mobile-nav{box-shadow:0 8px 32px #143c2b12;border-color:#e1e7db}.mobile-nav button{font-family:'Manrope','DM Sans',sans-serif;font-weight:600}.mobile-nav button.active{background:#e9f0df;color:#214e34}.mobile-nav button.active svg{stroke-width:1.9}
@media(max-width:1100px){.summary{padding:30px}.card{padding:24px}.home-tools{margin-bottom:18px}}
@media(max-width:680px){.card{padding:22px;border-radius:22px}.summary{padding:24px 22px;border-radius:24px}.summary h2{font-size:1.35rem}.summary .tiny{letter-spacing:.04em}.home-tools{margin-top:-3px}.home-tools .secondary{font-size:12px;min-height:42px}.prayer-row{gap:10px;min-height:74px}.prayer-symbol{width:28px;height:28px;font-size:18px}.prayer-row.next{margin-inline:-6px;padding-inline:10px}.prayer-name,.prayer-row .time{font-size:15px}.check{min-width:40px;width:40px;height:40px}.card-tools{gap:6px}.manage-button{padding:6px 10px}.chip{padding:5px 8px;font-size:11px}.section-title h2{font-size:17px}.quote-card p{font-size:20px}.mobile-nav button{font-size:11px}.quran-page strong{font-size:1.8rem}.field{font-size:14px}}
@media(max-width:360px){.summary{padding:22px 20px}.card{padding:20px}.prayer-symbol{width:24px;height:26px}.prayer-row{gap:8px}.prayer-name,.prayer-row .time{font-size:14px}.summary h2{font-size:1.3rem}.mobile-nav button{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){.sidebar .nav button{transition:none}}

/* Personal weekly timetable */
.schedule-eyebrow{display:block;font-size:11px;letter-spacing:.12em;font-weight:700;color:#7d8b76;line-height:1.6;margin-bottom:6px}.schedule-profile{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(130deg,#f0f4e8,#fff);margin-bottom:22px}.schedule-profile h2{font-size:17px;line-height:1.6;letter-spacing:0}.schedule-profile p{color:#75816f;font-size:13px;margin-top:7px}.schedule-profile .secondary{white-space:nowrap;font-size:12px}
.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0}.schedule-view-switch{display:flex;background:#eaf0e3;border:1px solid #dfe7d6;border-radius:14px;padding:5px;gap:4px}.schedule-view-switch button{border:0;border-radius:10px;background:transparent;color:#607663;font-size:13px;font-weight:600;min-height:42px;padding:10px 22px}.schedule-view-switch .selected{background:#fff;color:#224e35;box-shadow:0 2px 8px #25492809}.schedule-date{display:flex;align-items:center;gap:12px;font-size:13px;color:#65785f}.schedule-date input{font:inherit;min-height:44px;border:1px solid #dce5d5;border-radius:11px;background:#fff;padding:10px 12px;color:#244d37}
.schedule-daybar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:24px 0 20px}.schedule-daybar h2{font-size:23px}.schedule-daybar p{color:#75816f;font-size:13px;margin-top:5px}.schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.schedule-group .section-title{border-bottom:1px solid #e6ecdf;padding-bottom:18px;margin-bottom:0}.schedule-group-note{font-size:12px;color:#76846e;margin-top:6px}.schedule-group-mark{font-size:25px;display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#f1f5e8;color:#8b956e}.schedule-slot{display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:76px;padding:16px 0;border-bottom:1px solid #edf1e8}.schedule-slot:last-child{border-bottom:0;padding-bottom:0}.schedule-slot time{font-size:11px;font-weight:600;color:#73816a;font-variant-numeric:tabular-nums;white-space:nowrap}.schedule-task{font-size:14px;font-weight:500;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.schedule-slot.empty .schedule-task{font-size:12px;font-weight:400}.schedule-slot-actions{display:flex;align-items:center;gap:8px}.schedule-slot-actions .check{width:32px;height:32px;min-width:32px;font-size:13px}.schedule-slot-actions .manage-button{font-size:11px;min-height:36px;padding:6px 9px}.schedule-slot.completed .schedule-task{color:#7f8e74}.schedule-slot.completed time{color:#90a082}
.schedule-preview{margin-bottom:24px;background:linear-gradient(120deg,#fff,#f4f7ec)}.schedule-preview .secondary{display:flex;align-items:center;gap:8px;font-size:12px}.schedule-preview .secondary svg{width:17px;height:17px}.schedule-preview-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.schedule-preview-list>div{border-left:2px solid #d5dfc4;padding-left:15px}.schedule-preview-list time{display:block;color:#7d8a70;font-size:11px;font-weight:500}.schedule-preview-list strong{display:block;font-size:14px;font-weight:600;margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}.schedule-preview .source{margin-top:18px}
.schedule-table-wrap{overflow:auto;border:1px solid #e2e8da;border-radius:15px;max-width:100%;scrollbar-width:thin}.schedule-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;text-align:left;font-size:13px}.schedule-table th,.schedule-table td{border-bottom:1px solid #e9eee3;border-right:1px solid #e9eee3}.schedule-table thead th{position:sticky;top:0;z-index:1;background:#f2f6eb;padding:15px 14px;min-width:120px;color:#385939}.schedule-table thead th:first-child{min-width:130px}.schedule-table tbody>tr>th:not([colspan]){white-space:nowrap;background:#fbfcf7;font-size:11px;font-weight:600;padding:12px;color:#7a876d}.schedule-band th{padding:15px;background:#eaf0e1;font-size:14px;color:#476342}.schedule-band span{margin-left:12px;font-size:11px;font-weight:500;color:#77876b}.schedule-table .selected-day{background:#f2f6e8}.schedule-cell{border:0;background:transparent;display:block;width:100%;min-height:55px;padding:12px;text-align:left;color:#385539;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.schedule-cell:hover{background:#e9f0df}.schedule-cell:not(.has-task){color:#a2b197}.schedule-table td:last-child{border-right:0}
#schedule-editor{width:min(540px,calc(100vw - 32px));padding:28px;border-radius:24px;background:#fcfdf9;max-height:85dvh;overflow:auto}#schedule-editor::backdrop{background:#102e3459;backdrop-filter:blur(5px)}#schedule-editor .section-title{align-items:flex-start}#schedule-editor .section-sub{font-size:13px;margin-bottom:0}#schedule-editor input:not([type]),#schedule-editor input[type=number]{border:1px solid #dce4d4;border-radius:12px;padding:12px;min-height:46px;width:100%;font:inherit;background:white}.schedule-apply{border:1px solid #e0e7d8;border-radius:14px;padding:14px 18px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px 10px;margin-top:20px}.schedule-apply legend{font-size:13px;font-weight:600;padding:0 6px;color:#5e775b}.schedule-apply .checkline{font-size:12px;min-height:38px;gap:8px}
@media(min-width:1101px) and (max-width:1390px){.schedule-grid{grid-template-columns:1fr}.schedule-slot{grid-template-columns:130px minmax(0,1fr) auto}}
@media(max-width:1100px){.mobile-nav{width:min(700px,calc(100% - 24px))}.mobile-nav button{font-size:11px}.mobile-nav svg{width:20px;height:20px}.schedule-slot{grid-template-columns:1fr auto}.schedule-slot time{grid-column:1/-1}.schedule-slot-actions{grid-column:2;grid-row:2}.schedule-task{grid-column:1;grid-row:2}}
@media(max-width:680px){.schedule-grid{grid-template-columns:1fr;gap:20px}.schedule-profile{flex-direction:column;align-items:flex-start;padding:22px}.schedule-profile h2{font-size:15px}.schedule-profile .secondary{min-height:42px}.schedule-toolbar{flex-wrap:wrap;gap:14px}.schedule-date{width:100%;justify-content:space-between}.schedule-date input{flex:1;max-width:210px}.schedule-daybar .chip{font-size:11px}.schedule-daybar h2{font-size:21px}.schedule-slot{min-height:82px;gap:7px}.schedule-preview-list{grid-template-columns:1fr;gap:16px}.schedule-preview .section-title{align-items:flex-start}.schedule-preview .section-title h2{font-size:16px}.schedule-preview .secondary{min-height:40px;font-size:11px;padding:10px 12px}.schedule-preview-list strong{margin-top:4px}.schedule-apply{grid-template-columns:repeat(2,1fr)}#schedule-editor{padding:22px}.mobile-nav{width:calc(100% - 16px)}.mobile-nav button{font-size:10px;min-height:58px}.mobile-nav svg{width:19px;height:19px}.schedule-band span{display:block;margin:4px 0 0}}
@media(max-width:360px){.mobile-nav button{font-size:9px}.mobile-nav svg{width:18px;height:18px}.schedule-preview .section-title{flex-direction:column}}
/* Annual calendar */
.calendar-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(120deg,#edf3e8,#fff)}.calendar-intro h2{font-size:42px;margin:8px 0;letter-spacing:-.04em}.calendar-intro h2 span{font-size:20px;font-weight:500;letter-spacing:-.02em}.calendar-intro p{color:var(--muted);font-size:13px}.calendar-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:24px 0}.calendar-toolbar label{display:grid;gap:8px;font-size:12px;font-weight:600;color:var(--muted)}.calendar-toolbar input,.calendar-toolbar select{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:14px;min-height:46px}.calendar-toolbar input{width:105px}.calendar-toolbar .schedule-view-switch{margin-left:auto}.calendar-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px}.calendar-legend button,.calendar-legend>span{display:inline-flex;align-items:center;gap:7px;font-size:11px;padding:9px 11px;border:1px solid transparent;border-radius:20px;background:transparent;color:var(--muted)}.calendar-legend button.selected{border-color:#ccd9c9;background:#eaf1e7;color:var(--ink)}.calendar-legend i,.calendar-dots i,.calendar-event-dot{display:inline-block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.cal-public{background:#bd6560}.cal-school{background:#c79b45}.cal-islam{background:#47876d}.cal-personal{background:#8d78b3}.calendar-weekend-key{background:#e5ebe4;border:1px solid #bdc7b9}.calendar-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.calendar-stats>div{padding:17px 20px;border:1px solid var(--line);border-radius:16px;background:#ffffff90;display:flex;gap:10px;align-items:center}.calendar-stats strong{font-size:25px;font-weight:600}.calendar-stats span{font-size:11px;color:var(--muted)}.calendar-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.calendar-month.card{padding:20px;min-width:0}.calendar-month-heading{background:none;border:0;display:flex;justify-content:space-between;width:100%;font:inherit;font-size:15px;font-weight:700;color:var(--ink);padding:0 0 18px;cursor:pointer}.calendar-month-heading span{font-weight:400;color:var(--muted)}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendar-weekday{text-align:center;font-size:10px;color:var(--muted);padding:4px 0 8px}.calendar-day{position:relative;min-width:0;min-height:36px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;border:1px solid transparent;border-radius:9px;font:inherit;font-size:12px;color:var(--ink);background:transparent;cursor:pointer}.calendar-day.weekend{background:#f0f3ed}.calendar-day.is-today{border-color:#91ae9b}.calendar-day.is-selected{background:var(--green);color:#fff}.calendar-day:hover{box-shadow:inset 0 0 0 1px #89a797}.calendar-dots{display:flex;justify-content:center;gap:2px;min-height:5px}.calendar-dots i{width:4px;height:4px}.calendar-day.is-selected .calendar-dots i{outline:1px solid #fff9}.calendar-large .calendar-day{min-height:90px;align-items:flex-start;justify-content:flex-start;padding:10px}.calendar-large .calendar-dots{margin:5px 0}.calendar-large small{font-size:10px;line-height:1.4;overflow-wrap:anywhere}.calendar-large .calendar-weekday{font-size:12px}.calendar-selected{margin-top:24px}.calendar-selected h2{font-size:21px;margin-top:8px}.calendar-event{display:flex;align-items:flex-start;gap:12px;padding:18px 0;border-top:1px solid var(--line)}.calendar-event-dot{margin-top:8px;width:8px;height:8px}.calendar-event>div{min-width:0;flex:1}.calendar-event-type{font-size:10px;color:var(--muted);letter-spacing:.03em}.calendar-event h3{font-size:15px;margin:6px 0;font-weight:650;overflow-wrap:anywhere}.calendar-event p{font-size:12px;color:var(--muted);line-height:1.7;margin:4px 0}.calendar-note{max-width:660px}.calendar-source-link{font-size:11px;color:var(--green);display:inline-block;margin-top:6px}.calendar-event-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:8px}.calendar-event-actions button{font-size:11px;padding:7px 0}.calendar-agenda{margin-top:18px}.calendar-agenda summary{cursor:pointer;font-size:14px;font-weight:600}.calendar-agenda summary span{float:right;font-size:11px;color:var(--muted)}.calendar-agenda[open] summary{margin-bottom:16px}.calendar-reference{margin:28px 0;color:var(--muted)}.calendar-reference h3{font-size:13px;color:var(--ink)}.calendar-reference p{font-size:11px;line-height:1.8;max-width:850px}.calendar-reference>div{display:flex;gap:16px;flex-wrap:wrap}.calendar-reference a{font-size:12px;color:var(--green)}#calendar-editor{width:min(560px,calc(100% - 28px));padding:30px}#calendar-editor h2{font-size:21px}.calendar-editor-dates{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:1100px){.calendar-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none;max-width:700px}.mobile-nav::-webkit-scrollbar{display:none}.mobile-nav button{flex:1 0 64px;min-width:64px;font-size:11px}}
@media(max-width:680px){.calendar-year-grid{grid-template-columns:1fr}.calendar-intro{align-items:flex-start;flex-direction:column;gap:12px}.calendar-intro h2{font-size:36px}.calendar-intro h2 span{font-size:16px}.calendar-toolbar{gap:12px}.calendar-toolbar label:nth-child(2){flex:1;min-width:140px}.calendar-toolbar .schedule-view-switch{margin-left:0;width:100%}.calendar-stats{grid-template-columns:repeat(2,1fr)}.calendar-stats>div{padding:13px;gap:7px}.calendar-stats strong{font-size:21px}.calendar-month.card{padding:20px}.calendar-day{min-height:42px;font-size:13px}.calendar-large .calendar-day{min-height:64px;padding:7px 3px}.calendar-large small{display:none}.calendar-selected .section-title{align-items:flex-start;flex-wrap:wrap}.calendar-selected h2{font-size:18px}.calendar-editor-dates{grid-template-columns:1fr}#calendar-editor{padding:22px}.mobile-nav button{font-size:11px;flex:1 0 64px;min-width:64px}.calendar-reference>div{gap:12px}}
